text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<h2 dir="auto">🐛 Bug</h2> <p dir="auto"><code class="notranslate">import torch</code> crashed segmentation fault</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1. docker run -it python:3.6.9 bash 2. pip install scikit-learn torch 3. python -c &quot;import sklearn, torch&quot;"><pre class="notranslate"><code class="notranslate">1. docker run -it python:3.6.9 bash 2. pip install scikit-learn torch 3. python -c "import sklearn, torch" </code></pre></div> <blockquote> <p dir="auto">segmentation fault</p> </blockquote> <p dir="auto">at first <code class="notranslate">import torch</code> and then <code class="notranslate">import sklearn</code><br> it works well.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="3. python -c &quot;import torch, sklearn&quot;"><pre class="notranslate"><code class="notranslate">3. python -c "import torch, sklearn" </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">not happen the <code class="notranslate">segmentation fault</code></p> <h2 dir="auto">Environment</h2> <p dir="auto">Please copy and paste the output from our<br> <a href="https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py" rel="nofollow">environment collection script</a><br> (or fill out the checklist below manually).</p> <p dir="auto">You can get the script and run it with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py"><pre class="notranslate"><code class="notranslate">wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py # For security purposes, please check the contents of collect_env.py before running it. python collect_env.py </code></pre></div> <ul dir="auto"> <li>PyTorch Version 1.4.0:</li> <li>scikit-learn Version 0.22:</li> <li>OS (Linux (docker python image)):</li> <li>How you installed PyTorch (<code class="notranslate">pip</code>):</li> </ul> <h2 dir="auto">Additional context</h2>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">Import <code class="notranslate">torch</code> after <code class="notranslate">sklearn</code> causes a segfault.</p> <h2 dir="auto">To Reproduce</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sklearn import torch print(torch.__version__) print(sklearn.__version__)"><pre class="notranslate"><code class="notranslate">import sklearn import torch print(torch.__version__) print(sklearn.__version__) </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11019190/71001688-15df3680-20de-11ea-8441-16a58497c70b.png"><img src="https://user-images.githubusercontent.com/11019190/71001688-15df3680-20de-11ea-8441-16a58497c70b.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">In reverse order:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch import sklearn print(torch.__version__) print(sklearn.__version__)"><pre class="notranslate"><code class="notranslate">import torch import sklearn print(torch.__version__) print(sklearn.__version__) </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11019190/71001720-255e7f80-20de-11ea-9338-5f4adcf1ac2c.png"><img src="https://user-images.githubusercontent.com/11019190/71001720-255e7f80-20de-11ea-9338-5f4adcf1ac2c.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PyTorch version: 1.3.1 Is debug build: No CUDA used to build PyTorch: 10.1.243 OS: Manjaro Linux GCC version: (GCC) 9.2.0 CMake version: version 3.16.0 Python version: 3.7 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: GeForce RTX 2080 Ti Nvidia driver version: 430.64 cuDNN version: /usr/lib/libcudnn.so.7.6.5 Versions of relevant libraries: [pip3] numpy==1.17.4 [pip3] torch==1.3.1 [pip3] torchvision==0.4.2 [conda] Could not collect"><pre class="notranslate"><code class="notranslate">PyTorch version: 1.3.1 Is debug build: No CUDA used to build PyTorch: 10.1.243 OS: Manjaro Linux GCC version: (GCC) 9.2.0 CMake version: version 3.16.0 Python version: 3.7 Is CUDA available: Yes CUDA runtime version: 10.2.89 GPU models and configuration: GPU 0: GeForce RTX 2080 Ti Nvidia driver version: 430.64 cuDNN version: /usr/lib/libcudnn.so.7.6.5 Versions of relevant libraries: [pip3] numpy==1.17.4 [pip3] torch==1.3.1 [pip3] torchvision==0.4.2 [conda] Could not collect </code></pre></div> <h2 dir="auto">Additional context</h2> <p dir="auto">Related closed issues:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="243779309" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/2143" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/2143/hovercard" href="https://github.com/pytorch/pytorch/issues/2143">#2143</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="208695074" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/786" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/786/hovercard" href="https://github.com/pytorch/pytorch/issues/786">#786</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a></p>
1
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.8.10</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function f(a: { b?: string; c?: number; }){ // something else } f({b: &quot;&quot;}); // no error as intended f({b: 1}); // error as intended f(1); // expected: error, actually: no error f(&quot;&quot;); // expected: error, actually: no error"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s1">a</span>: <span class="pl-kos">{</span> <span class="pl-c1">b</span>?: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">c</span>?: <span class="pl-smi">number</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">// something else</span> <span class="pl-kos">}</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">b</span>: <span class="pl-s">""</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// no error as intended</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">b</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-c">// error as intended</span> <span class="pl-en">f</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-c">// expected: error, actually: no error</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-s">""</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// expected: error, actually: no error</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> see comments in the code.<br> <strong>Actual behavior:</strong><br> see comments in the code.</p>
<p dir="auto">This does not work. This is expected since I have <code class="notranslate">"noImplicitAny": true</code>:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function test({ x, y }) { console.log(x, y); } test({ x: 1, y: 2 });"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">{</span> x<span class="pl-kos">,</span> y <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">y</span>: <span class="pl-c1">2</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><code class="notranslate">src\main.ts(15,17): error TS7005: Variable 'x' implicitly has an 'any' type.</code><br> <code class="notranslate">src\main.ts(15,20): error TS7005: Variable 'y' implicitly has an 'any' type.</code></p> <p dir="auto">However, <code class="notranslate">function test({ x:number, y:number }) {</code> does not works too, while <code class="notranslate">function test({ x = 0, y = 0 }) {</code> works fine, but I do not want default params here. Is there a solution for it?</p>
0
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1165" rel="nofollow">http://projects.scipy.org/numpy/ticket/1165</a> on 2009-07-10 by trac user dgoldsmith, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a>.</em></p> <p dir="auto">Proposal regarding modification of the NumPy Docstring Standard</p> <p dir="auto">Under the heading "Method docstrings" in the section "Documenting classes"</p> <p dir="auto">Reword as follows:</p> <p dir="auto">Do not include "self" in the list of parameters. Otherwise, follow<br> the docstring standard for an ordinary function, <em>except</em> when the<br> method duplicates a function in the package namespace. In such<br> cases, simply provide the brief summary and the See Also section, whose content should simply be ..</p> <p dir="auto">On those rare occasions when a method does some additional, significant processing (e.g., parameter manipulation) before (or after) handing off to a nominally equivalent function, then document only the added functionality in the method, using only the sections needed to do so, and for the rest refer to the function. In general, the guiding principle is to document behavior where it is implemented in the source code, with ufuncs considered to "live" in their function implementation rather than any method implementation they may have.</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2139" rel="nofollow">http://projects.scipy.org/numpy/ticket/2139</a> on 2012-05-22 by trac user bmu, assigned to unknown.</em></p> <p dir="auto">I came across a question on stackoverflow (<a href="http://stackoverflow.com/q/9470604" rel="nofollow">http://stackoverflow.com/q/9470604</a>) and I am wondering if this is a bug</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np dt = np.dtype([('tuple', (int, 2))]) a = np.zeros(3, dt) type(a['tuple'][0]) # ndarray type(a[0]['tuple']) # ndarray a['tuple'][0] = (1,2) # ok a[0]['tuple'] = (1,2) # ValueError: shape-mismatch on array construction"><pre class="notranslate"><code class="notranslate">import numpy as np dt = np.dtype([('tuple', (int, 2))]) a = np.zeros(3, dt) type(a['tuple'][0]) # ndarray type(a[0]['tuple']) # ndarray a['tuple'][0] = (1,2) # ok a[0]['tuple'] = (1,2) # ValueError: shape-mismatch on array construction </code></pre></div> <p dir="auto">Travis wrote that this something like a "design" bug in a post at numpy-discussion:</p> <p dir="auto"><a href="http://permalink.gmane.org/gmane.comp.python.numeric.general/50058" rel="nofollow">http://permalink.gmane.org/gmane.comp.python.numeric.general/50058</a></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" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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"> 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 &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; 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="software -&gt; celery:5.0.5 (singularity) kombu:5.0.2 py:3.6.9 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:4.15.0-140-generic imp:CPython loader -&gt; celery.loaders.default.Loader settings -&gt; transport:amqp results:mongodb+srv://md_app_user:**@md-mongo.privatecircle.co/master_docs accept_content: ['json'] broker_url: 'amqp://md_app_user:********@****************:5672//master_docs' default_timezone: 'Asia/Kolkata' imports: ['tasks'] result_backend: 'mongodb+srv://md_app_user:********@******************/master_docs' result_serializer: 'json' task_serializer: 'json' timezone: 'Asia/Kolkata' deprecated_settings: None"><pre class="notranslate"><code class="notranslate">software -&gt; celery:5.0.5 (singularity) kombu:5.0.2 py:3.6.9 billiard:3.6.4.0 py-amqp:5.0.6 platform -&gt; system:Linux arch:64bit, ELF kernel version:4.15.0-140-generic imp:CPython loader -&gt; celery.loaders.default.Loader settings -&gt; transport:amqp results:mongodb+srv://md_app_user:**@md-mongo.privatecircle.co/master_docs accept_content: ['json'] broker_url: 'amqp://md_app_user:********@****************:5672//master_docs' default_timezone: 'Asia/Kolkata' imports: ['tasks'] result_backend: 'mongodb+srv://md_app_user:********@******************/master_docs' result_serializer: 'json' task_serializer: 'json' timezone: 'Asia/Kolkata' deprecated_settings: None </code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: 3.6.9</li> <li><strong>Minimal Celery Version</strong>: 5.0.3</li> <li><strong>Minimal Kombu Version</strong>: 5.0.2</li> <li><strong>Minimal Broker Version</strong>: RabbitMQ 3.8.11</li> <li><strong>Minimal Result Backend Version</strong>: Mongo 4.4</li> <li><strong>Minimal OS and/or Kernel Version</strong>: Ubuntu 18.04.5 (Linux kernel 4.15.0-140)</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.6 backcall==0.2.0 billiard==3.6.4.0 boto3==1.17.51 botocore==1.20.51 cached-property==1.5.2 cchardet==2.1.7 celery==5.0.5 certifi==2020.12.5 chardet==4.0.0 click==7.1.2 click-didyoumean==0.0.3 click-plugins==1.1.1 click-repl==0.1.6 decorator==5.0.6 dnspython==2.1.0 idna==2.10 importlib-metadata==3.10.0 ipython==7.16.1 ipython-genutils==0.2.0 jedi==0.17.2 jmespath==0.10.0 kombu==5.0.2 lxml==4.6.3 parso==0.7.1 pexpect==4.8.0 pickleshare==0.7.5 prompt-toolkit==3.0.18 ptyprocess==0.7.0 Pygments==2.8.1 pymongo==3.11.3 python-dateutil==2.8.1 python-magic==0.4.22 pytz==2021.1 requests==2.25.1 s3transfer==0.3.6 six==1.15.0 traitlets==4.3.3 typing-extensions==3.7.4.3 urllib3==1.26.4 vine==5.0.0 wcwidth==0.2.5 zipp==3.4.1"><pre class="notranslate"><code class="notranslate">amqp==5.0.6 backcall==0.2.0 billiard==3.6.4.0 boto3==1.17.51 botocore==1.20.51 cached-property==1.5.2 cchardet==2.1.7 celery==5.0.5 certifi==2020.12.5 chardet==4.0.0 click==7.1.2 click-didyoumean==0.0.3 click-plugins==1.1.1 click-repl==0.1.6 decorator==5.0.6 dnspython==2.1.0 idna==2.10 importlib-metadata==3.10.0 ipython==7.16.1 ipython-genutils==0.2.0 jedi==0.17.2 jmespath==0.10.0 kombu==5.0.2 lxml==4.6.3 parso==0.7.1 pexpect==4.8.0 pickleshare==0.7.5 prompt-toolkit==3.0.18 ptyprocess==0.7.0 Pygments==2.8.1 pymongo==3.11.3 python-dateutil==2.8.1 python-magic==0.4.22 pytz==2021.1 requests==2.25.1 s3transfer==0.3.6 six==1.15.0 traitlets==4.3.3 typing-extensions==3.7.4.3 urllib3==1.26.4 vine==5.0.0 wcwidth==0.2.5 zipp==3.4.1 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# test.py import celery app = celery.Celery('proj')"><pre class="notranslate"><span class="pl-c"># test.py</span> <span class="pl-k">import</span> <span class="pl-s1">celery</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-s1">celery</span>.<span class="pl-v">Celery</span>(<span class="pl-s">'proj'</span>)</pre></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ celery -A test amqp repl &gt; exchange.declare "><pre class="notranslate">$ celery -A <span class="pl-c1">test</span> amqp repl <span class="pl-k">&gt;</span> exchange.declare </pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">The AMQP interactive shell should accept this command and execute it and then prompt for the next command.</p> <h1 dir="auto">Actual Behavior</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/bin/celery&quot;, line 8, in &lt;module&gt; sys.exit(main()) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/__main__.py&quot;, line 15, in main sys.exit(_main()) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/bin/celery.py&quot;, line 213, in main return celery(auto_envvar_prefix=&quot;CELERY&quot;) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 829, in __call__ return self.main(*args, **kwargs) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 782, in main rv = self.invoke(ctx) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 610, in invoke return callback(*args, **kwargs) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/decorators.py&quot;, line 21, in new_func return f(get_current_context(), *args, **kwargs) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click_repl/__init__.py&quot;, line 248, in repl group.invoke(ctx) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 1256, in invoke Command.invoke(self, ctx) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py&quot;, line 610, in invoke return callback(*args, **kwargs) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/decorators.py&quot;, line 21, in new_func return f(get_current_context(), *args, **kwargs) File &quot;/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/bin/base.py&quot;, line 120, in caller app = ctx.obj.app AttributeError: 'AMQPContext' object has no attribute 'app'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/home/privatecircle/.virtualenvs/mca_document_manager/bin/celery", line 8, in &lt;module&gt; sys.exit(main()) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/__main__.py", line 15, in main sys.exit(_main()) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/bin/celery.py", line 213, in main return celery(auto_envvar_prefix="CELERY") File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 829, in __call__ return self.main(*args, **kwargs) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, **kwargs) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click_repl/__init__.py", line 248, in repl group.invoke(ctx) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 1256, in invoke Command.invoke(self, ctx) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func return f(get_current_context(), *args, **kwargs) File "/home/privatecircle/.virtualenvs/mca_document_manager/lib/python3.6/site-packages/celery/bin/base.py", line 120, in caller app = ctx.obj.app AttributeError: 'AMQPContext' object has no attribute 'app' </code></pre></div>
<p dir="auto">F821 is one of the most useful flake8 rules, however it's currently disabled because type comments reference undefined names.</p> <p dir="auto">it can be fixed with a conditional dependency on <code class="notranslate">typing</code> or importing typing in an <code class="notranslate">if False:</code> block, see discussion here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="545196257" data-permission-text="Title is private" data-url="https://github.com/PyCQA/pyflakes/issues/501" data-hovercard-type="issue" data-hovercard-url="/PyCQA/pyflakes/issues/501/hovercard" href="https://github.com/PyCQA/pyflakes/issues/501">PyCQA/pyflakes#501</a></p> <h1 dir="auto">conditional dep</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# requirements.txt typing; python_version &lt; '3.5'"><pre class="notranslate"><code class="notranslate"># requirements.txt typing; python_version &lt; '3.5' </code></pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# some_annotated.py from typing import Any, Tuple if typing.TYPE_CHECKING: from celery import Celery"><pre class="notranslate"><span class="pl-c"># some_annotated.py</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">Tuple</span> <span class="pl-k">if</span> <span class="pl-s1">typing</span>.<span class="pl-v">TYPE_CHECKING</span>: <span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span></pre></div> <h1 dir="auto"><code class="notranslate">if False:</code></h1> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# some_annotated.py if False: from typing import Any, Tuple from celery import Celery"><pre class="notranslate"><span class="pl-c"># some_annotated.py</span> <span class="pl-k">if</span> <span class="pl-c1">False</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">Tuple</span> <span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span></pre></div> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/auvipy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/auvipy">@auvipy</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thedrow/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thedrow">@thedrow</a> do you have a preferred <code class="notranslate">typing</code> import approach? mine is to add the conditional dep</p> <h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Enhancement%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical enhancement to an existing feature.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Issue+Type%3A+Enhancement%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed enhancements.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the if the same enhancement was already implemented in the<br> master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues in this issue<br> (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <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> <h1 dir="auto">Brief Summary</h1> <h1 dir="auto">Design</h1> <h2 dir="auto">Architectural Considerations</h2> <p dir="auto">None</p> <h2 dir="auto">Proposed Behavior</h2> <h2 dir="auto">Proposed UI/UX</h2> <h2 dir="auto">Diagrams</h2> <p dir="auto">N/A</p> <h2 dir="auto">Alternatives</h2> <p dir="auto">None</p>
0
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/13654/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke/13654/</a></p> <p dir="auto">Failed: [k8s.io] V1Job should scale a job down {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:127 Aug 19 14:20:01.776: Couldn't delete ns &quot;e2e-tests-v1job-ykaur&quot;: namespace e2e-tests-v1job-ykaur was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 19 14:20:01.776: Couldn't delete ns "e2e-tests-v1job-ykaur": namespace e2e-tests-v1job-ykaur was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265 </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="169882187" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30216" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30216/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30216">#30216</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/21728/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/21728/</a></p> <p dir="auto">Failed: [k8s.io] V1Job should scale a job up {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:127 Aug 16 08:11:16.645: Couldn't delete ns &quot;e2e-tests-v1job-gmj3l&quot;: namespace e2e-tests-v1job-gmj3l was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 16 08:11:16.645: Couldn't delete ns "e2e-tests-v1job-gmj3l": namespace e2e-tests-v1job-gmj3l was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265 </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="169069185" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29976" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29976/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29976">#29976</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170717834" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30464" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30464/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30464">#30464</a></p>
1
<p dir="auto">It looks like the Windows 7 build instructions don't include something to run the Chromium content gyp generator as all I'm getting is getting the below and I can't find a way to resolve the issue when bootstrap threw no errors.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="IEUser@IE9Win7 ~/atom-shell $ /cygdrive/c/Python27/python.exe script/build.py -c Release ninja: fatal: chdir to 'out\Release' - No such file or directory ninja: Entering directory `out\Release'"><pre class="notranslate"><code class="notranslate">IEUser@IE9Win7 ~/atom-shell $ /cygdrive/c/Python27/python.exe script/build.py -c Release ninja: fatal: chdir to 'out\Release' - No such file or directory ninja: Entering directory `out\Release' </code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E:\atom-shell&gt;python script\bootstrap.py E:\atom-shell&gt;python script\build.py ninja: error: unknown target 'atom' ninja: Entering directory `out\Release' ninja: error: unknown target 'atom' ninja: Entering directory `out\Debug'"><pre class="notranslate"><code class="notranslate">E:\atom-shell&gt;python script\bootstrap.py E:\atom-shell&gt;python script\build.py ninja: error: unknown target 'atom' ninja: Entering directory `out\Release' ninja: error: unknown target 'atom' ninja: Entering directory `out\Debug' </code></pre></div> <p dir="auto">Any idea? This happens before v0.12.5</p>
1
<p dir="auto"><strong>I'm submitting a proposal.</strong><br> Please consider the proposal, maybe you introduce something like that <a href="https://www.npmjs.com/package/angular2-cache" rel="nofollow">https://www.npmjs.com/package/angular2-cache</a></p> <p dir="auto"><strong>Current behavior</strong><br> Is absent, therefore I have reinvented the wheel</p> <p dir="auto"><strong>Expected behavior</strong><br> `export class Service {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="private id:string; private expiration:string; @ZoneCached() // The result will be cached within working zone public getExpirationDate():Date { return this.expiration ? new Date(this.expiration) : null; }"><pre class="notranslate"><code class="notranslate">private id:string; private expiration:string; @ZoneCached() // The result will be cached within working zone public getExpirationDate():Date { return this.expiration ? new Date(this.expiration) : null; } </code></pre></div> <p dir="auto">}</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Injectable/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Injectable">@Injectable</a>()<br> export class NgZoneGlobalCache extends MemoryCache&lt;any, any&gt; {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="constructor(@Inject(NgZone) ngZone:NgZone) { super(); ngZone.onStable.subscribe(() =&gt; { this.clear(); // Clear the memory cache when ngZone completed its work }); GlobalCachesInstances.ZONE_INSTANCE = this; }"><pre class="notranslate"><code class="notranslate">constructor(@Inject(NgZone) ngZone:NgZone) { super(); ngZone.onStable.subscribe(() =&gt; { this.clear(); // Clear the memory cache when ngZone completed its work }); GlobalCachesInstances.ZONE_INSTANCE = this; } </code></pre></div> <p dir="auto">}`</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> I wanna get a solution out of the box.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.X</li> <li><strong>Browser:</strong> all</li> <li><strong>Language:</strong> TypeScript 1.x, 2.x</li> </ul>
<p dir="auto">Couldn't get custom event (ping) bubble up to the root component. DOM event (click) works just fine:<br> <a href="http://plnkr.co/edit/g6RNv5qMreVFKYcwvtOs?p=preview" rel="nofollow">http://plnkr.co/edit/g6RNv5qMreVFKYcwvtOs?p=preview</a></p> <p dir="auto">Using alpha.25</p>
0
<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/3363" rel="nofollow">http://code.opencv.org/issues/3363</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| caroline parcq on 2013-11-07 15:07 || Priority: Normal || Affected: 2.4.6 (latest release) || Category: imgproc, video || Tracker: Bug || Difficulty: Medium || PR: || Platform: x86 / Windows"><pre class="notranslate"><code class="notranslate">|| caroline parcq on 2013-11-07 15:07 || Priority: Normal || Affected: 2.4.6 (latest release) || Category: imgproc, video || Tracker: Bug || Difficulty: Medium || PR: || Platform: x86 / Windows </code></pre></div> <h2 dir="auto">Sorted circles by accumulator values</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="It would be nice to get, as output of the HoughCircles function, the circles sorted in order of importance, using the accumulator value. Because actually, we do not have any idea in the circles list, which one is the most valuable circle."><pre class="notranslate"><code class="notranslate">It would be nice to get, as output of the HoughCircles function, the circles sorted in order of importance, using the accumulator value. Because actually, we do not have any idea in the circles list, which one is the most valuable circle. </code></pre></div> <h2 dir="auto">History</h2> <h5 dir="auto">Dinar Ahmatnurov on 2013-11-08 07:43</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi Caroline! thank you for your ticket! As you may or may not be aware, OpenCV is opensource library, we don't have as many developers as we need, so if really want something urgent you have to implement it yourself and add to Opencv :) http://code.opencv.org/projects/opencv/wiki/How_to_contribute - Difficulty changed from Easy to Medium - Priority changed from High to Normal - Assignee deleted (Vadim Pisarevsky)"><pre class="notranslate"><code class="notranslate">Hi Caroline! thank you for your ticket! As you may or may not be aware, OpenCV is opensource library, we don't have as many developers as we need, so if really want something urgent you have to implement it yourself and add to Opencv :) http://code.opencv.org/projects/opencv/wiki/How_to_contribute - Difficulty changed from Easy to Medium - Priority changed from High to Normal - Assignee deleted (Vadim Pisarevsky) </code></pre></div> <h5 dir="auto">Dinar Ahmatnurov on 2013-11-08 08:32</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- Status changed from New to Open"><pre class="notranslate"><code class="notranslate">- Status changed from New to Open </code></pre></div> <h5 dir="auto">Hui Tay on 2013-11-28 08:40</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi, I'm new to openCV but was looking at hough.cpp recently. The icvHoughCirclesGradient function (and hence the output of the HoughCircles function) *already* returns circles sorted according to highest accumulated values based on circle centers with the highest vote from surrounding non-neg edge pixels (line 865). I believe the confusion may come about in the 2nd phase of the function when trying to find the best supported radius (around line 945), you can sort the circles according to 'max_count' of supporting radius pixels, but I think that makes less sense and didn't give such good results when I tried it out (since bigger circles then tend to have more support). Perhaps best ask someone who understands the houghcircle algorithm better :) I'm glad to help if anyone finds other issues."><pre class="notranslate"><code class="notranslate">Hi, I'm new to openCV but was looking at hough.cpp recently. The icvHoughCirclesGradient function (and hence the output of the HoughCircles function) *already* returns circles sorted according to highest accumulated values based on circle centers with the highest vote from surrounding non-neg edge pixels (line 865). I believe the confusion may come about in the 2nd phase of the function when trying to find the best supported radius (around line 945), you can sort the circles according to 'max_count' of supporting radius pixels, but I think that makes less sense and didn't give such good results when I tried it out (since bigger circles then tend to have more support). Perhaps best ask someone who understands the houghcircle algorithm better :) I'm glad to help if anyone finds other issues. </code></pre></div> <h5 dir="auto">Helen Wong on 2014-10-17 17:51</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I wish to work on this bug and have this bug assigned to me on this platform?"><pre class="notranslate"><code class="notranslate">I wish to work on this bug and have this bug assigned to me on this platform? </code></pre></div>
<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/1409" rel="nofollow">http://code.opencv.org/issues/1409</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| ivansorokin - on 2011-10-07 15:02 || Priority: Normal || Affected: None || Category: imgproc, video || Tracker: Feature || Difficulty: None || PR: None || Platform: None / None"><pre class="notranslate"><code class="notranslate">|| ivansorokin - on 2011-10-07 15:02 || Priority: Normal || Affected: None || Category: imgproc, video || Tracker: Feature || Difficulty: None || PR: None || Platform: None / None </code></pre></div> <h2 dir="auto">ability to get Hough accumulator value</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Currently it is not possible to get Hough accumulator value (after stage 1 in icvHoughLinesStandard). http://stackoverflow.com/questions/3265987/opencv-get-hough-accumulator-value I also need this value. Currently I've just copy-paste this part of function from OpenCV, but I think it can be extracted in separate function."><pre class="notranslate"><code class="notranslate">Currently it is not possible to get Hough accumulator value (after stage 1 in icvHoughLinesStandard). http://stackoverflow.com/questions/3265987/opencv-get-hough-accumulator-value I also need this value. Currently I've just copy-paste this part of function from OpenCV, but I think it can be extracted in separate function. </code></pre></div> <h2 dir="auto">History</h2> <h5 dir="auto">Alexander Shishkov on 2012-02-12 20:26</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- Description changed from Currently it is not possible to get Hough accumulator value (after stage 1 in... to Currently it is not possible to get Hough accumulator value (after stage 1 in... More"><pre class="notranslate"><code class="notranslate">- Description changed from Currently it is not possible to get Hough accumulator value (after stage 1 in... to Currently it is not possible to get Hough accumulator value (after stage 1 in... More </code></pre></div>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">Hi Mr. Doob,</p> <p dir="auto">I want to play an animation like the pump.dae backwards, is there any code out there that does this or do I have to write it myself, I believe I have to make modifications to the Animation.js, AnimationHandler.js, and the KeyFrameAnimation.js to do this. Please help me as I would like to be able to do this as quick as possible and would like some good advice.</p> <p dir="auto">Thanks!<br> -Chunlin</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r77</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<h5 dir="auto">Description of the problem</h5> <p dir="auto">In r72 verstion I can play reverse animation with negative timeScale, is very helpful to me,<br> But now I update to r76 it not work. So how can I play reverse animation in r76? Thanks.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r76</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> </ul>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=bram" rel="nofollow">Bram Smeets</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-772?redirect=false" rel="nofollow">SPR-772</a></strong> and commented</p> <p dir="auto">There is a problem with multiple schedulers. It is impossible to get two schedulers using the SchedulerFactoryBean. The main problem is that a NullPointerException occurs while initializing the SchedulerFactoryBean when the schedulerName property has been set.</p> <p dir="auto">More information:<br> <a href="http://forum.springframework.org/viewtopic.php?t=3089" rel="nofollow">http://forum.springframework.org/viewtopic.php?t=3089</a></p> <hr> <p dir="auto"><strong>Affects:</strong> 1.1.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="398056097" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5569" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5569/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5569">#5569</a> quartz scheduler factory cannot produce multiple schedulers (<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="398228423" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/21423" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/21423/hovercard" href="https://github.com/spring-projects/spring-framework/issues/21423">#21423</a> SchedulerFactoryBean should not override explicit "org.quartz.scheduler.instanceName" setting with bean name</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=plethora" rel="nofollow">Taras Tielkes</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3995?redirect=false" rel="nofollow">SPR-3995</a></strong> and commented</p> <p dir="auto">Since code is quite similar/duplicate, the issue is quite similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398080761" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8543" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8543/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8543">#8543</a><br> At the moment handler mappings are loader eagerly (see DefaultNamespaceHandlerResolver).</p> <p dir="auto">A lazy loading implementation would perform just as well in the scenario when mappings are actually consulted.<br> In the scenario where mappings are never used (eg. only "beans" namespace elements) this should provide a noticeable performance increase.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.7, 2.1 M4</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="398081749" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8669" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8669/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8669">#8669</a> Lazy loading of NamespaceHandlers when a namespace is actually accessed</li> </ul>
0
<p dir="auto">proxy commit id : <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/apache/shardingsphere/commit/51ec973a056b3414f80b2d207f2236ac184f6a2e/hovercard" href="https://github.com/apache/shardingsphere/commit/51ec973a056b3414f80b2d207f2236ac184f6a2e"><tt>51ec973</tt></a></p> <p dir="auto">following is the step to reproduce the issue :</p> <ol dir="auto"> <li>downlod the shardingsphere code and checkout as the corresponding commit version</li> <li>compile the code and extract proxy distribution</li> <li>use the following config and then start proxy</li> </ol> <p dir="auto">config-encrypt.yaml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="schemaName: encrypt_db dataSources: ds_0: url: jdbc:mysql://127.0.0.1:3306/encrypt_db?serverTimezone=UTC&amp;useSSL=false username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 3000 minPoolSize: 1 rules: - !ENCRYPT encryptors: sm4_encryptor: type: SM4 props: sm4-key: 123456ab sm4-mode: ECB sm4-padding: PKCS5Padding md5_encryptor: type: MD5 tables: sbtest1: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest2: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest3: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest4: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest5: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest6: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest7: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest8: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest9: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest10: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor queryWithCipherColumn: true"><pre class="notranslate"><code class="notranslate">schemaName: encrypt_db dataSources: ds_0: url: jdbc:mysql://127.0.0.1:3306/encrypt_db?serverTimezone=UTC&amp;useSSL=false username: root password: connectionTimeoutMilliseconds: 30000 idleTimeoutMilliseconds: 60000 maxLifetimeMilliseconds: 1800000 maxPoolSize: 3000 minPoolSize: 1 rules: - !ENCRYPT encryptors: sm4_encryptor: type: SM4 props: sm4-key: 123456ab sm4-mode: ECB sm4-padding: PKCS5Padding md5_encryptor: type: MD5 tables: sbtest1: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest2: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest3: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest4: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest5: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest6: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest7: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest8: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest9: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor sbtest10: columns: pad: cipherColumn: pad encryptorName: sm4_encryptor queryWithCipherColumn: true </code></pre></div> <p dir="auto">server.yaml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PRIVILEGES_PERMITTED # - !TRANSACTION # defaultType: XA # providerType: Atomikos # - !SQL_PARSER # sqlCommentParseEnabled: true # sqlStatementCache: # initialCapacity: 2000 # maximumSize: 65535 # concurrencyLevel: 4 # parseTreeCache: # initialCapacity: 128 # maximumSize: 1024 # concurrencyLevel: 4 props: # max-connections-size-per-query: 1 # kernel-executor-size: 16 # Infinite by default. # proxy-frontend-flush-threshold: 128 # The default value is 128. # proxy-opentracing-enabled: false # proxy-hint-enabled: false # sql-show: false # check-table-metadata-enabled: false # show-process-list-enabled: false # # Proxy backend query fetch size. A larger value may increase the memory usage of ShardingSphere Proxy. # # The default value is -1, which means set the minimum value for different JDBC drivers. # proxy-backend-query-fetch-size: -1 # check-duplicate-table-enabled: false # proxy-frontend-executor-size: 0 # Proxy frontend executor size. The default value is 0, which means let Netty decide. # # Available options of proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may reduce time cost of writing packets to client, but it may increase the latency of SQL execution # # if client connections are more than proxy-frontend-netty-executor-size, especially executing slow SQL. proxy-backend-executor-suitable: OLTP # proxy-frontend-max-connections: 0 # Less than or equal to 0 means no limitation. # sql-federation-enabled: false # # Available proxy backend driver type: JDBC (default), ExperimentalVertx # proxy-backend-driver-type: JDBC"><pre class="notranslate"><code class="notranslate">rules: - !AUTHORITY users: - root@%:root - sharding@:sharding provider: type: ALL_PRIVILEGES_PERMITTED # - !TRANSACTION # defaultType: XA # providerType: Atomikos # - !SQL_PARSER # sqlCommentParseEnabled: true # sqlStatementCache: # initialCapacity: 2000 # maximumSize: 65535 # concurrencyLevel: 4 # parseTreeCache: # initialCapacity: 128 # maximumSize: 1024 # concurrencyLevel: 4 props: # max-connections-size-per-query: 1 # kernel-executor-size: 16 # Infinite by default. # proxy-frontend-flush-threshold: 128 # The default value is 128. # proxy-opentracing-enabled: false # proxy-hint-enabled: false # sql-show: false # check-table-metadata-enabled: false # show-process-list-enabled: false # # Proxy backend query fetch size. A larger value may increase the memory usage of ShardingSphere Proxy. # # The default value is -1, which means set the minimum value for different JDBC drivers. # proxy-backend-query-fetch-size: -1 # check-duplicate-table-enabled: false # proxy-frontend-executor-size: 0 # Proxy frontend executor size. The default value is 0, which means let Netty decide. # # Available options of proxy backend executor suitable: OLAP(default), OLTP. The OLTP option may reduce time cost of writing packets to client, but it may increase the latency of SQL execution # # if client connections are more than proxy-frontend-netty-executor-size, especially executing slow SQL. proxy-backend-executor-suitable: OLTP # proxy-frontend-max-connections: 0 # Less than or equal to 0 means no limitation. # sql-federation-enabled: false # # Available proxy backend driver type: JDBC (default), ExperimentalVertx # proxy-backend-driver-type: JDBC </code></pre></div> <p dir="auto">and then modify the sysbench oltp_common.lua, change the create table clause, make pad to char(200)<br> start sysbench to test</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sysbench oltp_read_only --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=10 --time=3600 --threads=10 --max-requests=0 --percentile=99 --mysql-ignore-errors=&quot;all&quot; --rand-type=uniform --range_selects=off --auto_inc=off cleanup sysbench oltp_read_only --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=10 --time=3600 --threads=10 --max-requests=0 --percentile=99 --mysql-ignore-errors=&quot;all&quot; --rand-type=uniform --range_selects=off --auto_inc=off prepare sysbench oltp_point_select --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=5 --time=300 --threads=64 --max-requests=0 --percentile=99 --mysql-ignore-errors=&quot;all&quot; --range_selects=off --rand-type=uniform --auto_inc=off run | tee oltp_point_select_64.txt "><pre class="notranslate"><code class="notranslate">sysbench oltp_read_only --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=10 --time=3600 --threads=10 --max-requests=0 --percentile=99 --mysql-ignore-errors="all" --rand-type=uniform --range_selects=off --auto_inc=off cleanup sysbench oltp_read_only --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=10 --time=3600 --threads=10 --max-requests=0 --percentile=99 --mysql-ignore-errors="all" --rand-type=uniform --range_selects=off --auto_inc=off prepare sysbench oltp_point_select --mysql-host=127.0.0.1 --mysql-port=3307 --mysql-user=root --mysql-password='root' --mysql-db=encrypt_db --tables=10 --table-size=1000000 --report-interval=5 --time=300 --threads=64 --max-requests=0 --percentile=99 --mysql-ignore-errors="all" --range_selects=off --rand-type=uniform --auto_inc=off run | tee oltp_point_select_64.txt </code></pre></div> <p dir="auto">and you will get the following problem :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ERROR] 2022-01-13 16:21:43.226 [epollEventLoopGroup-3-7] o.a.s.p.f.c.CommandExecutorTask - Exception occur: java.lang.IllegalStateException: Mode must be either CBC or ECB. at com.google.common.base.Preconditions.checkState(Preconditions.java:508) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.checkAndGetMode(SM4EncryptAlgorithm.java:123) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.sm4(SM4EncryptAlgorithm.java:103) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:76) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:72) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:40) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.setCipherColumn(EncryptInsertValuesTokenGenerator.java:170) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.encryptToken(EncryptInsertValuesTokenGenerator.java:128) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateNewSQLToken(EncryptInsertValuesTokenGenerator.java:94) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateSQLToken(EncryptInsertValuesTokenGenerator.java:67) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateSQLToken(EncryptInsertValuesTokenGenerator.java:50) at org.apache.shardingsphere.infra.rewrite.sql.token.generator.SQLTokenGenerators.generateSQLTokens(SQLTokenGenerators.java:70) at org.apache.shardingsphere.infra.rewrite.context.SQLRewriteContext.generateSQLTokens(SQLRewriteContext.java:83) at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.createSQLRewriteContext(SQLRewriteEntry.java:78) at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.rewrite(SQLRewriteEntry.java:70) at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.rewrite(KernelProcessor.java:59) at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.generateExecutionContext(KernelProcessor.java:47) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:115) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:67) at org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandler.execute(SchemaAssignedDatabaseBackendHandler.java:55) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:62) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:96) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:69) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">[ERROR] 2022-01-13 16:21:43.226 [epollEventLoopGroup-3-7] o.a.s.p.f.c.CommandExecutorTask - Exception occur: java.lang.IllegalStateException: Mode must be either CBC or ECB. at com.google.common.base.Preconditions.checkState(Preconditions.java:508) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.checkAndGetMode(SM4EncryptAlgorithm.java:123) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.sm4(SM4EncryptAlgorithm.java:103) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:76) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:72) at org.apache.shardingsphere.encrypt.algorithm.SM4EncryptAlgorithm.encrypt(SM4EncryptAlgorithm.java:40) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.setCipherColumn(EncryptInsertValuesTokenGenerator.java:170) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.encryptToken(EncryptInsertValuesTokenGenerator.java:128) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateNewSQLToken(EncryptInsertValuesTokenGenerator.java:94) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateSQLToken(EncryptInsertValuesTokenGenerator.java:67) at org.apache.shardingsphere.encrypt.rewrite.token.generator.impl.EncryptInsertValuesTokenGenerator.generateSQLToken(EncryptInsertValuesTokenGenerator.java:50) at org.apache.shardingsphere.infra.rewrite.sql.token.generator.SQLTokenGenerators.generateSQLTokens(SQLTokenGenerators.java:70) at org.apache.shardingsphere.infra.rewrite.context.SQLRewriteContext.generateSQLTokens(SQLRewriteContext.java:83) at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.createSQLRewriteContext(SQLRewriteEntry.java:78) at org.apache.shardingsphere.infra.rewrite.SQLRewriteEntry.rewrite(SQLRewriteEntry.java:70) at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.rewrite(KernelProcessor.java:59) at org.apache.shardingsphere.infra.context.kernel.KernelProcessor.generateExecutionContext(KernelProcessor.java:47) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:115) at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:67) at org.apache.shardingsphere.proxy.backend.text.data.impl.SchemaAssignedDatabaseBackendHandler.execute(SchemaAssignedDatabaseBackendHandler.java:55) at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:62) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:96) at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:69) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) </code></pre></div>
<h2 dir="auto">Bug Report</h2> <p dir="auto">Mybatis mapper has jdbcType=LONGVARCHAR field. After sharding, the String type data is processed into StringReader type data. StringReader does not implement serialization interface, which eventually leads to serialization exception and data insertion failure</p> <h3 dir="auto">Which version of ShardingSphere did you use?</h3> <p dir="auto">3.1.1</p> <h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3> <p dir="auto">Sharding-JDBC</p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">insert success</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">insert fail</p>
0
<p dir="auto">Challenge <a href="https://beta.freecodecamp.com/en/challenges/applied-visual-design/adjust-the-width-of-an-element-using-the-width-property" rel="nofollow">adjust-the-width-of-an-element-using-the-width-property</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.76 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;style&gt; h4 { text-align: center; } p { text-align: justify; } .links { margin-right: 20px; text-align: left; */ } .fullCard { width: 245px; border: 1px solid #ccc; border-radius: 5px; margin: 10px 5px; padding: 4px; } .cardContent { padding: 10px; } &lt;/style&gt; &lt;div class=&quot;fullCard&quot;&gt; &lt;div class=&quot;cardContent&quot;&gt; &lt;div class=&quot;cardText&quot;&gt; &lt;h4&gt;Google&lt;/h4&gt; &lt;p&gt;Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.&lt;/p&gt; &lt;/div&gt; &lt;div class=&quot;cardLinks&quot;&gt; &lt;a href=&quot;https://en.wikipedia.org/wiki/Larry_Page&quot; class=&quot;links&quot;&gt;Larry Page&lt;/a&gt; &lt;a href=&quot;https://en.wikipedia.org/wiki/Sergey_Brin&quot; class=&quot;links&quot;&gt;Sergey Brin&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; ``` When you press check tests it fails because the call to verify test of $('.fullCard').css('width') is returning a floating point number instead of the decimal value entered: &quot;244.98295020214843px&quot;"><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-ent">h4</span> { <span class="pl-c1">text-align</span><span class="pl-kos">:</span> center; } <span class="pl-ent">p</span> { <span class="pl-c1">text-align</span><span class="pl-kos">:</span> justify; } .<span class="pl-c1">links</span> { <span class="pl-c1">margin-right</span><span class="pl-kos">:</span> <span class="pl-c1">20<span class="pl-smi">px</span></span>; <span class="pl-c1">text-align</span><span class="pl-kos">:</span> left; <span class="pl-ent"><span class="pl-c1">*</span></span><span class="pl-c1">/</span> } .<span class="pl-c1">fullCard</span> { <span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">245<span class="pl-smi">px</span></span>; <span class="pl-c1">border</span><span class="pl-kos">:</span> <span class="pl-c1">1<span class="pl-smi">px</span></span> solid <span class="pl-pds"><span class="pl-kos">#</span>ccc</span>; <span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">5<span class="pl-smi">px</span></span>; <span class="pl-c1">margin</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span> <span class="pl-c1">5<span class="pl-smi">px</span></span>; <span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">4<span class="pl-smi">px</span></span>; } .<span class="pl-c1">cardContent</span> { <span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">fullCard</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">cardContent</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">cardText</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span>Google<span class="pl-kos">&lt;/</span><span class="pl-ent">h4</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">cardLinks</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">https://en.wikipedia.org/wiki/Larry_Page</span>" <span class="pl-c1">class</span>="<span class="pl-s">links</span>"<span class="pl-kos">&gt;</span>Larry Page<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">https://en.wikipedia.org/wiki/Sergey_Brin</span>" <span class="pl-c1">class</span>="<span class="pl-s">links</span>"<span class="pl-kos">&gt;</span>Sergey Brin<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">div</span><span class="pl-kos">&gt;</span> ``` When you press check tests it fails because the call to verify test of $('.fullCard').css('width') is returning a floating point number instead of the decimal value entered: "244.98295020214843px"</pre></div>
<h4 dir="auto">Challenge Name</h4> <p dir="auto">Applied Visual Design: Adjust the Width of an Element Using the Width Property</p> <h4 dir="auto">Issue Description</h4> <p dir="auto">When the instructions are done, test doesn't recognise it.</p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name: Chrome,</li> <li>Operating System: Windows 10</li> </ul>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Feature / use case</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">It seems currently there is no way to get the order of children from the children themselves with context.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I've run into this now in three use cases when building a style system: Breadcrumbs, Segmented views, and Text rhythm/spacing.</p> <p dir="auto">Example 1, breadcrumbs. You want to show an arrow on all but the last breadcrumb, but they may be deeply nested:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let BreadcrumbOrder = createContext({ index: -1, total: -1 }) let Button = props =&gt; { let order = useContext(BreadcrumbOrder) return &lt;div style={{ borderRight: order.index &gt; total ? '1px solid red' : 'none' }} {...props} /&gt; } let MyView = () =&gt; { return ( &lt;BreadcrumbProvider&gt; &lt;Button /&gt; &lt;Button /&gt; &lt;div&gt;&lt;Button /&gt;&lt;/div&gt; &lt;/BreadcrumbProvider&gt; ) }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-smi">BreadcrumbOrder</span> <span class="pl-c1">=</span> <span class="pl-en">createContext</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">index</span>: <span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">total</span>: <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">let</span> <span class="pl-smi">Button</span> <span class="pl-c1">=</span> <span class="pl-s1">props</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">order</span> <span class="pl-c1">=</span> <span class="pl-en">useContext</span><span class="pl-kos">(</span><span class="pl-smi">BreadcrumbOrder</span><span class="pl-kos">)</span> <span class="pl-k">return</span> <span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos"></span> <span class="pl-s1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">borderRight</span>: <span class="pl-s1">order</span><span class="pl-kos">.</span><span class="pl-c1">index</span> <span class="pl-c1">&gt;</span> <span class="pl-s1">total</span> ? <span class="pl-s">'1px solid red'</span> : <span class="pl-s">'none'</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-kos">{</span>...<span class="pl-s1">props</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-smi">MyView</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-kos">&lt;</span><span class="pl-smi">BreadcrumbProvider</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-smi">Button</span> <span class="pl-c1">/</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-smi">Button</span> <span class="pl-c1">/</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-smi">Button</span><span class="pl-kos"></span> <span class="pl-pds"><span class="pl-c1">/</span>&gt;&lt;<span class="pl-c1">/</span>div</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-smi">BreadcrumbProvider</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Where MyView should provide the ordering so that the sub-views can access <code class="notranslate">total</code> and <code class="notranslate">index</code> and properly style.</p> <p dir="auto">The other use cases are basically identical, but for different patterns. One is for joining together buttons that are in a row in the interface (Segmented), and the other is for collapsing margins when you have text elements in a vertical column.</p> <p dir="auto">Really this ticket encompasses more of a question or request for documentation clarity here. I'm not sure how it is not pre-concurrent, but I'm assuming mount-order will be non-deterministic if not now then shortly. Is there any reference to a pattern that works for this use case?</p> <p dir="auto">Namely: how children can access their mount order / total children. I can do it now useReducer/context, but I've seen it mount in a weird order at least once and think it was due to a suspense type thing, and would be curious a better practice for this.</p>
<p dir="auto">Is it possible to have a "frozen" component, that is rendered only on server-side, without being processed on the client side? (without calling the render-cycle again).<br> Let's say I have a CMS, that statically generates HTML on the server (a legacy system), but I want to use react to render the output inside my component structure.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Root&gt; &lt;ComponentA/&gt; &lt;CmsBlock id=&quot;staticMarkupId&quot;/&gt; &lt;ComponentB/&gt; &lt;/Root&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">Root</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">ComponentA</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">CmsBlock</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"staticMarkupId"</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">ComponentB</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Root</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">To prevent the HTML to be exposed twice, I will provide the information only on the server side.<br> The HTML can be quite big, and I don't want to have them on the client site again.</p> <p dir="auto">Right now, I don't see a way to tell react, to prevent calling the render method on a component again.<br> What I did, is this ugly workaround (react complains about a checksum mismatch though):</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/** * @flow */ import React, { Component, Element } from 'react'; type Props = { id:string, className?:string } type State = { markup:Object } export default class CmsBlock extends Component&lt;void, Props, State&gt; { props:Props; state:State; constructor(props:Props) { super(props); const { id } = props; const createMarkup = contentId =&gt; { return { __html: global.__CMS_CONTENT__ &amp;&amp; global.__CMS_CONTENT__[contentId] ? global.__CMS_CONTENT__[contentId] : !global.__CMS_CONTENT__ &amp;&amp; global.document ? // FIXME: WTF? global.document.querySelector(`[data-cms-id=&quot;${contentId}&quot;]`).innerHTML : `CMS Block ID &lt;strong&gt;${contentId}&lt;/strong&gt; does not exist.` }; }; this.state = { markup: createMarkup(id) }; } shouldComponentUpdate() { // is not called on initial &quot;client-mounting&quot; return false; } render():Element { const { className, id } = this.props; return ( &lt;div data-cms-id={id} className={className} dangerouslySetInnerHTML={this.state.markup}/&gt; ); } } "><pre class="notranslate"><span class="pl-c">/**</span> <span class="pl-c"> * <span class="pl-k">@flow</span></span> <span class="pl-c"> */</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">Element</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-s1">type</span> <span class="pl-v">Props</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">id</span>:<span class="pl-s1">string</span><span class="pl-kos">,</span> <span class="pl-c1">className</span>?:<span class="pl-s1">string</span> <span class="pl-kos">}</span> <span class="pl-s1">type</span> <span class="pl-v">State</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">markup</span>:<span class="pl-v">Object</span> <span class="pl-kos">}</span> <span class="pl-s1">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">CmsBlock</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span><span class="pl-c1">&lt;</span><span class="pl-k">void</span><span class="pl-kos">,</span> <span class="pl-v">Props</span><span class="pl-kos">,</span> <span class="pl-v">State</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c1">props</span>:<span class="pl-v">Props</span><span class="pl-kos">;</span> state:<span class="pl-v">State</span><span class="pl-kos">;</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">props</span>:<span class="pl-v">Props</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> id <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">props</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-en">createMarkup</span> <span class="pl-c1">=</span> <span class="pl-s1">contentId</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">__html</span>: <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">__CMS_CONTENT__</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">__CMS_CONTENT__</span><span class="pl-kos">[</span><span class="pl-s1">contentId</span><span class="pl-kos">]</span> ? <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">__CMS_CONTENT__</span><span class="pl-kos">[</span><span class="pl-s1">contentId</span><span class="pl-kos">]</span> : <span class="pl-c1">!</span><span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">__CMS_CONTENT__</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">document</span> ? <span class="pl-c">// FIXME: WTF?</span> <span class="pl-s1">global</span><span class="pl-kos">.</span><span class="pl-c1">document</span><span class="pl-kos">.</span><span class="pl-en">querySelector</span><span class="pl-kos">(</span><span class="pl-s">`[data-cms-id="<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">contentId</span><span class="pl-kos">}</span></span>"]`</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">innerHTML</span> : <span class="pl-s">`CMS Block ID &lt;strong&gt;<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">contentId</span><span class="pl-kos">}</span></span>&lt;/strong&gt; does not exist.`</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">markup</span>: <span class="pl-en">createMarkup</span><span class="pl-kos">(</span><span class="pl-s1">id</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">shouldComponentUpdate</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">// is not called on initial "client-mounting"</span> <span class="pl-k">return</span> <span class="pl-c1">false</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-v">Element</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-kos">{</span> className<span class="pl-kos">,</span> id <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">&lt;</span><span class="pl-ent">div</span> <span class="pl-c1">data-cms-id</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">className</span><span class="pl-kos">}</span> <span class="pl-c1">dangerouslySetInnerHTML</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">state</span><span class="pl-kos">.</span><span class="pl-c1">markup</span><span class="pl-kos">}</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I used React 15.1.0.</p>
0
<p dir="auto">For the VS Code API tests I have a clean up function that signals that it is done when all editors are closed. Currently the solution is hacky, it needs to install a setInterval to periodically check on the <code class="notranslate">vscode.window.visibleTextEditors</code> property to eventually become 0 (see <a href="https://github.com/Microsoft/vscode/blob/master/extensions/vscode-api-tests/src/utils.ts#L52">https://github.com/Microsoft/vscode/blob/master/extensions/vscode-api-tests/src/utils.ts#L52</a>).</p> <p dir="auto">The issue is that the <code class="notranslate">window.onDidChangeActiveTextEditor</code> event is not good enough for testing on the visible text editors as shown by the following test:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test('visibleTextEditors', () =&gt; { return workspace.openTextDocument(join(workspace.rootPath, './far.js')).then(doc =&gt; { return window.showTextDocument(doc).then((editor) =&gt; { return new Promise((c, e) =&gt; { const listener = window.onDidChangeActiveTextEditor(d =&gt; { console.log('editor is null?: ' + !d); if (window.visibleTextEditors.length &gt; 0) { console.log('visibleTextEditors count is: ' + window.visibleTextEditors.length); return; } listener.dispose(); c(); }); commands.executeCommand('workbench.action.closeAllEditors').then(null, e); }); }); }); });"><pre class="notranslate"><code class="notranslate">test('visibleTextEditors', () =&gt; { return workspace.openTextDocument(join(workspace.rootPath, './far.js')).then(doc =&gt; { return window.showTextDocument(doc).then((editor) =&gt; { return new Promise((c, e) =&gt; { const listener = window.onDidChangeActiveTextEditor(d =&gt; { console.log('editor is null?: ' + !d); if (window.visibleTextEditors.length &gt; 0) { console.log('visibleTextEditors count is: ' + window.visibleTextEditors.length); return; } listener.dispose(); c(); }); commands.executeCommand('workbench.action.closeAllEditors').then(null, e); }); }); }); }); </code></pre></div> <p dir="auto">The value passed in from the event is null as expected because I am running the close all editors action. However, <code class="notranslate">window.visibleTextEditors.length</code> is still 1 at that point.</p>
<ul dir="auto"> <li>VSCode Version: 0.10.11</li> <li>OS Version: Windows Server 2008 R2</li> </ul> <p dir="auto">Steps to Reproduce:</p> <ol dir="auto"> <li>Log in as a unprivileged user</li> <li>Run the VS Code installer as Administrator and enter password</li> <li>Tap both "Open with Code" checkboxes in the wizard</li> <li>Right-click on a file or folder</li> </ol> <p dir="auto">The "Open with Code" option is missing. I have not investigated this more than the reproduce steps above so it may be unrelated to the user being unprivileged.</p>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;TextField select SelectProps={{ autoWidth: true }} &gt; &lt;MenuItem value=&quot;&quot;&gt;&lt;em&gt;None&lt;/em&gt;&lt;/MenuItem&gt; &lt;MenuItem value={10}&gt;Short&lt;/MenuItem&gt; &lt;MenuItem value={20}&gt;A bit longer&lt;/MenuItem&gt; &lt;MenuItem value={30}&gt;Very, very, very long&lt;/MenuItem&gt; &lt;/TextField&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">TextField</span> <span class="pl-c1">select</span> <span class="pl-c1">SelectProps</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span> <span class="pl-c1">autoWidth</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-s">""</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-ent">em</span><span class="pl-c1">&gt;</span>None<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">em</span><span class="pl-c1">&gt;</span><span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">10</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>Short<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">20</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>A bit longer<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">MenuItem</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">30</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>Very, very, very long<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">MenuItem</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">TextField</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">Should display a long textField, as long as the "Very, very, very long" option.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/99944/31844341-4ff6cdf4-b5f8-11e7-955e-e67cca9a51f5.png"><img src="https://user-images.githubusercontent.com/99944/31844341-4ff6cdf4-b5f8-11e7-955e-e67cca9a51f5.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">The TextField is very short, it uses the width of the selected option. When nothing is selected, it is just not usable.</p> <p dir="auto">Besides, having the width of the field change according to the selected element is disturbing.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto"><a href="https://codesandbox.io/s/mj7zw8plx8" rel="nofollow">https://codesandbox.io/s/mj7zw8plx8</a></p> <h2 dir="auto">Context</h2> <p dir="auto">I'm trying to migrate admin-on-rest to material-ui 1.0</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.17</td> </tr> <tr> <td>React</td> <td>15.6</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<p dir="auto">Setting <code class="notranslate">palette.types.light.background.default</code> and <code class="notranslate">palette.types.dark.background.default</code> has no effect on background colors.</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/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Setting these palette values should change background colors appropriately.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The supplied background color values are ignored. Background color toggles only between <code class="notranslate">#fafafa<span class="ml-1 d-inline-block border circle color-border-subtle" style="background-color: #fafafa; height: 8px; width: 8px;"></span></code> and <code class="notranslate">#303030<span class="ml-1 d-inline-block border circle color-border-subtle" style="background-color: #303030; height: 8px; width: 8px;"></span></code> - the default values.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Create custom theme:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const palette = { types: { dark: { background: { default: &quot;#000000&quot; } }, light: { background: { default: &quot;#ffffff&quot; } } } }; const theme = createMuiTheme({ palette });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">palette</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">types</span>: <span class="pl-kos">{</span> <span class="pl-c1">dark</span>: <span class="pl-kos">{</span> <span class="pl-c1">background</span>: <span class="pl-kos">{</span> <span class="pl-c1">default</span>: <span class="pl-s">"#000000"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">light</span>: <span class="pl-kos">{</span> <span class="pl-c1">background</span>: <span class="pl-kos">{</span> <span class="pl-c1">default</span>: <span class="pl-s">"#ffffff"</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">const</span> <span class="pl-s1">theme</span> <span class="pl-c1">=</span> <span class="pl-en">createMuiTheme</span><span class="pl-kos">(</span><span class="pl-kos">{</span> palette <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Use this theme to set body background:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const styles = theme =&gt; ({ '@global': { ... body: { background: theme.palette.background.default, ... } } });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">styles</span> <span class="pl-c1">=</span> <span class="pl-s1">theme</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-s">'@global'</span>: <span class="pl-kos">{</span> ... <span class="pl-s1">body</span>: <span class="pl-kos">{</span> <span class="pl-c1">background</span>: <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">palette</span><span class="pl-kos">.</span><span class="pl-c1">background</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">,</span> ... <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">This will have no effect on the body background because the palette values are ignored. Background color can only toggle between <code class="notranslate">#fafafa<span class="ml-1 d-inline-block border circle color-border-subtle" style="background-color: #fafafa; height: 8px; width: 8px;"></span></code> and <code class="notranslate">#303030<span class="ml-1 d-inline-block border circle color-border-subtle" style="background-color: #303030; height: 8px; width: 8px;"></span></code> based on the value of <code class="notranslate">theme.palette.type</code>.</p> <p dir="auto">I am currently using the following workaround, but this seems completely unnecessary:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const styles = theme =&gt; ({ '@global': { ... body: { background: (theme.palette.type === 'light') ? theme.palette.types.light.background.default : theme.palette.types.dark.background.default, ... } } });"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">styles</span> <span class="pl-c1">=</span> <span class="pl-s1">theme</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-s">'@global'</span>: <span class="pl-kos">{</span> ... <span class="pl-s1">body</span>: <span class="pl-kos">{</span> <span class="pl-c1">background</span>: <span class="pl-kos">(</span><span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">palette</span><span class="pl-kos">.</span><span class="pl-c1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'light'</span><span class="pl-kos">)</span> ? <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">palette</span><span class="pl-kos">.</span><span class="pl-c1">types</span><span class="pl-kos">.</span><span class="pl-c1">light</span><span class="pl-kos">.</span><span class="pl-c1">background</span><span class="pl-kos">.</span><span class="pl-c1">default</span> : <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">palette</span><span class="pl-kos">.</span><span class="pl-c1">types</span><span class="pl-kos">.</span><span class="pl-c1">dark</span><span class="pl-kos">.</span><span class="pl-c1">background</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">,</span> ... <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <h2 dir="auto">Context</h2> <p dir="auto">The reason I want to change the default background colors is to be able to embed the react app in an iframe. The hosting page has a white background and the default of <code class="notranslate">#fafafa<span class="ml-1 d-inline-block border circle color-border-subtle" style="background-color: #fafafa; height: 8px; width: 8px;"></span></code> is clashing with it.</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.28</td> </tr> <tr> <td>React</td> <td>16.x</td> </tr> <tr> <td>browser</td> <td>N/A</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">In my project I need to catch and process an integrity exceptions, because user want to see a understandable error message instead of framework's exception (or just http 500 error). So the easiest way I found was something like this (let's say i want to process only duplicate errors. <code class="notranslate">obj</code> is object to save and <code class="notranslate">table</code> is table, mapped to obj's class):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="errors = {} try: Session.flush([obj](obj)) except sqlalchemy.exceptions.IntegrityError, e: err = str(e.orig) m = re.match(r'^column (\w+) is not unique$', err, re.I) if not m: raise e dupcol = m.groups(0)[0](0) del m if not dupcol in table.c: raise e dupcol = table.c[dupcol](dupcol) errors[dupcol](dupcol) = IntegrityError(dupcol.unique)"><pre class="notranslate"><code class="notranslate">errors = {} try: Session.flush([obj](obj)) except sqlalchemy.exceptions.IntegrityError, e: err = str(e.orig) m = re.match(r'^column (\w+) is not unique$', err, re.I) if not m: raise e dupcol = m.groups(0)[0](0) del m if not dupcol in table.c: raise e dupcol = table.c[dupcol](dupcol) errors[dupcol](dupcol) = IntegrityError(dupcol.unique) </code></pre></div> <p dir="auto">It is not clear and simple way, is it?</p> <p dir="auto">I am sorry for my English.</p>
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">we had someone wanting postgres SQLSTATE values to be propagated. i could not find any psycopg documentation at all about this being available, but then someone just posted an example that illustrated the undocumented psycopg attribute that makes this available.</p> <p dir="auto">the <code class="notranslate">SQLError</code> exception should have a "code" attribute that tries to get at the SQLSTATE/error number reported by the database, if possible. and maybe also "message". this way people wont need to drill into the db-specific exception itself. will need to build hooks into the dialect to populate this value when sql exceptions are raised.</p> <p dir="auto">the hard part here is identifying how all the dbapis report the code/message...im a little skeptical if they even all have codes.</p>
1
<p dir="auto">I am running celery with RabbitMQ as my backend, using a postgresql database as the result backend.</p> <p dir="auto">I have created a task that I want to wait on:</p> <p dir="auto">testing/failure/tasks.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from celery.decorators import task @task def return_result(): return &quot;Should return&quot;"><pre class="notranslate"><code class="notranslate">from celery.decorators import task @task def return_result(): return "Should return" </code></pre></div> <p dir="auto">I call this task in a separate client process as follows:</p> <p dir="auto">testing/client.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if __name__ == '__main__': from failure import tasks returned_results = tasks.return_result.apply_async(immediate=True).get() print &quot;Returned results: %s&quot; % returned_results"><pre class="notranslate"><code class="notranslate">if __name__ == '__main__': from failure import tasks returned_results = tasks.return_result.apply_async(immediate=True).get() print "Returned results: %s" % returned_results </code></pre></div> <p dir="auto">This call blocks on the .get() call and never returns the result.</p> <p dir="auto">testing/celeryconfig.py:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# List of modules to import when celery starts. CELERY_IMPORTS = ( &quot;failure.tasks&quot;, ) ## Result store settings. CELERY_RESULT_BACKEND = &quot;database&quot; CELERY_RESULT_DBURI = 'postgresql://user:password@db_host:5432/crose_saas_surveysystem' # override for testing #CELERY_RESULT_DBURI = &quot;sqlite:////tmp/celery.sqlite&quot; CELERY_DEFAULT_QUEUE = &quot;default&quot; CELERY_QUEUES = { &quot;default&quot;: { &quot;binding_key&quot;: &quot;task.#&quot;, }, } CELERY_DEFAULT_EXCHANGE = &quot;tasks&quot; CELERY_DEFAULT_EXCHANGE_TYPE = &quot;topic&quot; CELERY_DEFAULT_ROUTING_KEY = &quot;task.default&quot; CELERY_ROUTES = { } ## Broker settings. BROKER_HOST = 'localhost' BROKER_PORT = 5672 BROKER_VHOST = &quot;/&quot; BROKER_USER = &quot;guest&quot; BROKER_PASSWORD = &quot;guest&quot; ## Worker settings ## If you're doing mostly I/O you can have more processes, ## but if mostly spending CPU, try to keep it close to the ## number of CPUs on your machine. If not set, the number of CPUs/cores ## available will be used. CELERYD_CONCURRENCY = 10 # CELERYD_LOG_FILE = &quot;celeryd.log&quot; CELERYD_LOG_LEVEL = &quot;DEBUG&quot;"><pre class="notranslate"><code class="notranslate"># List of modules to import when celery starts. CELERY_IMPORTS = ( "failure.tasks", ) ## Result store settings. CELERY_RESULT_BACKEND = "database" CELERY_RESULT_DBURI = 'postgresql://user:password@db_host:5432/crose_saas_surveysystem' # override for testing #CELERY_RESULT_DBURI = "sqlite:////tmp/celery.sqlite" CELERY_DEFAULT_QUEUE = "default" CELERY_QUEUES = { "default": { "binding_key": "task.#", }, } CELERY_DEFAULT_EXCHANGE = "tasks" CELERY_DEFAULT_EXCHANGE_TYPE = "topic" CELERY_DEFAULT_ROUTING_KEY = "task.default" CELERY_ROUTES = { } ## Broker settings. BROKER_HOST = 'localhost' BROKER_PORT = 5672 BROKER_VHOST = "/" BROKER_USER = "guest" BROKER_PASSWORD = "guest" ## Worker settings ## If you're doing mostly I/O you can have more processes, ## but if mostly spending CPU, try to keep it close to the ## number of CPUs on your machine. If not set, the number of CPUs/cores ## available will be used. CELERYD_CONCURRENCY = 10 # CELERYD_LOG_FILE = "celeryd.log" CELERYD_LOG_LEVEL = "DEBUG" </code></pre></div> <p dir="auto">I'll attach the log file in a subsequent comment</p>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br> <a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br> on reporting bugs.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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"> 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 &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>:<br> <code class="notranslate">5.0.1 (singularity)</code></p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:5.0.1 (singularity) kombu:5.0.2 py:3.7.3 billiard:3.6.3.0 redis:3.5.3 platform -&gt; system:Linux arch:32bit, ELF kernel version:5.4.72+ imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:redis://localhost:6379/0 BROKER_URL: 'redis://localhost:6379/0' CELERY_RESULT_BACKEND: 'redis://localhost:6379/0' deprecated_settings: None ENV: 'production' DEBUG: False TESTING: False PROPAGATE_EXCEPTIONS: None PRESERVE_CONTEXT_ON_EXCEPTION: None SECRET_KEY: '********' PERMANENT_SESSION_LIFETIME: datetime.timedelta(days=31) USE_X_SENDFILE: False SERVER_NAME: None APPLICATION_ROOT: '/' SESSION_COOKIE_NAME: 'session' SESSION_COOKIE_DOMAIN: None SESSION_COOKIE_PATH: None SESSION_COOKIE_HTTPONLY: True SESSION_COOKIE_SECURE: False SESSION_COOKIE_SAMESITE: None SESSION_REFRESH_EACH_REQUEST: True MAX_CONTENT_LENGTH: None SEND_FILE_MAX_AGE_DEFAULT: datetime.timedelta(seconds=43200) TRAP_BAD_REQUEST_ERRORS: None TRAP_HTTP_EXCEPTIONS: False EXPLAIN_TEMPLATE_LOADING: False PREFERRED_URL_SCHEME: 'http' JSON_AS_ASCII: True JSON_SORT_KEYS: '********' JSONIFY_PRETTYPRINT_REGULAR: False JSONIFY_MIMETYPE: 'application/json' TEMPLATES_AUTO_RELOAD: None MAX_COOKIE_SIZE: 4093 CELERY_BROKER_URL: 'redis://localhost:6379/0' CELERY_TASK_TRACK_STARTED: True"><pre class="notranslate"><code class="notranslate">software -&gt; celery:5.0.1 (singularity) kombu:5.0.2 py:3.7.3 billiard:3.6.3.0 redis:3.5.3 platform -&gt; system:Linux arch:32bit, ELF kernel version:5.4.72+ imp:CPython loader -&gt; celery.loaders.app.AppLoader settings -&gt; transport:redis results:redis://localhost:6379/0 BROKER_URL: 'redis://localhost:6379/0' CELERY_RESULT_BACKEND: 'redis://localhost:6379/0' deprecated_settings: None ENV: 'production' DEBUG: False TESTING: False PROPAGATE_EXCEPTIONS: None PRESERVE_CONTEXT_ON_EXCEPTION: None SECRET_KEY: '********' PERMANENT_SESSION_LIFETIME: datetime.timedelta(days=31) USE_X_SENDFILE: False SERVER_NAME: None APPLICATION_ROOT: '/' SESSION_COOKIE_NAME: 'session' SESSION_COOKIE_DOMAIN: None SESSION_COOKIE_PATH: None SESSION_COOKIE_HTTPONLY: True SESSION_COOKIE_SECURE: False SESSION_COOKIE_SAMESITE: None SESSION_REFRESH_EACH_REQUEST: True MAX_CONTENT_LENGTH: None SEND_FILE_MAX_AGE_DEFAULT: datetime.timedelta(seconds=43200) TRAP_BAD_REQUEST_ERRORS: None TRAP_HTTP_EXCEPTIONS: False EXPLAIN_TEMPLATE_LOADING: False PREFERRED_URL_SCHEME: 'http' JSON_AS_ASCII: True JSON_SORT_KEYS: '********' JSONIFY_PRETTYPRINT_REGULAR: False JSONIFY_MIMETYPE: 'application/json' TEMPLATES_AUTO_RELOAD: None MAX_COOKIE_SIZE: 4093 CELERY_BROKER_URL: 'redis://localhost:6379/0' CELERY_TASK_TRACK_STARTED: True </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>: Python 3.7.3</li> <li><strong>Minimal Celery Version</strong>: 5.0.1 (singularity)</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: redis==3.5.3</li> <li><strong>Minimal Result Backend Version</strong>: redis==3.5.3</li> <li><strong>Minimal OS and/or Kernel Version</strong>: Raspbian GNU/Linux 10 (buster)</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.1 asn1crypto==0.24.0 billiard==3.6.3.0 cachelib==0.1.1 celery==5.0.1 certifi==2018.8.24 chardet==3.0.4 click==7.1.2 click-didyoumean==0.0.3 click-repl==0.1.6 configparser==5.0.1 cryptography==2.6.1 defusedxml==0.6.0 dominate==2.6.0 entrypoints==0.3 ExifReader==0.1.1 Flask==1.1.2 Flask-Bootstrap==3.3.7.1 Flask-Login==0.5.0 gphoto2==2.2.3 gunicorn==20.0.4 idna==2.6 importlib-metadata==2.0.0 itsdangerous==1.1.0 Jinja2==2.11.2 keyring==17.1.1 keyrings.alt==3.1.1 kombu==5.0.2 MarkupSafe==1.1.1 Pillow==8.0.1 prompt-toolkit==3.0.8 psutil==5.7.3 pycrypto==2.6.1 PyGObject==3.30.4 python-apt==1.8.4.1 pytz==2020.1 pyxdg==0.25 redis==3.5.3 requests==2.21.0 SecretStorage==2.3.1 six==1.12.0 smbus2==0.3.0 ssh-import-id==5.7 urllib3==1.24.1 vine==5.0.0 visitor==0.1.3 wcwidth==0.2.5 Werkzeug==1.0.1 zipp==3.4.0"><pre class="notranslate"><code class="notranslate">amqp==5.0.1 asn1crypto==0.24.0 billiard==3.6.3.0 cachelib==0.1.1 celery==5.0.1 certifi==2018.8.24 chardet==3.0.4 click==7.1.2 click-didyoumean==0.0.3 click-repl==0.1.6 configparser==5.0.1 cryptography==2.6.1 defusedxml==0.6.0 dominate==2.6.0 entrypoints==0.3 ExifReader==0.1.1 Flask==1.1.2 Flask-Bootstrap==3.3.7.1 Flask-Login==0.5.0 gphoto2==2.2.3 gunicorn==20.0.4 idna==2.6 importlib-metadata==2.0.0 itsdangerous==1.1.0 Jinja2==2.11.2 keyring==17.1.1 keyrings.alt==3.1.1 kombu==5.0.2 MarkupSafe==1.1.1 Pillow==8.0.1 prompt-toolkit==3.0.8 psutil==5.7.3 pycrypto==2.6.1 PyGObject==3.30.4 python-apt==1.8.4.1 pytz==2020.1 pyxdg==0.25 redis==3.5.3 requests==2.21.0 SecretStorage==2.3.1 six==1.12.0 smbus2==0.3.0 ssh-import-id==5.7 urllib3==1.24.1 vine==5.0.0 visitor==0.1.3 wcwidth==0.2.5 Werkzeug==1.0.1 zipp==3.4.0 </code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><p dir="auto">I'm adding Celery to my "intvlm8r" project running on a Pi, and my dev build against 4.4.7 runs great.</p> <p dir="auto">All my v5 builds fail. I'm daemonising celery using systemd, and all attempts to start the service fail with "Error: no such option: --logfile".</p> <p dir="auto">The celery files are all in <a href="https://github.com/greiginsydney/Intervalometerator/tree/celery-redis/Raspberry%20Pi">this branch of my repo</a>, all in the root of the RaspberryPi folder. (My install script moves them to their correct locations).</p> <p dir="auto">I've tried tweaking the config to get it to run, and it was only when I realised I was running 5.0.1 on one and 4.4.7 on the dev Pi that I did the comparison.</p> <p dir="auto">I'm installing Celery with <code class="notranslate">sudo pip3 install "celery[redis]"</code>, and when that pulls 5.0.1 we fail.</p> <p dir="auto">Re-image the card with Buster Lite, update, re-install with 'sudo pip3 install "celery[redis]"==4.4.7` it comes up cleanly every time.</p> <p dir="auto">celery.conf</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="d /var/run/celery 0755 pi www-data - d /var/log/celery 0755 pi www-data -"><pre class="notranslate"><span class="pl-s1">d</span> <span class="pl-c1">/</span><span class="pl-s1">var</span><span class="pl-c1">/</span><span class="pl-s1">run</span><span class="pl-c1">/</span><span class="pl-s1">celery</span> <span class="pl-c1">0755</span> <span class="pl-s1">pi</span> <span class="pl-s1">www</span><span class="pl-c1">-</span><span class="pl-s1">data</span> <span class="pl-c1">-</span> <span class="pl-s1">d</span> <span class="pl-c1">/</span><span class="pl-s1">var</span><span class="pl-c1">/</span><span class="pl-s1">log</span><span class="pl-c1">/</span><span class="pl-s1">celery</span> <span class="pl-c1">0755</span> <span class="pl-s1">pi</span> <span class="pl-s1">www</span><span class="pl-c1">-</span><span class="pl-s1">data</span> <span class="pl-c1">-</span></pre></div> <p dir="auto">celery</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ENABLED=&quot;true&quot; CELERYD_NODES=&quot;celery_worker&quot; # Where to chdir at start. CELERYD_CHDIR=&quot;/home/pi/www&quot; CELERYD_OPTS=&quot;--time-limit=300 --concurrency=8&quot; CELERY_APP=&quot;intvlm8r.celery&quot; # %n will be replaced with the nodename. CELERYD_LOG_FILE=&quot;/var/log/celery/%N.log&quot; CELERYD_PID_FILE=&quot;/var/run/celery/%N.pid&quot; CELERYD_LOG_LEVEL=&quot;INFO&quot; # Workers should run as an unprivileged user. CELERYD_USER=&quot;pi&quot; CELERYD_GROUP=&quot;www-data&quot; CELERY_CREATE_DIRS=1 CELERY_BIN=&quot;/usr/local/bin/celery&quot;"><pre class="notranslate"><span class="pl-v">ENABLED</span><span class="pl-c1">=</span><span class="pl-s">"true"</span> <span class="pl-v">CELERYD_NODES</span><span class="pl-c1">=</span><span class="pl-s">"celery_worker"</span> <span class="pl-c"># Where to chdir at start.</span> <span class="pl-v">CELERYD_CHDIR</span><span class="pl-c1">=</span><span class="pl-s">"/home/pi/www"</span> <span class="pl-v">CELERYD_OPTS</span><span class="pl-c1">=</span><span class="pl-s">"--time-limit=300 --concurrency=8"</span> <span class="pl-v">CELERY_APP</span><span class="pl-c1">=</span><span class="pl-s">"intvlm8r.celery"</span> <span class="pl-c"># %n will be replaced with the nodename.</span> <span class="pl-v">CELERYD_LOG_FILE</span><span class="pl-c1">=</span><span class="pl-s">"/var/log/celery/%N.log"</span> <span class="pl-v">CELERYD_PID_FILE</span><span class="pl-c1">=</span><span class="pl-s">"/var/run/celery/%N.pid"</span> <span class="pl-v">CELERYD_LOG_LEVEL</span><span class="pl-c1">=</span><span class="pl-s">"INFO"</span> <span class="pl-c"># Workers should run as an unprivileged user.</span> <span class="pl-v">CELERYD_USER</span><span class="pl-c1">=</span><span class="pl-s">"pi"</span> <span class="pl-v">CELERYD_GROUP</span><span class="pl-c1">=</span><span class="pl-s">"www-data"</span> <span class="pl-v">CELERY_CREATE_DIRS</span><span class="pl-c1">=</span><span class="pl-c1">1</span> <span class="pl-v">CELERY_BIN</span><span class="pl-c1">=</span><span class="pl-s">"/usr/local/bin/celery"</span></pre></div> <p dir="auto">celery.service</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[Unit] Description=Celery Service Requires=intvlm8r.service After=network.target intvlm8r.service [Service] Type=forking User=pi Group=www-data EnvironmentFile=/etc/default/celery WorkingDirectory=/home/pi/www ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} --logfile=${CELERYD_LOG_FILE} \ --loglevel=${CELERYD_LOG_LEVEL} multi start ${CELERYD_NODES} ${CELERYD_OPTS}' ExecStop=/bin/sh -c '${CELERY_BIN} stopwait ${CELERYD_NODES}' ExecReload=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} restart ${CELERYD_NODES} \ --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}' [Install] WantedBy=multi-user.target"><pre class="notranslate">[<span class="pl-v">Unit</span>] <span class="pl-v">Description</span><span class="pl-c1">=</span><span class="pl-v">Celery</span> <span class="pl-v">Service</span> <span class="pl-v">Requires</span><span class="pl-c1">=</span><span class="pl-s1">intvlm8r</span>.<span class="pl-s1">service</span> <span class="pl-v">After</span><span class="pl-c1">=</span><span class="pl-s1">network</span>.<span class="pl-s1">target</span> <span class="pl-s1">intvlm8r</span>.<span class="pl-s1">service</span> [<span class="pl-v">Service</span>] <span class="pl-v">Type</span><span class="pl-c1">=</span><span class="pl-s1">forking</span> <span class="pl-v">User</span><span class="pl-c1">=</span><span class="pl-s1">pi</span> <span class="pl-v">Group</span><span class="pl-c1">=</span><span class="pl-s1">www</span><span class="pl-c1">-</span><span class="pl-s1">data</span> <span class="pl-v">EnvironmentFile</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">etc</span><span class="pl-c1">/</span><span class="pl-s1">default</span><span class="pl-c1">/</span><span class="pl-s1">celery</span> <span class="pl-v">WorkingDirectory</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">pi</span><span class="pl-c1">/</span><span class="pl-s1">www</span> <span class="pl-v">ExecStart</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">bin</span><span class="pl-c1">/</span><span class="pl-s1">sh</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> <span class="pl-s">'${CELERY_BIN} -A ${CELERY_APP} --logfile=${CELERYD_LOG_FILE} <span class="pl-cce">\</span></span> <span class="pl-s"><span class="pl-cce"></span> --loglevel=${CELERYD_LOG_LEVEL} multi start ${CELERYD_NODES} ${CELERYD_OPTS}'</span> <span class="pl-v">ExecStop</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">bin</span><span class="pl-c1">/</span><span class="pl-s1">sh</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> <span class="pl-s">'${CELERY_BIN} stopwait ${CELERYD_NODES}'</span> <span class="pl-v">ExecReload</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">bin</span><span class="pl-c1">/</span><span class="pl-s1">sh</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> <span class="pl-s">'${CELERY_BIN} -A ${CELERY_APP} restart ${CELERYD_NODES} <span class="pl-cce">\</span></span> <span class="pl-s"><span class="pl-cce"></span> --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'</span> [<span class="pl-v">Install</span>] <span class="pl-v">WantedBy</span><span class="pl-c1">=</span><span class="pl-s1">multi</span><span class="pl-c1">-</span><span class="pl-s1">user</span>.<span class="pl-s1">target</span></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <p dir="auto">Celery will start without complaint.</p> <h1 dir="auto">Actual Behavior</h1> <p dir="auto">All attempts to start the service fail with "Error: no such option: --logfile".</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pi@ThursPiRC:~ $ sudo systemctl status celery ● celery.service - Celery Service Loaded: loaded (/etc/systemd/system/celery.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2020-10-30 17:03:45 AEDT; 18h ago Process: 402 ExecStart=/bin/sh -c ${CELERY_BIN} -A ${CELERY_APP} --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} multi start ${CELERYD_NODES} ${CELERYD_OPTS} (c Oct 30 17:03:23 ThursPiRC systemd[1]: Starting Celery Service... Oct 30 17:03:44 ThursPiRC sh[402]: Usage: celery [OPTIONS] COMMAND [ARGS]... Oct 30 17:03:44 ThursPiRC sh[402]: Try 'celery --help' for help. Oct 30 17:03:44 ThursPiRC sh[402]: Error: no such option: --logfile Oct 30 17:03:45 ThursPiRC systemd[1]: celery.service: Control process exited, code=exited, status=2/INVALIDARGUMENT Oct 30 17:03:45 ThursPiRC systemd[1]: celery.service: Failed with result 'exit-code'. Oct 30 17:03:45 ThursPiRC systemd[1]: Failed to start Celery Service."><pre class="notranslate"><span class="pl-s1">pi</span>@<span class="pl-v">ThursPiRC</span>:<span class="pl-c1">~</span> $ <span class="pl-s1">sudo</span> <span class="pl-s1">systemctl</span> <span class="pl-s1">status</span> <span class="pl-s1">celery</span> ● <span class="pl-s1">celery</span>.<span class="pl-s1">service</span> <span class="pl-c1">-</span> <span class="pl-v">Celery</span> <span class="pl-v">Service</span> <span class="pl-v">Loaded</span>: <span class="pl-s1">loaded</span> (<span class="pl-c1">/</span><span class="pl-s1">etc</span><span class="pl-c1">/</span><span class="pl-s1">systemd</span><span class="pl-c1">/</span><span class="pl-s1">system</span><span class="pl-c1">/</span><span class="pl-s1">celery</span>.<span class="pl-s1">service</span>; <span class="pl-s1">enabled</span>; <span class="pl-s1">vendor</span> <span class="pl-s1">preset</span>: <span class="pl-s1">enabled</span>) <span class="pl-v">Active</span>: <span class="pl-en">failed</span> (<span class="pl-v">Result</span>: <span class="pl-s1">exit</span><span class="pl-c1">-</span><span class="pl-s1">code</span>) <span class="pl-s1">since</span> <span class="pl-v">Fri</span> <span class="pl-c1">2020</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">45</span> <span class="pl-v">AEDT</span>; <span class="pl-c1">18</span><span class="pl-s1">h</span> <span class="pl-s1">ago</span> <span class="pl-v">Process</span>: <span class="pl-c1">402</span> <span class="pl-v">ExecStart</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">bin</span><span class="pl-c1">/</span><span class="pl-s1">sh</span> <span class="pl-c1">-</span><span class="pl-s1">c</span> ${<span class="pl-v">CELERY_BIN</span>} <span class="pl-c1">-</span><span class="pl-v">A</span> ${<span class="pl-v">CELERY_APP</span>} <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">logfile</span><span class="pl-c1">=</span>${<span class="pl-v">CELERYD_LOG_FILE</span>} <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">loglevel</span><span class="pl-c1">=</span>${<span class="pl-v">CELERYD_LOG_LEVEL</span>} <span class="pl-s1">multi</span> <span class="pl-s1">start</span> ${<span class="pl-v">CELERYD_NODES</span>} ${<span class="pl-v">CELERYD_OPTS</span>} (<span class="pl-s1">c</span> <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">23</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-v">Starting</span> <span class="pl-v">Celery</span> <span class="pl-v">Service</span>... <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">44</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">402</span>]: <span class="pl-v">Usage</span>: <span class="pl-s1">celery</span> [<span class="pl-v">OPTIONS</span>] <span class="pl-v">COMMAND</span> [<span class="pl-v">ARGS</span>]... <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">44</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">402</span>]: <span class="pl-v">Try</span> <span class="pl-s">'celery --help'</span> <span class="pl-k">for</span> <span class="pl-s1">help</span>. <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">44</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">402</span>]: <span class="pl-v">Error</span>: <span class="pl-s1">no</span> <span class="pl-s1">such</span> <span class="pl-s1">option</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">logfile</span> <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">45</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-s1">celery</span>.<span class="pl-s1">service</span>: <span class="pl-v">Control</span> <span class="pl-s1">process</span> <span class="pl-s1">exited</span>, <span class="pl-s1">code</span><span class="pl-c1">=</span><span class="pl-s1">exited</span>, <span class="pl-s1">status</span><span class="pl-c1">=</span><span class="pl-c1">2</span><span class="pl-c1">/</span><span class="pl-v">INVALIDARGUMENT</span> <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">45</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-s1">celery</span>.<span class="pl-s1">service</span>: <span class="pl-v">Failed</span> <span class="pl-s1">with</span> <span class="pl-s1">result</span> <span class="pl-s">'exit-code'</span>. <span class="pl-v">Oct</span> <span class="pl-c1">30</span> <span class="pl-c1">17</span>:<span class="pl-c1">03</span>:<span class="pl-c1">45</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-v">Failed</span> <span class="pl-s1">to</span> <span class="pl-s1">start</span> <span class="pl-v">Celery</span> <span class="pl-v">Service</span>.</pre></div> <p dir="auto">journalctl -xn</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="-- Logs begin at Sat 2020-10-31 11:29:33 AEDT, end at Mon 2020-11-02 19:32:31 AEDT. -- Nov 02 19:32:26 ThursPiRC sh[675]: Usage: celery [OPTIONS] COMMAND [ARGS]... Nov 02 19:32:26 ThursPiRC sh[675]: Try 'celery --help' for help. Nov 02 19:32:26 ThursPiRC sh[675]: Error: no such option: --logfile Nov 02 19:32:27 ThursPiRC systemd[1]: celery.service: Control process exited, code=exited, status=2/INVALIDARGUMENT -- Subject: Unit process exited -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- An ExecStart= process belonging to unit celery.service has exited. -- -- The process' exit code is 'exited' and its exit status is 2. Nov 02 19:32:27 ThursPiRC systemd[1]: celery.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- The unit celery.service has entered the 'failed' state with result 'exit-code'. Nov 02 19:32:27 ThursPiRC systemd[1]: Failed to start Celery Service. -- Subject: A start job for unit celery.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- A start job for unit celery.service has finished with a failure. -- -- The job identifier is 660 and the job result is failed. Nov 02 19:32:27 ThursPiRC sudo[672]: pam_unix(sudo:session): session closed for user root Nov 02 19:32:30 ThursPiRC sudo[679]: pi : TTY=pts/0 ; PWD=/home/pi/www ; USER=root ; COMMAND=/bin/systemctl status celery Nov 02 19:32:30 ThursPiRC sudo[679]: pam_unix(sudo:session): session opened for user root by pi(uid=0) Nov 02 19:32:31 ThursPiRC sudo[679]: pam_unix(sudo:session): session closed for user root"><pre class="notranslate"><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Logs</span> <span class="pl-s1">begin</span> <span class="pl-s1">at</span> <span class="pl-v">Sat</span> <span class="pl-c1">2020</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">31</span> <span class="pl-c1">11</span>:<span class="pl-c1">29</span>:<span class="pl-c1">33</span> <span class="pl-v">AEDT</span>, <span class="pl-s1">end</span> <span class="pl-s1">at</span> <span class="pl-v">Mon</span> <span class="pl-c1">2020</span><span class="pl-c1">-</span><span class="pl-c1">11</span><span class="pl-c1">-</span><span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">31</span> <span class="pl-v">AEDT</span>. <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">26</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">675</span>]: <span class="pl-v">Usage</span>: <span class="pl-s1">celery</span> [<span class="pl-v">OPTIONS</span>] <span class="pl-v">COMMAND</span> [<span class="pl-v">ARGS</span>]... <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">26</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">675</span>]: <span class="pl-v">Try</span> <span class="pl-s">'celery --help'</span> <span class="pl-s1">for</span> <span class="pl-s1">help</span>. <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">26</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sh</span>[<span class="pl-c1">675</span>]: <span class="pl-v">Error</span>: <span class="pl-s1">no</span> <span class="pl-s1">such</span> <span class="pl-s1">option</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-s1">logfile</span> <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">27</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-s1">celery</span>.<span class="pl-s1">service</span>: <span class="pl-v">Control</span> <span class="pl-s1">process</span> <span class="pl-s1">exited</span>, <span class="pl-s1">code</span><span class="pl-c1">=</span><span class="pl-s1">exited</span>, <span class="pl-s1">status</span><span class="pl-c1">=</span><span class="pl-c1">2</span><span class="pl-c1">/</span><span class="pl-v">INVALIDARGUMENT</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Subject</span>: <span class="pl-v">Unit</span> <span class="pl-s1">process</span> <span class="pl-s1">exited</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Defined</span><span class="pl-c1">-</span><span class="pl-v">By</span>: <span class="pl-s1">systemd</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Support</span>: <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">www</span>.<span class="pl-s1">debian</span>.<span class="pl-s1">org</span><span class="pl-c1">/</span><span class="pl-s1">support</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">An</span> <span class="pl-v">ExecStart</span><span class="pl-c1">=</span> <span class="pl-s1">process</span> <span class="pl-s1">belonging</span> <span class="pl-s1">to</span> <span class="pl-s1">unit</span> <span class="pl-s1">celery</span>.<span class="pl-s1">service</span> <span class="pl-s1">has</span> <span class="pl-s1">exited</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">The</span> <span class="pl-s1">process</span><span class="pl-s">' exit code is '</span><span class="pl-s1">exited</span>' <span class="pl-s1">and</span> <span class="pl-s1">its</span> <span class="pl-s1">exit</span> <span class="pl-s1">status</span> <span class="pl-c1">is</span> <span class="pl-c1">2.</span> <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">27</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-s1">celery</span>.<span class="pl-s1">service</span>: <span class="pl-v">Failed</span> <span class="pl-s1">with</span> <span class="pl-s1">result</span> <span class="pl-s">'exit-code'</span>. <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Subject</span>: <span class="pl-v">Unit</span> <span class="pl-s1">failed</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Defined</span><span class="pl-c1">-</span><span class="pl-v">By</span>: <span class="pl-s1">systemd</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Support</span>: <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">www</span>.<span class="pl-s1">debian</span>.<span class="pl-s1">org</span><span class="pl-c1">/</span><span class="pl-s1">support</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">The</span> <span class="pl-s1">unit</span> <span class="pl-s1">celery</span>.<span class="pl-s1">service</span> <span class="pl-s1">has</span> <span class="pl-s1">entered</span> <span class="pl-s1">the</span> <span class="pl-s">'failed'</span> <span class="pl-s1">state</span> <span class="pl-k">with</span> <span class="pl-s1">result</span> <span class="pl-s">'exit-code'</span>. <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">27</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">systemd</span>[<span class="pl-c1">1</span>]: <span class="pl-v">Failed</span> <span class="pl-s1">to</span> <span class="pl-s1">start</span> <span class="pl-v">Celery</span> <span class="pl-v">Service</span>. <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Subject</span>: <span class="pl-v">A</span> <span class="pl-s1">start</span> <span class="pl-s1">job</span> <span class="pl-k">for</span> <span class="pl-s1">unit</span> <span class="pl-s1">celery</span>.<span class="pl-s1">service</span> <span class="pl-s1">has</span> <span class="pl-s1">failed</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Defined</span><span class="pl-c1">-</span><span class="pl-v">By</span>: <span class="pl-s1">systemd</span> <span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-v">Support</span>: <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">www</span>.<span class="pl-s1">debian</span>.<span class="pl-s1">org</span><span class="pl-c1">/</span><span class="pl-s1">support</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">A</span> <span class="pl-s1">start</span> <span class="pl-s1">job</span> <span class="pl-s1">for</span> <span class="pl-s1">unit</span> <span class="pl-s1">celery</span>.<span class="pl-s1">service</span> <span class="pl-s1">has</span> <span class="pl-s1">finished</span> <span class="pl-s1">with</span> <span class="pl-s1">a</span> <span class="pl-s1">failure</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">The</span> <span class="pl-s1">job</span> <span class="pl-s1">identifier</span> <span class="pl-c1">is</span> <span class="pl-c1">660</span> <span class="pl-c1">and</span> <span class="pl-s1">the</span> <span class="pl-s1">job</span> <span class="pl-s1">result</span> <span class="pl-c1">is</span> <span class="pl-s1">failed</span>. <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">27</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sudo</span>[<span class="pl-c1">672</span>]: <span class="pl-en">pam_unix</span>(<span class="pl-s1">sudo</span>:<span class="pl-s1">session</span>): <span class="pl-s1">session</span> <span class="pl-s1">closed</span> <span class="pl-k">for</span> <span class="pl-s1">user</span> <span class="pl-s1">root</span> <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">30</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sudo</span>[<span class="pl-c1">679</span>]: <span class="pl-s1">pi</span> : <span class="pl-v">TTY</span><span class="pl-c1">=</span><span class="pl-s1">pts</span><span class="pl-c1">/</span><span class="pl-c1">0</span> ; <span class="pl-v">PWD</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">pi</span><span class="pl-c1">/</span><span class="pl-s1">www</span> ; <span class="pl-v">USER</span><span class="pl-c1">=</span><span class="pl-s1">root</span> ; <span class="pl-v">COMMAND</span><span class="pl-c1">=</span><span class="pl-c1">/</span><span class="pl-s1">bin</span><span class="pl-c1">/</span><span class="pl-s1">systemctl</span> <span class="pl-s1">status</span> <span class="pl-s1">celery</span> <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">30</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sudo</span>[<span class="pl-c1">679</span>]: <span class="pl-en">pam_unix</span>(<span class="pl-s1">sudo</span>:<span class="pl-s1">session</span>): <span class="pl-s1">session</span> <span class="pl-s1">opened</span> <span class="pl-k">for</span> <span class="pl-s1">user</span> <span class="pl-s1">root</span> <span class="pl-s1">by</span> <span class="pl-en">pi</span>(<span class="pl-s1">uid</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-v">Nov</span> <span class="pl-c1">02</span> <span class="pl-c1">19</span>:<span class="pl-c1">32</span>:<span class="pl-c1">31</span> <span class="pl-v">ThursPiRC</span> <span class="pl-s1">sudo</span>[<span class="pl-c1">679</span>]: <span class="pl-en">pam_unix</span>(<span class="pl-s1">sudo</span>:<span class="pl-s1">session</span>): <span class="pl-s1">session</span> <span class="pl-s1">closed</span> <span class="pl-k">for</span> <span class="pl-s1">user</span> <span class="pl-s1">root</span></pre></div> <p dir="auto">Please let me know if any other files will help.</p> <p dir="auto">Thanks,</p> <p dir="auto">- Greig.</p>
0
<p dir="auto">101 ➜ rustc test.rs<br> error: internal compiler error: Where clause <code class="notranslate">Binder(TraitRef(&lt;&lt;T as core::ops::Mul&gt;::Output as core::ops::Add&gt;::Output, core::ops::Add))</code> was applicable to <code class="notranslate">Obligation(predicate=Binder(TraitPredicate(TraitRef(&lt;T as core::ops::Mul&gt;::Output, core::ops::Add))),depth=62)</code> but now is not<br> note: the compiler unexpectedly panicked. this is a bug.<br> note: we would appreciate a bug report: <a href="http://doc.rust-lang.org/complement-bugreport.html" rel="nofollow">http://doc.rust-lang.org/complement-bugreport.html</a><br> note: run with <code class="notranslate">RUST_BACKTRACE=1</code> for a backtrace<br> thread 'rustc' panicked at 'Box', /build/buildd/rust-nightly-201501220410<del><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/6869645e86c91544b8737b89809bdf10bef536d9/hovercard" href="https://github.com/rust-lang/rust/commit/6869645e86c91544b8737b89809bdf10bef536d9"><tt>6869645</tt></a></del>utopic/src/libsyntax/diagnostic.rs:185</p> <p dir="auto">Minimal reproducing example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std::num::ToPrimitive; use std::ops::{Add, Mul}; use std::clone::Clone; #[derive(Clone, Show)] pub struct Vec3&lt;T&gt; { pub x: T, } impl&lt;T: Mul&gt; Vec3&lt;T&gt; where &lt;T as Mul&gt;::Output: Add, &lt;&lt;T as Mul&gt;::Output as Add&gt;::Output: Add { pub fn new(x: T) -&gt; Vec3&lt;T&gt; { Vec3 {x: x} } } fn main() { println!(&quot;{}&quot;, Vec3{x: 1u8}); }"><pre class="notranslate"><code class="notranslate">use std::num::ToPrimitive; use std::ops::{Add, Mul}; use std::clone::Clone; #[derive(Clone, Show)] pub struct Vec3&lt;T&gt; { pub x: T, } impl&lt;T: Mul&gt; Vec3&lt;T&gt; where &lt;T as Mul&gt;::Output: Add, &lt;&lt;T as Mul&gt;::Output as Add&gt;::Output: Add { pub fn new(x: T) -&gt; Vec3&lt;T&gt; { Vec3 {x: x} } } fn main() { println!("{}", Vec3{x: 1u8}); } </code></pre></div>
<p dir="auto">Got another ICE after updating to the latest nightly to make sure the earlier one was not fixed. Seems to be related to the blanket impl.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub trait Parser { type Input; fn parse(input: &lt;Self as Parser&gt;::Input) { panic!() } } impl &lt;P&gt; Parser for P { type Input = (); } fn main() { }"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">trait</span> <span class="pl-smi">Parser</span> <span class="pl-kos">{</span> <span class="pl-k">type</span> <span class="pl-smi">Input</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s1">input</span><span class="pl-kos">:</span> &lt;<span class="pl-smi">Self</span> <span class="pl-k">as</span> <span class="pl-smi">Parser</span>&gt;<span class="pl-kos">::</span><span class="pl-smi">Input</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">panic</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">impl</span> <span class="pl-kos">&lt;</span><span class="pl-smi">P</span><span class="pl-kos">&gt;</span> <span class="pl-smi">Parser</span> <span class="pl-k">for</span> <span class="pl-smi">P</span> <span class="pl-kos">{</span> <span class="pl-k">type</span> <span class="pl-smi">Input</span> = <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Part of the backtrace (note that it is over a 1000 frames deep):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="` 1054: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1055: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1056: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1057: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1058: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1059: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1060: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1061: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1062: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1063: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1064: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1065: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1066: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1067: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1068: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1069: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1070: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1071: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1072: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1073: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1074: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1075: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1076: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1077: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1078: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1079: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1080: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1081: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1082: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1083: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1084: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1085: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1086: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1087: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1088: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1089: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1090: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1091: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1092: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1093: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1094: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1095: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1096: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1097: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1098: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1099: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1100: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1101: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1102: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1103: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1104: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1105: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1106: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1107: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1108: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1109: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1110: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1111: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1112: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1113: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1114: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1115: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1116: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1117: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1118: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1119: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1120: 0x6d516800 - check::LvaluePreference...std..fmt..Show::fmt::h5272dbd85814d21eQwm 1121: 0x6d563ca0 - check::CheckItemTypesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_ty::hf7b2769fbb00c197C2j 1122: 0x6d567519 - check::GatherLocalsVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::h78f3f91a65a28633zek 1123: 0x6d55ea2a - check::CheckItemTypesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::h7e39ae7a460329b5f2j 1124: 0x6d623ae0 - check_crate::h33c0c907222d09c6ney 1125: 0x6d61eb73 - check_crate::h33c0c907222d09c6ney 1126: 0x70b1842b - driver::phase_3_run_analysis_passes::hc9c3dcc21180760aEEa 1127: 0x70b02471 - driver::compile_input::h4586659868b7e370Aba 1128: 0x70bc0717 - run::h6e0f5d9a92373b23M4b 1129: 0x70bbea98 - run::h6e0f5d9a92373b23M4b 1130: 0x70bbd91a - run::h6e0f5d9a92373b23M4b 1131: 0x69c28a8c - rust_try 1132: 0x69c28a69 - rust_try 1133: 0x70bbdf4f - run::h6e0f5d9a92373b23M4b 1134: 0x69bf0e92 - sys::tcp::TcpListener::bind::hfa20d1671f8885a2JHw 1135: 0x7ffb10d216ad - BaseThreadInitThunk"><pre class="notranslate"><code class="notranslate">` 1054: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1055: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1056: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1057: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1058: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1059: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1060: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1061: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1062: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1063: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1064: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1065: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1066: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1067: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1068: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1069: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1070: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1071: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1072: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1073: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1074: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1075: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1076: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1077: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1078: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1079: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1080: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1081: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1082: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1083: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1084: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1085: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1086: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1087: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1088: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1089: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1090: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1091: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1092: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1093: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1094: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1095: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1096: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1097: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1098: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1099: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1100: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1101: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1102: 0x78239b - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1103: 0x7822d5 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1104: 0x7820d1 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1105: 0x781e01 - middle::ty::TraitRef&lt;'tcx&gt;...std..clone..Clone::clone::hf0f9884211fa7560b81 1106: 0x7a0107 - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1107: 0x7c2ce8 - middle::traits::util::upcast::hcb3b96bdfce84abdWDU 1108: 0x7c145b - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1109: 0x7c131c - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1110: 0x7c0f31 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1111: 0x7c11ed - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1112: 0x7c10b8 - middle::traits::util::transitive_bounds::hc34e0d738f285867ewU 1113: 0x7bd3ee - middle::traits::select::SelectionCandidate&lt;'tcx&gt;.Repr&lt;'tcx&gt;::repr::ha7bc649c48dd119duhU 1114: 0x7af481 - middle::ty::TraitPredicate&lt;'tcx&gt;.RegionEscape::has_regions_escaping_depth::h93030630e46b9a81cXa 1115: 0x797d9a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::select::ha331b95dc7b562dcevR 1116: 0x7a0f6e - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1117: 0x79f46f - middle::traits::project::MismatchedProjectionTypes&lt;'tcx&gt;...std..clone..Clone::clone::hd0e53daa7f8cb8b84VP 1118: 0x79032a - middle::traits::select::SelectionContext&lt;'cx, 'tcx&gt;::new::h2fee7754856485f2DtR 1119: 0x7827d2 - middle::traits::project::AssociatedTypeNormalizer&lt;'a, 'b, 'tcx&gt;.TypeFolder&lt;'tcx&gt;::fold_ty::h433ad154c5bfc06ex8P 1120: 0x6d516800 - check::LvaluePreference...std..fmt..Show::fmt::h5272dbd85814d21eQwm 1121: 0x6d563ca0 - check::CheckItemTypesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_ty::hf7b2769fbb00c197C2j 1122: 0x6d567519 - check::GatherLocalsVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::h78f3f91a65a28633zek 1123: 0x6d55ea2a - check::CheckItemTypesVisitor&lt;'a, 'tcx&gt;.Visitor&lt;'v&gt;::visit_item::h7e39ae7a460329b5f2j 1124: 0x6d623ae0 - check_crate::h33c0c907222d09c6ney 1125: 0x6d61eb73 - check_crate::h33c0c907222d09c6ney 1126: 0x70b1842b - driver::phase_3_run_analysis_passes::hc9c3dcc21180760aEEa 1127: 0x70b02471 - driver::compile_input::h4586659868b7e370Aba 1128: 0x70bc0717 - run::h6e0f5d9a92373b23M4b 1129: 0x70bbea98 - run::h6e0f5d9a92373b23M4b 1130: 0x70bbd91a - run::h6e0f5d9a92373b23M4b 1131: 0x69c28a8c - rust_try 1132: 0x69c28a69 - rust_try 1133: 0x70bbdf4f - run::h6e0f5d9a92373b23M4b 1134: 0x69bf0e92 - sys::tcp::TcpListener::bind::hfa20d1671f8885a2JHw 1135: 0x7ffb10d216ad - BaseThreadInitThunk </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-nightly (170c4399e 2015-01-14 00:41:55 +0000) binary: rustc commit-hash: 170c4399e614fe599c3d41306b3429ca8b3b68c6 commit-date: 2015-01-14 00:41:55 +0000 host: x86_64-pc-windows-gnu release: 1.0.0-nightly"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-nightly (170c4399e 2015-01-14 00:41:55 +0000) binary: rustc commit-hash: 170c4399e614fe599c3d41306b3429ca8b3b68c6 commit-date: 2015-01-14 00:41:55 +0000 host: x86_64-pc-windows-gnu release: 1.0.0-nightly </code></pre></div>
1
<p dir="auto">I created policy.jsonl</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{&quot;user&quot;:&quot;alice&quot;, &quot;namespace&quot;: &quot;projectCaribou&quot;}"><pre class="notranslate"><code class="notranslate">{"user":"alice", "namespace": "projectCaribou"} </code></pre></div> <p dir="auto">And I tried to get pods by kubectl.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl get po --username=alice --password=password --server=https://localhost:6443 --insecure-skip-tls-verify=true error: couldn't read version from server: the server does not allow access to the requested resource"><pre class="notranslate"><code class="notranslate">$ kubectl get po --username=alice --password=password --server=https://localhost:6443 --insecure-skip-tls-verify=true error: couldn't read version from server: the server does not allow access to the requested resource </code></pre></div> <p dir="auto">At first, kubectl seems to access <a href="https://localhost:6443/api/" rel="nofollow">https://localhost:6443/api/</a> and fail because the "alice" can only have access on <a href="https://localhost:6443/api/v1/namespaces/projectCaribou" rel="nofollow">https://localhost:6443/api/v1/namespaces/projectCaribou</a>.</p>
<h3 dir="auto">what I have</h3> <p dir="auto"><em>kube cluster version:</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./kube-apiserver --version Kubernetes v1.0.0-1057-ged9975b0310eaf"><pre class="notranslate"><code class="notranslate">./kube-apiserver --version Kubernetes v1.0.0-1057-ged9975b0310eaf </code></pre></div> <p dir="auto"><em>auth_policy.json:</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{&quot;user&quot;:&quot;admin&quot;} {&quot;user&quot;:&quot;monitoring&quot;, &quot;readonly&quot;: true} {&quot;user&quot;:&quot;scheduler&quot;, &quot;readonly&quot;: true, &quot;resource&quot;: &quot;pods&quot;} {&quot;user&quot;:&quot;scheduler&quot;, &quot;resource&quot;: &quot;bindings&quot;} {&quot;user&quot;:&quot;kubelet&quot;, &quot;readonly&quot;: true, &quot;resource&quot;: &quot;pods&quot;} {&quot;user&quot;:&quot;kubelet&quot;, &quot;readonly&quot;: true, &quot;resource&quot;: &quot;services&quot;} {&quot;user&quot;:&quot;kubelet&quot;, &quot;readonly&quot;: true, &quot;resource&quot;: &quot;endpoints&quot;} {&quot;user&quot;:&quot;kubelet&quot;, &quot;resource&quot;: &quot;events&quot;} {&quot;user&quot;:&quot;discover&quot;, &quot;ns&quot;: &quot;discover&quot;}"><pre class="notranslate"><code class="notranslate">{"user":"admin"} {"user":"monitoring", "readonly": true} {"user":"scheduler", "readonly": true, "resource": "pods"} {"user":"scheduler", "resource": "bindings"} {"user":"kubelet", "readonly": true, "resource": "pods"} {"user":"kubelet", "readonly": true, "resource": "services"} {"user":"kubelet", "readonly": true, "resource": "endpoints"} {"user":"kubelet", "resource": "events"} {"user":"discover", "ns": "discover"} </code></pre></div> <p dir="auto"><em>kube-apiserver startup parameteres:</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/local/bin/kube-apiserver --address=0.0.0.0 --admission_control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota --service-cluster-ip-range=10.116.0.0/23 --client_ca_file=/srv/kubernetes/ca.crt --basic_auth_file=/srv/kubernetes/basic_auth.csv --authorization-mode=ABAC --authorization-policy-file=/srv/kubernetes/auth_policy.json --tls_cert_file=/srv/kubernetes/server.cert --tls_private_key_file=/srv/kubernetes/server.key --secure_port=6443 --token_auth_file=/srv/kubernetes/known_tokens.csv --v=2 --cors_allowed_origins=.* --etcd-config=/etc/kubernetes/etcd.config --allow_privileged=False"><pre class="notranslate"><code class="notranslate">/usr/local/bin/kube-apiserver --address=0.0.0.0 --admission_control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota --service-cluster-ip-range=10.116.0.0/23 --client_ca_file=/srv/kubernetes/ca.crt --basic_auth_file=/srv/kubernetes/basic_auth.csv --authorization-mode=ABAC --authorization-policy-file=/srv/kubernetes/auth_policy.json --tls_cert_file=/srv/kubernetes/server.cert --tls_private_key_file=/srv/kubernetes/server.key --secure_port=6443 --token_auth_file=/srv/kubernetes/known_tokens.csv --v=2 --cors_allowed_origins=.* --etcd-config=/etc/kubernetes/etcd.config --allow_privileged=False </code></pre></div> <p dir="auto"><em>token authorization in known_tokens.csv</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ,discover,discover"><pre class="notranslate"><code class="notranslate">72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ,discover,discover </code></pre></div> <p dir="auto">_kubeconfig for kubectl: cat .kube/config _</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1 clusters: - cluster: insecure-skip-tls-verify: true server: &quot;https://10.116.0.1&quot; name: local contexts: - context: cluster: local user: discover namespace: discover name: discover current-context: discover kind: Config preferences: {} users: - name: discover user: token: 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ"><pre class="notranslate"><code class="notranslate">apiVersion: v1 clusters: - cluster: insecure-skip-tls-verify: true server: "https://10.116.0.1" name: local contexts: - context: cluster: local user: discover namespace: discover name: discover current-context: discover kind: Config preferences: {} users: - name: discover user: token: 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ </code></pre></div> <h3 dir="auto">what I do</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubectl get namespaces NAME LABELS STATUS default &lt;none&gt; Active infra &lt;none&gt; Active kube-system &lt;none&gt; Active objects &lt;none&gt; Active ~$ kubectl --namespace=infra get rc CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS docker-registry-v1 docker-registry registry:2.0.0 k8s-app=docker-registry,version=v1 1 zabbix-proxy-v1 zabbix-proxy otechlabs/zabbix_proxy k8s-app=zabbix-proxy,version=v1 1 ~$ kubectl --namespace=infra get po NAME READY STATUS RESTARTS AGE docker-registry-v1-u7nvo 0/1 Pending 0 20m zabbix-proxy-v1-xnsep 0/1 Pending 0 20m ~$ kubectl --namespace=infra delete po zabbix-proxy-v1-xnsep pod &quot;zabbix-proxy-v1-xnsep&quot; deleted ~$ kubectl --namespace=infra get po NAME READY STATUS RESTARTS AGE docker-registry-v1-u7nvo 0/1 Pending 0 21m zabbix-proxy-v1-pavzv 0/1 Pending 0 -30s ~$ kubectl --v=10 --namespace=infra get rc I0731 21:14:46.401721 257 debugging.go:101] curl -k -v -XGET -H &quot;User-Agent: kubectl/v1.0.0 (linux/amd64) kubernetes/ed9975b&quot; -H &quot;Authorization: Bearer 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ&quot; https://10.116.0.1/api I0731 21:14:46.468688 257 debugging.go:120] GET https://10.116.0.1/api 200 OK in 66 milliseconds I0731 21:14:46.468724 257 debugging.go:126] Response Headers: I0731 21:14:46.468736 257 debugging.go:129] Content-Type: application/json I0731 21:14:46.468748 257 debugging.go:129] Date: Fri, 31 Jul 2015 21:15:42 GMT I0731 21:14:46.468759 257 debugging.go:129] Content-Length: 32 I0731 21:14:46.468792 257 request.go:748] Response Body: { &quot;versions&quot;: [ &quot;v1&quot; ] } I0731 21:14:46.469095 257 debugging.go:101] curl -k -v -XGET -H &quot;User-Agent: kubectl/v1.0.0 (linux/amd64) kubernetes/ed9975b&quot; -H &quot;Authorization: Bearer 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ&quot; https://10.116.0.1/api/v1/namespaces/infra/replicationcontrollers I0731 21:14:46.530797 257 debugging.go:120] GET https://10.116.0.1/api/v1/namespaces/infra/replicationcontrollers 200 OK in 61 milliseconds I0731 21:14:46.530831 257 debugging.go:126] Response Headers: I0731 21:14:46.530844 257 debugging.go:129] Content-Type: application/json I0731 21:14:46.530856 257 debugging.go:129] Date: Fri, 31 Jul 2015 21:15:42 GMT I0731 21:14:46.530912 257 request.go:748] Response Body: {&quot;kind&quot;:&quot;ReplicationControllerList&quot;,&quot;apiVersion&quot;:&quot;v1&quot;,&quot;metadata&quot;:{&quot;selfLink&quot;:&quot;/api/v1/namespaces/infra/replicationcontrollers&quot;,&quot;resourceVersion&quot;:&quot;10119186&quot;},&quot;items&quot;:[{&quot;metadata&quot;:{&quot;name&quot;:&quot;docker-registry-v1&quot;,&quot;namespace&quot;:&quot;infra&quot;,&quot;selfLink&quot;:&quot;/api/v1/namespaces/infra/replicationcontrollers/docker-registry-v1&quot;,&quot;uid&quot;:&quot;51b1c5f1-1fd3-11e5-a2d1-b083fec18c38&quot;,&quot;resourceVersion&quot;:&quot;10109207&quot;,&quot;creationTimestamp&quot;:&quot;2015-07-01T09:26:57Z&quot;,&quot;labels&quot;:{&quot;k8s-app&quot;:&quot;docker-registry-v1&quot;,&quot;sc01p-service&quot;:&quot;true&quot;}},&quot;spec&quot;:{&quot;replicas&quot;:1,&quot;selector&quot;:{&quot;k8s-app&quot;:&quot;docker-registry&quot;,&quot;version&quot;:&quot;v1&quot;},&quot;template&quot;:{&quot;metadata&quot;:{&quot;creationTimestamp&quot;:null,&quot;labels&quot;:{&quot;k8s-app&quot;:&quot;docker-registry&quot;,&quot;sc01p-service&quot;:&quot;true&quot;,&quot;version&quot;:&quot;v1&quot;}},&quot;spec&quot;:{&quot;volumes&quot;:[{&quot;name&quot;:&quot;docker-images-storage&quot;,&quot;hostPath&quot;:{&quot;path&quot;:&quot;/var/persistent_data/infra/docker-registry&quot;}}],&quot;containers&quot;:[{&quot;name&quot;:&quot;docker-registry&quot;,&quot;image&quot;:&quot;registry:2.0.0&quot;,&quot;ports&quot;:[{&quot;name&quot;:&quot;docker-registry&quot;,&quot;containerPort&quot;:5000,&quot;protocol&quot;:&quot;TCP&quot;}],&quot;env&quot;:[{&quot;name&quot;:&quot;REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY&quot;,&quot;value&quot;:&quot;/var/lib/registry&quot;}],&quot;resources&quot;:{},&quot;volumeMounts&quot;:[{&quot;name&quot;:&quot;docker-images-storage&quot;,&quot;mountPath&quot;:&quot;/var/lib/registry&quot;}],&quot;livenessProbe&quot;:{&quot;tcpSocket&quot;:{&quot;port&quot;:5000},&quot;initialDelaySeconds&quot;:30,&quot;timeoutSeconds&quot;:5},&quot;terminationMessagePath&quot;:&quot;/dev/termination-log&quot;,&quot;imagePullPolicy&quot;:&quot;IfNotPresent&quot;}],&quot;restartPolicy&quot;:&quot;Always&quot;,&quot;dnsPolicy&quot;:&quot;Default&quot;,&quot;nodeSelector&quot;:{&quot;zone&quot;:&quot;common&quot;}}}},&quot;status&quot;:{&quot;replicas&quot;:1}},{&quot;metadata&quot;:{&quot;name&quot;:&quot;zabbix-proxy-v1&quot;,&quot;namespace&quot;:&quot;infra&quot;,&quot;selfLink&quot;:&quot;/api/v1/namespaces/infra/replicationcontrollers/zabbix-proxy-v1&quot;,&quot;uid&quot;:&quot;0f383d9a-1fcb-11e5-a2d1-b083fec18c38&quot;,&quot;resourceVersion&quot;:&quot;10116339&quot;,&quot;creationTimestamp&quot;:&quot;2015-07-01T08:27:49Z&quot;,&quot;labels&quot;:{&quot;k8s-app&quot;:&quot;zabbix-proxy-v1&quot;,&quot;sc01p-service&quot;:&quot;true&quot;}},&quot;spec&quot;:{&quot;replicas&quot;:1,&quot;selector&quot;:{&quot;k8s-app&quot;:&quot;zabbix-proxy&quot;,&quot;version&quot;:&quot;v1&quot;},&quot;template&quot;:{&quot;metadata&quot;:{&quot;creationTimestamp&quot;:null,&quot;labels&quot;:{&quot;k8s-app&quot;:&quot;zabbix-proxy&quot;,&quot;sc01p-service&quot;:&quot;true&quot;,&quot;version&quot;:&quot;v1&quot;}},&quot;spec&quot;:{&quot;volumes&quot;:[{&quot;name&quot;:&quot;zabbix-proxy-config&quot;,&quot;secret&quot;:{&quot;secretName&quot;:&quot;zabbix-proxy-config&quot;}}],&quot;containers&quot;:[{&quot;name&quot;:&quot;zabbix-proxy&quot;,&quot;image&quot;:&quot;otechlabs/zabbix_proxy&quot;,&quot;args&quot;:[&quot;/usr/local/bin/bg2fg&quot;,&quot;-c&quot;,&quot;/usr/sbin/zabbix_proxy -c /opt/zabbix/zabbix-proxy.conf&quot;,&quot;-p&quot;,&quot;/var/run/zabbix/zabbix_proxy.pid&quot;],&quot;ports&quot;:[{&quot;name&quot;:&quot;zabbix-proxy&quot;,&quot;containerPort&quot;:10051,&quot;protocol&quot;:&quot;TCP&quot;}],&quot;resources&quot;:{},&quot;volumeMounts&quot;:[{&quot;name&quot;:&quot;zabbix-proxy-config&quot;,&quot;readOnly&quot;:true,&quot;mountPath&quot;:&quot;/opt/zabbix/&quot;}],&quot;livenessProbe&quot;:{&quot;tcpSocket&quot;:{&quot;port&quot;:10051},&quot;initialDelaySeconds&quot;:30,&quot;timeoutSeconds&quot;:5},&quot;terminationMessagePath&quot;:&quot;/dev/termination-log&quot;,&quot;imagePullPolicy&quot;:&quot;IfNotPresent&quot;}],&quot;restartPolicy&quot;:&quot;Always&quot;,&quot;dnsPolicy&quot;:&quot;Default&quot;,&quot;nodeSelector&quot;:{&quot;zone&quot;:&quot;common&quot;}}}},&quot;status&quot;:{&quot;replicas&quot;:1}}]} CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS docker-registry-v1 docker-registry registry:2.0.0 k8s-app=docker-registry,version=v1 1 zabbix-proxy-v1 zabbix-proxy otechlabs/zabbix_proxy k8s-app=zabbix-proxy,version=v1 1"><pre class="notranslate"><code class="notranslate">kubectl get namespaces NAME LABELS STATUS default &lt;none&gt; Active infra &lt;none&gt; Active kube-system &lt;none&gt; Active objects &lt;none&gt; Active ~$ kubectl --namespace=infra get rc CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS docker-registry-v1 docker-registry registry:2.0.0 k8s-app=docker-registry,version=v1 1 zabbix-proxy-v1 zabbix-proxy otechlabs/zabbix_proxy k8s-app=zabbix-proxy,version=v1 1 ~$ kubectl --namespace=infra get po NAME READY STATUS RESTARTS AGE docker-registry-v1-u7nvo 0/1 Pending 0 20m zabbix-proxy-v1-xnsep 0/1 Pending 0 20m ~$ kubectl --namespace=infra delete po zabbix-proxy-v1-xnsep pod "zabbix-proxy-v1-xnsep" deleted ~$ kubectl --namespace=infra get po NAME READY STATUS RESTARTS AGE docker-registry-v1-u7nvo 0/1 Pending 0 21m zabbix-proxy-v1-pavzv 0/1 Pending 0 -30s ~$ kubectl --v=10 --namespace=infra get rc I0731 21:14:46.401721 257 debugging.go:101] curl -k -v -XGET -H "User-Agent: kubectl/v1.0.0 (linux/amd64) kubernetes/ed9975b" -H "Authorization: Bearer 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ" https://10.116.0.1/api I0731 21:14:46.468688 257 debugging.go:120] GET https://10.116.0.1/api 200 OK in 66 milliseconds I0731 21:14:46.468724 257 debugging.go:126] Response Headers: I0731 21:14:46.468736 257 debugging.go:129] Content-Type: application/json I0731 21:14:46.468748 257 debugging.go:129] Date: Fri, 31 Jul 2015 21:15:42 GMT I0731 21:14:46.468759 257 debugging.go:129] Content-Length: 32 I0731 21:14:46.468792 257 request.go:748] Response Body: { "versions": [ "v1" ] } I0731 21:14:46.469095 257 debugging.go:101] curl -k -v -XGET -H "User-Agent: kubectl/v1.0.0 (linux/amd64) kubernetes/ed9975b" -H "Authorization: Bearer 72STd5Ljfr16aDO7nS3jvh30Rs0FYlHQ" https://10.116.0.1/api/v1/namespaces/infra/replicationcontrollers I0731 21:14:46.530797 257 debugging.go:120] GET https://10.116.0.1/api/v1/namespaces/infra/replicationcontrollers 200 OK in 61 milliseconds I0731 21:14:46.530831 257 debugging.go:126] Response Headers: I0731 21:14:46.530844 257 debugging.go:129] Content-Type: application/json I0731 21:14:46.530856 257 debugging.go:129] Date: Fri, 31 Jul 2015 21:15:42 GMT I0731 21:14:46.530912 257 request.go:748] Response Body: {"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/infra/replicationcontrollers","resourceVersion":"10119186"},"items":[{"metadata":{"name":"docker-registry-v1","namespace":"infra","selfLink":"/api/v1/namespaces/infra/replicationcontrollers/docker-registry-v1","uid":"51b1c5f1-1fd3-11e5-a2d1-b083fec18c38","resourceVersion":"10109207","creationTimestamp":"2015-07-01T09:26:57Z","labels":{"k8s-app":"docker-registry-v1","sc01p-service":"true"}},"spec":{"replicas":1,"selector":{"k8s-app":"docker-registry","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"docker-registry","sc01p-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"docker-images-storage","hostPath":{"path":"/var/persistent_data/infra/docker-registry"}}],"containers":[{"name":"docker-registry","image":"registry:2.0.0","ports":[{"name":"docker-registry","containerPort":5000,"protocol":"TCP"}],"env":[{"name":"REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY","value":"/var/lib/registry"}],"resources":{},"volumeMounts":[{"name":"docker-images-storage","mountPath":"/var/lib/registry"}],"livenessProbe":{"tcpSocket":{"port":5000},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","dnsPolicy":"Default","nodeSelector":{"zone":"common"}}}},"status":{"replicas":1}},{"metadata":{"name":"zabbix-proxy-v1","namespace":"infra","selfLink":"/api/v1/namespaces/infra/replicationcontrollers/zabbix-proxy-v1","uid":"0f383d9a-1fcb-11e5-a2d1-b083fec18c38","resourceVersion":"10116339","creationTimestamp":"2015-07-01T08:27:49Z","labels":{"k8s-app":"zabbix-proxy-v1","sc01p-service":"true"}},"spec":{"replicas":1,"selector":{"k8s-app":"zabbix-proxy","version":"v1"},"template":{"metadata":{"creationTimestamp":null,"labels":{"k8s-app":"zabbix-proxy","sc01p-service":"true","version":"v1"}},"spec":{"volumes":[{"name":"zabbix-proxy-config","secret":{"secretName":"zabbix-proxy-config"}}],"containers":[{"name":"zabbix-proxy","image":"otechlabs/zabbix_proxy","args":["/usr/local/bin/bg2fg","-c","/usr/sbin/zabbix_proxy -c /opt/zabbix/zabbix-proxy.conf","-p","/var/run/zabbix/zabbix_proxy.pid"],"ports":[{"name":"zabbix-proxy","containerPort":10051,"protocol":"TCP"}],"resources":{},"volumeMounts":[{"name":"zabbix-proxy-config","readOnly":true,"mountPath":"/opt/zabbix/"}],"livenessProbe":{"tcpSocket":{"port":10051},"initialDelaySeconds":30,"timeoutSeconds":5},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","dnsPolicy":"Default","nodeSelector":{"zone":"common"}}}},"status":{"replicas":1}}]} CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS docker-registry-v1 docker-registry registry:2.0.0 k8s-app=docker-registry,version=v1 1 zabbix-proxy-v1 zabbix-proxy otechlabs/zabbix_proxy k8s-app=zabbix-proxy,version=v1 1 </code></pre></div> <h3 dir="auto">expected result</h3> <p dir="auto">I expected to get forbidden error instead of deleting pod/rc or any other object, I would like to also forbid namespaces listing for the user. In current state it has no difference with AlwaysAllow mode.</p>
1
<p dir="auto">Since 7.0.8, when using</p> <p dir="auto">node_modules/@types/node/index.d.ts(50,14): error TS2687: All declarations of 'iterator' must have identical modifiers.</p> <p dir="auto">Our tsconfig :</p> <p dir="auto"><code class="notranslate">{ "compilerOptions": { "target": "es5", "module": "amd", "sourceMap": true, "strictNullChecks": true, "noImplicitAny": false, "noImplicitReturns": true, "noImplicitThis": false, "noUnusedParameters": false, "noUnusedLocals": true, "experimentalDecorators": false, "emitDecoratorMetadata": false, "removeComments": true, "outFile": "../js/ts.js" }, "exclude": [ "node_modules", "../node_modules", "../../node_modules" ] }</code></p> <p dir="auto">Conflicts is between @types/node line 50 and @types/core-js, line 504 (iterator:Symbol)</p>
<p dir="auto">I added angular.d.ts and jquery.d.ts via nuget to a new Visual Studio 2013 project. Now I am getting 412 errors. Many of them are <code class="notranslate">duplicate overload signature</code> errors in angular.d.ts.</p>
0
<p dir="auto">I want to embed Sendpulse into my next.js page, how can I do this?</p> <p dir="auto">Their code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;script charset=&quot;UTF-8&quot; src=&quot;//cdn.sendpulse.com/9dae6d62c816560a842268bde2cd317d/js/push/998014b3613c5ffdd01ac8c8a6390391_1.js&quot; async&gt;&lt;/script&gt;"><pre class="notranslate"><code class="notranslate">&lt;script charset="UTF-8" src="//cdn.sendpulse.com/9dae6d62c816560a842268bde2cd317d/js/push/998014b3613c5ffdd01ac8c8a6390391_1.js" async&gt;&lt;/script&gt; </code></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11534583/33005711-04397e58-ce02-11e7-8c22-3532a91f2318.png"><img src="https://user-images.githubusercontent.com/11534583/33005711-04397e58-ce02-11e7-8c22-3532a91f2318.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">when i surf the <a href="http://localhost:80" rel="nofollow">http://localhost:80</a> ,the query is undefined, then i push or replace the query, it will shallowEqual with the old query, but it is undefined ,so something go wrong.</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/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> <h2 dir="auto">Current Behavior</h2> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li></li> <li></li> <li></li> <li></li> </ol> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>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>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">When it comes to node servers, <a href="https://github.com/express/expressjs">expressjs</a> has now got tough competition when it comes to performance.<br> Here is a <a href="https://github.com/fastify/fastify#benchmarks">benchmark</a> which shows some alternatives like <a href="https://github.com/zeit/micro">micro</a>, <a href="https://github.com/senchalabs/connect">connect</a> and <a href="https://github.com/fastify/fastify">fastify</a> are much faster/efficient than expressjs.</p> <p dir="auto">Are there any plans of next.js moving to one of these faster alternatives to expressjs?</p>
<ul dir="auto"> <li>[ x] 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">Expected Behavior</h2> <p dir="auto">Have the url prop on the server too, so that the "withData" hoc (as per the withApollo example) can use it to execute the query server-side</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">this.props.url is undefined on the server, so that SSR is done without data and I see the query done client-side (SSR HTML has just the app scheleton).</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="graphql(singleProduct, { options: ({ url }) =&gt; ({ variables: { seoName: url.query.productSeoName, crossSellingLimit: 12 } }), props: ({ data: { loading, error, product } }) =&gt; ({ loading, error, product }) })(MyComponent)"><pre class="notranslate"><span class="pl-en">graphql</span><span class="pl-kos">(</span><span class="pl-s1">singleProduct</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">options</span>: <span class="pl-kos">(</span><span class="pl-kos">{</span> url <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">variables</span>: <span class="pl-kos">{</span> <span class="pl-c1">seoName</span>: <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">query</span><span class="pl-kos">.</span><span class="pl-c1">productSeoName</span><span class="pl-kos">,</span> <span class="pl-c1">crossSellingLimit</span>: <span class="pl-c1">12</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">props</span>: <span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">data</span>: <span class="pl-kos">{</span> loading<span class="pl-kos">,</span> error<span class="pl-kos">,</span> product <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> loading<span class="pl-kos">,</span> error<span class="pl-kos">,</span> product <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-v">MyComponent</span><span class="pl-kos">)</span></pre></div> <h2 dir="auto">Error</h2> <p dir="auto">error: TypeError: Cannot read property 'query' of undefined at options [...]</p> <h2 dir="auto">Your Environment</h2> <p dir="auto">Next 5.0.0<br> Apollo client 2.2.7<br> React 16.2</p>
0
<p dir="auto">I have such code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new webpack.NormalModuleReplacementPlugin( REG_EXP_FOR_FILES, function (result) { const matches = result.request.match(REG_EXP_FOR_FILES); const routes = `${matches[1]}/index.js`; if (fs.existsSync(path.resolve(__dirname, routes))) { result.request = routes; } } ),"><pre class="notranslate"><code class="notranslate">new webpack.NormalModuleReplacementPlugin( REG_EXP_FOR_FILES, function (result) { const matches = result.request.match(REG_EXP_FOR_FILES); const routes = `${matches[1]}/index.js`; if (fs.existsSync(path.resolve(__dirname, routes))) { result.request = routes; } } ), </code></pre></div> <p dir="auto">But in case of file doesn't exist I have error <code class="notranslate">Module is not found</code>. But I need to have no errors and have no hook files like <code class="notranslate">empty.js</code>.</p> <p dir="auto">Ho can skip file resolving with normal modules resolver?</p>
<p dir="auto">Not sure if this is a watcher issue or a build issue in general, but I've found that sometimes I'm getting empty bundles and/or empty source maps. My wild guess why this is happening is that if I reload my application at juuust the right moment, it locks the bundle/map file so that webpack can't write its contents. Is that possible? Has anyone else seen this behavior?</p> <p dir="auto">I would expect either an error event or stat error or warning to be generated, but that doesn't seem to be happening.</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.33, All?</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided the exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// repro.mjs import { chromium } from '@playwright/test' const browser = await chromium.launch({ headless: false }) const context = await browser.newContext() const page = await context.newPage() page.once('load', async page =&gt; { await page.waitForTimeout(10000) console.log('after 10 sec!') }) await page.goto('https://google.com/') await page.locator('#L2AGLb').click() await page.locator('textarea#APjFqb').first().type('Playwright') await page.locator('.FPdoLc input.gNO89b[name=&quot;btnK&quot;]').click() await page.pause() "><pre class="notranslate"><span class="pl-c">// repro.mjs</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">chromium</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span> <span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">headless</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">context</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">newContext</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">once</span><span class="pl-kos">(</span><span class="pl-s">'load'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-s1">page</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">waitForTimeout</span><span class="pl-kos">(</span><span class="pl-c1">10000</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">'after 10 sec!'</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://google.com/'</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'#L2AGLb'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'textarea#APjFqb'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">first</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">type</span><span class="pl-kos">(</span><span class="pl-s">'Playwright'</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'.FPdoLc input.gNO89b[name="btnK"]'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">pause</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li><code class="notranslate">npm install @playwright/test</code></li> <li><code class="notranslate">npx playwright install --with-deps</code></li> <li><code class="notranslate">node repro.mjs</code></li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">I expected that the callback in the event listener would block executing the rest of the script for 10 seconds.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">The script is executed without waiting for the callback to be fulfilled (a Google search is done first, and a message is logged to the console later).</p> <p dir="auto"><strong>Comment</strong></p> <p dir="auto">I wasn't sure if it should be reported as a bug or maybe a feature request, so please adjust the issue. If an actual implementation has to stay untouched, then I believe putting information in the docs for that scenario could be helpful for others. Providing me with a workaround to achieve my goal is also very welcome here.</p>
<p dir="auto">My application have two different environments. In one of the environment, elements are available in iframe whereas in other environment, they are present in page. I don't want to duplicate my code. Is there a way that I can handle both frame and page elements in the same ts file?</p>
0
<h2 dir="auto">Problem</h2> <p dir="auto">For SVG elements that need animation, a 'hook' is needed to tween the element from one configuration to another before React steps in and updates the DOM (and thereby prevents the animation).</p> <h2 dir="auto">My current work-around</h2> <p dir="auto">For SVG components that need animation, I have to write <code class="notranslate">render</code> method that always returns the same 'dummy' DOM so that React doesn't find any diffs and I can handle all DOM updates myself inside the <code class="notranslate">componentDidUpdate</code>. IMO, this results in a very non-idiomatic ReactJS code because the <code class="notranslate">render</code> method does not have a true representation of what the SVG element will look like after applying state and props.<br> See <a href="https://github.com/ameyms/diffract/blob/master/src/BarGraph.jsx#L75-L93">this example</a>.</p> <h2 dir="auto">Possible Solution</h2> <p dir="auto">It would be helpful if components inside transition groups had a <code class="notranslate">componentWillTween(callback)</code> method similar to <code class="notranslate">componentWillEnter</code> etc.</p> <p dir="auto">This would be invoked after <code class="notranslate">componentWillUpdate</code> but before <code class="notranslate">componentDidUpdate</code> for components added to an existing <code class="notranslate">TransitionGroup</code>. It would block updates from being flushed to DOM until the <strong><code class="notranslate">callback</code></strong> is called. It would <strong>not</strong> be called on the initial render of a TransitionGroup.</p>
<p dir="auto">I just spent &gt;20min wondering why my page was hanging. Turns out I had referenced the component I was rendering in the return method.</p> <p dir="auto">I know it's a stupid mistake however to prevent more time being wasted on it I propose a circular reference check which should throw an error.</p> <p dir="auto">I may work on a pull request later if I have time and it hasn't been patched yet.</p>
0
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">As a power user I frequently open up my "Programs and Features" (or also known as "Uninstall a program" under Control Panel) and uncommonly other Control Panel items. If I typed in "programs" into the Run window it would provide me with "Programs and Features" as an item and I am able to open up this window without having to open up the Control Panel by searching for that first then opening up the window that I want.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">Thanks so much team and keep up the amazing work!</p>
<p dir="auto">I like the Powertoys run utility in this new update. Could sysdm.cpl or any of the other of the other .cpl applets be added?</p>
1
<p dir="auto">This is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="145213976" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/12766" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/12766/hovercard" href="https://github.com/pandas-dev/pandas/issues/12766">#12766</a><br> Possibly a duplicate.</p> <h4 dir="auto">A small, complete example of the issue</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DD = pd.DataFrame({'A':[1,2,3,4,5]}) DD.index.name = 'Test' print DD.index.name DD.index = DD.index.map(unicode) print DD.index.name"><pre class="notranslate"><code class="notranslate">DD = pd.DataFrame({'A':[1,2,3,4,5]}) DD.index.name = 'Test' print DD.index.name DD.index = DD.index.map(unicode) print DD.index.name </code></pre></div> <h4 dir="auto">Expected Output</h4> <p dir="auto">The mapping operation deletes the index name.</p> <p dir="auto">However mapping a function on the index means modifying an existing index, so one would expect the name of the index to stay the same as opposed to when choosing a completely new index.</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python: 2.7.12.final.0 pandas: 0.19.0"><pre class="notranslate"><code class="notranslate">python: 2.7.12.final.0 pandas: 0.19.0 </code></pre></div> <h4 dir="auto">EDIT:</h4> <p dir="auto">Doing a <code class="notranslate">set_index(column)</code> does NOT set the column name as the index name, I think it would be common sense that the name of the column which becomes the new index be automatically set as the index name.</p>
<p dir="auto">Hello,</p> <p dir="auto">I'm trying to install pandas on Mac OS X 10.11.6 in a Django project. Pandas library is used with one of the 3rd party libraries that I am using in the project.</p> <p dir="auto">Since I don't want to switch to different package manager (Anakonda) just for installing pandas (I'm using pip now), in order for me to get the C files compiled, I decided to install pandas by including <code class="notranslate">--editable git+git://github.com/pydata/[email protected]#egg=pandas</code> in the <code class="notranslate">requirements.txt</code> file and the library is now installed in my <code class="notranslate">src</code> dir and there's a symlink in my virtualenv's <code class="notranslate">site-packages</code> which points to it.</p> <p dir="auto">This gets these headers compiled, but causes many strange importing errors in pandas source code itself when it is imported by a third party library that is also installed with <code class="notranslate">--editable</code> mode. F. ex. file at <code class="notranslate">Users/eimantas/Desktop/Projects/WeShareSolar/mijnstroom/virtualenv/src/knmi-py/knmi/parsers.py</code> has this line <code class="notranslate">import pandas as pd</code>. And I had to edit this code block in <code class="notranslate">virtualenv/src/pandas/pandas/__init__.py</code> for things to work:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="try: # XXX: I had to comment this out for things to work: # from pandas import hashtable, tslib, lib import hashtable, tslib, lib except ImportError as e: # pragma: no cover module = str(e).lstrip('cannot import name ') # hack but overkill to use re raise ImportError(&quot;C extension: {0} not built. If you want to import &quot; &quot;pandas from the source directory, you may need to run &quot; &quot;'python setup.py build_ext --inplace' to build the C &quot; &quot;extensions first.&quot;.format(module)) "><pre class="notranslate"><code class="notranslate">try: # XXX: I had to comment this out for things to work: # from pandas import hashtable, tslib, lib import hashtable, tslib, lib except ImportError as e: # pragma: no cover module = str(e).lstrip('cannot import name ') # hack but overkill to use re raise ImportError("C extension: {0} not built. If you want to import " "pandas from the source directory, you may need to run " "'python setup.py build_ext --inplace' to build the C " "extensions first.".format(module)) </code></pre></div> <p dir="auto">But then another importing error appears here: <code class="notranslate">virtualenv/src/pandas/pandas/core/config.py</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;/Users/eimantas/Desktop/Projects/WeShareSolar/mijnstroom/virtualenv/src/pandas/pandas/core/config.py&quot;, line 57, in &lt;module&gt; import pandas.compat as compat AttributeError: 'module' object has no attribute 'compat'"><pre class="notranslate"><code class="notranslate">File "/Users/eimantas/Desktop/Projects/WeShareSolar/mijnstroom/virtualenv/src/pandas/pandas/core/config.py", line 57, in &lt;module&gt; import pandas.compat as compat AttributeError: 'module' object has no attribute 'compat' </code></pre></div> <p dir="auto">What should I do to get these things fixed ? I'd love to be able to use this library with pip and Django.</p>
0
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.204.0<br> <strong>System</strong>: Mac OS X 10.10.3<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Encountered an invalid scope end id. Popped -3, expected to pop -95.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:755 Error: Encountered an invalid scope end id. Popped -3, expected to pop -95. at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21) at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21) at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:369:113) at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:62:24 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11) at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:624:20) at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:789:16) at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:753:14) at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1136:26) at TextEditor.module.exports.TextEditor.moveLineUp (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:793:19)"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:755 Error: Encountered an invalid scope end id. Popped -3, expected to pop -95. at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21) at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21) at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:369:113) at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:62:24 at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11) at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:624:20) at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:789:16) at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:753:14) at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1136:26) at TextEditor.module.exports.TextEditor.moveLineUp (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:793:19) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -1:26.3.0 core:move-right (atom-text-editor.editor.is-focused) 2x -1:24.4.0 core:move-down (atom-text-editor.editor.is-focused) 2x -1:22.4.0 core:select-up (atom-text-editor.editor.is-focused) -1:20.7.0 core:move-up (atom-text-editor.editor.is-focused) -1:20 core:move-right (atom-text-editor.editor.is-focused) -1:19.5.0 core:move-down (atom-text-editor.editor.is-focused) -1:19.1.0 core:move-right (atom-text-editor.editor.is-focused) -1:18.3.0 editor:newline (atom-text-editor.editor.is-focused) -1:11.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active) -1:07.3.0 editor:newline (atom-text-editor.editor.is-focused.autocomplete-active) 3x -0:53.3.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active) -0:46.6.0 core:save (atom-text-editor.editor.is-focused) -0:14.1.0 editor:newline (atom-text-editor.editor.is-focused) -0:12.1.0 core:paste (atom-text-editor.editor.is-focused.autocomplete-active) -0:10.4.0 editor:newline (atom-text-editor.editor.is-focused) 3x -0:02.7.0 editor:move-line-up (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> -1:26.3.0 core:move-right (atom-text-editor.editor.is-focused) 2x -1:24.4.0 core:move-down (atom-text-editor.editor.is-focused) 2x -1:22.4.0 core:select-up (atom-text-editor.editor.is-focused) -1:20.7.0 core:move-up (atom-text-editor.editor.is-focused) -1:20 core:move-right (atom-text-editor.editor.is-focused) -1:19.5.0 core:move-down (atom-text-editor.editor.is-focused) -1:19.1.0 core:move-right (atom-text-editor.editor.is-focused) -1:18.3.0 editor:newline (atom-text-editor.editor.is-focused) -1:11.5.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active) -1:07.3.0 editor:newline (atom-text-editor.editor.is-focused.autocomplete-active) 3x -0:53.3.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active) -0:46.6.0 core:save (atom-text-editor.editor.is-focused) -0:14.1.0 editor:newline (atom-text-editor.editor.is-focused) -0:12.1.0 core:paste (atom-text-editor.editor.is-focused.autocomplete-active) -0:10.4.0 editor:newline (atom-text-editor.editor.is-focused) 3x -0:02.7.0 editor:move-line-up (atom-text-editor.editor.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;themes&quot;: [ &quot;one-dark-ui&quot;, &quot;one-dark-syntax&quot; ], &quot;disabledPackages&quot;: [ &quot;atom-color-highlight&quot; ] }, &quot;editor&quot;: { &quot;invisibles&quot;: {}, &quot;fontSize&quot;: 11, &quot;showIndentGuide&quot;: true, &quot;showInvisibles&quot;: true } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>one-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>one-dark-syntax<span class="pl-pds">"</span></span> ], <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>atom-color-highlight<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {}, <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">11</span>, <span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"showInvisibles"</span>: <span class="pl-c1">true</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User Sublime-Style-Column-Selection, v1.3.0 atom-yamljson, v0.2.3 autocomplete-paths, v1.0.2 color-picker, v1.6.0 local-server-express, v0.3.1 show-ideographic-space, v0.1.7 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> Sublime<span class="pl-k">-</span>Style<span class="pl-k">-</span>Column<span class="pl-k">-</span>Selection, v1.<span class="pl-ii">3</span>.<span class="pl-ii">0</span> atom<span class="pl-k">-</span>yamljson, v0.<span class="pl-ii">2</span>.<span class="pl-ii">3</span> autocomplete<span class="pl-k">-</span>paths, v1.<span class="pl-ii">0</span>.<span class="pl-ii">2</span> color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">6</span>.<span class="pl-ii">0</span> local<span class="pl-k">-</span>server<span class="pl-k">-</span>express, v0.<span class="pl-ii">3</span>.<span class="pl-ii">1</span> show<span class="pl-k">-</span>ideographic<span class="pl-k">-</span>space, v0.<span class="pl-ii">1</span>.<span class="pl-ii">7</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>I opened it week after I wrote this, and its crashing when I set syntax highlight to shell</li> <li>file ist just a awk+shell</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.204.0<br> <strong>System</strong>: Mac OS X 10.10.2<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: Encountered an invalid scope end id. Popped -27, expected to pop -45.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573 Error: Encountered an invalid scope end id. Popped -27, expected to pop -45. at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21) at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21) at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:286:105) at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:263:26 at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47 "><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573 Error: Encountered an invalid scope end id. Popped -27, expected to pop -45. at TokenizedBuffer.module.exports.TokenizedBuffer.scopesFromTags (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:573:21) at TokenizedBuffer.module.exports.TokenizedBuffer.openScopesForRow (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:555:21) at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:286:105) at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:263:26 at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47 </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 3x -0:22.4.0 core:backspace (atom-text-editor.editor.mini.is-focused) -0:04.2.0 application:open (atom-text-editor.editor.mini.is-focused)"><pre class="notranslate"><code class="notranslate"> 3x -0:22.4.0 core:backspace (atom-text-editor.editor.mini.is-focused) -0:04.2.0 application:open (atom-text-editor.editor.mini.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: {}, &quot;editor&quot;: { &quot;fontSize&quot;: 13, &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: {}, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">13</span>, <span class="pl-ent">"invisibles"</span>: {} } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User color-picker, v2.0.2 ide-haskell, v0.5.6 language-glsl, v2.0.0 language-haskell, v1.0.0 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> color<span class="pl-k">-</span>picker, v2.<span class="pl-ii">0</span>.<span class="pl-ii">2</span> ide<span class="pl-k">-</span>haskell, v0.<span class="pl-ii">5</span>.<span class="pl-ii">6</span> language<span class="pl-k">-</span>glsl, v2.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> language<span class="pl-k">-</span>haskell, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<p dir="auto">The code is probably invalid, but still generates an ICE.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc src/ice.rs src/ice.rs:3:9: 3:12 warning: unused variable: `ptr`, #[warn(unused_variables)] on by default src/ice.rs:3 let ptr = string as *const _ as *const u8; ^~~ error: internal compiler error: translating unsupported cast: *const str (cast_other) -&gt; *const u8 (cast_pointer) 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 task 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:180"><pre class="notranslate"><code class="notranslate">$ rustc src/ice.rs src/ice.rs:3:9: 3:12 warning: unused variable: `ptr`, #[warn(unused_variables)] on by default src/ice.rs:3 let ptr = string as *const _ as *const u8; ^~~ error: internal compiler error: translating unsupported cast: *const str (cast_other) -&gt; *const u8 (cast_pointer) 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 task 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:180 </code></pre></div> <p dir="auto">The code is very short:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let string: &amp;str = &quot;test1&quot;; let ptr = string as *const _ as *const u8; }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> string<span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">str</span> = <span class="pl-s">"test1"</span><span class="pl-kos">;</span> <span class="pl-k">let</span> ptr = string <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-k">const</span> <span class="pl-smi">_</span> <span class="pl-k">as</span> <span class="pl-c1">*</span><span class="pl-k">const</span> <span class="pl-smi">u8</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ gdb --args rustc src/ice.rs Reading symbols from rustc...(no debugging symbols found)...done. (gdb) b rust_panic Function &quot;rust_panic&quot; not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (rust_panic) pending. (gdb) r src/ice.rs:3:9: 3:12 warning: unused variable: `ptr`, #[warn(unused_variables)] on by default src/ice.rs:3 let ptr = string as *const _ as *const u8; ^~~ error: internal compiler error: translating unsupported cast: *const str (cast_other) -&gt; *const u8 (cast_pointer) Breakpoint 1, 0x00007ffff7111440 in rust_panic () from /usr/local/lib/librustrt-4e7c5e5c.so (gdb) bt #0 0x00007ffff7111440 in rust_panic () from /usr/local/lib/librustrt-4e7c5e5c.so #1 0x00007ffff7111b06 in unwind::begin_unwind_inner::hf044c6d185c5aca3tad () from /usr/local/lib/librustrt-4e7c5e5c.so #2 0x00007ffff4e51529 in unwind::begin_unwind::h5761018185178914378 () from /usr/local/lib/libsyntax-4e7c5e5c.so #3 0x00007ffff4e51c84 in diagnostic::Handler::bug::hfb9fa81ad3c3172cL3F () from /usr/local/lib/libsyntax-4e7c5e5c.so #4 0x00007ffff5e5c935 in session::Session::bug::h176dff5b0ea34ba0Lt1 () from /usr/local/lib/librustc-4e7c5e5c.so #5 0x00007ffff7932899 in trans::expr::trans_imm_cast::ha29135b513d0179aTLk () from /usr/local/lib/librustc_trans-4e7c5e5c.so #6 0x00007ffff7925c63 in trans::expr::trans_unadjusted::h4dd3a502f0c61d18iJi () from /usr/local/lib/librustc_trans-4e7c5e5c.so #7 0x00007ffff78e6287 in trans::expr::trans_into::h9ab7d00213095796hQh () from /usr/local/lib/librustc_trans-4e7c5e5c.so #8 0x00007ffff79de1bd in trans::_match::store_local::closure.49047 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #9 0x00007ffff79dd5a4 in trans::_match::mk_binding_alloca::h3960520261142917360 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #10 0x00007ffff7990094 in trans::_match::store_local::he5f9566f16d0e035w9x () from /usr/local/lib/librustc_trans-4e7c5e5c.so #11 0x00007ffff78e582e in trans::base::init_local::h305f837109a50408MIt () from /usr/local/lib/librustc_trans-4e7c5e5c.so #12 0x00007ffff78e4e42 in trans::controlflow::trans_stmt::h8e6bafcdf7128142cXd () from /usr/local/lib/librustc_trans-4e7c5e5c.so #13 0x00007ffff78e64f9 in trans::controlflow::trans_block::h7ed275868dcb5977k2d () from /usr/local/lib/librustc_trans-4e7c5e5c.so #14 0x00007ffff7998c40 in trans::base::trans_closure::h45d1af6bd984feb85Au () from /usr/local/lib/librustc_trans-4e7c5e5c.so #15 0x00007ffff78d9587 in trans::base::trans_fn::he30b79362e00aa4eVMu () from /usr/local/lib/librustc_trans-4e7c5e5c.so #16 0x00007ffff78d679e in trans::base::trans_item::hd3d39cc929783f51F8u () from /usr/local/lib/librustc_trans-4e7c5e5c.so #17 0x00007ffff79a21f8 in trans::base::trans_crate::h9cc619fc129272e2Z6v () from /usr/local/lib/librustc_trans-4e7c5e5c.so #18 0x00007ffff7a4cc45 in driver::driver::phase_4_translate_to_llvm::he2f0cbfd547d4bd4UtS () from /usr/local/lib/librustc_trans-4e7c5e5c.so #19 0x00007ffff7a3c4b5 in driver::driver::compile_input::h3764e7506ecf962760R () from /usr/local/lib/librustc_trans-4e7c5e5c.so #20 0x00007ffff7abfa87 in driver::run_compiler::hd5386abc6d794eaceZT () from /usr/local/lib/librustc_trans-4e7c5e5c.so #21 0x00007ffff7abe0ac in driver::run::closure.59712 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #22 0x00007ffff78cbdfb in task::TaskBuilder::try_future::closure.38971 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #23 0x00007ffff743d43d in task::TaskBuilder::spawn_internal::closure.24316 () from /usr/local/lib/libstd-4e7c5e5c.so #24 0x00007ffff710f4d2 in task::Task::spawn::closure.6079 () from /usr/local/lib/librustrt-4e7c5e5c.so #25 0x00007ffff7169e3c in rust_try_inner () from /usr/local/lib/librustrt-4e7c5e5c.so #26 0x00007ffff7169e26 in rust_try () from /usr/local/lib/librustrt-4e7c5e5c.so #27 0x00007ffff710f583 in unwind::try::hc6a5679abcd17f59OYc () from /usr/local/lib/librustrt-4e7c5e5c.so #28 0x00007ffff710f37c in task::Task::run::h56429f146a5c97ecX5b () from /usr/local/lib/librustrt-4e7c5e5c.so #29 0x00007ffff710efc8 in task::Task::spawn::closure.6055 () from /usr/local/lib/librustrt-4e7c5e5c.so #30 0x00007ffff7110d25 in thread::thread_start::hce41c81aad9e2f16Kpc () from /usr/local/lib/librustrt-4e7c5e5c.so #31 0x00007ffff1c2c314 in start_thread () from /usr/lib/libpthread.so.0 #32 0x00007ffff6de63ed in clone () from /usr/lib/libc.so.6"><pre class="notranslate"><code class="notranslate">$ gdb --args rustc src/ice.rs Reading symbols from rustc...(no debugging symbols found)...done. (gdb) b rust_panic Function "rust_panic" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (rust_panic) pending. (gdb) r src/ice.rs:3:9: 3:12 warning: unused variable: `ptr`, #[warn(unused_variables)] on by default src/ice.rs:3 let ptr = string as *const _ as *const u8; ^~~ error: internal compiler error: translating unsupported cast: *const str (cast_other) -&gt; *const u8 (cast_pointer) Breakpoint 1, 0x00007ffff7111440 in rust_panic () from /usr/local/lib/librustrt-4e7c5e5c.so (gdb) bt #0 0x00007ffff7111440 in rust_panic () from /usr/local/lib/librustrt-4e7c5e5c.so #1 0x00007ffff7111b06 in unwind::begin_unwind_inner::hf044c6d185c5aca3tad () from /usr/local/lib/librustrt-4e7c5e5c.so #2 0x00007ffff4e51529 in unwind::begin_unwind::h5761018185178914378 () from /usr/local/lib/libsyntax-4e7c5e5c.so #3 0x00007ffff4e51c84 in diagnostic::Handler::bug::hfb9fa81ad3c3172cL3F () from /usr/local/lib/libsyntax-4e7c5e5c.so #4 0x00007ffff5e5c935 in session::Session::bug::h176dff5b0ea34ba0Lt1 () from /usr/local/lib/librustc-4e7c5e5c.so #5 0x00007ffff7932899 in trans::expr::trans_imm_cast::ha29135b513d0179aTLk () from /usr/local/lib/librustc_trans-4e7c5e5c.so #6 0x00007ffff7925c63 in trans::expr::trans_unadjusted::h4dd3a502f0c61d18iJi () from /usr/local/lib/librustc_trans-4e7c5e5c.so #7 0x00007ffff78e6287 in trans::expr::trans_into::h9ab7d00213095796hQh () from /usr/local/lib/librustc_trans-4e7c5e5c.so #8 0x00007ffff79de1bd in trans::_match::store_local::closure.49047 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #9 0x00007ffff79dd5a4 in trans::_match::mk_binding_alloca::h3960520261142917360 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #10 0x00007ffff7990094 in trans::_match::store_local::he5f9566f16d0e035w9x () from /usr/local/lib/librustc_trans-4e7c5e5c.so #11 0x00007ffff78e582e in trans::base::init_local::h305f837109a50408MIt () from /usr/local/lib/librustc_trans-4e7c5e5c.so #12 0x00007ffff78e4e42 in trans::controlflow::trans_stmt::h8e6bafcdf7128142cXd () from /usr/local/lib/librustc_trans-4e7c5e5c.so #13 0x00007ffff78e64f9 in trans::controlflow::trans_block::h7ed275868dcb5977k2d () from /usr/local/lib/librustc_trans-4e7c5e5c.so #14 0x00007ffff7998c40 in trans::base::trans_closure::h45d1af6bd984feb85Au () from /usr/local/lib/librustc_trans-4e7c5e5c.so #15 0x00007ffff78d9587 in trans::base::trans_fn::he30b79362e00aa4eVMu () from /usr/local/lib/librustc_trans-4e7c5e5c.so #16 0x00007ffff78d679e in trans::base::trans_item::hd3d39cc929783f51F8u () from /usr/local/lib/librustc_trans-4e7c5e5c.so #17 0x00007ffff79a21f8 in trans::base::trans_crate::h9cc619fc129272e2Z6v () from /usr/local/lib/librustc_trans-4e7c5e5c.so #18 0x00007ffff7a4cc45 in driver::driver::phase_4_translate_to_llvm::he2f0cbfd547d4bd4UtS () from /usr/local/lib/librustc_trans-4e7c5e5c.so #19 0x00007ffff7a3c4b5 in driver::driver::compile_input::h3764e7506ecf962760R () from /usr/local/lib/librustc_trans-4e7c5e5c.so #20 0x00007ffff7abfa87 in driver::run_compiler::hd5386abc6d794eaceZT () from /usr/local/lib/librustc_trans-4e7c5e5c.so #21 0x00007ffff7abe0ac in driver::run::closure.59712 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #22 0x00007ffff78cbdfb in task::TaskBuilder::try_future::closure.38971 () from /usr/local/lib/librustc_trans-4e7c5e5c.so #23 0x00007ffff743d43d in task::TaskBuilder::spawn_internal::closure.24316 () from /usr/local/lib/libstd-4e7c5e5c.so #24 0x00007ffff710f4d2 in task::Task::spawn::closure.6079 () from /usr/local/lib/librustrt-4e7c5e5c.so #25 0x00007ffff7169e3c in rust_try_inner () from /usr/local/lib/librustrt-4e7c5e5c.so #26 0x00007ffff7169e26 in rust_try () from /usr/local/lib/librustrt-4e7c5e5c.so #27 0x00007ffff710f583 in unwind::try::hc6a5679abcd17f59OYc () from /usr/local/lib/librustrt-4e7c5e5c.so #28 0x00007ffff710f37c in task::Task::run::h56429f146a5c97ecX5b () from /usr/local/lib/librustrt-4e7c5e5c.so #29 0x00007ffff710efc8 in task::Task::spawn::closure.6055 () from /usr/local/lib/librustrt-4e7c5e5c.so #30 0x00007ffff7110d25 in thread::thread_start::hce41c81aad9e2f16Kpc () from /usr/local/lib/librustrt-4e7c5e5c.so #31 0x00007ffff1c2c314 in start_thread () from /usr/lib/libpthread.so.0 #32 0x00007ffff6de63ed in clone () from /usr/lib/libc.so.6 </code></pre></div> <p dir="auto">Version info:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc --version=verbose rustc 0.13.0-nightly (395901393 2014-11-24 00:46:30 +0000) binary: rustc commit-hash: 395901393c369c910a8ae36ace71402cb206d217 commit-date: 2014-11-24 00:46:30 +0000 host: x86_64-unknown-linux-gnu release: 0.13.0-nightly"><pre class="notranslate"><code class="notranslate">$ rustc --version=verbose rustc 0.13.0-nightly (395901393 2014-11-24 00:46:30 +0000) binary: rustc commit-hash: 395901393c369c910a8ae36ace71402cb206d217 commit-date: 2014-11-24 00:46:30 +0000 host: x86_64-unknown-linux-gnu release: 0.13.0-nightly </code></pre></div> <p dir="auto">Happens also in:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc --version=verbose rustc 0.13.0-nightly (fac5a0767 2014-11-26 22:37:06 +0000) binary: rustc commit-hash: fac5a07679cac21a580badc84b755b8df0f975cf commit-date: 2014-11-26 22:37:06 +0000 host: x86_64-unknown-linux-gnu release: 0.13.0-nightly"><pre class="notranslate"><code class="notranslate">$ rustc --version=verbose rustc 0.13.0-nightly (fac5a0767 2014-11-26 22:37:06 +0000) binary: rustc commit-hash: fac5a07679cac21a580badc84b755b8df0f975cf commit-date: 2014-11-26 22:37:06 +0000 host: x86_64-unknown-linux-gnu release: 0.13.0-nightly </code></pre></div>
<p dir="auto">Code:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn f() -&gt; u64 { 0 } fn main() { let n = f as f32; }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">u64</span> <span class="pl-kos">{</span> <span class="pl-c1">0</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> n = f <span class="pl-k">as</span> <span class="pl-smi">f32</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Error with backtrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="src/main.rs:6:9: 6:10 warning: unused variable: `n`, #[warn(unused_variable)] on by default src/main.rs:6 let n = f as f32; ^ error: internal compiler error: translating unsupported cast: fn() -&gt; u64 (cast_pointer) -&gt; f32 (cast_float) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:163 stack backtrace: 1: 0x7f6e5389ced0 - rt::backtrace::imp::write::h3e02102493c7a1b79Hp::v0.11.0.pre 2: 0x7f6e538a3a00 - failure::on_fail::h73803e3fd7728138o3p::v0.11.0.pre 3: 0x7f6e55a06ef0 - unwind::begin_unwind_inner::h66e3981eb8555b96cZd::v0.11.0.pre 4: 0x7f6e54e4a4e0 - unwind::begin_unwind::h14114372353668361027::v0.11.0.pre 5: 0x7f6e54e4ae80 - diagnostic::Handler::bug::h163e51ddd1a017c2Dgc::v0.11.0.pre 6: 0x7f6e562f9520 - driver::session::Session::bug::h09f59f7b6f35750fdsr::v0.11.0.pre 7: 0x7f6e5637cbf0 - middle::trans::expr::trans_imm_cast::h261d15fd2f6453feLQh::v0.11.0.pre 8: 0x7f6e5636e380 - middle::trans::expr::trans_unadjusted::h37391b28c8fd0d0b60f::v0.11.0.pre 9: 0x7f6e5632a310 - middle::trans::expr::trans_into::hdc05c03d27b262d4JDf::v0.11.0.pre 10: 0x7f6e56434000 - middle::trans::_match::store_local::closure.85655 11: 0x7f6e56433cf0 - middle::trans::_match::mk_binding_alloca::h16257314354832004452::v0.11.0.pre 12: 0x7f6e563eaa70 - middle::trans::_match::store_local::h71f3ff230e537ab6JEu::v0.11.0.pre 13: 0x7f6e563297e0 - middle::trans::base::init_local::he8478d5bef2cef9cOZp::v0.11.0.pre 14: 0x7f6e56328d40 - middle::trans::controlflow::trans_stmt::h77aa44239cd8a9d8Mdc::v0.11.0.pre 15: 0x7f6e5632a940 - middle::trans::controlflow::trans_block::hf4faa65f79a4fae52ic::v0.11.0.pre 16: 0x7f6e563f0850 - middle::trans::base::trans_closure::hbab3416264edbe7aauq::v0.11.0.pre 17: 0x7f6e562fa790 - middle::trans::base::trans_fn::hd7d1d11484c269ccbCq::v0.11.0.pre 18: 0x7f6e562f3230 - middle::trans::base::trans_item::h40a4f8eccf6f8e7eCSq::v0.11.0.pre 19: 0x7f6e564011b0 - middle::trans::base::trans_crate::h470bfcf3cac093e1JMr::v0.11.0.pre 20: 0x7f6e56c06570 - driver::driver::phase_4_translate_to_llvm::h2fa30f4b120cdb579Aq::v0.11.0.pre 21: 0x7f6e56bfd2b0 - driver::driver::compile_input::h1d313b682f9ead2bDeq::v0.11.0.pre 22: 0x7f6e56cca0c0 - driver::run_compiler::hcc8540f7b478ad28b0s::v0.11.0.pre 23: 0x7f6e56cc9fd0 - driver::main_args::closure.117522 24: 0x7f6e56cdf0f0 - task::TaskBuilder&lt;S&gt;::try_future::closure.118663 25: 0x7f6e56cded10 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.118640 26: 0x7f6e55d5c590 - task::spawn_opts::closure.7462 27: 0x7f6e55a5f290 - rust_try 28: 0x7f6e55a03500 - unwind::try::h800fde6f36f3558bBNd::v0.11.0.pre 29: 0x7f6e55a031e0 - task::Task::run::hf743f122a6385418XYc::v0.11.0.pre 30: 0x7f6e55d5c350 - task::spawn_opts::closure.7408 31: 0x7f6e55a05da0 - thread::thread_start::hd9510588dd47efddvld::v0.11.0.pre 32: 0x7f6e53311060 - start_thread 33: 0x7f6e556cd489 - __clone 34: 0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate">src/main.rs:6:9: 6:10 warning: unused variable: `n`, #[warn(unused_variable)] on by default src/main.rs:6 let n = f as f32; ^ error: internal compiler error: translating unsupported cast: fn() -&gt; u64 (cast_pointer) -&gt; f32 (cast_float) note: the compiler hit an unexpected failure path. this is a bug. note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html note: run with `RUST_BACKTRACE=1` for a backtrace task 'rustc' failed at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libsyntax/diagnostic.rs:163 stack backtrace: 1: 0x7f6e5389ced0 - rt::backtrace::imp::write::h3e02102493c7a1b79Hp::v0.11.0.pre 2: 0x7f6e538a3a00 - failure::on_fail::h73803e3fd7728138o3p::v0.11.0.pre 3: 0x7f6e55a06ef0 - unwind::begin_unwind_inner::h66e3981eb8555b96cZd::v0.11.0.pre 4: 0x7f6e54e4a4e0 - unwind::begin_unwind::h14114372353668361027::v0.11.0.pre 5: 0x7f6e54e4ae80 - diagnostic::Handler::bug::h163e51ddd1a017c2Dgc::v0.11.0.pre 6: 0x7f6e562f9520 - driver::session::Session::bug::h09f59f7b6f35750fdsr::v0.11.0.pre 7: 0x7f6e5637cbf0 - middle::trans::expr::trans_imm_cast::h261d15fd2f6453feLQh::v0.11.0.pre 8: 0x7f6e5636e380 - middle::trans::expr::trans_unadjusted::h37391b28c8fd0d0b60f::v0.11.0.pre 9: 0x7f6e5632a310 - middle::trans::expr::trans_into::hdc05c03d27b262d4JDf::v0.11.0.pre 10: 0x7f6e56434000 - middle::trans::_match::store_local::closure.85655 11: 0x7f6e56433cf0 - middle::trans::_match::mk_binding_alloca::h16257314354832004452::v0.11.0.pre 12: 0x7f6e563eaa70 - middle::trans::_match::store_local::h71f3ff230e537ab6JEu::v0.11.0.pre 13: 0x7f6e563297e0 - middle::trans::base::init_local::he8478d5bef2cef9cOZp::v0.11.0.pre 14: 0x7f6e56328d40 - middle::trans::controlflow::trans_stmt::h77aa44239cd8a9d8Mdc::v0.11.0.pre 15: 0x7f6e5632a940 - middle::trans::controlflow::trans_block::hf4faa65f79a4fae52ic::v0.11.0.pre 16: 0x7f6e563f0850 - middle::trans::base::trans_closure::hbab3416264edbe7aauq::v0.11.0.pre 17: 0x7f6e562fa790 - middle::trans::base::trans_fn::hd7d1d11484c269ccbCq::v0.11.0.pre 18: 0x7f6e562f3230 - middle::trans::base::trans_item::h40a4f8eccf6f8e7eCSq::v0.11.0.pre 19: 0x7f6e564011b0 - middle::trans::base::trans_crate::h470bfcf3cac093e1JMr::v0.11.0.pre 20: 0x7f6e56c06570 - driver::driver::phase_4_translate_to_llvm::h2fa30f4b120cdb579Aq::v0.11.0.pre 21: 0x7f6e56bfd2b0 - driver::driver::compile_input::h1d313b682f9ead2bDeq::v0.11.0.pre 22: 0x7f6e56cca0c0 - driver::run_compiler::hcc8540f7b478ad28b0s::v0.11.0.pre 23: 0x7f6e56cc9fd0 - driver::main_args::closure.117522 24: 0x7f6e56cdf0f0 - task::TaskBuilder&lt;S&gt;::try_future::closure.118663 25: 0x7f6e56cded10 - task::TaskBuilder&lt;S&gt;::spawn_internal::closure.118640 26: 0x7f6e55d5c590 - task::spawn_opts::closure.7462 27: 0x7f6e55a5f290 - rust_try 28: 0x7f6e55a03500 - unwind::try::h800fde6f36f3558bBNd::v0.11.0.pre 29: 0x7f6e55a031e0 - task::Task::run::hf743f122a6385418XYc::v0.11.0.pre 30: 0x7f6e55d5c350 - task::spawn_opts::closure.7408 31: 0x7f6e55a05da0 - thread::thread_start::hd9510588dd47efddvld::v0.11.0.pre 32: 0x7f6e53311060 - start_thread 33: 0x7f6e556cd489 - __clone 34: 0x0 - &lt;unknown&gt; </code></pre></div>
1
<p dir="auto">While using scipy.optimize.linprog(method="highs"), I encountered a status message stating "The solver did not provide a solution nor did it report a failure" and asking for a bug report, which I am hereby writing :-)</p> <p dir="auto">As I have little experience in numerics, I make no claims about the qualities (feasibility, boundedness, etc) of the problem I was trying to solve. (I was trying to deactivate bounds I did not require by setting b_ub elements to a large value (100000.0). I have no idea if that is part of the problem.)</p> <h4 dir="auto">Reproducing code example:</h4> <p dir="auto">Please see the attached file for problem parameters: <a href="https://github.com/scipy/scipy/files/6221882/bug_reproducer.py.gz">bug_reproducer.py.gz</a> (Some 3MB uncompressed. As I have no idea what is causing the problem, I can not build a minimal reproducer, sorry).<br> Gist of the code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy, scipy.optimize c=... A_ub=... b_ub=... res=scipy.optimize.linprog(c=c, A_ub=A_ub, b_ub=b_ub, method='highs') print('status=', res.status) print('message=', res.message)"><pre class="notranslate"><code class="notranslate">import numpy, scipy.optimize c=... A_ub=... b_ub=... res=scipy.optimize.linprog(c=c, A_ub=A_ub, b_ub=b_ub, method='highs') print('status=', res.status) print('message=', res.message) </code></pre></div> <h4 dir="auto">Error message:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/philipp/.local/lib/python3.7/site-packages/scipy/optimize/_linprog_highs.py:317: OptimizeWarning: model_status is not optimal, using scaled_model_status instead. lb, ub, options) status= 4 message= The solver did not provide a solution nor did it report a failure. Please submit a bug report."><pre class="notranslate"><code class="notranslate">/home/philipp/.local/lib/python3.7/site-packages/scipy/optimize/_linprog_highs.py:317: OptimizeWarning: model_status is not optimal, using scaled_model_status instead. lb, ub, options) status= 4 message= The solver did not provide a solution nor did it report a failure. Please submit a bug report. </code></pre></div> <h4 dir="auto">Scipy/Numpy/Python version information:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info) 1.6.1 1.20.1 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">&gt;import sys, scipy, numpy; print(scipy.__version__, numpy.__version__, sys.version_info) 1.6.1 1.20.1 sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0) </code></pre></div> <p dir="auto">Thanks for your time,<br> Philipp</p>
<p dir="auto">My issue is about <code class="notranslate">scipy.optimize.linprog(c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, method='highs')</code> telling me to submit a bug report.</p> <h4 dir="auto">Reproducing code example:</h4> <p dir="auto">See minimal reproducer in a comment<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="815830537" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/13610" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/13610/hovercard?comment_id=785620302&amp;comment_type=issue_comment" href="https://github.com/scipy/scipy/issues/13610#issuecomment-785620302">#13610 (comment)</a></p> <h4 dir="auto">Error message:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/chn/env/lib/python3.8/site-packages/scipy/optimize/_linprog_highs.py:316: OptimizeWarning: model_status is not optimal, using scaled_model_status instead. res = _highs_wrapper(c, A.indptr, A.indices, A.data, lhs, rhs, The solver did not provide a solution nor did it report a failure. Please submit a bug report."><pre class="notranslate"><code class="notranslate">/home/chn/env/lib/python3.8/site-packages/scipy/optimize/_linprog_highs.py:316: OptimizeWarning: model_status is not optimal, using scaled_model_status instead. res = _highs_wrapper(c, A.indptr, A.indices, A.data, lhs, rhs, The solver did not provide a solution nor did it report a failure. Please submit a bug report. </code></pre></div> <h4 dir="auto">Scipy/Numpy/Python version information:</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.6.1 1.18.3 sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">1.6.1 1.18.3 sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0) </code></pre></div>
1
<h3 dir="auto">Bug summary</h3> <p dir="auto">SageMath project uses matplotlib for graphics. We are recently upgrading matplotlib to version 3.6. In this effort, we encountered a failure in this command:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="plot(2*x+1,(x,0,5), ticks=[[0,1,e,pi,sqrt(20)],2], tick_formatter=&quot;latex&quot;)"><pre class="notranslate"><span class="pl-en">plot</span>(<span class="pl-c1">2</span><span class="pl-c1">*</span><span class="pl-s1">x</span><span class="pl-c1">+</span><span class="pl-c1">1</span>,(<span class="pl-s1">x</span>,<span class="pl-c1">0</span>,<span class="pl-c1">5</span>), <span class="pl-s1">ticks</span><span class="pl-c1">=</span>[[<span class="pl-c1">0</span>,<span class="pl-c1">1</span>,<span class="pl-s1">e</span>,<span class="pl-s1">pi</span>,<span class="pl-en">sqrt</span>(<span class="pl-c1">20</span>)],<span class="pl-c1">2</span>], <span class="pl-s1">tick_formatter</span><span class="pl-c1">=</span><span class="pl-s">"latex"</span>)</pre></div> <p dir="auto">Here we use symbolic constants e, pi, sqrt(20) as major x-axis tick values. This worked very well up to now. But matplotlib version 3.6 fails this. I investigated the ultimate source of this failure.</p> <p dir="auto">We set the major tick locator as <code class="notranslate">FixedLocator</code> with the above symbolic values, and the minor tick locator to <code class="notranslate">NullLocator</code>. When matplotlib renders the plot, it tries to update minor tick values and calls <code class="notranslate">matplotlib.axis.get_minorticklocs()</code>, which is</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def get_minorticklocs(self): &quot;&quot;&quot;Return this Axis' minor tick locations in data coordinates.&quot;&quot;&quot; # Remove minor ticks duplicating major ticks. minor_locs = np.asarray(self.minor.locator()) if self.remove_overlapping_locs: major_locs = self.major.locator() transform = self._scale.get_transform() tr_minor_locs = transform.transform(minor_locs) tr_major_locs = transform.transform(major_locs) lo, hi = sorted(transform.transform(self.get_view_interval())) # Use the transformed view limits as scale. 1e-5 is the default # rtol for np.isclose. tol = (hi - lo) * 1e-5 mask = np.isclose(tr_minor_locs[:, None], tr_major_locs[None, :], atol=tol, rtol=0).any(axis=1) minor_locs = minor_locs[~mask] return minor_locs "><pre class="notranslate"> <span class="pl-k">def</span> <span class="pl-en">get_minorticklocs</span>(<span class="pl-s1">self</span>): <span class="pl-s">"""Return this Axis' minor tick locations in data coordinates."""</span> <span class="pl-c"># Remove minor ticks duplicating major ticks.</span> <span class="pl-s1">minor_locs</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>(<span class="pl-s1">self</span>.<span class="pl-s1">minor</span>.<span class="pl-en">locator</span>()) <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">remove_overlapping_locs</span>: <span class="pl-s1">major_locs</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">major</span>.<span class="pl-en">locator</span>() <span class="pl-s1">transform</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_scale</span>.<span class="pl-en">get_transform</span>() <span class="pl-s1">tr_minor_locs</span> <span class="pl-c1">=</span> <span class="pl-s1">transform</span>.<span class="pl-en">transform</span>(<span class="pl-s1">minor_locs</span>) <span class="pl-s1">tr_major_locs</span> <span class="pl-c1">=</span> <span class="pl-s1">transform</span>.<span class="pl-en">transform</span>(<span class="pl-s1">major_locs</span>) <span class="pl-s1">lo</span>, <span class="pl-s1">hi</span> <span class="pl-c1">=</span> <span class="pl-en">sorted</span>(<span class="pl-s1">transform</span>.<span class="pl-en">transform</span>(<span class="pl-s1">self</span>.<span class="pl-en">get_view_interval</span>())) <span class="pl-c"># Use the transformed view limits as scale. 1e-5 is the default</span> <span class="pl-c"># rtol for np.isclose.</span> <span class="pl-s1">tol</span> <span class="pl-c1">=</span> (<span class="pl-s1">hi</span> <span class="pl-c1">-</span> <span class="pl-s1">lo</span>) <span class="pl-c1">*</span> <span class="pl-c1">1e-5</span> <span class="pl-s1">mask</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">isclose</span>(<span class="pl-s1">tr_minor_locs</span>[:, <span class="pl-c1">None</span>], <span class="pl-s1">tr_major_locs</span>[<span class="pl-c1">None</span>, :], <span class="pl-s1">atol</span><span class="pl-c1">=</span><span class="pl-s1">tol</span>, <span class="pl-s1">rtol</span><span class="pl-c1">=</span><span class="pl-c1">0</span>).<span class="pl-en">any</span>(<span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-s1">minor_locs</span> <span class="pl-c1">=</span> <span class="pl-s1">minor_locs</span>[<span class="pl-c1">~</span><span class="pl-s1">mask</span>] <span class="pl-k">return</span> <span class="pl-s1">minor_locs</span> </pre></div> <p dir="auto">Note that <code class="notranslate">tr_minor_locs</code> is an empty numpy array and <code class="notranslate">tr_major_locs</code> contains our symbolic values. The line <code class="notranslate">mask = np.isclose(...)</code> raises an exception because it does not understand the symbolic values. This behavior is new due to code changes in <code class="notranslate">get_minorticklocs()</code> in matplotlib 3.6.</p> <p dir="auto">Note that as the minor tick locator is <code class="notranslate">NullLocator</code>, that is, empty. <code class="notranslate">get_minorticklocs()</code> has nothing to do here. So by this change</p> <div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- if self.remove_overlapping_locs: +++ if len(minor_locs) and and self.remove_overlapping_locs:"><pre class="notranslate"><span class="pl-md">--- if self.remove_overlapping_locs:</span> <span class="pl-mi1">+++ if len(minor_locs) and and self.remove_overlapping_locs:</span></pre></div> <p dir="auto">matplotlib can save unnecessary computation, and our problem in SageMath will be solved. So please consider this.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Explained in Bug summary"><pre class="notranslate"><span class="pl-v">Explained</span> <span class="pl-c1">in</span> <span class="pl-v">Bug</span> <span class="pl-s1">summary</span></pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto">Explained in Bug summary</p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">Explained in Bug summary</p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.6</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Python version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto">Setting <code class="notranslate">mec='none'</code> removes the entire marker when exporting to PNG. See attached MWE and compare PDF and PNG output. May be related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2531453" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/621" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/621/hovercard" href="https://github.com/matplotlib/matplotlib/issues/621">#621</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="46353486" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/3687" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/3687/hovercard" href="https://github.com/matplotlib/matplotlib/pull/3687">#3687</a></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np from matplotlib import pyplot as plt x = np.random.random(10) y = np.random.random(10) plt.clf() plt.plot(x, y, 'o', mec='none') plt.savefig('test.pdf') plt.savefig('test.png')"><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">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>(<span class="pl-c1">10</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>(<span class="pl-c1">10</span>) <span class="pl-s1">plt</span>.<span class="pl-en">clf</span>() <span class="pl-s1">plt</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s">'o'</span>, <span class="pl-s1">mec</span><span class="pl-c1">=</span><span class="pl-s">'none'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'test.pdf'</span>) <span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'test.png'</span>)</pre></div>
0
<h1 dir="auto">Description of the new feature/enhancement</h1> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51432728/66457204-a1f73100-ea91-11e9-81e1-f25768f8aaa5.png"><img src="https://user-images.githubusercontent.com/51432728/66457204-a1f73100-ea91-11e9-81e1-f25768f8aaa5.png" alt="Screenshot (7)" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51432728/66457209-a4f22180-ea91-11e9-9e37-df116a8d7077.png"><img src="https://user-images.githubusercontent.com/51432728/66457209-a4f22180-ea91-11e9-9e37-df116a8d7077.png" alt="Screenshot (5)" style="max-width: 100%;"></a></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.0 Windows Terminal version (if applicable): 0.6.2951.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Windows Terminal version (if applicable): 0.6.2951.0 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Start Windows Terminal</li> <li>Drag window to other screen (which happens to run at a different DPI/scaling setting)</li> <li><strong>Terminal exits</strong> :-/</li> </ul> <p dir="auto">My first screen (on which Terminal initially opened) is set 150% scaling, the second one (on which Terminal dies) is at 100%.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Terminal should continue working on other screen.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">After releasing the drag&amp;drop operation the window briefly (~1s) seems to be usable, but then it just closes.</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=paulm" rel="nofollow">Paul Middelkoop</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8494?redirect=false" rel="nofollow">SPR-8494</a></strong> and commented</p> <p dir="auto">I have <code class="notranslate">@Configuration</code> Spring configuration with <code class="notranslate">@EnableTransactionManagement</code> and a <code class="notranslate">@ImportResource</code>. In the imported resource I use cache:annotation-driven/. This results in: java.lang.IllegalArgumentException: Class name [null] is not a known auto-proxy creator class</p> <p dir="auto">When I use &lt;tx:annotation-driven /&gt; instead of <code class="notranslate">@EnableTransactionManagement</code> everything works fine.</p> <p dir="auto">Problem also exists in nightly build of June 27th.</p> <p dir="auto">Complete stacktrace:<br> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class name [null] is not a known auto-proxy creator class<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)<br> at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromImportedResources(ConfigurationClassBeanDefinitionReader.java:293)<br> at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:118)<br> at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:105)<br> at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:264)<br> at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigurationClasses(ConfigurationClassPostProcessor.java:199)<br> at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:175)<br> at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:617)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)<br> at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:102)<br> at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1)<br> at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:124)<br> at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:149)<br> ... 24 more<br> Caused by: java.lang.IllegalArgumentException: Class name [null] is not a known auto-proxy creator class<br> at org.springframework.aop.config.AopConfigUtils.findPriorityForClass(AopConfigUtils.java:140)<br> at org.springframework.aop.config.AopConfigUtils.registerOrEscalateApcAsRequired(AopConfigUtils.java:113)<br> at org.springframework.aop.config.AopConfigUtils.registerAutoProxyCreatorIfNecessary(AopConfigUtils.java:74)<br> at org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNecessary(AopNamespaceUtils.java:58)<br> at org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser$AopAutoProxyConfigurer.configureAutoProxyCreator(AnnotationDrivenCacheBeanDefinitionParser.java:109)<br> at org.springframework.cache.config.AnnotationDrivenCacheBeanDefinitionParser.parse(AnnotationDrivenCacheBeanDefinitionParser.java:67)<br> at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)<br> at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1414)<br> at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1404)<br> at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)<br> at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)<br> at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)<br> ... 41 more</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="398112768" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13058" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13058/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13058">#13058</a> <code class="notranslate">@EnableTransactionManagement</code> does not handle APC escalation (<em><strong>"duplicates"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398114794" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13375" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13375/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13375">#13375</a> Unable to use <code class="notranslate">@EnableTransactionManagement</code> along with &lt;cache:annotation-driven /&gt; (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=hannes.schmidt" rel="nofollow">Hannes Schmidt</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8662?redirect=false" rel="nofollow">SPR-8662</a></strong> and commented</p> <p dir="auto">The basic problem is that UriTemplate first substitutes the template variables into a single string and then encodes that string as a whole using URIUtils. This simply can't work reliably because the substitution could produce a string that is impossible to parse using a regular expression for URLs. For example, the following template</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="http://foo.com/things/{thingId}"><pre class="notranslate"><code class="notranslate">http://foo.com/things/{thingId} </code></pre></div> <p dir="auto">with the following value for thingId</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a/b"><pre class="notranslate"><code class="notranslate">a/b </code></pre></div> <p dir="auto">produces the following string after substitution</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="http://foo.com/things/a/b"><pre class="notranslate"><code class="notranslate">http://foo.com/things/a/b </code></pre></div> <p dir="auto">When URIUtil does not encode the / between a and b because it takes the slash literally. This is what I would expect in this case:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="http://foo.com/things/a%2Fb"><pre class="notranslate"><code class="notranslate">http://foo.com/things/a%2Fb </code></pre></div> <p dir="auto">The reason we have URL-encoding is so we can embed any string into a URL without breaking it. But we need to encode the embedded string BEFORE we embed it. We can't expect URIUtils to be able to fix a URL that we broke by embedding an unencoded string.</p> <p dir="auto">Now, depending on where we embed a string into a URL certain characters loose their special meaning. The slash, for example, has no special meaning in the query part. If we want to produce URLs without redundantly encoded parts, we need to take the context into account. Nevertheless, it is always safe to encode all special characters in each embedded string and that would be a simple fix.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.5</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112692" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13050" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13050/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13050">#13050</a> UriTemplate doesn't encode query parameters</li> <li><a href="https://jira.spring.io/browse/INT-2569" rel="nofollow">INT-2569</a> Refactor HttpOutboundGateway to mitigate breaking changes due to UriTemplate changes in Spring 3.1</li> </ul>
0
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schwatvogel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schwatvogel">@schwatvogel</a> on 2016-09-30T12:52:18Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">ansible-modules-core/packaging/os/rpm_key.py</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.0.0"><pre class="notranslate"><code class="notranslate">ansible 2.1.0.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">not relevant</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A<br> Redhat/Centos rpm-based</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Function is_key_imported does not work reliably because<br> Function getkeyid only extracts the last part of the first signature packet,<br> therefore the key will be imported on every ansible run</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Install the Mono gpg key (from the Ubuntu keyserver, as per official docu):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="http://keyserver.ubuntu.com/pks/lookup?op=get&amp;search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"><pre class="notranslate"><code class="notranslate">http://keyserver.ubuntu.com/pks/lookup?op=get&amp;search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF </code></pre></div> <p dir="auto">Short Summary:<br> <code class="notranslate">getkeyid()</code> essentially runs<br> <code class="notranslate">gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets /tmp/key.1 |grep signature</code><br> And returns the last 8 characters of the first key id it finds.</p> <p dir="auto">Then <code class="notranslate">is_key_imported()</code> runs<br> <code class="notranslate">rpm -qa gpg-pubkey</code> and matches the keyid against the first key part of the filename:<br> gpg-pubkey-<strong>d3d831ef</strong>-53dfa827</p> <p dir="auto">This does'nt work with the Mono key because<br> <code class="notranslate">gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets /tmp/key.1 |grep signature</code><br> returns:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=":signature packet: algo 1, keyid C90F9CB90E1FAD0C :signature packet: algo 1, keyid A6A19B38D3D831EF :signature packet: algo 1, keyid A6A19B38D3D831EF"><pre class="notranslate"><code class="notranslate">:signature packet: algo 1, keyid C90F9CB90E1FAD0C :signature packet: algo 1, keyid A6A19B38D3D831EF :signature packet: algo 1, keyid A6A19B38D3D831EF </code></pre></div> <p dir="auto">and so the last 8 characters of the second keyid match the first 8 character set of the rpm key information</p> <p dir="auto">Perhaps verifying the Fingerprint of the keys, or verify the full key ids(patch following):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--- rpm_key.py 2016-09-30 13:38:31.000000000 +0200 +++ new_rpm_key.py 2016-09-30 14:49:18.000000000 +0200 @@ -149,33 +149,27 @@ stdout, stderr = self.execute_command([gpg, '--no-tty', '--batch', '--with-colons', '--fixed-list-mode', '--list-packets', keyfile]) for line in stdout.splitlines(): line = line.strip() - if line.startswith(':signature packet:'): - # We want just the last 8 characters of the keyid - keyid = line.split()[-1].strip()[8:] + if &quot;keyid:&quot; in line: + keyid = line.split()[-1] return keyid self.json_fail(msg=&quot;Unexpected gpg output&quot;) def is_keyid(self, keystr): &quot;&quot;&quot;Verifies if a key, as provided by the user is a keyid&quot;&quot;&quot; - return re.match('(0x)?[0-9a-f]{8}', keystr, flags=re.IGNORECASE) + return re.match('(0x)?[0-9a-f]{16}', keystr, flags=re.IGNORECASE) def execute_command(self, cmd): - rc, stdout, stderr = self.module.run_command(cmd) + rc, stdout, stderr = self.module.run_command(cmd,use_unsafe_shell=True) if rc != 0: self.module.fail_json(msg=stderr) return stdout, stderr def is_key_imported(self, keyid): - stdout, stderr = self.execute_command([self.rpm, '-qa', 'gpg-pubkey']) + cmd=self.rpm+' -q gpg-pubkey --qf &quot;%{description}&quot; | gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets -' + stdout, stderr = self.execute_command(cmd) for line in stdout.splitlines(): - line = line.strip() - if not line: - continue - match = re.match('gpg-pubkey-([0-9a-f]+)-([0-9a-f]+)', line) - if not match: - self.module.fail_json(msg=&quot;rpm returned unexpected output [%s]&quot; % line) - else: - if keyid == match.group(1): + if &quot;keyid: &quot; in line: + if keyid.upper() == line.split()[-1].upper(): return True return False```"><pre class="notranslate"><code class="notranslate">--- rpm_key.py 2016-09-30 13:38:31.000000000 +0200 +++ new_rpm_key.py 2016-09-30 14:49:18.000000000 +0200 @@ -149,33 +149,27 @@ stdout, stderr = self.execute_command([gpg, '--no-tty', '--batch', '--with-colons', '--fixed-list-mode', '--list-packets', keyfile]) for line in stdout.splitlines(): line = line.strip() - if line.startswith(':signature packet:'): - # We want just the last 8 characters of the keyid - keyid = line.split()[-1].strip()[8:] + if "keyid:" in line: + keyid = line.split()[-1] return keyid self.json_fail(msg="Unexpected gpg output") def is_keyid(self, keystr): """Verifies if a key, as provided by the user is a keyid""" - return re.match('(0x)?[0-9a-f]{8}', keystr, flags=re.IGNORECASE) + return re.match('(0x)?[0-9a-f]{16}', keystr, flags=re.IGNORECASE) def execute_command(self, cmd): - rc, stdout, stderr = self.module.run_command(cmd) + rc, stdout, stderr = self.module.run_command(cmd,use_unsafe_shell=True) if rc != 0: self.module.fail_json(msg=stderr) return stdout, stderr def is_key_imported(self, keyid): - stdout, stderr = self.execute_command([self.rpm, '-qa', 'gpg-pubkey']) + cmd=self.rpm+' -q gpg-pubkey --qf "%{description}" | gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets -' + stdout, stderr = self.execute_command(cmd) for line in stdout.splitlines(): - line = line.strip() - if not line: - continue - match = re.match('gpg-pubkey-([0-9a-f]+)-([0-9a-f]+)', line) - if not match: - self.module.fail_json(msg="rpm returned unexpected output [%s]" % line) - else: - if keyid == match.group(1): + if "keyid: " in line: + if keyid.upper() == line.split()[-1].upper(): return True return False``` </code></pre></div> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180296600" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/5103" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/5103/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/5103">ansible/ansible-modules-core#5103</a></p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">ansible/modules/packaging/os/rpm_key.py</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"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">not relevant</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A<br> Redhat/Centos rpm-based</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Function is_key_imported does not work reliably because<br> Function getkeyid only extracts the last part of the first signature packet,ignoring the significant other ids<br> therefore the key will be imported on every ansible run</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Install the Mono gpg key (from the Ubuntu keyserver, as per official docu):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="http://keyserver.ubuntu.com/pks/lookup?op=get&amp;search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"><pre class="notranslate"><code class="notranslate">http://keyserver.ubuntu.com/pks/lookup?op=get&amp;search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF </code></pre></div> <h6 dir="auto">Short Summary:</h6> <p dir="auto"><code class="notranslate">getkeyid()</code> essentially runs<br> <code class="notranslate">gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets /tmp/key.1 |grep signature</code><br> And returns the last 8 characters of the first key id it finds:<br> <code class="notranslate">90E1FAD0C</code><br> instead of all keyids in this package:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C90F9CB90E1FAD0C 01150A655BBD8102 A6A19B38D3D831EF A6A19B38D3D831EF"><pre class="notranslate"><code class="notranslate">C90F9CB90E1FAD0C 01150A655BBD8102 A6A19B38D3D831EF A6A19B38D3D831EF </code></pre></div> <p dir="auto">Then <code class="notranslate">is_key_imported()</code> runs<br> <code class="notranslate">rpm -qa gpg-pubkey</code> and matches the keyid against the first key part of the filename:<br> gpg-pubkey-<strong>d3d831ef</strong>-53dfa827</p> <p dir="auto">This does'nt work with the Mono key because the partial keyid in the filename is from the second keyid in the key</p> <h5 dir="auto">Possible Solutions:</h5> <p dir="auto">Perhaps verifying the Fingerprint of the keys, or<br> verify the full key ids:<br> Fetching the full 16 Character key-ids (all of them not just the first)<br> and verify them against all installed key ids (not just rpm names)<br> by listing all installed gpgkeys and extracting the keyids in the same way, as the are extracted from the reference keys:<br> <code class="notranslate">rpm -qa gpg-pubkey --qf "%{description}"| gpg --no-tty --batch --with-colons --fixed-list-mode --list-packets -</code></p>
1
<p dir="auto">Hello,</p> <p dir="auto">There is an issue where the tooltip gets cut off when inside of a modal. Please refer to this JSFiddle to see the behavior.</p> <p dir="auto">I would expect the tooltip to show over the modal-shadow.</p> <p dir="auto"><a href="http://jsfiddle.net/zk7dF/38/" rel="nofollow">http://jsfiddle.net/zk7dF/38/</a></p> <p dir="auto">Best regards,<br> Andrew</p>
<p dir="auto">With Bootstrap 2.0.3, tooltips were appended to the document body and so they weren't constrained to their parent container</p> <p dir="auto">Bootstrap 2.0.3: <a href="http://jsfiddle.net/TwMdK/1/" rel="nofollow">http://jsfiddle.net/TwMdK/1/</a></p> <p dir="auto">With Bootstrap 2.2.2, tooltips are now appended to their parent container and this can cause tooltips to appear "chopped off"</p> <p dir="auto">Bootstrap 2.2.2: <a href="http://jsfiddle.net/VWVsV/2/" rel="nofollow">http://jsfiddle.net/VWVsV/2/</a></p>
1
<p dir="auto"><a href="https://sourceforge.net/tracker/?func=detail&amp;aid=3085006&amp;group_id=80706&amp;atid=560723" rel="nofollow">Original report at SourceForge, opened Sun Oct 10 22:25:55 2010</a></p> <p dir="auto">This would probably be in mlab. I haven't checked but the count plotting functions probably use a private function similar to contourc behind the scenes. Having access to this would be great. Currently I am creating a figure. drawing a contour plot, than closing the figure.</p>
<h3 dir="auto">Bug report</h3> <p dir="auto">Only the first bar in barplot has border when edgecolor is a single value.</p> <p dir="auto"><strong>Bug summary</strong></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 matplotlib.pyplot as plt def main(): fig = plt.figure() ax = plt.gca() data = list(range(5, 10)) ax.bar(data, data, width=0.5, align=&quot;edge&quot;, linewidth=2, edgecolor=&quot;k&quot;, facecolor=&quot;m&quot;) plt.show() if __name__ == '__main__': main()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">def</span> <span class="pl-en">main</span>(): <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">gca</span>() <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">5</span>, <span class="pl-c1">10</span>)) <span class="pl-s1">ax</span>.<span class="pl-en">bar</span>(<span class="pl-s1">data</span>, <span class="pl-s1">data</span>, <span class="pl-s1">width</span><span class="pl-c1">=</span><span class="pl-c1">0.5</span>, <span class="pl-s1">align</span><span class="pl-c1">=</span><span class="pl-s">"edge"</span>, <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">edgecolor</span><span class="pl-c1">=</span><span class="pl-s">"k"</span>, <span class="pl-s1">facecolor</span><span class="pl-c1">=</span><span class="pl-s">"m"</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</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"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/900941/33040920-97d81072-ce0a-11e7-8bcb-1f5b24f0934b.png"><img src="https://user-images.githubusercontent.com/900941/33040920-97d81072-ce0a-11e7-8bcb-1f5b24f0934b.png" alt="screen shot 2017-11-20 at 15 50 34" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/900941/33040975-c655e05a-ce0a-11e7-9709-8b977428aa5f.png"><img src="https://user-images.githubusercontent.com/900941/33040975-c655e05a-ce0a-11e7-9709-8b977428aa5f.png" alt="screen shot 2017-11-20 at 15 51 51" style="max-width: 100%;"></a></p> <p dir="auto">I can work around the issue by specifying a list of edgecolors and linewidths for each bar. Specifying only the list of linewidths for each bar and leaving one value for the edgecolor would only show a border of the first bar due to this code in the Patch.draw:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" lw = self._linewidth if self._edgecolor[3] == 0: lw = 0"><pre class="notranslate"> <span class="pl-s1">lw</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_linewidth</span> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">_edgecolor</span>[<span class="pl-c1">3</span>] <span class="pl-c1">==</span> <span class="pl-c1">0</span>: <span class="pl-s1">lw</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span></pre></div> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Linux</li> <li>Matplotlib version: 2.1.0</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): TkAgg</li> <li>Python version: Python 3.6.2</li> </ul> <p dir="auto">I installed matplotlib using conda. But I am not sure from which channel.</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.2</li> <li>Operating System / Platform =&gt; Haiku</li> <li>Compiler =&gt; GCC 7.3.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Testlogs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[----------] 1 test from Core_globbing [ RUN ] Core_globbing.accuracy /sources/opencv-3.4.2/modules/core/test/test_io.cpp:552: Failure Expected: (lenas.size()) &gt; (pngLenas.size()), actual: 0 vs 0 [ FAILED ] Core_globbing.accuracy (0 ms) [----------] 1 test from Core_globbing (0 ms total)"><pre class="notranslate"><code class="notranslate">[----------] 1 test from Core_globbing [ RUN ] Core_globbing.accuracy /sources/opencv-3.4.2/modules/core/test/test_io.cpp:552: Failure Expected: (lenas.size()) &gt; (pngLenas.size()), actual: 0 vs 0 [ FAILED ] Core_globbing.accuracy (0 ms) [----------] 1 test from Core_globbing (0 ms total) </code></pre></div> <p dir="auto">This is not the only failing test.</p> <p dir="auto">Current recipe: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="347670882" data-permission-text="Title is private" data-url="https://github.com/haikuports/haikuports/issues/2891" data-hovercard-type="pull_request" data-hovercard-url="/haikuports/haikuports/pull/2891/hovercard" href="https://github.com/haikuports/haikuports/pull/2891">haikuports/haikuports#2891</a></p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">I did an out of tree build. As far as i can see, the testcases cannot find the assets file, thus fails. (But unsure)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mkdir build_haiku &amp;&amp; cd build_haiku cmake .. make test"><pre class="notranslate"><code class="notranslate">mkdir build_haiku &amp;&amp; cd build_haiku cmake .. make test </code></pre></div>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; :3.4.1 and 4.1.0 Tested</li> <li>Operating System / Platform =&gt;Windows 7/</li> <li>Compiler =&gt; : Visual studio 2017 pro</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Hi. I'm using opencv multiple projects. But I have a problem with using opencv.<br> When i use opencv, Opencv maeks memory leaks on debug mode, actually not real leak but false leak alarm.</p> <p dir="auto">Here is the leak script.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/41726365/58147271-b8dce880-7c94-11e9-95e7-dae1bd51af5b.PNG"><img src="https://user-images.githubusercontent.com/41726365/58147271-b8dce880-7c94-11e9-95e7-dae1bd51af5b.PNG" alt="cap" style="max-width: 100%;"></a></p> <p dir="auto">From searching, I found the sites(<a href="http://www.pklab.com/index.php?lang=EN&amp;id=397" rel="nofollow">http://www.pklab.com/index.php?lang=EN&amp;id=397</a>) so I applied the method that using delay loaded DLL, but it does not work.<br> (I cannnot use "Static link for MFC" because of my project environments.)</p> <p dir="auto">I know that this is not real leak but when i'm using debugging mode, it makes me annoying.<br> How can I fix this problem??</p> <p dir="auto">Project Properties &gt; Configuration Properties &gt; Debugging&gt; Environment &gt; PATH=D:\Downloads\opencv\build\x64\vc15\bin;%PATH%<br> Project Properties &gt; Configuration Properties &gt; C/C++&gt;General &gt;Additional Include Directories &gt; D:\Downloads\opencv\build\include<br> Project Properties &gt; Configuration Properties &gt; Linker &gt; General &gt; Additional Library Directories &gt; D:\Downloads\opencv\build\x64\vc15\lib<br> Project Properties &gt; Configuration Properties &gt; Linker &gt; Input &gt; Additional Dependencies &gt; opencv_world410d.lib<br> Project Properties &gt; Configuration Properties &gt; Linker &gt; Input &gt; Delay Loaded Dlls &gt; opencv_world410d.dll</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">This is not my project code but it is same false leak using opencv.</p> <p dir="auto">// Here is the code<br> #include &lt;opencv2/highgui.hpp&gt;<br> #include &lt;opencv2/imgproc.hpp&gt;<br> #include </p> <p dir="auto">using namespace cv;<br> using namespace std;</p> <p dir="auto">#include &lt;stdlib.h&gt;<br> #include &lt;crtdbg.h&gt;</p> <p dir="auto">int main(int argc, char** argv)<br> {<br> Mat img_original, img_gray;<br> //Image Load<br> img_original = imread("1.jpg", IMREAD_COLOR);<br> if (img_original.empty())<br> {<br> cout &lt;&lt; "Could not open or find the image" &lt;&lt; std::endl;<br> return -1;<br> }</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cout &lt;&lt; &quot;Open CV Version : &quot; &lt;&lt; CV_VERSION &lt;&lt; std::endl; //Create Window namedWindow(&quot;original image&quot;, WINDOW_AUTOSIZE); //Show in Window imshow(&quot;original image&quot;, img_original); waitKey(0); _CrtDumpMemoryLeaks(); return 0;"><pre class="notranslate"><code class="notranslate">cout &lt;&lt; "Open CV Version : " &lt;&lt; CV_VERSION &lt;&lt; std::endl; //Create Window namedWindow("original image", WINDOW_AUTOSIZE); //Show in Window imshow("original image", img_original); waitKey(0); _CrtDumpMemoryLeaks(); return 0; </code></pre></div> <p dir="auto">}</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.1.2</li> <li>Operating System / Platform =&gt; ubuntu 18.04 64bit</li> <li>Compiler =&gt; python</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I'm tying to use opencvd dnn module to run deeplabV3 model. I use the frozen pb file download <a href="https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/model_zoo.md">here</a> and get error like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cv2.error: OpenCV(4.1.2) /io/opencv/modules/dnn/src/tensorflow/tf_graph_simplifier.cpp:90: error: (-212:Parsing error) Input node with name MobilenetV2/expanded_conv_1/output not found in function 'getInputNodeId'"><pre class="notranslate"><code class="notranslate">cv2.error: OpenCV(4.1.2) /io/opencv/modules/dnn/src/tensorflow/tf_graph_simplifier.cpp:90: error: (-212:Parsing error) Input node with name MobilenetV2/expanded_conv_1/output not found in function 'getInputNodeId' </code></pre></div> <p dir="auto">But I can find this layer <code class="notranslate">MobilenetV2/expanded_conv_1/output</code> if I use <a href="https://lutzroeder.github.io/netron/" rel="nofollow">Netron</a> to open this model.</p> <p dir="auto">Then I use <a href="https://github.com/onnx/tensorflow-onnx">tf2onnx</a> to conver this frozen file to onnx model since I think opencv may be more compatible with onnx models. But I still get error like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cv2.error: OpenCV(4.1.2) /io/opencv/modules/dnn/src/onnx/onnx_importer.cpp:155: error: (-210:Unsupported format or combination of formats) Unsupported data type: INT32 in function 'getMatFromTensor'"><pre class="notranslate"><code class="notranslate">cv2.error: OpenCV(4.1.2) /io/opencv/modules/dnn/src/onnx/onnx_importer.cpp:155: error: (-210:Unsupported format or combination of formats) Unsupported data type: INT32 in function 'getMatFromTensor' </code></pre></div> <p dir="auto">It seems this model contains data types which is not supported by opencv onnx importer and it may be hard to enable this model in onnx format with this gap. But do you have any suggestion about how to enable the frozen tensorflow model?</p> <p dir="auto">I put the two models <a href="https://drive.google.com/drive/u/1/folders/1rdUqitvMXmbWrlyr3V5VzFZoTNs7kN3Q" rel="nofollow">here</a>, please tell me if you need any further information, thanks.</p> <h5 dir="auto">Steps to reproduce</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import cv2 as cv net = cv.readNet('deeplabV3.pb') // net = cv.readNet('deeplabV3.onnx')"><pre class="notranslate"><code class="notranslate">import cv2 as cv net = cv.readNet('deeplabV3.pb') // net = cv.readNet('deeplabV3.onnx') </code></pre></div>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; Latest master(4.0.1-dev)</li> <li>Operating System / Platform =&gt; Raspbian Stretch</li> <li>Compiler =&gt; gcc-6.3.0 native</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Hi, I'm experimenting with custom Implementation of OpenCL, <a href="https://github.com/doe300/VC4CL">VC4CL</a> i.e. an implementation of the OpenCL 1.2 standard for the VideoCore IV GPU found on my Raspberry Pi. I'm experiencing segmentation fault when trying to utilize <code class="notranslate">DNN_TARGET_OPENCL</code> and <code class="notranslate">DNN_TARGET_OPENCL_FP16</code> i.e. <code class="notranslate">net.setPreferableTarget</code> (to exploit its GPU for performance) with default yolov3(I need extra swap space to run it) prebuilt models to classify objects in an image. Here is the resultant error:(Similar error <a href="https://github.com/opencv/opencv/issues/10731" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/10731/hovercard">here</a>)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pi@raspberrypi:~/yolo $ sudo python3 yolo3.py load model time is 2.7082722187042236 OpenCV(ocl4dnn): consider to specify kernel configuration cache directory via OPENCV_OCL4DNN_CONFIG_PATH parameter. OpenCL program build log: dnn/dummy Status -15: CL_COMPILE_PROGRAM_FAILURE -cl-no-subgroup-ifp [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: unknown argument: '-cl-no-subgroup-ifp' OpenCL program build log: dnn/conv_layer_spatial Status -15: CL_COMPILE_PROGRAM_FAILURE -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=3 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1 [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: PCH file uses a newer PCH format that cannot be read 1 error generated. Failed to compile kernel: BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1, buildflags: -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=3 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1, errmsg: [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: PCH file uses a newer PCH format that cannot be read 1 error generated. Segmentation fault"><pre class="notranslate"><code class="notranslate">pi@raspberrypi:~/yolo $ sudo python3 yolo3.py load model time is 2.7082722187042236 OpenCV(ocl4dnn): consider to specify kernel configuration cache directory via OPENCV_OCL4DNN_CONFIG_PATH parameter. OpenCL program build log: dnn/dummy Status -15: CL_COMPILE_PROGRAM_FAILURE -cl-no-subgroup-ifp [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: unknown argument: '-cl-no-subgroup-ifp' OpenCL program build log: dnn/conv_layer_spatial Status -15: CL_COMPILE_PROGRAM_FAILURE -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=3 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1 [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: PCH file uses a newer PCH format that cannot be read 1 error generated. Failed to compile kernel: BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1, buildflags: -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn3_g1_s1x1_d1x1_b1_in256x256_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=3 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1, errmsg: [E] Mon Feb 18 16:02:55 2019: Errors in precompilation: [E] Mon Feb 18 16:02:55 2019: error: PCH file uses a newer PCH format that cannot be read 1 error generated. Segmentation fault </code></pre></div> <p dir="auto">and</p> <p dir="auto">Here is the clinfo output of VC4CL'sOpenCL Implementation on my Raspberry Pi 3B rev 1.2:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pi@raspberrypi:~/yolo $ sudo clinfo Number of platforms 1 Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Platform Vendor doe300 Platform Version OpenCL 1.2 VC4CL 0.4 Platform Profile EMBEDDED_PROFILE Platform Extensions cl_khr_il_program cl_khr_spir cl_altera_device_temperature cl_altera_live_object_tracking cl_khr_icd cl_vc4cl_performance_counters Platform Extensions function suffix VC4CL Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Number of devices 1 Device Name VideoCore IV GPU Device Vendor Broadcom Device Vendor ID 0xa5c Device Version OpenCL 1.2 VC4CL 0.4 Driver Version 0.4 Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile EMBEDDED_PROFILE Max compute units 1 Max clock frequency 350MHz Device Partition (core) Max number of sub-devices 0 Supported partition types None Max work item dimensions 3 Max work item sizes 12x12x12 Max work group size 12 Preferred work group size multiple &lt;getWGsizes:498: build program : error -15&gt; Preferred / native vector sizes char 16 / 16 short 16 / 16 int 16 / 16 long 0 / 0 half 0 / 0 (n/a) float 16 / 16 double 0 / 0 (n/a) Half-precision Floating-point support (n/a) Single-precision Floating-point support (core) Denormals No Infinity and NANs No Round to nearest No Round to zero Yes Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Double-precision Floating-point support (n/a) Address bits 32, Little-Endian Global memory size 335544320 (320MiB) Error Correction support No Max memory allocation 335544320 (320MiB) Unified memory for Host and Device Yes Minimum alignment for any data type 64 bytes Alignment of base address 512 bits (64 bytes) Global Memory cache type Read/Write Global Memory cache size &lt;printDeviceInfo:89: get CL_DEVICE_GLOBAL_MEM_CACHE_SIZE : error -30&gt; Global Memory cache line 64 bytes Image support Yes Max number of samplers per kernel 64 Max size for 1D images from buffer 2048 pixels Max 1D or 2D image array size 2048 images Max 2D image size 2048x2048 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 64 Max number of write image args 64 Local memory type Global Local memory size 335544320 (320MiB) Max constant buffer size 335544320 (320MiB) Max number of constant args 64 Max size of kernel argument 256 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 1ns Execution capabilities Run OpenCL kernels Yes Run native kernels No printf() buffer size 0 Built-in kernels Device Available Yes Compiler Available Yes Linker Available No Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_intel_packed_yuv cl_nv_pragma_unroll cl_arm_core_id cl_ext_atomic_counters_32 cl_khr_initialize_memory cl_arm_integer_dot_product_int8 cl_arm_integer_dot_product_accumulate_int8 cl_arm_integer_dot_product_accumulate_int16 NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) OpenCL for the Raspberry Pi VideoCore IV GPU clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [VC4CL] clCreateContext(NULL, ...) [default] Success [VC4CL] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Device Name VideoCore IV GPU clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1) Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Device Name VideoCore IV GPU ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.11 ICD loader Profile OpenCL 2.1 "><pre class="notranslate"><code class="notranslate">pi@raspberrypi:~/yolo $ sudo clinfo Number of platforms 1 Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Platform Vendor doe300 Platform Version OpenCL 1.2 VC4CL 0.4 Platform Profile EMBEDDED_PROFILE Platform Extensions cl_khr_il_program cl_khr_spir cl_altera_device_temperature cl_altera_live_object_tracking cl_khr_icd cl_vc4cl_performance_counters Platform Extensions function suffix VC4CL Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Number of devices 1 Device Name VideoCore IV GPU Device Vendor Broadcom Device Vendor ID 0xa5c Device Version OpenCL 1.2 VC4CL 0.4 Driver Version 0.4 Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile EMBEDDED_PROFILE Max compute units 1 Max clock frequency 350MHz Device Partition (core) Max number of sub-devices 0 Supported partition types None Max work item dimensions 3 Max work item sizes 12x12x12 Max work group size 12 Preferred work group size multiple &lt;getWGsizes:498: build program : error -15&gt; Preferred / native vector sizes char 16 / 16 short 16 / 16 int 16 / 16 long 0 / 0 half 0 / 0 (n/a) float 16 / 16 double 0 / 0 (n/a) Half-precision Floating-point support (n/a) Single-precision Floating-point support (core) Denormals No Infinity and NANs No Round to nearest No Round to zero Yes Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Correctly-rounded divide and sqrt operations No Double-precision Floating-point support (n/a) Address bits 32, Little-Endian Global memory size 335544320 (320MiB) Error Correction support No Max memory allocation 335544320 (320MiB) Unified memory for Host and Device Yes Minimum alignment for any data type 64 bytes Alignment of base address 512 bits (64 bytes) Global Memory cache type Read/Write Global Memory cache size &lt;printDeviceInfo:89: get CL_DEVICE_GLOBAL_MEM_CACHE_SIZE : error -30&gt; Global Memory cache line 64 bytes Image support Yes Max number of samplers per kernel 64 Max size for 1D images from buffer 2048 pixels Max 1D or 2D image array size 2048 images Max 2D image size 2048x2048 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 64 Max number of write image args 64 Local memory type Global Local memory size 335544320 (320MiB) Max constant buffer size 335544320 (320MiB) Max number of constant args 64 Max size of kernel argument 256 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 1ns Execution capabilities Run OpenCL kernels Yes Run native kernels No printf() buffer size 0 Built-in kernels Device Available Yes Compiler Available Yes Linker Available No Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_intel_packed_yuv cl_nv_pragma_unroll cl_arm_core_id cl_ext_atomic_counters_32 cl_khr_initialize_memory cl_arm_integer_dot_product_int8 cl_arm_integer_dot_product_accumulate_int8 cl_arm_integer_dot_product_accumulate_int16 NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) OpenCL for the Raspberry Pi VideoCore IV GPU clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [VC4CL] clCreateContext(NULL, ...) [default] Success [VC4CL] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Device Name VideoCore IV GPU clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1) Platform Name OpenCL for the Raspberry Pi VideoCore IV GPU Device Name VideoCore IV GPU ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.11 ICD loader Profile OpenCL 2.1 </code></pre></div> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">I'm using following example:<br> <a href="https://github.com/opencv/opencv/files/2875253/yolo.txt">yolo.txt</a></p> <p dir="auto">Btw It runs fine with CPU backend. Any help regarding is highly appreciated.</p>
0
<h1 dir="auto">Addition of Everything search and reduce memory consumption of power launcher</h1> <h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">Like the little tool TypingAid that is a complied version of an AutoHotKey script, it would be great if Windows had the ability to build up words lists of previously typed words and prompt them as typing - anywhere.</p> <p dir="auto">This would be a great little PowerToys tool.</p> <p dir="auto">If you'd like to see this feature implemented, add a 👍 reaction to this post.</p>
0
<h3 dir="auto">Input Code</h3> <p dir="auto">See <a href="https://github.com/nikosandronikos/babel-issue">https://github.com/nikosandronikos/babel-issue</a> for a minimal test case</p> <p dir="auto">The following construct results in class <code class="notranslate">A</code> having no methods on it's prototype when built with babel-preset-es2015.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const MixinName = superclass =&gt; class extends superclass { constructor() { super(); this.name = 'Zorg'; } getName() { return this.name; } } class A extends MixinName(Object) { constructor() { super(); } setName(n) { this.name = n; } } const a = new A(); console.log(`Hi ${a.name}.`); console.log(`Bye ${a.getName()}.`);"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-v">MixinName</span> <span class="pl-c1">=</span> <span class="pl-s1">superclass</span> <span class="pl-c1">=&gt;</span> <span class="pl-k">class</span> <span class="pl-k">extends</span> <span class="pl-s1">superclass</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s">'Zorg'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">getName</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-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">A</span> <span class="pl-k">extends</span> <span class="pl-v">MixinName</span><span class="pl-kos">(</span><span class="pl-v">Object</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">setName</span><span class="pl-kos">(</span><span class="pl-s1">n</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">n</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">A</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">`Hi <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">}</span></span>.`</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">`Bye <span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-en">getName</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">}</span></span>.`</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">No .babelrc.<br> package.json and other configuration available at repository linked above.</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">The following output is expected:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi Zorg. Bye Zorg."><pre class="notranslate"><code class="notranslate">Hi Zorg. Bye Zorg. </code></pre></div> <h3 dir="auto">Current Behavior</h3> <p dir="auto">Actual output observed is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi Zorg. /Users/nikos/code/babel-issue/build/main.js:56 console.log('Bye ' + a.getName() + '.'); ^ TypeError: a.getName is not a function at Object.&lt;anonymous&gt; (/Users/nikos/code/babel-issue/build/main.js:56:24) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Function.Module.runMain (module.js:575:10) at startup (node.js:160:18) at node.js:449:3 "><pre class="notranslate"><code class="notranslate">Hi Zorg. /Users/nikos/code/babel-issue/build/main.js:56 console.log('Bye ' + a.getName() + '.'); ^ TypeError: a.getName is not a function at Object.&lt;anonymous&gt; (/Users/nikos/code/babel-issue/build/main.js:56:24) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:458:32) at tryModuleLoad (module.js:417:12) at Function.Module._load (module.js:409:3) at Function.Module.runMain (module.js:575:10) at startup (node.js:160:18) at node.js:449:3 </code></pre></div> <h3 dir="auto">Possible Solution</h3> <p dir="auto">I've only been playing with Babel for a couple of days so I may be way off, but it looks to me like the issue is with the <code class="notranslate">_inherits(_class, _superclass);</code> line of the MixinName definition.<br> Changing this to <code class="notranslate">_inherits(MixinName, _superclass);</code> appears to solve the issue.</p> <h3 dir="auto">Context</h3> <p dir="auto">Trying to use a nice method of defining mixins that is available in ES6.</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>3.8.9</td> </tr> <tr> <td>node</td> <td>6.2.0</td> </tr> <tr> <td>npm</td> <td>3.8.9</td> </tr> <tr> <td>Operating System</td> <td>Reproducible on Mac OS, Win 7, and Win 10</td> </tr> </tbody> </table>
<p dir="auto">Current Babel transform, when it comes to call the parent</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(&quot;this hasn't been initialised - super() hasn't been called&quot;); } return call &amp;&amp; (typeof call === &quot;object&quot; || typeof call === &quot;function&quot;) ? call : self; }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">_possibleConstructorReturn</span><span class="pl-kos">(</span><span class="pl-s1">self</span><span class="pl-kos">,</span> <span class="pl-s1">call</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-s1">self</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">ReferenceError</span><span class="pl-kos">(</span><span class="pl-s">"this hasn't been initialised - super() hasn't been called"</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">call</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"object"</span> <span class="pl-c1">||</span> <span class="pl-k">typeof</span> <span class="pl-s1">call</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span><span class="pl-kos">)</span> ? <span class="pl-s1">call</span> : <span class="pl-s1">self</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">It's a way too poor implementation.</p> <p dir="auto">If we take the current basic ES6 compat syntax:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class List extends Array {}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div> <p dir="auto">We'll realize babel does a bad job.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var l = new List(); l instanceof List; // false"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">l</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">l</span> <span class="pl-k">instanceof</span> <span class="pl-v">List</span><span class="pl-kos">;</span> <span class="pl-c">// false</span></pre></div> <p dir="auto">The reason is simple: Babel replace the returns and exit, without caring about userland expectations.</p> <p dir="auto">This is how above basic extend should desugar:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List() { return Object.setPrototypeOf( Array.apply(this, arguments), List.prototype ); }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">It's a very ad-hoc case for the initial example that currently fails, but it's good enough to understand that inheriting the prototype is the least of the problem.</p> <p dir="auto">Indeed, we have 3 ways to do that within a transpiled code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// losing the initial prototype // for polyfilled ES5+ or lower List.prototype = Object.create( Array.prototype, {constructor: { configurable: true, writable: true, value: List.prototype }} ); // using a cleaner way // for ES5+ compliant targets Object.setPrototypeOf( List.prototype, Array.prototype ); // using a cleaner way // that works well with // partially polyfilled .setPrototypeOf List.prototype = Object.setPrototypeOf( List.prototype, Array.prototype );"><pre class="notranslate"><span class="pl-c">// losing the initial prototype</span> <span class="pl-c">// for polyfilled ES5+ or lower</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">create</span><span class="pl-kos">(</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">constructor</span>: <span class="pl-kos">{</span> <span class="pl-c1">configurable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">writable</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">value</span>: <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// using a cleaner way</span> <span class="pl-c">// for ES5+ compliant targets</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// using a cleaner way</span> <span class="pl-c">// that works well with</span> <span class="pl-c">// partially polyfilled .setPrototypeOf</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Solved the inheritance bit, considering Babel also set the prototype of each constructor,<br> we need to address cases where a <code class="notranslate">super</code> call might "<em>upgrade</em>" the current context, like it is for <code class="notranslate">HTMLELement</code> or exotic native objects.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// native ES6 static example class List extends Array { constructor(a, b, c) { super(a, b); this.push(c); } }"><pre class="notranslate"><span class="pl-c">// native ES6 static example</span> <span class="pl-k">class</span> <span class="pl-v">List</span> <span class="pl-k">extends</span> <span class="pl-v">Array</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</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">Above case should desugar to something like the follwoing:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function List(a, b, c) { // the super bit var self = Object.setPrototypeOf( Array.call(this, a, b), List.prototype ); // the rest with swapped context self.push(c); // at the end return self; }"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">List</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">,</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// the super bit</span> <span class="pl-k">var</span> <span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-v">List</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// the rest with swapped context</span> <span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// at the end</span> <span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">which is also ad-hoc example code for the previous example.</p> <p dir="auto">Considering a transpiler will get the arguments part easily right, this is how previous case could be generically transpiled for arguments used in both constructors:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// to make it as generic as possible function Child() { // the super call bit desugar to ... var instance = Object.getPrototypeOf(Child) .apply(this, arguments), type = instance ? typeof instance : '', // if Parent overwrote its default return self = (type === 'object' || type === 'function') ? // upgrade the instance to reflect Child constructor Object.setPrototypeOf(instance, Child.prototype) : // otherwise use the current context as is this ; // at this point, the rest of the constructor // should use `self` instead of `this` self.push(c); // and return `self` reference at the end return self; }"><pre class="notranslate"><span class="pl-c">// to make it as generic as possible</span> <span class="pl-k">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// the super call bit desugar to ...</span> <span class="pl-k">var</span> <span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span> <span class="pl-c">// if Parent overwrote its default return</span> <span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ? <span class="pl-c">// upgrade the instance to reflect Child constructor</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> : <span class="pl-c">// otherwise use the current context as is</span> <span class="pl-smi">this</span> <span class="pl-kos">;</span> <span class="pl-c">// at this point, the rest of the constructor</span> <span class="pl-c">// should use `self` instead of `this`</span> <span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// and return `self` reference at the end</span> <span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The last problem is that modern syntax would use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect" rel="nofollow">Reflect</a> to create any sort of object, instead of old, ES3 friendly, <code class="notranslate">.call</code> or <code class="notranslate">.apply</code> way.</p> <p dir="auto">Following a past, present, and even future proof approach:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var reConstruct = typeof Reflect === 'object' ? Reflect.construct : function (Parent, args, Child) { return Parent.apply(this, args); } ; function Child() { // the super call bit var instance = reConstruct.call( this, Object.getPrototypeOf(Child), arguments, Child ), type = instance ? typeof instance : '', self = (type === 'object' || type === 'function') ? Object.setPrototypeOf(instance, Child.prototype) : this ; // the rest of the constructor body self.push(c); // at the end or instead of empty returns return self; }"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">reConstruct</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-v">Reflect</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> ? <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-c1">construct</span> : <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-v">Parent</span><span class="pl-kos">,</span> <span class="pl-s1">args</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-v">Parent</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s1">args</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">function</span> <span class="pl-v">Child</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// the super call bit</span> <span class="pl-k">var</span> <span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-s1">reConstruct</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span> <span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">getPrototypeOf</span><span class="pl-kos">(</span><span class="pl-v">Child</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-smi">arguments</span><span class="pl-kos">,</span> <span class="pl-v">Child</span> <span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">type</span> <span class="pl-c1">=</span> <span class="pl-s1">instance</span> ? <span class="pl-k">typeof</span> <span class="pl-s1">instance</span> : <span class="pl-s">''</span><span class="pl-kos">,</span> <span class="pl-s1">self</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'object'</span> <span class="pl-c1">||</span> <span class="pl-s1">type</span> <span class="pl-c1">===</span> <span class="pl-s">'function'</span><span class="pl-kos">)</span> ? <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">setPrototypeOf</span><span class="pl-kos">(</span><span class="pl-s1">instance</span><span class="pl-kos">,</span> <span class="pl-v">Child</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">)</span> : <span class="pl-smi">this</span> <span class="pl-kos">;</span> <span class="pl-c">// the rest of the constructor body</span> <span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// at the end or instead of empty returns</span> <span class="pl-k">return</span> <span class="pl-s1">self</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Above solution would work with userland, exotic, or DOM constructors, and in both native and transpiled engines.</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="❯❯ babel --version 5.8.23 (babel-core 5.8.25)"><pre class="notranslate"><code class="notranslate">❯❯ babel --version 5.8.23 (babel-core 5.8.25) </code></pre></div> <p dir="auto">input</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="()=&gt;{}()"><pre class="notranslate"><code class="notranslate">()=&gt;{}() </code></pre></div> <p dir="auto">output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; (function () {})();"><pre class="notranslate"><code class="notranslate">"use strict"; (function () {})(); </code></pre></div> <p dir="auto">expected:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Unexpected token &quot;(&quot;"><pre class="notranslate"><code class="notranslate">Error: Unexpected token "(" </code></pre></div>
<p dir="auto">These non-programs are accepted by babel: <code class="notranslate">!()=&gt;0</code>, <code class="notranslate">a + ()=&gt;0</code>, <code class="notranslate">a || ()=&gt;0</code>, etc.</p> <p dir="auto">Arrows should have the precedence of an assignment expression.</p>
1
<p dir="auto">Howdy!</p> <p dir="auto">This issue cropped up (or at least I noticed it) around 0.199, but it remains in 0.200.</p> <p dir="auto">I have one deprecation warning (which sticks around even in safe mode):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="your local styles.less file /Users/tylersticka/Dropbox (Personal)/Atom/styles.less Style elements within text editors using the atom-text-editor::shadow selector or the .atom-text-editor.less file extension. If you want to target overlay elements, target them directly or as descendants of atom-overlay elements."><pre class="notranslate"><code class="notranslate">your local styles.less file /Users/tylersticka/Dropbox (Personal)/Atom/styles.less Style elements within text editors using the atom-text-editor::shadow selector or the .atom-text-editor.less file extension. If you want to target overlay elements, target them directly or as descendants of atom-overlay elements. </code></pre></div> <p dir="auto">If I click that error, I am taken to what appears to be an empty file:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/69633/7731460/7ba50650-fed5-11e4-9929-3354acc7043a.png"><img src="https://cloud.githubusercontent.com/assets/69633/7731460/7ba50650-fed5-11e4-9929-3354acc7043a.png" alt="screen shot 2015-05-20 at 9 49 07 am" style="max-width: 100%;"></a></p> <p dir="auto">If I go to the Atom menu and select "Open Your Stylesheet," this is what it looks like:</p> <div class="highlight highlight-source-css-less notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/* * Your Stylesheet * * This stylesheet is loaded when Atom starts up and is reloaded automatically * when it is changed. * * If you are unfamiliar with LESS, you can read more about it here: * http://www.lesscss.org */ .tree-view { } atom-text-editor { } atom-text-editor .cursor { }"><pre class="notranslate"><span class="pl-c"><span class="pl-c">/*</span></span> <span class="pl-c"> * Your Stylesheet</span> <span class="pl-c"> *</span> <span class="pl-c"> * This stylesheet is loaded when Atom starts up and is reloaded automatically</span> <span class="pl-c"> * when it is changed.</span> <span class="pl-c"> *</span> <span class="pl-c"> * If you are unfamiliar with LESS, you can read more about it here:</span> <span class="pl-c"> * http://www.lesscss.org</span> <span class="pl-c"> <span class="pl-c">*/</span></span> <span class="pl-e">.tree-view</span> { } atom<span class="pl-k">-</span>text<span class="pl-k">-</span>editor { } atom<span class="pl-k">-</span>text<span class="pl-k">-</span>editor <span class="pl-e">.cursor</span> { }</pre></div> <p dir="auto">I thought maybe I had <em>inherited</em> this stylesheet from an older version, so I tried commenting out everything within it... but the deprecation warning remains.</p> <p dir="auto">(Apologies if this issue is duplicated, I swear I searched for it before creating a this one!)</p> <p dir="auto"><strong>Edit:</strong> I should also mention that I have my <code class="notranslate">.atom</code> directory symbolically linked to Dropbox (if you're wondering why my paths aren't simply <code class="notranslate">/Users/tylersticka/.atom</code>).</p>
<p dir="auto">There is a theme I use in Brackets that I love, however I prefer to use Atom over Brackets.</p> <p dir="auto">What is the easiest way to convert that over? I don't seem to 100% the mark-up of both. Obviously they will have different syntax, so I'm not sure what's the best way to try and convert it.</p> <p dir="auto">Any suggestions, please?</p>
0
<p dir="auto"><strong>Migrated issue, originally created by Denis Otkidach (<a href="https://github.com/ods">@ods</a>)</strong></p> <p dir="auto">Test case:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import Column, Integer, String, ForeignKey, create_engine from sqlalchemy.orm import relationship, sessionmaker from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class DocLink(Base): __tablename__ = 'DocLink' id = Column(Integer, primary_key=True) block_id = Column(ForeignKey('DocLinkBlock.id', ondelete='CASCADE'), nullable=False) block = relationship('DocLinkBlock', primaryjoin='DocLink.block_id==DocLinkBlock.id') ref_url = Column(String(250), nullable=True) ref_doc_id = Column(ForeignKey('Doc.id')) ref_doc = relationship('Doc', primaryjoin='DocLink.ref_doc_id==Doc.id') class DocLinkBlock(Base): __tablename__ = 'DocLinkBlock' id = Column(Integer, primary_key=True) doc_id = Column(ForeignKey('Doc.id', ondelete='CASCADE'), nullable=False) doc = relationship('Doc') links = relationship(DocLink, cascade='all, delete-orphan') class Doc(Base): __tablename__ = 'Doc' id = Column(Integer, primary_key=True) link_blocks = relationship(DocLinkBlock, cascade='all, delete-orphan') engine = create_engine('sqlite://', echo=True) Base.metadata.create_all(engine) session = sessionmaker(bind=engine)() ref_doc = Doc(id=1) session.add(ref_doc) session.commit() doc = Doc( id=2, link_blocks=[ DocLinkBlock( id=1, links=[ DocLink( id=1, ref_url='url', ref_doc=ref_doc, ), ], ), ], ) session.add(doc) session.commit() assert doc.link_blocks[0].links[0].ref_url=='url' assert doc.link_blocks[0].links[0].ref_doc is ref_doc doc.link_blocks = [ DocLinkBlock( id=1, links=[ DocLink( id=1, ref_url=None, ref_doc=None, ), ], ), ] session.commit() assert doc.link_blocks[0].links[0].ref_url is None assert doc.link_blocks[0].links[0].ref_doc is None # Fails"><pre class="notranslate"><code class="notranslate">from sqlalchemy import Column, Integer, String, ForeignKey, create_engine from sqlalchemy.orm import relationship, sessionmaker from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class DocLink(Base): __tablename__ = 'DocLink' id = Column(Integer, primary_key=True) block_id = Column(ForeignKey('DocLinkBlock.id', ondelete='CASCADE'), nullable=False) block = relationship('DocLinkBlock', primaryjoin='DocLink.block_id==DocLinkBlock.id') ref_url = Column(String(250), nullable=True) ref_doc_id = Column(ForeignKey('Doc.id')) ref_doc = relationship('Doc', primaryjoin='DocLink.ref_doc_id==Doc.id') class DocLinkBlock(Base): __tablename__ = 'DocLinkBlock' id = Column(Integer, primary_key=True) doc_id = Column(ForeignKey('Doc.id', ondelete='CASCADE'), nullable=False) doc = relationship('Doc') links = relationship(DocLink, cascade='all, delete-orphan') class Doc(Base): __tablename__ = 'Doc' id = Column(Integer, primary_key=True) link_blocks = relationship(DocLinkBlock, cascade='all, delete-orphan') engine = create_engine('sqlite://', echo=True) Base.metadata.create_all(engine) session = sessionmaker(bind=engine)() ref_doc = Doc(id=1) session.add(ref_doc) session.commit() doc = Doc( id=2, link_blocks=[ DocLinkBlock( id=1, links=[ DocLink( id=1, ref_url='url', ref_doc=ref_doc, ), ], ), ], ) session.add(doc) session.commit() assert doc.link_blocks[0].links[0].ref_url=='url' assert doc.link_blocks[0].links[0].ref_doc is ref_doc doc.link_blocks = [ DocLinkBlock( id=1, links=[ DocLink( id=1, ref_url=None, ref_doc=None, ), ], ), ] session.commit() assert doc.link_blocks[0].links[0].ref_url is None assert doc.link_blocks[0].links[0].ref_doc is None # Fails </code></pre></div> <p dir="auto">There is no such problem when <code class="notranslate">DocLinkBlock.links</code> is updated directly (no nested collections).</p>
<p dir="auto"><strong>Migrated issue, originally created by Denis Otkidach (<a href="https://github.com/ods">@ods</a>)</strong></p> <p dir="auto">New object with the same ID as existing one implicitly merged via cascade rules has old value of relationship property after the commit when the new value is None.</p> <p dir="auto">In short:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="doc.doc_links = [DocLink(id=doc_link_id, link=None)] session.commit() assert doc.doc_links[0].link is None # fails"><pre class="notranslate"><code class="notranslate">doc.doc_links = [DocLink(id=doc_link_id, link=None)] session.commit() assert doc.doc_links[0].link is None # fails </code></pre></div> <p dir="auto">Full test is attached (test3 is the test case that fails).</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/3060/sa_merge_relation.py">sa_merge_relation.py</a> | <a href="../wiki/imported_issue_attachments/3060/3060.patch">3060.patch</a></p>
1
<p dir="auto">The type error makes this segfault:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use std; import std::option::*; fn main() { let t[int] x = none; x = 5; }"><pre class="notranslate"><code class="notranslate">use std; import std::option::*; fn main() { let t[int] x = none; x = 5; } </code></pre></div> <p dir="auto">Looks like stack overflow. The interesting part of the backtrace:<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1856361" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1019" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1019/hovercard" href="https://github.com/rust-lang/rust/issues/1019">#1019</a> 0x080df952 in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1859804" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1020" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1020/hovercard" href="https://github.com/rust-lang/rust/issues/1020">#1020</a> 0x080f985f in middle::ty::unify::fixup_vars::subst_vars ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1864274" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1021" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1021/hovercard" href="https://github.com/rust-lang/rust/issues/1021">#1021</a> 0x0827bc13 in middle::ty::unify::fixup_vars::subst_vars::thunk3323 ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1867668" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1022" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1022/hovercard" href="https://github.com/rust-lang/rust/issues/1022">#1022</a> 0x080e3e7f in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1875255" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1023" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1023/hovercard" href="https://github.com/rust-lang/rust/issues/1023">#1023</a> 0x080df952 in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1875336" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1024" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1024/hovercard" href="https://github.com/rust-lang/rust/pull/1024">#1024</a> 0x080f985f in middle::ty::unify::fixup_vars::subst_vars ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1883538" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1025" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1025/hovercard" href="https://github.com/rust-lang/rust/pull/1025">#1025</a> 0x0827bc13 in middle::ty::unify::fixup_vars::subst_vars::thunk3323 ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1883798" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1026" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1026/hovercard" href="https://github.com/rust-lang/rust/pull/1026">#1026</a> 0x080e3e7f in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884100" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1027" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1027/hovercard" href="https://github.com/rust-lang/rust/issues/1027">#1027</a> 0x080df952 in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884241" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1028" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1028/hovercard" href="https://github.com/rust-lang/rust/issues/1028">#1028</a> 0x080f985f in middle::ty::unify::fixup_vars::subst_vars ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1884398" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1029" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1029/hovercard" href="https://github.com/rust-lang/rust/issues/1029">#1029</a> 0x0827be33 in middle::ty::unify::fixup_vars::thunk3333 ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1885556" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1030" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1030/hovercard" href="https://github.com/rust-lang/rust/pull/1030">#1030</a> 0x080e3e7f in middle::ty::fold_ty ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1889850" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1031" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1031/hovercard" href="https://github.com/rust-lang/rust/pull/1031">#1031</a> 0x080f9bb7 in middle::ty::unify::fixup_vars ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1890995" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1032" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1032/hovercard" href="https://github.com/rust-lang/rust/pull/1032">#1032</a> 0x08137e5a in middle::typeck::demand::full ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1893702" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1033" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1033/hovercard" href="https://github.com/rust-lang/rust/pull/1033">#1033</a> 0x0814097a in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1893733" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1034" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1034/hovercard" href="https://github.com/rust-lang/rust/issues/1034">#1034</a> 0x08145d44 in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1894235" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1035" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1035/hovercard" href="https://github.com/rust-lang/rust/issues/1035">#1035</a> 0x0813fdca in middle::typeck::check_expr::check_then_else ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1894523" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1036" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1036/hovercard" href="https://github.com/rust-lang/rust/pull/1036">#1036</a> 0x08145e0f in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1896994" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1037" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1037/hovercard" href="https://github.com/rust-lang/rust/issues/1037">#1037</a> 0x081530aa in middle::typeck::check_block ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1897189" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1038" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1038/hovercard" href="https://github.com/rust-lang/rust/issues/1038">#1038</a> 0x08146df7 in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1920946" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1039" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1039/hovercard" href="https://github.com/rust-lang/rust/pull/1039">#1039</a> 0x081530aa in middle::typeck::check_block ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1924226" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1040" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1040/hovercard" href="https://github.com/rust-lang/rust/pull/1040">#1040</a> 0x08146df7 in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1928574" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1041" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1041/hovercard" href="https://github.com/rust-lang/rust/pull/1041">#1041</a> 0x081530aa in middle::typeck::check_block ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1928770" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1042" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1042/hovercard" href="https://github.com/rust-lang/rust/issues/1042">#1042</a> 0x0813f85a in middle::typeck::check_expr::check_for_or_for_each ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1931135" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1043" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1043/hovercard" href="https://github.com/rust-lang/rust/issues/1043">#1043</a> 0x08146170 in middle::typeck::check_expr ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1936375" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1044" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1044/hovercard" href="https://github.com/rust-lang/rust/pull/1044">#1044</a> 0x08152ee7 in middle::typeck::check_block ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1936513" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1045" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1045/hovercard" href="https://github.com/rust-lang/rust/pull/1045">#1045</a> 0x08154ee0 in middle::typeck::check_fn ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1938635" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1046" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1046/hovercard" href="https://github.com/rust-lang/rust/issues/1046">#1046</a> 0x08156bda in middle::typeck::check_item ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1958447" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1047" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/1047/hovercard" href="https://github.com/rust-lang/rust/pull/1047">#1047</a> 0x0829730e in middle::typeck::check_crate::thunk5452 ()<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1979621" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/1048" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/1048/hovercard" href="https://github.com/rust-lang/rust/issues/1048">#1048</a> 0x080fce01 in middle::walk::walk_item ()</p>
<p dir="auto">We can infinite loop if we try to unify e.g. T with option[T]. Fixing this requires implementing the occurs check. Off the top of my head, I can't think of any cases in which we'd actually trip this, but it's theoretically possible.</p> <hr> <p dir="auto">Tim thinks this may also be the cause of segfaulting on infinitely interior tags:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tag t1 { a(int); b(@t1); }"><pre class="notranslate"><code class="notranslate">tag t1 { a(int); b(@t1); } </code></pre></div>
1
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsbin.com/lurayuxofo/edit?html,js,console,output" rel="nofollow">https://jsbin.com/lurayuxofo/edit?html,js,console,output</a></p> <h3 dir="auto">Steps to reproduce</h3> <ul dir="auto"> <li>Include inline SVG with some styles within a Vue instance</li> <li>Init vue instance</li> </ul> <h3 dir="auto">What is expected?</h3> <p dir="auto">SVG to be styled according to the style element</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Vue is giving a warning "[Vue warn]: Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as &lt;style&gt;. " and also stripping the style element so the SVG is appearing with no style.</p> <hr> <p dir="auto">I am opening the exact same issue as this <a href="https://github.com/vuejs/vue/issues/4144" data-hovercard-type="issue" data-hovercard-url="/vuejs/vue/issues/4144/hovercard">one</a> because it's been ignored and this should be fixed by now.</p> <p dir="auto">It's been plaguing vue since 2016.</p> <h1 dir="auto">The fix so far:</h1> <p dir="auto">In the meantime, this can be fixed by adding this attribute <code class="notranslate">xmlns:svg="http://www.w3.org/2000/svg"</code> to your <code class="notranslate">&lt;svg&gt;</code> tag and writing your style as this : <code class="notranslate">&lt;svg:style type="text/css"&gt;</code></p>
<p dir="auto">Duplicates <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="183279684" data-permission-text="Title is private" data-url="https://github.com/vuejs/vue/issues/3957" data-hovercard-type="issue" data-hovercard-url="/vuejs/vue/issues/3957/hovercard" href="https://github.com/vuejs/vue/issues/3957">#3957</a></p> <h3 dir="auto">Vue.js version</h3> <p dir="auto">2.1.8</p> <h3 dir="auto">Reproduction Link</h3> <p dir="auto"><a href="https://jsfiddle.net/CinKon/qwaacqon/1/" rel="nofollow">https://jsfiddle.net/CinKon/qwaacqon/1/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Open DevTools. Console-Error:<br> <code class="notranslate">[Vue warn]: Property or method "myText" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. (found in root instance)</code></p> <h3 dir="auto">What is Expected?</h3> <p dir="auto">Props that are imported via mixin should render without problems.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Console throws error, prop is not transmitted.</p>
0
<p dir="auto">Piping a numpy array as binary data to another process works in Python2, but in Python3 the following snippet results in "OSError: first argument must be a string or open file". I tested with Python 3.4.0.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import subprocess, numpy wc = subprocess.Popen([&quot;wc&quot;], stdin=subprocess.PIPE) numpy.eye(5).tofile(wc.stdin)"><pre class="notranslate"><code class="notranslate">import subprocess, numpy wc = subprocess.Popen(["wc"], stdin=subprocess.PIPE) numpy.eye(5).tofile(wc.stdin) </code></pre></div>
<p dir="auto">I am trying to write a numpy array data to a pipe opened using subprocess.Popen in Python 3.4 and numpy 1.10.4. Here is the code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy import subprocess myArray = numpy.arange(10000).reshape([100,100]) # use xpaset to communicate with ds9 fullCmd = &quot;xpaset DS9Test array [xdim=100,bitpix=64,arch=littleendian,ydim=100]&quot; mp = subprocess.Popen( fullCmd, shell = True, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, bufsize = 0 ) myArray.tofile(mp.stdin)"><pre class="notranslate"><code class="notranslate">import numpy import subprocess myArray = numpy.arange(10000).reshape([100,100]) # use xpaset to communicate with ds9 fullCmd = "xpaset DS9Test array [xdim=100,bitpix=64,arch=littleendian,ydim=100]" mp = subprocess.Popen( fullCmd, shell = True, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, bufsize = 0 ) myArray.tofile(mp.stdin) </code></pre></div> <p dir="auto">Unfortunately I am getting the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File &quot;/Users/avigan/Work/HC-HR/FTS/test.py&quot;, line 25, in &lt;module&gt; myArray.tofile(mp.stdin) OSError: first argument must be a string or open file"><pre class="notranslate"><code class="notranslate"> File "/Users/avigan/Work/HC-HR/FTS/test.py", line 25, in &lt;module&gt; myArray.tofile(mp.stdin) OSError: first argument must be a string or open file </code></pre></div> <p dir="auto">However, if I do:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [64]: print(mp.stdin) &lt;_io.FileIO name=71 mode='wb'&gt;"><pre class="notranslate"><code class="notranslate">In [64]: print(mp.stdin) &lt;_io.FileIO name=71 mode='wb'&gt; </code></pre></div> <p dir="auto">I interpret this as a sign that the file descriptor is indeed open.</p> <p dir="auto">The same code was working fine in Python 2.7, so I guess it's linked to Python 3+ and the current version of numpy.</p>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.4</li> <li>Operating System / Platform =&gt; Ubuntu 16.04</li> <li>Compiler =&gt; cmake 3.5.1</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">my make configuration</p> <div class="highlight highlight-source-cmake notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DINSTALL_C_EXAMPLES=OFF \ -DBUILD_DOCS=ON \ -DBUILD_opencv_xfeatures2d=OFF \ -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \ -DINSTALL_PYTHON_EXAMPLES=ON \ -DPYTHON2_EXECUTABLE=/usr/bin/python \ -DPYTHON3_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ -DPYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/python2.7/dist-packages/numpy/core/include/ \ -DPYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3.5/dist-packages/numpy/core/include/ \ .."><pre class="notranslate">-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DINSTALL_C_EXAMPLES=<span class="pl-c1">OFF</span> \ -DBUILD_DOCS=ON \ -DBUILD_opencv_xfeatures2d=<span class="pl-c1">OFF</span> \ -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \ -DINSTALL_PYTHON_EXAMPLES=ON \ -DPYTHON2_EXECUTABLE=/usr/bin/python \ -DPYTHON3_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ -DPYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python2.7 \ -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ -DPYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/python2.7/dist-packages/numpy/core/include/ \ -DPYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3.5/dist-packages/numpy/core/include/ \ ..</pre></div> <p dir="auto">after run make -j8, i got an error:</p> <details> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Scanning dependencies of target gen-pkgconfig Scanning dependencies of target opencv_perf_core_pch_dephelp Scanning dependencies of target quirc Scanning dependencies of target ittnotify Scanning dependencies of target opencv_core_pch_dephelp Scanning dependencies of target opencv_test_core_pch_dephelp Scanning dependencies of target ippiw Scanning dependencies of target libprotobuf [ 0%] Generate opencv.pc [ 0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/decode.c.o [ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o [ 0%] Building CXX object modules/core/CMakeFiles/opencv_perf_core_pch_dephelp.dir/opencv_perf_core_pch_dephelp.cxx.o [ 0%] Built target gen-pkgconfig [ 0%] Building CXX object modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o Scanning dependencies of target opencv_ts_pch_dephelp [ 0%] Building CXX object modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o [ 0%] Building CXX object modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/opencv_ts_pch_dephelp.cxx.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o [ 0%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o [ 0%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o [ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o [ 0%] Linking CXX static library ../../lib/libopencv_perf_core_pch_dephelp.a [ 0%] Linking C static library ../lib/libittnotify.a [ 1%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o [ 1%] Built target opencv_perf_core_pch_dephelp Scanning dependencies of target opencv_imgproc_pch_dephelp [ 1%] Built target ittnotify Scanning dependencies of target opencv_imgcodecs_pch_dephelp [ 1%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/quirc.c.o [ 1%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o [ 1%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs_pch_dephelp.dir/opencv_imgcodecs_pch_dephelp.cxx.o [ 1%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/version_db.c.o [ 2%] Linking C static library ../lib/libquirc.a [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o [ 2%] Built target quirc Scanning dependencies of target opencv_videoio_pch_dephelp [ 2%] Linking CXX static library ../../lib/libopencv_core_pch_dephelp.a [ 2%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio_pch_dephelp.dir/opencv_videoio_pch_dephelp.cxx.o [ 2%] Built target opencv_core_pch_dephelp Scanning dependencies of target opencv_highgui_pch_dephelp [ 2%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_core_pch_dephelp.a [ 2%] Linking CXX static library ../../lib/libopencv_ts_pch_dephelp.a [ 2%] Built target opencv_test_core_pch_dephelp Scanning dependencies of target pch_Generate_opencv_perf_core [ 2%] Built target opencv_ts_pch_dephelp [ 2%] Generating perf_precomp.hpp Scanning dependencies of target opencv_flann_pch_dephelp [ 2%] Generating perf_precomp.hpp.gch/opencv_perf_core_Release.gch [ 2%] Building CXX object modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o [ 2%] Linking CXX static library ../../lib/libopencv_imgproc_pch_dephelp.a [ 2%] Linking CXX static library ../../lib/libopencv_imgcodecs_pch_dephelp.a [ 2%] Built target opencv_imgproc_pch_dephelp Scanning dependencies of target opencv_test_flann_pch_dephelp [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o [ 2%] Built target opencv_imgcodecs_pch_dephelp Scanning dependencies of target opencv_hdf_pch_dephelp [ 2%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann_pch_dephelp.dir/opencv_test_flann_pch_dephelp.cxx.o [ 2%] Building CXX object modules/hdf/CMakeFiles/opencv_hdf_pch_dephelp.dir/opencv_hdf_pch_dephelp.cxx.o [ 2%] Linking CXX static library ../../lib/libopencv_videoio_pch_dephelp.a [ 2%] Built target opencv_videoio_pch_dephelp Scanning dependencies of target opencv_test_hdf_pch_dephelp [ 2%] Linking CXX static library ../../lib/libopencv_highgui_pch_dephelp.a [ 2%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf_pch_dephelp.dir/opencv_test_hdf_pch_dephelp.cxx.o [ 2%] Built target opencv_highgui_pch_dephelp Scanning dependencies of target opencv_test_imgproc_pch_dephelp [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o [ 2%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc_pch_dephelp.dir/opencv_test_imgproc_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o [ 2%] Linking CXX static library ../../lib/libopencv_hdf_pch_dephelp.a [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o [ 2%] Built target opencv_hdf_pch_dephelp Scanning dependencies of target opencv_perf_imgproc_pch_dephelp [ 2%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc_pch_dephelp.dir/opencv_perf_imgproc_pch_dephelp.cxx.o [ 2%] Linking CXX static library ../../lib/libopencv_flann_pch_dephelp.a [ 2%] Built target opencv_flann_pch_dephelp Scanning dependencies of target opencv_ml_pch_dephelp [ 2%] Building CXX object modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_hdf_pch_dephelp.a [ 2%] Built target opencv_test_hdf_pch_dephelp Scanning dependencies of target opencv_test_ml_pch_dephelp [ 2%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml_pch_dephelp.dir/opencv_test_ml_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_flann_pch_dephelp.a [ 2%] Built target opencv_test_flann_pch_dephelp Scanning dependencies of target opencv_phase_unwrapping_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o [ 3%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping_pch_dephelp.dir/opencv_phase_unwrapping_pch_dephelp.cxx.o [ 3%] Built target pch_Generate_opencv_perf_core Scanning dependencies of target opencv_test_phase_unwrapping_pch_dephelp [ 3%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 3%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping_pch_dephelp.dir/opencv_test_phase_unwrapping_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_imgproc_pch_dephelp.a [ 3%] Built target opencv_perf_imgproc_pch_dephelp Scanning dependencies of target opencv_photo_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o [ 3%] Linking CXX static library ../../lib/libopencv_test_imgproc_pch_dephelp.a [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o [ 3%] Built target opencv_test_imgproc_pch_dephelp Scanning dependencies of target opencv_test_photo_pch_dephelp [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo_pch_dephelp.dir/opencv_test_photo_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o [ 3%] Linking CXX static library ../../lib/libopencv_ml_pch_dephelp.a [ 3%] Built target opencv_ml_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o Scanning dependencies of target opencv_perf_photo_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_test_ml_pch_dephelp.a [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo_pch_dephelp.dir/opencv_perf_photo_pch_dephelp.cxx.o [ 3%] Built target opencv_test_ml_pch_dephelp Scanning dependencies of target opencv_plot_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o [ 3%] Building CXX object modules/plot/CMakeFiles/opencv_plot_pch_dephelp.dir/opencv_plot_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o [ 3%] Linking CXX static library ../../lib/libopencv_phase_unwrapping_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_phase_unwrapping_pch_dephelp.a [ 3%] Built target opencv_phase_unwrapping_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o Scanning dependencies of target opencv_reg_pch_dephelp [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_reg_pch_dephelp.dir/opencv_reg_pch_dephelp.cxx.o [ 3%] Built target opencv_test_phase_unwrapping_pch_dephelp Scanning dependencies of target opencv_test_reg_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_reg_pch_dephelp.a [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg_pch_dephelp.dir/opencv_test_reg_pch_dephelp.cxx.o [ 3%] Built target opencv_reg_pch_dephelp Scanning dependencies of target opencv_perf_reg_pch_dephelp [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg_pch_dephelp.dir/opencv_perf_reg_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o [ 3%] Linking CXX static library ../../lib/libopencv_plot_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_photo_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_photo_pch_dephelp.a [ 3%] Built target opencv_plot_pch_dephelp Scanning dependencies of target opencv_surface_matching_pch_dephelp [ 3%] Built target opencv_photo_pch_dephelp [ 3%] Built target opencv_test_photo_pch_dephelp Scanning dependencies of target opencv_video_pch_dephelp Scanning dependencies of target opencv_test_video_pch_dephelp [ 3%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching_pch_dephelp.dir/opencv_surface_matching_pch_dephelp.cxx.o [ 3%] Building CXX object modules/video/CMakeFiles/opencv_test_video_pch_dephelp.dir/opencv_test_video_pch_dephelp.cxx.o [ 3%] Building CXX object modules/video/CMakeFiles/opencv_video_pch_dephelp.dir/opencv_video_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_photo_pch_dephelp.a [ 3%] Built target opencv_perf_photo_pch_dephelp Scanning dependencies of target opencv_perf_video_pch_dephelp [ 3%] Building CXX object modules/video/CMakeFiles/opencv_perf_video_pch_dephelp.dir/opencv_perf_video_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o [ 3%] Linking CXX static library ../../lib/libopencv_test_reg_pch_dephelp.a [ 3%] Linking C static library ../lib/libippiw.a [ 3%] Built target opencv_test_reg_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_perf_reg_pch_dephelp.a Scanning dependencies of target opencv_test_viz_pch_dephelp [ 3%] Built target ippiw [ 3%] Built target opencv_perf_reg_pch_dephelp Scanning dependencies of target opencv_viz_pch_dephelp Scanning dependencies of target opencv_perf_xphoto_pch_dephelp [ 3%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz_pch_dephelp.dir/opencv_test_viz_pch_dephelp.cxx.o [ 3%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto_pch_dephelp.dir/opencv_perf_xphoto_pch_dephelp.cxx.o [ 3%] Building CXX object modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/opencv_viz_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_surface_matching_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_video_pch_dephelp.a [ 3%] Built target opencv_surface_matching_pch_dephelp Scanning dependencies of target opencv_test_xphoto_pch_dephelp [ 3%] Built target opencv_test_video_pch_dephelp Scanning dependencies of target opencv_dnn_pch_dephelp [ 3%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto_pch_dephelp.dir/opencv_test_xphoto_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_video_pch_dephelp.a [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn_pch_dephelp.dir/opencv_dnn_pch_dephelp.cxx.o [ 3%] Built target opencv_video_pch_dephelp [ 3%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o Scanning dependencies of target opencv_test_dnn_pch_dephelp [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn_pch_dephelp.dir/opencv_test_dnn_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_video_pch_dephelp.a [ 3%] Built target opencv_perf_video_pch_dephelp Scanning dependencies of target opencv_perf_dnn_pch_dephelp [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn_pch_dephelp.dir/opencv_perf_dnn_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_test_viz_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_perf_xphoto_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_dnn_pch_dephelp.a [ 3%] Built target opencv_perf_xphoto_pch_dephelp [ 3%] Built target opencv_test_viz_pch_dephelp Scanning dependencies of target opencv_freetype_pch_dephelp [ 3%] Built target opencv_dnn_pch_dephelp Scanning dependencies of target opencv_fuzzy_pch_dephelp Scanning dependencies of target opencv_test_fuzzy_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_viz_pch_dephelp.a [ 3%] Building CXX object modules/freetype/CMakeFiles/opencv_freetype_pch_dephelp.dir/opencv_freetype_pch_dephelp.cxx.o [ 3%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy_pch_dephelp.dir/opencv_test_fuzzy_pch_dephelp.cxx.o [ 3%] Built target opencv_viz_pch_dephelp [ 3%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy_pch_dephelp.dir/opencv_fuzzy_pch_dephelp.cxx.o Scanning dependencies of target opencv_hfs_pch_dephelp [ 3%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs_pch_dephelp.dir/opencv_hfs_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_test_xphoto_pch_dephelp.a [ 3%] Built target opencv_test_xphoto_pch_dephelp Scanning dependencies of target opencv_img_hash_pch_dephelp [ 4%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash_pch_dephelp.dir/opencv_img_hash_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_test_dnn_pch_dephelp.a [ 4%] Built target opencv_test_dnn_pch_dephelp Scanning dependencies of target opencv_test_img_hash_pch_dephelp [ 4%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash_pch_dephelp.dir/opencv_test_img_hash_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_perf_dnn_pch_dephelp.a [ 4%] Built target opencv_perf_dnn_pch_dephelp Scanning dependencies of target opencv_test_imgcodecs_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_freetype_pch_dephelp.a [ 4%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs_pch_dephelp.dir/opencv_test_imgcodecs_pch_dephelp.cxx.o [ 4%] Built target opencv_freetype_pch_dephelp Scanning dependencies of target opencv_perf_imgcodecs_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_hfs_pch_dephelp.a [ 4%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_perf_imgcodecs_pch_dephelp.dir/opencv_perf_imgcodecs_pch_dephelp.cxx.o [ 4%] Built target opencv_hfs_pch_dephelp Scanning dependencies of target opencv_shape_pch_dephelp [ 4%] Building CXX object modules/shape/CMakeFiles/opencv_shape_pch_dephelp.dir/opencv_shape_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_test_fuzzy_pch_dephelp.a [ 4%] Linking CXX static library ../../lib/libopencv_img_hash_pch_dephelp.a [ 4%] Built target opencv_test_fuzzy_pch_dephelp Scanning dependencies of target opencv_test_shape_pch_dephelp [ 4%] Built target opencv_img_hash_pch_dephelp [ 4%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape_pch_dephelp.dir/opencv_test_shape_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_videoio_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_fuzzy_pch_dephelp.a [ 4%] Built target opencv_fuzzy_pch_dephelp [ 4%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio_pch_dephelp.dir/opencv_test_videoio_pch_dephelp.cxx.o Scanning dependencies of target opencv_perf_videoio_pch_dephelp [ 4%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio_pch_dephelp.dir/opencv_perf_videoio_pch_dephelp.cxx.o [ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o [ 5%] Linking CXX static library ../../lib/libopencv_test_img_hash_pch_dephelp.a [ 5%] Built target opencv_test_img_hash_pch_dephelp Scanning dependencies of target opencv_test_highgui_pch_dephelp [ 5%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui_pch_dephelp.dir/opencv_test_highgui_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_test_imgcodecs_pch_dephelp.a [ 5%] Linking CXX static library ../../lib/libopencv_perf_imgcodecs_pch_dephelp.a [ 5%] Built target opencv_test_imgcodecs_pch_dephelp Scanning dependencies of target opencv_superres_pch_dephelp [ 5%] Built target opencv_perf_imgcodecs_pch_dephelp Scanning dependencies of target opencv_test_superres_pch_dephelp [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_superres_pch_dephelp.dir/opencv_superres_pch_dephelp.cxx.o [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres_pch_dephelp.dir/opencv_test_superres_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_shape_pch_dephelp.a [ 5%] Built target opencv_shape_pch_dephelp Scanning dependencies of target opencv_perf_superres_pch_dephelp [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres_pch_dephelp.dir/opencv_perf_superres_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_test_shape_pch_dephelp.a [ 5%] Built target opencv_test_shape_pch_dephelp Scanning dependencies of target opencv_test_bioinspired_pch_dephelp [ 5%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired_pch_dephelp.dir/opencv_test_bioinspired_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_perf_videoio_pch_dephelp.a [ 5%] Built target opencv_perf_videoio_pch_dephelp Scanning dependencies of target opencv_bioinspired_pch_dephelp [ 5%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o [ 5%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired_pch_dephelp.dir/opencv_bioinspired_pch_dephelp.cxx.o [ 5%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 5%] Linking CXX static library ../../lib/libopencv_test_highgui_pch_dephelp.a [ 5%] Built target opencv_test_highgui_pch_dephelp Scanning dependencies of target opencv_perf_bioinspired_pch_dephelp [ 5%] Linking CXX static library ../../lib/libopencv_test_videoio_pch_dephelp.a [ 6%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired_pch_dephelp.dir/opencv_perf_bioinspired_pch_dephelp.cxx.o [ 6%] Built target opencv_test_videoio_pch_dephelp Scanning dependencies of target opencv_dnn_objdetect_pch_dephelp [ 7%] Linking CXX static library ../../lib/libopencv_test_superres_pch_dephelp.a [ 7%] Building CXX object modules/dnn_objdetect/CMakeFiles/opencv_dnn_objdetect_pch_dephelp.dir/opencv_dnn_objdetect_pch_dephelp.cxx.o [ 7%] Built target opencv_test_superres_pch_dephelp Scanning dependencies of target opencv_test_features2d_pch_dephelp [ 7%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d_pch_dephelp.dir/opencv_test_features2d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_superres_pch_dephelp.a [ 8%] Built target opencv_superres_pch_dephelp Scanning dependencies of target opencv_features2d_pch_dephelp [ 8%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_superres_pch_dephelp.a [ 8%] Built target opencv_perf_superres_pch_dephelp Scanning dependencies of target opencv_perf_features2d_pch_dephelp [ 8%] Linking CXX static library ../../lib/libopencv_test_bioinspired_pch_dephelp.a [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o [ 8%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d_pch_dephelp.dir/opencv_perf_features2d_pch_dephelp.cxx.o [ 8%] Built target opencv_test_bioinspired_pch_dephelp Scanning dependencies of target opencv_line_descriptor_pch_dephelp [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor_pch_dephelp.dir/opencv_line_descriptor_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_bioinspired_pch_dephelp.a [ 8%] Linking CXX static library ../../lib/libopencv_dnn_objdetect_pch_dephelp.a [ 8%] Built target opencv_bioinspired_pch_dephelp Scanning dependencies of target opencv_perf_line_descriptor_pch_dephelp [ 8%] Built target opencv_dnn_objdetect_pch_dephelp Scanning dependencies of target opencv_test_line_descriptor_pch_dephelp [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor_pch_dephelp.dir/opencv_perf_line_descriptor_pch_dephelp.cxx.o [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor_pch_dephelp.dir/opencv_test_line_descriptor_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_bioinspired_pch_dephelp.a [ 8%] Built target opencv_perf_bioinspired_pch_dephelp Scanning dependencies of target opencv_saliency_pch_dephelp [ 8%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency_pch_dephelp.dir/opencv_saliency_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_test_features2d_pch_dephelp.a [ 8%] Built target opencv_test_features2d_pch_dephelp Scanning dependencies of target opencv_text_pch_dephelp [ 8%] Building CXX object modules/text/CMakeFiles/opencv_text_pch_dephelp.dir/opencv_text_pch_dephelp.cxx.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o [ 8%] Linking CXX static library ../../lib/libopencv_features2d_pch_dephelp.a [ 8%] Linking CXX static library ../../lib/libopencv_perf_features2d_pch_dephelp.a [ 8%] Built target opencv_features2d_pch_dephelp [ 8%] Built target opencv_perf_features2d_pch_dephelp Scanning dependencies of target opencv_test_text_pch_dephelp Scanning dependencies of target opencv_test_calib3d_pch_dephelp [ 8%] Building CXX object modules/text/CMakeFiles/opencv_test_text_pch_dephelp.dir/opencv_test_text_pch_dephelp.cxx.o [ 8%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d_pch_dephelp.dir/opencv_test_calib3d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_line_descriptor_pch_dephelp.a [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 8%] Built target opencv_line_descriptor_pch_dephelp Scanning dependencies of target opencv_calib3d_pch_dephelp [ 8%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_line_descriptor_pch_dephelp.a [ 9%] Linking CXX static library ../../lib/libopencv_test_line_descriptor_pch_dephelp.a [ 9%] Built target opencv_perf_line_descriptor_pch_dephelp [ 9%] Built target opencv_test_line_descriptor_pch_dephelp Scanning dependencies of target opencv_perf_calib3d_pch_dephelp [ 9%] Linking CXX static library ../../lib/libopencv_text_pch_dephelp.a Scanning dependencies of target opencv_ccalib_pch_dephelp [ 9%] Built target opencv_text_pch_dephelp [ 9%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d_pch_dephelp.dir/opencv_perf_calib3d_pch_dephelp.cxx.o [ 10%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib_pch_dephelp.dir/opencv_ccalib_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_objdetect_pch_dephelp [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect_pch_dephelp.dir/opencv_test_objdetect_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_saliency_pch_dephelp.a [ 11%] Built target opencv_saliency_pch_dephelp Scanning dependencies of target opencv_objdetect_pch_dephelp [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect_pch_dephelp.dir/opencv_objdetect_pch_dephelp.cxx.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o [ 11%] Linking CXX static library ../../lib/libopencv_test_text_pch_dephelp.a [ 11%] Linking CXX static library ../../lib/libopencv_test_calib3d_pch_dephelp.a [ 11%] Built target opencv_test_text_pch_dephelp Scanning dependencies of target opencv_perf_objdetect_pch_dephelp [ 11%] Built target opencv_test_calib3d_pch_dephelp Scanning dependencies of target opencv_rgbd_pch_dephelp [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect_pch_dephelp.dir/opencv_perf_objdetect_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_ccalib_pch_dephelp.a [ 11%] Built target opencv_ccalib_pch_dephelp [ 11%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd_pch_dephelp.dir/opencv_rgbd_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_rgbd_pch_dephelp [ 11%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd_pch_dephelp.dir/opencv_test_rgbd_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a [ 11%] Linking CXX static library ../../lib/libopencv_perf_calib3d_pch_dephelp.a [ 11%] Built target opencv_calib3d_pch_dephelp Scanning dependencies of target opencv_perf_stereo_pch_dephelp [ 11%] Built target opencv_perf_calib3d_pch_dephelp Scanning dependencies of target opencv_stereo_pch_dephelp [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo_pch_dephelp.dir/opencv_perf_stereo_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_test_objdetect_pch_dephelp.a [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo_pch_dephelp.dir/opencv_stereo_pch_dephelp.cxx.o [ 11%] Built target opencv_test_objdetect_pch_dephelp Scanning dependencies of target opencv_test_stereo_pch_dephelp [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo_pch_dephelp.dir/opencv_test_stereo_pch_dephelp.cxx.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o [ 11%] Linking CXX static library ../../lib/libopencv_objdetect_pch_dephelp.a [ 11%] Built target opencv_objdetect_pch_dephelp Scanning dependencies of target opencv_test_stitching_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching_pch_dephelp.dir/opencv_test_stitching_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_perf_objdetect_pch_dephelp.a [ 11%] Built target opencv_perf_objdetect_pch_dephelp Scanning dependencies of target opencv_stitching_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching_pch_dephelp.dir/opencv_stitching_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_test_rgbd_pch_dephelp.a [ 11%] Built target opencv_test_rgbd_pch_dephelp Scanning dependencies of target opencv_perf_stitching_pch_dephelp [ 11%] Linking CXX static library ../../lib/libopencv_rgbd_pch_dephelp.a [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.o [ 11%] Built target opencv_rgbd_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching_pch_dephelp.dir/opencv_perf_stitching_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_structured_light_pch_dephelp [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o [ 11%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light_pch_dephelp.dir/opencv_test_structured_light_pch_dephelp.cxx.o [ 12%] Linking CXX static library ../../lib/libopencv_perf_stereo_pch_dephelp.a [ 12%] Built target opencv_perf_stereo_pch_dephelp Scanning dependencies of target opencv_structured_light_pch_dephelp [ 12%] Linking CXX static library ../../lib/libopencv_stereo_pch_dephelp.a [ 12%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light_pch_dephelp.dir/opencv_structured_light_pch_dephelp.cxx.o [ 12%] Linking CXX static library ../../lib/libopencv_test_stereo_pch_dephelp.a [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o [ 12%] Built target opencv_stereo_pch_dephelp [ 12%] Built target opencv_test_stereo_pch_dephelp Scanning dependencies of target opencv_test_tracking_pch_dephelp Scanning dependencies of target opencv_tracking_pch_dephelp [ 12%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking_pch_dephelp.dir/opencv_tracking_pch_dephelp.cxx.o [ 12%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking_pch_dephelp.dir/opencv_test_tracking_pch_dephelp.cxx.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/statusor.cc.o [ 12%] Linking CXX static library ../../lib/libopencv_test_stitching_pch_dephelp.a [ 12%] Built target opencv_test_stitching_pch_dephelp Scanning dependencies of target opencv_perf_tracking_pch_dephelp [ 13%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking_pch_dephelp.dir/opencv_perf_tracking_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_test_structured_light_pch_dephelp.a [ 13%] Linking CXX static library ../../lib/libopencv_tracking_pch_dephelp.a [ 13%] Built target opencv_test_structured_light_pch_dephelp Scanning dependencies of target opencv_videostab_pch_dephelp [ 13%] Built target opencv_tracking_pch_dephelp Scanning dependencies of target opencv_test_videostab_pch_dephelp [ 13%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_perf_stitching_pch_dephelp.a [ 13%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_stitching_pch_dephelp.a [ 13%] Built target opencv_perf_stitching_pch_dephelp [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o Scanning dependencies of target opencv_ximgproc_pch_dephelp [ 13%] Built target opencv_stitching_pch_dephelp Scanning dependencies of target opencv_test_ximgproc_pch_dephelp [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc_pch_dephelp.dir/opencv_ximgproc_pch_dephelp.cxx.o [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc_pch_dephelp.dir/opencv_test_ximgproc_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_structured_light_pch_dephelp.a [ 13%] Built target opencv_structured_light_pch_dephelp [ 13%] Linking CXX static library ../../lib/libopencv_test_tracking_pch_dephelp.a Scanning dependencies of target opencv_perf_ximgproc_pch_dephelp [ 13%] Built target opencv_test_tracking_pch_dephelp Scanning dependencies of target opencv_xobjdetect_pch_dephelp [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc_pch_dephelp.dir/opencv_perf_ximgproc_pch_dephelp.cxx.o [ 13%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect_pch_dephelp.dir/opencv_xobjdetect_pch_dephelp.cxx.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o [ 13%] Linking CXX static library ../../lib/libopencv_perf_tracking_pch_dephelp.a [ 13%] Built target opencv_perf_tracking_pch_dephelp [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o Scanning dependencies of target opencv_test_aruco_pch_dephelp [ 14%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco_pch_dephelp.dir/opencv_test_aruco_pch_dephelp.cxx.o [ 14%] Linking CXX static library ../../lib/libopencv_xobjdetect_pch_dephelp.a [ 14%] Built target opencv_xobjdetect_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_test_videostab_pch_dephelp.a Scanning dependencies of target opencv_aruco_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_videostab_pch_dephelp.a [ 14%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco_pch_dephelp.dir/opencv_aruco_pch_dephelp.cxx.o [ 14%] Built target opencv_test_videostab_pch_dephelp Scanning dependencies of target opencv_test_bgsegm_pch_dephelp [ 14%] Built target opencv_videostab_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_test_ximgproc_pch_dephelp.a Scanning dependencies of target opencv_bgsegm_pch_dephelp [ 14%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm_pch_dephelp.dir/opencv_test_bgsegm_pch_dephelp.cxx.o [ 15%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm_pch_dephelp.dir/opencv_bgsegm_pch_dephelp.cxx.o [ 15%] Built target opencv_test_ximgproc_pch_dephelp Scanning dependencies of target opencv_dpm_pch_dephelp [ 15%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm_pch_dephelp.dir/opencv_dpm_pch_dephelp.cxx.o [ 15%] Linking CXX static library ../../lib/libopencv_ximgproc_pch_dephelp.a [ 15%] Linking CXX static library ../../lib/libopencv_perf_ximgproc_pch_dephelp.a [ 15%] Built target opencv_ximgproc_pch_dephelp Scanning dependencies of target opencv_face_pch_dephelp [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o [ 15%] Built target opencv_perf_ximgproc_pch_dephelp Scanning dependencies of target opencv_test_face_pch_dephelp [ 15%] Building CXX object modules/face/CMakeFiles/opencv_face_pch_dephelp.dir/opencv_face_pch_dephelp.cxx.o [ 15%] Building CXX object modules/face/CMakeFiles/opencv_test_face_pch_dephelp.dir/opencv_test_face_pch_dephelp.cxx.o [ 15%] Linking CXX static library ../../lib/libopencv_aruco_pch_dephelp.a [ 15%] Built target opencv_aruco_pch_dephelp [ 15%] Linking CXX static library ../../lib/libopencv_bgsegm_pch_dephelp.a Scanning dependencies of target opencv_optflow_pch_dephelp [ 15%] Built target opencv_bgsegm_pch_dephelp Scanning dependencies of target opencv_test_optflow_pch_dephelp [ 16%] Linking CXX static library ../../lib/libopencv_dpm_pch_dephelp.a [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow_pch_dephelp.dir/opencv_optflow_pch_dephelp.cxx.o [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow_pch_dephelp.dir/opencv_test_optflow_pch_dephelp.cxx.o [ 16%] Built target opencv_dpm_pch_dephelp Scanning dependencies of target opencv_perf_optflow_pch_dephelp [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow_pch_dephelp.dir/opencv_perf_optflow_pch_dephelp.cxx.o [ 16%] Linking CXX static library ../../lib/libopencv_test_aruco_pch_dephelp.a [ 16%] Built target opencv_test_aruco_pch_dephelp Scanning dependencies of target gen_opencv_python_source [ 16%] Generate files for Python bindings and documentation [ 16%] Linking CXX static library ../../lib/libopencv_test_bgsegm_pch_dephelp.a [ 16%] Built target opencv_test_bgsegm_pch_dephelp Scanning dependencies of target pch_Generate_opencv_core [ 16%] Generating precomp.hpp [ 16%] Generating precomp.hpp.gch/opencv_core_Release.gch [ 16%] Linking CXX static library ../../lib/libopencv_test_face_pch_dephelp.a [ 16%] Built target opencv_test_face_pch_dephelp Scanning dependencies of target pch_Generate_opencv_ts [ 16%] Generating precomp.hpp [ 17%] Linking CXX static library ../../lib/libopencv_face_pch_dephelp.a [ 17%] Generating precomp.hpp.gch/opencv_ts_Release.gch [ 17%] Built target opencv_face_pch_dephelp Scanning dependencies of target pch_Generate_opencv_imgproc [ 17%] Generating precomp.hpp [ 17%] Generating precomp.hpp.gch/opencv_imgproc_Release.gch [ 17%] Linking CXX static library ../../lib/libopencv_test_optflow_pch_dephelp.a Note: Class Feature2D has more than 1 base class (not supported by Python C extensions) Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm Only the first base class will be used [ 17%] Built target opencv_test_optflow_pch_dephelp Scanning dependencies of target pch_Generate_opencv_imgcodecs [ 17%] Generating precomp.hpp [ 17%] Linking CXX static library ../../lib/libopencv_optflow_pch_dephelp.a [ 18%] Linking CXX static library ../../lib/libopencv_perf_optflow_pch_dephelp.a [ 18%] Generating precomp.hpp.gch/opencv_imgcodecs_Release.gch [ 18%] Built target opencv_optflow_pch_dephelp [ 18%] Built target opencv_perf_optflow_pch_dephelp Scanning dependencies of target pch_Generate_opencv_videoio Scanning dependencies of target pch_Generate_opencv_highgui [ 18%] Generating precomp.hpp [ 18%] Generating precomp.hpp [ 18%] Generating precomp.hpp.gch/opencv_videoio_Release.gch [ 18%] Generating precomp.hpp.gch/opencv_highgui_Release.gch [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/time.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o [ 18%] Built target gen_opencv_python_source Scanning dependencies of target pch_Generate_opencv_test_core [ 18%] Generating test_precomp.hpp [ 18%] Generating test_precomp.hpp.gch/opencv_test_core_Release.gch [ 18%] Built target pch_Generate_opencv_core Scanning dependencies of target pch_Generate_opencv_flann [ 18%] Generating precomp.hpp [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o [ 18%] Generating precomp.hpp.gch/opencv_flann_Release.gch [ 18%] Built target pch_Generate_opencv_imgproc [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.pb.cc.o [ 18%] Built target pch_Generate_opencv_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_flann [ 18%] Generating test_precomp.hpp [ 18%] Generating test_precomp.hpp.gch/opencv_test_flann_Release.gch [ 18%] Built target pch_Generate_opencv_highgui Scanning dependencies of target pch_Generate_opencv_test_hdf [ 19%] Generating test_precomp.hpp [ 19%] Generating test_precomp.hpp.gch/opencv_test_hdf_Release.gch [ 19%] Built target pch_Generate_opencv_videoio Scanning dependencies of target pch_Generate_opencv_hdf [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_hdf_Release.gch [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o [ 19%] Built target pch_Generate_opencv_ts Scanning dependencies of target pch_Generate_opencv_test_imgproc [ 19%] Generating test_precomp.hpp [ 19%] Generating test_precomp.hpp.gch/opencv_test_imgproc_Release.gch [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o [ 19%] Built target pch_Generate_opencv_hdf Scanning dependencies of target pch_Generate_opencv_perf_imgproc [ 20%] Generating perf_precomp.hpp [ 20%] Generating perf_precomp.hpp.gch/opencv_perf_imgproc_Release.gch [ 20%] Built target pch_Generate_opencv_test_core Scanning dependencies of target pch_Generate_opencv_ml [ 21%] Generating precomp.hpp [ 21%] Generating precomp.hpp.gch/opencv_ml_Release.gch [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o [ 21%] Built target pch_Generate_opencv_flann Scanning dependencies of target pch_Generate_opencv_test_ml [ 21%] Generating test_precomp.hpp [ 21%] Built target pch_Generate_opencv_test_hdf Scanning dependencies of target pch_Generate_opencv_phase_unwrapping [ 21%] Generating test_precomp.hpp.gch/opencv_test_ml_Release.gch [ 21%] Generating precomp.hpp [ 21%] Generating precomp.hpp.gch/opencv_phase_unwrapping_Release.gch [ 21%] Built target pch_Generate_opencv_test_flann Scanning dependencies of target pch_Generate_opencv_test_phase_unwrapping [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_phase_unwrapping_Release.gch [ 22%] Built target pch_Generate_opencv_test_imgproc Scanning dependencies of target pch_Generate_opencv_photo [ 22%] Built target pch_Generate_opencv_perf_imgproc [ 22%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_test_photo [ 22%] Generating precomp.hpp.gch/opencv_photo_Release.gch [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_photo_Release.gch [ 22%] Built target pch_Generate_opencv_ml Scanning dependencies of target pch_Generate_opencv_perf_photo [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_photo_Release.gch [ 22%] Built target pch_Generate_opencv_test_phase_unwrapping [ 22%] Built target pch_Generate_opencv_test_ml Scanning dependencies of target pch_Generate_opencv_plot Scanning dependencies of target pch_Generate_opencv_reg [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_reg_Release.gch [ 22%] Generating precomp.hpp.gch/opencv_plot_Release.gch [ 22%] Built target pch_Generate_opencv_phase_unwrapping Scanning dependencies of target pch_Generate_opencv_test_reg [ 22%] Generating test_precomp.hpp [ 22%] Built target pch_Generate_opencv_reg [ 22%] Generating test_precomp.hpp.gch/opencv_test_reg_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_reg [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_reg_Release.gch [ 22%] Built target pch_Generate_opencv_test_photo Scanning dependencies of target pch_Generate_opencv_surface_matching [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_surface_matching_Release.gch [ 22%] Built target pch_Generate_opencv_photo Scanning dependencies of target pch_Generate_opencv_video [ 22%] Generating precomp.hpp [ 22%] Built target pch_Generate_opencv_plot [ 22%] Generating precomp.hpp.gch/opencv_video_Release.gch Scanning dependencies of target pch_Generate_opencv_test_video [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_video_Release.gch [ 22%] Built target pch_Generate_opencv_perf_photo Scanning dependencies of target pch_Generate_opencv_perf_video [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_video_Release.gch [ 22%] Built target pch_Generate_opencv_test_reg Scanning dependencies of target pch_Generate_opencv_test_viz [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_viz_Release.gch [ 22%] Built target pch_Generate_opencv_perf_reg Scanning dependencies of target pch_Generate_opencv_viz [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_viz_Release.gch [ 22%] Built target pch_Generate_opencv_surface_matching Scanning dependencies of target pch_Generate_opencv_test_xphoto [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_xphoto_Release.gch [ 22%] Built target pch_Generate_opencv_test_video Scanning dependencies of target pch_Generate_opencv_perf_xphoto [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_xphoto_Release.gch [ 22%] Built target pch_Generate_opencv_video Scanning dependencies of target pch_Generate_opencv_dnn [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_perf_video Scanning dependencies of target pch_Generate_opencv_test_dnn [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_test_viz Scanning dependencies of target pch_Generate_opencv_perf_dnn [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_viz Scanning dependencies of target pch_Generate_opencv_freetype [ 23%] Generating precomp.hpp [ 23%] Built target pch_Generate_opencv_test_xphoto [ 23%] Generating precomp.hpp.gch/opencv_freetype_Release.gch Scanning dependencies of target pch_Generate_opencv_test_fuzzy [ 23%] Generating test_precomp.hpp [ 23%] Generating test_precomp.hpp.gch/opencv_test_fuzzy_Release.gch [ 23%] Built target pch_Generate_opencv_dnn Scanning dependencies of target pch_Generate_opencv_fuzzy [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_fuzzy_Release.gch [ 23%] Built target pch_Generate_opencv_perf_xphoto Scanning dependencies of target pch_Generate_opencv_hfs [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_hfs_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o Scanning dependencies of target pch_Generate_opencv_img_hash [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_img_hash_Release.gch [ 23%] Built target pch_Generate_opencv_test_dnn [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/duration.pb.cc.o [ 23%] Built target pch_Generate_opencv_perf_dnn [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o [ 23%] Built target pch_Generate_opencv_hfs [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/empty.pb.cc.o [ 23%] Built target pch_Generate_opencv_freetype Scanning dependencies of target pch_Generate_opencv_test_img_hash [ 23%] Built target pch_Generate_opencv_test_fuzzy [ 23%] Generating test_precomp.hpp Scanning dependencies of target pch_Generate_opencv_test_imgcodecs [ 23%] Generating test_precomp.hpp.gch/opencv_test_img_hash_Release.gch [ 23%] Generating test_precomp.hpp [ 23%] Generating test_precomp.hpp.gch/opencv_test_imgcodecs_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o [ 23%] Built target pch_Generate_opencv_fuzzy Scanning dependencies of target pch_Generate_opencv_perf_imgcodecs [ 23%] Generating perf_precomp.hpp [ 23%] Generating perf_precomp.hpp.gch/opencv_perf_imgcodecs_Release.gch [ 23%] Built target pch_Generate_opencv_img_hash Scanning dependencies of target pch_Generate_opencv_shape [ 23%] Generating precomp.hpp [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/field_mask.pb.cc.o [ 23%] Generating precomp.hpp.gch/opencv_shape_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/gzip_stream.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/printer.cc.o [ 24%] Built target pch_Generate_opencv_test_img_hash [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o [ 24%] Built target pch_Generate_opencv_test_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_shape [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_shape_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 24%] Built target pch_Generate_opencv_perf_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_videoio [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_videoio_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o [ 24%] Built target pch_Generate_opencv_shape Scanning dependencies of target pch_Generate_opencv_perf_videoio [ 24%] Generating perf_precomp.hpp [ 24%] Generating perf_precomp.hpp.gch/opencv_perf_videoio_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/service.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/source_context.pb.cc.o [ 24%] Built target pch_Generate_opencv_test_shape Scanning dependencies of target pch_Generate_opencv_test_highgui [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_highgui_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/struct.pb.cc.o [ 24%] Built target pch_Generate_opencv_perf_videoio Scanning dependencies of target pch_Generate_opencv_superres [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/mathlimits.cc.o [ 24%] Generating precomp.hpp [ 24%] Generating precomp.hpp.gch/opencv_superres_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/type.pb.cc.o [ 24%] Built target pch_Generate_opencv_test_videoio Scanning dependencies of target pch_Generate_opencv_test_superres [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_superres_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/delimited_message_util.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_comparator.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_mask_util.cc.o [ 25%] Built target pch_Generate_opencv_test_highgui Scanning dependencies of target pch_Generate_opencv_perf_superres [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_superres_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/datapiece.cc.o [ 25%] Built target pch_Generate_opencv_superres Scanning dependencies of target pch_Generate_opencv_test_bioinspired [ 25%] Generating test_precomp.hpp [ 25%] Generating test_precomp.hpp.gch/opencv_test_bioinspired_Release.gch [ 25%] Built target pch_Generate_opencv_test_superres Scanning dependencies of target pch_Generate_opencv_bioinspired [ 25%] Generating precomp.hpp [ 25%] Generating precomp.hpp.gch/opencv_bioinspired_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_escaping.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 25%] Built target pch_Generate_opencv_perf_superres Scanning dependencies of target pch_Generate_opencv_perf_bioinspired [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_bioinspired_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/object_writer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/proto_writer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 25%] Built target pch_Generate_opencv_test_bioinspired Scanning dependencies of target pch_Generate_opencv_dnn_objdetect [ 25%] Generating precomp.hpp [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 25%] Generating precomp.hpp.gch/opencv_dnn_objdetect_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/type_info.cc.o [ 25%] Built target pch_Generate_opencv_bioinspired Scanning dependencies of target pch_Generate_opencv_test_features2d [ 25%] Generating test_precomp.hpp [ 25%] Generating test_precomp.hpp.gch/opencv_test_features2d_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/utility.cc.o [ 25%] Built target pch_Generate_opencv_perf_bioinspired Scanning dependencies of target pch_Generate_opencv_features2d [ 25%] Built target pch_Generate_opencv_dnn_objdetect [ 25%] Generating precomp.hpp [ 25%] Generating precomp.hpp.gch/opencv_features2d_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_features2d [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_features2d_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/json_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/message_differencer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/time_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/type_resolver_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format.cc.o [ 26%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wrappers.pb.cc.o Scanning dependencies of target pch_Generate_opencv_perf_line_descriptor [ 26%] Generating perf_precomp.hpp [ 26%] Generating perf_precomp.hpp.gch/opencv_perf_line_descriptor_Release.gch [ 26%] Built target pch_Generate_opencv_test_features2d Scanning dependencies of target pch_Generate_opencv_line_descriptor [ 26%] Generating precomp.hpp [ 26%] Generating precomp.hpp.gch/opencv_line_descriptor_Release.gch Scanning dependencies of target pch_Generate_opencv_test_line_descriptor [ 26%] Generating test_precomp.hpp [ 26%] Generating test_precomp.hpp.gch/opencv_test_line_descriptor_Release.gch [ 26%] Built target pch_Generate_opencv_perf_features2d Scanning dependencies of target pch_Generate_opencv_saliency [ 26%] Generating precomp.hpp [ 26%] Built target pch_Generate_opencv_features2d [ 26%] Generating precomp.hpp.gch/opencv_saliency_Release.gch Scanning dependencies of target pch_Generate_opencv_text [ 26%] Generating precomp.hpp [ 26%] Generating precomp.hpp.gch/opencv_text_Release.gch [ 26%] Built target pch_Generate_opencv_perf_line_descriptor Scanning dependencies of target pch_Generate_opencv_test_text [ 27%] Generating test_precomp.hpp [ 27%] Generating test_precomp.hpp.gch/opencv_test_text_Release.gch Scanning dependencies of target pch_Generate_opencv_test_calib3d [ 27%] Generating test_precomp.hpp [ 27%] Generating test_precomp.hpp.gch/opencv_test_calib3d_Release.gch [ 27%] Built target pch_Generate_opencv_text Scanning dependencies of target pch_Generate_opencv_calib3d [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_calib3d [ 28%] Generating perf_precomp.hpp [ 28%] Generating perf_precomp.hpp.gch/opencv_perf_calib3d_Release.gch [ 28%] Built target pch_Generate_opencv_line_descriptor Scanning dependencies of target pch_Generate_opencv_ccalib [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_ccalib_Release.gch [ 28%] Linking CXX static library ../lib/liblibprotobuf.a [ 28%] Built target pch_Generate_opencv_test_line_descriptor Scanning dependencies of target pch_Generate_opencv_test_objdetect [ 28%] Generating test_precomp.hpp [ 28%] Generating test_precomp.hpp.gch/opencv_test_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_saliency Scanning dependencies of target pch_Generate_opencv_objdetect [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_ccalib Scanning dependencies of target pch_Generate_opencv_perf_objdetect [ 28%] Generating perf_precomp.hpp [ 28%] Generating perf_precomp.hpp.gch/opencv_perf_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_test_calib3d Scanning dependencies of target pch_Generate_opencv_test_rgbd [ 28%] Built target pch_Generate_opencv_test_text [ 28%] Generating test_precomp.hpp Scanning dependencies of target pch_Generate_opencv_rgbd [ 29%] Generating precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_rgbd_Release.gch [ 29%] Generating precomp.hpp.gch/opencv_rgbd_Release.gch [ 29%] Built target libprotobuf Scanning dependencies of target pch_Generate_opencv_test_stereo [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_stereo_Release.gch [ 29%] Built target pch_Generate_opencv_perf_calib3d Scanning dependencies of target pch_Generate_opencv_stereo [ 29%] Generating precomp.hpp [ 29%] Built target pch_Generate_opencv_test_objdetect [ 29%] Generating precomp.hpp.gch/opencv_stereo_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_stereo [ 29%] Generating perf_precomp.hpp [ 29%] Generating perf_precomp.hpp.gch/opencv_perf_stereo_Release.gch [ 29%] Built target pch_Generate_opencv_calib3d Scanning dependencies of target pch_Generate_opencv_test_stitching [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_objdetect Scanning dependencies of target pch_Generate_opencv_stitching [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp.gch/opencv_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_perf_objdetect Scanning dependencies of target pch_Generate_opencv_perf_stitching [ 29%] Generating perf_precomp.hpp [ 29%] Generating perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_test_rgbd Scanning dependencies of target pch_Generate_opencv_test_structured_light [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_structured_light_Release.gch [ 29%] Built target pch_Generate_opencv_rgbd Scanning dependencies of target pch_Generate_opencv_structured_light [ 29%] Built target pch_Generate_opencv_test_stereo [ 29%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_tracking [ 30%] Generating precomp.hpp [ 30%] Generating precomp.hpp.gch/opencv_structured_light_Release.gch [ 30%] Generating precomp.hpp.gch/opencv_tracking_Release.gch [ 30%] Built target pch_Generate_opencv_perf_stereo Scanning dependencies of target pch_Generate_opencv_test_tracking [ 30%] Generating test_precomp.hpp [ 30%] Generating test_precomp.hpp.gch/opencv_test_tracking_Release.gch [ 30%] Built target pch_Generate_opencv_stereo Scanning dependencies of target pch_Generate_opencv_perf_tracking [ 31%] Generating perf_precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_tracking_Release.gch [ 31%] Built target pch_Generate_opencv_test_stitching Scanning dependencies of target pch_Generate_opencv_videostab [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_videostab_Release.gch [ 31%] Built target pch_Generate_opencv_stitching Scanning dependencies of target pch_Generate_opencv_test_videostab [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_videostab_Release.gch [ 31%] Built target pch_Generate_opencv_perf_stitching Scanning dependencies of target pch_Generate_opencv_ximgproc [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_tracking Scanning dependencies of target pch_Generate_opencv_test_ximgproc [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_test_structured_light Scanning dependencies of target pch_Generate_opencv_perf_ximgproc [ 31%] Generating perf_precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_structured_light Scanning dependencies of target pch_Generate_opencv_xobjdetect [ 31%] Generating precomp.hpp [ 31%] Built target pch_Generate_opencv_test_tracking [ 31%] Generating precomp.hpp.gch/opencv_xobjdetect_Release.gch Scanning dependencies of target pch_Generate_opencv_test_aruco [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_aruco_Release.gch [ 31%] Built target pch_Generate_opencv_perf_tracking Scanning dependencies of target pch_Generate_opencv_aruco [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_aruco_Release.gch [ 31%] Built target pch_Generate_opencv_videostab Scanning dependencies of target pch_Generate_opencv_bgsegm [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_bgsegm_Release.gch [ 31%] Built target pch_Generate_opencv_test_videostab Scanning dependencies of target pch_Generate_opencv_test_bgsegm [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_bgsegm_Release.gch [ 32%] Built target pch_Generate_opencv_xobjdetect Scanning dependencies of target pch_Generate_opencv_dpm [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_dpm_Release.gch [ 32%] Built target pch_Generate_opencv_test_ximgproc Scanning dependencies of target pch_Generate_opencv_face [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_face_Release.gch [ 32%] Built target pch_Generate_opencv_ximgproc Scanning dependencies of target pch_Generate_opencv_test_face [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_face_Release.gch [ 32%] Built target pch_Generate_opencv_perf_ximgproc Scanning dependencies of target pch_Generate_opencv_optflow [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_aruco Scanning dependencies of target pch_Generate_opencv_test_optflow [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_bgsegm Scanning dependencies of target pch_Generate_opencv_perf_optflow [ 32%] Generating perf_precomp.hpp [ 32%] Generating perf_precomp.hpp.gch/opencv_perf_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_test_aruco [ 32%] Processing OpenCL kernels (core) Scanning dependencies of target opencv_core [ 32%] Built target pch_Generate_opencv_dpm [ 32%] Built target pch_Generate_opencv_test_bgsegm [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o [ 32%] Built target pch_Generate_opencv_face [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o [ 32%] Built target pch_Generate_opencv_test_face [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o [ 32%] Built target pch_Generate_opencv_test_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o [ 32%] Built target pch_Generate_opencv_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o [ 32%] Built target pch_Generate_opencv_perf_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_base64.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/samples.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/datafile.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_cpp.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_c.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.sse4_1.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.sse4_2.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.avx2.cpp.o [ 37%] Linking CXX shared library ../../lib/libopencv_core.so [ 37%] Built target opencv_core Scanning dependencies of target opencv_hdf Scanning dependencies of target opencv_flann Scanning dependencies of target opencv_version Scanning dependencies of target opencv_ml [ 37%] Processing OpenCL kernels (imgproc) Scanning dependencies of target opencv_viz [ 37%] Building CXX object modules/hdf/CMakeFiles/opencv_hdf.dir/src/hdf5.cpp.o Scanning dependencies of target opencv_imgproc [ 38%] Building CXX object apps/version/CMakeFiles/opencv_version.dir/opencv_version.cpp.o [ 38%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o [ 38%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/miniflann.cpp.o [ 38%] Linking CXX shared library ../../lib/libopencv_hdf.so [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/widget.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/clouds.cpp.o [ 38%] Built target opencv_hdf [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/viz3d.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/shapes.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkTrajectorySource.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svmsgd.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o [ 38%] Linking CXX executable ../../bin/opencv_version [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkImageMatSource.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/tree.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/kdtree.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o [ 38%] Built target opencv_version [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZReader.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSink.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/gbt.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSource.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/ann_mlp.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZWriter.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/knearest.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkOBJWriter.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vizimpl.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/testset.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/types.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svm.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vizcore.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o [ 40%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/nbayes.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o [ 40%] Linking CXX shared library ../../lib/libopencv_viz.so [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o [ 40%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/lr.cpp.o [ 40%] Built target opencv_viz [ 41%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o [ 41%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/rtrees.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o [ 41%] Linking CXX shared library ../../lib/libopencv_flann.so [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o [ 41%] Linking CXX shared library ../../lib/libopencv_ml.so [ 41%] Built target opencv_flann Scanning dependencies of target opencv_surface_matching [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/icp.cpp.o [ 41%] Built target opencv_ml [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/ppf_match_3d.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/t_hash_int.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/pose_3d.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o [ 42%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/ppf_helpers.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o [ 43%] Linking CXX shared library ../../lib/libopencv_surface_matching.so [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.cpp.o [ 43%] Built target opencv_surface_matching [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.avx.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx2.cpp.o [ 44%] Linking CXX shared library ../../lib/libopencv_imgproc.so [ 44%] Built target opencv_imgproc Scanning dependencies of target opencv_imgcodecs [ 44%] Processing OpenCL kernels (photo) [ 44%] Processing OpenCL kernels (video) Scanning dependencies of target opencv_phase_unwrapping Scanning dependencies of target opencv_plot Scanning dependencies of target opencv_reg Scanning dependencies of target opencv_freetype [ 44%] Processing OpenCL kernels (dnn) [ 44%] Building CXX object modules/plot/CMakeFiles/opencv_plot.dir/src/plot.cpp.o [ 44%] Building CXX object modules/freetype/CMakeFiles/opencv_freetype.dir/src/freetype.cpp.o [ 44%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.o [ 44%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapper.cpp.o Scanning dependencies of target opencv_photo Scanning dependencies of target opencv_video Scanning dependencies of target opencv_dnn [ 44%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o [ 44%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o [ 45%] Linking CXX shared library ../../lib/libopencv_freetype.so [ 45%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o [ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/graph.pb.cc.o [ 45%] Linking CXX shared library ../../lib/libopencv_phase_unwrapping.so [ 45%] Built target opencv_phase_unwrapping [ 45%] Linking CXX shared library ../../lib/libopencv_plot.so Scanning dependencies of target opencv_fuzzy [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_image.cpp.o [ 45%] Built target opencv_freetype Scanning dependencies of target opencv_hfs [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/slic/gslic_engine.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/slic/slic.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradshift.cpp.o [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_F0_math.cpp.o [ 45%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/merge.cpp.o [ 45%] Built target opencv_plot Scanning dependencies of target opencv_img_hash [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/color_moment_hash.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/hfs_core.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/radial_variance_hash.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapprojec.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/marr_hildreth_hash.cpp.o [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_F1_math.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradeuclid.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/img_hash_base.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/magnitude/magnitude.cpp.o [ 45%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/npr.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/average_hash.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o [ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor.pb.cc.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/merge/merge.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/phash.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapaffine.cpp.o [ 46%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/hfs.cpp.o [ 46%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/block_mean_hash.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_hfs.so [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/camshift.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_fuzzy.so [ 46%] Built target opencv_fuzzy [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/lkpyramid.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_img_hash.so [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradaffine.cpp.o [ 46%] Built target opencv_hfs [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradproj.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/function.pb.cc.o [ 46%] Built target opencv_img_hash [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/types.pb.cc.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/kalman.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/attr_value.pb.cc.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapshift.cpp.o [ 46%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/ecc.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapperpyramid.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/map.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradsimilar.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_KNN.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/versions.pb.cc.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_reg.so [ 47%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning.cpp.o [ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o [ 48%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/compat_video.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/op_def.pb.cc.o [ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor_shape.pb.cc.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o [ 48%] Built target opencv_reg [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/onnx/opencv-onnx.pb.cc.o [ 48%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/opencl_kernels_video.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/align.cpp.o [ 48%] Linking CXX shared library ../../lib/libopencv_video.so [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o [ 48%] Linking CXX shared library ../../lib/libopencv_imgcodecs.so [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/contrast_preserve.cpp.o [ 48%] Built target opencv_video Scanning dependencies of target opencv_shape [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/tps_trans.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_inf_engine.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/init.cpp.o [ 48%] Built target opencv_imgcodecs Scanning dependencies of target opencv_videoio [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cuda.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_graph_simplifier.cpp.o [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/hist_cost.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o [ 48%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_registry.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoise_tvl1.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_io.cpp.o [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/emdL1.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/inpaint.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_importer.cpp.o [ 49%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_c.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/common.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_lrn.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_inner_product.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/math_functions.cpp.o [ 50%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/sc_dis.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/aff_trans.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_encoder.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_softmax.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_pool.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/haus_dis.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shuffle_channel_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/permute_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_decoder.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/container_avi.cpp.o [ 50%] Linking CXX shared library ../../lib/libopencv_shape.so [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reorg_layer.cpp.o [ 50%] Built target opencv_shape [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/prior_box_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dc1394_v2.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gstreamer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/blank_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/batch_norm_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_v4l.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/eltwise_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o [ 51%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/region_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/elementwise_layers.cpp.o [ 51%] Linking CXX shared library ../../lib/libopencv_videoio.so [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_and_resize_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/scale_layer.cpp.o [ 51%] Built target opencv_videoio Scanning dependencies of target opencv_highgui [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_layer.cpp.o [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/roiSelector.cpp.o [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/proposal_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/normalize_bbox_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/detection_output_layer.cpp.o [ 51%] Linking CXX shared library ../../lib/libopencv_highgui.so [ 51%] Built target opencv_highgui [ 51%] Processing OpenCL kernels (superres) [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o Scanning dependencies of target opencv_superres [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/flatten_layer.cpp.o [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1_cuda.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/recurrent_layers.cpp.o [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/max_unpooling_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/padding_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/dnn.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/nms.cpp.o [ 52%] Linking CXX shared library ../../lib/libopencv_photo.so [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/input_array_utility.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_io.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_shrinker.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_importer.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/optical_flow.cpp.o [ 52%] Built target opencv_photo [ 52%] Processing OpenCL kernels (bioinspired) Scanning dependencies of target opencv_bioinspired [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinacolor.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/opencl_kernels_superres.cpp.o [ 52%] Linking CXX shared library ../../lib/libopencv_superres.so [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o [ 52%] Built target opencv_superres [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_halide.cpp.o [ 52%] Processing OpenCL kernels (features2d) Scanning dependencies of target opencv_features2d [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/parvoretinafilter.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o [ 52%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retina_ocl.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/halide_scheduler.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/onnx/onnx_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinafilter.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx2.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/feature2d.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/imagelogpolprojection.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinafasttonemapping.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/basicretinafilter.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/brisk.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/KAZEFeatures.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/AKAZEFeatures.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/magnoretinafilter.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retina.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/transientareassegmentationmodule.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/opencl_kernels_bioinspired.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.cpp.o [ 53%] Linking CXX shared library ../../lib/libopencv_bioinspired.so [ 53%] Linking CXX shared library ../../lib/libopencv_dnn.so [ 53%] Built target opencv_bioinspired Scanning dependencies of target opencv_annotation Scanning dependencies of target opencv_visualisation [ 53%] Building CXX object apps/annotation/CMakeFiles/opencv_annotation.dir/opencv_annotation.cpp.o [ 53%] Building CXX object apps/visualisation/CMakeFiles/opencv_visualisation.dir/opencv_visualisation.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/gftt.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/akaze.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast_score.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.cpp.o [ 54%] Linking CXX executable ../../bin/opencv_annotation [ 54%] Built target opencv_dnn Scanning dependencies of target opencv_ts [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast_score.cpp.o [ 54%] Built target opencv_annotation Scanning dependencies of target opencv_xphoto [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast.cpp.o [ 54%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/tonemap.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.cpp.o [ 54%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/inpainting.cpp.o [ 54%] Linking CXX executable ../../bin/opencv_visualisation [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o [ 54%] Built target opencv_visualisation Scanning dependencies of target opencv_dnn_objdetect [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.avx2.cpp.o [ 54%] Building CXX object modules/dnn_objdetect/CMakeFiles/opencv_dnn_objdetect.dir/src/core_detect.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_func.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_gtest.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_perf.cpp.o [ 54%] Linking CXX shared library ../../lib/libopencv_dnn_objdetect.so [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_perf.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_test.cpp.o [ 54%] Built target opencv_dnn_objdetect [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_test.cpp.o [ 54%] Linking CXX shared library ../../lib/libopencv_features2d.so [ 54%] Built target opencv_features2d Scanning dependencies of target opencv_line_descriptor [ 54%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/draw.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_perf.cpp.o [ 54%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/LSDDetector.cpp.o [ 55%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor_matcher.cpp.o [ 55%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/bm3d_image_denoising.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/dct_image_denoising.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/learning_based_color_balance.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/simple_color_balance.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/grayworld_white_balance.cpp.o Scanning dependencies of target opencv_saliency [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/saliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliencyBinWangApr2014.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliencyFineGrained.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliencySpectralResidual.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/objectness.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmShow.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmFile.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/objectnessBING.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/FilterTIG.cpp.o [ 56%] Linking CXX shared library ../../lib/libopencv_line_descriptor.so [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/ValStructVec.cpp.o [ 56%] Linking CXX shared library ../../lib/libopencv_xphoto.so Scanning dependencies of target opencv_text [ 56%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/erfilter.cpp.o [ 56%] Built target opencv_line_descriptor [ 56%] Processing OpenCL kernels (calib3d) [ 56%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_tesseract.cpp.o Scanning dependencies of target opencv_calib3d [ 56%] Built target opencv_xphoto [ 57%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/text_detectorCNN.cpp.o [ 57%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_beamsearch_decoder.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/fundam.cpp.o [ 58%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_hmm_decoder.cpp.o [ 58%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_holistic.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/main.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/posit.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/quadsubpix.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/circlesgrid.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ap3p.cpp.o [ 58%] Linking CXX shared library ../../lib/libopencv_saliency.so [ 58%] Built target opencv_saliency [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/upnp.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/compat_ptsetreg.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/five-point.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereobm.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibration.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/triangulate.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/checkchessboard.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibinit.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/p3p.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/epnp.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calib3d_c_api.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/fisheye.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/solvepnp.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereosgbm.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o [ 59%] Linking CXX shared library ../../lib/libopencv_text.so [ 59%] Built target opencv_text Scanning dependencies of target opencv_datasets [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_mnist.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/polynom_solver.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/compat_stereo.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/levmarq.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ptsetreg.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/is_bsds.cpp.o [ 59%] Linking CXX static library ../../lib/libopencv_ts.a [ 59%] Built target opencv_ts [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/homography_decomp.cpp.o Scanning dependencies of target opencv_test_core [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/rho.cpp.o [ 59%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rand.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/opencl_kernels_calib3d.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/pd_inria.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_hmdb.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/pd_caltech.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/gr_skig.cpp.o [ 59%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_hal_core.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/fr_adience.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/dataset.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/track_alov.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_sports.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_pascal.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_sun.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/slam_kitti.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/util.cpp.o [ 60%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rotatedrect.cpp.o [ 60%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_umat.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/hpe_humaneva.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ir_robot.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_svt.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_icdar.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/hpe_parse.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_imagenet.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/msm_middlebury.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/msm_epfl.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/track_vot.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/is_weizmann.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/gr_chalearn.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/slam_tumindoor.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ir_affine.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tinyxml2/tinyxml2.cpp.o [ 61%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/fr_lfw.cpp.o [ 61%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_chars.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_mat.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_lpsolver.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_countnonzero.cpp.o [ 61%] Linking CXX shared library ../../lib/libopencv_calib3d.so [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_concatenation.cpp.o [ 61%] Built target opencv_calib3d Scanning dependencies of target opencv_perf_core [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_eigen.cpp.o [ 61%] Linking CXX shared library ../../lib/libopencv_datasets.so [ 61%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_dot.cpp.o [ 61%] Built target opencv_datasets Scanning dependencies of target opencv_test_flann [ 61%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann.dir/test/test_lshtable_badarg.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_downhill_simplex.cpp.o [ 61%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann.dir/test/test_main.cpp.o [ 61%] Linking CXX executable ../../bin/opencv_test_flann [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_arithm.cpp.o [ 62%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_expr.cpp.o [ 62%] Built target opencv_test_flann Scanning dependencies of target opencv_test_hdf [ 63%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf.dir/test/test_hdf5.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_opencl.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_addWeighted.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_image2d.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_dft.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_channels.cpp.o [ 63%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf.dir/test/test_main.cpp.o [ 63%] Linking CXX executable ../../bin/opencv_test_hdf [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_arithm.cpp.o [ 63%] Built target opencv_test_hdf Scanning dependencies of target opencv_test_imgproc [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_compare.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgwarp_strict.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_operation.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_gemm.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_math.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_umat.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_convhull.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_conjugate_gradient.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ds.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_misc.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_stat.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse_direct.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_dxt.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_boundingrect.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_io.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_templmatch.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_resize_bitexact.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ptr.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_drawing.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_arithm.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_utils.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_main.cpp.o [ 64%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_operations.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse_ams.cpp.o [ 65%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_inRange.cpp.o [ 65%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse2.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_filter.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_usage_flags.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse3.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.ssse3.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_bufferpool.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_connectedcomponents.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_contours.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_floodfill.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_matop.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_watershed.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_subdivision2d.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_cvtyuv.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse4_2.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_lsd.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_channels.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_distancetransform.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.fp16.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_thresh.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_goodfeaturetotrack.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_arithm.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_gftt.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.avx.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_match_template.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_warp.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.avx2.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin256.avx2.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_accumulate.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_filter2d.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_filters.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_blend.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_imgproc.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_medianfilter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_sepfilter2d.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_histogram.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_color.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_pyramids.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_boxfilter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_canny.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_houghlines.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_histograms.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_color.cpp.o [ 67%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_gemm.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_intersection.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_approxpoly.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_grabcut.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_bilateral_filter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgwarp.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_smooth_bitexact.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_emd.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_dxt.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgproc_umat.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_pc.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_houghcircles.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_main.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_moments.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_canny.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_houghlines.cpp.o Scanning dependencies of target opencv_perf_imgproc [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_houghcircles.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_warp.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_core [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_math.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_sort.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_bitwise.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_abs.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_merge.cpp.o [ 68%] Built target opencv_test_core Scanning dependencies of target opencv_test_ml [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_mltests.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_cvround.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_io_base64.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_imgproc [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_split.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_mat.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_main.cpp.o [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_svmtrainauto.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_lut.cpp.o [ 68%] Built target opencv_test_imgproc Scanning dependencies of target opencv_test_phase_unwrapping [ 68%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping.dir/test/test_unwrapping.cpp.o [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_emknearestkmeans.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_blur.cpp.o [ 68%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping.dir/test/test_main.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_phase_unwrapping [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_norm.cpp.o [ 69%] Built target opencv_test_phase_unwrapping [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_dft.cpp.o Scanning dependencies of target opencv_test_photo [ 69%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_inpaint.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_reduce.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_minmaxloc.cpp.o [ 69%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_mltests2.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_convertTo.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/cuda/perf_gpumat.cpp.o [ 69%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoising.cuda.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_cloning.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_hdr.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/ocl/test_denoising.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_npr.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoising.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoise_tvl1.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_decolor.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_filter2d.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_main.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_perf_core [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_gbttest.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_lr.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_main.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_save_load.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_svmsgd.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_corners.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_distanceTransform.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_moments.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_test_photo [ 70%] Built target opencv_perf_core Scanning dependencies of target opencv_perf_photo [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_cuda.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/opencl/perf_denoising.cpp.o [ 70%] Built target opencv_test_photo Scanning dependencies of target opencv_test_reg [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg.dir/test/test_reg.cpp.o [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg.dir/test/test_main.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_main.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_inpaint.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_canny.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_test_ml [ 70%] Built target opencv_test_ml Scanning dependencies of target opencv_perf_reg [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg.dir/perf/perf_reg.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_filters.cpp.o [ 71%] Linking CXX executable ../../bin/opencv_test_reg [ 71%] Built target opencv_test_reg Scanning dependencies of target opencv_test_video [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_gftt.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_tvl1optflow.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_moments.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_blend.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_estimaterigid.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_camshift.cpp.o [ 71%] Linking CXX executable ../../bin/opencv_perf_photo [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_pyramid.cpp.o [ 71%] Built target opencv_perf_photo Scanning dependencies of target opencv_perf_video [ 71%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_optflowpyrlk.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_kalman.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg.dir/perf/perf_main.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_3vs4.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_matchTemplate.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_perf_reg [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_houghlines.cpp.o [ 72%] Built target opencv_perf_reg Scanning dependencies of target opencv_test_viz [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_viz3d.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/tests_simple.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_color.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflowpyrlk.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_imgwarp.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_imgproc.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_accumulate.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_tutorial3.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_common.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_resize.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_sepfilters.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_tutorial2.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflow_tvl1flow.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_main.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_test_viz [ 72%] Built target opencv_test_viz Scanning dependencies of target opencv_test_xphoto [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_denoise_bm3d.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_learning_based_color_balance.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_integral.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/dct_image_denoising.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_tvl1optflow.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_grayworld.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_remap.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflow_farneback.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/simple_color_balance.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_matchTemplate.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_houghlines.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_hdr.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_main.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_test_xphoto [ 72%] Built target opencv_test_xphoto Scanning dependencies of target opencv_perf_xphoto [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_grayworld.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_pyramids.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_accum.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_histogram.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_optflowpyrlk.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_cvt_color.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_bilateral.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_phasecorr.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_dualTVL1.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_main.cpp.o [ 73%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_learning_based_color_balance.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_ecc.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_morph.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_threshold.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_goodFeaturesToTrack.cpp.o [ 73%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_spatialgradient.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_xphoto [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_bgfg_knn.cpp.o [ 73%] Built target opencv_perf_xphoto Scanning dependencies of target opencv_test_dnn [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_halide_layers.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_video [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_floodfill.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_accumulate.cpp.o [ 73%] Built target opencv_test_video Scanning dependencies of target opencv_perf_dnn [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_net.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_caffe.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_main.cpp.o Scanning dependencies of target opencv_test_fuzzy [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_image.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_f1.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_convolution.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_motempl.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_pyrlk.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_f0.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_main.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_farneback.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_bgfg_knn.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_fuzzy [ 73%] Built target opencv_test_fuzzy Scanning dependencies of target opencv_test_img_hash [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_block_mean_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_phash.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_ecc.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_radial_variance_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_average_hash.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_dnn [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_marr_hildreth_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_main.cpp.o [ 73%] Built target opencv_perf_dnn Scanning dependencies of target opencv_test_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_grfmt.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_webp.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_img_hash [ 73%] Built target opencv_test_img_hash Scanning dependencies of target opencv_perf_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_perf_imgcodecs.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_png.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_tiff.cpp.o [ 73%] Built target opencv_perf_imgcodecs Scanning dependencies of target opencv_test_shape [ 73%] Linking CXX executable ../../bin/opencv_perf_video [ 73%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape.dir/test/test_shape.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_jpeg.cpp.o [ 73%] Built target opencv_perf_video Scanning dependencies of target opencv_test_videoio [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_container_avi.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_read_write.cpp.o [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_mfx.cpp.o [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_video_io.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_imgproc [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_main.cpp.o Scanning dependencies of target opencv_perf_videoio [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_output.cpp.o [ 73%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape.dir/test/test_main.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_shape [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_input.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_main.cpp.o [ 74%] Built target opencv_test_shape Scanning dependencies of target opencv_test_highgui [ 74%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_gui.cpp.o [ 74%] Built target opencv_perf_imgproc Scanning dependencies of target opencv_test_superres [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_ffmpeg.cpp.o [ 74%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres.dir/test/test_superres.cpp.o [ 74%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_main.cpp.o [ 74%] Linking CXX executable ../../bin/opencv_test_highgui [ 74%] Linking CXX executable ../../bin/opencv_test_imgcodecs [ 74%] Built target opencv_test_highgui Scanning dependencies of target opencv_perf_superres [ 74%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres.dir/perf/perf_superres.cpp.o [ 74%] Built target opencv_test_imgcodecs Scanning dependencies of target opencv_test_bioinspired [ 74%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired.dir/test/test_retina_ocl.cpp.o [ 74%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired.dir/test/test_main.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_fourcc.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_main.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_gstreamer.cpp.o [ 75%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_camera.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_videoio [ 75%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres.dir/perf/perf_main.cpp.o [ 75%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres.dir/test/test_main.cpp.o Scanning dependencies of target opencv_perf_bioinspired [ 75%] Linking CXX executable ../../bin/opencv_test_superres [ 75%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired.dir/perf/opencl/perf_retina.ocl.cpp.o [ 75%] Built target opencv_perf_videoio Scanning dependencies of target opencv_test_features2d [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_fast.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_akaze.cpp.o [ 75%] Built target opencv_test_superres Scanning dependencies of target opencv_perf_features2d [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_batchDistance.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_keypoints.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_detectors_regression.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_bioinspired [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_matchers_algorithmic.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_superres [ 75%] Linking CXX executable ../../bin/opencv_test_videoio [ 75%] Built target opencv_test_bioinspired Scanning dependencies of target opencv_perf_line_descriptor [ 75%] Built target opencv_perf_superres Scanning dependencies of target opencv_test_line_descriptor [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_descriptors.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_descriptors_regression.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_descriptors_regression.cpp.o [ 75%] Built target opencv_test_videoio Scanning dependencies of target opencv_test_text [ 75%] Building CXX object modules/text/CMakeFiles/opencv_test_text.dir/test/test_detection.cpp.o [ 75%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_nms.cpp.o [ 75%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired.dir/perf/perf_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_bioinspired [ 75%] Built target opencv_perf_bioinspired Scanning dependencies of target opencv_test_calib3d [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_tilt.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_detection.cpp.o [ 75%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_darknet_importer.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_matcher_regression.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_feature2d.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_orb.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_detector_regression.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_nearestneighbors.cpp.o [ 75%] Building CXX object modules/text/CMakeFiles/opencv_test_text.dir/test/test_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_text [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_descriptors_invariance.cpp.o [ 75%] Built target opencv_test_text Scanning dependencies of target opencv_perf_calib3d [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_affine2d.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_main.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_line_descriptor [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_solvepnp_ransac.cpp.o [ 76%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_matching.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/ocl/test_brute_force_matcher.cpp.o [ 76%] Built target opencv_test_line_descriptor Scanning dependencies of target opencv_ccalib [ 76%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/omnidir.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_brute_force_matcher.cpp.o [ 77%] Linking CXX executable ../../bin/opencv_perf_line_descriptor [ 77%] Built target opencv_perf_line_descriptor [ 77%] Processing OpenCL kernels (objdetect) Scanning dependencies of target opencv_objdetect [ 77%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_layers.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/detection_based_tracker.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/ocl/test_feature2d.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_stereosgbm.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/main.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/qrcode.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_filter_homography_decomp.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_brisk.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_feature2d.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_detectors_invariance.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_homography_decomp.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_fundam.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_main.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_mser.cpp.o [ 78%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/opencl/perf_stereobm.cpp.o [ 78%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/hog.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_agast.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_main.cpp.o [ 78%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/cascadedetect_convert.cpp.o [ 78%] Linking CXX executable ../../bin/opencv_perf_features2d [ 78%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_artificial.cpp.o [ 78%] Built target opencv_perf_features2d Scanning dependencies of target opencv_rgbd [ 78%] Linking CXX executable ../../bin/opencv_test_features2d [ 78%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/utils.cpp.o [ 79%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/normal.cpp.o [ 79%] Built target opencv_test_features2d Scanning dependencies of target opencv_stereo [ 79%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/ccalib.cpp.o [ 79%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/stereo_binary_sgbm.cpp.o [ 79%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/cascadedetect.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_cicrlesGrid.cpp.o [ 79%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/haar.cpp.o [ 79%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/multicalib.cpp.o [ 79%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/descriptor.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine2d_estimator.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_pnp.cpp.o [ 80%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/stereo_binary_bm.cpp.o [ 80%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_caffe_importer.cpp.o [ 80%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/opencl_kernels_objdetect.cpp.o [ 80%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/haar.avx.cpp.o [ 80%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/linemod.cpp.o [ 80%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_posit.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_decompose_projection.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_stereo.so [ 81%] Linking CXX shared library ../../lib/libopencv_objdetect.so [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners.cpp.o [ 81%] Built target opencv_stereo [ 81%] Processing OpenCL kernels (stitching) Scanning dependencies of target opencv_stitching [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_badarg.cpp.o [ 81%] Built target opencv_objdetect Scanning dependencies of target opencv_structured_light [ 81%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/motion_estimators.cpp.o [ 81%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light.dir/src/graycodepattern.cpp.o [ 81%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/randpattern.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_main.cpp.o [ 81%] Linking CXX executable ../../bin/opencv_perf_calib3d [ 81%] Built target opencv_perf_calib3d [ 81%] Processing OpenCL kernels (tracking) Scanning dependencies of target opencv_tracking [ 81%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRT.cpp.o [ 81%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light.dir/src/sinusoidalpattern.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort_points.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_ccalib.so [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners_badarg.cpp.o [ 81%] Built target opencv_ccalib Scanning dependencies of target opencv_videostab [ 81%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_to_3d.cpp.o [ 81%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/frame_source.cpp.o [ 81%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/global_motion.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners_timing.cpp.o [ 81%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/exposure_compensate.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort_badarg.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_fisheye.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_structured_light.so [ 81%] Built target opencv_structured_light [ 81%] Processing OpenCL kernels (ximgproc) Scanning dependencies of target opencv_ximgproc [ 81%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/gtrUtils.cpp.o [ 81%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/domain_transform.cpp.o [ 81%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/seeds.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_misc.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tracker.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/opencl/test_stereobm.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/gtrTracker.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/featureColorName.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/inpainting.cpp.o [ 82%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/odometry.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/camera.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/matchers.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/graphsegmentation.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/brightedges.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldTracker.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_stereomatching.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fast_line_detector.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_ie_models.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_torch_importer.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTScaleEstimation.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/log.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_reproject_image_to_3d.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/deblurring.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/warpers.cpp.o [ 83%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/deriche_filter.cpp.o [ 83%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerFeatureSet.cpp.o [ 83%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/outlier_rejection.cpp.o [ 83%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chessboardgenerator.cpp.o [ 83%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/feature.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/optical_flow.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/wobble_suppression.cpp.o [ 84%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/sparse_match_interpolators.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/fast_marching.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_compose_rt.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/motion_stabilizing.cpp.o [ 84%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_registration.cpp.o [ 84%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/stitcher.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_modelest.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_main.cpp.o [ 84%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_googlenet.cpp.o [ 84%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/disparity_filters.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3d_estimator.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/stabilizer.cpp.o [ 84%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldModel.cpp.o [ 85%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort.cpp.o [ 85%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_cleaner.cpp.o [ 85%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/peilin.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/multiTracker.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/anisodiff.cpp.o [ 86%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/plane.cpp.o [ 86%] Linking CXX shared library ../../lib/libopencv_videostab.so [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/util.cpp.o [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_homography.cpp.o [ 86%] Built target opencv_videostab Scanning dependencies of target opencv_xobjdetect [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_tf_importer.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/wbdetector.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/thinning.cpp.o [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/autocalib.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/bilateral_texture_filter.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/lbpfeatures.cpp.o [ 86%] Linking CXX shared library ../../lib/libopencv_rgbd.so [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine_partial2d_estimator.cpp.o [ 86%] Built target opencv_rgbd Scanning dependencies of target opencv_aruco [ 86%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/dictionary.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/feature_evaluator.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldEnsembleClassifier.cpp.o [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/seam_finders.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/onlineMIL.cpp.o [ 86%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/aruco.cpp.o [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cornerssubpix.cpp.o [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_main.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/guided_filter.cpp.o [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_backends.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/mosseTracker.cpp.o [ 87%] Linking CXX shared library ../../lib/libopencv_xobjdetect.so [ 87%] Built target opencv_xobjdetect Scanning dependencies of target opencv_bgsegm [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_subcnt.cpp.o [ 87%] Linking CXX executable ../../bin/opencv_test_calib3d [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gaussmix.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerStateEstimator.cpp.o [ 87%] Built target opencv_test_calib3d Scanning dependencies of target opencv_dpm [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/estimated_covariance.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_nms.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/synthetic_seq.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_feature.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gsoc.cpp.o [ 87%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_onnx_importer.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/weighted_median_filter.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/timelapsers.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMedianFlow.cpp.o [ 87%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/npy_blob.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/blenders.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_model.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/paillou_filter.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/lsc.cpp.o [ 87%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/apriltag_quad_thresh.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerSampler.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gmg.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldUtils.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/warpers_cuda.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/ridgedetectionfilter.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/opencl_kernels_stitching.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_cascade.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/augmented_unscented_kalman.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_stitching.so [ 88%] Linking CXX shared library ../../lib/libopencv_bgsegm.so [ 88%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/zmaxheap.cpp.o [ 88%] Built target opencv_stitching [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fbs_filter.cpp.o Scanning dependencies of target opencv_face [ 88%] Built target opencv_bgsegm Scanning dependencies of target opencv_traincascade [ 88%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/charuco.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/fisher_faces.cpp.o [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/boost.cpp.o [ 88%] Linking CXX executable ../../bin/opencv_test_dnn [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/structured_edge_detection.cpp.o [ 88%] Built target opencv_test_dnn [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/eigen_faces.cpp.o [ 88%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_cascade_detector.cpp.o Scanning dependencies of target opencv_createsamples [ 88%] Building CXX object apps/createsamples/CMakeFiles/opencv_createsamples.dir/utility.cpp.o [ 88%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldDetector.cpp.o [ 88%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_convolution.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemark.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_dpm.so [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/traincascade.cpp.o [ 88%] Built target opencv_dpm Scanning dependencies of target opencv_test_objdetect [ 88%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_cascadeandhog.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/edgeaware_filters_common.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_aruco.so [ 88%] Building CXX object apps/createsamples/CMakeFiles/opencv_createsamples.dir/createsamples.cpp.o [ 88%] Built target opencv_aruco Scanning dependencies of target opencv_perf_objdetect [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/haarfeatures.cpp.o [ 88%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/joint_bilateral_filter.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkLBF.cpp.o [ 88%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerKCF.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/rolling_guidance_filter.cpp.o [ 88%] Linking CXX executable ../../bin/opencv_createsamples [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fgs_filter.cpp.o [ 89%] Built target opencv_createsamples [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/adaptive_manifold_filter_n.cpp.o Scanning dependencies of target opencv_test_rgbd [ 89%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_odometry.cpp.o [ 89%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/imagestorage.cpp.o [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/niblack_thresholding.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/opencl/test_hogdetector.cpp.o [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/selectivesearchsegmentation.cpp.o [ 89%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_registration.cpp.o [ 89%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/lbpfeatures.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_hogdetect.cpp.o [ 89%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerBoostingModel.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_qrcode_pipeline.cpp.o [ 90%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_normal.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/dtfilter_cpu.cpp.o [ 90%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/cascadeclassifier.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/mace.cpp.o [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMILModel.cpp.o [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/unscented_kalman.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_qrcode.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fourier_descriptors.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facerec.cpp.o [ 90%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_inner_functions.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/predict_collector.cpp.o [ 90%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_utils.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_main.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/bif.cpp.o [ 90%] Linking CXX executable ../../bin/opencv_perf_objdetect [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTUtils.cpp.o [ 90%] Built target opencv_perf_objdetect Scanning dependencies of target opencv_test_stereo [ 90%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_block_matching.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/l0_smooth.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/lbph_faces.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_main.cpp.o [ 90%] Linking CXX executable ../../bin/opencv_test_objdetect [ 91%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o [ 91%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_main.cpp.o [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_main.cpp.o [ 91%] Linking CXX executable ../../bin/opencv_test_rgbd [ 91%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/edgeboxes.cpp.o [ 91%] Built target opencv_test_objdetect Scanning dependencies of target opencv_perf_stereo [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_descriptors.cpp.o [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_descriptor.cpp.o [ 91%] Built target opencv_test_rgbd Scanning dependencies of target opencv_test_stitching [ 91%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/multiTracker_alt.cpp.o [ 91%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_blenders.cpp.o [ 91%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerFeature.cpp.o [ 91%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/slic.cpp.o [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/ocl/test_warpers.cpp.o [ 92%] Linking CXX executable ../../bin/opencv_test_stereo [ 92%] Built target opencv_test_stereo Scanning dependencies of target opencv_perf_stitching [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/opencl/perf_stitch.cpp.o [ 92%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerSamplerAlgorithm.cpp.o [ 92%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkAAM.cpp.o [ 92%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fast_hough_transform.cpp.o [ 92%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_bm.cpp.o [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_matchers.cpp.o [ 92%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/opencl_kernels_ximgproc.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/onlineBoosting.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMIL.cpp.o [ 93%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_data.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/opencl/perf_warpers.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerBoosting.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_blenders.cuda.cpp.o [ 93%] Linking CXX shared library ../../lib/libopencv_ximgproc.so [ 93%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_main.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tracking_utils.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_main.cpp.o [ 93%] Built target opencv_ximgproc Scanning dependencies of target opencv_test_structured_light [ 93%] Linking CXX executable ../../bin/opencv_perf_stereo [ 93%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_plane.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTSegmentation.cpp.o [ 93%] Linking CXX executable ../../bin/opencv_test_stitching [ 93%] Built target opencv_perf_stereo Scanning dependencies of target opencv_test_videostab [ 93%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/HOGfeatures.cpp.o [ 93%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab.dir/test/test_motion_estimation.cpp.o [ 93%] Built target opencv_test_stitching Scanning dependencies of target opencv_test_ximgproc [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fgs_filter.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldDataset.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerModel.cpp.o [ 94%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab.dir/test/test_main.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/opencl_kernels_tracking.cpp.o [ 94%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/features.cpp.o [ 94%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_boost.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_test_videostab [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_basic.cpp.o [ 94%] Built target opencv_test_videostab Scanning dependencies of target opencv_perf_ximgproc [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_getProjPixel.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_fast_hough_transform.cpp.o [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/regtree.cpp.o [ 94%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_matchers.cpp.o [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_faps.cpp.o [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_main.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_joint_bilateral_filter.cpp.o [ 94%] Linking CXX shared library ../../lib/libopencv_tracking.so [ 94%] Built target opencv_tracking Scanning dependencies of target opencv_waldboost_detector [ 94%] Building CXX object modules/xobjdetect/tools/waldboost_detector/CMakeFiles/opencv_waldboost_detector.dir/waldboost_detector.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_structured_edge_detection.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_test_structured_light [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/getlandmarks.cpp.o [ 94%] Linking CXX executable ../../../../bin/opencv_waldboost_detector [ 94%] Built target opencv_test_structured_light Scanning dependencies of target opencv_test_aruco [ 94%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_arucodetection.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_domain_transform.cpp.o [ 94%] Built target opencv_waldboost_detector Scanning dependencies of target opencv_test_bgsegm [ 94%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_backgroundsubtractor_lsbp.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_traincascade [ 94%] Built target opencv_traincascade [ 95%] Processing OpenCL kernels (optflow) [ 95%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_weighted_median_filter.cpp.o Scanning dependencies of target opencv_optflow [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/optical_flow_io.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/interfaces.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/deepflow.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/variational_refinement.cpp.o [ 95%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_weighted_median_filter.cpp.o [ 95%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_misc.cpp.o [ 95%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_backgroundsubtractor_gbh.cpp.o [ 96%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_boarddetection.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_alignment.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fld.cpp.o [ 96%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_main.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_test_bgsegm [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_joint_bilateral_filter.cpp.o [ 96%] Built target opencv_test_bgsegm Scanning dependencies of target opencv_interactive-calibration [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/main.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_rolling_guidance_filter.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_stich.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/dis_flow.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/trainFacemark.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_thinning.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/calibPipeline.cpp.o [ 96%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_charucodetection.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fbs_filter.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/calibController.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_domain_transform.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_ridge_detection_filter.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_sparse_match_interpolator.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_test_aruco [ 96%] Built target opencv_test_aruco Scanning dependencies of target opencv_test_tracking [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_ukf.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/sparse_matching_gpc.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_estimators.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fast_hough_transform.cpp.o [ 96%] Linking CXX shared library ../../lib/libopencv_face.so [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_disparity_wls_filter.cpp.o [ 96%] Built target opencv_face [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/frameProcessor.cpp.o Scanning dependencies of target opencv_perf_tracking [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_Tracker.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_l0_smooth.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/pcaflow.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_trackers.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_guided_filter.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_main.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_perf_stitching [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_rolling_guidance_filter.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/parametersController.cpp.o [ 96%] Built target opencv_perf_stitching Scanning dependencies of target opencv_test_face [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/simpleflow.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_bif.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_main.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/rotationConverters.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_anisodiff.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_face_align.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_perf_tracking [ 96%] Built target opencv_perf_tracking [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_mace.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_adaptive_manifold.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_interactive-calibration [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/motempl.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_adaptive_manifold_ref_impl.cpp.o [ 96%] Built target opencv_interactive-calibration [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_aukf.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_adaptive_manifold.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark_aam.cpp.o [ 97%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_bilateral_texture_filter.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/sparsetodenseflow.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/opencl_kernels_optflow.cpp.o [ 97%] Linking CXX shared library ../../lib/libopencv_optflow.so [ 97%] Built target opencv_optflow Scanning dependencies of target opencv_test_optflow [ 97%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_loadsave.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_OF_reproducibility.cpp.o [ 98%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_main.cpp.o [ 98%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark_lbf.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_deriche_filter.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_disparity_wls_filter.cpp.o [ 98%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_trackerParametersIO.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_ridge_detection_filter.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_face [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_fgs_filter.cpp.o Scanning dependencies of target opencv_perf_optflow [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_deepflow.cpp.o [ 98%] Built target opencv_test_face Scanning dependencies of target opencv_python2 [ 98%] Building CXX object modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_OF_accuracy.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_tracking [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/opencl/perf_dis_optflow.cpp.o [ 98%] Built target opencv_test_tracking Scanning dependencies of target opencv_python3 [ 98%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_guided_filter.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_ximgproc [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_main.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_l0_smooth.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_bilateral_texture_filter.cpp.o [ 98%] Built target opencv_test_ximgproc [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/ocl/test_motempl.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/ocl/test_dis.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_disflow.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_variational_refinement.cpp.o In file included from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:1819:0: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_xphoto_createTonemapDurand(PyObject*, PyObject*, PyObject*)’: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28228:22: error: template argument 1 is invalid Ptr&lt;TonemapDurand&gt; retval; ^ /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28233:58: error: invalid user-defined conversion from ‘cv::Ptr&lt;cv::xphoto::TonemapDurand&gt;’ to ‘int’ [-fpermissive] ERRWRAP2(retval = cv::xphoto::createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color)); ^ /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:97:5: note: in definition of macro ‘ERRWRAP2’ expr; \ ^ In file included from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/cvstd.hpp:1038:0, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/base.hpp:58, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core.hpp:54, from /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_include.h:1, from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:31: /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: candidate is: cv::Ptr&lt;T&gt;::operator T*() const [with T = cv::xphoto::TonemapDurand] &lt;near match&gt; Ptr&lt;T&gt;::operator T* () const ^ /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: no known conversion from ‘cv::xphoto::TonemapDurand*’ to ‘int’ [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_main.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_motiontemplates.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_main.cpp.o [ 99%] Linking CXX executable ../../bin/opencv_perf_ximgproc In file included from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:1819:0: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_xphoto_createTonemapDurand(PyObject*, PyObject*, PyObject*)’: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28228:22: error: template argument 1 is invalid Ptr&lt;TonemapDurand&gt; retval; ^ /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28233:58: error: invalid user-defined conversion from ‘cv::Ptr&lt;cv::xphoto::TonemapDurand&gt;’ to ‘int’ [-fpermissive] ERRWRAP2(retval = cv::xphoto::createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color)); ^ /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:97:5: note: in definition of macro ‘ERRWRAP2’ expr; \ ^ In file included from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/cvstd.hpp:1038:0, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/base.hpp:58, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core.hpp:54, from /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_include.h:1, from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:31: /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: candidate is: cv::Ptr&lt;T&gt;::operator T*() const [with T = cv::xphoto::TonemapDurand] &lt;near match&gt; Ptr&lt;T&gt;::operator T* () const ^ /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: no known conversion from ‘cv::xphoto::TonemapDurand*’ to ‘int’ [ 99%] Linking CXX executable ../../bin/opencv_test_optflow [ 99%] Built target opencv_perf_ximgproc [ 99%] Built target opencv_test_optflow [ 99%] Linking CXX executable ../../bin/opencv_perf_optflow modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1 CMakeFiles/Makefile2:15476: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 99%] Built target opencv_perf_optflow modules/python3/CMakeFiles/opencv_python3.dir/build.make:62: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o' failed make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1 CMakeFiles/Makefile2:15575: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 liuyujia@liuyujia-MRC-WX0:~/opencv-3.4.4/build$ sudo apt-get install python-opencv [sudo] password for liuyujia: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-opencv 0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded. Need to get 310 kB of archives. After this operation, 1,383 kB of additional disk space will be used. Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates/universe amd64 python-opencv amd64 2.4.9.1+dfsg-1.5ubuntu1.1 [310 kB] Fetched 310 kB in 0s (2,415 kB/s) Selecting previously unselected package python-opencv. (Reading database ... 262117 files and directories currently installed.) Preparing to unpack .../python-opencv_2.4.9.1+dfsg-1.5ubuntu1.1_amd64.deb ... Unpacking python-opencv (2.4.9.1+dfsg-1.5ubuntu1.1) ... Setting up python-opencv (2.4.9.1+dfsg-1.5ubuntu1.1) ..."><pre class="notranslate"><code class="notranslate">Scanning dependencies of target gen-pkgconfig Scanning dependencies of target opencv_perf_core_pch_dephelp Scanning dependencies of target quirc Scanning dependencies of target ittnotify Scanning dependencies of target opencv_core_pch_dephelp Scanning dependencies of target opencv_test_core_pch_dephelp Scanning dependencies of target ippiw Scanning dependencies of target libprotobuf [ 0%] Generate opencv.pc [ 0%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/decode.c.o [ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_rgbs.c.o [ 0%] Building CXX object modules/core/CMakeFiles/opencv_perf_core_pch_dephelp.dir/opencv_perf_core_pch_dephelp.cxx.o [ 0%] Built target gen-pkgconfig [ 0%] Building CXX object modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o Scanning dependencies of target opencv_ts_pch_dephelp [ 0%] Building CXX object modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o [ 0%] Building CXX object modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/opencv_ts_pch_dephelp.cxx.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_bilateral.c.o [ 0%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arena.cc.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_canny.c.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_resize.c.o [ 0%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/arenastring.cc.o [ 0%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_laplacian.c.o [ 0%] Building C object 3rdparty/ittnotify/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o [ 0%] Linking CXX static library ../../lib/libopencv_perf_core_pch_dephelp.a [ 0%] Linking C static library ../lib/libittnotify.a [ 1%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o [ 1%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_sobel.c.o [ 1%] Built target opencv_perf_core_pch_dephelp Scanning dependencies of target opencv_imgproc_pch_dephelp [ 1%] Built target ittnotify Scanning dependencies of target opencv_imgcodecs_pch_dephelp [ 1%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/quirc.c.o [ 1%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o [ 1%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs_pch_dephelp.dir/opencv_imgcodecs_pch_dephelp.cxx.o [ 1%] Building C object 3rdparty/quirc/CMakeFiles/quirc.dir/src/version_db.c.o [ 2%] Linking C static library ../lib/libquirc.a [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_morphology.c.o [ 2%] Built target quirc Scanning dependencies of target opencv_videoio_pch_dephelp [ 2%] Linking CXX static library ../../lib/libopencv_core_pch_dephelp.a [ 2%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio_pch_dephelp.dir/opencv_videoio_pch_dephelp.cxx.o [ 2%] Built target opencv_core_pch_dephelp Scanning dependencies of target opencv_highgui_pch_dephelp [ 2%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui_pch_dephelp.dir/opencv_highgui_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_core_pch_dephelp.a [ 2%] Linking CXX static library ../../lib/libopencv_ts_pch_dephelp.a [ 2%] Built target opencv_test_core_pch_dephelp Scanning dependencies of target pch_Generate_opencv_perf_core [ 2%] Built target opencv_ts_pch_dephelp [ 2%] Generating perf_precomp.hpp Scanning dependencies of target opencv_flann_pch_dephelp [ 2%] Generating perf_precomp.hpp.gch/opencv_perf_core_Release.gch [ 2%] Building CXX object modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy.c.o [ 2%] Linking CXX static library ../../lib/libopencv_imgproc_pch_dephelp.a [ 2%] Linking CXX static library ../../lib/libopencv_imgcodecs_pch_dephelp.a [ 2%] Built target opencv_imgproc_pch_dephelp Scanning dependencies of target opencv_test_flann_pch_dephelp [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set.c.o [ 2%] Built target opencv_imgcodecs_pch_dephelp Scanning dependencies of target opencv_hdf_pch_dephelp [ 2%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann_pch_dephelp.dir/opencv_test_flann_pch_dephelp.cxx.o [ 2%] Building CXX object modules/hdf/CMakeFiles/opencv_hdf_pch_dephelp.dir/opencv_hdf_pch_dephelp.cxx.o [ 2%] Linking CXX static library ../../lib/libopencv_videoio_pch_dephelp.a [ 2%] Built target opencv_videoio_pch_dephelp Scanning dependencies of target opencv_test_hdf_pch_dephelp [ 2%] Linking CXX static library ../../lib/libopencv_highgui_pch_dephelp.a [ 2%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf_pch_dephelp.dir/opencv_test_hdf_pch_dephelp.cxx.o [ 2%] Built target opencv_highgui_pch_dephelp Scanning dependencies of target opencv_test_imgproc_pch_dephelp [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_mirror.c.o [ 2%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc_pch_dephelp.dir/opencv_test_imgproc_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_swap_channels.c.o [ 2%] Linking CXX static library ../../lib/libopencv_hdf_pch_dephelp.a [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_make_border.c.o [ 2%] Built target opencv_hdf_pch_dephelp Scanning dependencies of target opencv_perf_imgproc_pch_dephelp [ 2%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc_pch_dephelp.dir/opencv_perf_imgproc_pch_dephelp.cxx.o [ 2%] Linking CXX static library ../../lib/libopencv_flann_pch_dephelp.a [ 2%] Built target opencv_flann_pch_dephelp Scanning dependencies of target opencv_ml_pch_dephelp [ 2%] Building CXX object modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_warpaffine.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_hdf_pch_dephelp.a [ 2%] Built target opencv_test_hdf_pch_dephelp Scanning dependencies of target opencv_test_ml_pch_dephelp [ 2%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml_pch_dephelp.dir/opencv_test_ml_pch_dephelp.cxx.o [ 2%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_merge.c.o [ 2%] Linking CXX static library ../../lib/libopencv_test_flann_pch_dephelp.a [ 2%] Built target opencv_test_flann_pch_dephelp Scanning dependencies of target opencv_phase_unwrapping_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_channel.c.o [ 3%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping_pch_dephelp.dir/opencv_phase_unwrapping_pch_dephelp.cxx.o [ 3%] Built target pch_Generate_opencv_perf_core Scanning dependencies of target opencv_test_phase_unwrapping_pch_dephelp [ 3%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven_lite.cc.o [ 3%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping_pch_dephelp.dir/opencv_test_phase_unwrapping_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_general.c.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_imgproc_pch_dephelp.a [ 3%] Built target opencv_perf_imgproc_pch_dephelp Scanning dependencies of target opencv_photo_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_color_convert_all.c.o [ 3%] Linking CXX static library ../../lib/libopencv_test_imgproc_pch_dephelp.a [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o [ 3%] Built target opencv_test_imgproc_pch_dephelp Scanning dependencies of target opencv_test_photo_pch_dephelp [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo_pch_dephelp.dir/opencv_test_photo_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_set_channel.c.o [ 3%] Linking CXX static library ../../lib/libopencv_ml_pch_dephelp.a [ 3%] Built target opencv_ml_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_copy_split.c.o Scanning dependencies of target opencv_perf_photo_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_test_ml_pch_dephelp.a [ 3%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo_pch_dephelp.dir/opencv_perf_photo_pch_dephelp.cxx.o [ 3%] Built target opencv_test_ml_pch_dephelp Scanning dependencies of target opencv_plot_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_op_scale.c.o [ 3%] Building CXX object modules/plot/CMakeFiles/opencv_plot_pch_dephelp.dir/opencv_plot_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_transform_rotate.c.o [ 3%] Linking CXX static library ../../lib/libopencv_phase_unwrapping_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_phase_unwrapping_pch_dephelp.a [ 3%] Built target opencv_phase_unwrapping_pch_dephelp [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_own.c.o Scanning dependencies of target opencv_reg_pch_dephelp [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_reg_pch_dephelp.dir/opencv_reg_pch_dephelp.cxx.o [ 3%] Built target opencv_test_phase_unwrapping_pch_dephelp Scanning dependencies of target opencv_test_reg_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_reg_pch_dephelp.a [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg_pch_dephelp.dir/opencv_test_reg_pch_dephelp.cxx.o [ 3%] Built target opencv_reg_pch_dephelp Scanning dependencies of target opencv_perf_reg_pch_dephelp [ 3%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg_pch_dephelp.dir/opencv_perf_reg_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_box.c.o [ 3%] Linking CXX static library ../../lib/libopencv_plot_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_photo_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_photo_pch_dephelp.a [ 3%] Built target opencv_plot_pch_dephelp Scanning dependencies of target opencv_surface_matching_pch_dephelp [ 3%] Built target opencv_photo_pch_dephelp [ 3%] Built target opencv_test_photo_pch_dephelp Scanning dependencies of target opencv_video_pch_dephelp Scanning dependencies of target opencv_test_video_pch_dephelp [ 3%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching_pch_dephelp.dir/opencv_surface_matching_pch_dephelp.cxx.o [ 3%] Building CXX object modules/video/CMakeFiles/opencv_test_video_pch_dephelp.dir/opencv_test_video_pch_dephelp.cxx.o [ 3%] Building CXX object modules/video/CMakeFiles/opencv_video_pch_dephelp.dir/opencv_video_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_gaussian.c.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_photo_pch_dephelp.a [ 3%] Built target opencv_perf_photo_pch_dephelp Scanning dependencies of target opencv_perf_video_pch_dephelp [ 3%] Building CXX object modules/video/CMakeFiles/opencv_perf_video_pch_dephelp.dir/opencv_perf_video_pch_dephelp.cxx.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_core.c.o [ 3%] Building C object 3rdparty/ippiw/CMakeFiles/ippiw.dir/src/iw_image_filter_scharr.c.o [ 3%] Linking CXX static library ../../lib/libopencv_test_reg_pch_dephelp.a [ 3%] Linking C static library ../lib/libippiw.a [ 3%] Built target opencv_test_reg_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_perf_reg_pch_dephelp.a Scanning dependencies of target opencv_test_viz_pch_dephelp [ 3%] Built target ippiw [ 3%] Built target opencv_perf_reg_pch_dephelp Scanning dependencies of target opencv_viz_pch_dephelp Scanning dependencies of target opencv_perf_xphoto_pch_dephelp [ 3%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz_pch_dephelp.dir/opencv_test_viz_pch_dephelp.cxx.o [ 3%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto_pch_dephelp.dir/opencv_perf_xphoto_pch_dephelp.cxx.o [ 3%] Building CXX object modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/opencv_viz_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_surface_matching_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_test_video_pch_dephelp.a [ 3%] Built target opencv_surface_matching_pch_dephelp Scanning dependencies of target opencv_test_xphoto_pch_dephelp [ 3%] Built target opencv_test_video_pch_dephelp Scanning dependencies of target opencv_dnn_pch_dephelp [ 3%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto_pch_dephelp.dir/opencv_test_xphoto_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_video_pch_dephelp.a [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn_pch_dephelp.dir/opencv_dnn_pch_dephelp.cxx.o [ 3%] Built target opencv_video_pch_dephelp [ 3%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_util.cc.o Scanning dependencies of target opencv_test_dnn_pch_dephelp [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn_pch_dephelp.dir/opencv_test_dnn_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_perf_video_pch_dephelp.a [ 3%] Built target opencv_perf_video_pch_dephelp Scanning dependencies of target opencv_perf_dnn_pch_dephelp [ 3%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn_pch_dephelp.dir/opencv_perf_dnn_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_test_viz_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_perf_xphoto_pch_dephelp.a [ 3%] Linking CXX static library ../../lib/libopencv_dnn_pch_dephelp.a [ 3%] Built target opencv_perf_xphoto_pch_dephelp [ 3%] Built target opencv_test_viz_pch_dephelp Scanning dependencies of target opencv_freetype_pch_dephelp [ 3%] Built target opencv_dnn_pch_dephelp Scanning dependencies of target opencv_fuzzy_pch_dephelp Scanning dependencies of target opencv_test_fuzzy_pch_dephelp [ 3%] Linking CXX static library ../../lib/libopencv_viz_pch_dephelp.a [ 3%] Building CXX object modules/freetype/CMakeFiles/opencv_freetype_pch_dephelp.dir/opencv_freetype_pch_dephelp.cxx.o [ 3%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy_pch_dephelp.dir/opencv_test_fuzzy_pch_dephelp.cxx.o [ 3%] Built target opencv_viz_pch_dephelp [ 3%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy_pch_dephelp.dir/opencv_fuzzy_pch_dephelp.cxx.o Scanning dependencies of target opencv_hfs_pch_dephelp [ 3%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs_pch_dephelp.dir/opencv_hfs_pch_dephelp.cxx.o [ 3%] Linking CXX static library ../../lib/libopencv_test_xphoto_pch_dephelp.a [ 3%] Built target opencv_test_xphoto_pch_dephelp Scanning dependencies of target opencv_img_hash_pch_dephelp [ 4%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash_pch_dephelp.dir/opencv_img_hash_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_test_dnn_pch_dephelp.a [ 4%] Built target opencv_test_dnn_pch_dephelp Scanning dependencies of target opencv_test_img_hash_pch_dephelp [ 4%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash_pch_dephelp.dir/opencv_test_img_hash_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_perf_dnn_pch_dephelp.a [ 4%] Built target opencv_perf_dnn_pch_dephelp Scanning dependencies of target opencv_test_imgcodecs_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_freetype_pch_dephelp.a [ 4%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs_pch_dephelp.dir/opencv_test_imgcodecs_pch_dephelp.cxx.o [ 4%] Built target opencv_freetype_pch_dephelp Scanning dependencies of target opencv_perf_imgcodecs_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_hfs_pch_dephelp.a [ 4%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_perf_imgcodecs_pch_dephelp.dir/opencv_perf_imgcodecs_pch_dephelp.cxx.o [ 4%] Built target opencv_hfs_pch_dephelp Scanning dependencies of target opencv_shape_pch_dephelp [ 4%] Building CXX object modules/shape/CMakeFiles/opencv_shape_pch_dephelp.dir/opencv_shape_pch_dephelp.cxx.o [ 4%] Linking CXX static library ../../lib/libopencv_test_fuzzy_pch_dephelp.a [ 4%] Linking CXX static library ../../lib/libopencv_img_hash_pch_dephelp.a [ 4%] Built target opencv_test_fuzzy_pch_dephelp Scanning dependencies of target opencv_test_shape_pch_dephelp [ 4%] Built target opencv_img_hash_pch_dephelp [ 4%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape_pch_dephelp.dir/opencv_test_shape_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_videoio_pch_dephelp [ 4%] Linking CXX static library ../../lib/libopencv_fuzzy_pch_dephelp.a [ 4%] Built target opencv_fuzzy_pch_dephelp [ 4%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio_pch_dephelp.dir/opencv_test_videoio_pch_dephelp.cxx.o Scanning dependencies of target opencv_perf_videoio_pch_dephelp [ 4%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio_pch_dephelp.dir/opencv_perf_videoio_pch_dephelp.cxx.o [ 4%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/coded_stream.cc.o [ 5%] Linking CXX static library ../../lib/libopencv_test_img_hash_pch_dephelp.a [ 5%] Built target opencv_test_img_hash_pch_dephelp Scanning dependencies of target opencv_test_highgui_pch_dephelp [ 5%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui_pch_dephelp.dir/opencv_test_highgui_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_test_imgcodecs_pch_dephelp.a [ 5%] Linking CXX static library ../../lib/libopencv_perf_imgcodecs_pch_dephelp.a [ 5%] Built target opencv_test_imgcodecs_pch_dephelp Scanning dependencies of target opencv_superres_pch_dephelp [ 5%] Built target opencv_perf_imgcodecs_pch_dephelp Scanning dependencies of target opencv_test_superres_pch_dephelp [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_superres_pch_dephelp.dir/opencv_superres_pch_dephelp.cxx.o [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres_pch_dephelp.dir/opencv_test_superres_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_shape_pch_dephelp.a [ 5%] Built target opencv_shape_pch_dephelp Scanning dependencies of target opencv_perf_superres_pch_dephelp [ 5%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres_pch_dephelp.dir/opencv_perf_superres_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_test_shape_pch_dephelp.a [ 5%] Built target opencv_test_shape_pch_dephelp Scanning dependencies of target opencv_test_bioinspired_pch_dephelp [ 5%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired_pch_dephelp.dir/opencv_test_bioinspired_pch_dephelp.cxx.o [ 5%] Linking CXX static library ../../lib/libopencv_perf_videoio_pch_dephelp.a [ 5%] Built target opencv_perf_videoio_pch_dephelp Scanning dependencies of target opencv_bioinspired_pch_dephelp [ 5%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream.cc.o [ 5%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired_pch_dephelp.dir/opencv_bioinspired_pch_dephelp.cxx.o [ 5%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl_lite.cc.o [ 5%] Linking CXX static library ../../lib/libopencv_test_highgui_pch_dephelp.a [ 5%] Built target opencv_test_highgui_pch_dephelp Scanning dependencies of target opencv_perf_bioinspired_pch_dephelp [ 5%] Linking CXX static library ../../lib/libopencv_test_videoio_pch_dephelp.a [ 6%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired_pch_dephelp.dir/opencv_perf_bioinspired_pch_dephelp.cxx.o [ 6%] Built target opencv_test_videoio_pch_dephelp Scanning dependencies of target opencv_dnn_objdetect_pch_dephelp [ 7%] Linking CXX static library ../../lib/libopencv_test_superres_pch_dephelp.a [ 7%] Building CXX object modules/dnn_objdetect/CMakeFiles/opencv_dnn_objdetect_pch_dephelp.dir/opencv_dnn_objdetect_pch_dephelp.cxx.o [ 7%] Built target opencv_test_superres_pch_dephelp Scanning dependencies of target opencv_test_features2d_pch_dephelp [ 7%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d_pch_dephelp.dir/opencv_test_features2d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_superres_pch_dephelp.a [ 8%] Built target opencv_superres_pch_dephelp Scanning dependencies of target opencv_features2d_pch_dephelp [ 8%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_superres_pch_dephelp.a [ 8%] Built target opencv_perf_superres_pch_dephelp Scanning dependencies of target opencv_perf_features2d_pch_dephelp [ 8%] Linking CXX static library ../../lib/libopencv_test_bioinspired_pch_dephelp.a [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message_lite.cc.o [ 8%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d_pch_dephelp.dir/opencv_perf_features2d_pch_dephelp.cxx.o [ 8%] Built target opencv_test_bioinspired_pch_dephelp Scanning dependencies of target opencv_line_descriptor_pch_dephelp [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor_pch_dephelp.dir/opencv_line_descriptor_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_bioinspired_pch_dephelp.a [ 8%] Linking CXX static library ../../lib/libopencv_dnn_objdetect_pch_dephelp.a [ 8%] Built target opencv_bioinspired_pch_dephelp Scanning dependencies of target opencv_perf_line_descriptor_pch_dephelp [ 8%] Built target opencv_dnn_objdetect_pch_dephelp Scanning dependencies of target opencv_test_line_descriptor_pch_dephelp [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor_pch_dephelp.dir/opencv_perf_line_descriptor_pch_dephelp.cxx.o [ 8%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor_pch_dephelp.dir/opencv_test_line_descriptor_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_bioinspired_pch_dephelp.a [ 8%] Built target opencv_perf_bioinspired_pch_dephelp Scanning dependencies of target opencv_saliency_pch_dephelp [ 8%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency_pch_dephelp.dir/opencv_saliency_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_test_features2d_pch_dephelp.a [ 8%] Built target opencv_test_features2d_pch_dephelp Scanning dependencies of target opencv_text_pch_dephelp [ 8%] Building CXX object modules/text/CMakeFiles/opencv_text_pch_dephelp.dir/opencv_text_pch_dephelp.cxx.o [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/repeated_field.cc.o [ 8%] Linking CXX static library ../../lib/libopencv_features2d_pch_dephelp.a [ 8%] Linking CXX static library ../../lib/libopencv_perf_features2d_pch_dephelp.a [ 8%] Built target opencv_features2d_pch_dephelp [ 8%] Built target opencv_perf_features2d_pch_dephelp Scanning dependencies of target opencv_test_text_pch_dephelp Scanning dependencies of target opencv_test_calib3d_pch_dephelp [ 8%] Building CXX object modules/text/CMakeFiles/opencv_test_text_pch_dephelp.dir/opencv_test_text_pch_dephelp.cxx.o [ 8%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d_pch_dephelp.dir/opencv_test_calib3d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_line_descriptor_pch_dephelp.a [ 8%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc.o [ 8%] Built target opencv_line_descriptor_pch_dephelp Scanning dependencies of target opencv_calib3d_pch_dephelp [ 8%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d_pch_dephelp.dir/opencv_calib3d_pch_dephelp.cxx.o [ 8%] Linking CXX static library ../../lib/libopencv_perf_line_descriptor_pch_dephelp.a [ 9%] Linking CXX static library ../../lib/libopencv_test_line_descriptor_pch_dephelp.a [ 9%] Built target opencv_perf_line_descriptor_pch_dephelp [ 9%] Built target opencv_test_line_descriptor_pch_dephelp Scanning dependencies of target opencv_perf_calib3d_pch_dephelp [ 9%] Linking CXX static library ../../lib/libopencv_text_pch_dephelp.a Scanning dependencies of target opencv_ccalib_pch_dephelp [ 9%] Built target opencv_text_pch_dephelp [ 9%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d_pch_dephelp.dir/opencv_perf_calib3d_pch_dephelp.cxx.o [ 10%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib_pch_dephelp.dir/opencv_ccalib_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_objdetect_pch_dephelp [ 10%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/bytestream.cc.o [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect_pch_dephelp.dir/opencv_test_objdetect_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_saliency_pch_dephelp.a [ 11%] Built target opencv_saliency_pch_dephelp Scanning dependencies of target opencv_objdetect_pch_dephelp [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect_pch_dephelp.dir/opencv_objdetect_pch_dephelp.cxx.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/common.cc.o [ 11%] Linking CXX static library ../../lib/libopencv_test_text_pch_dephelp.a [ 11%] Linking CXX static library ../../lib/libopencv_test_calib3d_pch_dephelp.a [ 11%] Built target opencv_test_text_pch_dephelp Scanning dependencies of target opencv_perf_objdetect_pch_dephelp [ 11%] Built target opencv_test_calib3d_pch_dephelp Scanning dependencies of target opencv_rgbd_pch_dephelp [ 11%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect_pch_dephelp.dir/opencv_perf_objdetect_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_ccalib_pch_dephelp.a [ 11%] Built target opencv_ccalib_pch_dephelp [ 11%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd_pch_dephelp.dir/opencv_rgbd_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_rgbd_pch_dephelp [ 11%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd_pch_dephelp.dir/opencv_test_rgbd_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_calib3d_pch_dephelp.a [ 11%] Linking CXX static library ../../lib/libopencv_perf_calib3d_pch_dephelp.a [ 11%] Built target opencv_calib3d_pch_dephelp Scanning dependencies of target opencv_perf_stereo_pch_dephelp [ 11%] Built target opencv_perf_calib3d_pch_dephelp Scanning dependencies of target opencv_stereo_pch_dephelp [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo_pch_dephelp.dir/opencv_perf_stereo_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_test_objdetect_pch_dephelp.a [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo_pch_dephelp.dir/opencv_stereo_pch_dephelp.cxx.o [ 11%] Built target opencv_test_objdetect_pch_dephelp Scanning dependencies of target opencv_test_stereo_pch_dephelp [ 11%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo_pch_dephelp.dir/opencv_test_stereo_pch_dephelp.cxx.o [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/int128.cc.o [ 11%] Linking CXX static library ../../lib/libopencv_objdetect_pch_dephelp.a [ 11%] Built target opencv_objdetect_pch_dephelp Scanning dependencies of target opencv_test_stitching_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching_pch_dephelp.dir/opencv_test_stitching_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_perf_objdetect_pch_dephelp.a [ 11%] Built target opencv_perf_objdetect_pch_dephelp Scanning dependencies of target opencv_stitching_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching_pch_dephelp.dir/opencv_stitching_pch_dephelp.cxx.o [ 11%] Linking CXX static library ../../lib/libopencv_test_rgbd_pch_dephelp.a [ 11%] Built target opencv_test_rgbd_pch_dephelp Scanning dependencies of target opencv_perf_stitching_pch_dephelp [ 11%] Linking CXX static library ../../lib/libopencv_rgbd_pch_dephelp.a [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/io_win32.cc.o [ 11%] Built target opencv_rgbd_pch_dephelp [ 11%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching_pch_dephelp.dir/opencv_perf_stitching_pch_dephelp.cxx.o Scanning dependencies of target opencv_test_structured_light_pch_dephelp [ 11%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/once.cc.o [ 11%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light_pch_dephelp.dir/opencv_test_structured_light_pch_dephelp.cxx.o [ 12%] Linking CXX static library ../../lib/libopencv_perf_stereo_pch_dephelp.a [ 12%] Built target opencv_perf_stereo_pch_dephelp Scanning dependencies of target opencv_structured_light_pch_dephelp [ 12%] Linking CXX static library ../../lib/libopencv_stereo_pch_dephelp.a [ 12%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light_pch_dephelp.dir/opencv_structured_light_pch_dephelp.cxx.o [ 12%] Linking CXX static library ../../lib/libopencv_test_stereo_pch_dephelp.a [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/status.cc.o [ 12%] Built target opencv_stereo_pch_dephelp [ 12%] Built target opencv_test_stereo_pch_dephelp Scanning dependencies of target opencv_test_tracking_pch_dephelp Scanning dependencies of target opencv_tracking_pch_dephelp [ 12%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking_pch_dephelp.dir/opencv_tracking_pch_dephelp.cxx.o [ 12%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking_pch_dephelp.dir/opencv_test_tracking_pch_dephelp.cxx.o [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/statusor.cc.o [ 12%] Linking CXX static library ../../lib/libopencv_test_stitching_pch_dephelp.a [ 12%] Built target opencv_test_stitching_pch_dephelp Scanning dependencies of target opencv_perf_tracking_pch_dephelp [ 13%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking_pch_dephelp.dir/opencv_perf_tracking_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_test_structured_light_pch_dephelp.a [ 13%] Linking CXX static library ../../lib/libopencv_tracking_pch_dephelp.a [ 13%] Built target opencv_test_structured_light_pch_dephelp Scanning dependencies of target opencv_videostab_pch_dephelp [ 13%] Built target opencv_tracking_pch_dephelp Scanning dependencies of target opencv_test_videostab_pch_dephelp [ 13%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab_pch_dephelp.dir/opencv_videostab_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_perf_stitching_pch_dephelp.a [ 13%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab_pch_dephelp.dir/opencv_test_videostab_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_stitching_pch_dephelp.a [ 13%] Built target opencv_perf_stitching_pch_dephelp [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringpiece.cc.o Scanning dependencies of target opencv_ximgproc_pch_dephelp [ 13%] Built target opencv_stitching_pch_dephelp Scanning dependencies of target opencv_test_ximgproc_pch_dephelp [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc_pch_dephelp.dir/opencv_ximgproc_pch_dephelp.cxx.o [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc_pch_dephelp.dir/opencv_test_ximgproc_pch_dephelp.cxx.o [ 13%] Linking CXX static library ../../lib/libopencv_structured_light_pch_dephelp.a [ 13%] Built target opencv_structured_light_pch_dephelp [ 13%] Linking CXX static library ../../lib/libopencv_test_tracking_pch_dephelp.a Scanning dependencies of target opencv_perf_ximgproc_pch_dephelp [ 13%] Built target opencv_test_tracking_pch_dephelp Scanning dependencies of target opencv_xobjdetect_pch_dephelp [ 13%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc_pch_dephelp.dir/opencv_perf_ximgproc_pch_dephelp.cxx.o [ 13%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect_pch_dephelp.dir/opencv_xobjdetect_pch_dephelp.cxx.o [ 13%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/stringprintf.cc.o [ 13%] Linking CXX static library ../../lib/libopencv_perf_tracking_pch_dephelp.a [ 13%] Built target opencv_perf_tracking_pch_dephelp [ 14%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/structurally_valid.cc.o Scanning dependencies of target opencv_test_aruco_pch_dephelp [ 14%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco_pch_dephelp.dir/opencv_test_aruco_pch_dephelp.cxx.o [ 14%] Linking CXX static library ../../lib/libopencv_xobjdetect_pch_dephelp.a [ 14%] Built target opencv_xobjdetect_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_test_videostab_pch_dephelp.a Scanning dependencies of target opencv_aruco_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_videostab_pch_dephelp.a [ 14%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco_pch_dephelp.dir/opencv_aruco_pch_dephelp.cxx.o [ 14%] Built target opencv_test_videostab_pch_dephelp Scanning dependencies of target opencv_test_bgsegm_pch_dephelp [ 14%] Built target opencv_videostab_pch_dephelp [ 14%] Linking CXX static library ../../lib/libopencv_test_ximgproc_pch_dephelp.a Scanning dependencies of target opencv_bgsegm_pch_dephelp [ 14%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm_pch_dephelp.dir/opencv_test_bgsegm_pch_dephelp.cxx.o [ 15%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm_pch_dephelp.dir/opencv_bgsegm_pch_dephelp.cxx.o [ 15%] Built target opencv_test_ximgproc_pch_dephelp Scanning dependencies of target opencv_dpm_pch_dephelp [ 15%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm_pch_dephelp.dir/opencv_dpm_pch_dephelp.cxx.o [ 15%] Linking CXX static library ../../lib/libopencv_ximgproc_pch_dephelp.a [ 15%] Linking CXX static library ../../lib/libopencv_perf_ximgproc_pch_dephelp.a [ 15%] Built target opencv_ximgproc_pch_dephelp Scanning dependencies of target opencv_face_pch_dephelp [ 15%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/strutil.cc.o [ 15%] Built target opencv_perf_ximgproc_pch_dephelp Scanning dependencies of target opencv_test_face_pch_dephelp [ 15%] Building CXX object modules/face/CMakeFiles/opencv_face_pch_dephelp.dir/opencv_face_pch_dephelp.cxx.o [ 15%] Building CXX object modules/face/CMakeFiles/opencv_test_face_pch_dephelp.dir/opencv_test_face_pch_dephelp.cxx.o [ 15%] Linking CXX static library ../../lib/libopencv_aruco_pch_dephelp.a [ 15%] Built target opencv_aruco_pch_dephelp [ 15%] Linking CXX static library ../../lib/libopencv_bgsegm_pch_dephelp.a Scanning dependencies of target opencv_optflow_pch_dephelp [ 15%] Built target opencv_bgsegm_pch_dephelp Scanning dependencies of target opencv_test_optflow_pch_dephelp [ 16%] Linking CXX static library ../../lib/libopencv_dpm_pch_dephelp.a [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow_pch_dephelp.dir/opencv_optflow_pch_dephelp.cxx.o [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow_pch_dephelp.dir/opencv_test_optflow_pch_dephelp.cxx.o [ 16%] Built target opencv_dpm_pch_dephelp Scanning dependencies of target opencv_perf_optflow_pch_dephelp [ 16%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow_pch_dephelp.dir/opencv_perf_optflow_pch_dephelp.cxx.o [ 16%] Linking CXX static library ../../lib/libopencv_test_aruco_pch_dephelp.a [ 16%] Built target opencv_test_aruco_pch_dephelp Scanning dependencies of target gen_opencv_python_source [ 16%] Generate files for Python bindings and documentation [ 16%] Linking CXX static library ../../lib/libopencv_test_bgsegm_pch_dephelp.a [ 16%] Built target opencv_test_bgsegm_pch_dephelp Scanning dependencies of target pch_Generate_opencv_core [ 16%] Generating precomp.hpp [ 16%] Generating precomp.hpp.gch/opencv_core_Release.gch [ 16%] Linking CXX static library ../../lib/libopencv_test_face_pch_dephelp.a [ 16%] Built target opencv_test_face_pch_dephelp Scanning dependencies of target pch_Generate_opencv_ts [ 16%] Generating precomp.hpp [ 17%] Linking CXX static library ../../lib/libopencv_face_pch_dephelp.a [ 17%] Generating precomp.hpp.gch/opencv_ts_Release.gch [ 17%] Built target opencv_face_pch_dephelp Scanning dependencies of target pch_Generate_opencv_imgproc [ 17%] Generating precomp.hpp [ 17%] Generating precomp.hpp.gch/opencv_imgproc_Release.gch [ 17%] Linking CXX static library ../../lib/libopencv_test_optflow_pch_dephelp.a Note: Class Feature2D has more than 1 base class (not supported by Python C extensions) Bases: cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm Only the first base class will be used [ 17%] Built target opencv_test_optflow_pch_dephelp Scanning dependencies of target pch_Generate_opencv_imgcodecs [ 17%] Generating precomp.hpp [ 17%] Linking CXX static library ../../lib/libopencv_optflow_pch_dephelp.a [ 18%] Linking CXX static library ../../lib/libopencv_perf_optflow_pch_dephelp.a [ 18%] Generating precomp.hpp.gch/opencv_imgcodecs_Release.gch [ 18%] Built target opencv_optflow_pch_dephelp [ 18%] Built target opencv_perf_optflow_pch_dephelp Scanning dependencies of target pch_Generate_opencv_videoio Scanning dependencies of target pch_Generate_opencv_highgui [ 18%] Generating precomp.hpp [ 18%] Generating precomp.hpp [ 18%] Generating precomp.hpp.gch/opencv_videoio_Release.gch [ 18%] Generating precomp.hpp.gch/opencv_highgui_Release.gch [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/time.cc.o [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format_lite.cc.o [ 18%] Built target gen_opencv_python_source Scanning dependencies of target pch_Generate_opencv_test_core [ 18%] Generating test_precomp.hpp [ 18%] Generating test_precomp.hpp.gch/opencv_test_core_Release.gch [ 18%] Built target pch_Generate_opencv_core Scanning dependencies of target pch_Generate_opencv_flann [ 18%] Generating precomp.hpp [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.cc.o [ 18%] Generating precomp.hpp.gch/opencv_flann_Release.gch [ 18%] Built target pch_Generate_opencv_imgproc [ 18%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/any.pb.cc.o [ 18%] Built target pch_Generate_opencv_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_flann [ 18%] Generating test_precomp.hpp [ 18%] Generating test_precomp.hpp.gch/opencv_test_flann_Release.gch [ 18%] Built target pch_Generate_opencv_highgui Scanning dependencies of target pch_Generate_opencv_test_hdf [ 19%] Generating test_precomp.hpp [ 19%] Generating test_precomp.hpp.gch/opencv_test_hdf_Release.gch [ 19%] Built target pch_Generate_opencv_videoio Scanning dependencies of target pch_Generate_opencv_hdf [ 19%] Generating precomp.hpp [ 19%] Generating precomp.hpp.gch/opencv_hdf_Release.gch [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/api.pb.cc.o [ 19%] Built target pch_Generate_opencv_ts Scanning dependencies of target pch_Generate_opencv_test_imgproc [ 19%] Generating test_precomp.hpp [ 19%] Generating test_precomp.hpp.gch/opencv_test_imgproc_Release.gch [ 19%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.o [ 19%] Built target pch_Generate_opencv_hdf Scanning dependencies of target pch_Generate_opencv_perf_imgproc [ 20%] Generating perf_precomp.hpp [ 20%] Generating perf_precomp.hpp.gch/opencv_perf_imgproc_Release.gch [ 20%] Built target pch_Generate_opencv_test_core Scanning dependencies of target pch_Generate_opencv_ml [ 21%] Generating precomp.hpp [ 21%] Generating precomp.hpp.gch/opencv_ml_Release.gch [ 21%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.pb.cc.o [ 21%] Built target pch_Generate_opencv_flann Scanning dependencies of target pch_Generate_opencv_test_ml [ 21%] Generating test_precomp.hpp [ 21%] Built target pch_Generate_opencv_test_hdf Scanning dependencies of target pch_Generate_opencv_phase_unwrapping [ 21%] Generating test_precomp.hpp.gch/opencv_test_ml_Release.gch [ 21%] Generating precomp.hpp [ 21%] Generating precomp.hpp.gch/opencv_phase_unwrapping_Release.gch [ 21%] Built target pch_Generate_opencv_test_flann Scanning dependencies of target pch_Generate_opencv_test_phase_unwrapping [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_phase_unwrapping_Release.gch [ 22%] Built target pch_Generate_opencv_test_imgproc Scanning dependencies of target pch_Generate_opencv_photo [ 22%] Built target pch_Generate_opencv_perf_imgproc [ 22%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_test_photo [ 22%] Generating precomp.hpp.gch/opencv_photo_Release.gch [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_photo_Release.gch [ 22%] Built target pch_Generate_opencv_ml Scanning dependencies of target pch_Generate_opencv_perf_photo [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_photo_Release.gch [ 22%] Built target pch_Generate_opencv_test_phase_unwrapping [ 22%] Built target pch_Generate_opencv_test_ml Scanning dependencies of target pch_Generate_opencv_plot Scanning dependencies of target pch_Generate_opencv_reg [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_reg_Release.gch [ 22%] Generating precomp.hpp.gch/opencv_plot_Release.gch [ 22%] Built target pch_Generate_opencv_phase_unwrapping Scanning dependencies of target pch_Generate_opencv_test_reg [ 22%] Generating test_precomp.hpp [ 22%] Built target pch_Generate_opencv_reg [ 22%] Generating test_precomp.hpp.gch/opencv_test_reg_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_reg [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_reg_Release.gch [ 22%] Built target pch_Generate_opencv_test_photo Scanning dependencies of target pch_Generate_opencv_surface_matching [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_surface_matching_Release.gch [ 22%] Built target pch_Generate_opencv_photo Scanning dependencies of target pch_Generate_opencv_video [ 22%] Generating precomp.hpp [ 22%] Built target pch_Generate_opencv_plot [ 22%] Generating precomp.hpp.gch/opencv_video_Release.gch Scanning dependencies of target pch_Generate_opencv_test_video [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_video_Release.gch [ 22%] Built target pch_Generate_opencv_perf_photo Scanning dependencies of target pch_Generate_opencv_perf_video [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_video_Release.gch [ 22%] Built target pch_Generate_opencv_test_reg Scanning dependencies of target pch_Generate_opencv_test_viz [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_viz_Release.gch [ 22%] Built target pch_Generate_opencv_perf_reg Scanning dependencies of target pch_Generate_opencv_viz [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_viz_Release.gch [ 22%] Built target pch_Generate_opencv_surface_matching Scanning dependencies of target pch_Generate_opencv_test_xphoto [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_xphoto_Release.gch [ 22%] Built target pch_Generate_opencv_test_video Scanning dependencies of target pch_Generate_opencv_perf_xphoto [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_xphoto_Release.gch [ 22%] Built target pch_Generate_opencv_video Scanning dependencies of target pch_Generate_opencv_dnn [ 22%] Generating precomp.hpp [ 22%] Generating precomp.hpp.gch/opencv_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_perf_video Scanning dependencies of target pch_Generate_opencv_test_dnn [ 22%] Generating test_precomp.hpp [ 22%] Generating test_precomp.hpp.gch/opencv_test_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_test_viz Scanning dependencies of target pch_Generate_opencv_perf_dnn [ 22%] Generating perf_precomp.hpp [ 22%] Generating perf_precomp.hpp.gch/opencv_perf_dnn_Release.gch [ 22%] Built target pch_Generate_opencv_viz Scanning dependencies of target pch_Generate_opencv_freetype [ 23%] Generating precomp.hpp [ 23%] Built target pch_Generate_opencv_test_xphoto [ 23%] Generating precomp.hpp.gch/opencv_freetype_Release.gch Scanning dependencies of target pch_Generate_opencv_test_fuzzy [ 23%] Generating test_precomp.hpp [ 23%] Generating test_precomp.hpp.gch/opencv_test_fuzzy_Release.gch [ 23%] Built target pch_Generate_opencv_dnn Scanning dependencies of target pch_Generate_opencv_fuzzy [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_fuzzy_Release.gch [ 23%] Built target pch_Generate_opencv_perf_xphoto Scanning dependencies of target pch_Generate_opencv_hfs [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_hfs_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor_database.cc.o Scanning dependencies of target pch_Generate_opencv_img_hash [ 23%] Generating precomp.hpp [ 23%] Generating precomp.hpp.gch/opencv_img_hash_Release.gch [ 23%] Built target pch_Generate_opencv_test_dnn [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/duration.pb.cc.o [ 23%] Built target pch_Generate_opencv_perf_dnn [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/dynamic_message.cc.o [ 23%] Built target pch_Generate_opencv_hfs [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/empty.pb.cc.o [ 23%] Built target pch_Generate_opencv_freetype Scanning dependencies of target pch_Generate_opencv_test_img_hash [ 23%] Built target pch_Generate_opencv_test_fuzzy [ 23%] Generating test_precomp.hpp Scanning dependencies of target pch_Generate_opencv_test_imgcodecs [ 23%] Generating test_precomp.hpp.gch/opencv_test_img_hash_Release.gch [ 23%] Generating test_precomp.hpp [ 23%] Generating test_precomp.hpp.gch/opencv_test_imgcodecs_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set_heavy.cc.o [ 23%] Built target pch_Generate_opencv_fuzzy Scanning dependencies of target pch_Generate_opencv_perf_imgcodecs [ 23%] Generating perf_precomp.hpp [ 23%] Generating perf_precomp.hpp.gch/opencv_perf_imgcodecs_Release.gch [ 23%] Built target pch_Generate_opencv_img_hash Scanning dependencies of target pch_Generate_opencv_shape [ 23%] Generating precomp.hpp [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/field_mask.pb.cc.o [ 23%] Generating precomp.hpp.gch/opencv_shape_Release.gch [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_reflection.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/generated_message_table_driven.cc.o [ 23%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/gzip_stream.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/printer.cc.o [ 24%] Built target pch_Generate_opencv_test_img_hash [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/strtod.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/tokenizer.cc.o [ 24%] Built target pch_Generate_opencv_test_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_shape [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_shape_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/io/zero_copy_stream_impl.cc.o [ 24%] Built target pch_Generate_opencv_perf_imgcodecs Scanning dependencies of target pch_Generate_opencv_test_videoio [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_videoio_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/map_field.cc.o [ 24%] Built target pch_Generate_opencv_shape Scanning dependencies of target pch_Generate_opencv_perf_videoio [ 24%] Generating perf_precomp.hpp [ 24%] Generating perf_precomp.hpp.gch/opencv_perf_videoio_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/message.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/reflection_ops.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/service.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/source_context.pb.cc.o [ 24%] Built target pch_Generate_opencv_test_shape Scanning dependencies of target pch_Generate_opencv_test_highgui [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_highgui_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/struct.pb.cc.o [ 24%] Built target pch_Generate_opencv_perf_videoio Scanning dependencies of target pch_Generate_opencv_superres [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/mathlimits.cc.o [ 24%] Generating precomp.hpp [ 24%] Generating precomp.hpp.gch/opencv_superres_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/stubs/substitute.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/text_format.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/timestamp.pb.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/type.pb.cc.o [ 24%] Built target pch_Generate_opencv_test_videoio Scanning dependencies of target pch_Generate_opencv_test_superres [ 24%] Generating test_precomp.hpp [ 24%] Generating test_precomp.hpp.gch/opencv_test_superres_Release.gch [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/unknown_field_set.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/delimited_message_util.cc.o [ 24%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_comparator.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/field_mask_util.cc.o [ 25%] Built target pch_Generate_opencv_test_highgui Scanning dependencies of target pch_Generate_opencv_perf_superres [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_superres_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/datapiece.cc.o [ 25%] Built target pch_Generate_opencv_superres Scanning dependencies of target pch_Generate_opencv_test_bioinspired [ 25%] Generating test_precomp.hpp [ 25%] Generating test_precomp.hpp.gch/opencv_test_bioinspired_Release.gch [ 25%] Built target pch_Generate_opencv_test_superres Scanning dependencies of target pch_Generate_opencv_bioinspired [ 25%] Generating precomp.hpp [ 25%] Generating precomp.hpp.gch/opencv_bioinspired_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/default_value_objectwriter.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/field_mask_utility.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_escaping.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_objectwriter.cc.o [ 25%] Built target pch_Generate_opencv_perf_superres Scanning dependencies of target pch_Generate_opencv_perf_bioinspired [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_bioinspired_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/json_stream_parser.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/object_writer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/proto_writer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectsource.cc.o [ 25%] Built target pch_Generate_opencv_test_bioinspired Scanning dependencies of target pch_Generate_opencv_dnn_objdetect [ 25%] Generating precomp.hpp [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/protostream_objectwriter.cc.o [ 25%] Generating precomp.hpp.gch/opencv_dnn_objdetect_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/type_info.cc.o [ 25%] Built target pch_Generate_opencv_bioinspired Scanning dependencies of target pch_Generate_opencv_test_features2d [ 25%] Generating test_precomp.hpp [ 25%] Generating test_precomp.hpp.gch/opencv_test_features2d_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/internal/utility.cc.o [ 25%] Built target pch_Generate_opencv_perf_bioinspired Scanning dependencies of target pch_Generate_opencv_features2d [ 25%] Built target pch_Generate_opencv_dnn_objdetect [ 25%] Generating precomp.hpp [ 25%] Generating precomp.hpp.gch/opencv_features2d_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_features2d [ 25%] Generating perf_precomp.hpp [ 25%] Generating perf_precomp.hpp.gch/opencv_perf_features2d_Release.gch [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/json_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/message_differencer.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/time_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/util/type_resolver_util.cc.o [ 25%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wire_format.cc.o [ 26%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/wrappers.pb.cc.o Scanning dependencies of target pch_Generate_opencv_perf_line_descriptor [ 26%] Generating perf_precomp.hpp [ 26%] Generating perf_precomp.hpp.gch/opencv_perf_line_descriptor_Release.gch [ 26%] Built target pch_Generate_opencv_test_features2d Scanning dependencies of target pch_Generate_opencv_line_descriptor [ 26%] Generating precomp.hpp [ 26%] Generating precomp.hpp.gch/opencv_line_descriptor_Release.gch Scanning dependencies of target pch_Generate_opencv_test_line_descriptor [ 26%] Generating test_precomp.hpp [ 26%] Generating test_precomp.hpp.gch/opencv_test_line_descriptor_Release.gch [ 26%] Built target pch_Generate_opencv_perf_features2d Scanning dependencies of target pch_Generate_opencv_saliency [ 26%] Generating precomp.hpp [ 26%] Built target pch_Generate_opencv_features2d [ 26%] Generating precomp.hpp.gch/opencv_saliency_Release.gch Scanning dependencies of target pch_Generate_opencv_text [ 26%] Generating precomp.hpp [ 26%] Generating precomp.hpp.gch/opencv_text_Release.gch [ 26%] Built target pch_Generate_opencv_perf_line_descriptor Scanning dependencies of target pch_Generate_opencv_test_text [ 27%] Generating test_precomp.hpp [ 27%] Generating test_precomp.hpp.gch/opencv_test_text_Release.gch Scanning dependencies of target pch_Generate_opencv_test_calib3d [ 27%] Generating test_precomp.hpp [ 27%] Generating test_precomp.hpp.gch/opencv_test_calib3d_Release.gch [ 27%] Built target pch_Generate_opencv_text Scanning dependencies of target pch_Generate_opencv_calib3d [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_calib3d_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_calib3d [ 28%] Generating perf_precomp.hpp [ 28%] Generating perf_precomp.hpp.gch/opencv_perf_calib3d_Release.gch [ 28%] Built target pch_Generate_opencv_line_descriptor Scanning dependencies of target pch_Generate_opencv_ccalib [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_ccalib_Release.gch [ 28%] Linking CXX static library ../lib/liblibprotobuf.a [ 28%] Built target pch_Generate_opencv_test_line_descriptor Scanning dependencies of target pch_Generate_opencv_test_objdetect [ 28%] Generating test_precomp.hpp [ 28%] Generating test_precomp.hpp.gch/opencv_test_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_saliency Scanning dependencies of target pch_Generate_opencv_objdetect [ 28%] Generating precomp.hpp [ 28%] Generating precomp.hpp.gch/opencv_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_ccalib Scanning dependencies of target pch_Generate_opencv_perf_objdetect [ 28%] Generating perf_precomp.hpp [ 28%] Generating perf_precomp.hpp.gch/opencv_perf_objdetect_Release.gch [ 28%] Built target pch_Generate_opencv_test_calib3d Scanning dependencies of target pch_Generate_opencv_test_rgbd [ 28%] Built target pch_Generate_opencv_test_text [ 28%] Generating test_precomp.hpp Scanning dependencies of target pch_Generate_opencv_rgbd [ 29%] Generating precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_rgbd_Release.gch [ 29%] Generating precomp.hpp.gch/opencv_rgbd_Release.gch [ 29%] Built target libprotobuf Scanning dependencies of target pch_Generate_opencv_test_stereo [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_stereo_Release.gch [ 29%] Built target pch_Generate_opencv_perf_calib3d Scanning dependencies of target pch_Generate_opencv_stereo [ 29%] Generating precomp.hpp [ 29%] Built target pch_Generate_opencv_test_objdetect [ 29%] Generating precomp.hpp.gch/opencv_stereo_Release.gch Scanning dependencies of target pch_Generate_opencv_perf_stereo [ 29%] Generating perf_precomp.hpp [ 29%] Generating perf_precomp.hpp.gch/opencv_perf_stereo_Release.gch [ 29%] Built target pch_Generate_opencv_calib3d Scanning dependencies of target pch_Generate_opencv_test_stitching [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_objdetect Scanning dependencies of target pch_Generate_opencv_stitching [ 29%] Generating precomp.hpp [ 29%] Generating precomp.hpp.gch/opencv_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_perf_objdetect Scanning dependencies of target pch_Generate_opencv_perf_stitching [ 29%] Generating perf_precomp.hpp [ 29%] Generating perf_precomp.hpp.gch/opencv_perf_stitching_Release.gch [ 29%] Built target pch_Generate_opencv_test_rgbd Scanning dependencies of target pch_Generate_opencv_test_structured_light [ 29%] Generating test_precomp.hpp [ 29%] Generating test_precomp.hpp.gch/opencv_test_structured_light_Release.gch [ 29%] Built target pch_Generate_opencv_rgbd Scanning dependencies of target pch_Generate_opencv_structured_light [ 29%] Built target pch_Generate_opencv_test_stereo [ 29%] Generating precomp.hpp Scanning dependencies of target pch_Generate_opencv_tracking [ 30%] Generating precomp.hpp [ 30%] Generating precomp.hpp.gch/opencv_structured_light_Release.gch [ 30%] Generating precomp.hpp.gch/opencv_tracking_Release.gch [ 30%] Built target pch_Generate_opencv_perf_stereo Scanning dependencies of target pch_Generate_opencv_test_tracking [ 30%] Generating test_precomp.hpp [ 30%] Generating test_precomp.hpp.gch/opencv_test_tracking_Release.gch [ 30%] Built target pch_Generate_opencv_stereo Scanning dependencies of target pch_Generate_opencv_perf_tracking [ 31%] Generating perf_precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_tracking_Release.gch [ 31%] Built target pch_Generate_opencv_test_stitching Scanning dependencies of target pch_Generate_opencv_videostab [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_videostab_Release.gch [ 31%] Built target pch_Generate_opencv_stitching Scanning dependencies of target pch_Generate_opencv_test_videostab [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_videostab_Release.gch [ 31%] Built target pch_Generate_opencv_perf_stitching Scanning dependencies of target pch_Generate_opencv_ximgproc [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_tracking Scanning dependencies of target pch_Generate_opencv_test_ximgproc [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_test_structured_light Scanning dependencies of target pch_Generate_opencv_perf_ximgproc [ 31%] Generating perf_precomp.hpp [ 31%] Generating perf_precomp.hpp.gch/opencv_perf_ximgproc_Release.gch [ 31%] Built target pch_Generate_opencv_structured_light Scanning dependencies of target pch_Generate_opencv_xobjdetect [ 31%] Generating precomp.hpp [ 31%] Built target pch_Generate_opencv_test_tracking [ 31%] Generating precomp.hpp.gch/opencv_xobjdetect_Release.gch Scanning dependencies of target pch_Generate_opencv_test_aruco [ 31%] Generating test_precomp.hpp [ 31%] Generating test_precomp.hpp.gch/opencv_test_aruco_Release.gch [ 31%] Built target pch_Generate_opencv_perf_tracking Scanning dependencies of target pch_Generate_opencv_aruco [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_aruco_Release.gch [ 31%] Built target pch_Generate_opencv_videostab Scanning dependencies of target pch_Generate_opencv_bgsegm [ 31%] Generating precomp.hpp [ 31%] Generating precomp.hpp.gch/opencv_bgsegm_Release.gch [ 31%] Built target pch_Generate_opencv_test_videostab Scanning dependencies of target pch_Generate_opencv_test_bgsegm [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_bgsegm_Release.gch [ 32%] Built target pch_Generate_opencv_xobjdetect Scanning dependencies of target pch_Generate_opencv_dpm [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_dpm_Release.gch [ 32%] Built target pch_Generate_opencv_test_ximgproc Scanning dependencies of target pch_Generate_opencv_face [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_face_Release.gch [ 32%] Built target pch_Generate_opencv_ximgproc Scanning dependencies of target pch_Generate_opencv_test_face [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_face_Release.gch [ 32%] Built target pch_Generate_opencv_perf_ximgproc Scanning dependencies of target pch_Generate_opencv_optflow [ 32%] Generating precomp.hpp [ 32%] Generating precomp.hpp.gch/opencv_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_aruco Scanning dependencies of target pch_Generate_opencv_test_optflow [ 32%] Generating test_precomp.hpp [ 32%] Generating test_precomp.hpp.gch/opencv_test_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_bgsegm Scanning dependencies of target pch_Generate_opencv_perf_optflow [ 32%] Generating perf_precomp.hpp [ 32%] Generating perf_precomp.hpp.gch/opencv_perf_optflow_Release.gch [ 32%] Built target pch_Generate_opencv_test_aruco [ 32%] Processing OpenCL kernels (core) Scanning dependencies of target opencv_core [ 32%] Built target pch_Generate_opencv_dpm [ 32%] Built target pch_Generate_opencv_test_bgsegm [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/sum.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lapack.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lda.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/merge.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_expressions.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_c.cpp.o [ 32%] Built target pch_Generate_opencv_face [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/va_intel.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert_scale.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_operations.cpp.o [ 32%] Built target pch_Generate_opencv_test_face [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_decomp.cpp.o [ 32%] Built target pch_Generate_opencv_test_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stl.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/tables.cpp.o [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ocl.cpp.o [ 32%] Built target pch_Generate_opencv_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_sparse.cpp.o [ 32%] Built target pch_Generate_opencv_perf_optflow [ 32%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/logger.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/conjugate_gradient.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/out.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_types.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matmul.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_xml.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.dispatch.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/split.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/bindings_utils.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/convert.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_c.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/glob.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lut.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opengl.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/kmeans.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mean.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_info.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_stream.cpp.o [ 33%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/array.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_host_mem.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_yml.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdfft.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_clamdblas.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/opencl/runtime/opencl_core.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/downhill_simplex.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/softfloat.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/umatrix.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/trace.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/copy.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/datastructs.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_json.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/dxt.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/rand.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel.cpp.o [ 34%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/mathfuncs_core.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat_c.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/gl_core_3_1.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/stat.dispatch.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_wrap.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/minmax.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_base64.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/ovx.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/command_line_parser.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/norm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix_iterator.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/directx.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/arithm.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/samples.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/filesystem.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/utils/datafile.cpp.o [ 35%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/channels.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/alloc.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_cpp.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/types.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/pca.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/persistence_c.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/count_non_zero.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/batch_distance.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/lpsolver.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/check.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/matrix.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/parallel_impl.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/cuda_gpu_mat.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/opencl_kernels_core.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.sse4_1.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.sse4_2.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx.cpp.o [ 36%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/mathfuncs_core.avx2.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/stat.avx2.cpp.o [ 37%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/arithm.avx2.cpp.o [ 37%] Linking CXX shared library ../../lib/libopencv_core.so [ 37%] Built target opencv_core Scanning dependencies of target opencv_hdf Scanning dependencies of target opencv_flann Scanning dependencies of target opencv_version Scanning dependencies of target opencv_ml [ 37%] Processing OpenCL kernels (imgproc) Scanning dependencies of target opencv_viz [ 37%] Building CXX object modules/hdf/CMakeFiles/opencv_hdf.dir/src/hdf5.cpp.o Scanning dependencies of target opencv_imgproc [ 38%] Building CXX object apps/version/CMakeFiles/opencv_version.dir/opencv_version.cpp.o [ 38%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o [ 38%] Building CXX object modules/flann/CMakeFiles/opencv_flann.dir/src/miniflann.cpp.o [ 38%] Linking CXX shared library ../../lib/libopencv_hdf.so [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/widget.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/clouds.cpp.o [ 38%] Built target opencv_hdf [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/viz3d.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/shapes.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkTrajectorySource.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svmsgd.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/utils.cpp.o [ 38%] Linking CXX executable ../../bin/opencv_version [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkImageMatSource.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/rotcalipers.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/cornersubpix.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/tree.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/kdtree.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/sumpixels.cpp.o [ 38%] Built target opencv_version [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/main.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/tables.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZReader.cpp.o [ 38%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/min_enclosing_triangle.cpp.o [ 38%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSink.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/gbt.cpp.o [ 38%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkCloudMatSource.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/ann_mlp.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/moments.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkXYZWriter.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/knearest.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkVizInteractorStyle.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/lsd.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vtk/vtkOBJWriter.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vizimpl.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/testset.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/inner_functions.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/types.cpp.o [ 39%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/generalized_hough.cpp.o [ 39%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/svm.cpp.o [ 39%] Building CXX object modules/viz/CMakeFiles/opencv_viz.dir/src/vizcore.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/subdivision2d.cpp.o [ 40%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/nbayes.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/thresh.cpp.o [ 40%] Linking CXX shared library ../../lib/libopencv_viz.so [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/emd.cpp.o [ 40%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hough.cpp.o [ 40%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/lr.cpp.o [ 40%] Built target opencv_viz [ 41%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/matchcontours.cpp.o [ 41%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/rtrees.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/deriv.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/blend.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/floodfill.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/demosaicing.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/samplers.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/smooth.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/colormap.cpp.o [ 41%] Linking CXX shared library ../../lib/libopencv_flann.so [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/distransform.cpp.o [ 41%] Linking CXX shared library ../../lib/libopencv_ml.so [ 41%] Built target opencv_flann Scanning dependencies of target opencv_surface_matching [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/icp.cpp.o [ 41%] Built target opencv_ml [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/ppf_match_3d.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/box_filter.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/segmentation.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/templmatch.cpp.o [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/t_hash_int.cpp.o [ 41%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/convhull.cpp.o [ 41%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/pose_3d.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.dispatch.cpp.o [ 42%] Building CXX object modules/surface_matching/CMakeFiles/opencv_surface_matching.dir/src/ppf_helpers.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/approx.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/geometry.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/shapedescr.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/featureselect.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/median_blur.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/hershey_fonts.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/histogram.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/linefit.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/drawing.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/contours.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_rgb.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/accum.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/spatialgradient.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/gabor.cpp.o [ 42%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/connectedcomponents.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_hsv.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/bilateral_filter.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/pyramids.cpp.o [ 43%] Linking CXX shared library ../../lib/libopencv_surface_matching.so [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_yuv.cpp.o [ 43%] Built target opencv_surface_matching [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/clahe.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/grabcut.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/canny.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/intersection.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/phasecorr.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/morph.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/opencl_kernels_imgproc.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.sse4_1.cpp.o [ 43%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/corner.avx.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/filter.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/imgwarp.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/undistort.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/resize.avx2.cpp.o [ 44%] Building CXX object modules/imgproc/CMakeFiles/opencv_imgproc.dir/accum.avx2.cpp.o [ 44%] Linking CXX shared library ../../lib/libopencv_imgproc.so [ 44%] Built target opencv_imgproc Scanning dependencies of target opencv_imgcodecs [ 44%] Processing OpenCL kernels (photo) [ 44%] Processing OpenCL kernels (video) Scanning dependencies of target opencv_phase_unwrapping Scanning dependencies of target opencv_plot Scanning dependencies of target opencv_reg Scanning dependencies of target opencv_freetype [ 44%] Processing OpenCL kernels (dnn) [ 44%] Building CXX object modules/plot/CMakeFiles/opencv_plot.dir/src/plot.cpp.o [ 44%] Building CXX object modules/freetype/CMakeFiles/opencv_freetype.dir/src/freetype.cpp.o [ 44%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_phase_unwrapping.dir/src/histogramphaseunwrapping.cpp.o [ 44%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapper.cpp.o Scanning dependencies of target opencv_photo Scanning dependencies of target opencv_video Scanning dependencies of target opencv_dnn [ 44%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/loadsave.cpp.o [ 44%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o [ 45%] Linking CXX shared library ../../lib/libopencv_freetype.so [ 45%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tvl1flow.cpp.o [ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/graph.pb.cc.o [ 45%] Linking CXX shared library ../../lib/libopencv_phase_unwrapping.so [ 45%] Built target opencv_phase_unwrapping [ 45%] Linking CXX shared library ../../lib/libopencv_plot.so Scanning dependencies of target opencv_fuzzy [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_image.cpp.o [ 45%] Built target opencv_freetype Scanning dependencies of target opencv_hfs [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/slic/gslic_engine.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/slic/slic.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradshift.cpp.o [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_F0_math.cpp.o [ 45%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/merge.cpp.o [ 45%] Built target opencv_plot Scanning dependencies of target opencv_img_hash [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/color_moment_hash.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/hfs_core.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/radial_variance_hash.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapprojec.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/utils.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/marr_hildreth_hash.cpp.o [ 45%] Building CXX object modules/fuzzy/CMakeFiles/opencv_fuzzy.dir/src/fuzzy_F1_math.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradeuclid.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_hdr.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/img_hash_base.cpp.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/magnitude/magnitude.cpp.o [ 45%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/npr.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/average_hash.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg.cpp.o [ 45%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor.pb.cc.o [ 45%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/merge/merge.cpp.o [ 45%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/phash.cpp.o [ 45%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pam.cpp.o [ 45%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapaffine.cpp.o [ 46%] Building CXX object modules/hfs/CMakeFiles/opencv_hfs.dir/src/hfs.cpp.o [ 46%] Building CXX object modules/img_hash/CMakeFiles/opencv_img_hash.dir/src/block_mean_hash.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_hfs.so [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/camshift.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_fuzzy.so [ 46%] Built target opencv_fuzzy [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/lkpyramid.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_webp.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_img_hash.so [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_gaussmix2.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradaffine.cpp.o [ 46%] Built target opencv_hfs [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradproj.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_base.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/function.pb.cc.o [ 46%] Built target opencv_img_hash [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/types.pb.cc.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_sunras.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/kalman.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdal.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_png.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/attr_value.pb.cc.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapshift.cpp.o [ 46%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_pxm.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/ecc.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mapperpyramid.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/map.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_gdcm.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_jpeg2000.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/optflowgf.cpp.o [ 46%] Building CXX object modules/reg/CMakeFiles/opencv_reg.dir/src/mappergradsimilar.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_exr.cpp.o [ 46%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/bgfg_KNN.cpp.o [ 46%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/versions.pb.cc.o [ 46%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_bmp.cpp.o [ 46%] Linking CXX shared library ../../lib/libopencv_reg.so [ 47%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/bitstrm.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/seamless_cloning.cpp.o [ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/rgbe.cpp.o [ 48%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/compat_video.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/op_def.pb.cc.o [ 48%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/tensorflow/tensor_shape.pb.cc.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/caffe/opencv-caffe.pb.cc.o [ 48%] Built target opencv_reg [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/misc/onnx/opencv-onnx.pb.cc.o [ 48%] Building CXX object modules/video/CMakeFiles/opencv_video.dir/opencl_kernels_video.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/align.cpp.o [ 48%] Linking CXX shared library ../../lib/libopencv_video.so [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o [ 48%] Linking CXX shared library ../../lib/libopencv_imgcodecs.so [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/contrast_preserve.cpp.o [ 48%] Built target opencv_video Scanning dependencies of target opencv_shape [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/tps_trans.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_inf_engine.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/init.cpp.o [ 48%] Built target opencv_imgcodecs Scanning dependencies of target opencv_videoio [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cuda.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_graph_simplifier.cpp.o [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/hist_cost.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o [ 48%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_registry.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoise_tvl1.cpp.o [ 48%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_io.cpp.o [ 48%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/emdL1.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/denoising.cpp.o [ 48%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/inpaint.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/tensorflow/tf_importer.cpp.o [ 49%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/videoio_c.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/common.cpp.o [ 49%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_lrn.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_inner_product.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_images.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_conv_spatial.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/math_functions.cpp.o [ 50%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/sc_dis.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/aff_trans.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_encoder.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_softmax.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/ocl4dnn/src/ocl4dnn_pool.cpp.o [ 50%] Building CXX object modules/shape/CMakeFiles/opencv_shape.dir/src/haus_dis.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/shuffle_channel_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/permute_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_mjpeg_decoder.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/container_avi.cpp.o [ 50%] Linking CXX shared library ../../lib/libopencv_shape.so [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reorg_layer.cpp.o [ 50%] Built target opencv_shape [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/prior_box_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_dc1394_v2.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_gstreamer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/blank_layer.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/batch_norm_layer.cpp.o [ 50%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_v4l.cpp.o [ 50%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/eltwise_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o [ 51%] Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/region_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/elementwise_layers.cpp.o [ 51%] Linking CXX shared library ../../lib/libopencv_videoio.so [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/crop_and_resize_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/scale_layer.cpp.o [ 51%] Built target opencv_videoio Scanning dependencies of target opencv_highgui [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/resize_layer.cpp.o [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/roiSelector.cpp.o [ 51%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/window_gtk.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/proposal_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/normalize_bbox_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/detection_output_layer.cpp.o [ 51%] Linking CXX shared library ../../lib/libopencv_highgui.so [ 51%] Built target opencv_highgui [ 51%] Processing OpenCL kernels (superres) [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o Scanning dependencies of target opencv_superres [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/flatten_layer.cpp.o [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1_cuda.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/recurrent_layers.cpp.o [ 51%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/btv_l1.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/max_unpooling_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o [ 51%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/padding_layer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/dnn.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/nms.cpp.o [ 52%] Linking CXX shared library ../../lib/libopencv_photo.so [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/input_array_utility.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_io.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/darknet/darknet_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_shrinker.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_importer.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/optical_flow.cpp.o [ 52%] Built target opencv_photo [ 52%] Processing OpenCL kernels (bioinspired) Scanning dependencies of target opencv_bioinspired [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinacolor.cpp.o [ 52%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/opencl_kernels_superres.cpp.o [ 52%] Linking CXX shared library ../../lib/libopencv_superres.so [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o [ 52%] Built target opencv_superres [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/op_halide.cpp.o [ 52%] Processing OpenCL kernels (features2d) Scanning dependencies of target opencv_features2d [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/parvoretinafilter.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o [ 52%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/orb.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o [ 52%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retina_ocl.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/halide_scheduler.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/onnx/onnx_importer.cpp.o [ 52%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinafilter.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx2.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/feature2d.cpp.o [ 53%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/layers/layers_common.avx512_skx.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/imagelogpolprojection.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retinafasttonemapping.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/basicretinafilter.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/brisk.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/main.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/KAZEFeatures.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/AKAZEFeatures.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/magnoretinafilter.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/retina.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/src/transientareassegmentationmodule.cpp.o [ 53%] Building CXX object modules/bioinspired/CMakeFiles/opencv_bioinspired.dir/opencl_kernels_bioinspired.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/fed.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze/nldiffusion_functions.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/matchers.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/evaluation.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/draw.cpp.o [ 53%] Linking CXX shared library ../../lib/libopencv_bioinspired.so [ 53%] Linking CXX shared library ../../lib/libopencv_dnn.so [ 53%] Built target opencv_bioinspired Scanning dependencies of target opencv_annotation Scanning dependencies of target opencv_visualisation [ 53%] Building CXX object apps/annotation/CMakeFiles/opencv_annotation.dir/opencv_annotation.cpp.o [ 53%] Building CXX object apps/visualisation/CMakeFiles/opencv_visualisation.dir/opencv_visualisation.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/gftt.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/mser.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/akaze.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/dynamic.cpp.o [ 53%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/kaze.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast_score.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/bagofwords.cpp.o [ 54%] Linking CXX executable ../../bin/opencv_annotation [ 54%] Built target opencv_dnn Scanning dependencies of target opencv_ts [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_arrtest.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast_score.cpp.o [ 54%] Built target opencv_annotation Scanning dependencies of target opencv_xphoto [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/agast.cpp.o [ 54%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/tonemap.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/keypoint.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/blobdetector.cpp.o [ 54%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/inpainting.cpp.o [ 54%] Linking CXX executable ../../bin/opencv_visualisation [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.cpp.o [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/opencl_kernels_features2d.cpp.o [ 54%] Built target opencv_visualisation Scanning dependencies of target opencv_dnn_objdetect [ 54%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d.dir/src/fast.avx2.cpp.o [ 54%] Building CXX object modules/dnn_objdetect/CMakeFiles/opencv_dnn_objdetect.dir/src/core_detect.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_func.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_gtest.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_perf.cpp.o [ 54%] Linking CXX shared library ../../lib/libopencv_dnn_objdetect.so [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ts_perf.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/cuda_test.cpp.o [ 54%] Built target opencv_dnn_objdetect [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_test.cpp.o [ 54%] Linking CXX shared library ../../lib/libopencv_features2d.so [ 54%] Built target opencv_features2d Scanning dependencies of target opencv_line_descriptor [ 54%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/draw.cpp.o [ 54%] Building CXX object modules/ts/CMakeFiles/opencv_ts.dir/src/ocl_perf.cpp.o [ 54%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/LSDDetector.cpp.o [ 55%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor_matcher.cpp.o [ 55%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_line_descriptor.dir/src/binary_descriptor.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/bm3d_image_denoising.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/dct_image_denoising.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/learning_based_color_balance.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/simple_color_balance.cpp.o [ 55%] Building CXX object modules/xphoto/CMakeFiles/opencv_xphoto.dir/src/grayworld_white_balance.cpp.o Scanning dependencies of target opencv_saliency [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/saliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliencyBinWangApr2014.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliencyFineGrained.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/motionSaliency.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/staticSaliencySpectralResidual.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/objectness.cpp.o [ 55%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmShow.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/CmFile.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/objectnessBING.cpp.o [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/FilterTIG.cpp.o [ 56%] Linking CXX shared library ../../lib/libopencv_line_descriptor.so [ 56%] Building CXX object modules/saliency/CMakeFiles/opencv_saliency.dir/src/BING/ValStructVec.cpp.o [ 56%] Linking CXX shared library ../../lib/libopencv_xphoto.so Scanning dependencies of target opencv_text [ 56%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/erfilter.cpp.o [ 56%] Built target opencv_line_descriptor [ 56%] Processing OpenCL kernels (calib3d) [ 56%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_tesseract.cpp.o Scanning dependencies of target opencv_calib3d [ 56%] Built target opencv_xphoto [ 57%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/text_detectorCNN.cpp.o [ 57%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_beamsearch_decoder.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/fundam.cpp.o [ 58%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_hmm_decoder.cpp.o [ 58%] Building CXX object modules/text/CMakeFiles/opencv_text.dir/src/ocr_holistic.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/main.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/posit.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/quadsubpix.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/circlesgrid.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ap3p.cpp.o [ 58%] Linking CXX shared library ../../lib/libopencv_saliency.so [ 58%] Built target opencv_saliency [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/upnp.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/compat_ptsetreg.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/five-point.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereobm.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibration.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/triangulate.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/checkchessboard.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calibinit.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/p3p.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/epnp.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/calib3d_c_api.cpp.o [ 58%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/fisheye.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/solvepnp.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/stereosgbm.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/dls.cpp.o [ 59%] Linking CXX shared library ../../lib/libopencv_text.so [ 59%] Built target opencv_text Scanning dependencies of target opencv_datasets [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_mnist.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/polynom_solver.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/compat_stereo.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/levmarq.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/ptsetreg.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/is_bsds.cpp.o [ 59%] Linking CXX static library ../../lib/libopencv_ts.a [ 59%] Built target opencv_ts [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/homography_decomp.cpp.o Scanning dependencies of target opencv_test_core [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/src/rho.cpp.o [ 59%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rand.cpp.o [ 59%] Building CXX object modules/calib3d/CMakeFiles/opencv_calib3d.dir/opencl_kernels_calib3d.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/pd_inria.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_hmdb.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/pd_caltech.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/gr_skig.cpp.o [ 59%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_hal_core.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/fr_adience.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/dataset.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/track_alov.cpp.o [ 59%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ar_sports.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_pascal.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_sun.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/slam_kitti.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/util.cpp.o [ 60%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_rotatedrect.cpp.o [ 60%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_umat.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/hpe_humaneva.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ir_robot.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_svt.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_icdar.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/hpe_parse.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/or_imagenet.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/msm_middlebury.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/msm_epfl.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/track_vot.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/is_weizmann.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/gr_chalearn.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/slam_tumindoor.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/ir_affine.cpp.o [ 60%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tinyxml2/tinyxml2.cpp.o [ 61%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/fr_lfw.cpp.o [ 61%] Building CXX object modules/datasets/CMakeFiles/opencv_datasets.dir/src/tr_chars.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_mat.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_lpsolver.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_countnonzero.cpp.o [ 61%] Linking CXX shared library ../../lib/libopencv_calib3d.so [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_concatenation.cpp.o [ 61%] Built target opencv_calib3d Scanning dependencies of target opencv_perf_core [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_eigen.cpp.o [ 61%] Linking CXX shared library ../../lib/libopencv_datasets.so [ 61%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_dot.cpp.o [ 61%] Built target opencv_datasets Scanning dependencies of target opencv_test_flann [ 61%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann.dir/test/test_lshtable_badarg.cpp.o [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_downhill_simplex.cpp.o [ 61%] Building CXX object modules/flann/CMakeFiles/opencv_test_flann.dir/test/test_main.cpp.o [ 61%] Linking CXX executable ../../bin/opencv_test_flann [ 61%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_arithm.cpp.o [ 62%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_expr.cpp.o [ 62%] Built target opencv_test_flann Scanning dependencies of target opencv_test_hdf [ 63%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf.dir/test/test_hdf5.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_opencl.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_addWeighted.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_image2d.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_dft.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_channels.cpp.o [ 63%] Building CXX object modules/hdf/CMakeFiles/opencv_test_hdf.dir/test/test_main.cpp.o [ 63%] Linking CXX executable ../../bin/opencv_test_hdf [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_arithm.cpp.o [ 63%] Built target opencv_test_hdf Scanning dependencies of target opencv_test_imgproc [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_compare.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgwarp_strict.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_matrix_operation.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/ocl/test_gemm.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_math.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_umat.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_convhull.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_conjugate_gradient.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ds.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_misc.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_stat.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse_direct.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_dxt.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_boundingrect.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_io.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_templmatch.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_resize_bitexact.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_ptr.cpp.o [ 63%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_drawing.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_arithm.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_utils.cpp.o [ 63%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_main.cpp.o [ 64%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_operations.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse_ams.cpp.o [ 65%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_inRange.cpp.o [ 65%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse2.cpp.o [ 65%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_filter.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_usage_flags.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse3.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.ssse3.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse4_1.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_fitellipse.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_bufferpool.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_connectedcomponents.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_contours.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_floodfill.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_matop.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_watershed.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_subdivision2d.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_cvtyuv.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.sse4_2.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_lsd.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_channels.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_distancetransform.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.fp16.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_thresh.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_goodfeaturetotrack.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_arithm.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_gftt.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.avx.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_match_template.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_warp.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin128.avx2.cpp.o [ 66%] Building CXX object modules/core/CMakeFiles/opencv_test_core.dir/test/test_intrin256.avx2.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_accumulate.cpp.o [ 66%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_filter2d.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_filters.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_blend.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_imgproc.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_medianfilter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_sepfilter2d.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_histogram.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_color.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_pyramids.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_boxfilter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_canny.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/ocl/test_houghlines.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_histograms.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_color.cpp.o [ 67%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_gemm.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_intersection.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_approxpoly.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_grabcut.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_bilateral_filter.cpp.o [ 67%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgwarp.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_smooth_bitexact.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_emd.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/opencl/perf_dxt.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_imgproc_umat.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_pc.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_houghcircles.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_main.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_moments.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_canny.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_test_imgproc.dir/test/test_houghlines.cpp.o Scanning dependencies of target opencv_perf_imgproc [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_houghcircles.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_warp.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_core [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_math.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_sort.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_bitwise.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_abs.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_merge.cpp.o [ 68%] Built target opencv_test_core Scanning dependencies of target opencv_test_ml [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_mltests.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_cvround.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_io_base64.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_imgproc [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_split.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_mat.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_main.cpp.o [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_svmtrainauto.cpp.o [ 68%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_lut.cpp.o [ 68%] Built target opencv_test_imgproc Scanning dependencies of target opencv_test_phase_unwrapping [ 68%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping.dir/test/test_unwrapping.cpp.o [ 68%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_emknearestkmeans.cpp.o [ 68%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_blur.cpp.o [ 68%] Building CXX object modules/phase_unwrapping/CMakeFiles/opencv_test_phase_unwrapping.dir/test/test_main.cpp.o [ 68%] Linking CXX executable ../../bin/opencv_test_phase_unwrapping [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_norm.cpp.o [ 69%] Built target opencv_test_phase_unwrapping [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_dft.cpp.o Scanning dependencies of target opencv_test_photo [ 69%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_inpaint.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_reduce.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_minmaxloc.cpp.o [ 69%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_mltests2.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/perf_convertTo.cpp.o [ 69%] Building CXX object modules/core/CMakeFiles/opencv_perf_core.dir/perf/cuda/perf_gpumat.cpp.o [ 69%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoising.cuda.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_cloning.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_hdr.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/ocl/test_denoising.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_npr.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoising.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_denoise_tvl1.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_decolor.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_filter2d.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_test_photo.dir/test/test_main.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_perf_core [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_gbttest.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_lr.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_main.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_save_load.cpp.o [ 70%] Building CXX object modules/ml/CMakeFiles/opencv_test_ml.dir/test/test_svmsgd.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_corners.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_distanceTransform.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_moments.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_test_photo [ 70%] Built target opencv_perf_core Scanning dependencies of target opencv_perf_photo [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_cuda.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/opencl/perf_denoising.cpp.o [ 70%] Built target opencv_test_photo Scanning dependencies of target opencv_test_reg [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg.dir/test/test_reg.cpp.o [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_test_reg.dir/test/test_main.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_main.cpp.o [ 70%] Building CXX object modules/photo/CMakeFiles/opencv_perf_photo.dir/perf/perf_inpaint.cpp.o [ 70%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_canny.cpp.o [ 70%] Linking CXX executable ../../bin/opencv_test_ml [ 70%] Built target opencv_test_ml Scanning dependencies of target opencv_perf_reg [ 70%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg.dir/perf/perf_reg.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_filters.cpp.o [ 71%] Linking CXX executable ../../bin/opencv_test_reg [ 71%] Built target opencv_test_reg Scanning dependencies of target opencv_test_video [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_gftt.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_tvl1optflow.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_moments.cpp.o [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_blend.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_estimaterigid.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_camshift.cpp.o [ 71%] Linking CXX executable ../../bin/opencv_perf_photo [ 71%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_pyramid.cpp.o [ 71%] Built target opencv_perf_photo Scanning dependencies of target opencv_perf_video [ 71%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_optflowpyrlk.cpp.o [ 71%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_kalman.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/reg/CMakeFiles/opencv_perf_reg.dir/perf/perf_main.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_3vs4.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_matchTemplate.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_perf_reg [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_houghlines.cpp.o [ 72%] Built target opencv_perf_reg Scanning dependencies of target opencv_test_viz [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_viz3d.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/tests_simple.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_color.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflowpyrlk.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_imgwarp.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_imgproc.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/opencl/perf_accumulate.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_tutorial3.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_common.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_resize.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_sepfilters.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_tutorial2.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflow_tvl1flow.cpp.o [ 72%] Building CXX object modules/viz/CMakeFiles/opencv_test_viz.dir/test/test_main.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_test_viz [ 72%] Built target opencv_test_viz Scanning dependencies of target opencv_test_xphoto [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_denoise_bm3d.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_learning_based_color_balance.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_integral.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/dct_image_denoising.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_tvl1optflow.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_grayworld.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_remap.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/ocl/test_optflow_farneback.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/simple_color_balance.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_matchTemplate.cpp.o [ 72%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_houghlines.cpp.o [ 72%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_bgfg_mog2.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_hdr.cpp.o [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_test_xphoto.dir/test/test_main.cpp.o [ 72%] Linking CXX executable ../../bin/opencv_test_xphoto [ 72%] Built target opencv_test_xphoto Scanning dependencies of target opencv_perf_xphoto [ 72%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_grayworld.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_pyramids.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_accum.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_histogram.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_optflowpyrlk.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_cvt_color.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_bilateral.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_phasecorr.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_dualTVL1.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_main.cpp.o [ 73%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_learning_based_color_balance.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_test_video.dir/test/test_ecc.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_morph.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_threshold.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_goodFeaturesToTrack.cpp.o [ 73%] Building CXX object modules/xphoto/CMakeFiles/opencv_perf_xphoto.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_spatialgradient.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_xphoto [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_bgfg_knn.cpp.o [ 73%] Built target opencv_perf_xphoto Scanning dependencies of target opencv_test_dnn [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_halide_layers.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_video [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_floodfill.cpp.o [ 73%] Building CXX object modules/imgproc/CMakeFiles/opencv_perf_imgproc.dir/perf/perf_accumulate.cpp.o [ 73%] Built target opencv_test_video Scanning dependencies of target opencv_perf_dnn [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_net.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_caffe.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_main.cpp.o Scanning dependencies of target opencv_test_fuzzy [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_image.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_f1.cpp.o [ 73%] Building CXX object modules/dnn/CMakeFiles/opencv_perf_dnn.dir/perf/perf_convolution.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_motempl.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_pyrlk.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_f0.cpp.o [ 73%] Building CXX object modules/fuzzy/CMakeFiles/opencv_test_fuzzy.dir/test/test_main.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/opencl/perf_optflow_farneback.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_bgfg_knn.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_fuzzy [ 73%] Built target opencv_test_fuzzy Scanning dependencies of target opencv_test_img_hash [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_block_mean_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_phash.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_ecc.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_radial_variance_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_average_hash.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_dnn [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_marr_hildreth_hash.cpp.o [ 73%] Building CXX object modules/img_hash/CMakeFiles/opencv_test_img_hash.dir/test/test_main.cpp.o [ 73%] Built target opencv_perf_dnn Scanning dependencies of target opencv_test_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_grfmt.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_webp.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_img_hash [ 73%] Built target opencv_test_img_hash Scanning dependencies of target opencv_perf_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_perf_imgcodecs.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/video/CMakeFiles/opencv_perf_video.dir/perf/perf_main.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_png.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_imgcodecs [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_tiff.cpp.o [ 73%] Built target opencv_perf_imgcodecs Scanning dependencies of target opencv_test_shape [ 73%] Linking CXX executable ../../bin/opencv_perf_video [ 73%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape.dir/test/test_shape.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_jpeg.cpp.o [ 73%] Built target opencv_perf_video Scanning dependencies of target opencv_test_videoio [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_container_avi.cpp.o [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_read_write.cpp.o [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_mfx.cpp.o [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_video_io.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_perf_imgproc [ 73%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_test_imgcodecs.dir/test/test_main.cpp.o Scanning dependencies of target opencv_perf_videoio [ 73%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_output.cpp.o [ 73%] Building CXX object modules/shape/CMakeFiles/opencv_test_shape.dir/test/test_main.cpp.o [ 73%] Linking CXX executable ../../bin/opencv_test_shape [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_input.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_perf_videoio.dir/perf/perf_main.cpp.o [ 74%] Built target opencv_test_shape Scanning dependencies of target opencv_test_highgui [ 74%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_gui.cpp.o [ 74%] Built target opencv_perf_imgproc Scanning dependencies of target opencv_test_superres [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_ffmpeg.cpp.o [ 74%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres.dir/test/test_superres.cpp.o [ 74%] Building CXX object modules/highgui/CMakeFiles/opencv_test_highgui.dir/test/test_main.cpp.o [ 74%] Linking CXX executable ../../bin/opencv_test_highgui [ 74%] Linking CXX executable ../../bin/opencv_test_imgcodecs [ 74%] Built target opencv_test_highgui Scanning dependencies of target opencv_perf_superres [ 74%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres.dir/perf/perf_superres.cpp.o [ 74%] Built target opencv_test_imgcodecs Scanning dependencies of target opencv_test_bioinspired [ 74%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired.dir/test/test_retina_ocl.cpp.o [ 74%] Building CXX object modules/bioinspired/CMakeFiles/opencv_test_bioinspired.dir/test/test_main.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_fourcc.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_main.cpp.o [ 74%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_gstreamer.cpp.o [ 75%] Building CXX object modules/videoio/CMakeFiles/opencv_test_videoio.dir/test/test_camera.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_videoio [ 75%] Building CXX object modules/superres/CMakeFiles/opencv_perf_superres.dir/perf/perf_main.cpp.o [ 75%] Building CXX object modules/superres/CMakeFiles/opencv_test_superres.dir/test/test_main.cpp.o Scanning dependencies of target opencv_perf_bioinspired [ 75%] Linking CXX executable ../../bin/opencv_test_superres [ 75%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired.dir/perf/opencl/perf_retina.ocl.cpp.o [ 75%] Built target opencv_perf_videoio Scanning dependencies of target opencv_test_features2d [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_fast.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_akaze.cpp.o [ 75%] Built target opencv_test_superres Scanning dependencies of target opencv_perf_features2d [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_batchDistance.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_keypoints.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_detectors_regression.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_bioinspired [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_matchers_algorithmic.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_superres [ 75%] Linking CXX executable ../../bin/opencv_test_videoio [ 75%] Built target opencv_test_bioinspired Scanning dependencies of target opencv_perf_line_descriptor [ 75%] Built target opencv_perf_superres Scanning dependencies of target opencv_test_line_descriptor [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_descriptors.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_descriptors_regression.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_descriptors_regression.cpp.o [ 75%] Built target opencv_test_videoio Scanning dependencies of target opencv_test_text [ 75%] Building CXX object modules/text/CMakeFiles/opencv_test_text.dir/test/test_detection.cpp.o [ 75%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_nms.cpp.o [ 75%] Building CXX object modules/bioinspired/CMakeFiles/opencv_perf_bioinspired.dir/perf/perf_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_perf_bioinspired [ 75%] Built target opencv_perf_bioinspired Scanning dependencies of target opencv_test_calib3d [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_tilt.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_detection.cpp.o [ 75%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_darknet_importer.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_matcher_regression.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_feature2d.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_orb.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_detector_regression.cpp.o [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_nearestneighbors.cpp.o [ 75%] Building CXX object modules/text/CMakeFiles/opencv_test_text.dir/test/test_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_text [ 75%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_descriptors_invariance.cpp.o [ 75%] Built target opencv_test_text Scanning dependencies of target opencv_perf_calib3d [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_affine2d.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_test_line_descriptor.dir/test/test_main.cpp.o [ 75%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_main.cpp.o [ 75%] Linking CXX executable ../../bin/opencv_test_line_descriptor [ 75%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_solvepnp_ransac.cpp.o [ 76%] Building CXX object modules/line_descriptor/CMakeFiles/opencv_perf_line_descriptor.dir/perf/perf_matching.cpp.o [ 76%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/ocl/test_brute_force_matcher.cpp.o [ 76%] Built target opencv_test_line_descriptor Scanning dependencies of target opencv_ccalib [ 76%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/omnidir.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_brute_force_matcher.cpp.o [ 77%] Linking CXX executable ../../bin/opencv_perf_line_descriptor [ 77%] Built target opencv_perf_line_descriptor [ 77%] Processing OpenCL kernels (objdetect) Scanning dependencies of target opencv_objdetect [ 77%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_layers.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/detection_based_tracker.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/ocl/test_feature2d.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_stereosgbm.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/main.cpp.o [ 77%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/qrcode.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_filter_homography_decomp.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_brisk.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/opencl/perf_feature2d.cpp.o [ 77%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_detectors_invariance.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_homography_decomp.cpp.o [ 77%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_fundam.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_main.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_mser.cpp.o [ 78%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/opencl/perf_stereobm.cpp.o [ 78%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/hog.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_test_features2d.dir/test/test_agast.cpp.o [ 78%] Building CXX object modules/features2d/CMakeFiles/opencv_perf_features2d.dir/perf/perf_main.cpp.o [ 78%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/cascadedetect_convert.cpp.o [ 78%] Linking CXX executable ../../bin/opencv_perf_features2d [ 78%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_artificial.cpp.o [ 78%] Built target opencv_perf_features2d Scanning dependencies of target opencv_rgbd [ 78%] Linking CXX executable ../../bin/opencv_test_features2d [ 78%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/utils.cpp.o [ 79%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/normal.cpp.o [ 79%] Built target opencv_test_features2d Scanning dependencies of target opencv_stereo [ 79%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/ccalib.cpp.o [ 79%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/stereo_binary_sgbm.cpp.o [ 79%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/cascadedetect.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_cicrlesGrid.cpp.o [ 79%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/haar.cpp.o [ 79%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/multicalib.cpp.o [ 79%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/descriptor.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine2d_estimator.cpp.o [ 79%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_pnp.cpp.o [ 80%] Building CXX object modules/stereo/CMakeFiles/opencv_stereo.dir/src/stereo_binary_bm.cpp.o [ 80%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_caffe_importer.cpp.o [ 80%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/opencl_kernels_objdetect.cpp.o [ 80%] Building CXX object modules/objdetect/CMakeFiles/opencv_objdetect.dir/src/haar.avx.cpp.o [ 80%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/linemod.cpp.o [ 80%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_posit.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_decompose_projection.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_stereo.so [ 81%] Linking CXX shared library ../../lib/libopencv_objdetect.so [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners.cpp.o [ 81%] Built target opencv_stereo [ 81%] Processing OpenCL kernels (stitching) Scanning dependencies of target opencv_stitching [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration_badarg.cpp.o [ 81%] Built target opencv_objdetect Scanning dependencies of target opencv_structured_light [ 81%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/motion_estimators.cpp.o [ 81%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light.dir/src/graycodepattern.cpp.o [ 81%] Building CXX object modules/ccalib/CMakeFiles/opencv_ccalib.dir/src/randpattern.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_perf_calib3d.dir/perf/perf_main.cpp.o [ 81%] Linking CXX executable ../../bin/opencv_perf_calib3d [ 81%] Built target opencv_perf_calib3d [ 81%] Processing OpenCL kernels (tracking) Scanning dependencies of target opencv_tracking [ 81%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRT.cpp.o [ 81%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light.dir/src/sinusoidalpattern.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort_points.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_ccalib.so [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners_badarg.cpp.o [ 81%] Built target opencv_ccalib Scanning dependencies of target opencv_videostab [ 81%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_to_3d.cpp.o [ 81%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/frame_source.cpp.o [ 81%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/global_motion.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chesscorners_timing.cpp.o [ 81%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/exposure_compensate.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort_badarg.cpp.o [ 81%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_fisheye.cpp.o [ 81%] Linking CXX shared library ../../lib/libopencv_structured_light.so [ 81%] Built target opencv_structured_light [ 81%] Processing OpenCL kernels (ximgproc) Scanning dependencies of target opencv_ximgproc [ 81%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/gtrUtils.cpp.o [ 81%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/domain_transform.cpp.o [ 81%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/seeds.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_misc.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tracker.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/opencl/test_stereobm.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/gtrTracker.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/featureColorName.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/inpainting.cpp.o [ 82%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/odometry.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/camera.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/matchers.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/graphsegmentation.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/brightedges.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldTracker.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_stereomatching.cpp.o [ 82%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fast_line_detector.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_ie_models.cpp.o [ 82%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_torch_importer.cpp.o [ 82%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTScaleEstimation.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/log.cpp.o [ 82%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_reproject_image_to_3d.cpp.o [ 82%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/deblurring.cpp.o [ 82%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/warpers.cpp.o [ 83%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/deriche_filter.cpp.o [ 83%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerFeatureSet.cpp.o [ 83%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/outlier_rejection.cpp.o [ 83%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_chessboardgenerator.cpp.o [ 83%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/feature.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/optical_flow.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/wobble_suppression.cpp.o [ 84%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/sparse_match_interpolators.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/fast_marching.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_compose_rt.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cameracalibration.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/motion_stabilizing.cpp.o [ 84%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_registration.cpp.o [ 84%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/stitcher.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_modelest.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_main.cpp.o [ 84%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_googlenet.cpp.o [ 84%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/disparity_filters.cpp.o [ 84%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine3d_estimator.cpp.o [ 84%] Building CXX object modules/videostab/CMakeFiles/opencv_videostab.dir/src/stabilizer.cpp.o [ 84%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldModel.cpp.o [ 85%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_undistort.cpp.o [ 85%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/depth_cleaner.cpp.o [ 85%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/peilin.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/multiTracker.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/anisodiff.cpp.o [ 86%] Building CXX object modules/rgbd/CMakeFiles/opencv_rgbd.dir/src/plane.cpp.o [ 86%] Linking CXX shared library ../../lib/libopencv_videostab.so [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/util.cpp.o [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_homography.cpp.o [ 86%] Built target opencv_videostab Scanning dependencies of target opencv_xobjdetect [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_tf_importer.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/wbdetector.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/thinning.cpp.o [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/autocalib.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/bilateral_texture_filter.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/lbpfeatures.cpp.o [ 86%] Linking CXX shared library ../../lib/libopencv_rgbd.so [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_affine_partial2d_estimator.cpp.o [ 86%] Built target opencv_rgbd Scanning dependencies of target opencv_aruco [ 86%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/dictionary.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/feature_evaluator.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldEnsembleClassifier.cpp.o [ 86%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/seam_finders.cpp.o [ 86%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/onlineMIL.cpp.o [ 86%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/aruco.cpp.o [ 86%] Building CXX object modules/calib3d/CMakeFiles/opencv_test_calib3d.dir/test/test_cornerssubpix.cpp.o [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_main.cpp.o [ 86%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/guided_filter.cpp.o [ 86%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_backends.cpp.o [ 86%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/mosseTracker.cpp.o [ 87%] Linking CXX shared library ../../lib/libopencv_xobjdetect.so [ 87%] Built target opencv_xobjdetect Scanning dependencies of target opencv_bgsegm [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_subcnt.cpp.o [ 87%] Linking CXX executable ../../bin/opencv_test_calib3d [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gaussmix.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerStateEstimator.cpp.o [ 87%] Built target opencv_test_calib3d Scanning dependencies of target opencv_dpm [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/estimated_covariance.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_nms.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/synthetic_seq.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_feature.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gsoc.cpp.o [ 87%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/test_onnx_importer.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/weighted_median_filter.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/timelapsers.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMedianFlow.cpp.o [ 87%] Building CXX object modules/dnn/CMakeFiles/opencv_test_dnn.dir/test/npy_blob.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/blenders.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_model.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/paillou_filter.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/lsc.cpp.o [ 87%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/apriltag_quad_thresh.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerSampler.cpp.o [ 87%] Building CXX object modules/bgsegm/CMakeFiles/opencv_bgsegm.dir/src/bgfg_gmg.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldUtils.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/src/warpers_cuda.cpp.o [ 87%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/ridgedetectionfilter.cpp.o [ 87%] Building CXX object modules/stitching/CMakeFiles/opencv_stitching.dir/opencl_kernels_stitching.cpp.o [ 87%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_cascade.cpp.o [ 87%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/augmented_unscented_kalman.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_stitching.so [ 88%] Linking CXX shared library ../../lib/libopencv_bgsegm.so [ 88%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/zmaxheap.cpp.o [ 88%] Built target opencv_stitching [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fbs_filter.cpp.o Scanning dependencies of target opencv_face [ 88%] Built target opencv_bgsegm Scanning dependencies of target opencv_traincascade [ 88%] Building CXX object modules/aruco/CMakeFiles/opencv_aruco.dir/src/charuco.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/fisher_faces.cpp.o [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/boost.cpp.o [ 88%] Linking CXX executable ../../bin/opencv_test_dnn [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/structured_edge_detection.cpp.o [ 88%] Built target opencv_test_dnn [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/eigen_faces.cpp.o [ 88%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_cascade_detector.cpp.o Scanning dependencies of target opencv_createsamples [ 88%] Building CXX object apps/createsamples/CMakeFiles/opencv_createsamples.dir/utility.cpp.o [ 88%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldDetector.cpp.o [ 88%] Building CXX object modules/dpm/CMakeFiles/opencv_dpm.dir/src/dpm_convolution.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemark.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_dpm.so [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/traincascade.cpp.o [ 88%] Built target opencv_dpm Scanning dependencies of target opencv_test_objdetect [ 88%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_cascadeandhog.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/edgeaware_filters_common.cpp.o [ 88%] Linking CXX shared library ../../lib/libopencv_aruco.so [ 88%] Building CXX object apps/createsamples/CMakeFiles/opencv_createsamples.dir/createsamples.cpp.o [ 88%] Built target opencv_aruco Scanning dependencies of target opencv_perf_objdetect [ 88%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/haarfeatures.cpp.o [ 88%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_cascades.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/joint_bilateral_filter.cpp.o [ 88%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkLBF.cpp.o [ 88%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerKCF.cpp.o [ 88%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/rolling_guidance_filter.cpp.o [ 88%] Linking CXX executable ../../bin/opencv_createsamples [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fgs_filter.cpp.o [ 89%] Built target opencv_createsamples [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/adaptive_manifold_filter_n.cpp.o Scanning dependencies of target opencv_test_rgbd [ 89%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_odometry.cpp.o [ 89%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/imagestorage.cpp.o [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/niblack_thresholding.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/opencl/test_hogdetector.cpp.o [ 89%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/selectivesearchsegmentation.cpp.o [ 89%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_registration.cpp.o [ 89%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/lbpfeatures.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/opencl/perf_hogdetect.cpp.o [ 89%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerBoostingModel.cpp.o [ 89%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_qrcode_pipeline.cpp.o [ 90%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_normal.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/dtfilter_cpu.cpp.o [ 90%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/cascadeclassifier.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/mace.cpp.o [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMILModel.cpp.o [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/unscented_kalman.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_qrcode.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fourier_descriptors.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facerec.cpp.o [ 90%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_inner_functions.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/predict_collector.cpp.o [ 90%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_utils.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_perf_objdetect.dir/perf/perf_main.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/bif.cpp.o [ 90%] Linking CXX executable ../../bin/opencv_perf_objdetect [ 90%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTUtils.cpp.o [ 90%] Built target opencv_perf_objdetect Scanning dependencies of target opencv_test_stereo [ 90%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_block_matching.cpp.o [ 90%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/l0_smooth.cpp.o [ 90%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/lbph_faces.cpp.o [ 90%] Building CXX object modules/objdetect/CMakeFiles/opencv_test_objdetect.dir/test/test_main.cpp.o [ 90%] Linking CXX executable ../../bin/opencv_test_objdetect [ 91%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_tree.cpp.o [ 91%] Building CXX object modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/test/test_main.cpp.o [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_main.cpp.o [ 91%] Linking CXX executable ../../bin/opencv_test_rgbd [ 91%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/edgeboxes.cpp.o [ 91%] Built target opencv_test_objdetect Scanning dependencies of target opencv_perf_stereo [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_test_stereo.dir/test/test_descriptors.cpp.o [ 91%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_descriptor.cpp.o [ 91%] Built target opencv_test_rgbd Scanning dependencies of target opencv_test_stitching [ 91%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/multiTracker_alt.cpp.o [ 91%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_blenders.cpp.o [ 91%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerFeature.cpp.o [ 91%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/slic.cpp.o [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/ocl/test_warpers.cpp.o [ 92%] Linking CXX executable ../../bin/opencv_test_stereo [ 92%] Built target opencv_test_stereo Scanning dependencies of target opencv_perf_stitching [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/opencl/perf_stitch.cpp.o [ 92%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerSamplerAlgorithm.cpp.o [ 92%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/facemarkAAM.cpp.o [ 92%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/src/fast_hough_transform.cpp.o [ 92%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_bm.cpp.o [ 92%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_matchers.cpp.o [ 92%] Building CXX object modules/ximgproc/CMakeFiles/opencv_ximgproc.dir/opencl_kernels_ximgproc.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/onlineBoosting.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerMIL.cpp.o [ 93%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_data.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/opencl/perf_warpers.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerBoosting.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_blenders.cuda.cpp.o [ 93%] Linking CXX shared library ../../lib/libopencv_ximgproc.so [ 93%] Building CXX object modules/stereo/CMakeFiles/opencv_perf_stereo.dir/perf/perf_main.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tracking_utils.cpp.o [ 93%] Building CXX object modules/stitching/CMakeFiles/opencv_test_stitching.dir/test/test_main.cpp.o [ 93%] Built target opencv_ximgproc Scanning dependencies of target opencv_test_structured_light [ 93%] Linking CXX executable ../../bin/opencv_perf_stereo [ 93%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_plane.cpp.o [ 93%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerCSRTSegmentation.cpp.o [ 93%] Linking CXX executable ../../bin/opencv_test_stitching [ 93%] Built target opencv_perf_stereo Scanning dependencies of target opencv_test_videostab [ 93%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/HOGfeatures.cpp.o [ 93%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab.dir/test/test_motion_estimation.cpp.o [ 93%] Built target opencv_test_stitching Scanning dependencies of target opencv_test_ximgproc [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fgs_filter.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/tldDataset.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/src/trackerModel.cpp.o [ 94%] Building CXX object modules/videostab/CMakeFiles/opencv_test_videostab.dir/test/test_main.cpp.o [ 94%] Building CXX object modules/tracking/CMakeFiles/opencv_tracking.dir/opencl_kernels_tracking.cpp.o [ 94%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/features.cpp.o [ 94%] Building CXX object apps/traincascade/CMakeFiles/opencv_traincascade.dir/old_ml_boost.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_test_videostab [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_basic.cpp.o [ 94%] Built target opencv_test_videostab Scanning dependencies of target opencv_perf_ximgproc [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_getProjPixel.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_fast_hough_transform.cpp.o [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/regtree.cpp.o [ 94%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_matchers.cpp.o [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_faps.cpp.o [ 94%] Building CXX object modules/structured_light/CMakeFiles/opencv_test_structured_light.dir/test/test_main.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_joint_bilateral_filter.cpp.o [ 94%] Linking CXX shared library ../../lib/libopencv_tracking.so [ 94%] Built target opencv_tracking Scanning dependencies of target opencv_waldboost_detector [ 94%] Building CXX object modules/xobjdetect/tools/waldboost_detector/CMakeFiles/opencv_waldboost_detector.dir/waldboost_detector.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_structured_edge_detection.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_test_structured_light [ 94%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/getlandmarks.cpp.o [ 94%] Linking CXX executable ../../../../bin/opencv_waldboost_detector [ 94%] Built target opencv_test_structured_light Scanning dependencies of target opencv_test_aruco [ 94%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_arucodetection.cpp.o [ 94%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_domain_transform.cpp.o [ 94%] Built target opencv_waldboost_detector Scanning dependencies of target opencv_test_bgsegm [ 94%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_backgroundsubtractor_lsbp.cpp.o [ 94%] Linking CXX executable ../../bin/opencv_traincascade [ 94%] Built target opencv_traincascade [ 95%] Processing OpenCL kernels (optflow) [ 95%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_weighted_median_filter.cpp.o Scanning dependencies of target opencv_optflow [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/optical_flow_io.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/interfaces.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/deepflow.cpp.o [ 95%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/variational_refinement.cpp.o [ 95%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_weighted_median_filter.cpp.o [ 95%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_misc.cpp.o [ 95%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_backgroundsubtractor_gbh.cpp.o [ 96%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_boarddetection.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/face_alignment.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fld.cpp.o [ 96%] Building CXX object modules/bgsegm/CMakeFiles/opencv_test_bgsegm.dir/test/test_main.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_test_bgsegm [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_joint_bilateral_filter.cpp.o [ 96%] Built target opencv_test_bgsegm Scanning dependencies of target opencv_interactive-calibration [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/main.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_rolling_guidance_filter.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_stich.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/dis_flow.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_face.dir/src/trainFacemark.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_thinning.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/calibPipeline.cpp.o [ 96%] Building CXX object modules/aruco/CMakeFiles/opencv_test_aruco.dir/test/test_charucodetection.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fbs_filter.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/calibController.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_domain_transform.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_ridge_detection_filter.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_sparse_match_interpolator.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_test_aruco [ 96%] Built target opencv_test_aruco Scanning dependencies of target opencv_test_tracking [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_ukf.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/sparse_matching_gpc.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_estimators.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_fast_hough_transform.cpp.o [ 96%] Linking CXX shared library ../../lib/libopencv_face.so [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_disparity_wls_filter.cpp.o [ 96%] Built target opencv_face [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/frameProcessor.cpp.o Scanning dependencies of target opencv_perf_tracking [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_Tracker.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_l0_smooth.cpp.o [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/pcaflow.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_trackers.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_guided_filter.cpp.o [ 96%] Building CXX object modules/stitching/CMakeFiles/opencv_perf_stitching.dir/perf/perf_main.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_perf_stitching [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_rolling_guidance_filter.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/parametersController.cpp.o [ 96%] Built target opencv_perf_stitching Scanning dependencies of target opencv_test_face [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/simpleflow.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_bif.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_perf_tracking.dir/perf/perf_main.cpp.o [ 96%] Building CXX object apps/interactive-calibration/CMakeFiles/opencv_interactive-calibration.dir/rotationConverters.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_anisodiff.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_face_align.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_perf_tracking [ 96%] Built target opencv_perf_tracking [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_mace.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_adaptive_manifold.cpp.o [ 96%] Linking CXX executable ../../bin/opencv_interactive-calibration [ 96%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/motempl.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_adaptive_manifold_ref_impl.cpp.o [ 96%] Built target opencv_interactive-calibration [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_main.cpp.o [ 96%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_aukf.cpp.o [ 96%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_adaptive_manifold.cpp.o [ 96%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark_aam.cpp.o [ 97%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_bilateral_texture_filter.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/src/sparsetodenseflow.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_optflow.dir/opencl_kernels_optflow.cpp.o [ 97%] Linking CXX shared library ../../lib/libopencv_optflow.so [ 97%] Built target opencv_optflow Scanning dependencies of target opencv_test_optflow [ 97%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_loadsave.cpp.o [ 97%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_OF_reproducibility.cpp.o [ 98%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_main.cpp.o [ 98%] Building CXX object modules/face/CMakeFiles/opencv_test_face.dir/test/test_facemark_lbf.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_deriche_filter.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_test_ximgproc.dir/test/test_disparity_wls_filter.cpp.o [ 98%] Building CXX object modules/tracking/CMakeFiles/opencv_test_tracking.dir/test/test_trackerParametersIO.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_ridge_detection_filter.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_face [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_fgs_filter.cpp.o Scanning dependencies of target opencv_perf_optflow [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_deepflow.cpp.o [ 98%] Built target opencv_test_face Scanning dependencies of target opencv_python2 [ 98%] Building CXX object modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_OF_accuracy.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_tracking [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/opencl/perf_dis_optflow.cpp.o [ 98%] Built target opencv_test_tracking Scanning dependencies of target opencv_python3 [ 98%] Building CXX object modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_guided_filter.cpp.o [ 98%] Linking CXX executable ../../bin/opencv_test_ximgproc [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_main.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_l0_smooth.cpp.o [ 98%] Building CXX object modules/ximgproc/CMakeFiles/opencv_perf_ximgproc.dir/perf/perf_bilateral_texture_filter.cpp.o [ 98%] Built target opencv_test_ximgproc [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/ocl/test_motempl.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/ocl/test_dis.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_disflow.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_variational_refinement.cpp.o In file included from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:1819:0: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_xphoto_createTonemapDurand(PyObject*, PyObject*, PyObject*)’: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28228:22: error: template argument 1 is invalid Ptr&lt;TonemapDurand&gt; retval; ^ /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28233:58: error: invalid user-defined conversion from ‘cv::Ptr&lt;cv::xphoto::TonemapDurand&gt;’ to ‘int’ [-fpermissive] ERRWRAP2(retval = cv::xphoto::createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color)); ^ /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:97:5: note: in definition of macro ‘ERRWRAP2’ expr; \ ^ In file included from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/cvstd.hpp:1038:0, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/base.hpp:58, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core.hpp:54, from /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_include.h:1, from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:31: /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: candidate is: cv::Ptr&lt;T&gt;::operator T*() const [with T = cv::xphoto::TonemapDurand] &lt;near match&gt; Ptr&lt;T&gt;::operator T* () const ^ /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: no known conversion from ‘cv::xphoto::TonemapDurand*’ to ‘int’ [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_main.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_test_optflow.dir/test/test_motiontemplates.cpp.o [ 98%] Building CXX object modules/optflow/CMakeFiles/opencv_perf_optflow.dir/perf/perf_main.cpp.o [ 99%] Linking CXX executable ../../bin/opencv_perf_ximgproc In file included from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:1819:0: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h: In function ‘PyObject* pyopencv_cv_xphoto_createTonemapDurand(PyObject*, PyObject*, PyObject*)’: /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28228:22: error: template argument 1 is invalid Ptr&lt;TonemapDurand&gt; retval; ^ /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_funcs.h:28233:58: error: invalid user-defined conversion from ‘cv::Ptr&lt;cv::xphoto::TonemapDurand&gt;’ to ‘int’ [-fpermissive] ERRWRAP2(retval = cv::xphoto::createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color)); ^ /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:97:5: note: in definition of macro ‘ERRWRAP2’ expr; \ ^ In file included from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/cvstd.hpp:1038:0, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/base.hpp:58, from /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core.hpp:54, from /home/liuyujia/opencv-3.4.4/build/modules/python_bindings_generator/pyopencv_generated_include.h:1, from /home/liuyujia/opencv-3.4.4/modules/python/src2/cv2.cpp:31: /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: candidate is: cv::Ptr&lt;T&gt;::operator T*() const [with T = cv::xphoto::TonemapDurand] &lt;near match&gt; Ptr&lt;T&gt;::operator T* () const ^ /home/liuyujia/opencv-3.4.4/modules/core/include/opencv2/core/ptr.inl.hpp:222:1: note: no known conversion from ‘cv::xphoto::TonemapDurand*’ to ‘int’ [ 99%] Linking CXX executable ../../bin/opencv_test_optflow [ 99%] Built target opencv_perf_ximgproc [ 99%] Built target opencv_test_optflow [ 99%] Linking CXX executable ../../bin/opencv_perf_optflow modules/python2/CMakeFiles/opencv_python2.dir/build.make:62: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o' failed make[2]: *** [modules/python2/CMakeFiles/opencv_python2.dir/__/src2/cv2.cpp.o] Error 1 CMakeFiles/Makefile2:15476: recipe for target 'modules/python2/CMakeFiles/opencv_python2.dir/all' failed make[1]: *** [modules/python2/CMakeFiles/opencv_python2.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 99%] Built target opencv_perf_optflow modules/python3/CMakeFiles/opencv_python3.dir/build.make:62: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o' failed make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o] Error 1 CMakeFiles/Makefile2:15575: recipe for target 'modules/python3/CMakeFiles/opencv_python3.dir/all' failed make[1]: *** [modules/python3/CMakeFiles/opencv_python3.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 liuyujia@liuyujia-MRC-WX0:~/opencv-3.4.4/build$ sudo apt-get install python-opencv [sudo] password for liuyujia: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: python-opencv 0 upgraded, 1 newly installed, 0 to remove and 68 not upgraded. Need to get 310 kB of archives. After this operation, 1,383 kB of additional disk space will be used. Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates/universe amd64 python-opencv amd64 2.4.9.1+dfsg-1.5ubuntu1.1 [310 kB] Fetched 310 kB in 0s (2,415 kB/s) Selecting previously unselected package python-opencv. (Reading database ... 262117 files and directories currently installed.) Preparing to unpack .../python-opencv_2.4.9.1+dfsg-1.5ubuntu1.1_amd64.deb ... Unpacking python-opencv (2.4.9.1+dfsg-1.5ubuntu1.1) ... Setting up python-opencv (2.4.9.1+dfsg-1.5ubuntu1.1) ... </code></pre></div> </details> <h5 dir="auto">Steps to reproduce</h5>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; ❔</li> <li>Operating System / Platform =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> <li>Compiler =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> </ul> <h5 dir="auto">Detailed description</h5> <h5 dir="auto">Steps to reproduce</h5>
0
<p dir="auto">Even if this example may look silly, it's the result of the simplification of a more complex structure.<br> There should be no reason for these constructs not to compile, should it ?</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::sync::RwLock; fn main() { let a = RwLock::new(RwLock::new(String::new())); // Fails : a does not live long enough let len = a.read().unwrap().read().unwrap().len(); // Fails : b does not live long enough let len = { let b = a.read().unwrap(); b.read().unwrap().len() }; // Compiles let len = { let b = a.read().unwrap(); let c = b.read().unwrap(); c.len() }; }"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>sync<span class="pl-kos">::</span><span class="pl-v">RwLock</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> a = <span class="pl-smi">RwLock</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-smi">RwLock</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-smi">String</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Fails : a does not live long enough</span> <span class="pl-k">let</span> len = a<span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">len</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Fails : b does not live long enough</span> <span class="pl-k">let</span> len = <span class="pl-kos">{</span> <span class="pl-k">let</span> b = a<span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> b<span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">len</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">// Compiles</span> <span class="pl-k">let</span> len = <span class="pl-kos">{</span> <span class="pl-k">let</span> b = a<span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> c = b<span class="pl-kos">.</span><span class="pl-en">read</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">unwrap</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> c<span class="pl-kos">.</span><span class="pl-en">len</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">The full error message for the first construct does not really show what the problem might be:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:5:15: 5:32 error: borrowed value does not live long enough &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 note: reference must be valid for the destruction scope surrounding statement at 5:4... &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 note: ...but borrowed value is only valid for the statement at 5:4 &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 help: consider using a `let` binding to increase its lifetime &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:5:15: 5:32 error: borrowed value does not live long enough &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 note: reference must be valid for the destruction scope surrounding statement at 5:4... &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 note: ...but borrowed value is only valid for the statement at 5:4 &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &lt;anon&gt;:5:5: 5:54 help: consider using a `let` binding to increase its lifetime &lt;anon&gt;:5 let len = a.read().unwrap().read().unwrap().len(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to previous error </code></pre></div>
<p dir="auto">Spawned off of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54076219" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21022" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21022/hovercard" href="https://github.com/rust-lang/rust/pull/21022">#21022</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="56708388" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21972" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21972/hovercard" href="https://github.com/rust-lang/rust/pull/21972">#21972</a>; see also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="55493878" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21657" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21657/hovercard" href="https://github.com/rust-lang/rust/pull/21657">#21657</a>.</p> <p dir="auto">Tracking order of destruction for r-value temporaries would (probably) allow us to resume writing code like this from <a href="https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md#some-temporaries-need-to-be-given-names">RFC 769</a>:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="for line in old_io::stdin().lock().lines() { ... }"><pre class="notranslate"><span class="pl-k">for</span> line <span class="pl-k">in</span> old_io<span class="pl-kos">::</span><span class="pl-en">stdin</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">lock</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">lines</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> ..<span class="pl-kos">.</span><span class="pl-c1"></span> <span class="pl-kos">}</span></pre></div> <p dir="auto">which is currently disallowed because the region inference system does not know that the temporary yielded by <code class="notranslate">stdin()</code> will outlive the temporary from <code class="notranslate">stdin().lock()</code>.</p> <p dir="auto">(But note that it might also have fallout, potentially worse than that of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="55493878" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/21657" data-hovercard-type="pull_request" data-hovercard-url="/rust-lang/rust/pull/21657/hovercard" href="https://github.com/rust-lang/rust/pull/21657">#21657</a>)</p>
1
<p dir="auto">After implementing a file PowerRename, can the app window be given an option to stay open so that multiple renames can be done on the files without re-opening the app,</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.17763.864] PowerToys version: v0.13.0 PowerToy module for which you are reporting the bug (if applicable):"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.17763.864] PowerToys version: v0.13.0 PowerToy module for which you are reporting the bug (if applicable): </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">After long time of running PowerToys as background (not using any features of PowerToys at all), number keyboard above querty (not keypad; keypad works fine) goes not working at all. If I press Shift + number to type special character like !@#$%, it delays like few second and special character is typed, yet number will never be typed.</p> <p dir="auto">I even didn't notice PowerToys causes problem; I restart computer and work fine for some hours, yet problem arises again; I killed recent installed process one by one and find PowerToys was source of problem.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">number keyboard above querty (not keypad; keypad works fine) must not be interrupted and continued to work.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">number keyboard goes dumb.</p> <h1 dir="auto">Screenshots</h1>
0
<p dir="auto">It seems like this was broken as a result of the recent change to make newtypes structs immediate in certain cases.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct TestNode(@int); fn mm(_x: &amp;TestNode) {} fn main() { let x = &amp;TestNode(@21); mm(x); }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">TestNode</span><span class="pl-kos">(</span>@<span class="pl-smi">int</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">mm</span><span class="pl-kos">(</span><span class="pl-s1">_x</span><span class="pl-kos">:</span> <span class="pl-c1">&amp;</span><span class="pl-smi">TestNode</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-c1">&amp;</span><span class="pl-v">TestNode</span><span class="pl-kos">(</span>@<span class="pl-c1">21</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">mm</span><span class="pl-kos">(</span>x<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% rustc foo.rs error: internal compiler error: drop_ty_immediate: non-box ty"><pre class="notranslate"><code class="notranslate">% rustc foo.rs error: internal compiler error: drop_ty_immediate: non-box ty </code></pre></div>
<p dir="auto">Minimal test case:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Wrapper(~str); impl Wrapper { pub fn new() -&gt; Wrapper { Wrapper(~&quot;Bob&quot;) } pub fn say_hi(&amp;self) { println(fmt!(&quot;hello %s&quot;, **self)); } } impl Drop for Wrapper { fn drop(&amp;mut self) {} } fn main() { { // This runs without complaint. let x = Wrapper::new(); x.say_hi(); } { // This fails to compile. // error: internal compiler error: drop_ty_immediate: non-box ty Wrapper::new().say_hi(); } }"><pre class="notranslate"><code class="notranslate">struct Wrapper(~str); impl Wrapper { pub fn new() -&gt; Wrapper { Wrapper(~"Bob") } pub fn say_hi(&amp;self) { println(fmt!("hello %s", **self)); } } impl Drop for Wrapper { fn drop(&amp;mut self) {} } fn main() { { // This runs without complaint. let x = Wrapper::new(); x.say_hi(); } { // This fails to compile. // error: internal compiler error: drop_ty_immediate: non-box ty Wrapper::new().say_hi(); } } </code></pre></div> <p dir="auto">I originally ran accross this when wrapping a <code class="notranslate">*T</code>, but it also fails when I try to wrap <code class="notranslate">int</code> and other numeric types, <code class="notranslate">bool</code>, <code class="notranslate">Option&lt;T&gt;</code>, <code class="notranslate">~T</code>, and other structs that also wrap a single value of those types.</p>
1
<h2 dir="auto">Steps to Reproduce</h2> <ul dir="auto"> <li>Android Video Plays correctly in either portrait or landscape video modes</li> <li>iOS Video is warped on portrait and landscape looks normal.</li> <li>It is not accounting for orientation.<br> when you record a video in landscape with the volume buttons facing up on iPhone and go to the video controller to play the video, it is upside down. If you take a video in landscape with the lock button facing up the video looks normal.</li> </ul> <p dir="auto">dependencies in <code class="notranslate">pubspec.yaml</code></p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dependencies: flutter: sdk: flutter async: &quot;^2.0.6&quot; cupertino_icons: ^0.1.0 url_launcher: &quot;^3.0.0&quot; intl: 0.15.4 local_auth: &quot;^0.2.0&quot; shared_preferences: &quot;^0.4.0&quot; firebase_core: &quot;^0.2.3&quot; firebase_analytics: &quot;^0.3.3&quot; material_search: &quot;^0.2.3&quot; flutter_webview_plugin: &quot;^0.1.5&quot; device_info: &quot;^0.2.0&quot; path_provider: &quot;^0.4.0&quot; path: &quot;^1.5.1&quot; video_player: &quot;0.5.2&quot; dio: &quot;^0.0.12&quot; get_version: git: url: git://github.com/AppleEducate/get_version media_picker: git: url: git://github.com/AppleEducate/media_picker"><pre class="notranslate"><span class="pl-ent">dependencies</span>: <span class="pl-ent">flutter</span>: <span class="pl-ent">sdk</span>: <span class="pl-s">flutter</span> <span class="pl-ent">async</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.0.6<span class="pl-pds">"</span></span> <span class="pl-ent">cupertino_icons</span>: <span class="pl-s">^0.1.0</span> <span class="pl-ent">url_launcher</span>: <span class="pl-s"><span class="pl-pds">"</span>^3.0.0<span class="pl-pds">"</span></span> <span class="pl-ent">intl</span>: <span class="pl-s">0.15.4</span> <span class="pl-ent">local_auth</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.2.0<span class="pl-pds">"</span></span> <span class="pl-ent">shared_preferences</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.4.0<span class="pl-pds">"</span></span> <span class="pl-ent">firebase_core</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.2.3<span class="pl-pds">"</span></span> <span class="pl-ent">firebase_analytics</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.3.3<span class="pl-pds">"</span></span> <span class="pl-ent">material_search</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.2.3<span class="pl-pds">"</span></span> <span class="pl-ent">flutter_webview_plugin</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.1.5<span class="pl-pds">"</span></span> <span class="pl-ent">device_info</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.2.0<span class="pl-pds">"</span></span> <span class="pl-ent">path_provider</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.4.0<span class="pl-pds">"</span></span> <span class="pl-ent">path</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.5.1<span class="pl-pds">"</span></span> <span class="pl-ent">video_player</span>: <span class="pl-s"><span class="pl-pds">"</span>0.5.2<span class="pl-pds">"</span></span> <span class="pl-ent">dio</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.0.12<span class="pl-pds">"</span></span> <span class="pl-ent">get_version</span>: <span class="pl-ent">git</span>: <span class="pl-ent">url</span>: <span class="pl-s">git://github.com/AppleEducate/get_version</span> <span class="pl-ent">media_picker</span>: <span class="pl-ent">git</span>: <span class="pl-ent">url</span>: <span class="pl-s">git://github.com/AppleEducate/media_picker</span></pre></div> <h3 dir="auto">Usage</h3> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'dart:async'; import 'package:async/async.dart'; import 'dart:io'; import 'package:path/path.dart'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:flutter/material.dart'; import 'package:media_picker/media_picker.dart'; import 'package:video_player/video_player.dart'; import 'package:Unify_Mobile/globals.dart' as globals; import 'package:Unify_Mobile/menu/videodetails.dart'; import 'package:dio/dio.dart'; class CameraPage extends StatefulWidget { @override _CameraPageState createState() =&gt; new _CameraPageState(); } // State for managing fetching name data over HTTP class _CameraPageState extends State&lt;CameraPage&gt; { final GlobalKey&lt;ScaffoldState&gt; _scaffoldKey = new GlobalKey&lt;ScaffoldState&gt;(); Future&lt;File&gt; _mediaFile; File _uploadFile; bool isVideo = false; VideoPlayerController _controller; VoidCallback listener; bool isPlaying = false; void _onImageButtonPressed(ImageSource source) { setState(() { if (_controller != null) { _controller.setVolume(0.0); _controller.removeListener(listener); } _mediaFile = MediaPicker.pickVideo(source: source).then((File _file) { _controller = VideoPlayerController.file(_file) ..addListener(listener) ..setVolume(1.0) ..initialize() ..setLooping(true) ..play(); setState(() { isPlaying = true; _uploadFile = _file; }); }); }); } @override void deactivate() { if (_controller != null) { _controller.setVolume(0.0); _controller.removeListener(listener); } super.deactivate(); } @override void dispose() { if (_controller != null) { _controller.dispose(); } super.dispose(); } @override void initState() { super.initState(); listener = () { setState(() {}); }; } Widget _previewVideo(VideoPlayerController controller) { if (controller == null) { isPlaying = false; return const Text('Please Select or Record a Video.'); } else if (controller.value.initialized) { return InkWell( child: Padding( padding: const EdgeInsets.all(10.0), child: AspectRatio( aspectRatio: controller.value.size.width / controller.value.size.height, child: VideoPlayer( controller, ), ), ), onTap: () { if (isPlaying) { _controller.pause(); isPlaying = false; } else { _controller.play(); isPlaying = true; } }); } else { isPlaying = false; return const Text('Error Loading Video'); } } Future uploadVideo(BuildContext context, File _uploadFile, String name, String description) async { final _name = name; final _description = description; if (_controller == null) { globals.Utility .showAlertPopup(context, &quot;Info&quot;, &quot;Video Required for Upload!&quot;); } else { final _ks = await globals.Utility.getKalturaSession(); // Add Video String _token = &quot;&quot;; await http .get( 'https://www.kaltura.com/api_v3/service/uploadtoken/action/add?ks=$_ks&amp;format=1') .then((response) { Map&lt;String, dynamic&gt; _json = json.decode(response.body); _token = _json['id'].toString(); print('&quot;Token: $_token'); }); // Upload Video String _url = &quot;https://www.kaltura.com/api_v3/service/uploadtoken/action/upload?ks=$_ks&amp;format=1&amp;uploadTokenId=$_token&amp;resume=false&amp;finalChunk=true&amp;resumeAt=-1&quot;; print(&quot;Path: &quot; + _uploadFile.uri.toString()); await uploadFile(_url, _uploadFile, 'fileData'); // Update Video Info (Name, Desctiption, Tags) var _formName = Uri.encodeQueryComponent(r'mediaEntry[name]'); var _formDesription = Uri.encodeQueryComponent(r'mediaEntry[description]'); var _formTags = Uri.encodeQueryComponent(r'mediaEntry[tags]'); var _formCatagory = Uri.encodeQueryComponent(r'mediaEntry[categories]'); var _formType = Uri.encodeQueryComponent(r'mediaEntry[mediaType]'); String _request = 'https://www.kaltura.com/api_v3/service/media/action/addFromUploadedFile?ks=$_ks&amp;format=1&amp;$_formTags=${globals.userCompanyID}&amp;$_formName=$_name&amp;$_formDesription=$_description&amp;uploadTokenId=$_token&amp;$_formCatagory=Unapproved&amp;$_formType=1'; print(_request); await http.get(_request).then((response) { print('Updated Info...\n' + response.body.toString()); Map&lt;String, dynamic&gt; _json = json.decode(response.body); // Verify Upload _scaffoldKey.currentState.hideCurrentSnackBar(); globals.videoID = &quot;&quot; + _json[&quot;id&quot;].toString(); Navigator.pop(context); }); } } Future uploadFile(String url, File file, String name) async { var stream = new http.ByteStream(DelegatingStream.typed(file.openRead())); var length = await file.length(); var uri = Uri.parse(url); var request = new http.MultipartRequest(&quot;POST&quot;, uri); var multipartFile = new http.MultipartFile(name, stream, length, filename: basename(file.path)); request.files.add(multipartFile); var response = await request.send(); print(response.statusCode); response.stream.transform(utf8.decoder).listen((value) { print(value); }); } void _uploadVideo(BuildContext context) async { final snackbar = new SnackBar( duration: new Duration(seconds: 20), content: new Row( children: &lt;Widget&gt;[ new CircularProgressIndicator(), new Text(&quot; Uploading...&quot;) ], ), ); _scaffoldKey.currentState.showSnackBar(snackbar); await uploadVideo(context, _uploadFile, _nameController.text.toString(), _descController.text.toString()); _scaffoldKey.currentState.hideCurrentSnackBar(); // Navigator.pop(context); } void handelTextChange(String value) { setState(() {}); } final TextEditingController _nameController = new TextEditingController(); final TextEditingController _descController = new TextEditingController(); @override Widget build(BuildContext context) { return Scaffold( key: _scaffoldKey, appBar: AppBar( title: const Text('Video Upload'), backgroundColor: Colors.white, actions: &lt;Widget&gt;[ new IconButton( icon: new Icon( Icons.help, ), onPressed: () { globals.Utility.showAlertPopup(context, 'Info', &quot;Please Record in Landscape Mode for Best Results.\n\nFor Higher Quality Videos and to Prevent Data Loss, Capture and Edit a Video in the Camera App then Select the Video Here.\n\nOnce the Video is Uploaded it will be Avaliable in the 'Videos' Section After it Completes Processing.&quot;); }, ), new IconButton( icon: new Icon(Icons.file_upload), onPressed: () { if (_nameController.text.toString().isNotEmpty &amp;&amp; _descController.text.toString().isNotEmpty) { _uploadVideo(context); } else { globals.Utility.showAlertPopup( context, &quot;Info&quot;, &quot;Name and Description Required!&quot;); } }) ], ), body: new SingleChildScrollView( child: new ListBody( children: &lt;Widget&gt;[ new ListTile( title: new TextField( controller: _nameController, onChanged: handelTextChange, decoration: new InputDecoration( hintText: &quot;Name&quot;, ), ), trailing: _nameController.text.toString().isEmpty ? new Icon( Icons.error, color: Colors.red, ) : new Icon( Icons.check_circle, color: Colors.green, ), ), new ListTile( title: new TextField( controller: _descController, onChanged: handelTextChange, decoration: new InputDecoration( hintText: &quot;Description&quot;, ), ), trailing: _descController.text.toString().isEmpty ? new Icon( Icons.error, color: Colors.red, ) : new Icon( Icons.check_circle, color: Colors.green, ), ), new Container( height: 20.0, ), new Center( child: _previewVideo(_controller), ) ], ), ), floatingActionButton: Column( mainAxisAlignment: MainAxisAlignment.end, children: &lt;Widget&gt;[ Padding( padding: const EdgeInsets.only(top: 16.0), child: FloatingActionButton( backgroundColor: Colors.red, onPressed: () { _onImageButtonPressed(ImageSource.gallery); }, heroTag: 'video0', tooltip: 'Pick Video from gallery', child: const Icon(Icons.video_library), ), ), Padding( padding: const EdgeInsets.only(top: 16.0), child: FloatingActionButton( backgroundColor: Colors.red, onPressed: () { _onImageButtonPressed(ImageSource.camera); }, heroTag: 'video1', tooltip: 'Take a Video', child: const Icon(Icons.videocam), ), ), ], ), ); } } "><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'dart:async'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:async/async.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'dart:io'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:path/path.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'dart:convert'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:http/http.dart'</span> <span class="pl-k">as</span> http; <span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:media_picker/media_picker.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:video_player/video_player.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:Unify_Mobile/globals.dart'</span> <span class="pl-k">as</span> globals; <span class="pl-k">import</span> <span class="pl-s">'package:Unify_Mobile/menu/videodetails.dart'</span>; <span class="pl-k">import</span> <span class="pl-s">'package:dio/dio.dart'</span>; <span class="pl-k">class</span> <span class="pl-c1">CameraPage</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> { <span class="pl-k">@override</span> <span class="pl-c1">_CameraPageState</span> <span class="pl-en">createState</span>() <span class="pl-k">=&gt;</span> <span class="pl-k">new</span> <span class="pl-c1">_CameraPageState</span>(); } <span class="pl-c">// State for managing fetching name data over HTTP</span> <span class="pl-k">class</span> <span class="pl-c1">_CameraPageState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span>&lt;<span class="pl-c1">CameraPage</span>&gt; { <span class="pl-k">final</span> <span class="pl-c1">GlobalKey</span>&lt;<span class="pl-c1">ScaffoldState</span>&gt; _scaffoldKey <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">GlobalKey</span>&lt;<span class="pl-c1">ScaffoldState</span>&gt;(); <span class="pl-c1">Future</span>&lt;<span class="pl-c1">File</span>&gt; _mediaFile; <span class="pl-c1">File</span> _uploadFile; <span class="pl-c1">bool</span> isVideo <span class="pl-k">=</span> <span class="pl-c1">false</span>; <span class="pl-c1">VideoPlayerController</span> _controller; <span class="pl-c1">VoidCallback</span> listener; <span class="pl-c1">bool</span> isPlaying <span class="pl-k">=</span> <span class="pl-c1">false</span>; <span class="pl-k">void</span> <span class="pl-en">_onImageButtonPressed</span>(<span class="pl-c1">ImageSource</span> source) { <span class="pl-en">setState</span>(() { <span class="pl-k">if</span> (_controller <span class="pl-k">!=</span> <span class="pl-c1">null</span>) { _controller.<span class="pl-en">setVolume</span>(<span class="pl-c1">0.0</span>); _controller.<span class="pl-en">removeListener</span>(listener); } _mediaFile <span class="pl-k">=</span> <span class="pl-c1">MediaPicker</span>.<span class="pl-en">pickVideo</span>(source<span class="pl-k">:</span> source).<span class="pl-en">then</span>((<span class="pl-c1">File</span> _file) { _controller <span class="pl-k">=</span> <span class="pl-c1">VideoPlayerController</span>.<span class="pl-en">file</span>(_file) ..<span class="pl-en">addListener</span>(listener) ..<span class="pl-en">setVolume</span>(<span class="pl-c1">1.0</span>) ..<span class="pl-en">initialize</span>() ..<span class="pl-en">setLooping</span>(<span class="pl-c1">true</span>) ..<span class="pl-en">play</span>(); <span class="pl-en">setState</span>(() { isPlaying <span class="pl-k">=</span> <span class="pl-c1">true</span>; _uploadFile <span class="pl-k">=</span> _file; }); }); }); } <span class="pl-k">@override</span> <span class="pl-k">void</span> <span class="pl-en">deactivate</span>() { <span class="pl-k">if</span> (_controller <span class="pl-k">!=</span> <span class="pl-c1">null</span>) { _controller.<span class="pl-en">setVolume</span>(<span class="pl-c1">0.0</span>); _controller.<span class="pl-en">removeListener</span>(listener); } <span class="pl-c1">super</span>.<span class="pl-en">deactivate</span>(); } <span class="pl-k">@override</span> <span class="pl-k">void</span> <span class="pl-en">dispose</span>() { <span class="pl-k">if</span> (_controller <span class="pl-k">!=</span> <span class="pl-c1">null</span>) { _controller.<span class="pl-en">dispose</span>(); } <span class="pl-c1">super</span>.<span class="pl-en">dispose</span>(); } <span class="pl-k">@override</span> <span class="pl-k">void</span> <span class="pl-en">initState</span>() { <span class="pl-c1">super</span>.<span class="pl-en">initState</span>(); listener <span class="pl-k">=</span> () { <span class="pl-en">setState</span>(() {}); }; } <span class="pl-c1">Widget</span> <span class="pl-en">_previewVideo</span>(<span class="pl-c1">VideoPlayerController</span> controller) { <span class="pl-k">if</span> (controller <span class="pl-k">==</span> <span class="pl-c1">null</span>) { isPlaying <span class="pl-k">=</span> <span class="pl-c1">false</span>; <span class="pl-k">return</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Please Select or Record a Video.'</span>); } <span class="pl-k">else</span> <span class="pl-k">if</span> (controller.value.initialized) { <span class="pl-k">return</span> <span class="pl-c1">InkWell</span>( child<span class="pl-k">:</span> <span class="pl-c1">Padding</span>( padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">10.0</span>), child<span class="pl-k">:</span> <span class="pl-c1">AspectRatio</span>( aspectRatio<span class="pl-k">:</span> controller.value.size.width <span class="pl-k">/</span> controller.value.size.height, child<span class="pl-k">:</span> <span class="pl-c1">VideoPlayer</span>( controller, ), ), ), onTap<span class="pl-k">:</span> () { <span class="pl-k">if</span> (isPlaying) { _controller.<span class="pl-en">pause</span>(); isPlaying <span class="pl-k">=</span> <span class="pl-c1">false</span>; } <span class="pl-k">else</span> { _controller.<span class="pl-en">play</span>(); isPlaying <span class="pl-k">=</span> <span class="pl-c1">true</span>; } }); } <span class="pl-k">else</span> { isPlaying <span class="pl-k">=</span> <span class="pl-c1">false</span>; <span class="pl-k">return</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Error Loading Video'</span>); } } <span class="pl-c1">Future</span> <span class="pl-en">uploadVideo</span>(<span class="pl-c1">BuildContext</span> context, <span class="pl-c1">File</span> _uploadFile, <span class="pl-c1">String</span> name, <span class="pl-c1">String</span> description) <span class="pl-k">async</span> { <span class="pl-k">final</span> _name <span class="pl-k">=</span> name; <span class="pl-k">final</span> _description <span class="pl-k">=</span> description; <span class="pl-k">if</span> (_controller <span class="pl-k">==</span> <span class="pl-c1">null</span>) { globals.<span class="pl-c1">Utility</span> .<span class="pl-en">showAlertPopup</span>(context, <span class="pl-s">"Info"</span>, <span class="pl-s">"Video Required for Upload!"</span>); } <span class="pl-k">else</span> { <span class="pl-k">final</span> _ks <span class="pl-k">=</span> <span class="pl-k">await</span> globals.<span class="pl-c1">Utility</span>.<span class="pl-en">getKalturaSession</span>(); <span class="pl-c">// Add Video</span> <span class="pl-c1">String</span> _token <span class="pl-k">=</span> <span class="pl-s">""</span>; <span class="pl-k">await</span> http .<span class="pl-en">get</span>( <span class="pl-s">'https://www.kaltura.com/api_v3/service/uploadtoken/action/add?ks=$<span class="pl-v">_ks</span>&amp;format=1'</span>) .<span class="pl-en">then</span>((response) { <span class="pl-c1">Map</span>&lt;<span class="pl-c1">String</span>, <span class="pl-c1">dynamic</span>&gt; _json <span class="pl-k">=</span> json.<span class="pl-en">decode</span>(response.body); _token <span class="pl-k">=</span> _json[<span class="pl-s">'id'</span>].<span class="pl-en">toString</span>(); <span class="pl-en">print</span>(<span class="pl-s">'"Token: $<span class="pl-v">_token</span>'</span>); }); <span class="pl-c">// Upload Video</span> <span class="pl-c1">String</span> _url <span class="pl-k">=</span> <span class="pl-s">"https://www.kaltura.com/api_v3/service/uploadtoken/action/upload?ks=$<span class="pl-v">_ks</span>&amp;format=1&amp;uploadTokenId=$<span class="pl-v">_token</span>&amp;resume=false&amp;finalChunk=true&amp;resumeAt=-1"</span>; <span class="pl-en">print</span>(<span class="pl-s">"Path: "</span> <span class="pl-k">+</span> _uploadFile.uri.<span class="pl-en">toString</span>()); <span class="pl-k">await</span> <span class="pl-en">uploadFile</span>(_url, _uploadFile, <span class="pl-s">'fileData'</span>); <span class="pl-c">// Update Video Info (Name, Desctiption, Tags)</span> <span class="pl-k">var</span> _formName <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">encodeQueryComponent</span>(<span class="pl-s">r'mediaEntry[name]'</span>); <span class="pl-k">var</span> _formDesription <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">encodeQueryComponent</span>(<span class="pl-s">r'mediaEntry[description]'</span>); <span class="pl-k">var</span> _formTags <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">encodeQueryComponent</span>(<span class="pl-s">r'mediaEntry[tags]'</span>); <span class="pl-k">var</span> _formCatagory <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">encodeQueryComponent</span>(<span class="pl-s">r'mediaEntry[categories]'</span>); <span class="pl-k">var</span> _formType <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">encodeQueryComponent</span>(<span class="pl-s">r'mediaEntry[mediaType]'</span>); <span class="pl-c1">String</span> _request <span class="pl-k">=</span> <span class="pl-s">'https://www.kaltura.com/api_v3/service/media/action/addFromUploadedFile?ks=$<span class="pl-v">_ks</span>&amp;format=1&amp;$<span class="pl-v">_formTags</span>=<span class="pl-s">${<span class="pl-v">globals</span>.<span class="pl-v">userCompanyID</span>}</span>&amp;$<span class="pl-v">_formName</span>=$<span class="pl-v">_name</span>&amp;$<span class="pl-v">_formDesription</span>=$<span class="pl-v">_description</span>&amp;uploadTokenId=$<span class="pl-v">_token</span>&amp;$<span class="pl-v">_formCatagory</span>=Unapproved&amp;$<span class="pl-v">_formType</span>=1'</span>; <span class="pl-en">print</span>(_request); <span class="pl-k">await</span> http.<span class="pl-en">get</span>(_request).<span class="pl-en">then</span>((response) { <span class="pl-en">print</span>(<span class="pl-s">'Updated Info...<span class="pl-cce">\n</span>'</span> <span class="pl-k">+</span> response.body.<span class="pl-en">toString</span>()); <span class="pl-c1">Map</span>&lt;<span class="pl-c1">String</span>, <span class="pl-c1">dynamic</span>&gt; _json <span class="pl-k">=</span> json.<span class="pl-en">decode</span>(response.body); <span class="pl-c">// Verify Upload</span> _scaffoldKey.currentState.<span class="pl-en">hideCurrentSnackBar</span>(); globals.videoID <span class="pl-k">=</span> <span class="pl-s">""</span> <span class="pl-k">+</span> _json[<span class="pl-s">"id"</span>].<span class="pl-en">toString</span>(); <span class="pl-c1">Navigator</span>.<span class="pl-en">pop</span>(context); }); } } <span class="pl-c1">Future</span> <span class="pl-en">uploadFile</span>(<span class="pl-c1">String</span> url, <span class="pl-c1">File</span> file, <span class="pl-c1">String</span> name) <span class="pl-k">async</span> { <span class="pl-k">var</span> stream <span class="pl-k">=</span> <span class="pl-k">new</span> http.<span class="pl-c1">ByteStream</span>(<span class="pl-c1">DelegatingStream</span>.<span class="pl-en">typed</span>(file.<span class="pl-en">openRead</span>())); <span class="pl-k">var</span> length <span class="pl-k">=</span> <span class="pl-k">await</span> file.<span class="pl-en">length</span>(); <span class="pl-k">var</span> uri <span class="pl-k">=</span> <span class="pl-c1">Uri</span>.<span class="pl-en">parse</span>(url); <span class="pl-k">var</span> request <span class="pl-k">=</span> <span class="pl-k">new</span> http.<span class="pl-c1">MultipartRequest</span>(<span class="pl-s">"POST"</span>, uri); <span class="pl-k">var</span> multipartFile <span class="pl-k">=</span> <span class="pl-k">new</span> http.<span class="pl-c1">MultipartFile</span>(name, stream, length, filename<span class="pl-k">:</span> <span class="pl-en">basename</span>(file.path)); request.files.<span class="pl-en">add</span>(multipartFile); <span class="pl-k">var</span> response <span class="pl-k">=</span> <span class="pl-k">await</span> request.<span class="pl-en">send</span>(); <span class="pl-en">print</span>(response.statusCode); response.stream.<span class="pl-en">transform</span>(utf8.decoder).<span class="pl-en">listen</span>((value) { <span class="pl-en">print</span>(value); }); } <span class="pl-k">void</span> <span class="pl-en">_uploadVideo</span>(<span class="pl-c1">BuildContext</span> context) <span class="pl-k">async</span> { <span class="pl-k">final</span> snackbar <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">SnackBar</span>( duration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Duration</span>(seconds<span class="pl-k">:</span> <span class="pl-c1">20</span>), content<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Row</span>( children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-k">new</span> <span class="pl-c1">CircularProgressIndicator</span>(), <span class="pl-k">new</span> <span class="pl-c1">Text</span>(<span class="pl-s">" Uploading..."</span>) ], ), ); _scaffoldKey.currentState.<span class="pl-en">showSnackBar</span>(snackbar); <span class="pl-k">await</span> <span class="pl-en">uploadVideo</span>(context, _uploadFile, _nameController.text.<span class="pl-en">toString</span>(), _descController.text.<span class="pl-en">toString</span>()); _scaffoldKey.currentState.<span class="pl-en">hideCurrentSnackBar</span>(); <span class="pl-c">// Navigator.pop(context);</span> } <span class="pl-k">void</span> <span class="pl-en">handelTextChange</span>(<span class="pl-c1">String</span> value) { <span class="pl-en">setState</span>(() {}); } <span class="pl-k">final</span> <span class="pl-c1">TextEditingController</span> _nameController <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>(); <span class="pl-k">final</span> <span class="pl-c1">TextEditingController</span> _descController <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>(); <span class="pl-k">@override</span> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-c1">Scaffold</span>( key<span class="pl-k">:</span> _scaffoldKey, appBar<span class="pl-k">:</span> <span class="pl-c1">AppBar</span>( title<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Video Upload'</span>), backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.white, actions<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-k">new</span> <span class="pl-c1">IconButton</span>( icon<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>( <span class="pl-c1">Icons</span>.help, ), onPressed<span class="pl-k">:</span> () { globals.<span class="pl-c1">Utility</span>.<span class="pl-en">showAlertPopup</span>(context, <span class="pl-s">'Info'</span>, <span class="pl-s">"Please Record in Landscape Mode for Best Results.<span class="pl-cce">\n\n</span>For Higher Quality Videos and to Prevent Data Loss, Capture and Edit a Video in the Camera App then Select the Video Here.<span class="pl-cce">\n\n</span>Once the Video is Uploaded it will be Avaliable in the 'Videos' Section After it Completes Processing."</span>); }, ), <span class="pl-k">new</span> <span class="pl-c1">IconButton</span>( icon<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.file_upload), onPressed<span class="pl-k">:</span> () { <span class="pl-k">if</span> (_nameController.text.<span class="pl-en">toString</span>().isNotEmpty <span class="pl-k">&amp;&amp;</span> _descController.text.<span class="pl-en">toString</span>().isNotEmpty) { <span class="pl-en">_uploadVideo</span>(context); } <span class="pl-k">else</span> { globals.<span class="pl-c1">Utility</span>.<span class="pl-en">showAlertPopup</span>( context, <span class="pl-s">"Info"</span>, <span class="pl-s">"Name and Description Required!"</span>); } }) ], ), body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">SingleChildScrollView</span>( child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ListBody</span>( children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-k">new</span> <span class="pl-c1">ListTile</span>( title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>( controller<span class="pl-k">:</span> _nameController, onChanged<span class="pl-k">:</span> handelTextChange, decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">InputDecoration</span>( hintText<span class="pl-k">:</span> <span class="pl-s">"Name"</span>, ), ), trailing<span class="pl-k">:</span> _nameController.text.<span class="pl-en">toString</span>().isEmpty <span class="pl-k">?</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>( <span class="pl-c1">Icons</span>.error, color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.red, ) <span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>( <span class="pl-c1">Icons</span>.check_circle, color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.green, ), ), <span class="pl-k">new</span> <span class="pl-c1">ListTile</span>( title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>( controller<span class="pl-k">:</span> _descController, onChanged<span class="pl-k">:</span> handelTextChange, decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">InputDecoration</span>( hintText<span class="pl-k">:</span> <span class="pl-s">"Description"</span>, ), ), trailing<span class="pl-k">:</span> _descController.text.<span class="pl-en">toString</span>().isEmpty <span class="pl-k">?</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>( <span class="pl-c1">Icons</span>.error, color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.red, ) <span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>( <span class="pl-c1">Icons</span>.check_circle, color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.green, ), ), <span class="pl-k">new</span> <span class="pl-c1">Container</span>( height<span class="pl-k">:</span> <span class="pl-c1">20.0</span>, ), <span class="pl-k">new</span> <span class="pl-c1">Center</span>( child<span class="pl-k">:</span> <span class="pl-en">_previewVideo</span>(_controller), ) ], ), ), floatingActionButton<span class="pl-k">:</span> <span class="pl-c1">Column</span>( mainAxisAlignment<span class="pl-k">:</span> <span class="pl-c1">MainAxisAlignment</span>.end, children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-c1">Padding</span>( padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(top<span class="pl-k">:</span> <span class="pl-c1">16.0</span>), child<span class="pl-k">:</span> <span class="pl-c1">FloatingActionButton</span>( backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.red, onPressed<span class="pl-k">:</span> () { <span class="pl-en">_onImageButtonPressed</span>(<span class="pl-c1">ImageSource</span>.gallery); }, heroTag<span class="pl-k">:</span> <span class="pl-s">'video0'</span>, tooltip<span class="pl-k">:</span> <span class="pl-s">'Pick Video from gallery'</span>, child<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.video_library), ), ), <span class="pl-c1">Padding</span>( padding<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(top<span class="pl-k">:</span> <span class="pl-c1">16.0</span>), child<span class="pl-k">:</span> <span class="pl-c1">FloatingActionButton</span>( backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.red, onPressed<span class="pl-k">:</span> () { <span class="pl-en">_onImageButtonPressed</span>(<span class="pl-c1">ImageSource</span>.camera); }, heroTag<span class="pl-k">:</span> <span class="pl-s">'video1'</span>, tooltip<span class="pl-k">:</span> <span class="pl-s">'Take a Video'</span>, child<span class="pl-k">:</span> <span class="pl-k">const</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.videocam), ), ), ], ), ); } } </pre></div> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing /Users/rodydavis/Documents/Github/MyUnifyVideo... hint • Unused import: 'package:Unify_Mobile/menu/videodetails.dart' at package:Unify_Mobile/camera.dart:15:8 • unused_import hint • Unused import: 'package:dio/dio.dart' at package:Unify_Mobile/camera.dart:16:8 • unused_import hint • The value of the field '_mediaFile' isn't used at package:Unify_Mobile/camera.dart:26:16 • unused_field hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:3:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:58:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:85:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:116:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:163:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:287:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:462:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:3:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:58:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:85:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:116:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:163:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:237:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:412:7 • must_be_immutable hint • Duplicate import at package:Unify_Mobile/main.dart:5:8 • duplicate_import hint • Unused import: 'package:Unify_Mobile/menu/myaccount.dart' at package:Unify_Mobile/menu/contactsleads.dart:6:8 • unused_import hint • Unused import: 'package:material_search/material_search.dart' at package:Unify_Mobile/menu/contactsleads.dart:8:8 • unused_import hint • Unused import: 'package:flutter/scheduler.dart' at package:Unify_Mobile/menu/contactsleads.dart:9:8 • unused_import hint • Unused import: 'dart:convert' at package:Unify_Mobile/menu/help.dart:1:8 • unused_import hint • Unused import: 'package:flutter/rendering.dart' at package:Unify_Mobile/menu/help.dart:3:8 • unused_import hint • Unused import: 'dart:async' at package:Unify_Mobile/menu/help.dart:6:8 • unused_import hint • Unused import: 'dart:io' at package:Unify_Mobile/menu/help.dart:8:8 • unused_import hint • The method '_readAndroidBuildData' isn't used at package:Unify_Mobile/menu/help.dart:67:24 • unused_element hint • The method '_readIosDeviceInfo' isn't used at package:Unify_Mobile/menu/help.dart:97:24 • unused_element hint • Unused import: 'dart:convert' at package:Unify_Mobile/menu/settings.dart:1:8 • unused_import hint • Unused import: 'package:flutter/rendering.dart' at package:Unify_Mobile/menu/settings.dart:3:8 • unused_import hint • Unused import: 'package:Unify_Mobile/globals.dart' at package:Unify_Mobile/menu/settings.dart:4:8 • unused_import hint • Unused import: 'package:device_info/device_info.dart' at package:Unify_Mobile/menu/settings.dart:5:8 • unused_import hint • Unused import: 'dart:async' at package:Unify_Mobile/menu/settings.dart:6:8 • unused_import hint • Unused import: 'package:flutter/services.dart' at package:Unify_Mobile/menu/settings.dart:7:8 • unused_import hint • Unused import: 'package:Unify_Mobile/menu/myaccount.dart' at package:Unify_Mobile/menu/tabs.dart:6:8 • unused_import hint • Unused import: 'dart:io' at package:Unify_Mobile/menu/tabs.dart:11:8 • unused_import hint • The top level variable '_companyImageURL' isn't used at package:Unify_Mobile/menu/tabs.dart:31:14 • unused_element hint • The value of the field '_drawerContentsOpacity' isn't used at package:Unify_Mobile/menu/tabs.dart:38:21 • unused_field hint • The value of the field '_drawerDetailsPosition' isn't used at package:Unify_Mobile/menu/tabs.dart:40:21 • unused_field hint • The value of the field '_showDrawerContents' isn't used at package:Unify_Mobile/menu/tabs.dart:41:8 • unused_field hint • The method '_backIcon' isn't used at package:Unify_Mobile/menu/tabs.dart:104:12 • unused_element hint • The value of the field '_drawerContents' isn't used at package:Unify_Mobile/menu/tabs.dart:131:29 • unused_field hint • The value of the field '_drawerContentsIcons' isn't used at package:Unify_Mobile/menu/tabs.dart:136:29 • unused_field hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/archivedvideos.dart:99:9 • unused_local_variable hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/myvideos.dart:87:9 • unused_local_variable hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/sharedvideos.dart:99:9 • unused_local_variable hint • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' at package:Unify_Mobile/menu/videodetails.dart:7:8 • unused_import hint • The value of the local variable 'ccToggleBool' isn't used at package:Unify_Mobile/menu/videodetails.dart:443:12 • unused_local_variable hint • Unused import: 'package:device_info/device_info.dart' at package:Unify_Mobile/signin/forgot.dart:5:8 • unused_import hint • Unused import: 'package:flutter/services.dart' at package:Unify_Mobile/signin/forgot.dart:7:8 • unused_import hint • Unused import: 'package:get_version/get_version.dart' at package:Unify_Mobile/signin/forgot.dart:9:8 • unused_import hint • The value of the field '_controllerUsername' isn't used at package:Unify_Mobile/signin/forgot.dart:19:31 • unused_field hint • The value of the field '_controllerDomain' isn't used at package:Unify_Mobile/signin/forgot.dart:20:31 • unused_field hint • The value of the field '_scaffoldKey' isn't used at package:Unify_Mobile/signin/forgot.dart:22:9 • unused_field hint • Unused import: 'package:Unify_Mobile/menu/tabs.dart' at package:Unify_Mobile/signin/signin.dart:6:8 • unused_import 54 issues found. (Ran in 7.4s)"><pre class="notranslate"><code class="notranslate">Analyzing /Users/rodydavis/Documents/Github/MyUnifyVideo... hint • Unused import: 'package:Unify_Mobile/menu/videodetails.dart' at package:Unify_Mobile/camera.dart:15:8 • unused_import hint • Unused import: 'package:dio/dio.dart' at package:Unify_Mobile/camera.dart:16:8 • unused_import hint • The value of the field '_mediaFile' isn't used at package:Unify_Mobile/camera.dart:26:16 • unused_field hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:3:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:58:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:85:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:116:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:163:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:287:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom/custom_widgets.dart:462:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:3:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:58:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:85:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:116:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:163:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:237:7 • must_be_immutable hint • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) at package:Unify_Mobile/custom_widgets.dart:412:7 • must_be_immutable hint • Duplicate import at package:Unify_Mobile/main.dart:5:8 • duplicate_import hint • Unused import: 'package:Unify_Mobile/menu/myaccount.dart' at package:Unify_Mobile/menu/contactsleads.dart:6:8 • unused_import hint • Unused import: 'package:material_search/material_search.dart' at package:Unify_Mobile/menu/contactsleads.dart:8:8 • unused_import hint • Unused import: 'package:flutter/scheduler.dart' at package:Unify_Mobile/menu/contactsleads.dart:9:8 • unused_import hint • Unused import: 'dart:convert' at package:Unify_Mobile/menu/help.dart:1:8 • unused_import hint • Unused import: 'package:flutter/rendering.dart' at package:Unify_Mobile/menu/help.dart:3:8 • unused_import hint • Unused import: 'dart:async' at package:Unify_Mobile/menu/help.dart:6:8 • unused_import hint • Unused import: 'dart:io' at package:Unify_Mobile/menu/help.dart:8:8 • unused_import hint • The method '_readAndroidBuildData' isn't used at package:Unify_Mobile/menu/help.dart:67:24 • unused_element hint • The method '_readIosDeviceInfo' isn't used at package:Unify_Mobile/menu/help.dart:97:24 • unused_element hint • Unused import: 'dart:convert' at package:Unify_Mobile/menu/settings.dart:1:8 • unused_import hint • Unused import: 'package:flutter/rendering.dart' at package:Unify_Mobile/menu/settings.dart:3:8 • unused_import hint • Unused import: 'package:Unify_Mobile/globals.dart' at package:Unify_Mobile/menu/settings.dart:4:8 • unused_import hint • Unused import: 'package:device_info/device_info.dart' at package:Unify_Mobile/menu/settings.dart:5:8 • unused_import hint • Unused import: 'dart:async' at package:Unify_Mobile/menu/settings.dart:6:8 • unused_import hint • Unused import: 'package:flutter/services.dart' at package:Unify_Mobile/menu/settings.dart:7:8 • unused_import hint • Unused import: 'package:Unify_Mobile/menu/myaccount.dart' at package:Unify_Mobile/menu/tabs.dart:6:8 • unused_import hint • Unused import: 'dart:io' at package:Unify_Mobile/menu/tabs.dart:11:8 • unused_import hint • The top level variable '_companyImageURL' isn't used at package:Unify_Mobile/menu/tabs.dart:31:14 • unused_element hint • The value of the field '_drawerContentsOpacity' isn't used at package:Unify_Mobile/menu/tabs.dart:38:21 • unused_field hint • The value of the field '_drawerDetailsPosition' isn't used at package:Unify_Mobile/menu/tabs.dart:40:21 • unused_field hint • The value of the field '_showDrawerContents' isn't used at package:Unify_Mobile/menu/tabs.dart:41:8 • unused_field hint • The method '_backIcon' isn't used at package:Unify_Mobile/menu/tabs.dart:104:12 • unused_element hint • The value of the field '_drawerContents' isn't used at package:Unify_Mobile/menu/tabs.dart:131:29 • unused_field hint • The value of the field '_drawerContentsIcons' isn't used at package:Unify_Mobile/menu/tabs.dart:136:29 • unused_field hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/archivedvideos.dart:99:9 • unused_local_variable hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/myvideos.dart:87:9 • unused_local_variable hint • The value of the local variable 'index' isn't used at package:Unify_Mobile/menu/tabs/sharedvideos.dart:99:9 • unused_local_variable hint • Unused import: 'package:flutter_webview_plugin/flutter_webview_plugin.dart' at package:Unify_Mobile/menu/videodetails.dart:7:8 • unused_import hint • The value of the local variable 'ccToggleBool' isn't used at package:Unify_Mobile/menu/videodetails.dart:443:12 • unused_local_variable hint • Unused import: 'package:device_info/device_info.dart' at package:Unify_Mobile/signin/forgot.dart:5:8 • unused_import hint • Unused import: 'package:flutter/services.dart' at package:Unify_Mobile/signin/forgot.dart:7:8 • unused_import hint • Unused import: 'package:get_version/get_version.dart' at package:Unify_Mobile/signin/forgot.dart:9:8 • unused_import hint • The value of the field '_controllerUsername' isn't used at package:Unify_Mobile/signin/forgot.dart:19:31 • unused_field hint • The value of the field '_controllerDomain' isn't used at package:Unify_Mobile/signin/forgot.dart:20:31 • unused_field hint • The value of the field '_scaffoldKey' isn't used at package:Unify_Mobile/signin/forgot.dart:22:9 • unused_field hint • Unused import: 'package:Unify_Mobile/menu/tabs.dart' at package:Unify_Mobile/signin/signin.dart:6:8 • unused_import 54 issues found. (Ran in 7.4s) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.3.2, on Mac OS X 10.13.4 17E199, locale en-US) • Flutter version 0.3.2 at /Users/rodydavis/Android/flutter/flutter • Framework revision 44b7e7d3f4 (4 weeks ago), 2018-04-20 01:02:44 -0700 • Engine revision 09d05a3891 • Dart version 2.0.0-dev.48.0.flutter-fe606f890b [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/rodydavis/Library/Android/sdk • Android NDK at /Users/rodydavis/Library/Android/sdk/ndk-bundle • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.4.0 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 24.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (3 available) • Rody’s 📱 • 68cab38f1e7de5b8aece2a1ebb7ca9a5d4761e19 • ios • iOS 11.3.1 • Dev-iPhone-6s • a75015aff2fbecb29dcc8e459b14cba86c08f7fe • ios • iOS 11.3.1 • • 90288c0d9ae73afb8a84663c0475d208744fc569 • ios • iOS • No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.3.2, on Mac OS X 10.13.4 17E199, locale en-US) • Flutter version 0.3.2 at /Users/rodydavis/Android/flutter/flutter • Framework revision 44b7e7d3f4 (4 weeks ago), 2018-04-20 01:02:44 -0700 • Engine revision 09d05a3891 • Dart version 2.0.0-dev.48.0.flutter-fe606f890b [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/rodydavis/Library/Android/sdk • Android NDK at /Users/rodydavis/Library/Android/sdk/ndk-bundle • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3, Build version 9E145 • ios-deploy 1.9.2 • CocoaPods version 1.4.0 [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 24.0.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (3 available) • Rody’s 📱 • 68cab38f1e7de5b8aece2a1ebb7ca9a5d4761e19 • ios • iOS 11.3.1 • Dev-iPhone-6s • a75015aff2fbecb29dcc8e459b14cba86c08f7fe • ios • iOS 11.3.1 • • 90288c0d9ae73afb8a84663c0475d208744fc569 • ios • iOS • No issues found! </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto">When building a new flutter project in IntelliJ, company domain cookytech.in<br> -&gt; entered as <code class="notranslate"> `in`.cookytech.mnshi</code> will throw compiler errors because XML files will get the <code class="notranslate">`in`</code> part with the graves,<br> -&gt; entered as in.cookytech.mnshi will throw compiler errors because 'in' is a keyword in dart, kotlin, and java</p> <h2 dir="auto">Current Solution</h2> <p dir="auto">enter in.cookytech as company domain, and then manually add graves in kotlin files. This will allow for compilation.</p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... e: /home/raveesh/MyCode/Code/Training/Flutter/mnshi/android/app/src/main/kotlin/in/cookytech/mnshi/MainActivity.kt: (1, 9): Package name must be a '.'-separated identifier list FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDebugKotlin'. &gt; Compilation error. See log for more details * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Finished with error: Gradle build failed: 1"><pre lang="Launching" class="notranslate"><code class="notranslate">Initializing gradle... Resolving dependencies... Running 'gradlew assembleDebug'... e: /home/raveesh/MyCode/Code/Training/Flutter/mnshi/android/app/src/main/kotlin/in/cookytech/mnshi/MainActivity.kt: (1, 9): Package name must be a '.'-separated identifier list FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDebugKotlin'. &gt; Compilation error. See log for more details * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Finished with error: Gradle build failed: 1 </code></pre></div> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (on Linux, locale en_IN, channel alpha) • Flutter at /home/raveesh/MyCode/Flutter/flutter • Framework revision 8f65fec5f5 (6 days ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.2) • Android SDK at /home/raveesh/MyCode/Android/SDK • Android NDK at /home/raveesh/MyCode/Android/SDK/ndk-bundle • Platform android-27, build-tools 27.0.2 • Java binary at: /usr/local/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 3.0) • Android Studio at /usr/local/android-studio • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] IntelliJ IDEA Ultimate Edition (version 2017.3) • Flutter plugin version 20.0.3 • Dart plugin version 173.3942.31 [✓] Connected devices • Lenovo K33a42 • 9b8bcc9f • android-arm • Android 7.1.2 (API 25)"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Linux, locale en_IN, channel alpha) • Flutter at /home/raveesh/MyCode/Flutter/flutter • Framework revision 8f65fec5f5 (6 days ago), 2017-12-12 09:50:14 -0800 • Engine revision edaecdc8b8 • Tools Dart version 1.25.0-dev.11.0 • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e [✓] Android toolchain - develop for Android devices (Android SDK 27.0.2) • Android SDK at /home/raveesh/MyCode/Android/SDK • Android NDK at /home/raveesh/MyCode/Android/SDK/ndk-bundle • Platform android-27, build-tools 27.0.2 • Java binary at: /usr/local/android-studio/jre/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] Android Studio (version 3.0) • Android Studio at /usr/local/android-studio • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01) [✓] IntelliJ IDEA Ultimate Edition (version 2017.3) • Flutter plugin version 20.0.3 • Dart plugin version 173.3942.31 [✓] Connected devices • Lenovo K33a42 • 9b8bcc9f • android-arm • Android 7.1.2 (API 25) </code></pre></div> <h2 dir="auto">Using:</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="IntelliJ IDEA 2017.3.1 (Ultimate Edition) Build #IU-173.3942.27, built on December 11, 2017 Licensed to Raveesh Agarwal Subscription is active until May 28, 2018 For educational use only. JRE: 1.8.0_152-release-1024-b8 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.10.0-42-generic"><pre class="notranslate"><code class="notranslate">IntelliJ IDEA 2017.3.1 (Ultimate Edition) Build #IU-173.3942.27, built on December 11, 2017 Licensed to Raveesh Agarwal Subscription is active until May 28, 2018 For educational use only. JRE: 1.8.0_152-release-1024-b8 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.10.0-42-generic </code></pre></div>
0
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.0 (latest released)</p> <h3 dir="auto">What happened</h3> <p dir="auto">Returning a list from a <code class="notranslate">PythonOperator</code> and passing it on to a <code class="notranslate">PostgresOperator</code> using <code class="notranslate">expand</code> causes the scheduler to crash:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="scheduler | [2022-05-06 15:44:47,317] {dag.py:2915} INFO - Setting next_dagrun for sum-dag to 2022-05-06T00:00:00+00:00, run_after=2022-05-07T00:00:00+00:00 scheduler | [2022-05-06 15:44:47,384] {scheduler_job.py:753} ERROR - Exception when executing SchedulerJob._run_scheduler_loop scheduler | Traceback (most recent call last): scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 736, in _execute scheduler | self._run_scheduler_loop() scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 824, in _run_scheduler_loop scheduler | num_queued_tis = self._do_scheduling(session) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 906, in _do_scheduling scheduler | callback_to_run = self._schedule_dag_run(dag_run, session) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 1148, in _schedule_dag_run scheduler | schedulable_tis, callback_to_run = dag_run.update_state(session=session, execute_callbacks=False) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/utils/session.py&quot;, line 68, in wrapper scheduler | return func(*args, **kwargs) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 522, in update_state scheduler | info = self.task_instance_scheduling_decisions(session) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/utils/session.py&quot;, line 68, in wrapper scheduler | return func(*args, **kwargs) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 658, in task_instance_scheduling_decisions scheduler | schedulable_tis, changed_tis, expansion_happened = self._get_ready_tis( scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 714, in _get_ready_tis scheduler | expanded_tis, _ = schedulable.task.expand_mapped_task(self.run_id, session=session) scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/mappedoperator.py&quot;, line 609, in expand_mapped_task scheduler | operator.mul, self._resolve_map_lengths(run_id, session=session).values() scheduler | File &quot;/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/mappedoperator.py&quot;, line 595, in _resolve_map_lengths scheduler | raise RuntimeError(f&quot;Failed to populate all mapping metadata; missing: {keys}&quot;) scheduler | RuntimeError: Failed to populate all mapping metadata; missing: 'parameters' scheduler | [2022-05-06 15:44:48,410] {process_utils.py:125} INFO - Sending Signals.SIGTERM to group 92610. PIDs of all processes in the group: [92610] scheduler | [2022-05-06 15:44:48,412] {process_utils.py:80} INFO - Sending the signal Signals.SIGTERM to group 92610 scheduler | [2022-05-06 15:44:48,684] {process_utils.py:75} INFO - Process psutil.Process(pid=92610, status='terminated', exitcode=0, started='15:44:25') (92610) terminated with exit code 0 scheduler | [2022-05-06 15:44:48,685] {scheduler_job.py:765} INFO - Exited execute loop"><pre class="notranslate"><code class="notranslate">scheduler | [2022-05-06 15:44:47,317] {dag.py:2915} INFO - Setting next_dagrun for sum-dag to 2022-05-06T00:00:00+00:00, run_after=2022-05-07T00:00:00+00:00 scheduler | [2022-05-06 15:44:47,384] {scheduler_job.py:753} ERROR - Exception when executing SchedulerJob._run_scheduler_loop scheduler | Traceback (most recent call last): scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 736, in _execute scheduler | self._run_scheduler_loop() scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 824, in _run_scheduler_loop scheduler | num_queued_tis = self._do_scheduling(session) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 906, in _do_scheduling scheduler | callback_to_run = self._schedule_dag_run(dag_run, session) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 1148, in _schedule_dag_run scheduler | schedulable_tis, callback_to_run = dag_run.update_state(session=session, execute_callbacks=False) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/utils/session.py", line 68, in wrapper scheduler | return func(*args, **kwargs) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py", line 522, in update_state scheduler | info = self.task_instance_scheduling_decisions(session) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/utils/session.py", line 68, in wrapper scheduler | return func(*args, **kwargs) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py", line 658, in task_instance_scheduling_decisions scheduler | schedulable_tis, changed_tis, expansion_happened = self._get_ready_tis( scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/dagrun.py", line 714, in _get_ready_tis scheduler | expanded_tis, _ = schedulable.task.expand_mapped_task(self.run_id, session=session) scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/mappedoperator.py", line 609, in expand_mapped_task scheduler | operator.mul, self._resolve_map_lengths(run_id, session=session).values() scheduler | File "/Users/example/aaa/vvv/lib/python3.9/site-packages/airflow/models/mappedoperator.py", line 595, in _resolve_map_lengths scheduler | raise RuntimeError(f"Failed to populate all mapping metadata; missing: {keys}") scheduler | RuntimeError: Failed to populate all mapping metadata; missing: 'parameters' scheduler | [2022-05-06 15:44:48,410] {process_utils.py:125} INFO - Sending Signals.SIGTERM to group 92610. PIDs of all processes in the group: [92610] scheduler | [2022-05-06 15:44:48,412] {process_utils.py:80} INFO - Sending the signal Signals.SIGTERM to group 92610 scheduler | [2022-05-06 15:44:48,684] {process_utils.py:75} INFO - Process psutil.Process(pid=92610, status='terminated', exitcode=0, started='15:44:25') (92610) terminated with exit code 0 scheduler | [2022-05-06 15:44:48,685] {scheduler_job.py:765} INFO - Exited execute loop </code></pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">The scheduler should not crash and the <code class="notranslate">PostgresOperator</code> should get executed.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">The execution of this DAG fails with the exception posted above:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pendulum from airflow import DAG from airflow.providers.postgres.operators.postgres import PostgresOperator from airflow.decorators import task with DAG( dag_id=&quot;sum-dag&quot;, start_date=pendulum.datetime(2021, 11, 19, tz=&quot;UTC&quot;), schedule_interval=&quot;@daily&quot;, catchup=False, ) as dag: @task def input_list(): return [{&quot;v&quot;: 1}] PostgresOperator.partial( task_id=&quot;test2&quot;, sql=&quot;SELECT %(v)s&quot;, ).expand(parameters=input_list())"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pendulum</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">providers</span>.<span class="pl-s1">postgres</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">postgres</span> <span class="pl-k">import</span> <span class="pl-v">PostgresOperator</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">decorators</span> <span class="pl-k">import</span> <span class="pl-s1">task</span> <span class="pl-k">with</span> <span class="pl-v">DAG</span>( <span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-s">"sum-dag"</span>, <span class="pl-s1">start_date</span><span class="pl-c1">=</span><span class="pl-s1">pendulum</span>.<span class="pl-en">datetime</span>(<span class="pl-c1">2021</span>, <span class="pl-c1">11</span>, <span class="pl-c1">19</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">"UTC"</span>), <span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-s">"@daily"</span>, <span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, ) <span class="pl-k">as</span> <span class="pl-s1">dag</span>: <span class="pl-en">@<span class="pl-s1">task</span></span> <span class="pl-k">def</span> <span class="pl-en">input_list</span>(): <span class="pl-k">return</span> [{<span class="pl-s">"v"</span>: <span class="pl-c1">1</span>}] <span class="pl-v">PostgresOperator</span>.<span class="pl-en">partial</span>( <span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"test2"</span>, <span class="pl-s1">sql</span><span class="pl-c1">=</span><span class="pl-s">"SELECT %(v)s"</span>, ).<span class="pl-en">expand</span>(<span class="pl-s1">parameters</span><span class="pl-c1">=</span><span class="pl-en">input_list</span>())</pre></div> <p dir="auto">Passing a <code class="notranslate">list</code> directly to the <code class="notranslate">PostgresOperator</code> (instead of having it returned from a <code class="notranslate">PythonOperator</code>) does work successfully:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pendulum from airflow import DAG from airflow.providers.postgres.operators.postgres import PostgresOperator from airflow.decorators import task with DAG( dag_id=&quot;sum-dag&quot;, start_date=pendulum.datetime(2021, 11, 19, tz=&quot;UTC&quot;), schedule_interval=&quot;@daily&quot;, catchup=False, ) as dag: input_list_simple = [{&quot;v&quot;: 1}] PostgresOperator.partial( task_id=&quot;test2&quot;, sql=&quot;SELECT %(v)s&quot;, ).expand(parameters=input_list_simple)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pendulum</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">providers</span>.<span class="pl-s1">postgres</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">postgres</span> <span class="pl-k">import</span> <span class="pl-v">PostgresOperator</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">decorators</span> <span class="pl-k">import</span> <span class="pl-s1">task</span> <span class="pl-k">with</span> <span class="pl-v">DAG</span>( <span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-s">"sum-dag"</span>, <span class="pl-s1">start_date</span><span class="pl-c1">=</span><span class="pl-s1">pendulum</span>.<span class="pl-en">datetime</span>(<span class="pl-c1">2021</span>, <span class="pl-c1">11</span>, <span class="pl-c1">19</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">"UTC"</span>), <span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-s">"@daily"</span>, <span class="pl-s1">catchup</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, ) <span class="pl-k">as</span> <span class="pl-s1">dag</span>: <span class="pl-s1">input_list_simple</span> <span class="pl-c1">=</span> [{<span class="pl-s">"v"</span>: <span class="pl-c1">1</span>}] <span class="pl-v">PostgresOperator</span>.<span class="pl-en">partial</span>( <span class="pl-s1">task_id</span><span class="pl-c1">=</span><span class="pl-s">"test2"</span>, <span class="pl-s1">sql</span><span class="pl-c1">=</span><span class="pl-s">"SELECT %(v)s"</span>, ).<span class="pl-en">expand</span>(<span class="pl-s1">parameters</span><span class="pl-c1">=</span><span class="pl-s1">input_list_simple</span>)</pre></div> <h3 dir="auto">Operating System</h3> <p dir="auto">macOS 12.3.1</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><code class="notranslate">apache-airflow-providers-postgres==4.1.0</code></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Virtualenv installation</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.3.0 (latest released)</p> <h3 dir="auto">What happened</h3> <p dir="auto">I have a dag that looks like this.<br> When I uncomment <code class="notranslate">py_job</code>(Dynamically mapped PythonOperator) it works well with <code class="notranslate">pull_messages</code> (Taskflow API).<br> When I try to do the same with <code class="notranslate">DatabricksRunNowOperator</code> it crashes the scheduler with error</p> <p dir="auto">Related issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1225684729" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/23486" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/23486/hovercard" href="https://github.com/apache/airflow/pull/23486">#23486</a></p> <h3 dir="auto">Sample DAG</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import json import pendulum from airflow.decorators import dag, task from airflow.operators.python import PythonOperator from airflow.providers.databricks.operators.databricks import DatabricksRunNowOperator @dag( schedule_interval=None, start_date=pendulum.datetime(2021, 1, 1, tz=&quot;UTC&quot;), catchup=False, tags=['example'], ) def tutorial_taskflow_api_etl(): def random(*args, **kwargs): print (&quot;==== kwargs inside random ====&quot;, args, kwargs) print (&quot;I'm random&quot;) return 49 @task def pull_messages(): return [[&quot;hi&quot;], [&quot;hello&quot;]] op = DatabricksRunNowOperator.partial( task_id = &quot;new_job&quot;, job_id=42, notebook_params={&quot;dry-run&quot;: &quot;true&quot;}, python_params=[&quot;douglas adams&quot;, &quot;42&quot;], spark_submit_params=[&quot;--class&quot;, &quot;org.apache.spark.examples.SparkPi&quot;] ).expand(jar_params=pull_messages()) # py_job = PythonOperator.partial( # task_id = 'py_job', # python_callable=random # ).expand(op_args= pull_messages()) tutorial_etl_dag = tutorial_taskflow_api_etl()"><pre class="notranslate"><code class="notranslate">import json import pendulum from airflow.decorators import dag, task from airflow.operators.python import PythonOperator from airflow.providers.databricks.operators.databricks import DatabricksRunNowOperator @dag( schedule_interval=None, start_date=pendulum.datetime(2021, 1, 1, tz="UTC"), catchup=False, tags=['example'], ) def tutorial_taskflow_api_etl(): def random(*args, **kwargs): print ("==== kwargs inside random ====", args, kwargs) print ("I'm random") return 49 @task def pull_messages(): return [["hi"], ["hello"]] op = DatabricksRunNowOperator.partial( task_id = "new_job", job_id=42, notebook_params={"dry-run": "true"}, python_params=["douglas adams", "42"], spark_submit_params=["--class", "org.apache.spark.examples.SparkPi"] ).expand(jar_params=pull_messages()) # py_job = PythonOperator.partial( # task_id = 'py_job', # python_callable=random # ).expand(op_args= pull_messages()) tutorial_etl_dag = tutorial_taskflow_api_etl() </code></pre></div> <h3 dir="auto">Error</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2022-05-11 11:46:30 +0000] [40] [INFO] Worker exiting (pid: 40) return f(*args, **kwargs) File &quot;/usr/local/lib/python3.9/site-packages/airflow/cli/commands/scheduler_command.py&quot;, line 75, in scheduler _run_scheduler_job(args=args) File &quot;/usr/local/lib/python3.9/site-packages/airflow/cli/commands/scheduler_command.py&quot;, line 46, in _run_scheduler_job job.run() File &quot;/usr/local/lib/python3.9/site-packages/airflow/jobs/base_job.py&quot;, line 244, in run self._execute() File &quot;/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 736, in _execute self._run_scheduler_loop() File &quot;/usr/local/lib/python3.9/site-packages/astronomer/airflow/version_check/plugin.py&quot;, line 29, in run_before fn(*args, **kwargs) File &quot;/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 824, in _run_scheduler_loop num_queued_tis = self._do_scheduling(session) File &quot;/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 906, in _do_scheduling callback_to_run = self._schedule_dag_run(dag_run, session) File &quot;/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py&quot;, line 1148, in _schedule_dag_run schedulable_tis, callback_to_run = dag_run.update_state(session=session, execute_callbacks=False) File &quot;/usr/local/lib/python3.9/site-packages/airflow/utils/session.py&quot;, line 68, in wrapper return func(*args, **kwargs) File &quot;/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 522, in update_state info = self.task_instance_scheduling_decisions(session) File &quot;/usr/local/lib/python3.9/site-packages/airflow/utils/session.py&quot;, line 68, in wrapper return func(*args, **kwargs) File &quot;/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 658, in task_instance_scheduling_decisions schedulable_tis, changed_tis, expansion_happened = self._get_ready_tis( File &quot;/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py&quot;, line 714, in _get_ready_tis expanded_tis, _ = schedulable.task.expand_mapped_task(self.run_id, session=session) File &quot;/usr/local/lib/python3.9/site-packages/airflow/models/mappedoperator.py&quot;, line 609, in expand_mapped_task operator.mul, self._resolve_map_lengths(run_id, session=session).values() File &quot;/usr/local/lib/python3.9/site-packages/airflow/models/mappedoperator.py&quot;, line 595, in _resolve_map_lengths raise RuntimeError(f&quot;Failed to populate all mapping metadata; missing: {keys}&quot;) RuntimeError: Failed to populate all mapping metadata; missing: 'jar_params' [2022-05-11 11:46:30 +0000] [31] [INFO] Shutting down: Master"><pre class="notranslate"><code class="notranslate">[2022-05-11 11:46:30 +0000] [40] [INFO] Worker exiting (pid: 40) return f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/cli/commands/scheduler_command.py", line 75, in scheduler _run_scheduler_job(args=args) File "/usr/local/lib/python3.9/site-packages/airflow/cli/commands/scheduler_command.py", line 46, in _run_scheduler_job job.run() File "/usr/local/lib/python3.9/site-packages/airflow/jobs/base_job.py", line 244, in run self._execute() File "/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 736, in _execute self._run_scheduler_loop() File "/usr/local/lib/python3.9/site-packages/astronomer/airflow/version_check/plugin.py", line 29, in run_before fn(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 824, in _run_scheduler_loop num_queued_tis = self._do_scheduling(session) File "/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 906, in _do_scheduling callback_to_run = self._schedule_dag_run(dag_run, session) File "/usr/local/lib/python3.9/site-packages/airflow/jobs/scheduler_job.py", line 1148, in _schedule_dag_run schedulable_tis, callback_to_run = dag_run.update_state(session=session, execute_callbacks=False) File "/usr/local/lib/python3.9/site-packages/airflow/utils/session.py", line 68, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py", line 522, in update_state info = self.task_instance_scheduling_decisions(session) File "/usr/local/lib/python3.9/site-packages/airflow/utils/session.py", line 68, in wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py", line 658, in task_instance_scheduling_decisions schedulable_tis, changed_tis, expansion_happened = self._get_ready_tis( File "/usr/local/lib/python3.9/site-packages/airflow/models/dagrun.py", line 714, in _get_ready_tis expanded_tis, _ = schedulable.task.expand_mapped_task(self.run_id, session=session) File "/usr/local/lib/python3.9/site-packages/airflow/models/mappedoperator.py", line 609, in expand_mapped_task operator.mul, self._resolve_map_lengths(run_id, session=session).values() File "/usr/local/lib/python3.9/site-packages/airflow/models/mappedoperator.py", line 595, in _resolve_map_lengths raise RuntimeError(f"Failed to populate all mapping metadata; missing: {keys}") RuntimeError: Failed to populate all mapping metadata; missing: 'jar_params' [2022-05-11 11:46:30 +0000] [31] [INFO] Shutting down: Master </code></pre></div> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></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-databricks</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Astronomer</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
1
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="520637318" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/11045" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/11045/hovercard" href="https://github.com/scipy/scipy/pull/11045">#11045</a> contained a still-extant <a href="https://github.com/scipy/scipy/blob/v1.8.0/scipy/special/_legacy.pxd#L41-L43">announcement</a> of removal of deprecated functionality by 1.7; let's do it for 1.9 at least.</p> <p dir="auto">CC <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rlucas7/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rlucas7">@rlucas7</a></p>
<p dir="auto">When working on porting some <code class="notranslate">scipy.special</code> functions to CuPy, I noticed that there was a scheduled deprecation for SciPy 1.7 that has not yet been carried out. Specifically, the unsafe double-&gt;int casting for the <code class="notranslate">n</code> or <code class="notranslate">k</code> inputs to binomial distribution functions <code class="notranslate">bdtr</code>, <code class="notranslate">bdtrc</code> and <code class="notranslate">bdtri</code> leads to the following warning:</p> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/scipy/scipy/blob/b5d8bab88af61d61de09641243848df63380a67f/scipy/special/_legacy.pxd#L39-L43">scipy/scipy/special/_legacy.pxd</a> </p> <p class="mb-0 color-fg-muted"> Lines 39 to 43 in <a data-pjax="true" class="commit-tease-sha" href="/scipy/scipy/commit/b5d8bab88af61d61de09641243848df63380a67f">b5d8bab</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L39" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="39"></td> <td id="LC39" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> cdef inline <span class="pl-k">void</span> _legacy_deprecation(<span class="pl-k">char</span> <span class="pl-k">*</span>func_name, <span class="pl-k">double</span> x, <span class="pl-k">double</span> y) nogil: </td> </tr> <tr class="border-0"> <td id="L40" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="40"></td> <td id="LC40" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">with</span> gil: </td> </tr> <tr class="border-0"> <td id="L41" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="41"></td> <td id="LC41" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> PyErr_WarnEx_noerr(<span class="pl-c1">DeprecationWarning</span>, </td> </tr> <tr class="border-0"> <td id="L42" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="42"></td> <td id="LC42" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s"><span class="pl-pds">"</span>non-integer arg n is deprecated, removed in SciPy 1.7.x<span class="pl-pds">"</span></span>, </td> </tr> <tr class="border-0"> <td id="L43" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="43"></td> <td id="LC43" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-c1">1</span>) </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">I thought about making a PR to complete the deprecation, however, I am not sure how best to proceed with that as it seems inconsistent with other functions in that same file. For example the functions related to negative binomial distributions (<code class="notranslate">nbdtr</code>, <code class="notranslate">nbdtrc</code> and <code class="notranslate">nbdtri</code>) and others instead raise a <code class="notranslate">RuntimeWarning</code> and do not indicate that the unsafe casting is deprecated. Shouldn't the approach for <code class="notranslate">bdtr</code> and <code class="notranslate">nbdtr</code> be the consistent? Please advise.</p>
1
<p dir="auto">What should I do?<br> Hope add this function in code soon.</p>
<p dir="auto">I know VSCode has not support JSX yet but it didn't appear so much error highlights in the last version, even I had already changed my language mode into <code class="notranslate">Plain Text</code>.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6079112/11261584/f5e2e9d0-8eb0-11e5-8388-e6711dc718f9.PNG"><img src="https://cloud.githubusercontent.com/assets/6079112/11261584/f5e2e9d0-8eb0-11e5-8388-e6711dc718f9.PNG" alt="2" style="max-width: 100%;"></a></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond. <ul dir="auto"> <li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yortus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yortus">@yortus</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/baxtersa/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/baxtersa">@baxtersa</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/marvinhagemeister/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/marvinhagemeister">@marvinhagemeister</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bcherny/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bcherny">@bcherny</a></li> </ul> </li> </ul> <p dir="auto">I would like to have/add types for at least some of the <code class="notranslate">@babel/*</code> packages but before I start creating PR(s), I want to get other peoples opinions.</p> <p dir="auto"><code class="notranslate">@babel/core</code> in its current state can be just an alias to/copy of <code class="notranslate">babel-core</code> for now. Can I just do something like this or do I need to copy/paste it?</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// @babel/core export * from &quot;babel-core&quot;;"><pre class="notranslate"><span class="pl-c">// <span class="pl-k">@babel</span>/core</span> <span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">from</span> <span class="pl-s">"babel-core"</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The version of <code class="notranslate">babel-types</code> on NPM is <code class="notranslate">6</code> but the version mentioned in the types is <code class="notranslate">7</code>. The version of <code class="notranslate">@babel/types</code> is <code class="notranslate">7</code> so what's going on here? Also <code class="notranslate">@babel/core</code> types will depend on <code class="notranslate">@babel/types</code> types or should I just import <code class="notranslate">babel-types</code>?</p> <p dir="auto">I am not really sure on how to move forward so I like to get some thoughts on this.</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I want to talk about <code class="notranslate">react-router/history.d.ts</code>. <ul dir="auto"> <li>The authors of that type definition are cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sergey-buturlakin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sergey-buturlakin">@sergey-buturlakin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngbrown/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngbrown">@ngbrown</a></li> </ul> </li> </ul> <p dir="auto">We have <code class="notranslate">history/history.d.ts</code>. Why isn't <code class="notranslate">react-router</code> using this?</p> <p dir="auto">This file was added by <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="109109230" data-permission-text="Title is private" data-url="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/6073" data-hovercard-type="pull_request" data-hovercard-url="/DefinitelyTyped/DefinitelyTyped/pull/6073/hovercard" href="https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6073">#6073</a>, but <code class="notranslate">history/history.d.ts</code> predates that PR. I don't see a reason why it was duplicated.</p> <p dir="auto">Can we get rid of <code class="notranslate">react-router/history.d.ts</code>? Unfortunately the two files seem to have diverged, so this won't be easy. But they reference the same project, and have the same authors listed.</p>
0
<p dir="auto">Hi, I got a small issue using horizontal definition lists. When a definition description <code class="notranslate">&lt;dd&gt;</code> is empty, the next <code class="notranslate">&lt;dd&gt;</code> (if any) takes the place of the first. See in action: <a href="http://jsfiddle.net/2R2Pb/1" rel="nofollow">http://jsfiddle.net/2R2Pb/1</a></p> <p dir="auto">This happens using Firefox and Bootstrap 2.3.1.</p>
<p dir="auto">When an empty or self-closing &lt;dd&gt; tag is used in a horizontal &lt;dl&gt;, the &lt;dd&gt; tags following it are mis-aligned with the matching &lt;dt&gt; tags.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;dl class=&quot;dl-horizontal&quot;&gt; &lt;dt&gt;Title 1&lt;/dt&gt; &lt;dd&gt;Description 1&lt;/dd&gt; &lt;dt&gt;Title 2&lt;/dt&gt; &lt;dd&gt;&lt;/dd&gt; &lt;dt&gt;Title 3&lt;/dt&gt; &lt;dd&gt;Description 3&lt;/dd&gt; &lt;/dl&gt;"><pre class="notranslate"> <span class="pl-kos">&lt;</span><span class="pl-ent">dl</span> <span class="pl-c1">class</span>="<span class="pl-s">dl-horizontal</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span>Title 1<span class="pl-kos">&lt;/</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span>Description 1<span class="pl-kos">&lt;/</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span>Title 2<span class="pl-kos">&lt;/</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span>Title 3<span class="pl-kos">&lt;/</span><span class="pl-ent">dt</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span>Description 3<span class="pl-kos">&lt;/</span><span class="pl-ent">dd</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">dl</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">Here is a jsFiddle: <a href="http://jsfiddle.net/xjQX3/" rel="nofollow">http://jsfiddle.net/xjQX3/</a></p> <p dir="auto">In the above example, "Description 3" will sit beside "Title 2". It should sit beside "Title 3". If the &lt;dl&gt; is not horizontal, then they appear as expected.</p>
1
<ul dir="auto"> <li>Electron version: <strong>v1.3.5</strong></li> <li>Operating system: <strong>win7 x64</strong></li> </ul> <p dir="auto">I have created a simple example here: there are only two files in the directory: <em>package.json</em> and <em>main.js</em>. I'm sured that they are saved by UTF-8 encoding.<br> There are only two keys in <em>package.json</em>: <em>name</em> and <em>main</em>, just like this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;name&quot;:&quot;simple-example&quot;, &quot;main&quot;:&quot;main.js&quot; }"><pre class="notranslate"><code class="notranslate">{ "name":"simple-example", "main":"main.js" } </code></pre></div> <p dir="auto">the <em>main.js</em> has only one line:<br> <code class="notranslate">console.log("中文")</code></p> <p dir="auto">When I run <code class="notranslate">electron .</code> under that directory, the output on console is not right.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15317435/18348113/1560a882-75fc-11e6-9929-674bdc18584c.png"><img src="https://cloud.githubusercontent.com/assets/15317435/18348113/1560a882-75fc-11e6-9929-674bdc18584c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">While if I run node main.js, I can see the expected result:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/15317435/18348148/42ca86bc-75fc-11e6-8692-ccb7a5740d7c.png"><img src="https://cloud.githubusercontent.com/assets/15317435/18348148/42ca86bc-75fc-11e6-8692-ccb7a5740d7c.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">I think there are something wrong with encoding, can anyone here tell me how to fix it and why?</p>
<p dir="auto">I noticed that I cannot print characters such as 'ρ' or 'β' from Electron to the console on Windows (works fine on Linux and OS X). I tried this using the default command prompt and power shell; also made sure both terminals were printing the characters otherwise (works fine with <code class="notranslate">node -e "console.log('β')"</code>). When printing from Electron it does not work (tested in both Main and Renderer with <code class="notranslate">console.log</code> and <code class="notranslate">process.stdout.write</code>).</p> <p dir="auto">Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="96799843" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/2311" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/2311/hovercard" href="https://github.com/electron/electron/issues/2311">#2311</a></p> <ul dir="auto"> <li>Electron version: 1.1.3</li> <li>Operating system: Windows 8.1</li> </ul>
1
<p dir="auto">I'm submitting a feature request</p> <p dir="auto">The current behavior is that <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/query/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/query">@query</a> don't return inherited components</p> <p dir="auto">The expected behavior should be that the injected Query will find the Inherited components .</p> <p dir="auto">The current behavior is not making any sense .<br> I want to create components that inherit base component, and I want to find them in my<br> Component.</p> <ul dir="auto"> <li>Angular version: 2.0.0-beta.5</li> <li>Browser: all</li> <li>Language: TypeScript</li> </ul>
<p dir="auto">Assuming the following markup:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;my-list&gt; &lt;my-item&gt;...&lt;/my-item&gt; &lt;my-fancy-item&gt;...&lt;/my-fancy-item&gt; &lt;my-super-fancy-item&gt;...&lt;/my-super-fancy-item&gt; &lt;my-item&gt;...&lt;/my-item&gt; &lt;/my-list&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">my-list</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">my-item</span><span class="pl-kos">&gt;</span>...<span class="pl-kos">&lt;/</span><span class="pl-ent">my-item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">my-fancy-item</span><span class="pl-kos">&gt;</span>...<span class="pl-kos">&lt;/</span><span class="pl-ent">my-fancy-item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">my-super-fancy-item</span><span class="pl-kos">&gt;</span>...<span class="pl-kos">&lt;/</span><span class="pl-ent">my-super-fancy-item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">my-item</span><span class="pl-kos">&gt;</span>...<span class="pl-kos">&lt;/</span><span class="pl-ent">my-item</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">my-list</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">where <code class="notranslate">my-item</code>, <code class="notranslate">my-fancy-item</code> and <code class="notranslate">my-super-fancy-item</code> are directives such that:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyItem { ... } class MyFancyItem extends MyItem { ... } class MySuperFancyItem extends MyItem { ... }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MyItem</span> <span class="pl-kos">{</span> ... <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">MyFancyItem</span> <span class="pl-k">extends</span> <span class="pl-v">MyItem</span> <span class="pl-kos">{</span> ... <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-v">MySuperFancyItem</span> <span class="pl-k">extends</span> <span class="pl-v">MyItem</span> <span class="pl-kos">{</span> ... <span class="pl-kos">}</span></pre></div> <p dir="auto">I would like to query all directives of type <code class="notranslate">MyItem</code> like so:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@ContentChildren(MyItem) allItems: QueryList&lt;MyItem&gt;;"><pre class="notranslate">@<span class="pl-v">ContentChildren</span><span class="pl-kos">(</span><span class="pl-v">MyItem</span><span class="pl-kos">)</span> <span class="pl-s1">allItems</span>: <span class="pl-v">QueryList</span><span class="pl-c1">&lt;</span><span class="pl-v">MyItem</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span></pre></div> <p dir="auto">and allItems should contain all instances of <code class="notranslate">my-item</code>, <code class="notranslate">my-fancy-item</code> and <code class="notranslate">my-super-fancy-item</code> (as all of them are passing the <code class="notranslate">foo instanceOf MyItem</code> test.</p> <p dir="auto">cc.: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mhevery/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mhevery">@mhevery</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tbosch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tbosch">@tbosch</a></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.3</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">场景:<br> 1、zookeeper针对dubbo节点设置了访问控制;<br> 2、dubbo使用curator作为zk客户端;<br> 3、当我从2.6.3升级到2.7.3之后发现,服务无法在zookeeper里注册,异常提示: NoAuth</p> <p dir="auto">问题分析:<br> 之后通过文档,发现dubbo 2.7 之后增加了配置中心和元数据中心,并默认采用服务注册中心的配置;但是对于username/password属性并没有继承使用; 导致服务注册过程中提示没有权限。</p> <p dir="auto">疑问?<br> 配置中心和服务注册中心的配置是独立的, 但实际上配置中心的如果不设置zk的用户密码,却会导致服务注册失败;</p>
<ul dir="auto"> <li>[1 ] 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>[1] 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> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.<br> <a href="http://dubbo.apache.org/en-us/docs/user/references/registry/zookeeper.html" rel="nofollow">http://dubbo.apache.org/en-us/docs/user/references/registry/zookeeper.html</a></p> <p dir="auto">Reference from above url as below:</p> <p dir="auto">Description on registration procedure:</p> <p dir="auto">When service provider boots up: write service URL address under directory /dubbo/com.foo.BarService/providers<br> When service consumer boots up: subscribe to /dubbo/com.foo.BarService/providers for provider's URL addresses. At the same time, write consumer's URL address under /dubbo/com.foo.BarService/providers.</p> <p dir="auto">Expect:</p> <p dir="auto">When service consumer boots up: subscribe to /dubbo/com.foo.BarService/providers for provider's URL addresses. At the same time, write consumer's URL address under /dubbo/com.foo.BarService/consumers.</p>
0
<p dir="auto">In Symfony 2.7 only, works fine in 2.6.*</p> <pre class="notranslate">$builder-&gt;add('typeVoie', 'entity', array( 'class' =&gt; 'MyBundle:TypeVoie', 'query_builder' =&gt; function(EntityRepository $er) { return $er-&gt;createQueryBuilder('u') -&gt;orderBy('u.weight', 'DESC'); }, 'property' =&gt; 'typeVoieLower', 'label' =&gt; 'Type de voie', 'label_attr' =&gt; array('id' =&gt; 'label_typevoie'), 'required' =&gt; false ) </pre> <p dir="auto">Despite the option <code class="notranslate">required =&gt; false</code> the form does not accept null values and returns</p> <p dir="auto"><code class="notranslate">SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""</code></p> <p dir="auto">The entity definition has the option <code class="notranslate">nullable=true</code> set on this field.</p> <p dir="auto">Thanks</p>
<p dir="auto">I think that's happening only on propel + postgres after <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/webmozart/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/webmozart">@webmozart</a> removed empty/null checks from ChoiceToValueTransformer in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/symfony/symfony/commit/1d89922782922fe3bcacb09f91e8c3c992d29d3f/hovercard" href="https://github.com/symfony/symfony/commit/1d89922782922fe3bcacb09f91e8c3c992d29d3f"><tt>1d89922</tt></a></p> <p dir="auto">ModelChoiceList-&gt;getChoicesForValues allows to create Propel query with empty string values which are not accepted, so I'm getting:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unable to execute SELECT statement [SELECT (...) FROM twilio_number WHERE twilio_number.id IN (:p1)] [wrapped: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: &quot;&quot;]"><pre class="notranslate"><code class="notranslate">Unable to execute SELECT statement [SELECT (...) FROM twilio_number WHERE twilio_number.id IN (:p1)] [wrapped: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""] </code></pre></div> <p dir="auto">the code below (for propel bridge) seems to do the trick, but I'm not sure if I can create PR for the Propel1Bridge repository. Will appreciate any help.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class ModelChoiceList extends ObjectChoiceList public function getChoicesForValues(array $values) { if (empty($values) || empty($first = reset($values))) { return array(); }"><pre class="notranslate"><code class="notranslate">class ModelChoiceList extends ObjectChoiceList public function getChoicesForValues(array $values) { if (empty($values) || empty($first = reset($values))) { return array(); } </code></pre></div>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/wiki/FAQ">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.2</li> <li>Operating System version: centos</li> <li>Java version: 1.8.0_144</li> </ul> <h3 dir="auto">Step to reproduce this issue</h3> <ol dir="auto"> <li>ip获取工具错误导致 StackOverflowError</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">不报错</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">报错,不能启动</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 187 &quot;main&quot; #1 prio=5 os_prio=0 tid=0x00007f817000b000 nid=0x48ce in Object.wait() [0x00007f817645b000] 188 java.lang.Thread.State: WAITING (on object monitor) 189 at java.lang.Object.wait(Native Method) 190 at java.lang.Object.wait(Object.java:502) 191 at java.net.InetAddress.checkLookupTable(InetAddress.java:1393) 192 - locked &lt;0x00000005c07e62a8&gt; (a java.util.HashMap) 193 at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1310) 194 at java.net.InetAddress.getLocalHost(InetAddress.java:1500) 195 - locked &lt;0x00000005c07e6298&gt; (a java.lang.Object) 196 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:188) 197 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 198 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 199 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 200 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110) 201 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220) 202 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 203 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 204 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 205 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134) 206 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222) 207 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 208 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 209 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 210 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110) 211 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220) 212 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 213 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 214 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 215 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134) 216 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222) 217 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 218 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 219 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40)"><pre class="notranslate"><code class="notranslate"> 187 "main" #1 prio=5 os_prio=0 tid=0x00007f817000b000 nid=0x48ce in Object.wait() [0x00007f817645b000] 188 java.lang.Thread.State: WAITING (on object monitor) 189 at java.lang.Object.wait(Native Method) 190 at java.lang.Object.wait(Object.java:502) 191 at java.net.InetAddress.checkLookupTable(InetAddress.java:1393) 192 - locked &lt;0x00000005c07e62a8&gt; (a java.util.HashMap) 193 at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1310) 194 at java.net.InetAddress.getLocalHost(InetAddress.java:1500) 195 - locked &lt;0x00000005c07e6298&gt; (a java.lang.Object) 196 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:188) 197 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 198 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 199 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 200 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110) 201 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220) 202 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 203 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 204 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 205 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134) 206 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222) 207 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 208 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 209 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 210 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.warn(FailsafeLogger.java:110) 211 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:220) 212 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 213 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 214 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) 215 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.error(FailsafeLogger.java:134) 216 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress0(NetUtils.java:222) 217 at com.alibaba.dubbo.common.utils.NetUtils.getLocalAddress(NetUtils.java:180) 218 at com.alibaba.dubbo.common.utils.NetUtils.getLocalHost(NetUtils.java:146) 219 at com.alibaba.dubbo.common.logger.support.FailsafeLogger.appendContextMessage(FailsafeLogger.java:40) </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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.6.5</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>dubbo spi 扩展列表有 exception=com.alibaba.dubbo.rpc.filter.ExceptionFilter</li> <li>我自己实现了一个 filter 扩展,名为 exception=xxxFilter</li> <li>debug com.alibaba.dubbo.common.extension.ExtensionLoader#loadClass 将抛出 throw new IllegalStateException("Duplicate extension "......)</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">此异常被 exceptions 获取后,不抛出来,理论上不应该抛出来给用户吗,否则将被加载 jar 包的顺序影响,如果在 dubbo 生效之前加载,自己的 filter 就起作用,否则不起作用</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">捕获异常后没有任何提示信息</p>
0
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Feature Idea</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.8 (or greater)</p> <h5 dir="auto">Environment:</h5> <p dir="auto">N/A</p> <h5 dir="auto">Summary:</h5> <p dir="auto">A special tag <em>all</em> matching all possible tags might make working with tags easier and less error-prone.</p> <h5 dir="auto">Motivation:</h5> <p dir="auto">It's useful to organize larger playbooks by assigning tags to tasks. This allows to run only a subset of a playbook's tasks.</p> <p dir="auto">However, in some cases it might make sense to always run a task. Controlling monitoring comes to mind:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- nagios: action=downtime minutes=10 service=some_service host=some.host tags: - foo - bar - command: /usr/bin/foo tags: foo - command: /usr/bin/bar tags: bar"><pre class="notranslate">- <span class="pl-ent">nagios</span>: <span class="pl-s">action=downtime minutes=10 service=some_service host=some.host</span> <span class="pl-ent">tags</span>: - <span class="pl-s">foo</span> - <span class="pl-s">bar</span> - <span class="pl-ent">command</span>: <span class="pl-s">/usr/bin/foo</span> <span class="pl-ent">tags</span>: <span class="pl-s">foo</span> - <span class="pl-ent">command</span>: <span class="pl-s">/usr/bin/bar</span> <span class="pl-ent">tags</span>: <span class="pl-s">bar</span></pre></div> <p dir="auto">If later on a new task with tag <em>baz</em> is introduced into this playbook, <em>baz</em> has to be added to the tags of the <em>nagios</em> task as well.</p> <p dir="auto">This is no problem in small playbooks, but once several roles are used in combination with <code class="notranslate">pre_tasks</code>/<code class="notranslate">post_tasks</code>, keeping track of all tags involved may become cumbersome.</p> <h5 dir="auto">Rationale:</h5> <p dir="auto">The current system requires a certain amount of bookkeeping, often spanning several different files, in order to achieve something that can be explained easily in natural language: "make sure this task always runs"</p> <p dir="auto">If this bookkeeping is not kept up, when calling <code class="notranslate">ansible-playbook</code> with the <code class="notranslate">--tags</code> option, running playbooks might fail (because some essential initial task did not run), or unwanted side effects may occur (monitoring alerts because no downtime was scheduled for example)</p> <p dir="auto">For these cases it might make sense to have a special tag matching every possible tag (therefore meaning "all tags") instead of listing all those tags explicitly.</p> <p dir="auto">There is a tag that currently makes no sense to assign to any task: the tag <em>all</em>.</p> <p dir="auto">This is because <em>all</em> has a special meaning for <code class="notranslate">ansible-playbook</code>: rather than "execute only tasks with a tag called <em>all</em>", providing <code class="notranslate">--tags all</code> (the default) to <code class="notranslate">ansible-playbook</code> means "execute all tasks".</p> <p dir="auto">In other words, a task tagged (only) with <em>all</em> is run under the exact same conditions as an untagged task.</p> <p dir="auto">There seems currently no reason whatsoever to tag a task with <em>all</em>, and it is to be expected that not many (if any) existing playbooks do this. If there are playbooks out there doing so, they can be converted into equivalent playbooks by simply omitting the <em>all</em> tag in it's current form.</p> <h5 dir="auto">Proposal:</h5> <p dir="auto">If the currently meaningless tag <em>all</em> were to gain the semantic "match every possible tag" the abovementioned difficulties could be tackled easily and without losing much (if anything).</p> <p dir="auto">The monitoring example from above would then look like this:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- nagios: action=downtime minutes=10 service=some_service host=some.host tags: all - command: /usr/bin/foo tags: foo - command: /usr/bin/bar tags: bar"><pre class="notranslate">- <span class="pl-ent">nagios</span>: <span class="pl-s">action=downtime minutes=10 service=some_service host=some.host</span> <span class="pl-ent">tags</span>: <span class="pl-s">all</span> - <span class="pl-ent">command</span>: <span class="pl-s">/usr/bin/foo</span> <span class="pl-ent">tags</span>: <span class="pl-s">foo</span> - <span class="pl-ent">command</span>: <span class="pl-s">/usr/bin/bar</span> <span class="pl-ent">tags</span>: <span class="pl-s">bar</span></pre></div> <p dir="auto">Adding a task tagged <em>baz</em> later on does not require any changes whatsoever to the <em>nagios</em> task.</p> <p dir="auto">The name <em>all</em> should hint to the fact that all tags are meant.</p> <p dir="auto">And finally, this would also mirror the host group <em>all</em> which in turn includes every possible host.</p> <h5 dir="auto">Related:</h5> <p dir="auto">Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="42811559" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9010" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9010/hovercard" href="https://github.com/ansible/ansible/issues/9010">#9010</a> seems to discuss things that might overlap with this proposal.</p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible <code class="notranslate">devel</code>, commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b/hovercard" href="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b"><tt>f488de8</tt></a></p> <h5 dir="auto">Ansible Configuration:</h5> <p dir="auto">no changes</p> <h5 dir="auto">Environment:</h5> <p dir="auto">ansible on Mac OS X 10.11.1<br> managing docker container with CentOS 6 (docker image "centos:centos6")</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Running ansible-playbook, a task executing on "docker" connection makes ansible-playbook process hang. The issue occurs since commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b/hovercard" href="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b"><tt>f488de8</tt></a>.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">I created a bash script to reproduce this issue:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#!/bin/bash # start docker container CONTAINER_ID=&quot;$(docker run -d -t -h testhost centos:centos6)&quot; # create ansible inventory echo &quot;testhost ansible_connection=docker ansible_host=${CONTAINER_ID}&quot; &gt; inventory # create ansible playbook echo &quot;- hosts: testhost&quot; &gt; playbook.yml echo &quot; tasks:&quot; &gt;&gt; playbook.yml echo &quot; - name: host is reachable&quot; &gt;&gt; playbook.yml echo &quot; ping:&quot; &gt;&gt; playbook.yml # run ansible playbook ansible-playbook -i inventory playbook.yml # remove docker container docker rm -f &quot;${CONTAINER_ID}&quot;"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#!</span>/bin/bash</span> <span class="pl-c"><span class="pl-c">#</span> start docker container</span> CONTAINER_ID=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-s"><span class="pl-pds">$(</span>docker run -d -t -h testhost centos:centos6<span class="pl-pds">)</span></span><span class="pl-pds">"</span></span> <span class="pl-c"><span class="pl-c">#</span> create ansible inventory</span> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span>testhost ansible_connection=docker ansible_host=<span class="pl-smi">${CONTAINER_ID}</span><span class="pl-pds">"</span></span> <span class="pl-k">&gt;</span> inventory <span class="pl-c"><span class="pl-c">#</span> create ansible playbook</span> <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span>- hosts: testhost<span class="pl-pds">"</span></span> <span class="pl-k">&gt;</span> playbook.yml <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span> tasks:<span class="pl-pds">"</span></span> <span class="pl-k">&gt;&gt;</span> playbook.yml <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span> - name: host is reachable<span class="pl-pds">"</span></span> <span class="pl-k">&gt;&gt;</span> playbook.yml <span class="pl-c1">echo</span> <span class="pl-s"><span class="pl-pds">"</span> ping:<span class="pl-pds">"</span></span> <span class="pl-k">&gt;&gt;</span> playbook.yml <span class="pl-c"><span class="pl-c">#</span> run ansible playbook</span> ansible-playbook -i inventory playbook.yml <span class="pl-c"><span class="pl-c">#</span> remove docker container</span> docker rm -f <span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">${CONTAINER_ID}</span><span class="pl-pds">"</span></span></pre></div> <p dir="auto">This fails since commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b/hovercard" href="https://github.com/ansible/ansible/commit/f488de85997079f480d504f73537e3e33ff2495b"><tt>f488de8</tt></a>.</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">Run the minimal playbook without hanging indefinitely.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">Minimal playbook hangs indefinitely.</p>
0
<p dir="auto">Hello,<br> I would like to know if it's possible to have a prototype with multiple reference inside of it's definition.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="service: ServiceTest version: 7 request: class: MyModel properties: # other conf.. Field3: type: collection field: fieldCollection properties: Field1: type: string field: fieldString Field2: type: collection field: fieldCollection properties: Field1: type: boolean field: fieldBoolean Field2: type: collection field: fieldCollection properties: # ..."><pre class="notranslate"><span class="pl-ent">service</span>: <span class="pl-s">ServiceTest</span> <span class="pl-ent">version</span>: <span class="pl-c1">7</span> <span class="pl-ent">request</span>: <span class="pl-ent">class</span>: <span class="pl-s">MyModel</span> <span class="pl-ent">properties</span>: <span class="pl-c"><span class="pl-c">#</span> other conf..</span> <span class="pl-ent">Field3</span>: <span class="pl-ent">type</span>: <span class="pl-s">collection</span> <span class="pl-ent">field</span>: <span class="pl-s">fieldCollection</span> <span class="pl-ent">properties</span>: <span class="pl-ent">Field1</span>: <span class="pl-ent">type</span>: <span class="pl-s">string</span> <span class="pl-ent">field</span>: <span class="pl-s">fieldString</span> <span class="pl-ent">Field2</span>: <span class="pl-ent">type</span>: <span class="pl-s">collection</span> <span class="pl-ent">field</span>: <span class="pl-s">fieldCollection</span> <span class="pl-ent">properties</span>: <span class="pl-ent">Field1</span>: <span class="pl-ent">type</span>: <span class="pl-s">boolean</span> <span class="pl-ent">field</span>: <span class="pl-s">fieldBoolean</span> <span class="pl-ent">Field2</span>: <span class="pl-ent">type</span>: <span class="pl-s">collection</span> <span class="pl-ent">field</span>: <span class="pl-s">fieldCollection</span> <span class="pl-ent">properties</span>: <span class="pl-c"><span class="pl-c">#</span> ...</span></pre></div> <p dir="auto">I start to write my Configuration but i don't know if it's possible to do what i want.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$rootNode -&gt;children() -&gt;scalarNode('service') -&gt;isRequired() -&gt;end() -&gt;scalarNode('version') -&gt;isRequired() -&gt;end() -&gt;arrayNode('request') -&gt;isRequired() -&gt;children() -&gt;scalarNode('class')-&gt;end() -&gt;arrayNode('properties') -&gt;children() -&gt;useAttributeAsKey('name') -&gt;prototype('array') -&gt;children() -&gt;enumNode('type') -&gt;values(array( ServiceProperty::TYPE_STRING, ServiceProperty::TYPE_INTEGER, ServiceProperty::TYPE_BOOLEAN, ServiceProperty::TYPE_COLLECTION )) -&gt;end() -&gt;scalarNode('field')-&gt;isRequired()-&gt;end() // Refers to the prototype -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() -&gt;end() ;"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>rootNode</span> -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'service'</span>) -&gt;<span class="pl-en">isRequired</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'version'</span>) -&gt;<span class="pl-en">isRequired</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">arrayNode</span>(<span class="pl-s">'request'</span>) -&gt;<span class="pl-en">isRequired</span>() -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'class'</span>)-&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">arrayNode</span>(<span class="pl-s">'properties'</span>) -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">useAttributeAsKey</span>(<span class="pl-s">'name'</span>) -&gt;<span class="pl-en">prototype</span>(<span class="pl-s">'array'</span>) -&gt;<span class="pl-en">children</span>() -&gt;<span class="pl-en">enumNode</span>(<span class="pl-s">'type'</span>) -&gt;<span class="pl-en">values</span>(<span class="pl-en">array</span>( <span class="pl-v">ServiceProperty</span>::<span class="pl-c1">TYPE_STRING</span>, <span class="pl-v">ServiceProperty</span>::<span class="pl-c1">TYPE_INTEGER</span>, <span class="pl-v">ServiceProperty</span>::<span class="pl-c1">TYPE_BOOLEAN</span>, <span class="pl-v">ServiceProperty</span>::<span class="pl-c1">TYPE_COLLECTION</span> )) -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">scalarNode</span>(<span class="pl-s">'field'</span>)-&gt;<span class="pl-en">isRequired</span>()-&gt;<span class="pl-en">end</span>() <span class="pl-c">// Refers to the prototype</span> -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() -&gt;<span class="pl-en">end</span>() ;</pre></div>
1
<p dir="auto">If you want to declare another AppKernel a more lightweight version that only uses Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), along with others of my own, you must include Symfony\Bundle\FrameworkBundle\FrameworkBundle() because annotation reader is declared in FrameworkBundle() but the classes for the annotation reader are from Doctrine, and that is strange because the Symfony Framework IMHO should have its own implementation(that implies duplicate code in a way, but its independent). My question is why did you make this decision? I don't see how Symfony will work without Doctrine, and IMHO its a very tight coupling.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="229569074" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/22742" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/22742/hovercard" href="https://github.com/symfony/symfony/pull/22742">#22742</a> changed the constraints in the 3.4 branch to allow 4.0.x version of the other components. After that, I had a lengthy discussion with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nicolas-grekas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nicolas-grekas">@nicolas-grekas</a> on Slack challenging it. We now think it is time to share our thoughts outside the core team (and with core team members not connected at this time) to involve the whole community.</p> <blockquote> <p dir="auto">Note: for the whole discussion, I will talk about components, but this also applies to bridges and bundles developed in the symfony/symfony repo. It is just shorter than repeating <code class="notranslate">components, bridges and bundles</code> all the time.</p> </blockquote> <p dir="auto">The whole point of this discussion is to decide how the requirements of the of inter-component dependencies should look like in the 3.4 branch. There is 3 possible options:</p> <ol dir="auto"> <li><code class="notranslate">^3.2</code>, not allowing any usage of 4.x dependencies</li> <li><code class="notranslate">^3.2 || ~4.0.0</code>, allowing only the 4.0.x versions of deps, but not 4.1+ (what <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="229569074" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/22742" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/22742/hovercard" href="https://github.com/symfony/symfony/pull/22742">#22742</a> did, and what we did for 2.8 as well)</li> <li><code class="notranslate">^3.2 || ^4.0</code>, allowing the whole 4.x releases, relying on the BC promise of 4.x</li> </ol> <blockquote> <p dir="auto">Note: example above assume that the lowest bound of the existing 3.3 constraint is <code class="notranslate">3.2</code>. It can be something else for each requirement, so things should be adapted above accordingly.</p> </blockquote> <p dir="auto">The third option was rejected by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nicolas-grekas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nicolas-grekas">@nicolas-grekas</a> because it hurts our promise that the Symfony code will never trigger deprecations by itself (i.e. calling a non-deprecated API from your own code does not make Symfony call a deprecated API internally on its own), as it precisely relies on BC layers.</p> <p dir="auto">I'm arguing that we should stick with the first option, because of the way Composer works and because of our ecosystem change with Flex.</p> <p dir="auto">Regarding Composer, what you need to remember is how it chooses the installed version: it always selects the highest version available which matches your constraints. So if you require <code class="notranslate">^3.2 || ~4.0.0</code>, it will always try to use a 4.0.x release first. This has 2 drawbacks:</p> <ul dir="auto"> <li>4.0 brings BC breaks (this is why it is named 4)</li> <li>4.0.x is not a LTS version, meaning it will go unmaintained much before 3.4</li> </ul> <p dir="auto">Regarding the ecosystem change, the big difference is what Symfony users will tell Composer when they want to use our 3.4 LTS version (because they have not yet migrated their code to 4.x APIs for instance):</p> <ul dir="auto"> <li>in the symfony-standard way, they would tell "Give me Symfony 3.4" (i.e. <code class="notranslate">composer require symfony/symfony ^3.4</code>), and they would get the 3.4 version of the whole Symfony code</li> <li>in the flex way, they would tell "Give me FrameworkBundle 3.4" (i.e. <code class="notranslate">composer require symfony/framework-bundle ^3.4</code>), and they would <em>expect</em> to get 3.4 version of Symfony. But the options above may break this assumption.</li> </ul> <p dir="auto">What is important to remember is that people using <code class="notranslate">symfony/framework-bundle</code> as a dependency actually spend most of their time interacting with transitive dependencies brought in by FrameworkBundle:</p> <ul dir="auto"> <li>they write route definitions (<code class="notranslate">symfony/router</code>)</li> <li>they write controllers (<code class="notranslate">symfony/http-kernel</code>)</li> <li>they handle requests and responses in their controller (<code class="notranslate">symfony/http-foundation</code>)</li> <li>they write service definitions (<code class="notranslate">symfony/dependency-injection</code>)</li> <li>they trigger or listen to events (<code class="notranslate">symfony/event-dispatcher</code>)</li> <li>...</li> </ul> <p dir="auto">If we go with the option 2, a new Symfony 3.4 project would automatically get the 4.0 version of all the components I listed just above (and a few others), until another rule forbids to use version 4. and this is very bad, because it means people will <em>not</em> receive BC layers anymore, which basically breaks our BC promise.</p> <blockquote> <p dir="auto">Note: FrameworkBundle is not the only package having mandatory requirements on other Symfony packages, but it was the best example for this case as it is the entry point of using Symfony in Flex.</p> </blockquote> <p dir="auto">This could also affect external projects relying on Symfony components, as they could also be relying on transitive deps (<code class="notranslate">symfony/http-kernel</code> bringing in <code class="notranslate">symfony/http-foundation</code>).</p> <blockquote> <p dir="auto">Note: Things can become even worse if <code class="notranslate">symfony/framework-bundle</code> removes the explicit require on <code class="notranslate">symfony/http-foundation</code> and relies on <code class="notranslate">symfony/http-kernel</code> bring it to the user instead, as bring in 4.0.x for HttpKernel then allows bring in any 4.x version for HttpFoundation, which goes to option 3.</p> </blockquote> <p dir="auto">I only see 2 ways to avoid this issue:</p> <ul dir="auto"> <li>stick to option 1, meaning that a dependency between Symfony components cannot require a higher major version than the current one (allowing <em>lower</em> major versions of them is fine, and 4.x components should actually all allow 3.4 version of their deps as the 3.4 version will have all the features they need)</li> <li>teach people to never rely on transitive deps for the packages they directly use in their project, which means that the Symfony skeleton should list much more packages by default (duplicating the FrameworkBundle deps without allowing 4.0.x).</li> </ul> <p dir="auto">Due to the effect on DX, I strongly suggest sticking to option 1. But the call is now on the community, to decide about option 1, 2 or 3 above.</p> <p dir="auto">Note that for <em>dev</em> requirements, we should allow bringing in 4.0 versions, unless we also have a conflict rule forbidding them, because this helps ensuring that users don't end up in non-working cases (as optional deps cannot be enforced to stay on 3.x if we don't have conflict rules forbidding them, as we don't control the requirement bringing them in).</p>
0
<h2 dir="auto">Feature request</h2> <p dir="auto">Author of Sass here <g-emoji class="g-emoji" alias="wave" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44b.png">👋</g-emoji>! I'm talking with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/markwhitfeld/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/markwhitfeld">@markwhitfeld</a> about trying to get Dart Sass's JS output running in the browser, and we're running into some hassles with Webpack in particular that I think a new feature could address.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">I need to meet all the following requirements:</p> <ol dir="auto"> <li>I want to be able to distribute a single npm package with minimal duplication...</li> <li>that works on both Node.js and the web...</li> <li>with nothing more complicated than <code class="notranslate">npm i sass</code> and <code class="notranslate">require('sass')</code>...</li> <li>and plays nicely with Webpack bundling on both platforms...</li> <li>without needing any special configuration...</li> <li>and uses some libraries that are only available on Node...</li> <li>while gracefully degrading when those libraries aren't available on the web.</li> </ol> <p dir="auto">As a special bonus non-requirement, it would be <em>nice</em> if the JS file we generate can be used as-is on web pages <em>without</em> bundling.</p> <p dir="auto"><strong>What is motivation or use case for adding/changing the behavior?</strong></p> <p dir="auto">As far as I can tell, there's no way to meet all of the above requirements right now. If I didn't have to worry about Webpack, I'd just write</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const chokidar = typeof window === 'undefined' ? require('chokidar') : null;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">chokidar</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-smi">window</span> <span class="pl-c1">===</span> <span class="pl-s">'undefined'</span> ? <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'chokidar'</span><span class="pl-kos">)</span> : <span class="pl-c1">null</span><span class="pl-kos">;</span></pre></div> <p dir="auto">and be on my merry way, but that won't actually prevent webpack from bundling the dependency's code when targeting a browser so it fails requirement 4.</p> <p dir="auto"><strong>How should this be implemented in your opinion?</strong></p> <p dir="auto">I'm agnostic on the best way to make this work, as long as it satisfies the requirements outlined above. The simplest solution might be to recognize <code class="notranslate">typeof window === 'undefined</code>' as a magic check that can be inlined and used for constant-folding. A more explicit solution might be to provide a <code class="notranslate">__webpack_target_browser__</code> constant that explicitly indicates whether the platform is a browser.</p> <p dir="auto"><strong>Are you willing to work on this yourself?</strong></p> <p dir="auto">No.</p>
<p dir="auto">I see alot of prs to upgrade to es6. Some noise might be reduced if you set eslint to require let and const, then allow eslint to auto fix the errors..</p>
0
<p dir="auto">I include a AppGlideModule implementation in My application also setting annotationProcessor and compile package,But GlideApp is not generated, I try to Make Project or Make Module,But still not<br> :<br> import com.bumptech.glide.annotation.GlideModule;<br> import com.bumptech.glide.load.engine.cache.LruResourceCache;<br> import com.bumptech.glide.module.AppGlideModule;</p> <p dir="auto">import java.io.InputStream;</p> <p dir="auto">/**</p> <ul dir="auto"> <li>Created by --ln on 2017/7/15.<br> */<br> @GlideModule<br> public class CustomAppGlideModule extends AppGlideModule {}</li> </ul>
<p dir="auto">I have a working config like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" public class GlideSetup implements GlideModule"><pre class="notranslate"><code class="notranslate"> public class GlideSetup implements GlideModule </code></pre></div> <p dir="auto">and in the manifest:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;meta-data android:name=&quot;com.mo.android.glide.GlideSetup&quot; android:value=&quot;GlideModule&quot;/&gt;"><pre class="notranslate"><code class="notranslate"> &lt;meta-data android:name="com.mo.android.glide.GlideSetup" android:value="GlideModule"/&gt; </code></pre></div> <p dir="auto">This module is working on all the requests in entire application. The question is that how can i disable this module in some cases (and maybe set another module)?</p>
0
<h4 dir="auto">Description</h4> <p dir="auto"><a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/naive_bayes.py#L53">https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/naive_bayes.py#L53</a></p> <p dir="auto">The predict() method defined here doesn't do the input validation by calling<br> <code class="notranslate">X = check_array(X)</code></p> <p dir="auto">Which then results in a different difficult to understand error.</p> <h4 dir="auto">Steps/Code to Reproduce</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd import numpy as np from sklearn.naive_bayes import GaussianNB data = [[418241,442351,2,1905,2,2,2,1,1,1,38,7,2 ], [424993,432898,2,1615,1,2,2,1,1,2,50,1,1 ], [431159,436397,2,1645,1,2,1,1,1,1,26,1,1 ], [431159,436397,2,1645,1,2,1,1,2,2,22,1,1 ], [439313,432376,2,956,2,1,1,1,1,1,57,2,1 ], [426994,439957,2,1115,2,2,1,1,1,1,59,2,2 ], [427813,431257,1,1352,3,1,1,1,1,2,53,1,2 ], [431496,432727,2,2015,1,1,2,3,2,2,22,1,1 ], [431880,430498,2,1110,3,1,1,1,2,2,20,1,1]] data = np.array(data).reshape(-1,13) y = data[:,12] X = data[:,0:12] model = GaussianNB() model.fit(X, y) X_test = ['427750', '426259', '2', '1610', '2', '1', '2', '1', '4', '1', '47', '2'] X_test = np.reshape(X_test, [1, -1]) y_pred = model.predict(X_test)"><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">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">naive_bayes</span> <span class="pl-k">import</span> <span class="pl-v">GaussianNB</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> [[<span class="pl-c1">418241</span>,<span class="pl-c1">442351</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1905</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">38</span>,<span class="pl-c1">7</span>,<span class="pl-c1">2</span> ], [<span class="pl-c1">424993</span>,<span class="pl-c1">432898</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1615</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">50</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span> ], [<span class="pl-c1">431159</span>,<span class="pl-c1">436397</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1645</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">26</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span> ], [<span class="pl-c1">431159</span>,<span class="pl-c1">436397</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1645</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">22</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span> ], [<span class="pl-c1">439313</span>,<span class="pl-c1">432376</span>,<span class="pl-c1">2</span>,<span class="pl-c1">956</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">57</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span> ], [<span class="pl-c1">426994</span>,<span class="pl-c1">439957</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1115</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">59</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span> ], [<span class="pl-c1">427813</span>,<span class="pl-c1">431257</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1352</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">53</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span> ], [<span class="pl-c1">431496</span>,<span class="pl-c1">432727</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2015</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">22</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span> ], [<span class="pl-c1">431880</span>,<span class="pl-c1">430498</span>,<span class="pl-c1">2</span>,<span class="pl-c1">1110</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">2</span>,<span class="pl-c1">20</span>,<span class="pl-c1">1</span>,<span class="pl-c1">1</span>]] <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">data</span>).<span class="pl-en">reshape</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-c1">13</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span>[:,<span class="pl-c1">12</span>] <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">data</span>[:,<span class="pl-c1">0</span>:<span class="pl-c1">12</span>] <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">GaussianNB</span>() <span class="pl-s1">model</span>.<span class="pl-en">fit</span>(<span class="pl-v">X</span>, <span class="pl-s1">y</span>) <span class="pl-v">X_test</span> <span class="pl-c1">=</span> [<span class="pl-s">'427750'</span>, <span class="pl-s">'426259'</span>, <span class="pl-s">'2'</span>, <span class="pl-s">'1610'</span>, <span class="pl-s">'2'</span>, <span class="pl-s">'1'</span>, <span class="pl-s">'2'</span>, <span class="pl-s">'1'</span>, <span class="pl-s">'4'</span>, <span class="pl-s">'1'</span>, <span class="pl-s">'47'</span>, <span class="pl-s">'2'</span>] <span class="pl-v">X_test</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">reshape</span>(<span class="pl-v">X_test</span>, [<span class="pl-c1">1</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>]) <span class="pl-s1">y_pred</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">predict</span>(<span class="pl-v">X_test</span>)</pre></div> <h4 dir="auto">Expected Results</h4> <p dir="auto">Error should have been thrown as input in X_test is non numerical.</p> <h4 dir="auto">Actual Results</h4> <p dir="auto">A different error occured:</p> <p dir="auto">File "/home/local/EZDI/vivek.k/Desktop/untitlsss.py", line 33, in <br> y_pred = model.predict(X_test)</p> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/naive_bayes.py", line 66, in predict<br> jll = self._joint_log_likelihood(X)</p> <p dir="auto">File "/usr/local/lib/python2.7/dist-packages/sklearn/naive_bayes.py", line 433, in <em>joint_log_likelihood<br> n_ij -= 0.5 * np.sum(((X - self.theta</em>[i, :]) ** 2) /</p> <p dir="auto">TypeError: ufunc 'subtract' did not contain a loop with signature matching types dtype('S32') dtype('S32') dtype('S32')</p>
<p dir="auto">Currently, dtype='numeric' is defined as "dtype is preserved unless array.dtype is object". This seems overly lenient and strange behaviour, as in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="242363947" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/9342" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/9342/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/9342">#9342</a> where <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qinhanmin2014/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qinhanmin2014">@qinhanmin2014</a> shows that <code class="notranslate">check_array(['a', 'b', 'c'], dtype='numeric')</code> works without error and produces an array of strings! This behaviour is not tested and it's hard to believe that it is useful and intended. Perhaps we need a deprecation cycle, but I think dtype='numeric' should raise an error, or attempt to coerce, if the data does not actually have a numeric, real-valued dtype.</p>
1
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p> <pre class="notranslate">primes := []int{2, 3, 5, 7, 9, 2147483647} I gather from the storied history of this line [note 1] that this is some kind of inside joke, but I feel torn because you also say "We pride ourselves on being meticulous; no issue is too small." [note 2] At the risk of failing your humor test, I hereby file this defect report :-) [note 1] <a href="https://code.google.com/p/go/source/detail?name=3bbc978a64a4" rel="nofollow">https://code.google.com/p/go/source/detail?name=3bbc978a64a4</a> <a href="https://code.google.com/p/go/source/detail?name=61a004522a55" rel="nofollow">https://code.google.com/p/go/source/detail?name=61a004522a55</a> <a href="https://code.google.com/p/go/source/detail?r=389444436d35" rel="nofollow">https://code.google.com/p/go/source/detail?r=389444436d35</a> <a href="https://code.google.com/p/go/source/detail?r=c90b59861968" rel="nofollow">https://code.google.com/p/go/source/detail?r=c90b59861968</a> [note 2] <a href="http://golang.org/project/" rel="nofollow">http://golang.org/project/</a></pre>
<p dir="auto">by <strong>anta40</strong>:</p> <pre class="notranslate">I just updated my go source code, and this was the latest commit, anyway: changeset: 16999:cda3832e9a12 tag: tip user: Anthony Martin &lt;[email protected]&gt; date: Tue Jun 04 17:30:45 2013 -0700 summary: mime: add support for Plan 9 Tried to build it on 32-bit Windows 7 using gcc 4.8.0 from MinGW-builds project, and I got this: # ..\misc\cgo\test --- FAIL: TestParallelSleep (1.00 seconds) basic.go:570: difference in start time for two sleep(1) is 230h50m49.392s basic.go:575: parallel 1-second sleeps slept for 831049.392000 seconds FAIL scatter = 00498F97 hello from C FAIL _/C_/go/misc/cgo/test 1.150s Maybe I should revert back to previous version of gcc, like 4.7.2?</pre>
0
<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-5879?redirect=false" rel="nofollow">SPR-5879</a></strong> and commented</p> <p dir="auto">Some, but not all of the functionality available in <code class="notranslate">AbstractTransactionalSpringContextTests</code> is currently available in the TestContext framework.</p> <p dir="auto">Notably missing is support for <code class="notranslate">setComplete()</code>, <code class="notranslate">endTransaction()</code>, and <code class="notranslate">startNewTransaction()</code> methods.</p> <p dir="auto">Since these methods ultimately manipulate thread-bound resources, it should be possible to provide equivalent support through static methods on utility class that ships as part of the TestContext support.</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="398090331" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9753" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9753/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9753">#9753</a> Support programmatic starting and stopping of transactions in the TestContext framework (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">1 votes, 1 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=p_d_austin" rel="nofollow">Paul Austin</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6993?redirect=false" rel="nofollow">SPR-6993</a></strong> and commented</p> <p dir="auto">At the moment the AnnotationMethodHandlerAdaptor only uses a simple approach to content negotiation for RequestBody and ResponseBody parameters using the Accept and Content-type headers.</p> <p dir="auto">It would be useful if additional content negotiation, such as using file name extensions, request parameter and a default media type were also provided. This is similar to the approach provided by the ContentNegotiatingViewResolver for views.</p> <p dir="auto">I have implemented an example implementation if you'd like to use that as a basis for the implementation.</p> <p dir="auto">Look at the ServletHandlerMethodInvoker.handleResponseBodyMethod and the ServletHandlerMethodInvoker.resolveRequestBody. You'll see it uses a MediaTypeUtils class to get all the possible accepted media types.</p> <p dir="auto">The MediaTypeUtils uses the mediaTypeOrder field to decide which order the content negotiation should be performed in. This gives the developer the option to decide which types of content negotiation can be performed and the precedence order of these. The important thing to note is that all media types from all the selected sources are added so that there is fall back if one of the options is not supported by the different message converters.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.1</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/16304/AnnotationMethodHandlerAdapter.java" rel="nofollow">AnnotationMethodHandlerAdapter.java</a> (<em>47.27 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/16474/ContentNegotatingResponseBody.java" rel="nofollow">ContentNegotatingResponseBody.java</a> (<em>5.91 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/16473/ContentNegotatingResponseBody.java" rel="nofollow">ContentNegotatingResponseBody.java</a> (<em>5.86 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/16303/MediaTypeUtil.java" rel="nofollow">MediaTypeUtil.java</a> (<em>4.29 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398100331" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11163" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11163/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11163">#11163</a> <code class="notranslate">@RequestMapping</code> should support accept header and url extension (<em><strong>"duplicates"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112762" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13057" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13057/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13057">#13057</a> Content negotiation improvements (<em><strong>"is superseded by"</strong></em>)</li> </ul> <p dir="auto">9 votes, 7 watchers</p>
0
<h3 dir="auto">System Info</h3> <p dir="auto">working:</p> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.26.1</li> <li>Platform: Linux-6.0.12-x86_64-with-glibc2.10</li> <li>Python version: 3.8.16</li> <li>Huggingface_hub version: 0.12.0</li> <li>PyTorch version (GPU?): 1.13.1+cu117 (True)</li> <li>Tensorflow version (GPU?): not installed (NA)</li> <li>Flax version (CPU?/GPU?/TPU?): not installed (NA)</li> <li>Jax version: not installed</li> <li>JaxLib version: not installed</li> <li>Using GPU in script?: yes</li> <li>Using distributed or parallel set-up in script?: no</li> </ul> <p dir="auto">broken:</p> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.27.0.dev0</li> <li>Platform: Linux-6.0.12-x86_64-with-glibc2.10</li> <li>Python version: 3.8.16</li> <li>Huggingface_hub version: 0.12.0</li> <li>PyTorch version (GPU?): 1.13.1+cu117 (True)</li> <li>Tensorflow version (GPU?): not installed (NA)</li> <li>Flax version (CPU?/GPU?/TPU?): not installed (NA)</li> <li>Jax version: not installed</li> <li>JaxLib version: not installed</li> <li>Using GPU in script?: yes</li> <li>Using distributed or parallel set-up in script?: no</li> </ul> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gante/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gante">@gante</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NielsRogge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NielsRogge">@NielsRogge</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</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> <h3 dir="auto">Reproduction</h3> <ol dir="auto"> <li>Start with clean env setup via <a href="https://github.com/salesforce/LAVIS/blob/main/requirements.txt">https://github.com/salesforce/LAVIS/blob/main/requirements.txt</a> (transformers-4.26.1)</li> <li>Run <code class="notranslate">python test_simple.py</code>, model is correctly loaded and prints a caption</li> <li><code class="notranslate">pip install --upgrade git+https://github.com/huggingface/transformers</code> (I wanted the new shiny blip2 conversion script so I can conver my finetuned model into HF format)</li> <li><code class="notranslate">Resolved https://github.com/huggingface/transformers to commit 8b3db33a763ccef828fca89bac7e6cbff314f131</code></li> <li>Run <code class="notranslate">python test_simple.py</code></li> <li><code class="notranslate">RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 25 but got size 5 for tensor number 1 in the list.</code></li> </ol> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch from lavis.models import load_model_and_preprocess import torch from PIL import Image import requests device = torch.device(&quot;cuda&quot; if torch.cuda.is_available() else &quot;cpu&quot;) model, vis_processors, _ = load_model_and_preprocess(name=&quot;blip2_opt&quot;, model_type=&quot;caption_coco_opt6.7b&quot;, is_eval=True, device=device) url = &quot;...&quot; raw_image = Image.open(requests.get(url, stream=True).raw).convert(&quot;RGB&quot;) image = vis_processors[&quot;eval&quot;](raw_image).unsqueeze(0).to(device) data = model.generate({&quot;image&quot;: image}) print(data)"><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">lavis</span>.<span class="pl-s1">models</span> <span class="pl-k">import</span> <span class="pl-s1">load_model_and_preprocess</span> <span class="pl-k">import</span> <span class="pl-s1">torch</span> <span class="pl-k">from</span> <span class="pl-v">PIL</span> <span class="pl-k">import</span> <span class="pl-v">Image</span> <span class="pl-k">import</span> <span class="pl-s1">requests</span> <span class="pl-s1">device</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">device</span>(<span class="pl-s">"cuda"</span> <span class="pl-k">if</span> <span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-en">is_available</span>() <span class="pl-k">else</span> <span class="pl-s">"cpu"</span>) <span class="pl-s1">model</span>, <span class="pl-s1">vis_processors</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-en">load_model_and_preprocess</span>(<span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">"blip2_opt"</span>, <span class="pl-s1">model_type</span><span class="pl-c1">=</span><span class="pl-s">"caption_coco_opt6.7b"</span>, <span class="pl-s1">is_eval</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">device</span><span class="pl-c1">=</span><span class="pl-s1">device</span>) <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s">"..."</span> <span class="pl-s1">raw_image</span> <span class="pl-c1">=</span> <span class="pl-v">Image</span>.<span class="pl-en">open</span>(<span class="pl-s1">requests</span>.<span class="pl-en">get</span>(<span class="pl-s1">url</span>, <span class="pl-s1">stream</span><span class="pl-c1">=</span><span class="pl-c1">True</span>).<span class="pl-s1">raw</span>).<span class="pl-en">convert</span>(<span class="pl-s">"RGB"</span>) <span class="pl-s1">image</span> <span class="pl-c1">=</span> <span class="pl-s1">vis_processors</span>[<span class="pl-s">"eval"</span>](<span class="pl-s1">raw_image</span>).<span class="pl-en">unsqueeze</span>(<span class="pl-c1">0</span>).<span class="pl-en">to</span>(<span class="pl-s1">device</span>) <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">generate</span>({<span class="pl-s">"image"</span>: <span class="pl-s1">image</span>}) <span class="pl-en">print</span>(<span class="pl-s1">data</span>)</pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Can use BLIP2 with latest HF</p>
<h3 dir="auto">System Info</h3> <p dir="auto"><code class="notranslate">transformers</code> version: 4.27.0.dev0</p> <h3 dir="auto">Who can help?</h3> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NielsRogge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NielsRogge">@NielsRogge</a></p> <h3 dir="auto">Information</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li> </ul> <h3 dir="auto">Tasks</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own task or dataset (give details below)</li> </ul> <h3 dir="auto">Reproduction</h3> <p dir="auto">The following error happens when running BLIP-2 model's generate() with num_beams&gt;1 and input batch_size&gt;1</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/13638455/218443029-8bc45f00-4884-4785-95a9-228aa08d1266.png"><img width="892" alt="Screenshot 2023-02-13 at 6 53 28 pm" src="https://user-images.githubusercontent.com/13638455/218443029-8bc45f00-4884-4785-95a9-228aa08d1266.png" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected behavior</h3> <p dir="auto">The model should be able to do batch generate.</p>
1
<p dir="auto">Minimum example is at bottom. The problem is that self.coef_ in SGDClassifier is set to F-order and is not unset from it when the chain of calls from the second fit() eventually hits fit_binary(). My solution, in forthcoming PR, is to make sure that coef_ is set back to C-order before training.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [1]: from sklearn.linear_model import SGDClassifier In [2]: X = np.random.rand(100, 10) In [3]: y = np.random.randint(3, size=100) In [4]: clf = SGDClassifier(warm_start=False) In [5]: clf.fit(X, y) Out[5]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=False) In [6]: clf.fit(X, y) Out[6]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=False) In [7]: clf = SGDClassifier(warm_start=True) In [8]: clf.fit(X, y) Out[8]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=True) In [9]: clf.fit(X, y) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-9-1a154f38b9fb&gt; in &lt;module&gt;() ----&gt; 1 clf.fit(X, y) /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in fit(self, X, y, coef_init, intercept_init, class_weight, sample_weight) 522 coef_init=coef_init, intercept_init=intercept_init, 523 class_weight=class_weight, --&gt; 524 sample_weight=sample_weight) 525 526 /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _fit(self, X, y, alpha, C, loss, learning_rate, coef_init, intercept_init, class_weight, sample_weight) 421 422 self._partial_fit(X, y, alpha, C, loss, learning_rate, self.n_iter, --&gt; 423 classes, sample_weight, coef_init, intercept_init) 424 425 # fitting is over, we can now transform coef_ to fortran order /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _partial_fit(self, X, y, alpha, C, loss, learning_rate, n_iter, classes, sample_weight, coef_init, intercept_init) 374 self._fit_multiclass(X, y, alpha=alpha, C=C, 375 learning_rate=learning_rate, --&gt; 376 sample_weight=sample_weight, n_iter=n_iter) 377 elif n_classes == 2: 378 self._fit_binary(X, y, alpha=alpha, C=C, /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _fit_multiclass(self, X, y, alpha, C, learning_rate, sample_weight, n_iter) 454 n_iter, self._expanded_class_weight[i], 1., 455 sample_weight) --&gt; 456 for i in range(len(self.classes_))) 457 458 for i, (coef, intercept) in enumerate(result): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in __call__(self, iterable) 512 try: 513 for function, args, kwargs in iterable: --&gt; 514 self.dispatch(function, args, kwargs) 515 516 self.retrieve() /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in dispatch(self, func, args, kwargs) 309 &quot;&quot;&quot; 310 if self._pool is None: --&gt; 311 job = ImmediateApply(func, args, kwargs) 312 index = len(self._jobs) 313 if not _verbosity_filter(index, self.verbose): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in __init__(self, func, args, kwargs) 133 # Don't delay the application, to avoid keeping the input 134 # arguments in memory --&gt; 135 self.results = func(*args, **kwargs) 136 137 def get(self): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in fit_binary(est, i, X, y, alpha, C, learning_rate, n_iter, pos_weight, neg_weight, sample_weight) 281 pos_weight, neg_weight, 282 learning_rate_type, est.eta0, --&gt; 283 est.power_t, est.t_, intercept_decay) 284 285 /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/sgd_fast.so in sklearn.linear_model.sgd_fast.plain_sgd (sklearn/linear_model/sgd_fast.c:7362)() ValueError: ndarray is not C-contiguous"><pre class="notranslate"><code class="notranslate">In [1]: from sklearn.linear_model import SGDClassifier In [2]: X = np.random.rand(100, 10) In [3]: y = np.random.randint(3, size=100) In [4]: clf = SGDClassifier(warm_start=False) In [5]: clf.fit(X, y) Out[5]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=False) In [6]: clf.fit(X, y) Out[6]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=False) In [7]: clf = SGDClassifier(warm_start=True) In [8]: clf.fit(X, y) Out[8]: SGDClassifier(alpha=0.0001, class_weight=None, epsilon=0.1, eta0=0.0, fit_intercept=True, l1_ratio=0.15, learning_rate='optimal', loss='hinge', n_iter=5, n_jobs=1, penalty='l2', power_t=0.5, random_state=None, rho=None, shuffle=False, verbose=0, warm_start=True) In [9]: clf.fit(X, y) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-9-1a154f38b9fb&gt; in &lt;module&gt;() ----&gt; 1 clf.fit(X, y) /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in fit(self, X, y, coef_init, intercept_init, class_weight, sample_weight) 522 coef_init=coef_init, intercept_init=intercept_init, 523 class_weight=class_weight, --&gt; 524 sample_weight=sample_weight) 525 526 /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _fit(self, X, y, alpha, C, loss, learning_rate, coef_init, intercept_init, class_weight, sample_weight) 421 422 self._partial_fit(X, y, alpha, C, loss, learning_rate, self.n_iter, --&gt; 423 classes, sample_weight, coef_init, intercept_init) 424 425 # fitting is over, we can now transform coef_ to fortran order /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _partial_fit(self, X, y, alpha, C, loss, learning_rate, n_iter, classes, sample_weight, coef_init, intercept_init) 374 self._fit_multiclass(X, y, alpha=alpha, C=C, 375 learning_rate=learning_rate, --&gt; 376 sample_weight=sample_weight, n_iter=n_iter) 377 elif n_classes == 2: 378 self._fit_binary(X, y, alpha=alpha, C=C, /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in _fit_multiclass(self, X, y, alpha, C, learning_rate, sample_weight, n_iter) 454 n_iter, self._expanded_class_weight[i], 1., 455 sample_weight) --&gt; 456 for i in range(len(self.classes_))) 457 458 for i, (coef, intercept) in enumerate(result): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in __call__(self, iterable) 512 try: 513 for function, args, kwargs in iterable: --&gt; 514 self.dispatch(function, args, kwargs) 515 516 self.retrieve() /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in dispatch(self, func, args, kwargs) 309 """ 310 if self._pool is None: --&gt; 311 job = ImmediateApply(func, args, kwargs) 312 index = len(self._jobs) 313 if not _verbosity_filter(index, self.verbose): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.pyc in __init__(self, func, args, kwargs) 133 # Don't delay the application, to avoid keeping the input 134 # arguments in memory --&gt; 135 self.results = func(*args, **kwargs) 136 137 def get(self): /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/stochastic_gradient.pyc in fit_binary(est, i, X, y, alpha, C, learning_rate, n_iter, pos_weight, neg_weight, sample_weight) 281 pos_weight, neg_weight, 282 learning_rate_type, est.eta0, --&gt; 283 est.power_t, est.t_, intercept_decay) 284 285 /Users/sergeyk/.virtual_envs/system/lib/python2.7/site-packages/sklearn/linear_model/sgd_fast.so in sklearn.linear_model.sgd_fast.plain_sgd (sklearn/linear_model/sgd_fast.c:7362)() ValueError: ndarray is not C-contiguous </code></pre></div>
<p dir="auto">Can we get a copy for code block like the following?</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/7d5aa0b71b8736ce87c1d596e2494734fbe53a127855d994156b4ee44c1bf8b3/68747470733a2f2f6661726d352e737461746963666c69636b722e636f6d2f343930342f33303735303433383032375f633934383734333139365f622e6a7067"><img src="https://camo.githubusercontent.com/7d5aa0b71b8736ce87c1d596e2494734fbe53a127855d994156b4ee44c1bf8b3/68747470733a2f2f6661726d352e737461746963666c69636b722e636f6d2f343930342f33303735303433383032375f633934383734333139365f622e6a7067" alt="" data-canonical-src="https://farm5.staticflickr.com/4904/30750438027_c948743196_b.jpg" style="max-width: 100%;"></a></p> <p dir="auto">Tensorflow has it and I just submitted PR for <code class="notranslate">scikit-image</code> and I would love to submit PR for <code class="notranslate">scikit-learn</code> using this <a href="https://github.com/choldgraf/sphinx-copybutton">sphinx-copybutton</a> extension.</p>
0
<h2 dir="auto">Environment info</h2> <ul dir="auto"> <li>OS: Linux 4.13.0-31-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177291339" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/34" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/34/hovercard" href="https://github.com/pytorch/pytorch/pull/34">#34</a>~16.04.1-Ubuntu</li> <li>PyTorch version: 0.3</li> <li>How you installed PyTorch (conda, pip, source): pip</li> <li>Python version: 3.5</li> <li>CUDA/cuDNN version: 8/7</li> <li>GPU models and configuration: 1080Ti</li> </ul> <h2 dir="auto">Issue</h2> <p dir="auto">Snippet:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="print(&quot;============================================================&quot;) if DEBUG_LOG1 : print(&quot;type(decoder_output) = {}&quot;.format(type(decoder_output))) if DEBUG_LOG1 : print(&quot;decoder_output.size() = {}&quot;.format(decoder_output.size())) print(&quot;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&quot;) if DEBUG_LOG1 : print(&quot;decoder_output.data.topk(1) = &quot;.format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print(&quot;decoder_output.data.topk(1) = &quot;.format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print(&quot;decoder_output.data.topk(1) = &quot;.format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print(&quot;decoder_output.data.topk(1) = &quot;.format(decoder_output.data.topk(1))) print(&quot;////////////////////////////////////////////////////////////&quot;) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print(&quot;topi,topv = {}{}&quot;.format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print(&quot;topi,topv = {}{}&quot;.format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print(&quot;topi,topv = {}{}&quot;.format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print(&quot;topi,topv = {}{}&quot;.format(topi,topv)) print(&quot;------------------------------------------------------------&quot;)"><pre class="notranslate"><code class="notranslate">print("============================================================") if DEBUG_LOG1 : print("type(decoder_output) = {}".format(type(decoder_output))) if DEBUG_LOG1 : print("decoder_output.size() = {}".format(decoder_output.size())) print("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++") if DEBUG_LOG1 : print("decoder_output.data.topk(1) = ".format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print("decoder_output.data.topk(1) = ".format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print("decoder_output.data.topk(1) = ".format(decoder_output.data.topk(1))) if DEBUG_LOG1 : print("decoder_output.data.topk(1) = ".format(decoder_output.data.topk(1))) print("////////////////////////////////////////////////////////////") topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print("topi,topv = {}{}".format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print("topi,topv = {}{}".format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print("topi,topv = {}{}".format(topi,topv)) topv, topi = decoder_output.data.topk(1) if DEBUG_LOG1 : print("topi,topv = {}{}".format(topi,topv)) print("------------------------------------------------------------") </code></pre></div> <p dir="auto">Out:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="============================================================ type(decoder_output) = &lt;class 'torch.autograd.variable.Variable'&gt; decoder_output.size() = torch.Size([1, 29419]) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) //////////////////////////////////////////////////////////// topi,topv = 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 9.2234e+18 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 9.2234e+18 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 2.1475e+09 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] ------------------------------------------------------------ "><pre class="notranslate"><code class="notranslate">============================================================ type(decoder_output) = &lt;class 'torch.autograd.variable.Variable'&gt; decoder_output.size() = torch.Size([1, 29419]) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) decoder_output.data.topk(1) = ( nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] , 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] ) //////////////////////////////////////////////////////////// topi,topv = 0 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 9.2234e+18 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 9.2234e+18 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] topi,topv = 2.1475e+09 [torch.cuda.LongTensor of size 1x1 (GPU 0)] nan [torch.cuda.FloatTensor of size 1x1 (GPU 0)] ------------------------------------------------------------ </code></pre></div>
<p dir="auto">Should I report this to torch repository?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; torch.topk(torch.FloatTensor([-1,float(&quot;nan&quot;),2, 1]), 1) ( 2 [torch.FloatTensor of size 1], 2 [torch.LongTensor of size 1]) &gt;&gt;&gt; torch.topk(torch.cuda.FloatTensor([-1,float(&quot;nan&quot;),2]), 1) ( nan [torch.cuda.FloatTensor of size 1 (GPU 0)], 9.2054e+18 [torch.cuda.LongTensor of size 1 (GPU 0)])"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">topk</span>(<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>),<span class="pl-c1">2</span>, <span class="pl-c1">1</span>]), <span class="pl-c1">1</span>) ( <span class="pl-c1">2</span> [<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">1</span>], <span class="pl-c1">2</span> [<span class="pl-s1">torch</span>.<span class="pl-v">LongTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">1</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">topk</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>),<span class="pl-c1">2</span>]), <span class="pl-c1">1</span>) ( <span class="pl-s1">nan</span> [<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">1</span> (<span class="pl-v">GPU</span> <span class="pl-c1">0</span>)], <span class="pl-c1">9.2054e+18</span> [<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">LongTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">1</span> (<span class="pl-v">GPU</span> <span class="pl-c1">0</span>)])</pre></div> <p dir="auto">In CPU, <code class="notranslate">topk</code> seems to ignore "nan" and its indices from result.<br> In GPU, <code class="notranslate">topk</code> with "nan" is kind of undefined behavior?</p> <p dir="auto">and other examples</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; torch.max(torch.cuda.FloatTensor([float(&quot;nan&quot;), 1])) 1.0 &gt;&gt;&gt; torch.max(torch.FloatTensor([float(&quot;nan&quot;), 1])) nan &gt;&gt;&gt; torch.min(torch.cuda.FloatTensor([float(&quot;nan&quot;), 1])) 1.0 &gt;&gt;&gt; torch.min(torch.FloatTensor([float(&quot;nan&quot;), 1])) nan"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">max</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) <span class="pl-c1">1.0</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">max</span>(<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) <span class="pl-s1">nan</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">min</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) <span class="pl-c1">1.0</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">min</span>(<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) <span class="pl-s1">nan</span></pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; torch.sort(torch.FloatTensor([float(&quot;nan&quot;), 1])) ( nan 1 [torch.FloatTensor of size 2], 0 1 [torch.LongTensor of size 2]) &gt;&gt; torch.sort(torch.cuda.FloatTensor([float(&quot;nan&quot;), 1])) ( 1 nan [torch.cuda.FloatTensor of size 2 (GPU 0)], 1 0 [torch.cuda.LongTensor of size 2 (GPU 0)])"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">sort</span>(<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) ( <span class="pl-s1">nan</span> <span class="pl-c1">1</span> [<span class="pl-s1">torch</span>.<span class="pl-v">FloatTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">2</span>], <span class="pl-c1">0</span> <span class="pl-c1">1</span> [<span class="pl-s1">torch</span>.<span class="pl-v">LongTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">2</span>]) <span class="pl-c1">&gt;&gt;</span> <span class="pl-s1">torch</span>.<span class="pl-en">sort</span>(<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span>([<span class="pl-en">float</span>(<span class="pl-s">"nan"</span>), <span class="pl-c1">1</span>])) ( <span class="pl-c1">1</span> <span class="pl-s1">nan</span> [<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">FloatTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">2</span> (<span class="pl-v">GPU</span> <span class="pl-c1">0</span>)], <span class="pl-c1">1</span> <span class="pl-c1">0</span> [<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-v">LongTensor</span> <span class="pl-s1">of</span> <span class="pl-s1">size</span> <span class="pl-c1">2</span> (<span class="pl-v">GPU</span> <span class="pl-c1">0</span>)])</pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/VitalyFedyunin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/VitalyFedyunin">@VitalyFedyunin</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/heitorschueroff/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/heitorschueroff">@heitorschueroff</a></p>
1
<p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong></p> <p dir="auto">I'm struggling with a poor performance when certain number of meshes are being rendered.</p> <p dir="auto">Doing some research about the inner working of the threejs pipeline, I found that in the render process is being performed a filtering with the purpose of renders only visible objects laying within the camera frustum. But despite to be nesting the meshes in groups, the process of filtering is performed only in Mesh, Line or Point objects.</p> <p dir="auto"><strong>Describe the solution you'd like</strong></p> <p dir="auto">Could be interesting to implement the possibility of computing bounding boxes in Groups to avoid to check their children if them are laying outside the camera frustum.</p> <p dir="auto">For example if you have a scene with 100 groups of 10 meshes each, with the actual way there are performed a 1000 of checks to know what meshes are laying within the camera frustum. Implementing bounding boxes in groups, only 100 checks would be needed to know what groups are laying within the camera frustum and then checks the children of groups which tested positive.</p> <p dir="auto">The bounding box of the group could be updated by the user or each time a children is added or removed, performing an union with the children's bounding box.</p> <p dir="auto">And the same could be applied in Raycaster</p> <p dir="auto"><strong>Describe alternatives you've considered</strong></p> <p dir="auto">I have structured the scene in chunks, so my idea is to perform a pre filter before call the render method.</p> <p dir="auto"><strong>Additional context</strong></p> <ul dir="auto"> <li></li> </ul>
<p dir="auto">At the moment <code class="notranslate">BufferGeometry</code>'s groups are sorted using the centre of the whole BufferGeometry. In the near future we could consider having a <code class="notranslate">BoundingSphere</code> per group so transparent sub parts of a geometry get proper sorted.</p> <p dir="auto">Follow up from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="103756213" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/7066" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/7066/hovercard" href="https://github.com/mrdoob/three.js/issues/7066">#7066</a>.</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=baronludwig" rel="nofollow">Marc Ludwig</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3873?redirect=false" rel="nofollow">SPR-3873</a></strong> and commented</p> <p dir="auto">I have been using both LTW and Component scanning using 2.1 M3. (This is actually for testing as we use Compile Time Weaving in the built application).<br> Just tried with 2.1 M4, and it appears that duplicate bean definitions are being generated, causing exceptions.</p> <p dir="auto">The XML config is as follows:<br> [code]</p> <p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p> <p dir="auto">&lt;beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br> xmlns:util="<a href="http://www.springframework.org/schema/util" rel="nofollow">http://www.springframework.org/schema/util</a>"<br> xmlns:context="<a href="http://www.springframework.org/schema/context" rel="nofollow">http://www.springframework.org/schema/context</a>"<br> xmlns:tx="<a href="http://www.springframework.org/schema/tx" rel="nofollow">http://www.springframework.org/schema/tx</a>"<br> xmlns:jee="<a href="http://www.springframework.org/schema/jee" rel="nofollow">http://www.springframework.org/schema/jee</a>"<br> xsi:schemaLocation="<br> <a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a><br> <a href="http://www.springframework.org/schema/util" rel="nofollow">http://www.springframework.org/schema/util</a> <a href="http://www.springframework.org/schema/util/spring-util.xsd" rel="nofollow">http://www.springframework.org/schema/util/spring-util.xsd</a><br> <a href="http://www.springframework.org/schema/tx" rel="nofollow">http://www.springframework.org/schema/tx</a> <a href="http://www.springframework.org/schema/tx/spring-tx.xsd" rel="nofollow">http://www.springframework.org/schema/tx/spring-tx.xsd</a><br> <a href="http://www.springframework.org/schema/context" rel="nofollow">http://www.springframework.org/schema/context</a> <a href="http://www.springframework.org/schema/context/spring-context-2.1.xsd" rel="nofollow">http://www.springframework.org/schema/context/spring-context-2.1.xsd</a><br> <a href="http://www.springframework.org/schema/jee" rel="nofollow">http://www.springframework.org/schema/jee</a> <a href="http://www.springframework.org/schema/jee/spring-jee.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/jee/spring-jee.xsd"&gt;</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;context:load-time-weaver aspectj-weaving=&quot;on&quot;/&gt; &lt;context:component-scan annotation-config=&quot;true&quot; base-package=&quot;base.package&quot;/&gt;"><pre class="notranslate"><code class="notranslate">&lt;context:load-time-weaver aspectj-weaving="on"/&gt; &lt;context:component-scan annotation-config="true" base-package="base.package"/&gt; </code></pre></div> <p dir="auto">&lt;/beans&gt;<br> [/code]</p> <p dir="auto">If any <code class="notranslate">@Component</code> is picked up by the scanning then the following exception is thrown:<br> [code]<br> org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [base.package.domain.ObjectWithDependencies] for bean with name 'objectWithDependencies' defined in null: problem with class file or dependent class; nested exception is java.lang.LinkageError: duplicate class definition:base/package/domain/ObjectWithDependencies<br> [/code]</p> <p dir="auto">Is it now incorrect to combine the component scanning and load time weaving, or is this unexpected behaviour?</p> <p dir="auto">Regards</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.1 M4</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/13019/spring-ltw-test.zip" rel="nofollow">spring-ltw-test.zip</a> (<em>6.42 kB</em>)</li> </ul> <p dir="auto">1 votes, 2 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=abeani" rel="nofollow">Andreas Benneke</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7900?redirect=false" rel="nofollow">SPR-7900</a></strong> and commented</p> <p dir="auto">Annotation driven injection on public methods specified in a non-public base classes does not work, because Java generates bridge methods for the subclass which are not ignored by Spring (as they should IMHO).</p> <p dir="auto">Example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/* not public! */ class Base { @Resource public void setResource(Injectable injectable) { ... } } @Component public class Target extends Base { }"><pre class="notranslate"><code class="notranslate">/* not public! */ class Base { @Resource public void setResource(Injectable injectable) { ... } } @Component public class Target extends Base { } </code></pre></div> <p dir="auto">Same applies to <code class="notranslate">@Autowired</code>.</p> <p dir="auto">The attached maven project demonstrates this.</p> <p dir="auto">Workarounds: Use field injection, re-declare the method(s) in the subclass or make the base class public.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.5</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/17536/injection-test.zip" rel="nofollow">injection-test.zip</a> (<em>3.10 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/18361/mylyn-context.zip" rel="nofollow">mylyn-context.zip</a> (<em>4.65 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112881" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13080" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13080/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13080">#13080</a> AutowiredAnnotationBeanPostProcessor should ignore bridge methods when looking for annotations (<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="398114331" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13302" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13302/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13302">#13302</a> Bridged method detection leads to false positive detection of autowired annotations</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398174302" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17096" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17096/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17096">#17096</a> <code class="notranslate">@Resource</code> injection broken under spring-framework &gt; 4.1.0</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398174348" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17101" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17101/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17101">#17101</a> Consistent bridge method handling in annotation post-processors</li> </ul>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: xxx</li> <li>Operating System version: xxx</li> <li>Java version: xxx</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>xxx</li> <li>xxx</li> <li>xxx</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.7.2</li> <li>Operating System version: win10</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">this issue</h3> <p dir="auto">[DUBBO] Duplicate class org/apache/dubbo/common/Version.class in 2 jar [file:/E:/maven/repository/default/org/apache/dubbo/dubbo/2.7.2/<br> dubbo-2.7.2.jar<br> !/org/apache/dubbo/common/Version.class, file:/E:/maven/repository/default/org/apache/dubbo/dubbo-common/2.7.2/<br> dubbo-common-2.7.2.jar<br> !/org/apache/dubbo/common/Version.class], dubbo version: 2.7.2</p>
0
<h1 dir="auto">Environment</h1> <p dir="auto">Windows build number: 18362<br> OS version: 10.0.18362<br> Powershell Core version: 6.2.3<br> Windows Terminal version: 0.5.2762.0</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Open new tabs until they exceed the edge of the titlebar</p> <h1 dir="auto">Expected behavior</h1> <ul dir="auto"> <li>Existing tabs should be resized so all of them can be visible on the titlebar.<br> Or</li> <li>The tabs that exceed the titlebar edge should be aggregated in a single tab which: <ul dir="auto"> <li>is positioned to the right of the titlebar</li> <li>in it`s title has a value that represent the number of aggregated tabs</li> <li>when clicked on it, opens a dropdown with the aggregated tabs and the user is able to select<br> and switch to one of those</li> </ul> </li> </ul> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The tabs that exceed the edge of the window, are not visible.<br> They are only selectable with shortcuts, but you would have to remember their position or guess it, which is very unproductive.</p>
<p dir="auto">This bug-tracker is monitored by Windows Console development team and other technical types. <strong>We like detail!</strong></p> <p dir="auto">Please use this form and describe your issue, concisely but precisely, with as much detail as possible</p> <ul dir="auto"> <li> <p dir="auto">Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)<br> <strong>Microsoft Windows [Version 10.0.18898.1000]</strong></p> </li> <li> <p dir="auto">What you're doing and what's happening: (Copy &amp; paste specific commands and their output, or include screen shots)<br> <a href="https://youtu.be/SL61SMN4baI" rel="nofollow">Video demonstration of both issues below</a></p> <ul dir="auto"> <li>A newly created tab doesn't scroll the tab bar to the end - could possibly be a config variable</li> <li>When using tabs in the title bar and creating a new partially hidden tab, the tab gets cut off.</li> </ul> </li> <li> <p dir="auto">What's wrong / what should be happening instead:</p> <ul dir="auto"> <li>The tab should not be cut off.</li> </ul> </li> </ul>
1
<p dir="auto">I have the following in a component template:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;style is='custom-style'&gt;...&lt;/style&gt;"><pre class="notranslate"><code class="notranslate">&lt;style is='custom-style'&gt;...&lt;/style&gt; </code></pre></div> <p dir="auto">which is transformed and inserted under the 'head' tag:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;style&gt;...&lt;/style&gt;"><pre class="notranslate"><code class="notranslate">&lt;style&gt;...&lt;/style&gt; </code></pre></div> <p dir="auto">losing the "is='custom-style'" during the process.</p> <p dir="auto">This marker is needed by polymer.</p>
<h2 dir="auto">I'm submitting a...</h2> <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> <h2 dir="auto">Background</h2> <p dir="auto">Imagine you have the following webcomponent:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;expression&gt; &lt;script type='text/plain'&gt; If(var1 &lt; var2, Sum([Field 1]) , Sum([Field 2]) ) &lt;/script&gt; &lt;/expression&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">expression</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">type</span>='<span class="pl-s">text/plain</span>'<span class="pl-kos">&gt;</span> <span class="pl-v">If</span><span class="pl-kos">(</span><span class="pl-s1">var1</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">var2</span><span class="pl-kos">,</span> <span class="pl-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">expression</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">The component reads the text inside the script tag and sends it to a server which evaluates the result.</p> <p dir="auto">The webcomponent should be embedded in an Angular App. It is no Angular component and should just rendered as is.</p> <p dir="auto">It has to contain a script tag because <code class="notranslate">'text/plain'</code> allows it not to be parsed as HTML and like this, it is possible for expressions to contain characters like <code class="notranslate">&lt;</code> as in <code class="notranslate">var1 &lt; var2</code> without being recognized as the beginning of a html tag.</p> <h2 dir="auto">Current behavior</h2> <p dir="auto">Angular deletes all script tags inside templates, also those with text/plain. I read, that this is because you shouldn't mix JavaScript with Angular Templates, but this is just plain text.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto"><code class="notranslate">&lt;script type="text/plain"</code> should not be deleted. It is the only way to integrate text without having to escape all html characters.</p> <h2 dir="auto">Minimal reproduction of the problem with instructions</h2> <p dir="auto">Insert the following code into a template and see if it will be deleted.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;script type='text/plain'&gt; If(var1 &lt; var2, Sum([Field 1]) , Sum([Field 2]) ) &lt;/script&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">type</span>='<span class="pl-s">text/plain</span>'<span class="pl-kos">&gt;</span> <span class="pl-v">If</span><span class="pl-kos">(</span><span class="pl-s1">var1</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">var2</span><span class="pl-kos">,</span> <span class="pl-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-v">Sum</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-v">Field</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-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre></div> <h2 dir="auto">What is the motivation / use case for changing the behavior?</h2> <p dir="auto">If <code class="notranslate">&lt;script type="text/plain"</code> would not be deleted it is possible to insert everything which is not html without having to escape it. HTML 5 supports it and as far as I know there is no alternative. Also it isn't a security vulnerability.</p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Angular version: 6.1.0 Browser: - [x] Chrome (desktop) version 69"><pre class="notranslate"><code class="notranslate"> Angular version: 6.1.0 Browser: - [x] Chrome (desktop) version 69 </code></pre></div>
1
<h3 dir="auto">Steps to reproduce:</h3> <p dir="auto">Numpy compiled with GCC on same system works fine (no error in Inkscape).<br> Steps to reproduce:</p> <ul dir="auto"> <li>additional flags: <code class="notranslate">-O3 -pipe -march=skylake -mtune=skylake -D_FORTIFY_SOURCE=3 -gsplit-dwarf -flto=thin</code></li> <li>LDFLAGS: <code class="notranslate">-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-z,relro,-z,now -Wl,--undefined-version -Wl,--plugin-opt=dwo_dir= -Wl,--threads=4</code></li> <li>Compile numpy-<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/numpy/numpy-1.24.2.ebuild" rel="nofollow">1.24.2</a> with clang-<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/clang/clang-16.0.2.ebuild" rel="nofollow">16.0.2</a>/<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-devel/clang/clang-17.0.0_pre20230421.ebuild" rel="nofollow">17.0.0_pre20230421</a> and <code class="notranslate">-stdlib=libc++</code>.</li> <li>When trying to save an optimized svg with media-gfx/inkscape-<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/inkscape/inkscape-1.2.2.ebuild" rel="nofollow">1.2.2</a>, I get the following error message:</li> </ul> <h3 dir="auto">Error message:</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/usr/lib/python3.11/site-packages/numpy/core/__init__.py&quot;, line 23, in &lt;module&gt; from . import multiarray File &quot;/usr/lib/python3.11/site-packages/numpy/core/multiarray.py&quot;, line 10, in &lt;module&gt; from . import overrides File &quot;/usr/lib/python3.11/site-packages/numpy/core/overrides.py&quot;, line 6, in &lt;module&gt; from numpy.core._multiarray_umath import ( ImportError: Error relocating /usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-musl.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;/usr/share/inkscape/extensions/output_scour.py&quot;, line 7, in &lt;module&gt; import inkex File &quot;/usr/share/inkscape/extensions/inkex/__init__.py&quot;, line 11, in &lt;module&gt; from .extensions import * File &quot;/usr/share/inkscape/extensions/inkex/extensions.py&quot;, line 34, in &lt;module&gt; from .elements import ( File &quot;/usr/share/inkscape/extensions/inkex/elements/__init__.py&quot;, line 13, in &lt;module&gt; from ._polygons import PathElement, Polyline, Polygon, Line, Rectangle, Circle, Ellipse File &quot;/usr/share/inkscape/extensions/inkex/elements/_polygons.py&quot;, line 31, in &lt;module&gt; from ..bezier import pointdistance File &quot;/usr/share/inkscape/extensions/inkex/bezier.py&quot;, line 29, in &lt;module&gt; import numpy File &quot;/usr/lib/python3.11/site-packages/numpy/__init__.py&quot;, line 141, in &lt;module&gt; from . import core File &quot;/usr/lib/python3.11/site-packages/numpy/core/__init__.py&quot;, line 49, in &lt;module&gt; raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.11 from &quot;/usr/lib/python-exec/python3.11/python3&quot; * The NumPy version is: &quot;1.24.2&quot; and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: Error relocating /usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-musl.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found"><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.11/site-packages/numpy/core/__init__.py<span class="pl-pds">"</span></span>, line 23, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import multiarray File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.11/site-packages/numpy/core/multiarray.py<span class="pl-pds">"</span></span>, line 10, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import overrides File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.11/site-packages/numpy/core/overrides.py<span class="pl-pds">"</span></span>, line 6, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from numpy.core._multiarray_umath import ( ImportError: Error relocating /usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-musl.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/output_scour.py<span class="pl-pds">"</span></span>, line 7, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> import inkex File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/inkex/__init__.py<span class="pl-pds">"</span></span>, line 11, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from .extensions import <span class="pl-k">*</span> File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/inkex/extensions.py<span class="pl-pds">"</span></span>, line 34, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from .elements import ( File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/inkex/elements/__init__.py<span class="pl-pds">"</span></span>, line 13, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from ._polygons import PathElement, Polyline, Polygon, Line, Rectangle, Circle, Ellipse File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/inkex/elements/_polygons.py<span class="pl-pds">"</span></span>, line 31, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from ..bezier import pointdistance File <span class="pl-s"><span class="pl-pds">"</span>/usr/share/inkscape/extensions/inkex/bezier.py<span class="pl-pds">"</span></span>, line 29, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> import numpy File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.11/site-packages/numpy/__init__.py<span class="pl-pds">"</span></span>, line 141, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import core File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.11/site-packages/numpy/core/__init__.py<span class="pl-pds">"</span></span>, line 49, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE<span class="pl-k">!</span> Importing the numpy C-extensions failed. This error can happen <span class="pl-k">for</span> many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: <span class="pl-k">*</span> The Python version is: Python3.11 from <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python-exec/python3.11/python3<span class="pl-pds">"</span></span> <span class="pl-k">*</span> The NumPy version is: <span class="pl-s"><span class="pl-pds">"</span>1.24.2<span class="pl-pds">"</span></span> and make sure that they are the versions you expect. Please carefully study the documentation linked above <span class="pl-k">for</span> further help. Original error was: Error relocating /usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-x86_64-linux-musl.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found</pre></div> <h3 dir="auto">Additional information:</h3> <p dir="auto">OS: <code class="notranslate">Gentoo Linux amd64 musl/clang</code><br> Numpy version: numpy-<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/numpy/numpy-1.24.2.ebuild" rel="nofollow">1.24.2</a><br> Python version: python-<a href="https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-lang/python/python-3.11.3.ebuild" rel="nofollow">3.11.3</a><br> Not sure if it's related to Numpy or a Clang compiler bug.</p>
<h3 dir="auto">Describe the issue:</h3> <p dir="auto">When build numpy with LLVM 15 clang/clang++ and libcxx, it somehow include a symbol from libcxx in the file <a href="https://github.com/numpy/numpy/blob/main/numpy/core/src/npysort/binsearch.cpp">https://github.com/numpy/numpy/blob/main/numpy/core/src/npysort/binsearch.cpp</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="readelf -s --wide work/numpy-1.24.0-python3_10/temp.linux-x86_64-3.10/numpy/core/src/npysort/binsearch.o 94: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND _ZNSt3__122__libcpp_verbose_abortEPKcz"><pre class="notranslate"><code class="notranslate">readelf -s --wide work/numpy-1.24.0-python3_10/temp.linux-x86_64-3.10/numpy/core/src/npysort/binsearch.o 94: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND _ZNSt3__122__libcpp_verbose_abortEPKcz </code></pre></div> <p dir="auto">The symbol <code class="notranslate">_ZNSt3__122__libcpp_verbose_abortEPKcz</code> is used for abort a program with a special verbose information.<br> <a href="https://libcxx.llvm.org/UsingLibcxx.html#id7" rel="nofollow">https://libcxx.llvm.org/UsingLibcxx.html#id7</a><br> <a href="https://reviews.llvm.org/D130562" rel="nofollow">https://reviews.llvm.org/D130562</a></p> <p dir="auto">I don't know why this symbol was added, the code of that cpp don't seem to be relevant.</p> <p dir="auto">The numpy can be loaded if using <code class="notranslate">LD_PRELOAD=/usr/lib/libc++.so.1 python</code></p> <h3 dir="auto">Reproduce the code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span></pre></div> <h3 dir="auto">Error message:</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/usr/lib/python3.10/site-packages/numpy/core/__init__.py&quot;, line 23, in &lt;module&gt; from . import multiarray File &quot;/usr/lib/python3.10/site-packages/numpy/core/multiarray.py&quot;, line 10, in &lt;module&gt; from . import overrides File &quot;/usr/lib/python3.10/site-packages/numpy/core/overrides.py&quot;, line 6, in &lt;module&gt; from numpy.core._multiarray_umath import ( ImportError: Error relocating /usr/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/usr/lib/python3.10/site-packages/numpy/__init__.py&quot;, line 141, in &lt;module&gt; from . import core File &quot;/usr/lib/python3.10/site-packages/numpy/core/__init__.py&quot;, line 49, in &lt;module&gt; raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from &quot;/usr/lib/python-exec/python3.10/python&quot; * The NumPy version is: &quot;1.24.0&quot; and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: Error relocating /usr/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found"><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.10/site-packages/numpy/core/__init__.py<span class="pl-pds">"</span></span>, line 23, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import multiarray File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.10/site-packages/numpy/core/multiarray.py<span class="pl-pds">"</span></span>, line 10, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import overrides File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.10/site-packages/numpy/core/overrides.py<span class="pl-pds">"</span></span>, line 6, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from numpy.core._multiarray_umath import ( ImportError: Error relocating /usr/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>&lt;stdin&gt;<span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.10/site-packages/numpy/__init__.py<span class="pl-pds">"</span></span>, line 141, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> from <span class="pl-c1">.</span> import core File <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python3.10/site-packages/numpy/core/__init__.py<span class="pl-pds">"</span></span>, line 49, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE<span class="pl-k">!</span> Importing the numpy C-extensions failed. This error can happen <span class="pl-k">for</span> many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: <span class="pl-k">*</span> The Python version is: Python3.10 from <span class="pl-s"><span class="pl-pds">"</span>/usr/lib/python-exec/python3.10/python<span class="pl-pds">"</span></span> <span class="pl-k">*</span> The NumPy version is: <span class="pl-s"><span class="pl-pds">"</span>1.24.0<span class="pl-pds">"</span></span> and make sure that they are the versions you expect. Please carefully study the documentation linked above <span class="pl-k">for</span> further help. Original error was: Error relocating /usr/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so: _ZNSt3__122__libcpp_verbose_abortEPKcz: symbol not found</pre></div> <h3 dir="auto">Runtime information:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.24.0 3.10.9 (main, Jan 28 2023, 16:07:29) [Clang 15.0.7 ]"><pre class="notranslate"><code class="notranslate">1.24.0 3.10.9 (main, Jan 28 2023, 16:07:29) [Clang 15.0.7 ] </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING: `threadpoolctl` not found in system! Install it by `pip install threadpoolctl`. Once installed, try `np.show_runtime` again for more detailed build information [{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'], 'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2'], 'not_found': ['AVX512F', 'AVX512CD', 'AVX512_KNL', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL']}}] None"><pre class="notranslate"><code class="notranslate">WARNING: `threadpoolctl` not found in system! Install it by `pip install threadpoolctl`. Once installed, try `np.show_runtime` again for more detailed build information [{'simd_extensions': {'baseline': ['SSE', 'SSE2', 'SSE3'], 'found': ['SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2'], 'not_found': ['AVX512F', 'AVX512CD', 'AVX512_KNL', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL']}}] None </code></pre></div> <h3 dir="auto">Context for the issue:</h3> <p dir="auto"><em>No response</em></p>
1
<h3 dir="auto">Bug report</h3> <p dir="auto">Consider the following example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from pylab import * from matplotlib.backend_bases import MouseEvent rcdefaults() fig, axs = plt.subplots(2) for i, ax in enumerate(axs): ax.set(xlim=(0, 1), ylim=(0, 1)) ann = ax.annotate( &quot;hello&quot;, xy=(.4, .4), xytext=(.6, .6), arrowprops={&quot;arrowstyle&quot;: &quot;-&gt;&quot;}) ax.figure.canvas.draw() xs = np.linspace(*ax.get_xlim(), 30) ys = np.linspace(*ax.get_ylim(), 30) for x in xs: for y in ys: event = MouseEvent( &quot;button_press_event&quot;, ax.figure.canvas, *ax.transData.transform_point((x, y))) art = [ann, ann.arrow_patch][i] ax.plot(x, y, &quot;.&quot;, c=&quot;g&quot; if art.contains(event)[0] else &quot;r&quot;) plt.show()"><pre class="notranslate"><code class="notranslate">from pylab import * from matplotlib.backend_bases import MouseEvent rcdefaults() fig, axs = plt.subplots(2) for i, ax in enumerate(axs): ax.set(xlim=(0, 1), ylim=(0, 1)) ann = ax.annotate( "hello", xy=(.4, .4), xytext=(.6, .6), arrowprops={"arrowstyle": "-&gt;"}) ax.figure.canvas.draw() xs = np.linspace(*ax.get_xlim(), 30) ys = np.linspace(*ax.get_ylim(), 30) for x in xs: for y in ys: event = MouseEvent( "button_press_event", ax.figure.canvas, *ax.transData.transform_point((x, y))) art = [ann, ann.arrow_patch][i] ax.plot(x, y, ".", c="g" if art.contains(event)[0] else "r") plt.show() </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1322974/37870612-30d637be-2f8f-11e8-8f96-9f73b4ee1fd6.png"><img src="https://user-images.githubusercontent.com/1322974/37870612-30d637be-2f8f-11e8-8f96-9f73b4ee1fd6.png" alt="figure_1" style="max-width: 100%;"></a></p> <p dir="auto">Points in green mark (a) in the top plot, points that are "contained" (per artist.contains) in the annotation object; (b) in the bottom plot, points that are "contained" in the arrow patch of the annotation object.</p> <p dir="auto">Obviously neither set of contained points is correct. This affects, for example, the points that trigger interactive dragging of the annotation.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system:</li> <li>Matplotlib version: 2.2.1, but also present in 1.5</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): qt5</li> <li>Python version: 3.6</li> <li>Jupyter version (if applicable):</li> <li>Other libraries:</li> </ul>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">The picker of FancyArrowPatch will not work with some arrow styles (see included example). Certain arrow styles will cause the picker to produce a pick event if the user clicks anywhere to the left of the arrow.</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="from matplotlib import pyplot as plt from matplotlib import patches def pick_event(event): print(&quot;PICK&quot;, event.artist) def main(): fig = plt.figure() axes = fig.add_subplot(111) axes.set_xlim((0, 10)) axes.set_ylim((0, 10)) arrow = patches.FancyArrowPatch( (8, 2), (9, 3), # Uncommenting this will make the pick event be triggered every time I # click to the left of the arrow. # arrowstyle='-|&gt;', ) # Same thing happens with arrow.set_picker(True) arrow.set_picker(4) fig.canvas.mpl_connect('pick_event', pick_event) axes.add_patch(arrow) plt.show() if __name__ == '__main__': main() "><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">patches</span> <span class="pl-k">def</span> <span class="pl-en">pick_event</span>(<span class="pl-s1">event</span>): <span class="pl-en">print</span>(<span class="pl-s">"PICK"</span>, <span class="pl-s1">event</span>.<span class="pl-s1">artist</span>) <span class="pl-k">def</span> <span class="pl-en">main</span>(): <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">axes</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">111</span>) <span class="pl-s1">axes</span>.<span class="pl-en">set_xlim</span>((<span class="pl-c1">0</span>, <span class="pl-c1">10</span>)) <span class="pl-s1">axes</span>.<span class="pl-en">set_ylim</span>((<span class="pl-c1">0</span>, <span class="pl-c1">10</span>)) <span class="pl-s1">arrow</span> <span class="pl-c1">=</span> <span class="pl-s1">patches</span>.<span class="pl-v">FancyArrowPatch</span>( (<span class="pl-c1">8</span>, <span class="pl-c1">2</span>), (<span class="pl-c1">9</span>, <span class="pl-c1">3</span>), <span class="pl-c"># Uncommenting this will make the pick event be triggered every time I</span> <span class="pl-c"># click to the left of the arrow.</span> <span class="pl-c"># arrowstyle='-|&gt;',</span> ) <span class="pl-c"># Same thing happens with arrow.set_picker(True)</span> <span class="pl-s1">arrow</span>.<span class="pl-en">set_picker</span>(<span class="pl-c1">4</span>) <span class="pl-s1">fig</span>.<span class="pl-s1">canvas</span>.<span class="pl-en">mpl_connect</span>(<span class="pl-s">'pick_event'</span>, <span class="pl-s1">pick_event</span>) <span class="pl-s1">axes</span>.<span class="pl-en">add_patch</span>(<span class="pl-s1">arrow</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</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"><strong>Actual outcome</strong><br> (With the arrowstyle line uncommented)<br> A pick event is always triggered when clicking to the left of the arrow.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3)"><pre class="notranslate"><code class="notranslate">PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) PICK FancyArrowPatch(8,2-&gt;9,3) </code></pre></div> <p dir="auto"><strong>Expected outcome</strong><br> The pick event is not triggered unless the user actually clicks on the arrow.</p> <p dir="auto"><strong>Matplotlib version</strong><br> I tested this with two versions of matplotlib:</p> <ul dir="auto"> <li>version 2.0.0 installed via pip 9.0.1 using Python 2.7.12 included in ubuntu</li> <li>version 1.5.3 built from source using Python 2.7.11 built from source</li> </ul> <p dir="auto">OS information:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ uname -a Linux 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"><pre class="notranslate">$ uname -a Linux 4.4.0-62-generic <span class="pl-c"><span class="pl-c">#</span>83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux</span></pre></div>
1
<p dir="auto">When testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="132382915" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/2832" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/2832/hovercard" href="https://github.com/microsoft/vscode/issues/2832">#2832</a> I tried to set a function breakpoint on 'parseInt', but that doesn't seem to be supported.<br> It worked for setTimeout and for my own global functions</p>
<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="132382915" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/2832" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/2832/hovercard" href="https://github.com/microsoft/vscode/issues/2832">#2832</a></p> <p dir="auto">I have a breakpoint on <code class="notranslate">if (_key === key) {</code> and I've added a function breakpoint for <code class="notranslate">console.log</code>. The breakpoint for <code class="notranslate">if (_key === key) {</code> is hit, but the console.log near the end is not hit.</p> <p dir="auto">I tried clicking <code class="notranslate">Reapply all breakpoints</code> which did not help in this case.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function Safe(_key) { var _locked = true; var _value = null; this.unlock = function(key) { if (_key === key) { _locked = false; } return; }; this.lock = function() { _locked = true; }; Object.defineProperty(this, 'value', { get: function() { if (_locked) { console.log('thief detected!'); process.exit(0); } return _value; }, set: function(value) { if (_locked) { console.log('thief detected!'); process.exit(0); } _value = value; } }); } var safe = new Safe('mySecretPassword'); safe.unlock('mySecretPassword'); safe.value = 3; console.log(safe.value); safe.lock(); "><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">Safe</span><span class="pl-kos">(</span><span class="pl-s1">_key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">_locked</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">_value</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">unlock</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">_key</span> <span class="pl-c1">===</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">_locked</span> <span class="pl-c1">=</span> <span class="pl-c1">false</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-kos">}</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">lock</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">_locked</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-s">'value'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">_locked</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">'thief detected!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-en">exit</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">return</span> <span class="pl-s1">_value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-en">set</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">_locked</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">'thief detected!'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-en">exit</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">_value</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">var</span> <span class="pl-s1">safe</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Safe</span><span class="pl-kos">(</span><span class="pl-s">'mySecretPassword'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">safe</span><span class="pl-kos">.</span><span class="pl-en">unlock</span><span class="pl-kos">(</span><span class="pl-s">'mySecretPassword'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">safe</span><span class="pl-kos">.</span><span class="pl-c1">value</span> <span class="pl-c1">=</span> <span class="pl-c1">3</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">safe</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">safe</span><span class="pl-kos">.</span><span class="pl-en">lock</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </pre></div>
1
<p dir="auto">I've just started moving an app over to Next v5. I'm doing this in small chunks, and have just finished a page. In order to verify it in production-mode, I ran the build (<code class="notranslate">NODE_ENV=production next build &amp;&amp; NODE_ENV=production next export</code>). The <code class="notranslate">styles.css</code> file is correctly build/saved to <code class="notranslate">./.next/static/styles.css</code>, but it is <em>not</em> included in the exported build (<code class="notranslate">./out/**</code>).</p> <p dir="auto">This results in 404s when requesting the stylesheet.</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 Behavior</h2> <p dir="auto">The stylesheet should be included in the exported build.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The stylesheet is not included in the exported build.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Add <code class="notranslate">@zeit/next-css</code> to your <code class="notranslate">next.config.js</code></li> <li>Import a .css file</li> <li>Run <code class="notranslate">next build</code></li> <li>Run <code class="notranslate">next export</code></li> <li>Run <code class="notranslate">serve ./out</code></li> <li>Run <code class="notranslate">curl http://localhost:3000/_next/static/style.css</code> to see the 404</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">This has prevented me from migrating to Next v5.</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>5</td> </tr> <tr> <td>node</td> <td>8</td> </tr> <tr> <td>OS</td> <td>High Sierra</td> </tr> <tr> <td>browser</td> <td>*</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<p dir="auto">I want to use universal webpack in this PR: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="288925622" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3578" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/3578/hovercard" href="https://github.com/vercel/next.js/pull/3578">#3578</a> but I don't know when the release cycle is for nextjs version 5.0. Anyone have any idea when universal webpack can be loaded?</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">Context</h2> <p dir="auto">I want to use universal webpack loader to load in babel and use es6 on ssr.</p>
0
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="No code, it's a documentation correction (possibly)."><pre class="notranslate"><span class="pl-v">No</span> <span class="pl-s1">code</span>, <span class="pl-s1">it</span>'<span class="pl-s1">s</span> <span class="pl-s1">a</span> <span class="pl-s1">documentation</span> <span class="pl-en">correction</span> (<span class="pl-s1">possibly</span>).</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">FastAPI's documentation, in it's "<a href="https://fastapi.tiangolo.com/python-types/#pydantic-models" rel="nofollow">Python Types/Pydantic models</a>" section says:</p> <blockquote> <p dir="auto">Pydantic is a Python library to perform data validation.</p> <p dir="auto">You declare the "shape" of the data as classes with attributes.</p> <p dir="auto">And each attribute has a type.</p> <p dir="auto">Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data.</p> </blockquote> <p dir="auto">But Pydantic's documentation, in the "<a href="https://pydantic-docs.helpmanual.io/usage/models/" rel="nofollow">Models</a>" section notes that:</p> <blockquote> <p dir="auto">pydantic is primarily a parsing library, <strong>not a validation library</strong>. Validation is a means to an end: building a model which conforms to the types and constraints provided.</p> </blockquote> <p dir="auto">Then FastAPI's documentation could be rewritten this way:</p> <blockquote> <p dir="auto">Pydantic is a Python library to perform data parsing.</p> <p dir="auto">You declare the "shape" of the data as classes with attributes.</p> <p dir="auto">And each attribute has a type.</p> <p dir="auto">Then you create an instance of that class with some values and it will parse the values, convert them to the appropriate type (if that's the case) and give you an object with all the data.</p> </blockquote> <p dir="auto">I did not send a pull request right away because I think it may have been written this way to facilitate the understanding but I think that it's better to be technically correct.</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Linux</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.68.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">irrelevant</p> <h3 dir="auto">Additional Context</h3> <p dir="auto"><em>No response</em></p>
<p dir="auto"><strong>Description</strong></p> <p dir="auto">I'm using Django ORM + Mysql with fastapi<br> all works fine</p> <p dir="auto">but at some point when application have no requests for some period of time I'm getting</p> <blockquote> <p dir="auto">2006 mysql server gone away</p> </blockquote> <p dir="auto">Most likely Django does some connection checks or closing somehere in the request flow..</p> <p dir="auto">(I tried to play with CONN_MAX_AGE and close_old_connections in middleware - no luck)</p> <p dir="auto">any idea how to do it with fastapi ?</p>
0
<h1 dir="auto">Changes</h1> <p dir="auto">I wrote a small script to import Terminal color schemes from VSCode themes. However, there's something I think is unintended design:</p> <p dir="auto">The "cursorColor" setting is currently part of the profile, not the color scheme. In my opinion it doesn't make sense, because by changing the color scheme of a given profile, the background color may be similar to the cursor color. Both settings should be coupled to each other for consistency.</p> <h1 dir="auto">Additional features</h1> <p dir="auto">It'd be amazing if you guys could implement the few remaining color customization options from VSCode's terminal to reach feature parity. They are:</p> <ul dir="auto"> <li>terminal.border: The color of the border that separates split panes within the terminal.</li> <li>terminal.selectionBackground: The selection background color of the terminal.</li> <li>terminalCursor.background: The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.</li> </ul>
<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.0 Windows Terminal version: 0.5.2762.0 Neovim version: 0.4.2"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Windows Terminal version: 0.5.2762.0 Neovim version: 0.4.2 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Open neovim from the terminal, then change the size of the window.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">I expect that neovim view adapt with the new window size</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">If I open neovim and I change the window size, neovim view is extended only respect to the horizontal direction.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/5452f739fef7097bb94b6d442c5eb8690268442d7556f268f7c81d0ed56f5e24/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f6c6d77366d77726f796e53664452344a65382f67697068792e676966"><img src="https://camo.githubusercontent.com/5452f739fef7097bb94b6d442c5eb8690268442d7556f268f7c81d0ed56f5e24/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f6c6d77366d77726f796e53664452344a65382f67697068792e676966" alt="resizing-shortcut" data-animated-image="" data-canonical-src="https://media.giphy.com/media/lmw6mwroynSfDR4Je8/giphy.gif" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/43374d64a83f437ba92304762723a6f4af19faaa69fca1328a629e5f4e80896f/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f68336a4e63474b6a61704b42694a735561652f67697068792e676966"><img src="https://camo.githubusercontent.com/43374d64a83f437ba92304762723a6f4af19faaa69fca1328a629e5f4e80896f/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f68336a4e63474b6a61704b42694a735561652f67697068792e676966" alt="resizing-no-shortcut" data-animated-image="" data-canonical-src="https://media.giphy.com/media/h3jNcGKjapKBiJsUae/giphy.gif" style="max-width: 100%;"></a></p> <p dir="auto">This issue happens only by using Windows Terminal. If I use Powershell, everything works as expected.</p>
0
<p dir="auto">Hi,<br> Elasticsearch 5.0.0 now 5.1.1<br> Running JVM 1.8.102 and then updated to JVM 1.8.112 - problem occurs on both.<br> Windows 2008 R2</p> <p dir="auto">I updated from 2.4.1 to 5.0 then to 5.1.1 since I've moved to 5.0 I've been having nodes drop out of the cluster. I have a 6 data nodes, each one exhibits the exact same problem but at random times. My ingest and master nodes do not exhibit this issue, but as soon as I enable a ingest node as a data node it starts to drop. I never had this issue before when on 2.4.1.</p> <p dir="auto">Logging doesn't show anything other than the node left and joined, I turned the logging up to debug but the same problem logging stops outputting anything, even the usual 10s marvel metrics shipping stops logging. I'm not able to bring up the hot threads via 9200 as that connection times out. Even trying to do a jstack dump hangs until the java process starts to normalize. The 100% cpu spike can last a few seconds to a few minutes, but it does recover on it's own. Disk I/O is at nothing. I've reduced my cluster down to 2 data nodes made them mangers and removed 95% of my indexes to accommodate only the current daily indexes, the problem persists. No searches are occurring. I'm now starting to disable all other windows services to see if there's some conflict.</p> <p dir="auto">I only have process explorer, and the thread dump from as soon as the jstack was able to connect and dump.</p> <p dir="auto">These are all the threads in the java.exe when running at 100%<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10899305/21236561/879a68ce-c2c9-11e6-8af0-fee168727fdd.png"><img src="https://cloud.githubusercontent.com/assets/10899305/21236561/879a68ce-c2c9-11e6-8af0-fee168727fdd.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">Some stack views from the TIDs if these will help any.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10899305/21236815/7eb1a7f8-c2ca-11e6-89e1-5431434c10ac.png"><img src="https://cloud.githubusercontent.com/assets/10899305/21236815/7eb1a7f8-c2ca-11e6-89e1-5431434c10ac.png" alt="10224" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10899305/21236824/877da74c-c2ca-11e6-89c4-6e3d62e3b793.png"><img src="https://cloud.githubusercontent.com/assets/10899305/21236824/877da74c-c2ca-11e6-89c4-6e3d62e3b793.png" alt="2936" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10899305/21236574/9f9f9156-c2c9-11e6-98f9-b51943c8bc6a.png"><img src="https://cloud.githubusercontent.com/assets/10899305/21236574/9f9f9156-c2c9-11e6-98f9-b51943c8bc6a.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a href="https://github.com/elastic/elasticsearch/files/655492/threadDumps.txt">threadDumps.txt</a></p>
<p dir="auto">Assume a 2-node cluster with an index with 1 primary and 1 replica. The index has <code class="notranslate">auto_expand_replicas</code> set <code class="notranslate">0-all</code>. The second node drops, which leads to the first node automatically resetting the <code class="notranslate">number_of_replicas</code> to 0. This is a process that's triggered in a delayed fashion. <code class="notranslate">MetaDataUpdateSettingsService</code> listens on cluster state changed events and submits a cluster state update task to adjust <code class="notranslate">number_of_replicas</code> when it detects that the number of data nodes is smaller/greater than the number of currently-configured replicas. Assume this update successfully completes. When the second node rejoins, it sees a shard routing table that has all shards active (= primary only) and starts deleting it's local shard copy. Shortly thereafter (maybe a few milliseconds?) the first node updates the cluster state by auto-expanding the number of replicas back to one. The second node however has deleted the data and needs to resync the complete shard.</p>
0
<p dir="auto">This is more of a question. Noticed this while testing out the AzureDisk volume plugin. <code class="notranslate">mount</code> on one of my nodes shows a lot of duplicated entries.</p> <p dir="auto">Is this expected, and if so, why?</p> <p dir="auto">If not, any idea the cause or resolution? Does it stem from running kubelet in container?</p> <p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mikedanese/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mikedanese">@mikedanese</a> as this is a kubernetes-anywhere deployed cluster. Any idea if this is expected?</p> <p dir="auto">The following is the <code class="notranslate">sudo mount</code> output from a node, after some flaky attempts at mounting an AzureDisk. Not that the mounts completely unrelated to the AzureDisk are also duplicated.</p> <p dir="auto"><a href="https://gist.github.com/15d9ca5dc74c88b97f28416226609604">This is the <code class="notranslate">sudo mount</code> output from a fresh node in a cluster I deployed 10 minutes ago and has been sitting completely idle since.</a> Note that it has a few of the <code class="notranslate">/var/lib/kubelet</code> lines repeated, but not nearly as many.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=14386188k,nr_inodes=3596547,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=2881052k,mode=755) /dev/sda1 on / type ext4 (rw,relatime,discard,data=ordered) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) debugfs on /sys/kernel/debug type debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) none on /etc/network/interfaces.dynamic.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=64k) /dev/sdb1 on /mnt type ext4 (rw,relatime,data=ordered) tmpfs on /run/lxcfs/controllers type tmpfs (rw,relatime,size=100k,mode=700) blkio on /run/lxcfs/controllers/blkio type cgroup (rw,relatime,blkio) cpuset on /run/lxcfs/controllers/cpuset type cgroup (rw,relatime,cpuset) devices on /run/lxcfs/controllers/devices type cgroup (rw,relatime,devices) cpu,cpuacct on /run/lxcfs/controllers/cpu,cpuacct type cgroup (rw,relatime,cpu,cpuacct) hugetlb on /run/lxcfs/controllers/hugetlb type cgroup (rw,relatime,hugetlb) pids on /run/lxcfs/controllers/pids type cgroup (rw,relatime,pids) freezer on /run/lxcfs/controllers/freezer type cgroup (rw,relatime,freezer) perf_event on /run/lxcfs/controllers/perf_event type cgroup (rw,relatime,perf_event) memory on /run/lxcfs/controllers/memory type cgroup (rw,relatime,memory) net_cls,net_prio on /run/lxcfs/controllers/net_cls,net_prio type cgroup (rw,relatime,net_cls,net_prio) name=systemd on /run/lxcfs/controllers/name=systemd type cgroup (rw,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) lxcfs on /var/lib/lxcfs type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/docker/overlay type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) nsfs on /run/docker/netns/default type nsfs (rw) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=2881052k,mode=700,uid=1000,gid=1000) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet type ext4 (rw,relatime,discard,data=ordered) shm on /var/lib/docker/containers/586c9a54bfcdc962b3e842c37cf40d2e7b13a2e14838a440385bfbbce782416c/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 type tmpfs (rw,relatime) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk type ext4 (rw,relatime,data=ordered) shm on /var/lib/docker/containers/9da646e616dfe9098bf12883c88ce25e1030c20c993f1f1d45820738eaca2f71/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) nsfs on /run/docker/netns/d34579b5a1bd type nsfs (rw)"><pre class="notranslate">sysfs on /sys <span class="pl-c1">type</span> sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc <span class="pl-c1">type</span> proc (rw,nosuid,nodev,noexec,relatime) udev on /dev <span class="pl-c1">type</span> devtmpfs (rw,nosuid,relatime,size=14386188k,nr_inodes=3596547,mode=755) devpts on /dev/pts <span class="pl-c1">type</span> devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run <span class="pl-c1">type</span> tmpfs (rw,nosuid,noexec,relatime,size=2881052k,mode=755) /dev/sda1 on / <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) securityfs on /sys/kernel/security <span class="pl-c1">type</span> securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev) tmpfs on /run/lock <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /sys/fs/cgroup <span class="pl-c1">type</span> tmpfs (ro,nosuid,nodev,noexec,mode=755) cgroup on /sys/fs/cgroup/systemd <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) pstore on /sys/fs/pstore <span class="pl-c1">type</span> pstore (rw,nosuid,nodev,noexec,relatime) cgroup on /sys/fs/cgroup/net_cls,net_prio <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/memory <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/perf_event <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/freezer <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/pids <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/hugetlb <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/cpu,cpuacct <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/devices <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/cpuset <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/blkio <span class="pl-c1">type</span> cgroup (rw,nosuid,nodev,noexec,relatime,blkio) hugetlbfs on /dev/hugepages <span class="pl-c1">type</span> hugetlbfs (rw,relatime) mqueue on /dev/mqueue <span class="pl-c1">type</span> mqueue (rw,relatime) systemd-1 on /proc/sys/fs/binfmt_misc <span class="pl-c1">type</span> autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) debugfs on /sys/kernel/debug <span class="pl-c1">type</span> debugfs (rw,relatime) fusectl on /sys/fs/fuse/connections <span class="pl-c1">type</span> fusectl (rw,relatime) none on /etc/network/interfaces.dynamic.d <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev,noexec,relatime,size=64k) /dev/sdb1 on /mnt <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) tmpfs on /run/lxcfs/controllers <span class="pl-c1">type</span> tmpfs (rw,relatime,size=100k,mode=700) blkio on /run/lxcfs/controllers/blkio <span class="pl-c1">type</span> cgroup (rw,relatime,blkio) cpuset on /run/lxcfs/controllers/cpuset <span class="pl-c1">type</span> cgroup (rw,relatime,cpuset) devices on /run/lxcfs/controllers/devices <span class="pl-c1">type</span> cgroup (rw,relatime,devices) cpu,cpuacct on /run/lxcfs/controllers/cpu,cpuacct <span class="pl-c1">type</span> cgroup (rw,relatime,cpu,cpuacct) hugetlb on /run/lxcfs/controllers/hugetlb <span class="pl-c1">type</span> cgroup (rw,relatime,hugetlb) pids on /run/lxcfs/controllers/pids <span class="pl-c1">type</span> cgroup (rw,relatime,pids) freezer on /run/lxcfs/controllers/freezer <span class="pl-c1">type</span> cgroup (rw,relatime,freezer) perf_event on /run/lxcfs/controllers/perf_event <span class="pl-c1">type</span> cgroup (rw,relatime,perf_event) memory on /run/lxcfs/controllers/memory <span class="pl-c1">type</span> cgroup (rw,relatime,memory) net_cls,net_prio on /run/lxcfs/controllers/net_cls,net_prio <span class="pl-c1">type</span> cgroup (rw,relatime,net_cls,net_prio) name=systemd on /run/lxcfs/controllers/name=systemd <span class="pl-c1">type</span> cgroup (rw,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) lxcfs on /var/lib/lxcfs <span class="pl-c1">type</span> fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/docker/overlay <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) nsfs on /run/docker/netns/default <span class="pl-c1">type</span> nsfs (rw) tmpfs on /run/user/1000 <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev,relatime,size=2881052k,mode=700,uid=1000,gid=1000) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) /dev/sda1 on /var/lib/kubelet <span class="pl-c1">type</span> ext4 (rw,relatime,discard,data=ordered) shm on /var/lib/docker/containers/586c9a54bfcdc962b3e842c37cf40d2e7b13a2e14838a440385bfbbce782416c/shm <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) binfmt_misc on /proc/sys/fs/binfmt_misc <span class="pl-c1">type</span> binfmt_misc (rw,relatime) tracefs on /sys/kernel/debug/tracing <span class="pl-c1">type</span> tracefs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) tmpfs on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~secret/default-token-5lsa4 <span class="pl-c1">type</span> tmpfs (rw,relatime) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/plugins/kubernetes.io/azure-disk/mounts/kube-registry-disk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) /dev/sdc on /var/lib/kubelet/pods/a735c563-5d85-11e6-a470-000d3a926acc/volumes/kubernetes.io~azure-disk/disk-azuredisk <span class="pl-c1">type</span> ext4 (rw,relatime,data=ordered) shm on /var/lib/docker/containers/9da646e616dfe9098bf12883c88ce25e1030c20c993f1f1d45820738eaca2f71/shm <span class="pl-c1">type</span> tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k) nsfs on /run/docker/netns/d34579b5a1bd <span class="pl-c1">type</span> nsfs (rw)</pre></div>
<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">Yes</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <ul dir="auto"> <li>"kubeadm DNS shutting down, got signal: Terminated"</li> </ul> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p> <p dir="auto">Bug report.</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubectl version Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:48:38Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;} Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:42:39Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">kubectl version Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: Ubuntu VM</li> <li><strong>OS</strong> (e.g. from /etc/os-release): Ubuntu 16.04</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): <code class="notranslate">Linux 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</code></li> <li><strong>Install tools</strong>: <code class="notranslate">kubeadm</code></li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:</p> <p dir="auto">I managed to install Kubernetes via <code class="notranslate">kubeadm</code> how-ever on both attempts that I've tried, the DNS pod forever recreates after exiting with the following in the logs:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="shutting down, got signal: Terminated"><pre class="notranslate"><code class="notranslate">shutting down, got signal: Terminated </code></pre></div> <p dir="auto">The same message appears for any pods I create. The following are always up.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="8b98975f0dbd gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 7 seconds ago Exited (0) 3 seconds ago k8s_POD.d8dbe16c_kube-dns-654381707- -agent-tcjqf_kube-system_3a4fa325-b572-11e6-9154-00163e000260_ba6db488 0ca5b2815a82 quay.io/romana/services:v0.9.3.6 &quot;/usr/local/bin/run-r&quot; 30 seconds ago Exited (1) 27 seconds ago k8s_romana-services.cf143d0a_rom ana-services-7is05_kube-system_39446874-b572-11e6-9154-00163e000260_2e719909 e1eede3d9831 mysql:5 &quot;docker-entrypoint.sh&quot; 2 minutes ago Up 2 minutes k8s_romana-datastore.ff695574_ro mana-services-7is05_kube-system_39446874-b572-11e6-9154-00163e000260_10af6da0 nhzpg_kube-system_beaf7f99-b561-11e6-9fac-00163e000260_5c4f5d36 9f0d8c08940f gcr.io/google_containers/kube-proxy-amd64:v1.4.4 &quot;kube-proxy --v=2 --k&quot; 9 minutes ago Up 9 minutes k8s_kube-proxy.1cf4b6b9_kube-proxy-lg7po_kube-system_be5f4712-b561-11e6-9fac-00163e000260_ee18a3b6 ee0c24cc4531 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 9 minutes ago Up 9 minutes k8s_POD.d8dbe16c_kube-proxy-lg7po_kube-system_be5f4712-b561-11e6-9fac-00163e000260_5b817852 b0c033a8971e gcr.io/google_containers/kube-discovery-amd64:1.0 &quot;/usr/local/bin/kube-&quot; 9 minutes ago Up 9 minutes k8s_kube-discovery.6b1fce5d_kube-discovery-1150918428-35nyi_kube-system_aff2826e-b561-11e6-9fac-00163e000260_64343cd7 9eafdc4b8a2f gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 10 minutes ago Up 10 minutes k8s_POD.d8dbe16c_kube-discovery-1150918428-35nyi_kube-system_aff2826e-b561-11e6-9fac-00163e000260_520bf17e 833a14e90d76 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 10 minutes ago Up 10 minutes k8s_dummy.246c1c48_dummy-2088944543-22adk_kube-system_aa3d29a1-b561-11e6-9fac-00163e000260_706778d5 96b52f61f09c gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 10 minutes ago Up 10 minutes k8s_POD.d8dbe16c_dummy-2088944543-22adk_kube-system_aa3d29a1-b561-11e6-9fac-00163e000260_e74b8e82 dccc5f63178b gcr.io/google_containers/kube-apiserver-amd64:v1.4.4 &quot;kube-apiserver --v=2&quot; 10 minutes ago Up 10 minutes k8s_kube-apiserver.e221d4d5_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_f640c081 0f7b921199d0 gcr.io/google_containers/etcd-amd64:2.2.5 &quot;etcd --listen-client&quot; 10 minutes ago Up 10 minutes k8s_etcd.5a0e984b_etcd-cosmicapp_kube-system_a81a848a0bf7f0d38bc5f9b6b3a7140a_f812af89 7c49c2d51de3 gcr.io/google_containers/kube-controller-manager-amd64:v1.4.4 &quot;kube-controller-mana&quot; 10 minutes ago Up 10 minutes k8s_kube-controller-manager.edfea2a0_kube-controller-manager-cosmicapp_kube-system_aa642bd88d7c4f8636a7f3d6df731565_a09d389b a79122d9efc5 gcr.io/google_containers/kube-apiserver-amd64:v1.4.4 &quot;kube-apiserver --v=2&quot; 10 minutes ago Exited (255) 10 minutes ago k8s_kube-apiserver.e221d4d5_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_bf721eeb 087ef56c059c gcr.io/google_containers/kube-scheduler-amd64:v1.4.4 &quot;kube-scheduler --v=2&quot; 11 minutes ago Up 11 minutes k8s_kube-scheduler.c164d8b1_kube-scheduler-cosmicapp_kube-system_87687297b5040798a1737ed4061b3dab_bbe2fdfb 40efe1561616 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_etcd-cosmicapp_kube-system_a81a848a0bf7f0d38bc5f9b6b3a7140a_99a196e2 d777372ef0b6 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-controller-manager-cosmicapp_kube-system_aa642bd88d7c4f8636a7f3d6df731565_e96f372f 72ce49a03382 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_7903ef6f de715e26deb7 gcr.io/google_containers/pause-amd64:3.0 &quot;/pause&quot; 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-scheduler-cosmicapp_kube-system_87687297b5040798a1737ed4061b3dab_b561cf37"><pre class="notranslate"><code class="notranslate">8b98975f0dbd gcr.io/google_containers/pause-amd64:3.0 "/pause" 7 seconds ago Exited (0) 3 seconds ago k8s_POD.d8dbe16c_kube-dns-654381707- -agent-tcjqf_kube-system_3a4fa325-b572-11e6-9154-00163e000260_ba6db488 0ca5b2815a82 quay.io/romana/services:v0.9.3.6 "/usr/local/bin/run-r" 30 seconds ago Exited (1) 27 seconds ago k8s_romana-services.cf143d0a_rom ana-services-7is05_kube-system_39446874-b572-11e6-9154-00163e000260_2e719909 e1eede3d9831 mysql:5 "docker-entrypoint.sh" 2 minutes ago Up 2 minutes k8s_romana-datastore.ff695574_ro mana-services-7is05_kube-system_39446874-b572-11e6-9154-00163e000260_10af6da0 nhzpg_kube-system_beaf7f99-b561-11e6-9fac-00163e000260_5c4f5d36 9f0d8c08940f gcr.io/google_containers/kube-proxy-amd64:v1.4.4 "kube-proxy --v=2 --k" 9 minutes ago Up 9 minutes k8s_kube-proxy.1cf4b6b9_kube-proxy-lg7po_kube-system_be5f4712-b561-11e6-9fac-00163e000260_ee18a3b6 ee0c24cc4531 gcr.io/google_containers/pause-amd64:3.0 "/pause" 9 minutes ago Up 9 minutes k8s_POD.d8dbe16c_kube-proxy-lg7po_kube-system_be5f4712-b561-11e6-9fac-00163e000260_5b817852 b0c033a8971e gcr.io/google_containers/kube-discovery-amd64:1.0 "/usr/local/bin/kube-" 9 minutes ago Up 9 minutes k8s_kube-discovery.6b1fce5d_kube-discovery-1150918428-35nyi_kube-system_aff2826e-b561-11e6-9fac-00163e000260_64343cd7 9eafdc4b8a2f gcr.io/google_containers/pause-amd64:3.0 "/pause" 10 minutes ago Up 10 minutes k8s_POD.d8dbe16c_kube-discovery-1150918428-35nyi_kube-system_aff2826e-b561-11e6-9fac-00163e000260_520bf17e 833a14e90d76 gcr.io/google_containers/pause-amd64:3.0 "/pause" 10 minutes ago Up 10 minutes k8s_dummy.246c1c48_dummy-2088944543-22adk_kube-system_aa3d29a1-b561-11e6-9fac-00163e000260_706778d5 96b52f61f09c gcr.io/google_containers/pause-amd64:3.0 "/pause" 10 minutes ago Up 10 minutes k8s_POD.d8dbe16c_dummy-2088944543-22adk_kube-system_aa3d29a1-b561-11e6-9fac-00163e000260_e74b8e82 dccc5f63178b gcr.io/google_containers/kube-apiserver-amd64:v1.4.4 "kube-apiserver --v=2" 10 minutes ago Up 10 minutes k8s_kube-apiserver.e221d4d5_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_f640c081 0f7b921199d0 gcr.io/google_containers/etcd-amd64:2.2.5 "etcd --listen-client" 10 minutes ago Up 10 minutes k8s_etcd.5a0e984b_etcd-cosmicapp_kube-system_a81a848a0bf7f0d38bc5f9b6b3a7140a_f812af89 7c49c2d51de3 gcr.io/google_containers/kube-controller-manager-amd64:v1.4.4 "kube-controller-mana" 10 minutes ago Up 10 minutes k8s_kube-controller-manager.edfea2a0_kube-controller-manager-cosmicapp_kube-system_aa642bd88d7c4f8636a7f3d6df731565_a09d389b a79122d9efc5 gcr.io/google_containers/kube-apiserver-amd64:v1.4.4 "kube-apiserver --v=2" 10 minutes ago Exited (255) 10 minutes ago k8s_kube-apiserver.e221d4d5_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_bf721eeb 087ef56c059c gcr.io/google_containers/kube-scheduler-amd64:v1.4.4 "kube-scheduler --v=2" 11 minutes ago Up 11 minutes k8s_kube-scheduler.c164d8b1_kube-scheduler-cosmicapp_kube-system_87687297b5040798a1737ed4061b3dab_bbe2fdfb 40efe1561616 gcr.io/google_containers/pause-amd64:3.0 "/pause" 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_etcd-cosmicapp_kube-system_a81a848a0bf7f0d38bc5f9b6b3a7140a_99a196e2 d777372ef0b6 gcr.io/google_containers/pause-amd64:3.0 "/pause" 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-controller-manager-cosmicapp_kube-system_aa642bd88d7c4f8636a7f3d6df731565_e96f372f 72ce49a03382 gcr.io/google_containers/pause-amd64:3.0 "/pause" 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-apiserver-cosmicapp_kube-system_ef69ba329f3b0dad18f8b1f360b261d6_7903ef6f de715e26deb7 gcr.io/google_containers/pause-amd64:3.0 "/pause" 11 minutes ago Up 11 minutes k8s_POD.d8dbe16c_kube-scheduler-cosmicapp_kube-system_87687297b5040798a1737ed4061b3dab_b561cf37 </code></pre></div> <p dir="auto"><strong>What you expected to happen</strong>:</p> <p dir="auto">The DNS and any self made pods to be created and stay alive.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubeadm init kubectl apply -f https://raw.githubusercontent.com/romana/romana/master/containerize/specs/romana-kubeadm.yml docker ps -a"><pre class="notranslate"><code class="notranslate">kubeadm init kubectl apply -f https://raw.githubusercontent.com/romana/romana/master/containerize/specs/romana-kubeadm.yml docker ps -a </code></pre></div> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <p dir="auto">This is on a fresh install of Ubuntu 16.04 with upgrades applied to date. I followed the <code class="notranslate">kubeadm</code> setup guide.</p> <p dir="auto">Using Romana for DNS.</p>
0
<p dir="auto">I haven't found a way to create a custom datatype to reuse in mapping definition.</p> <p dir="auto">I would like to have a way to define custom_datatype in the mapping like that :</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;settings&quot; : { &quot;number_of_shards&quot; : 1, &quot;custom_datatypes&quot;: [{ &quot;string_with_raw&quot;: { &quot;mapping&quot;: { &quot;index&quot;: &quot;analyzed&quot;, &quot;omit_norms&quot;: true, &quot;type&quot;: &quot;string&quot;, &quot;fields&quot;: { &quot;raw&quot;: { &quot;ignore_above&quot;: 256, &quot;index&quot;: &quot;not_analyzed&quot;, &quot;type&quot;: &quot;string&quot; } } } } }], }, &quot;mappings&quot; : { &quot;my_type&quot;: { &quot;properties&quot;: { &quot;field1&quot;: { &quot;type&quot;: &quot;string_with_raw&quot; }, &quot;field2&quot;: { &quot;type&quot;: &quot;string_with_raw&quot; }, &quot;field3&quot;: { &quot;type&quot;: &quot;string&quot; } } } } }"><pre class="notranslate">{ <span class="pl-ent">"settings"</span> : { <span class="pl-ent">"number_of_shards"</span> : <span class="pl-c1">1</span>, <span class="pl-ent">"custom_datatypes"</span>: [{ <span class="pl-ent">"string_with_raw"</span>: { <span class="pl-ent">"mapping"</span>: { <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"omit_norms"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>, <span class="pl-ent">"fields"</span>: { <span class="pl-ent">"raw"</span>: { <span class="pl-ent">"ignore_above"</span>: <span class="pl-c1">256</span>, <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } } } }], }, <span class="pl-ent">"mappings"</span> : { <span class="pl-ent">"my_type"</span>: { <span class="pl-ent">"properties"</span>: { <span class="pl-ent">"field1"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string_with_raw<span class="pl-pds">"</span></span> }, <span class="pl-ent">"field2"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string_with_raw<span class="pl-pds">"</span></span> }, <span class="pl-ent">"field3"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } } } }</pre></div> <p dir="auto">For now I have to duplicate for every field :</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &quot;mappings&quot;: { &quot;my_type&quot;: { &quot;properties&quot;: { &quot;message&quot;: { &quot;index&quot;: &quot;analyzed&quot;, &quot;omit_norms&quot;: true, &quot;type&quot;: &quot;string&quot;, &quot;fields&quot;: { &quot;raw&quot;: { &quot;ignore_above&quot;: 256, &quot;index&quot;: &quot;not_analyzed&quot;, &quot;type&quot;: &quot;string&quot; } } }, &quot;field2&quot;: { &quot;index&quot;: &quot;analyzed&quot;, &quot;omit_norms&quot;: true, &quot;type&quot;: &quot;string&quot;, &quot;fields&quot;: { &quot;raw&quot;: { &quot;ignore_above&quot;: 256, &quot;index&quot;: &quot;not_analyzed&quot;, &quot;type&quot;: &quot;string&quot; } } }, &quot;field3&quot;: { &quot;type&quot;: &quot;string&quot; } } } } }"><pre class="notranslate"> <span class="pl-ent">"mappings"</span>: { <span class="pl-ent">"my_type"</span>: { <span class="pl-ent">"properties"</span>: { <span class="pl-ent">"message"</span>: { <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"omit_norms"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>, <span class="pl-ent">"fields"</span>: { <span class="pl-ent">"raw"</span>: { <span class="pl-ent">"ignore_above"</span>: <span class="pl-c1">256</span>, <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } }, <span class="pl-ent">"field2"</span>: { <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"omit_norms"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>, <span class="pl-ent">"fields"</span>: { <span class="pl-ent">"raw"</span>: { <span class="pl-ent">"ignore_above"</span>: <span class="pl-c1">256</span>, <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } }, <span class="pl-ent">"field3"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } } } <span class="pl-ii">}</span></pre></div> <p dir="auto">It could also be used in dynamic mappings:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;settings&quot; : { &quot;number_of_shards&quot; : 1, &quot;custom_datatypes&quot;: [{ &quot;string_with_raw&quot;: { &quot;mapping&quot;: { &quot;index&quot;: &quot;analyzed&quot;, &quot;omit_norms&quot;: true, &quot;type&quot;: &quot;string&quot;, &quot;fields&quot;: { &quot;raw&quot;: { &quot;ignore_above&quot;: 256, &quot;index&quot;: &quot;not_analyzed&quot;, &quot;type&quot;: &quot;string&quot; } } } } }], }, &quot;mappings&quot; : { &quot;my_type&quot;: { &quot;dynamic_templates&quot;: [{ &quot;message_field&quot;: { &quot;mapping&quot;: { &quot;omit_norms&quot;: false, &quot;type&quot;: &quot;string_with_raw&quot; }, &quot;match_mapping_type&quot;: &quot;string&quot;, &quot;match&quot;: &quot;*_with_raw&quot; } }], &quot;properties&quot;: { &quot;field1&quot;: { &quot;type&quot;: &quot;string_with_raw&quot; }, &quot;field2&quot;: { &quot;type&quot;: &quot;string_with_raw&quot; }, &quot;field3&quot;: { &quot;type&quot;: &quot;string&quot; } } } } }"><pre class="notranslate">{ <span class="pl-ent">"settings"</span> : { <span class="pl-ent">"number_of_shards"</span> : <span class="pl-c1">1</span>, <span class="pl-ent">"custom_datatypes"</span>: [{ <span class="pl-ent">"string_with_raw"</span>: { <span class="pl-ent">"mapping"</span>: { <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"omit_norms"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>, <span class="pl-ent">"fields"</span>: { <span class="pl-ent">"raw"</span>: { <span class="pl-ent">"ignore_above"</span>: <span class="pl-c1">256</span>, <span class="pl-ent">"index"</span>: <span class="pl-s"><span class="pl-pds">"</span>not_analyzed<span class="pl-pds">"</span></span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } } } }], }, <span class="pl-ent">"mappings"</span> : { <span class="pl-ent">"my_type"</span>: { <span class="pl-ent">"dynamic_templates"</span>: [{ <span class="pl-ent">"message_field"</span>: { <span class="pl-ent">"mapping"</span>: { <span class="pl-ent">"omit_norms"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string_with_raw<span class="pl-pds">"</span></span> }, <span class="pl-ent">"match_mapping_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span>, <span class="pl-ent">"match"</span>: <span class="pl-s"><span class="pl-pds">"</span>*_with_raw<span class="pl-pds">"</span></span> } }], <span class="pl-ent">"properties"</span>: { <span class="pl-ent">"field1"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string_with_raw<span class="pl-pds">"</span></span> }, <span class="pl-ent">"field2"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string_with_raw<span class="pl-pds">"</span></span> }, <span class="pl-ent">"field3"</span>: { <span class="pl-ent">"type"</span>: <span class="pl-s"><span class="pl-pds">"</span>string<span class="pl-pds">"</span></span> } } } } }</pre></div> <p dir="auto">For the dynamic_templates part, the value set in the mapping should override equivalent field defined in the custom datatype.</p> <p dir="auto">Is there a way to achieve that at the moment ?</p>
<p dir="auto">Under worst case conditions, a request that is bad for the system, thereby taking a long time to process, often gets repeated as a user--or even an automated system--becomes impatient while they await their response. If an <strong>exactly</strong> duplicated request comes into the same node to run on the same shard (otherwise it's not an exact match of course), then it would be ideal in all but one scenario to simply dupe the eventual response from the original request.</p> <p dir="auto">Unfortunately, the exact match nature of this eliminates a slew of requests from benefiting from it (at least until 3.0 when we can start to recognize inner parts better to drop irrelevant filters), but it provides a lot of protection from a very common problem: a user hitting refresh to send what was a recoverable situation into a downward spiral leading to <code class="notranslate">OutOfMemoryError</code> if you are lucky or, worse, permanent GCs that never recover.</p> <p dir="auto">The scenario where this is less ideal is the case where a request expects the most up-to-date information (e.g., details from segments that may have been created since the original request started running). Since search is not real time, and the performance of the system is at stake from a presumably slow, repeated request, this seems like an edge case to me. Perhaps providing a flag to use the existing behavior (just create another shard level request) would be enough to allow those cases to "demand" this behavior.</p> <p dir="auto">It should be as simple as adding a new response listener to the original request, which entirely side steps adding another thread to do the exact same work, but "simple" ends there as I do not believe we provide any way to easily find/attach to other requests. As a result, this is related to task management in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38154842" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/6914" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/6914/hovercard" href="https://github.com/elastic/elasticsearch/issues/6914">#6914</a>.</p>
0
<p dir="auto">In csv files that have odd spacing</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="name, amount Alice,100 Bob,200"><pre class="notranslate"><code class="notranslate">name, amount Alice,100 Bob,200 </code></pre></div> <p dir="auto">Loaded dataframes can sometimes have column names with leading or trailing whitespace. Should these column names be stripped by default?</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [4]: pd.read_csv('foo.csv').columns Out[4]: Index([u'name', u' amount'], dtype='object')"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">'foo.csv'</span>).<span class="pl-s1">columns</span> <span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-v">Index</span>([<span class="pl-s">u'name'</span>, <span class="pl-s">u' amount'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)</pre></div>
<p dir="auto">When using <code class="notranslate">.loc</code> to expand a column, the dataframe and the constituent Series can get out of sync. This led to a strange issue in some legacy code I inherited. Because of the copy/view issues I wouldn't have written this particular code myself, but it still cost me some time tracking down what was happening:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({&quot;a&quot;: [10,20,30]}) df[&quot;a&quot;].loc[4] = 40"><pre class="notranslate"><code class="notranslate">df = pd.DataFrame({"a": [10,20,30]}) df["a"].loc[4] = 40 </code></pre></div> <p dir="auto">gives me</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [224]: df Out[224]: a 0 10 1 20 2 30 In [225]: df[&quot;a&quot;] Out[225]: 0 10 1 20 2 30 4 40 Name: a, dtype: int64 In [226]: df.shape, df[&quot;a&quot;].shape Out[226]: ((3, 1), (4,))"><pre class="notranslate"><code class="notranslate">In [224]: df Out[224]: a 0 10 1 20 2 30 In [225]: df["a"] Out[225]: 0 10 1 20 2 30 4 40 Name: a, dtype: int64 In [226]: df.shape, df["a"].shape Out[226]: ((3, 1), (4,)) </code></pre></div> <p dir="auto">which is a little unnerving. I expected that <code class="notranslate">df</code> and <code class="notranslate">df["a"]</code> would both be unchanged or both be changed. Not sure if it's too much trouble to fix and we should just say "don't move your arm like that", though.</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jorisvandenbossche/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jorisvandenbossche">@jorisvandenbossche</a> reported the same thing in master; here I'm on 0.18.0.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.0 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS ------------------ commit: None python: 3.5.1.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.18.0 nose: 1.3.7 pip: 8.1.1 setuptools: 20.3 Cython: 0.23.4 numpy: 1.10.4 scipy: 0.17.0 statsmodels: 0.6.1 xarray: None IPython: 4.1.2 sphinx: 1.3.1 patsy: 0.4.0 dateutil: 2.5.1 pytz: 2016.2 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 </code></pre></div>
0
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# currently: @app.on_event(&quot;startup&quot;) async def startup(): load_defaults() await DB.start_db(settings=settings) return # what I'd like @app.on_event(&quot;startup&quot;) async def startup(defaults_retriever=None): if not defaults_retriever: defaults_retriever = RealRetriever() load_defaults(defaults_retriever) await DB.start_db(settings=settings) return # and then in tests I wouldnt need to mock the remote because I can do something like client = TestClient(app, startup_args=[MockDefaultsRetriever])"><pre class="notranslate"><span class="pl-c"># currently:</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">on_event</span>(<span class="pl-s">"startup"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">startup</span>(): <span class="pl-en">load_defaults</span>() <span class="pl-k">await</span> <span class="pl-v">DB</span>.<span class="pl-en">start_db</span>(<span class="pl-s1">settings</span><span class="pl-c1">=</span><span class="pl-s1">settings</span>) <span class="pl-k">return</span> <span class="pl-c"># what I'd like</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">on_event</span>(<span class="pl-s">"startup"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">startup</span>(<span class="pl-s1">defaults_retriever</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">defaults_retriever</span>: <span class="pl-s1">defaults_retriever</span> <span class="pl-c1">=</span> <span class="pl-v">RealRetriever</span>() <span class="pl-en">load_defaults</span>(<span class="pl-s1">defaults_retriever</span>) <span class="pl-k">await</span> <span class="pl-v">DB</span>.<span class="pl-en">start_db</span>(<span class="pl-s1">settings</span><span class="pl-c1">=</span><span class="pl-s1">settings</span>) <span class="pl-k">return</span> <span class="pl-c"># and then in tests I wouldnt need to mock the remote because I can do something like </span> <span class="pl-s1">client</span> <span class="pl-c1">=</span> <span class="pl-v">TestClient</span>(<span class="pl-s1">app</span>, <span class="pl-s1">startup_args</span><span class="pl-c1">=</span>[<span class="pl-v">MockDefaultsRetriever</span>])</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">Is it possible to pass an argument to the startup function of the TestClient?</p> <p dir="auto"><a href="https://fastapi.tiangolo.com/advanced/testing-events/" rel="nofollow">https://fastapi.tiangolo.com/advanced/testing-events/</a></p> <p dir="auto">The docs suggest using TestClient to ensure the startup function gets invoked, but what if the startup function has an argument that is a class that hits a remote and Id like to mock it. Since patching module can be finicky dependency injection is a clean way to accomplish the goal of mocking an object and if something like I suggested in the example code was implemented it would make this very easy.</p> <h3 dir="auto">Operating System</h3> <p dir="auto">macOS</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.70.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">Python 3.9.7</p> <h3 dir="auto">Additional Context</h3> <p dir="auto"><em>No response</em></p>
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# main.py from random import randint from fastapi import FastAPI, WebSocket app = FastAPI() @app.get(&quot;/&quot;, tags=[&quot;Test&quot;]) async def index(): return { &quot;response&quot;: &quot;Index&quot; } @app.websocket(&quot;/wsx&quot;) async def test_socket(websocket: WebSocket, start: int = 1, stop: int = 100): await websocket.accept() while True: try: number = await websocket.receive_text() rndm = randint(start, stop) response = int(number) + rndm await websocket.send_json( {&quot;number&quot;: response} ) except Exception as error: break # router.py from random import randint from fastapi import APIRouter, WebSocket socket_router = APIRouter( prefix=&quot;/wsx&quot;, tags=[&quot;Socket&quot;] ) @socket_router.websocket(&quot;/&quot;) async def test_socket(websocket: WebSocket, start: int = 1, stop: int = 100): await websocket.accept() while True: try: number = await websocket.receive_text() rndm = randint(start, stop) response = int(number) + rndm await websocket.send_json( {&quot;number&quot;: response} ) except Exception as error: break"><pre class="notranslate"><span class="pl-c"># main.py</span> <span class="pl-k">from</span> <span class="pl-s1">random</span> <span class="pl-k">import</span> <span class="pl-s1">randint</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>, <span class="pl-v">WebSocket</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">get</span>(<span class="pl-s">"/"</span>, <span class="pl-s1">tags</span><span class="pl-c1">=</span>[<span class="pl-s">"Test"</span>])</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">index</span>(): <span class="pl-k">return</span> { <span class="pl-s">"response"</span>: <span class="pl-s">"Index"</span> } <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">websocket</span>(<span class="pl-s">"/wsx"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">test_socket</span>(<span class="pl-s1">websocket</span>: <span class="pl-v">WebSocket</span>, <span class="pl-s1">start</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">stop</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>): <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">accept</span>() <span class="pl-k">while</span> <span class="pl-c1">True</span>: <span class="pl-k">try</span>: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">receive_text</span>() <span class="pl-s1">rndm</span> <span class="pl-c1">=</span> <span class="pl-en">randint</span>(<span class="pl-s1">start</span>, <span class="pl-s1">stop</span>) <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-en">int</span>(<span class="pl-s1">number</span>) <span class="pl-c1">+</span> <span class="pl-s1">rndm</span> <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">send_json</span>( {<span class="pl-s">"number"</span>: <span class="pl-s1">response</span>} ) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">error</span>: <span class="pl-k">break</span> <span class="pl-c"># router.py</span> <span class="pl-k">from</span> <span class="pl-s1">random</span> <span class="pl-k">import</span> <span class="pl-s1">randint</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">APIRouter</span>, <span class="pl-v">WebSocket</span> <span class="pl-s1">socket_router</span> <span class="pl-c1">=</span> <span class="pl-v">APIRouter</span>( <span class="pl-s1">prefix</span><span class="pl-c1">=</span><span class="pl-s">"/wsx"</span>, <span class="pl-s1">tags</span><span class="pl-c1">=</span>[<span class="pl-s">"Socket"</span>] ) <span class="pl-en">@<span class="pl-s1">socket_router</span>.<span class="pl-en">websocket</span>(<span class="pl-s">"/"</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">test_socket</span>(<span class="pl-s1">websocket</span>: <span class="pl-v">WebSocket</span>, <span class="pl-s1">start</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">stop</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-c1">100</span>): <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">accept</span>() <span class="pl-k">while</span> <span class="pl-c1">True</span>: <span class="pl-k">try</span>: <span class="pl-s1">number</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">receive_text</span>() <span class="pl-s1">rndm</span> <span class="pl-c1">=</span> <span class="pl-en">randint</span>(<span class="pl-s1">start</span>, <span class="pl-s1">stop</span>) <span class="pl-s1">response</span> <span class="pl-c1">=</span> <span class="pl-en">int</span>(<span class="pl-s1">number</span>) <span class="pl-c1">+</span> <span class="pl-s1">rndm</span> <span class="pl-k">await</span> <span class="pl-s1">websocket</span>.<span class="pl-en">send_json</span>( {<span class="pl-s">"number"</span>: <span class="pl-s1">response</span>} ) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">error</span>: <span class="pl-k">break</span></pre></div> <h3 dir="auto">Description</h3> <p dir="auto">When I use this WebSocket inside of "mani.py", everything is Ok.<br> But when I move this WebSocket from "main.py" to "router.py" and I use APIRouter in "router.py" and then I include this router inside of "main.py", WebSocket doesn't work!</p> <p dir="auto">what's the solution</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Windows</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.73.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">3.7.9</p> <h3 dir="auto">Additional Context</h3> <p dir="auto"><em>No response</em></p>
0
<p dir="auto">The following script reliably causes a deadlock (or perhaps hanging for some other reason) on my machine. Not sure if it is a pytorch bug or a librosa bug.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import sys from urllib.request import urlopen from urllib.error import URLError from torchvision.datasets import ImageFolder from torch.utils.data import DataLoader import librosa # I am using the ImageFolder dataset to load audio data. # To do this, I rename all my WAV files to end in .jpg # so ImageFolder will think they are images and then # load them with librosa. Note: it is important that there # are no actual image files under ./data! # The program hangs after printing # # trying to load ./data/foo/file.jpg # # However, if bug_condition is set to False, or if either # fixes_bug1 or fixes_bug2 is set to True, then it does # not hang. bug_condition = True fixes_bug1 = False fixes_bug2 = False if bug_condition: try: urlopen('http://localhost:8097') except URLError: pass else: sys.exit('please retry without a server running on port 8097') if fixes_bug1: # Note: ./data/foo/file.jpg must be a valid WAV file. librosa.load('./data/foo/file.jpg') def audio_loader(filename): print('trying to load', filename) audio = librosa.load(filename, sr=16000)[0] print('loaded', filename) return audio data = ImageFolder(root='./data', loader=audio_loader) loader = DataLoader(data, num_workers=(0 if fixes_bug2 else 1)) for x, y in loader: print('OK')"><pre class="notranslate"><code class="notranslate">import sys from urllib.request import urlopen from urllib.error import URLError from torchvision.datasets import ImageFolder from torch.utils.data import DataLoader import librosa # I am using the ImageFolder dataset to load audio data. # To do this, I rename all my WAV files to end in .jpg # so ImageFolder will think they are images and then # load them with librosa. Note: it is important that there # are no actual image files under ./data! # The program hangs after printing # # trying to load ./data/foo/file.jpg # # However, if bug_condition is set to False, or if either # fixes_bug1 or fixes_bug2 is set to True, then it does # not hang. bug_condition = True fixes_bug1 = False fixes_bug2 = False if bug_condition: try: urlopen('http://localhost:8097') except URLError: pass else: sys.exit('please retry without a server running on port 8097') if fixes_bug1: # Note: ./data/foo/file.jpg must be a valid WAV file. librosa.load('./data/foo/file.jpg') def audio_loader(filename): print('trying to load', filename) audio = librosa.load(filename, sr=16000)[0] print('loaded', filename) return audio data = ImageFolder(root='./data', loader=audio_loader) loader = DataLoader(data, num_workers=(0 if fixes_bug2 else 1)) for x, y in loader: print('OK') </code></pre></div>
<p dir="auto">the bug is described at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="223226628" data-permission-text="Title is private" data-url="https://github.com/pytorch/examples/issues/148" data-hovercard-type="issue" data-hovercard-url="/pytorch/examples/issues/148/hovercard" href="https://github.com/pytorch/examples/issues/148">pytorch/examples#148</a>. I just wonder if this is a bug in PyTorch itself, as the example code looks clean to me. Also, I wonder if this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="217418696" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/1120" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/1120/hovercard" href="https://github.com/pytorch/pytorch/issues/1120">#1120</a>.</p>
1
<p dir="auto">Hi, I am doing an android demo for RNN. I built a two-layer GRU network for inference. I used the API tf.nn.dynamic_rnn. However, when using this API, the saved generated .pb file contains an op called "All". And after I moved my .pb file to assets directory and run my android app demo, it said the op "All" is not registered. I know I can register an op in /core/kernels/BUILD file. However, I didn't find such an op in BUILD file. What is it and how can I fix the problem?<br> Thank you very much!</p> <p dir="auto">Here is the .pb file:<br> node {<br> name: "Test/Model/RNN/RNN/All"<br> op: "All"<br> input: "Test/Model/RNN/RNN/Equal"<br> input: "Test/Model/RNN/RNN/Const"<br> attr {<br> key: "Tidx"<br> value {<br> type: DT_INT32<br> }<br> }<br> attr {<br> key: "keep_dims"<br> value {<br> b: false<br> }<br> }<br> }</p>
<p dir="auto">Hello folks.</p> <p dir="auto">Everytime I try to run the example fo TOCO:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf img = tf.placeholder(name=&quot;img&quot;, dtype=tf.float32, shape=(1, 64, 64, 3)) val = img + tf.constant([1., 2., 3.]) + tf.constant([1., 4., 4.]) out = tf.identity(val, name=&quot;out&quot;) with tf.Session() as sess: tflite_model = tf.contrib.lite.toco_convert(sess.graph_def, [img], [out]) open(&quot;test.tflite&quot;, &quot;wb&quot;).write(tflite_modeL)"><pre class="notranslate"><code class="notranslate">import tensorflow as tf img = tf.placeholder(name="img", dtype=tf.float32, shape=(1, 64, 64, 3)) val = img + tf.constant([1., 2., 3.]) + tf.constant([1., 4., 4.]) out = tf.identity(val, name="out") with tf.Session() as sess: tflite_model = tf.contrib.lite.toco_convert(sess.graph_def, [img], [out]) open("test.tflite", "wb").write(tflite_modeL) </code></pre></div> <p dir="auto">I get the error: <strong>module 'tensorflow.contrib' has no attribute 'lite'</strong></p> <p dir="auto">OS Platform and Distribution: Mac OS High Sierra<br> Tensorflow installed from pip version 1.4.1.<br> Python version: 2.7.14 and 3.6.3 :: Anaconda custom (64-bit)</p> <p dir="auto">The informations about my system are those:</p> <p dir="auto">== cat /etc/issue ===============================================<br> Darwin Leandros-MacBook-Pro.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64<br> Mac OS X 10.13.2</p> <p dir="auto">== are we in docker =============================================<br> No</p> <p dir="auto">== compiler =====================================================<br> Apple LLVM version 9.0.0 (clang-900.0.37)<br> Target: x86_64-apple-darwin17.3.0<br> Thread model: posix<br> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</p> <p dir="auto">== uname -a =====================================================<br> Darwin Leandros-MacBook-Pro.local 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64</p> <p dir="auto">== check pips ===================================================<br> numpy (1.13.3)<br> numpydoc (0.7.0)<br> protobuf (3.5.0.post1)<br> tensorflow (1.3.0)<br> tensorflow-tensorboard (0.1.8)</p> <p dir="auto">== check for virtualenv =========================================<br> False</p> <p dir="auto">== tensorflow import ============================================<br> tf.VERSION = 1.3.0<br> tf.GIT_VERSION = v1.3.0-rc2-20-g0787eee<br> tf.COMPILER_VERSION = v1.3.0-rc2-20-g0787eee<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 ===================================================<br> ./tf_env_collect.sh: line 105: nvidia-smi: command not found</p> <p dir="auto">Seams like tensorflow lite is not available for reason =/</p> <p dir="auto">Sorry if this is not a bug and I am just being dumb about how to make TOCO works.</p>
0
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.175 Windows Terminal version (if applicable): 0.2.1715.0 Any other software? No"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.175 Windows Terminal version (if applicable): 0.2.1715.0 Any other software? No </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Using a brazillian ABNT2 keyboard, open any terminal and type <code class="notranslate">right alt + Q</code>.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">This should type <code class="notranslate">/</code> in any type of terminal.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">When using <code class="notranslate">bash</code>, it deletes the rest of the typed line. When using <code class="notranslate">powershell</code> or <code class="notranslate">cmd</code>, it types <code class="notranslate">^_</code></p>
<p dir="auto"><strong>Your Windows build number:</strong><br> 10.0.18362.86</p> <p dir="auto"><strong>What you're doing and what's happening:</strong><br> Trying to enter the <code class="notranslate">@</code> sign on a Swedish keyboard in a PowerShell console using <code class="notranslate">Alt Gr</code> + <code class="notranslate">2</code>.<br> See animated gif:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif"><img src="https://user-images.githubusercontent.com/357872/57315225-7099c400-70f3-11e9-803f-4d60d11feef5.gif" alt="terminal" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto"><strong>What's wrong / what should be happening instead:</strong><br> Windows terminal shows <code class="notranslate">digit-argument</code> instead of outputting the <code class="notranslate">@</code> sign as expected.</p> <p dir="auto">It's possible this is a PEBKAC error somehow but the problem doesn't show up in the normal PowerShell console... 😓</p>
1
<p dir="auto">I was playing with passing around a trait that only has static methods. It works okay, but it appears that this confuses the dead code lint. Here's an example:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait Visitor&lt;R&gt; { fn foo(); } fn visit&lt;V: Visitor&lt;R&gt;, R&gt;() { Visitor::&lt;R&gt;::foo() } struct V; impl Visitor&lt;()&gt; for V { fn foo() { println!(&quot;hi&quot;) } } pub fn main() { visit() }"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">Visitor</span><span class="pl-kos">&lt;</span><span class="pl-smi">R</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">visit</span><span class="pl-kos">&lt;</span><span class="pl-smi">V</span><span class="pl-kos">:</span> <span class="pl-smi">Visitor</span><span class="pl-kos">&lt;</span><span class="pl-smi">R</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-smi">R</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">Visitor</span><span class="pl-kos">::</span><span class="pl-kos">&lt;</span><span class="pl-smi">R</span><span class="pl-kos">&gt;</span><span class="pl-kos">::</span><span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">struct</span> <span class="pl-smi">V</span><span class="pl-kos">;</span> <span class="pl-k">impl</span> <span class="pl-smi">Visitor</span><span class="pl-kos">&lt;</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">&gt;</span> <span class="pl-k">for</span> <span class="pl-smi">V</span> <span class="pl-kos">{</span> <span class="pl-k">fn</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"hi"</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">visit</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">Which warns with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="serde2.rs:9:1: 9:10 warning: struct is never used: `V`, #[warn(dead_code)] on by default serde2.rs:9 struct V; ^~~~~~~~~"><pre class="notranslate"><code class="notranslate">serde2.rs:9:1: 9:10 warning: struct is never used: `V`, #[warn(dead_code)] on by default serde2.rs:9 struct V; ^~~~~~~~~ </code></pre></div> <p dir="auto">As best as I can tell, Rust is able to infer that there's only one implementation possible and uses it, but this information isn't conveyed to the lint, so it marks the struct as being unused.</p>
0
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Brocco/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Brocco">@Brocco</a> ,<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmachnik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmachnik">@jmachnik</a><br> First of all I just begin with Angular 2 and I'm trying to build a nested form and validate it.I had posted this question on stackoverflow but dint got any reply so raising this question as a bug .Please revert with the solution as soon as possible .Thank you<br> Here's part of my ts file:</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NgOnInit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NgOnInit">@NgOnInit</a>() {<br> this.myForm = this.formBuilder.group({<br> projects: this.formBuilder.array([<br> this.initProjects()<br> ])<br> });<br> }</p> <p dir="auto">initProjects(): any {<br> return this.formBuilder.group({<br> name: ['', [Validators.required, Validators.minLength(3)]],<br> some_array: this.formBuilder.array([<br> this.formBuilder.group({<br> name: ['', Validators.required],<br> attr: ['', Validators.required],<br> some_id: [1, Validators.required]<br> })<br> ])<br> });<br> }</p> <p dir="auto">addProject(): void {<br> const control = &lt; FormArray &gt; this.myForm.controls['projects'];<br> control.push(this.initProjects());<br> }</p> <p dir="auto">View:</p> <p dir="auto">Nome é requerido<br> Submit<br> form value:<br> {{myForm.value | json}}<br> form value:<br> {<br> "projects": [<br> {<br> "name": "",<br> "some_array": [<br> {<br> "name": "",<br> "attr": "",<br> "some_id": 1<br> }<br> ]<br> },<br> {<br> "name": "",<br> "some_array": [<br> {<br> "name": "",<br> "attr": "",<br> "some_id": 1<br> }<br> ]<br> }<br> ]<br> }</p> <p dir="auto">Well, as you can see I have some arrays called projects, with 1 array inside each one.</p> <p dir="auto">So the problem is that I'm not able to validate each control of some_array array.</p> <p dir="auto">Actually I'm getting the following error:</p> <p dir="auto">ORIGINAL EXCEPTION: Cannot find control with path: 'projects -&gt; 0 -&gt; controls.some_array.controls.name<br> PS: I already tried to put it in a div, as below:</p> <p dir="auto">But I also got an error:</p> <p dir="auto">Cannot find control with path: 'projects -&gt; some_array'<br> Thanks in advance. Any help would be appreciated.</p>
<p dir="auto">First of all I just begin with Angular 2 and I'm trying to build a nested form and validate it.I had posted this question on stackoverflow but dint got any reply so raising this question as a bug .Please revert with the solution as soon as possible .Thank you<br> Here's part of my ts file:</p> <p dir="auto">ngOnInit() {<br> this.myForm = this.formBuilder.group({<br> projects: this.formBuilder.array([<br> this.initProjects()<br> ])<br> });<br> }</p> <p dir="auto">initProjects(): any {<br> return this.formBuilder.group({<br> name: ['', [Validators.required, Validators.minLength(3)]],<br> some_array: this.formBuilder.array([<br> this.formBuilder.group({<br> name: ['', Validators.required],<br> attr: ['', Validators.required],<br> some_id: [1, Validators.required]<br> })<br> ])<br> });<br> }</p> <p dir="auto">addProject(): void {<br> const control = &lt; FormArray &gt; this.myForm.controls['projects'];<br> control.push(this.initProjects());<br> }</p> <p dir="auto">View:</p> <div dir="auto"> <div dir="auto"> <div dir="auto"> </div> <div dir="auto"> <div dir="auto"> <div dir="auto"> Nome é requerido </div> </div> </div> </div> </div> Submit <pre class="notranslate">form value: <br>{{myForm.value | json}}</pre> <p dir="auto">form value:<br> {<br> "projects": [<br> {<br> "name": "",<br> "some_array": [<br> {<br> "name": "",<br> "attr": "",<br> "some_id": 1<br> }<br> ]<br> },<br> {<br> "name": "",<br> "some_array": [<br> {<br> "name": "",<br> "attr": "",<br> "some_id": 1<br> }<br> ]<br> }<br> ]<br> }</p> <p dir="auto">Well, as you can see I have some arrays called projects, with 1 array inside each one.</p> <p dir="auto">So the problem is that I'm not able to validate each control of some_array array.</p> <p dir="auto">Actually I'm getting the following error:</p> <p dir="auto">ORIGINAL EXCEPTION: Cannot find control with path: 'projects -&gt; 0 -&gt; controls.some_array.controls.name<br> PS: I already tried to put it in a div, as below:</p> <div dir="auto"> <p dir="auto">But I also got an error:</p> <p dir="auto">Cannot find control with path: 'projects -&gt; some_array'<br> Thanks in advance. Any help would be appreciated.</p></div>
1
<p dir="auto">Something within OpenCV's NONFREE library is triggering a fatal make error. The error message does not provide many clues:</p> <p dir="auto">[ 51%] Linking CXX shared library ../../lib/libopencv_cudaarithm.so<br> [ 51%] Built target opencv_cudaarithm<br> Makefile:162: recipe for target 'all' failed<br> make: *** [all] Error 2<br> m@DarkMatter:/DM_Util/_INSTALL_LINUX/OpenCV_4/OpenCV_4.2.0_2020jan16/opencv/build$</p> <p dir="auto">Line 162 in the Makefile is just the spec for make target, so no clues there either:</p> <blockquote> <p dir="auto">The main all target<br> all: cmake_check_build_system<br> $(CMAKE_COMMAND) -E cmake_progress_start<br> ...<br> $(MAKE) -f CMakeFiles/Makefile2 all<br> $(CMAKE_COMMAND) -E cmake_progress_start</p> </blockquote> <hr> <p dir="auto">Additional notes: Though I have not seen this consistently between build attempts,<br> there is sometimes a non-fatal error re openGL. But this related indirectly to rgbd in the contrib lib.</p> <p dir="auto">[ 50%] Built target example_shape_shape_example<br> [ 50%] Built target opencv_test_shape<br> ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to <code class="notranslate">glRenderbufferStorageEXT' ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to </code>glGenFramebuffersEXT'<br> ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to <code class="notranslate">glBindRenderbufferEXT' ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to </code>glGenRenderbuffersEXT'<br> ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to <code class="notranslate">glFramebufferRenderbufferEXT' ../../lib/libopencv_rgbd.so.4.2.0: undefined reference to </code>glBindFramebufferEXT'<br> collect2: error: ld returned 1 exit status<br> modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/build.make:192: recipe for target 'bin/opencv_test_rgbd' failed<br> make[2]: *** [bin/opencv_test_rgbd] Error 1<br> CMakeFiles/Makefile2:12517: recipe for target 'modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/all' failed<br> make[1]: *** [modules/rgbd/CMakeFiles/opencv_test_rgbd.dir/all] Error 2<br> [ 50%] Built target opencv_datasets</p> <p dir="auto">[end]</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; opencv.js 4.1.0-dev</li> <li>Operating System / Platform =&gt; Version 74.0.3729.157 (Official Build) unknown (64-bit)</li> <li>Compiler =&gt; opencv.js WASM build from master branch as described <a href="https://docs.opencv.org/master/d4/da1/tutorial_js_setup.html" rel="nofollow">here</a>.</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">Now the <a href="https://docs.opencv.org/master/d5/d86/tutorial_dnn_javascript.html" rel="nofollow">sample of face recognition with opencv.js</a> just work for the asm.js version of, and doesn't work for the WASM version of opencv.js, saying <code class="notranslate">cv.Mat is not a constructor</code> in the console.log. Seems we need <code class="notranslate">cv.onRuntimeInitialized=()=&gt;{}</code> for the loading of opencv.js WASM.</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Go to <a href="https://docs.opencv.org/master/d4/da1/tutorial_js_setup.html" rel="nofollow">here</a></p>
0
<p dir="auto">I use deno in a Monorepo project witch nodejs and browser code.</p> <p dir="auto">And for now,webstorm only support one typescript language server. Actually, I did some work in babel,and now I can deliver code between node、deno and brower.</p> <p dir="auto">And I use vscode for deno,webstorm for node and brower.</p> <p dir="auto">What annoying me is, if I careless touch a deno file in webstrom,it alart me '.ts' error as you know.</p> <p dir="auto">Use deno and node in mix mode is the reality.</p> <p dir="auto">Actually,the reason I use deno is because,it is good to write TypeScript script. And I can obtain that ability via esbuild.</p> <p dir="auto">I think the incompatible in typescript import syntax,is a big mistake you should change.</p> <p dir="auto">deno is good,because if we make a huge program,we can use deno to isolate something.In that scope,what is important is we can tansfer any code from deno to node,and any code from node to deno.</p> <p dir="auto">In order to achieve this goal, my design(and I think is the common one) is use node develop code.and generate deno code.(because if a problem can solve in deno,it certainly can be solved in node,but not the other way around).</p> <p dir="auto">And I think it's good for deno to generate language syntax compatible design.</p> <p dir="auto">Meanwhile,I think npm discompatible is receivable,because this is higher than lanuage syntax,And we can do a lot to compat that layer.</p>
<p dir="auto">I made an example repo that allows someone to convert <code class="notranslate">npm</code> modules for use with deno.</p> <p dir="auto"><a href="https://github.com/reggi/node-to-deno">https://github.com/reggi/node-to-deno</a></p> <p dir="auto">Not sure if anyone is interested or if this has been done before.</p> <p dir="auto">Is there any discussion for making polyfills <code class="notranslate">node -&gt; deno</code> and <code class="notranslate">deno -&gt; node</code> for standard lib? That's the next chunk needed to make some node modules work with deno.</p> <p dir="auto">Is there any discussion about something like a mixture of what I built and <a href="https://unpkg.com" rel="nofollow">https://unpkg.com</a>? A whole CDN registry that has npm modules ready to use with deno?</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=iwright" rel="nofollow">Ian Wright</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9531?redirect=false" rel="nofollow">SPR-9531</a></strong> and commented</p> <h4 dir="auto">Overview</h4> <p dir="auto">When executing SQL scripts using <code class="notranslate">ResourceDatabasePopulator</code> or <code class="notranslate">JdbcTestUtils</code> errors may occur if there are block comments in the file. In general multi-line comments using the <code class="notranslate">/* ... */</code> syntax are not explicitly supported.</p> <h4 dir="auto">Notes</h4> <p dir="auto">Proper support for standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) was introduced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398154744" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14616" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14616/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14616">#14616</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398155431" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14708" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14708/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14708">#14708</a>. However, neither <code class="notranslate">ResourceDatabasePopulator</code> nor <code class="notranslate">JdbcTestUtils</code> contains <em>explicit</em> support for multi-line SQL comments.</p> <h4 dir="auto">Deliverables</h4> <ol class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Extract common functionality related to script parsing from <code class="notranslate">ResourceDatabasePopulator</code> and <code class="notranslate">JdbcTestUtils</code> into a new <code class="notranslate">public</code> component or utility in the <code class="notranslate">org.springframework.jdbc.datasource.init</code> package in the <code class="notranslate">spring-jdbc</code> module.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Support multi-line SQL comments in the component extracted in the previous deliverable.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Make the start and end delimiters for block comments configurable.</li> </ol> <hr> <p dir="auto"><strong>Affects:</strong> 3.1.1</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398167565" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16310" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16310/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16310">#16310</a> Support EOF as statement separator in SQL scripts (<em><strong>"is depended on by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398166591" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16184" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16184/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16184">#16184</a> SQL Scripts with newline separators no longer work</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398154744" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14616" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14616/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14616">#14616</a> Support comments within SQL statements in JdbcTestUtils</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398155431" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14708" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14708/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14708">#14708</a> Support comments within SQL statements in ResourceDatabasePopulator</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398214643" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/20450" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/20450/hovercard" href="https://github.com/spring-projects/spring-framework/issues/20450">#20450</a> H2 aliases are not supported in SQL ScriptUtils</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398166221" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16144" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16144/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16144">#16144</a> Support custom comment prefix in JdbcTestUtils.executeSqlScript()</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398166622" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/16188" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/16188/hovercard" href="https://github.com/spring-projects/spring-framework/issues/16188">#16188</a> Introduce SQL script exception hierarchy</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/01b2f67f11207c5007164518a83fcfb546b36837/hovercard" href="https://github.com/spring-projects/spring-framework/commit/01b2f67f11207c5007164518a83fcfb546b36837"><tt>01b2f67</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/7853e74e786efda8aea70a5a0e79385a0c5d5cc9/hovercard" href="https://github.com/spring-projects/spring-framework/commit/7853e74e786efda8aea70a5a0e79385a0c5d5cc9"><tt>7853e74</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/9230b38aea41316d78dc2f1bb206ce7a92b9ca56/hovercard" href="https://github.com/spring-projects/spring-framework/commit/9230b38aea41316d78dc2f1bb206ce7a92b9ca56"><tt>9230b38</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/cc0ae3a881dde5910ecc340fa20c2365dd7474fa/hovercard" href="https://github.com/spring-projects/spring-framework/commit/cc0ae3a881dde5910ecc340fa20c2365dd7474fa"><tt>cc0ae3a</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/fbd25467c47fcda1e4d500e1cc3ede3d8ca7f61e/hovercard" href="https://github.com/spring-projects/spring-framework/commit/fbd25467c47fcda1e4d500e1cc3ede3d8ca7f61e"><tt>fbd2546</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/bb67cd4657ee288d9a0a80c8e81f24308a6b1c0a/hovercard" href="https://github.com/spring-projects/spring-framework/commit/bb67cd4657ee288d9a0a80c8e81f24308a6b1c0a"><tt>bb67cd4</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/2bfd6ddcf4de600942a7564a43a338febd4267f2/hovercard" href="https://github.com/spring-projects/spring-framework/commit/2bfd6ddcf4de600942a7564a43a338febd4267f2"><tt>2bfd6dd</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/e5c17560db71996157f52baada68c8a294c95d10/hovercard" href="https://github.com/spring-projects/spring-framework/commit/e5c17560db71996157f52baada68c8a294c95d10"><tt>e5c1756</tt></a></p> <p dir="auto">2 votes, 10 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=sbrannen" rel="nofollow">Sam Brannen</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-10075?redirect=false" rel="nofollow">SPR-10075</a></strong> and commented</p> <h4 dir="auto">Status Quo</h4> <p dir="auto">The deficiency addressed by this issue is the same as that described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398154744" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14616" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14616/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14616">#14616</a> but for <code class="notranslate">ResourceDatabasePopulator</code>.</p> <h4 dir="auto">Deliverables</h4> <p dir="auto">Refactor <code class="notranslate">ResourceDatabasePopulator.splitSqlScript(String, String, String, List)</code> so that:</p> <ol class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) are properly omitted from the statement before executing it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Multiple adjacent whitespace characters within a statement but outside a literal are collapsed into a single space.</li> </ol> <hr> <p dir="auto"><strong>Affects:</strong> 3.1.3</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="398154744" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14616" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14616/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14616">#14616</a> Support comments within SQL statements in JdbcTestUtils</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398151372" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14165" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14165/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14165">#14165</a> Support multi-line SQL comments in ResourceDatabasePopulator and JdbcTestUtils</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/8a422f48c658b8574ed36a9232e8de53c576ea48/hovercard" href="https://github.com/spring-projects/spring-framework/commit/8a422f48c658b8574ed36a9232e8de53c576ea48"><tt>8a422f4</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/aa16caa2ac54b72b28c4149bd9dc992f1e09ee8b/hovercard" href="https://github.com/spring-projects/spring-framework/commit/aa16caa2ac54b72b28c4149bd9dc992f1e09ee8b"><tt>aa16caa</tt></a></p>
1
<h3 dir="auto">Body</h3> <p dir="auto">issue is described in PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1337995923" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/25705" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/25705/hovercard" href="https://github.com/apache/airflow/pull/25705">#25705</a><br> the author of the PR abandon it so anyone can try to submit a fix to the issue.</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>
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.5.0</p> <h3 dir="auto">What happened</h3> <p dir="auto">While creating SFTP sensor I have tried to find a file under directory. But I was getting error as Time Out, not found.<br> So after debugging code found that there is a issue with <a href="https://airflow.apache.org/docs/apache-airflow-providers-sftp/stable/_modules/airflow/providers/sftp/sensors/sftp.html#SFTPSensor.poke" rel="nofollow">poke function</a>.</p> <p dir="auto">As after getting matched file we are trying to find last modified time of the file using <a href="https://airflow.apache.org/docs/apache-airflow-providers-sftp/stable/_modules/airflow/providers/sftp/hooks/sftp.html#SFTPHook.get_mod_time" rel="nofollow">self.hook.get_mod_time</a> which take full path (path + filename) and we are giving only filename as arguments.</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">I have solved that issue by adding path with filename and then calling <a href="https://airflow.apache.org/docs/apache-airflow-providers-sftp/stable/_modules/airflow/providers/sftp/hooks/sftp.html#SFTPHook.get_mod_time" rel="nofollow">self.hook.get_mod_time</a> function.</p> <p dir="auto">Here is modified code,</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" def poke(self, context: Context) -&gt; bool: self.hook = SFTPHook(self.sftp_conn_id) self.log.info(&quot;Poking for %s, with pattern %s&quot;, self.path, self.file_pattern) if self.file_pattern: file_from_pattern = self.hook.get_file_by_pattern(self.path, self.file_pattern) if file_from_pattern: '''actual_file_to_check = file_from_pattern''' actual_file_to_check = self.path + file_from_pattern else: return False else: actual_file_to_check = self.path try: mod_time = self.hook.get_mod_time(actual_file_to_check) self.log.info(&quot;Found File %s last modified: %s&quot;, str(actual_file_to_check), str(mod_time)) except OSError as e: if e.errno != SFTP_NO_SUCH_FILE: raise e return False self.hook.close_conn() if self.newer_than: _mod_time = convert_to_utc(datetime.strptime(mod_time, &quot;%Y%m%d%H%M%S&quot;)) _newer_than = convert_to_utc(self.newer_than) return _newer_than &lt;= _mod_time else: return True "><pre class="notranslate"><code class="notranslate"> def poke(self, context: Context) -&gt; bool: self.hook = SFTPHook(self.sftp_conn_id) self.log.info("Poking for %s, with pattern %s", self.path, self.file_pattern) if self.file_pattern: file_from_pattern = self.hook.get_file_by_pattern(self.path, self.file_pattern) if file_from_pattern: '''actual_file_to_check = file_from_pattern''' actual_file_to_check = self.path + file_from_pattern else: return False else: actual_file_to_check = self.path try: mod_time = self.hook.get_mod_time(actual_file_to_check) self.log.info("Found File %s last modified: %s", str(actual_file_to_check), str(mod_time)) except OSError as e: if e.errno != SFTP_NO_SUCH_FILE: raise e return False self.hook.close_conn() if self.newer_than: _mod_time = convert_to_utc(datetime.strptime(mod_time, "%Y%m%d%H%M%S")) _newer_than = convert_to_utc(self.newer_than) return _newer_than &lt;= _mod_time else: return True </code></pre></div> <h3 dir="auto">How to reproduce</h3> <p dir="auto">You can get same issue by creating a DAG as mentioned</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="with DAG( dag_id='sftp_sensor_dag', max_active_runs=1, default_args=default_args, ) as dag: file_sensing_task = SFTPSensor( task_id='sensor_for_file', path= &quot;Weekly/11/&quot;, file_pattern = &quot;*pdf*, sftp_conn_id='sftp_hook_conn', poke_interval=30 )"><pre class="notranslate"><code class="notranslate">with DAG( dag_id='sftp_sensor_dag', max_active_runs=1, default_args=default_args, ) as dag: file_sensing_task = SFTPSensor( task_id='sensor_for_file', path= "Weekly/11/", file_pattern = "*pdf*, sftp_conn_id='sftp_hook_conn', poke_interval=30 ) </code></pre></div> <h3 dir="auto">Operating System</h3> <p dir="auto">Microsoft Windows [Version 10.0.19044.2251]</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">Docker-Compose</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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>
1
<p dir="auto">Here is a test-case, where I expect the results to always be the same, but they are not.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np dtype=object print(&quot;[[0]] = array-like&quot;) A = np.zeros(2, dtype=dtype) A[[0]] = [[1,2,3,4]] print(A) print(&quot;[[0]] = ndarray&quot;) B = np.zeros(2, dtype=dtype) B[[0]] = np.array([[1,2,3,4]]) print(B) print(&quot;[[T,F]] = array-like&quot;) C = np.zeros(2, dtype=dtype) C[np.array([True, False])] = [[1,2,3,4]] print(C) print(&quot;[[T,F]] = ndarray&quot;) D = np.zeros(2, dtype=dtype) D[np.array([True, False])] = np.array([[1,2,3,4]]) print(D) print(&quot;[0] = array-like&quot;) E = np.zeros(2, dtype=dtype) E[0] = [1,2,3,4] print(E)"><pre class="notranslate"><code class="notranslate">import numpy as np dtype=object print("[[0]] = array-like") A = np.zeros(2, dtype=dtype) A[[0]] = [[1,2,3,4]] print(A) print("[[0]] = ndarray") B = np.zeros(2, dtype=dtype) B[[0]] = np.array([[1,2,3,4]]) print(B) print("[[T,F]] = array-like") C = np.zeros(2, dtype=dtype) C[np.array([True, False])] = [[1,2,3,4]] print(C) print("[[T,F]] = ndarray") D = np.zeros(2, dtype=dtype) D[np.array([True, False])] = np.array([[1,2,3,4]]) print(D) print("[0] = array-like") E = np.zeros(2, dtype=dtype) E[0] = [1,2,3,4] print(E) </code></pre></div> <p dir="auto">To be clear, I expected the result to always be <code class="notranslate">[ [1,2,3,4], 0]</code>.</p> <p dir="auto">The results in 1.8 are different, but also wrong.</p> <ul dir="auto"> <li></li> </ul> <p dir="auto">A probably related bug: when using <code class="notranslate">dtype=int</code>, then I would expect all the calls to trigger an error message, but they do not.</p> <p dir="auto">Tested on both 1.9.2 and current master.</p>
<p dir="auto">Usual assignment and now also advanced indexing assignments allow trailing ones in the values array such as:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="np.arange(10)[:] = np.ones((1, 1, 1, 10))"><pre class="notranslate"><code class="notranslate">np.arange(10)[:] = np.ones((1, 1, 1, 10)) </code></pre></div> <p dir="auto">However boolean indexing does not have any logic in place to ignore these.</p> <p dir="auto">Also for object assignments view based assignments (and now also advanced indexing assignments through a temporary step) have some extra logic to allow sequences:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [6]: a = np.zeros(3, dtype=object) In [7]: a[:] = [(1, 2), (2, 3), (3, 4)] In [8]: a Out[8]: array([(1, 2), (2, 3), (3, 4)], dtype=object) In [9]: a[np.array([True, True, True])] = [(1, 2), (2, 3), (3, 4)] --------------------------------------------------------------------------- TypeError Traceback (most recent call last) &lt;ipython-input-9-361179bc09da&gt; in &lt;module&gt;() ----&gt; 1 a[np.array([True, True, True])] = [(1, 2), (2, 3), (3, 4)] TypeError: NumPy boolean array indexing assignment requires a 0 or 1-dimensional input, input has 2 dimensions In [10]: a[[0, 1, 2]] = [(1, 2), (2, 3), (3, 4)]"><pre class="notranslate"><code class="notranslate">In [6]: a = np.zeros(3, dtype=object) In [7]: a[:] = [(1, 2), (2, 3), (3, 4)] In [8]: a Out[8]: array([(1, 2), (2, 3), (3, 4)], dtype=object) In [9]: a[np.array([True, True, True])] = [(1, 2), (2, 3), (3, 4)] --------------------------------------------------------------------------- TypeError Traceback (most recent call last) &lt;ipython-input-9-361179bc09da&gt; in &lt;module&gt;() ----&gt; 1 a[np.array([True, True, True])] = [(1, 2), (2, 3), (3, 4)] TypeError: NumPy boolean array indexing assignment requires a 0 or 1-dimensional input, input has 2 dimensions In [10]: a[[0, 1, 2]] = [(1, 2), (2, 3), (3, 4)] </code></pre></div>
1
<p dir="auto">Opening files compressed with UglifyJS or YUI compressor, which put everything on 1 line, can take seconds, even for small files (&lt;100kb). Pasting a line like that into an already open file can also freeze things up. I guess syntax highlighting might have a problem dealing with the long lines.</p> <p dir="auto">If it's the syntax highlighting, perhaps that can kick in later so the file can at least be displayed within a reasonable time? Maybe it's a more fundamental problem. It just doesn't feel right to wait around 4 seconds for a 100kb file to load.</p>
<p dir="auto">May be a known issue, but files with large embedded images such as github's public/enterprise/maintenance.html will often cause Atom to freeze (MacVim actually struggles as well).</p> <p dir="auto">Seems some of them (github's public/maintenance.html for instance) work fine when in soft wrap mode, or until you move your cursor to the long line when out of soft wrap.</p>
1
<p dir="auto">Was working on trying to inherit from a trait with a <code class="notranslate">&lt;'self&gt;</code> lifetime parameter, like so:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B : A { fn bar(&amp;self); }"><pre class="notranslate"><code class="notranslate">trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B : A { fn bar(&amp;self); } </code></pre></div> <p dir="auto">and was getting this compile error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Illegal anonymous lifetime: anonymous lifetimes are not permitted here trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B : A { fn bar(&amp;self); } ^~ aborting due to previous error"><pre class="notranslate"><code class="notranslate">error: Illegal anonymous lifetime: anonymous lifetimes are not permitted here trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B : A { fn bar(&amp;self); } ^~ aborting due to previous error </code></pre></div> <p dir="auto">So I thought maybe I could just annotate the inherited trait with the lifetime:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B&lt;'self&gt; : A&lt;'self&gt; { fn bar(&amp;self); }"><pre class="notranslate"><code class="notranslate">trait A&lt;'self&gt; { fn foo(&amp;self) -&gt; &amp;'self str; } trait B&lt;'self&gt; : A&lt;'self&gt; { fn bar(&amp;self); } </code></pre></div> <p dir="auto">which produced this ice:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="task &lt;unnamed&gt; failed at 'region parameterization should have inferred that this type is RP', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/middle/typeck/rscope.rs:238 error: internal compiler error: unexpected failure note: the compiler hit an unexpected failure path. this is a bug note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues task &lt;unnamed&gt; failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/rustc.rs:371 make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd.so] Error 101"><pre class="notranslate"><code class="notranslate">task &lt;unnamed&gt; failed at 'region parameterization should have inferred that this type is RP', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/middle/typeck/rscope.rs:238 error: internal compiler error: unexpected failure note: the compiler hit an unexpected failure path. this is a bug note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues task &lt;unnamed&gt; failed at 'explicit failure', /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/librustc/rustc.rs:371 make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd.so] Error 101 </code></pre></div> <p dir="auto">AFAICT, it's putting <code class="notranslate">&lt;'self&gt;</code> on <code class="notranslate">A</code> when declaring <code class="notranslate">B</code> is what's causing the ICE.</p>
<p dir="auto">sample code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="trait Tr&lt;'self&gt; { fn f(&amp;self) -&gt; &amp;'self int; } fn g&lt;T: Tr&lt;'self&gt;&gt;() {} fn main() {}"><pre class="notranslate"><code class="notranslate">trait Tr&lt;'self&gt; { fn f(&amp;self) -&gt; &amp;'self int; } fn g&lt;T: Tr&lt;'self&gt;&gt;() {} fn main() {} </code></pre></div> <p dir="auto">rustc ICE:</p> <blockquote> <p dir="auto">rust: task failed at 'region parameterization should have inferred that this type is RP', [...]/rust/src/librustc/middle/typeck/rscope.rs:230</p> </blockquote>
1