text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>7.1.1</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>All</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>6.1.4</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">When doing a request with <code class="notranslate">net</code> and the server responds with a status-code that signifies an error, the user can still read the response's body.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">It is impossible to read the reponse's body, as the response object emits a <code class="notranslate">net::ERR_HTTP_RESPONSE_CODE_FAILURE</code> error and stops.</p>
<h3 dir="auto">To Reproduce</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/arantes555/electron-bug-net-body-when-error.git
$ npm install
$ npm start"><pre class="notranslate">$ git clone https://github.com/arantes555/electron-bug-net-body-when-error.git
$ npm install
$ npm start</pre></div>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">This is a critical problem with <code class="notranslate">net</code>. In addition to making it impossible to implement <code class="notranslate">fetch</code> interface correctly, it simply makes <code class="notranslate">net</code> unsuitable for anything serious, as reading the body of the response (no matter the status-code) is at the core of what an HTTP request is.</p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>7.1.1</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>Unknown</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">do not raise subsequent unhandled exception after response event received</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Unhandled exception raised:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Window Title]
Error
[Main Instruction]
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: net::ERR_HTTP_RESPONSE_CODE_FAILURE
[OK]"><pre class="notranslate"><code class="notranslate">[Window Title]
Error
[Main Instruction]
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: net::ERR_HTTP_RESPONSE_CODE_FAILURE
[OK]
</code></pre></div>
<h3 dir="auto">To Reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/kwonoj/clientrequest-response-code-failure
npm install && npm start"><pre class="notranslate"><code class="notranslate">git clone https://github.com/kwonoj/clientrequest-response-code-failure
npm install && npm start
</code></pre></div>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1210596/68459094-410a6800-01b9-11ea-969b-3851c6b9b356.png"><img src="https://user-images.githubusercontent.com/1210596/68459094-410a6800-01b9-11ea-969b-3851c6b9b356.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Setting up <code class="notranslate">response</code> eventhandler correctly forwards 404 response, but right after unhandled exception is thrown. This is not caught by <code class="notranslate">error</code> eventhandler - regardless of setting up eventhandler or not, unhandled exception is always thrown.</p> | 1 |
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="560337681" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/34675" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/34675/hovercard" href="https://github.com/JuliaLang/julia/pull/34675">#34675</a>. It came up that <code class="notranslate">symdiff([1, 2, 3, 2]) == [1, 3]</code> which struck me as... unexpected. I'm opening an issue to discuss whether this is a behavior we actually want.</p> | <p dir="auto">I'm not sure if there's anything we can do about this, but this throws an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> (1:2) - (1:2)
ERROR: ArgumentError: step cannot be zero
in steprange_last at ./range.jl:47
in - at operators.jl:331"><pre class="notranslate">julia<span class="pl-k">></span> (<span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">2</span>) <span class="pl-k">-</span> (<span class="pl-c1">1</span><span class="pl-k">:</span><span class="pl-c1">2</span>)
ERROR<span class="pl-k">:</span> ArgumentError<span class="pl-k">:</span> step cannot be zero
<span class="pl-k">in</span> steprange_last at <span class="pl-k">./</span>range<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">47</span>
<span class="pl-k">in</span> <span class="pl-k">-</span> at operators<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">331</span></pre></div>
<p dir="auto">This can break code that expects that any two <code class="notranslate">AbstractVector{T<:Number}</code>s of the same length can be subtracted from each other.</p> | 0 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=roland.hauser" rel="nofollow">Roland Hauser</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8693?redirect=false" rel="nofollow">SPR-8693</a></strong> and commented</p>
<p dir="auto">We use Datanucleus (Version 3.0.1) for our persistence layer. Datanucleus, in turn, needs the JDO-API Version 3.0.0.<br>
Now, to be able to use the newest version of JDO/Datanucleus in Spring, I need to patch the "Import-Package" derective in the manifest<br>
of the orm library on every update to correct the version range from [2.0.0, 3.0.0) to [2.0.0, 3.1.0):</p>
<p dir="auto">== Original ==<br>
Import-Package:<br>
...<br>
javax.jdo;version="[2.0.0, 3.0.0)";resolution:="optional",javax.jdo.datastore;version="[2.0.0, 3.0.0)"<br>
...</p>
<p dir="auto">== Patched ==<br>
Import-Package:<br>
...<br>
javax.jdo;version="[2.0.0, 3.1.0)";resolution:="optional",javax.jdo.datastore;version="[2.0.0, 3.1.0)"<br>
...</p>
<p dir="auto">If I won't do so, resolution could not be done by the OSGi runtime. A fix would be cool, it would prevent me<br>
to provide a patched version of the orm library.</p>
<p dir="auto">Regards,<br>
Roland</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5, 3.0.6</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398114370" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13309" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13309/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13309">#13309</a> Update spring-orm template.mf to be inclusive of javax.jdo 3.0 (<em><strong>"duplicates"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=quaff" rel="nofollow">Yanming Zhou</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6408?redirect=false" rel="nofollow">SPR-6408</a></strong> and commented</p>
<p dir="auto">javax.persistence.spi.PersistenceUnitInfo add three methods in JPA2</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Override
public String getPersistenceXMLSchemaVersion() {
return "1.0";
}
@Override
public SharedCacheMode getSharedCacheMode() {
return SharedCacheMode.NONE;
}
@Override
public ValidationMode getValidationMode() {
return ValidationMode.NONE;
}"><pre class="notranslate"><code class="notranslate">@Override
public String getPersistenceXMLSchemaVersion() {
return "1.0";
}
@Override
public SharedCacheMode getSharedCacheMode() {
return SharedCacheMode.NONE;
}
@Override
public ValidationMode getValidationMode() {
return ValidationMode.NONE;
}
</code></pre></div>
<p dir="auto">please add it to org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo</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="398101962" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11371" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11371/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11371">#11371</a> Spring 3.0 not compatible with Hibernate 3.5 beta3</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/0ba83755467dabdc6c133d663ece66815407913d/hovercard" href="https://github.com/spring-projects/spring-framework/commit/0ba83755467dabdc6c133d663ece66815407913d"><tt>0ba8375</tt></a></p>
<p dir="auto">2 votes, 6 watchers</p> | 0 |
<p dir="auto">When using <code class="notranslate">np.frombuffer</code> or <code class="notranslate">np.ndarray(..., buffer=...)</code>, the object supporting the buffer interface is passed through unchanged. However, this makes it tricky for the base object to know if it's still being in use. <code class="notranslate">mmap.mmap</code> keeps a count of <code class="notranslate">exports</code>, and will refuse to close if the internal buffer is in use somewhere. Since <code class="notranslate">numpy</code> doesn't store this as a <code class="notranslate">memoryview</code>, the export count isn't incremented and can result in a segfault:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import mmap, numpy as np
In [2]: buffer = mmap.mmap(-1, 100)
In [3]: x = np.frombuffer(buffer, dtype='i1')
In [4]: x[:5]
Out[4]: array([0, 0, 0, 0, 0], dtype=int8)
In [5]: buffer.close() # close the buffer
In [6]: x[:5]
Out[6]: Segmentation fault: 11"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">mmap</span>, <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-s1">mmap</span>.<span class="pl-en">mmap</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">100</span>)
<span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">frombuffer</span>(<span class="pl-s1">buffer</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'i1'</span>)
<span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">x</span>[:<span class="pl-c1">5</span>]
<span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-en">array</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int8</span>)
<span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">buffer</span>.<span class="pl-en">close</span>() <span class="pl-c"># close the buffer</span>
<span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">x</span>[:<span class="pl-c1">5</span>]
<span class="pl-v">Out</span>[<span class="pl-c1">6</span>]: <span class="pl-v">Segmentation</span> <span class="pl-s1">fault</span>: <span class="pl-c1">11</span></pre></div>
<p dir="auto">If stored as a <code class="notranslate">memoryview</code>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1]: import mmap, numpy as np
In [2]: buffer = mmap.mmap(-1, 100)
In [3]: x = np.frombuffer(memoryview(buffer), dtype='i1')
In [4]: x[:5]
Out[4]: array([0, 0, 0, 0, 0], dtype=int8)
In [5]: x.base
Out[5]: <memory at 0x105139d08>
In [6]: buffer.close()
---------------------------------------------------------------------------
BufferError Traceback (most recent call last)
<ipython-input-6-9666a5d75f9e> in <module>()
----> 1 buffer.close()
BufferError: cannot close exported pointers exist"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">import</span> <span class="pl-s1">mmap</span>, <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-s1">mmap</span>.<span class="pl-en">mmap</span>(<span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">100</span>)
<span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">frombuffer</span>(<span class="pl-en">memoryview</span>(<span class="pl-s1">buffer</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'i1'</span>)
<span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-s1">x</span>[:<span class="pl-c1">5</span>]
<span class="pl-v">Out</span>[<span class="pl-c1">4</span>]: <span class="pl-en">array</span>([<span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int8</span>)
<span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">x</span>.<span class="pl-s1">base</span>
<span class="pl-v">Out</span>[<span class="pl-c1">5</span>]: <span class="pl-c1"><</span><span class="pl-s1">memory</span> <span class="pl-s1">at</span> <span class="pl-c1">0x105139d08</span><span class="pl-c1">></span>
<span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">buffer</span>.<span class="pl-en">close</span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span>
<span class="pl-v">BufferError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">6</span><span class="pl-c1">-</span><span class="pl-c1">9666</span><span class="pl-s1">a5d75f9e</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1</span> <span class="pl-s1">buffer</span>.<span class="pl-en">close</span>()
<span class="pl-v">BufferError</span>: <span class="pl-s1">cannot</span> <span class="pl-s1">close</span> <span class="pl-s1">exported</span> <span class="pl-s1">pointers</span> <span class="pl-s1">exist</span></pre></div>
<p dir="auto">This affects <code class="notranslate">np.memmap</code> as well, but since <code class="notranslate">np.memmap</code> manages its own <code class="notranslate">mmap</code> object, closing that could be considered bad behavior.</p> | <p dir="auto">This crashes in python2 and python3 with a segfault:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import mmap
# create test file
a = arange(10., dtype='f4')
a.tofile('test')
# opens it as a memmap
with open('test', 'r+b') as f:
mm = mmap.mmap(f.fileno(),0)
#view the mmap, then close it
x = np.frombuffer(mm, dtype='f4')
mm.close()
print(x) # segfault"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">mmap</span>
<span class="pl-c"># create test file</span>
<span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-en">arange</span>(<span class="pl-c1">10.</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'f4'</span>)
<span class="pl-s1">a</span>.<span class="pl-en">tofile</span>(<span class="pl-s">'test'</span>)
<span class="pl-c"># opens it as a memmap</span>
<span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s">'test'</span>, <span class="pl-s">'r+b'</span>) <span class="pl-k">as</span> <span class="pl-s1">f</span>:
<span class="pl-s1">mm</span> <span class="pl-c1">=</span> <span class="pl-s1">mmap</span>.<span class="pl-en">mmap</span>(<span class="pl-s1">f</span>.<span class="pl-en">fileno</span>(),<span class="pl-c1">0</span>)
<span class="pl-c">#view the mmap, then close it</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">frombuffer</span>(<span class="pl-s1">mm</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'f4'</span>)
<span class="pl-s1">mm</span>.<span class="pl-en">close</span>()
<span class="pl-en">print</span>(<span class="pl-s1">x</span>) <span class="pl-c"># segfault</span></pre></div>
<p dir="auto">In <code class="notranslate">frombuffer</code> mumpy uses the PEP3118 interface to the mmap to get a pointer to the data, so it seems we are using the interface incorrectly somewhere.</p>
<p dir="auto">It seems to me that the "correct" behavior may be for it to be impossible to close the memmap while pointers to it exist; this is the behavior for <code class="notranslate">memoryview</code>s of mmaps. That is, the line <code class="notranslate">mm.close()</code> shoud raise an error <code class="notranslate">BufferError: cannot close exported pointers</code>, as in currently happens in python3:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> import mmap
>>> with open('test', 'r+b') as f:
>>> mm = mmap.mmap(f.fileno(),0)
>>> mv = memoryview(mm)
>>> mm.close()
BufferError: cannot close exported pointers exist"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">import</span> <span class="pl-s1">mmap</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s">'test'</span>, <span class="pl-s">'r+b'</span>) <span class="pl-k">as</span> <span class="pl-s1">f</span>:
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">mm</span> <span class="pl-c1">=</span> <span class="pl-s1">mmap</span>.<span class="pl-en">mmap</span>(<span class="pl-s1">f</span>.<span class="pl-en">fileno</span>(),<span class="pl-c1">0</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">mv</span> <span class="pl-c1">=</span> <span class="pl-en">memoryview</span>(<span class="pl-s1">mm</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">mm</span>.<span class="pl-en">close</span>()
<span class="pl-v">BufferError</span>: <span class="pl-s1">cannot</span> <span class="pl-s1">close</span> <span class="pl-s1">exported</span> <span class="pl-s1">pointers</span> <span class="pl-s1">exist</span></pre></div>
<p dir="auto">however note also that in python2 we cannot create the memoryview (<code class="notranslate">mv</code>) because of an error <code class="notranslate">TypeError: cannot make memory view because object does not have the buffer interface</code>.</p>
<p dir="auto">Note how <a href="https://github.com/python/cpython/blob/b879fe82e7e5c3f7673c9a7fa4aad42bd05445d8/Modules/mmapmodule.c#L727">mmap_buffer_getbuf (link)</a> in the mmap module takes care to keep track of any buffer access to the mmap (the <code class="notranslate">exports</code> counter). Evidently we are somehow bypassing that in numpy.</p> | 1 |
<p dir="auto">How am I supposed to use the Badge component in combination with :</p>
<ul dir="auto">
<li>Buttons</li>
<li>Tabs</li>
<li>Typography<br>
?</li>
</ul>
<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">This does not work, but is what I expected to write :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Badge badgeContent={4} color="default">
<Tab disabled label="Disabled tab" />
</Badge>"><pre class="notranslate"><code class="notranslate"><Badge badgeContent={4} color="default">
<Tab disabled label="Disabled tab" />
</Badge>
</code></pre></div>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The <a href="https://material-ui-next.com/demos/badges/" rel="nofollow">Badge demo page</a> only shows the use of the component wrapping an icon like this :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Badge className={classes.badge} badgeContent={10} color="secondary">
<MailIcon />
</Badge>"><pre class="notranslate"><code class="notranslate"><Badge className={classes.badge} badgeContent={10} color="secondary">
<MailIcon />
</Badge>
</code></pre></div>
<h2 dir="auto">Context</h2>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.31</td>
</tr>
</tbody>
</table> | <p dir="auto">I am trying to add a column in material-ui table with selectfield. <a href="https://github.com/narendravenkata/React_Form">https://github.com/narendravenkata/React_Form</a>. this is the code link. I am unable to set the values and update in edit mode.</p>
<ul dir="auto">
<li>[x ] 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>
<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>Material-UI</td>
<td>"^0.18.6"</td>
</tr>
<tr>
<td>React</td>
<td>"^15.6.1"</td>
</tr>
<tr>
<td>browser</td>
<td>chrome</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">I ran into an odd behaviour when taking the intersection of two Indexes. Specifically,</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="left = pd.Index(['A','B','A','C'])
right = pd.Index(['B','D'])
left.intersection(right)"><pre class="notranslate"><span class="pl-s1">left</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Index</span>([<span class="pl-s">'A'</span>,<span class="pl-s">'B'</span>,<span class="pl-s">'A'</span>,<span class="pl-s">'C'</span>])
<span class="pl-s1">right</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Index</span>([<span class="pl-s">'B'</span>,<span class="pl-s">'D'</span>])
<span class="pl-s1">left</span>.<span class="pl-en">intersection</span>(<span class="pl-s1">right</span>)</pre></div>
<p dir="auto">returns</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Index(['B', 'C'], dtype='object')"><pre class="notranslate"><span class="pl-v">Index</span>([<span class="pl-s">'B'</span>, <span class="pl-s">'C'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)</pre></div>
<p dir="auto">However, I would expect this to return</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Index(['B'], dtype='object')"><pre class="notranslate"><span class="pl-v">Index</span>([<span class="pl-s">'B'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)</pre></div>
<p dir="auto">If <code class="notranslate">Index(['B', 'C'], dtype='object')</code> is the intended behaviour, can someone explain the rationale behind it?</p> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.DataFrame({'t1': pd.NaT, 't2': pd.NaT}, index=[1])
df.min(axis=1)
df.max(axis=1)
df.sum(axis=1)"><pre class="notranslate"><code class="notranslate">df = pd.DataFrame({'t1': pd.NaT, 't2': pd.NaT}, index=[1])
df.min(axis=1)
df.max(axis=1)
df.sum(axis=1)
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">All results above return a <code class="notranslate">float64</code> series instead of a <code class="notranslate">datetime64[ns]</code> series.</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="INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.4.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
pandas: 0.18.0
nose: None
pip: 8.1.1
setuptools: 20.9.0
Cython: None
numpy: 1.11.0
scipy: 0.17.0
statsmodels: 0.6.1
xarray: None
IPython: 4.2.0
sphinx: None
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: 2.5.2
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.12
pymysql: 0.7.2.None
psycopg2: 2.6.1 (dt dec pq3 ext lo64)
jinja2: 2.8
boto: None"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.4.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
pandas: 0.18.0
nose: None
pip: 8.1.1
setuptools: 20.9.0
Cython: None
numpy: 1.11.0
scipy: 0.17.0
statsmodels: 0.6.1
xarray: None
IPython: 4.2.0
sphinx: None
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: 2.5.2
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.12
pymysql: 0.7.2.None
psycopg2: 2.6.1 (dt dec pq3 ext lo64)
jinja2: 2.8
boto: None
</code></pre></div> | 0 |
<h1 dir="auto"><g-emoji class="g-emoji" alias="star2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png">🌟</g-emoji>New model addition</h1>
<p dir="auto"><a href="https://arxiv.org/pdf/1910.10683.pdf" rel="nofollow">Exploring the Limits of Transfer Learning with a<br>
Unified Text-to-Text Transformer</a></p>
<h2 dir="auto">Open Source status</h2>
<p dir="auto">Code and model are open sourced</p> | <h1 dir="auto">🌟New model addition</h1>
<h2 dir="auto">Model description</h2>
<p dir="auto">Google released paper + code + dataset + pre-trained model about their new <strong>T5</strong>, beating state-of-the-art in 17/24 tasks.</p>
<p dir="auto"><a href="https://arxiv.org/pdf/1910.10683.pdf" rel="nofollow">Paper link</a></p>
<h2 dir="auto">Open Source status</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the model implementation and weights are available: <a href="https://github.com/google-research/text-to-text-transfer-transformer">Official codebase</a></li>
</ul> | 1 |
<p dir="auto">Hello, discovered little annoying bug<br>
When you invoke replaceState() with an empty object textarea innerHTML does not update, however the value do</p>
<p dir="auto">Please see example here<br>
<a href="http://jsfiddle.net/kb3gN/7887/" rel="nofollow">http://jsfiddle.net/kb3gN/7887/</a></p> | <p dir="auto">React version: 17.0.0</p>
<h2 dir="auto">Steps To Reproduce</h2>
<ol dir="auto">
<li>Write the following code below:
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from "react";
import ReactDOM from "react-dom";
let i = 0;
const origLog = console.log.bind(console);
const App = () => {
const [a, setA] = React.useState(0);
origLog(i);
console.log(i + ': hijacked log');
origLog("test");
i++;
return (
<button
onClick={() => {
setA(a + 1);
}}
>
click me
</button>
);
};
const rootElement = document.getElementById("root");
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
rootElement
);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">"react"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">ReactDOM</span> <span class="pl-k">from</span> <span class="pl-s">"react-dom"</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">origLog</span> <span class="pl-c1">=</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-c1">log</span><span class="pl-kos">.</span><span class="pl-en">bind</span><span class="pl-kos">(</span><span class="pl-smi">console</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">App</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-s1">a</span><span class="pl-kos">,</span> <span class="pl-s1">setA</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">useState</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-s1">origLog</span><span class="pl-kos">(</span><span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">i</span> <span class="pl-c1">+</span> <span class="pl-s">': hijacked log'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">origLog</span><span class="pl-kos">(</span><span class="pl-s">"test"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">button</span>
<span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">setA</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">}</span>
<span class="pl-c1">></span>
click me
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">rootElement</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"root"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-v">StrictMode</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-v">App</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">React</span><span class="pl-kos">.</span><span class="pl-v">StrictMode</span><span class="pl-c1">></span><span class="pl-kos">,</span>
<span class="pl-s1">rootElement</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
</li>
<li>While the <code class="notranslate">origLog()</code> function is called in every call to <code class="notranslate">App()</code>, the “hijacked” calls to <code class="notranslate">console.log()</code> would only call the original method every other time, and therefore only even numbers are logged by this function.</li>
</ol>
<p dir="auto">Link to code example:</p>
<p dir="auto"><a href="https://codesandbox.io/s/jolly-bush-4ql7z?file=/src/index.js" rel="nofollow">https://codesandbox.io/s/jolly-bush-4ql7z?file=/src/index.js</a></p>
<h2 dir="auto">The current behavior</h2>
<p dir="auto">React automatically “hijacks” the console’s methods to prevent duplicated logs, which might cause unpredictable behaviors.</p>
<h2 dir="auto">The expected behavior</h2>
<p dir="auto">The original console methods are called by default even if in the component code.</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">How do I intercept API calls of a service worker? I assumed <code class="notranslate">context.route</code> covered everything contained in context, service workers included.<br>
Was I wrong? If so, how do I intercept their apis as well?</p>
<p dir="auto">Thanks!</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: [v1.32]</li>
<li>Operating System: [macOS 13.2.1]</li>
<li>Browser: [Chromium]</li>
<li>Other info: [N/A]</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"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>configTypes.ts</strong> : This file is inside folder in which pages, test and configTypes.ts are in same level.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
import fs from "fs";
import toml from "toml";
const config = toml.parse(fs.readFileSync("./config.toml", "utf-8"));
export default {
ADMIN_URL: process.env.ADMIN_STAG_URL ?? config.admin_url,
ADMIN_MOBILE_NUMBER: process.env.ADMIN_PHONE ?? config.admin_mobile_number,
ADMIN_PASSCODE: process.env.ADMIN_PASSCODE ?? config.admin_passcode,
};
"><pre class="notranslate"><code class="notranslate">
import fs from "fs";
import toml from "toml";
const config = toml.parse(fs.readFileSync("./config.toml", "utf-8"));
export default {
ADMIN_URL: process.env.ADMIN_STAG_URL ?? config.admin_url,
ADMIN_MOBILE_NUMBER: process.env.ADMIN_PHONE ?? config.admin_mobile_number,
ADMIN_PASSCODE: process.env.ADMIN_PASSCODE ?? config.admin_passcode,
};
</code></pre></div>
<p dir="auto"><strong>config.toml</strong> : This file is in the main root level.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="admin_url="https://hello.com/"
admin_mobile_number="9999999999"
admin_passcode = "1234""><pre class="notranslate"><code class="notranslate">admin_url="https://hello.com/"
admin_mobile_number="9999999999"
admin_passcode = "1234"
</code></pre></div>
<p dir="auto">**Git Hub Repository > > Settings >> Secrets and Variables >> Actions >> Variables >> Repository Variables ** : At this location, I have added URL and Credentials which should be used.</p>
<p dir="auto"><code class="notranslate">SANITY=1 CICD=1 ADMIN_STAG_URL="https://test-hello.com/" ADMIN_PHONE=9090909090 ADMIN_PASSCODE=1234</code></p>
<p dir="auto"><strong>GitHub Action Workflow</strong> :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="name: Automated Tests
on:
pull_request:
branches: [master]
types: ['opened']
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: admin
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Check out automationtest repo
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
working-directory: ./automationtest
- name: Run tests
run: SANITY=1 CICD=1 npx playwright test --project=admin-sanity
working-directory: ./automationtest
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: ./automationtest/playwright-report/
retention-days: 8"><pre class="notranslate"><code class="notranslate">name: Automated Tests
on:
pull_request:
branches: [master]
types: ['opened']
jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: admin
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Check out automationtest repo
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
working-directory: ./automationtest
- name: Run tests
run: SANITY=1 CICD=1 npx playwright test --project=admin-sanity
working-directory: ./automationtest
- name: Upload artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: ./automationtest/playwright-report/
retention-days: 8
</code></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>[Run the test]</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">I am expecting when the script is running through cicd pipeline, it will use the URL and login credentials mentioned in the 'GitHub Actions >> Variables >> Repository Variables'.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">It is using the URL and Credentials mentioned in 'Config.toml' file when running tests through cicd pipelines.</p>
<p dir="auto">Please help here.</p>
<p dir="auto">Thanks.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">All steps carried out on Sony E2303.</p>
<ol dir="auto">
<li>Create example app</li>
<li><code class="notranslate">flutter run</code></li>
</ol>
<p dir="auto">Running the app with the <code class="notranslate">--enable-software-rendering</code> flag fixes this issue.</p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on E2303 in debug mode...
Initializing gradle... 5.9s
Resolving dependencies... 5.2s
Running 'gradlew assembleDebug'... 5.5s
Built build/app/outputs/apk/debug/app-debug.apk (25.4MB).
I/FlutterActivityDelegate(13455): onResume setting current activity to this
Syncing files to device E2303...
F/libc (13455): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x80 in tid 13478 (gpu_thread)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Sony/E2303/E2303:5.0/26.1.A.3.111/1712026759:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 13455, tid: 13478, name: gpu_thread >>> com.example.testapp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x80
x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 0000007f9ea3d890
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
x8 00000055802f1488 x9 0000007f9e0c2968 x10 0000000000000000 x11 0000000000000000
x12 0000000000000000 x13 0000000000000003 x14 0000000000810001 x15 0000000000000000
x16 0000000000000000 x17 0000000000000000 x18 00000000ffffffff x19 0000007f9ffccbd8
x20 0000007f9ffcc78a x21 0000007f9ffcf888 x22 0000007f9ffcd540 x23 0000000000000002
x24 0000007f9ffcc770 x25 0000007f9ffccba0 x26 0000007f9ffccb30 x27 0000007f9ffcc540
x28 00000000fffffffe x29 0000007f9ffcc300 x30 0000007f9e10af44
sp 0000007f9ffcc300 pc 0000007f9e10af44 pstate 0000000020000000
backtrace:
#00 pc 00000000001fff44 /system/vendor/lib64/libsc-a3xx.so
#01 pc 00000000001e628c /system/vendor/lib64/libsc-a3xx.so
#02 pc 0000000000238bd0 /system/vendor/lib64/libsc-a3xx.so
#03 pc 000000000021d560 /system/vendor/lib64/libsc-a3xx.so
#04 pc 0000000000247c54 /system/vendor/lib64/libsc-a3xx.so
#05 pc 000000000024d454 /system/vendor/lib64/libsc-a3xx.so (__compile_shader_source+1972)
#06 pc 00000000000b1cac /system/vendor/lib64/egl/libGLESv2_adreno.so (core_glCompileShader+268)
#07 pc 000000000007b310 /system/vendor/lib64/egl/libGLESv2_adreno.so (glCompileShader+32)
#08 pc 0000000000340620 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#09 pc 000000000033f840 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#10 pc 000000000033f0e4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#11 pc 000000000033ed24 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#12 pc 00000000003362d0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#13 pc 000000000032dfd0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#14 pc 00000000003309d8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#15 pc 00000000002aa7f8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#16 pc 00000000002fd0b0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#17 pc 00000000002fcd84 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#18 pc 00000000002f681c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#19 pc 00000000002bdb84 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#20 pc 00000000002a4c80 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#21 pc 00000000002a488c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#22 pc 00000000002a4e9c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#23 pc 00000000002bc20c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#24 pc 000000000019d0a4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#25 pc 000000000019a628 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#26 pc 000000000019a5cc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#27 pc 000000000019b5d4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#28 pc 000000000019b898 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#29 pc 000000000019bcfc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#30 pc 000000000019ba04 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#31 pc 000000000019b720 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#32 pc 000000000018f62c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#33 pc 00000000001695ec /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#34 pc 000000000016d818 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#35 pc 0000000000018fd8 /system/lib64/libutils.so (android::Looper::pollInner(int)+516)
#36 pc 0000000000019220 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+76)
#37 pc 000000000000bed8 /system/lib64/libandroid.so (ALooper_pollOnce+84)
#38 pc 000000000016d7bc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#39 pc 00000000001696c8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#40 pc 000000000016b954 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#41 pc 0000000000018aa0 /system/lib64/libc.so (__pthread_start(void*)+52)
#42 pc 0000000000014d30 /system/lib64/libc.so (__start_thread+16)
Tombstone written to: /data/tombstones/tombstone_01
Lost connection to device."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on E2303 in debug mode...
Initializing gradle... 5.9s
Resolving dependencies... 5.2s
Running 'gradlew assembleDebug'... 5.5s
Built build/app/outputs/apk/debug/app-debug.apk (25.4MB).
I/FlutterActivityDelegate(13455): onResume setting current activity to this
Syncing files to device E2303...
F/libc (13455): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x80 in tid 13478 (gpu_thread)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Sony/E2303/E2303:5.0/26.1.A.3.111/1712026759:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 13455, tid: 13478, name: gpu_thread >>> com.example.testapp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x80
x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 0000007f9ea3d890
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
x8 00000055802f1488 x9 0000007f9e0c2968 x10 0000000000000000 x11 0000000000000000
x12 0000000000000000 x13 0000000000000003 x14 0000000000810001 x15 0000000000000000
x16 0000000000000000 x17 0000000000000000 x18 00000000ffffffff x19 0000007f9ffccbd8
x20 0000007f9ffcc78a x21 0000007f9ffcf888 x22 0000007f9ffcd540 x23 0000000000000002
x24 0000007f9ffcc770 x25 0000007f9ffccba0 x26 0000007f9ffccb30 x27 0000007f9ffcc540
x28 00000000fffffffe x29 0000007f9ffcc300 x30 0000007f9e10af44
sp 0000007f9ffcc300 pc 0000007f9e10af44 pstate 0000000020000000
backtrace:
#00 pc 00000000001fff44 /system/vendor/lib64/libsc-a3xx.so
#01 pc 00000000001e628c /system/vendor/lib64/libsc-a3xx.so
#02 pc 0000000000238bd0 /system/vendor/lib64/libsc-a3xx.so
#03 pc 000000000021d560 /system/vendor/lib64/libsc-a3xx.so
#04 pc 0000000000247c54 /system/vendor/lib64/libsc-a3xx.so
#05 pc 000000000024d454 /system/vendor/lib64/libsc-a3xx.so (__compile_shader_source+1972)
#06 pc 00000000000b1cac /system/vendor/lib64/egl/libGLESv2_adreno.so (core_glCompileShader+268)
#07 pc 000000000007b310 /system/vendor/lib64/egl/libGLESv2_adreno.so (glCompileShader+32)
#08 pc 0000000000340620 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#09 pc 000000000033f840 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#10 pc 000000000033f0e4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#11 pc 000000000033ed24 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#12 pc 00000000003362d0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#13 pc 000000000032dfd0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#14 pc 00000000003309d8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#15 pc 00000000002aa7f8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#16 pc 00000000002fd0b0 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#17 pc 00000000002fcd84 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#18 pc 00000000002f681c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#19 pc 00000000002bdb84 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#20 pc 00000000002a4c80 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#21 pc 00000000002a488c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#22 pc 00000000002a4e9c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#23 pc 00000000002bc20c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#24 pc 000000000019d0a4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#25 pc 000000000019a628 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#26 pc 000000000019a5cc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#27 pc 000000000019b5d4 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#28 pc 000000000019b898 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#29 pc 000000000019bcfc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#30 pc 000000000019ba04 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#31 pc 000000000019b720 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#32 pc 000000000018f62c /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#33 pc 00000000001695ec /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#34 pc 000000000016d818 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#35 pc 0000000000018fd8 /system/lib64/libutils.so (android::Looper::pollInner(int)+516)
#36 pc 0000000000019220 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+76)
#37 pc 000000000000bed8 /system/lib64/libandroid.so (ALooper_pollOnce+84)
#38 pc 000000000016d7bc /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#39 pc 00000000001696c8 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#40 pc 000000000016b954 /data/app/com.example.testapp-1/lib/arm64/libflutter.so
#41 pc 0000000000018aa0 /system/lib64/libc.so (__pthread_start(void*)+52)
#42 pc 0000000000014d30 /system/lib64/libc.so (__start_thread+16)
Tombstone written to: /data/tombstones/tombstone_01
Lost connection to device.
</code></pre></div>
<p dir="auto">Flutter Analyze returns no errors.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.1.5, on Linux, locale en_GB.UTF-8)
• Flutter version 0.1.5 at /home/joseph/flutter
• Framework revision 3ea4d06340 (2 weeks ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/joseph/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /opt/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 /opt/android-studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[!] IntelliJ IDEA Community Edition (version 2017.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected devices (1 available)
• E2303 • YT9113FYLK • android-arm64 • Android 5.0 (API 21)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.1.5, on Linux, locale en_GB.UTF-8)
• Flutter version 0.1.5 at /home/joseph/flutter
• Framework revision 3ea4d06340 (2 weeks ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/joseph/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /opt/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 /opt/android-studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[!] IntelliJ IDEA Community Edition (version 2017.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[✓] Connected devices (1 available)
• E2303 • YT9113FYLK • android-arm64 • Android 5.0 (API 21)
! Doctor found issues in 1 category.
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Use Android Studio create "New Flutter Project",run it in Android Device.But crashed when App launchr.Try it use Android Emulator:Nexus 5X API 25 launchr success.</p>
<h2 dir="auto">Logs</h2>
<ul dir="auto">
<li>Console Log</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on YQ601 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk (24.6MB).
I/FlutterActivityDelegate(16687): onResume setting current activity to this
Syncing files to device YQ601...
F/libc (16687): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 16713 (gpu_thread)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'SMARTISAN/msm8916_32:5.1.1/LMY47V/10:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 16687, tid: 16713, name: gpu_thread >>> com.julyyu.flutterprojects <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
r0 00000000 r1 b6810001 r2 a9fc8a88 r3 a9baa4f1
r4 a03e8ec8 r5 a03eab80 r6 a9c30001 r7 a03e8b18
r8 a03e8b30 r9 a9f9696d sl 0000006c fp 00000002
ip 00000000 sp a03e8970 lr a9c44849 pc a9c44848 cpsr 400b0030
backtrace:
#00 pc 000da848 /system/vendor/lib/libsc-a3xx.so
#01 pc 000d8405 /system/vendor/lib/libsc-a3xx.so
#02 pc 000f4c09 /system/vendor/lib/libsc-a3xx.so
#03 pc 000ead65 /system/vendor/lib/libsc-a3xx.so
#04 pc 000fb73f /system/vendor/lib/libsc-a3xx.so
#05 pc 000fe1b3 /system/vendor/lib/libsc-a3xx.so
#06 pc 00069373 /system/vendor/lib/egl/libGLESv2_adreno.so (core_glCompileShader+358)
#07 pc 000499bb /system/vendor/lib/egl/libGLESv2_adreno.so (glCompileShader+16)
#08 pc 00009bd5 /system/lib/libGLESv2.so (glCompileShader+14)
#09 pc 001eba15 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#10 pc 001eafff /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#11 pc 001eaa23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#12 pc 001ea76b /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#13 pc 001e46db /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#14 pc 001dec87 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#15 pc 001e09df /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#16 pc 0017f0a3 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#17 pc 001bb8bb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#18 pc 001bb60d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#19 pc 001b64e9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#20 pc 0018c71f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#21 pc 0017b879 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#22 pc 0017b5cf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#23 pc 0017b9f5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#24 pc 0018b597 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#25 pc 000ad633 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#26 pc 000abddf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#27 pc 000abda9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#28 pc 000ac73d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#29 pc 000ac8b1 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#30 pc 000acb23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#31 pc 000ac97f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#32 pc 000ac7c5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#33 pc 000a4f17 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#34 pc 0008d185 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#35 pc 0008f9cb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#36 pc 00010317 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+10)
#37 pc 00010f77 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+482)
#38 pc 00011021 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
#39 pc 00008ae1 /system/lib/libandroid.so (ALooper_pollOnce+64)
#40 pc 0008f987 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#41 pc 0008d211 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#42 pc 0008e5bd /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#43 pc 0001341b /system/lib/libc.so (_ZL15__pthread_startPv+30)
#44 pc 00011347 /system/lib/libc.so (__start_thread+6)
Tombstone written to: /data/tombstones/tombstone_02
Lost connection to device.
* CatLog
03-07 09:21:07.074 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:08.074 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:08.977 299-299/? E/QCALOG: [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent]
03-07 09:21:09.075 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:09.187 4899-4899/? I/Timeline: Timeline: Activity_launch_request id:com.julyyu.flutterprojects time:223334648
03-07 09:21:09.190 2819-4743/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.julyyu.flutterprojects/.MainActivity (has extras)} from uid 10012 on display 0
03-07 09:21:09.206 2819-4743/? V/WindowManager: addAppToken: AppWindowToken{39a7d22e token=Token{30dbcca9 ActivityRecord{c2f8830 u0 com.julyyu.flutterprojects/.MainActivity t2230}}} to stack=1 task=2230 at 0
03-07 09:21:09.214 2819-3165/? I/ViewRootImpl: CPU Rendering VSync enable = true
03-07 09:21:09.217 2819-3165/? V/WindowManager: Adding window Window{b3cf75c u0 Starting com.julyyu.flutterprojects} at 8 of 13 (after Window{3741959a u0 com.android.browser/org.chromium.chrome.browser.ChromeTabbedActivity})
03-07 09:21:09.304 2819-4232/? I/ActivityManager: Start proc 16768:com.julyyu.flutterprojects/u0a227 for activity com.julyyu.flutterprojects/.MainActivity
03-07 09:21:09.305 16768-16768/? I/art: Late-enabling -Xcheck:jni
03-07 09:21:09.306 2819-4742/? W/ActivityManager: getTasks: caller 10012 is using old GET_TASKS but privileged; allowing
03-07 09:21:09.345 16768-16782/? I/art: Debugger is no longer active
03-07 09:21:09.359 2819-4412/? I/ActivityManager: dispatchActivityResumed for activity com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity uid 10227
03-07 09:21:09.434 16768-16768/? W/linker: libflutter.so: unused DT entry: type 0x6ffffffe arg 0xd838
03-07 09:21:09.434 16768-16768/? W/linker: libflutter.so: unused DT entry: type 0x6fffffff arg 0x3
03-07 09:21:09.854 16768-16768/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070_msm8916_32_refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070__release_AU (I385e983e35)
OpenGL ES Shader Compiler Version: E031.25.03.04
Build Date: 10/27/16 Thu
Local Branch:
Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070
Local Patches: NONE
Reconstruct Branch: NOTHING
03-07 09:21:09.905 16768-16768/? I/FlutterActivityDelegate: onResume setting current activity to this
03-07 09:21:09.913 16768-16768/? I/ViewRootImpl: CPU Rendering VSync enable = true
03-07 09:21:09.931 16768-16798/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-07 09:21:09.931 16768-16798/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-07 09:21:09.953 16768-16798/? D/OpenGLRenderer: Enabling debug mode 0
03-07 09:21:09.972 2819-4617/? V/WindowManager: Adding window Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity} at 8 of 14 (before Window{b3cf75c u0 Starting com.julyyu.flutterprojects})
03-07 09:21:10.007 16768-16798/? I/qdutils: PartialUpdate status: Disabled
03-07 09:21:10.007 16768-16798/? I/qdutils: Left Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Width Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Top Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Height Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Min ROI Width: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Min ROI Height: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Needs ROI Merge: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Dynamic Fps: Disabled
03-07 09:21:10.007 16768-16798/? I/qdutils: Min Panel fps: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Max Panel fps: 0
03-07 09:21:10.026 2819-4120/? V/WindowManager: Adding window Window{1e643219 u0 SurfaceView} at 8 of 15 (before Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity})
03-07 09:21:10.075 16193-16193/? W/Atfwd_Sendcmd: AtCmdFwd service not published, waiting... retryCnt : 4
03-07 09:21:10.221 299-299/? E/QCALOG: [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent]
03-07 09:21:10.314 2819-4761/? W/ActivityManager: getRecentTasks: caller 10026 is using old GET_TASKS but privileged; allowing
03-07 09:21:10.316 2819-4436/? W/ActivityManager: getTasks: caller 10026 is using old GET_TASKS but privileged; allowing
03-07 09:21:10.497 16768-16802/com.julyyu.flutterprojects I/flutter: Observatory listening on http://127.0.0.1:56204/
03-07 09:21:10.506 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:-1
03-07 09:21:10.506 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:-1
03-07 09:21:10.507 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:1
03-07 09:21:10.521 2819-3165/? I/ActivityManager: Displayed com.julyyu.flutterprojects/.MainActivity: +1s272ms
03-07 09:21:10.521 2819-3165/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{c2f8830 u0 com.julyyu.flutterprojects/.MainActivity t2230} time:223335982
03-07 09:21:10.541 16768-16768/com.julyyu.flutterprojects I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@3adb42d7 time:223336001
03-07 09:21:11.369 16768-16782/? I/art: Ignoring second debugger -- accepting and dropping
03-07 09:21:12.599 16768-16793/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 16793 (gpu_thread)
03-07 09:21:12.704 237-237/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-07 09:21:12.704 237-237/? I/DEBUG: Build fingerprint: 'SMARTISAN/msm8916_32:5.1.1/LMY47V/10:user/release-keys'
03-07 09:21:12.704 237-237/? I/DEBUG: Revision: '0'
03-07 09:21:12.704 237-237/? I/DEBUG: ABI: 'arm'
03-07 09:21:12.705 237-237/? I/DEBUG: pid: 16768, tid: 16793, name: gpu_thread >>> com.julyyu.flutterprojects <<<
03-07 09:21:12.705 237-237/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
03-07 09:21:12.720 2819-4014/? D/TaskPersister: removeObsoleteFile: deleting file=2229_task.xml
03-07 09:21:12.721 2819-4014/? D/TaskPersister: removeObsoleteFile: deleting file=2229_task_thumbnail.png
03-07 09:21:12.734 237-237/? I/DEBUG: r0 00000000 r1 b6810001 r2 a9fc8a88 r3 a9baa4f1
03-07 09:21:12.735 237-237/? I/DEBUG: r4 a02eaec8 r5 a02ecb80 r6 a9c30001 r7 a02eab18
03-07 09:21:12.735 237-237/? I/DEBUG: r8 a02eab30 r9 a9f9696d sl 0000006c fp 00000002
03-07 09:21:12.735 237-237/? I/DEBUG: ip 00000000 sp a02ea970 lr a9c44849 pc a9c44848 cpsr 400b0030
03-07 09:21:12.735 237-237/? I/DEBUG: backtrace:
03-07 09:21:12.735 237-237/? I/DEBUG: #00 pc 000da848 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #01 pc 000d8405 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #02 pc 000f4c09 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #03 pc 000ead65 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #04 pc 000fb73f /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #05 pc 000fe1b3 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #06 pc 00069373 /system/vendor/lib/egl/libGLESv2_adreno.so (core_glCompileShader+358)
03-07 09:21:12.736 237-237/? I/DEBUG: #07 pc 000499bb /system/vendor/lib/egl/libGLESv2_adreno.so (glCompileShader+16)
03-07 09:21:12.736 237-237/? I/DEBUG: #08 pc 00009bd5 /system/lib/libGLESv2.so (glCompileShader+14)
03-07 09:21:12.736 237-237/? I/DEBUG: #09 pc 001eba15 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #10 pc 001eafff /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #11 pc 001eaa23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #12 pc 001ea76b /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #13 pc 001e46db /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #14 pc 001dec87 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #15 pc 001e09df /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #16 pc 0017f0a3 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #17 pc 001bb8bb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #18 pc 001bb60d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #19 pc 001b64e9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #20 pc 0018c71f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #21 pc 0017b879 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #22 pc 0017b5cf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #23 pc 0017b9f5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #24 pc 0018b597 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #25 pc 000ad633 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #26 pc 000abddf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #27 pc 000abda9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #28 pc 000ac73d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #29 pc 000ac8b1 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #30 pc 000acb23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #31 pc 000ac97f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #32 pc 000ac7c5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #33 pc 000a4f17 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #34 pc 0008d185 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #35 pc 0008f9cb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #36 pc 00010317 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+10)
03-07 09:21:12.738 237-237/? I/DEBUG: #37 pc 00010f77 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+482)
03-07 09:21:12.738 237-237/? I/DEBUG: #38 pc 00011021 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
03-07 09:21:12.738 237-237/? I/DEBUG: #39 pc 00008ae1 /system/lib/libandroid.so (ALooper_pollOnce+64)
03-07 09:21:12.738 237-237/? I/DEBUG: #40 pc 0008f987 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #41 pc 0008d211 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #42 pc 0008e5bd /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #43 pc 0001341b /system/lib/libc.so (_ZL15__pthread_startPv+30)
03-07 09:21:12.738 237-237/? I/DEBUG: #44 pc 00011347 /system/lib/libc.so (__start_thread+6)
03-07 09:21:12.747 237-237/? W/debuggerd: type=1400 audit(0.0:6417): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=270 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0
03-07 09:21:13.280 2819-16811/? W/ActivityManager: Force finishing activity 1 com.julyyu.flutterprojects/.MainActivity
03-07 09:21:13.284 237-237/? I/DEBUG: Tombstone written to: /data/tombstones/tombstone_03
03-07 09:21:13.284 2819-3162/? I/BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
03-07 09:21:13.319 2819-16811/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!
03-07 09:21:13.321 2819-16811/? W/ActivityManager: Exception thrown during pause
android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:595)
at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:713)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:886)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2985)
at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2843)
at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2711)
at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:12922)
at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:12818)
at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:13507)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13014)
at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
03-07 09:21:13.324 221-221/? E/lowmemorykiller: Error writing /proc/16768/oom_score_adj; errno=22
03-07 09:21:13.332 2819-16811/? I/ActivityManager: dispatchActivityResumed for activity com.smartisanos.launcher/com.smartisanos.launcher.Launcher uid 10012
03-07 09:21:13.336 2819-2876/? W/ActivityManager: Skipping crash dialog of ProcessRecord{2e5a8eea 16768:com.julyyu.flutterprojects/u0a227}: background
03-07 09:21:13.382 2819-4771/? I/Process: killProcessQuiet pid=16768
03-07 09:21:13.382 2819-4436/? I/WindowState: WIN DEATH: Window{1e643219 u0 SurfaceView}
03-07 09:21:13.385 2819-3691/? W/InputDispatcher: channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-07 09:21:13.385 2819-3691/? E/InputDispatcher: channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-07 09:21:13.386 253-253/? I/Zygote: Process 16768 exited due to signal (11)
03-07 09:21:13.386 2819-4771/? I/ActivityManager: Process com.julyyu.flutterprojects (pid 16768) has died
03-07 09:21:13.386 2819-4649/? I/WindowState: WIN DEATH: Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity}
03-07 09:21:13.387 2819-4649/? W/InputDispatcher: Attempted to unregister already unregistered input channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)'
03-07 09:21:13.422 2819-4743/? W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 16768 uid 10227
03-07 09:21:13.443 4899-4899/? I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@3f5aec80 time:223338904
03-07 09:21:13.765 2819-3165/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{1c1027e6 u0 com.smartisanos.launcher/.Launcher t1785} time:223339226"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on YQ601 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk (24.6MB).
I/FlutterActivityDelegate(16687): onResume setting current activity to this
Syncing files to device YQ601...
F/libc (16687): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 16713 (gpu_thread)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'SMARTISAN/msm8916_32:5.1.1/LMY47V/10:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 16687, tid: 16713, name: gpu_thread >>> com.julyyu.flutterprojects <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
r0 00000000 r1 b6810001 r2 a9fc8a88 r3 a9baa4f1
r4 a03e8ec8 r5 a03eab80 r6 a9c30001 r7 a03e8b18
r8 a03e8b30 r9 a9f9696d sl 0000006c fp 00000002
ip 00000000 sp a03e8970 lr a9c44849 pc a9c44848 cpsr 400b0030
backtrace:
#00 pc 000da848 /system/vendor/lib/libsc-a3xx.so
#01 pc 000d8405 /system/vendor/lib/libsc-a3xx.so
#02 pc 000f4c09 /system/vendor/lib/libsc-a3xx.so
#03 pc 000ead65 /system/vendor/lib/libsc-a3xx.so
#04 pc 000fb73f /system/vendor/lib/libsc-a3xx.so
#05 pc 000fe1b3 /system/vendor/lib/libsc-a3xx.so
#06 pc 00069373 /system/vendor/lib/egl/libGLESv2_adreno.so (core_glCompileShader+358)
#07 pc 000499bb /system/vendor/lib/egl/libGLESv2_adreno.so (glCompileShader+16)
#08 pc 00009bd5 /system/lib/libGLESv2.so (glCompileShader+14)
#09 pc 001eba15 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#10 pc 001eafff /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#11 pc 001eaa23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#12 pc 001ea76b /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#13 pc 001e46db /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#14 pc 001dec87 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#15 pc 001e09df /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#16 pc 0017f0a3 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#17 pc 001bb8bb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#18 pc 001bb60d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#19 pc 001b64e9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#20 pc 0018c71f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#21 pc 0017b879 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#22 pc 0017b5cf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#23 pc 0017b9f5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#24 pc 0018b597 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#25 pc 000ad633 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#26 pc 000abddf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#27 pc 000abda9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#28 pc 000ac73d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#29 pc 000ac8b1 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#30 pc 000acb23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#31 pc 000ac97f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#32 pc 000ac7c5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#33 pc 000a4f17 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#34 pc 0008d185 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#35 pc 0008f9cb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#36 pc 00010317 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+10)
#37 pc 00010f77 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+482)
#38 pc 00011021 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
#39 pc 00008ae1 /system/lib/libandroid.so (ALooper_pollOnce+64)
#40 pc 0008f987 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#41 pc 0008d211 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#42 pc 0008e5bd /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
#43 pc 0001341b /system/lib/libc.so (_ZL15__pthread_startPv+30)
#44 pc 00011347 /system/lib/libc.so (__start_thread+6)
Tombstone written to: /data/tombstones/tombstone_02
Lost connection to device.
* CatLog
03-07 09:21:07.074 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:08.074 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:08.977 299-299/? E/QCALOG: [MessageQ] ProcessNewMessage: [XTWiFi-PE] unknown deliver target [OS-Agent]
03-07 09:21:09.075 16193-16193/? I/ServiceManager: Waiting for service AtCmdFwd...
03-07 09:21:09.187 4899-4899/? I/Timeline: Timeline: Activity_launch_request id:com.julyyu.flutterprojects time:223334648
03-07 09:21:09.190 2819-4743/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.julyyu.flutterprojects/.MainActivity (has extras)} from uid 10012 on display 0
03-07 09:21:09.206 2819-4743/? V/WindowManager: addAppToken: AppWindowToken{39a7d22e token=Token{30dbcca9 ActivityRecord{c2f8830 u0 com.julyyu.flutterprojects/.MainActivity t2230}}} to stack=1 task=2230 at 0
03-07 09:21:09.214 2819-3165/? I/ViewRootImpl: CPU Rendering VSync enable = true
03-07 09:21:09.217 2819-3165/? V/WindowManager: Adding window Window{b3cf75c u0 Starting com.julyyu.flutterprojects} at 8 of 13 (after Window{3741959a u0 com.android.browser/org.chromium.chrome.browser.ChromeTabbedActivity})
03-07 09:21:09.304 2819-4232/? I/ActivityManager: Start proc 16768:com.julyyu.flutterprojects/u0a227 for activity com.julyyu.flutterprojects/.MainActivity
03-07 09:21:09.305 16768-16768/? I/art: Late-enabling -Xcheck:jni
03-07 09:21:09.306 2819-4742/? W/ActivityManager: getTasks: caller 10012 is using old GET_TASKS but privileged; allowing
03-07 09:21:09.345 16768-16782/? I/art: Debugger is no longer active
03-07 09:21:09.359 2819-4412/? I/ActivityManager: dispatchActivityResumed for activity com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity uid 10227
03-07 09:21:09.434 16768-16768/? W/linker: libflutter.so: unused DT entry: type 0x6ffffffe arg 0xd838
03-07 09:21:09.434 16768-16768/? W/linker: libflutter.so: unused DT entry: type 0x6fffffff arg 0x3
03-07 09:21:09.854 16768-16768/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070_msm8916_32_refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070__release_AU (I385e983e35)
OpenGL ES Shader Compiler Version: E031.25.03.04
Build Date: 10/27/16 Thu
Local Branch:
Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.4_RB1.05.01.01.121.070
Local Patches: NONE
Reconstruct Branch: NOTHING
03-07 09:21:09.905 16768-16768/? I/FlutterActivityDelegate: onResume setting current activity to this
03-07 09:21:09.913 16768-16768/? I/ViewRootImpl: CPU Rendering VSync enable = true
03-07 09:21:09.931 16768-16798/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
03-07 09:21:09.931 16768-16798/? I/OpenGLRenderer: Initialized EGL, version 1.4
03-07 09:21:09.953 16768-16798/? D/OpenGLRenderer: Enabling debug mode 0
03-07 09:21:09.972 2819-4617/? V/WindowManager: Adding window Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity} at 8 of 14 (before Window{b3cf75c u0 Starting com.julyyu.flutterprojects})
03-07 09:21:10.007 16768-16798/? I/qdutils: PartialUpdate status: Disabled
03-07 09:21:10.007 16768-16798/? I/qdutils: Left Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Width Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Top Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Height Align: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Min ROI Width: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Min ROI Height: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Needs ROI Merge: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Dynamic Fps: Disabled
03-07 09:21:10.007 16768-16798/? I/qdutils: Min Panel fps: 0
03-07 09:21:10.007 16768-16798/? I/qdutils: Max Panel fps: 0
03-07 09:21:10.026 2819-4120/? V/WindowManager: Adding window Window{1e643219 u0 SurfaceView} at 8 of 15 (before Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity})
03-07 09:21:10.075 16193-16193/? W/Atfwd_Sendcmd: AtCmdFwd service not published, waiting... retryCnt : 4
03-07 09:21:10.221 299-299/? E/QCALOG: [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent]
03-07 09:21:10.314 2819-4761/? W/ActivityManager: getRecentTasks: caller 10026 is using old GET_TASKS but privileged; allowing
03-07 09:21:10.316 2819-4436/? W/ActivityManager: getTasks: caller 10026 is using old GET_TASKS but privileged; allowing
03-07 09:21:10.497 16768-16802/com.julyyu.flutterprojects I/flutter: Observatory listening on http://127.0.0.1:56204/
03-07 09:21:10.506 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:-1
03-07 09:21:10.506 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:-1
03-07 09:21:10.507 16768-16798/com.julyyu.flutterprojects E/OpenGLRenderer: construct program from binary, position:0, texCoords:1
03-07 09:21:10.521 2819-3165/? I/ActivityManager: Displayed com.julyyu.flutterprojects/.MainActivity: +1s272ms
03-07 09:21:10.521 2819-3165/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{c2f8830 u0 com.julyyu.flutterprojects/.MainActivity t2230} time:223335982
03-07 09:21:10.541 16768-16768/com.julyyu.flutterprojects I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@3adb42d7 time:223336001
03-07 09:21:11.369 16768-16782/? I/art: Ignoring second debugger -- accepting and dropping
03-07 09:21:12.599 16768-16793/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58 in tid 16793 (gpu_thread)
03-07 09:21:12.704 237-237/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-07 09:21:12.704 237-237/? I/DEBUG: Build fingerprint: 'SMARTISAN/msm8916_32:5.1.1/LMY47V/10:user/release-keys'
03-07 09:21:12.704 237-237/? I/DEBUG: Revision: '0'
03-07 09:21:12.704 237-237/? I/DEBUG: ABI: 'arm'
03-07 09:21:12.705 237-237/? I/DEBUG: pid: 16768, tid: 16793, name: gpu_thread >>> com.julyyu.flutterprojects <<<
03-07 09:21:12.705 237-237/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x58
03-07 09:21:12.720 2819-4014/? D/TaskPersister: removeObsoleteFile: deleting file=2229_task.xml
03-07 09:21:12.721 2819-4014/? D/TaskPersister: removeObsoleteFile: deleting file=2229_task_thumbnail.png
03-07 09:21:12.734 237-237/? I/DEBUG: r0 00000000 r1 b6810001 r2 a9fc8a88 r3 a9baa4f1
03-07 09:21:12.735 237-237/? I/DEBUG: r4 a02eaec8 r5 a02ecb80 r6 a9c30001 r7 a02eab18
03-07 09:21:12.735 237-237/? I/DEBUG: r8 a02eab30 r9 a9f9696d sl 0000006c fp 00000002
03-07 09:21:12.735 237-237/? I/DEBUG: ip 00000000 sp a02ea970 lr a9c44849 pc a9c44848 cpsr 400b0030
03-07 09:21:12.735 237-237/? I/DEBUG: backtrace:
03-07 09:21:12.735 237-237/? I/DEBUG: #00 pc 000da848 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #01 pc 000d8405 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #02 pc 000f4c09 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #03 pc 000ead65 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #04 pc 000fb73f /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #05 pc 000fe1b3 /system/vendor/lib/libsc-a3xx.so
03-07 09:21:12.736 237-237/? I/DEBUG: #06 pc 00069373 /system/vendor/lib/egl/libGLESv2_adreno.so (core_glCompileShader+358)
03-07 09:21:12.736 237-237/? I/DEBUG: #07 pc 000499bb /system/vendor/lib/egl/libGLESv2_adreno.so (glCompileShader+16)
03-07 09:21:12.736 237-237/? I/DEBUG: #08 pc 00009bd5 /system/lib/libGLESv2.so (glCompileShader+14)
03-07 09:21:12.736 237-237/? I/DEBUG: #09 pc 001eba15 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #10 pc 001eafff /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #11 pc 001eaa23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #12 pc 001ea76b /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #13 pc 001e46db /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #14 pc 001dec87 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.736 237-237/? I/DEBUG: #15 pc 001e09df /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #16 pc 0017f0a3 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #17 pc 001bb8bb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #18 pc 001bb60d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #19 pc 001b64e9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #20 pc 0018c71f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #21 pc 0017b879 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #22 pc 0017b5cf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #23 pc 0017b9f5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #24 pc 0018b597 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #25 pc 000ad633 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #26 pc 000abddf /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #27 pc 000abda9 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #28 pc 000ac73d /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #29 pc 000ac8b1 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #30 pc 000acb23 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.737 237-237/? I/DEBUG: #31 pc 000ac97f /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #32 pc 000ac7c5 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #33 pc 000a4f17 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #34 pc 0008d185 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #35 pc 0008f9cb /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #36 pc 00010317 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+10)
03-07 09:21:12.738 237-237/? I/DEBUG: #37 pc 00010f77 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+482)
03-07 09:21:12.738 237-237/? I/DEBUG: #38 pc 00011021 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
03-07 09:21:12.738 237-237/? I/DEBUG: #39 pc 00008ae1 /system/lib/libandroid.so (ALooper_pollOnce+64)
03-07 09:21:12.738 237-237/? I/DEBUG: #40 pc 0008f987 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #41 pc 0008d211 /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #42 pc 0008e5bd /data/app/com.julyyu.flutterprojects-2/lib/arm/libflutter.so
03-07 09:21:12.738 237-237/? I/DEBUG: #43 pc 0001341b /system/lib/libc.so (_ZL15__pthread_startPv+30)
03-07 09:21:12.738 237-237/? I/DEBUG: #44 pc 00011347 /system/lib/libc.so (__start_thread+6)
03-07 09:21:12.747 237-237/? W/debuggerd: type=1400 audit(0.0:6417): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=270 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0
03-07 09:21:13.280 2819-16811/? W/ActivityManager: Force finishing activity 1 com.julyyu.flutterprojects/.MainActivity
03-07 09:21:13.284 237-237/? I/DEBUG: Tombstone written to: /data/tombstones/tombstone_03
03-07 09:21:13.284 2819-3162/? I/BootReceiver: Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
03-07 09:21:13.319 2819-16811/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!
03-07 09:21:13.321 2819-16811/? W/ActivityManager: Exception thrown during pause
android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:595)
at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:713)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:886)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2985)
at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2843)
at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2711)
at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:12922)
at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:12818)
at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:13507)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13014)
at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
03-07 09:21:13.324 221-221/? E/lowmemorykiller: Error writing /proc/16768/oom_score_adj; errno=22
03-07 09:21:13.332 2819-16811/? I/ActivityManager: dispatchActivityResumed for activity com.smartisanos.launcher/com.smartisanos.launcher.Launcher uid 10012
03-07 09:21:13.336 2819-2876/? W/ActivityManager: Skipping crash dialog of ProcessRecord{2e5a8eea 16768:com.julyyu.flutterprojects/u0a227}: background
03-07 09:21:13.382 2819-4771/? I/Process: killProcessQuiet pid=16768
03-07 09:21:13.382 2819-4436/? I/WindowState: WIN DEATH: Window{1e643219 u0 SurfaceView}
03-07 09:21:13.385 2819-3691/? W/InputDispatcher: channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-07 09:21:13.385 2819-3691/? E/InputDispatcher: channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-07 09:21:13.386 253-253/? I/Zygote: Process 16768 exited due to signal (11)
03-07 09:21:13.386 2819-4771/? I/ActivityManager: Process com.julyyu.flutterprojects (pid 16768) has died
03-07 09:21:13.386 2819-4649/? I/WindowState: WIN DEATH: Window{3ed49d63 u0 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity}
03-07 09:21:13.387 2819-4649/? W/InputDispatcher: Attempted to unregister already unregistered input channel '3ed49d63 com.julyyu.flutterprojects/com.julyyu.flutterprojects.MainActivity (server)'
03-07 09:21:13.422 2819-4743/? W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 16768 uid 10227
03-07 09:21:13.443 4899-4899/? I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@3f5aec80 time:223338904
03-07 09:21:13.765 2819-3165/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{1c1027e6 u0 com.smartisanos.launcher/.Launcher t1785} time:223339226
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">Doctor summary (to see all details, run flutter doctor -v):<br>
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.12.5 16F73, locale zh-Hans-CN)<br>
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)<br>
[!] iOS toolchain - develop for iOS devices (Xcode 8.3.2)<br>
✗ Flutter requires a minimum Xcode version of 9.0.0.<br>
Download the latest version or update via the Mac App Store.<br>
✗ libimobiledevice and ideviceinstaller are not installed. To install, run:<br>
brew install --HEAD libimobiledevice<br>
brew install ideviceinstaller<br>
✗ ios-deploy not installed. To install:<br>
brew install ios-deploy<br>
✗ CocoaPods not installed.<br>
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.<br>
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.<br>
For more info, see <a href="https://flutter.io/platform-plugins" rel="nofollow">https://flutter.io/platform-plugins</a><br>
To install:<br>
brew install cocoapods<br>
pod setup<br>
[✓] Android Studio (version 3.0)<br>
[!] IntelliJ IDEA Ultimate Edition (version 2016.1)<br>
✗ Flutter plugin not installed; this adds Flutter specific functionality.<br>
✗ Dart plugin not installed; this adds Dart specific functionality.<br>
✗ This install is older than the minimum recommended version of 2017.1.0.<br>
[!] VS Code (version 1.20.1)<br>
[✓] Connected devices (1 available)</p>
<p dir="auto">! Doctor found issues in 3 categories.</p> | 1 |
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>9.0.0-beta.24</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>macOS Mojave 10.14.6</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>7.1.11</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Application builds without issues</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Errors in console and build fails</p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Only electron version was changed from <strong>7.1.11</strong> to <strong>9.0.0-beta.24</strong>. This leads to failing in build process</p>
<p dir="auto">Console build error:<br>
signing file=dist/mac/App.app identityName=Apple Development: <a href="mailto:[email protected]">[email protected]</a> (111111) identityHash=222222 provisioningProfile=none<br>
Command failed: codesign --sign 22222222 --force --timestamp --options runtime --entitlements /Users/user//entitlements.mac.inherit.plist /Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework<br>
/Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework: code object is not signed at all<br>
In subcomponent: /Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler<br>
stackTrace= Error: Command failed: codesign --sign 2222222 --force --timestamp --options runtime --entitlements /Users/user//entitlements.mac.inherit.plist /Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework<br>
/Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework: code object is not signed at all<br>
In subcomponent: /Users/user//mac/App.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler<br>
at ChildProcess.exithandler (child_process.js:289:12)<br>
at ChildProcess.emit (events.js:182:13)<br>
at maybeClose (internal/child_process.js:961:16)<br>
at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)<br>
From previous event:<br>
at runCallback (timers.js:693:18)<br>
at tryOnImmediate (timers.js:664:5)<br>
at processImmediate (timers.js:646:5)<br>
From previous event:<br>
at MacPackager.signApp (/Users/user//node_modules/app-builder-lib/src/macPackager.ts:329:27)<br>
at MacPackager.doPack (/Users/user//node_modules/app-builder-lib/src/platformPackager.ts:244:16)<br>
npm ERR! code ELIFECYCLE<br>
npm ERR! errno 1</p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">16</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">Other Linux</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">Any Linux on Wayland</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto">v15.3.3</p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Screencasting works with one working PipeWire/Portal dialog as in previous releases.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">When screencasting with an app on Electron 16 duplicate PipeWire/portal prompts are shown. This specific issue does not occur with Chromium 96 (upstream to Electron 16), or in Electron 15.</p>
<p dir="auto">Tested on Jitsi Meet Electron (now Electron 16) and this <a href="https://github.com/hokein/electron-sample-apps/tree/master/desktop-capture">demo app</a>.</p>
<p dir="auto">In Jitsi Meet Electron there is an endless loop of prompts <a href="https://github.com/jitsi/jitsi-meet-electron/issues/677#issue-1068967622" data-hovercard-type="issue" data-hovercard-url="/jitsi/jitsi-meet-electron/issues/677/hovercard">as shown here</a>. The many prompts can also lead to <a href="https://github.com/jitsi/jitsi-meet-electron/issues/677#issuecomment-986197541" data-hovercard-type="issue" data-hovercard-url="/jitsi/jitsi-meet-electron/issues/677/hovercard">crashes</a> (possibly due to the portal being overwhelmed).</p>
<p dir="auto">In <a href="https://user-images.githubusercontent.com/38842733/144923535-ce9f6545-5ac3-4c59-95b2-adba8d1ee750.mp4" rel="nofollow">the demo app</a> I only see up to 2 portal prompts, but typically only one is usable at a time, and even after accepting both prompts it's not guaranteed to work.</p>
<p dir="auto">This was reported on both GNOME and KDE Plasma Wayland.</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<p dir="auto">Note: This is a different issue than <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="976002953" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/30652" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/30652/hovercard" href="https://github.com/electron/electron/issues/30652">#30652</a>. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="976002953" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/30652" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/30652/hovercard" href="https://github.com/electron/electron/issues/30652">#30652</a> is about the app itself creating an unnecessary dialog. With <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="976002953" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/30652" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/30652/hovercard" href="https://github.com/electron/electron/issues/30652">#30652</a> screencasting is still reasonably usable. However, this issue effectively makes screencasting unusable (depending on the app it seems).</p>
<p dir="auto">Test demo with Electron 16:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/hokein/electron-sample-apps
npm install -g electron@16
electron ./electron-sample-apps/desktop-capture --enable-features=WebRTCPipeWireCapturer"><pre class="notranslate"><code class="notranslate">git clone https://github.com/hokein/electron-sample-apps
npm install -g electron@16
electron ./electron-sample-apps/desktop-capture --enable-features=WebRTCPipeWireCapturer
</code></pre></div>
<p dir="auto">Electron 15 instead:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm install -g electron@15
electron ./electron-sample-apps/desktop-capture --enable-features=WebRTCPipeWireCapturer"><pre class="notranslate"><code class="notranslate">npm install -g electron@15
electron ./electron-sample-apps/desktop-capture --enable-features=WebRTCPipeWireCapturer
</code></pre></div>
<p dir="auto">With Jitsi Meet Electron simply install it (e.g. with Flatpak), start a new meeting and screen share.</p> | 0 |
<ul dir="auto">
<li>VSCode Version: Version 0.10.10 (0.10.10)</li>
<li>OS Version: Yosemite / El Capitan</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>click on any file in the explorer</li>
<li>view jumps to line 10 or 12</li>
</ol>
<p dir="auto">Expected functionality would be that the file opens with line 1 visible.</p> | <p dir="auto">In most editors that I have used, if I want to indent a highlighted block of code, I just do so by highlighting it as below, and hitting the tab key.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10870777/13041043/80341590-d381-11e5-8b40-cd61a8717447.png"><img src="https://cloud.githubusercontent.com/assets/10870777/13041043/80341590-d381-11e5-8b40-cd61a8717447.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">However, as shown in the below screenshot, the code disappears.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10870777/13041057/c1ab96f6-d381-11e5-9ea0-d474ef8c9815.png"><img src="https://cloud.githubusercontent.com/assets/10870777/13041057/c1ab96f6-d381-11e5-9ea0-d474ef8c9815.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The worst part is that when I undo this, rather than going to the state before hitting tab, the text does not fully restore, and this undo action even distorts code below the selection area, as shown in the following screenshot.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10870777/13041079/fa7b1128-d381-11e5-81f4-d253755cc399.png"><img src="https://cloud.githubusercontent.com/assets/10870777/13041079/fa7b1128-d381-11e5-81f4-d253755cc399.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto"><a href="https://build.julialang.org/#/builders/71/builds/6517/steps/5/logs/stdio" rel="nofollow">https://build.julialang.org/#/builders/71/builds/6517/steps/5/logs/stdio</a></p> | <p dir="auto"><a href="https://build.julialang.org/#/builders/33/builds/6026/steps/5/logs/stdio" rel="nofollow">https://build.julialang.org/#/builders/33/builds/6026/steps/5/logs/stdio</a></p> | 1 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>For English only</strong>, other languages will not accept.</p>
<p dir="auto">Before report a bug, make sure you have:</p>
<ul dir="auto">
<li>Searched open and closed <a href="https://github.com/apache/incubator-shardingsphere/issues">GitHub issues</a>.</li>
<li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li>
</ul>
<p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br>
If no response <strong>more than 7 days</strong> and we cannot reproduce it on current information, we will <strong>close it</strong>.</p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">4.0.0</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">The hintManager.setDatabaseShardingValue do not work,In the ShardingSphere-example , the <code class="notranslate">the hint-raw-jdbc-example</code> project don't work as expect,when I choose the type HintType TYPE = HintType.DATABASE_ONLY,the expected behavior should be all the sql routing to one datasource which is set by hintManager.setDatabaseShardingValue(1L);</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">the hint does not work ,sql route to all datasouces,here is the log</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[INFO ] 2020-02-12 12:56:13,923 --main-- [ShardingSphere-SQL] Rule Type: sharding
[INFO ] 2020-02-12 12:56:13,924 --main-- [ShardingSphere-SQL] Logic SQL: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
[INFO ] 2020-02-12 12:56:13,925 --main-- [ShardingSphere-SQL] SQLStatement: SelectSQLStatementContext(super=CommonSQLStatementContext(sqlStatement=org.apache.shardingsphere.sql.parser.sql.statement.dml.SelectStatement@59496961, tablesContext=TablesContext(tables=[Table(name=t_order, alias=Optional.of(o)), Table(name=t_order_item, alias=Optional.of(i))], schema=Optional.absent())), projectionsContext=ProjectionsContext(startIndex=7, stopIndex=9, distinctRow=false, projections=[ShorthandProjection(owner=Optional.of(i))], columnLabels=[order_item_id, order_id, user_id, status]), groupByContext=org.apache.shardingsphere.sql.parser.relation.segment.select.groupby.GroupByContext@408b87aa, orderByContext=org.apache.shardingsphere.sql.parser.relation.segment.select.orderby.OrderByContext@79b08632, paginationContext=org.apache.shardingsphere.sql.parser.relation.segment.select.pagination.PaginationContext@787f32b7, containsSubquery=false)
[INFO ] 2020-02-12 12:56:13,932 --main-- [ShardingSphere-SQL] Actual SQL: ds_0 ::: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
[INFO ] 2020-02-12 12:56:13,932 --main-- [ShardingSphere-SQL] Actual SQL: ds_1 ::: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
"><pre class="notranslate"><code class="notranslate">[INFO ] 2020-02-12 12:56:13,923 --main-- [ShardingSphere-SQL] Rule Type: sharding
[INFO ] 2020-02-12 12:56:13,924 --main-- [ShardingSphere-SQL] Logic SQL: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
[INFO ] 2020-02-12 12:56:13,925 --main-- [ShardingSphere-SQL] SQLStatement: SelectSQLStatementContext(super=CommonSQLStatementContext(sqlStatement=org.apache.shardingsphere.sql.parser.sql.statement.dml.SelectStatement@59496961, tablesContext=TablesContext(tables=[Table(name=t_order, alias=Optional.of(o)), Table(name=t_order_item, alias=Optional.of(i))], schema=Optional.absent())), projectionsContext=ProjectionsContext(startIndex=7, stopIndex=9, distinctRow=false, projections=[ShorthandProjection(owner=Optional.of(i))], columnLabels=[order_item_id, order_id, user_id, status]), groupByContext=org.apache.shardingsphere.sql.parser.relation.segment.select.groupby.GroupByContext@408b87aa, orderByContext=org.apache.shardingsphere.sql.parser.relation.segment.select.orderby.OrderByContext@79b08632, paginationContext=org.apache.shardingsphere.sql.parser.relation.segment.select.pagination.PaginationContext@787f32b7, containsSubquery=false)
[INFO ] 2020-02-12 12:56:13,932 --main-- [ShardingSphere-SQL] Actual SQL: ds_0 ::: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
[INFO ] 2020-02-12 12:56:13,932 --main-- [ShardingSphere-SQL] Actual SQL: ds_1 ::: SELECT i.* FROM t_order o, t_order_item i WHERE o.order_id = i.order_id
</code></pre></div>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">int the 3.1.0 version .there is a class <code class="notranslate">DatabaseHintRoutingEngine</code> to route to some certain sharding database without sharding tables,SQL parse and rewrite phase will be skipped,however ,in the 4.0.0 verision, there is no class to use the value I set in the hintManager, because there is no caller of the method <code class="notranslate">getDatabaseShardingValues</code></p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" /**
* Get database sharding values.
*
* @return database sharding values
*/
public static Collection<Comparable<?>> getDatabaseShardingValues() {
return getDatabaseShardingValues("");
}"><pre class="notranslate"> <span class="pl-c">/**</span>
<span class="pl-c"> * Get database sharding values.</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @return database sharding values</span>
<span class="pl-c"> */</span>
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-smi">Collection</span><<span class="pl-smi">Comparable</span><?>> <span class="pl-s1">getDatabaseShardingValues</span>() {
<span class="pl-k">return</span> <span class="pl-en">getDatabaseShardingValues</span>(<span class="pl-s">""</span>);
}</pre></div>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<p dir="auto">git clone the project, <a href="https://github.com/apache/incubator-shardingsphere-example">https://github.com/apache/incubator-shardingsphere-example</a><br>
switch to 4.0.0, chage the HintType to HintType.DATABASE_ONLY and run the<br>
ExampleMain</p>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto"><a href="https://github.com/apache/incubator-shardingsphere-example/tree/dev/sharding-jdbc-example/other-feature-example/hint-example">https://github.com/apache/incubator-shardingsphere-example/tree/dev/sharding-jdbc-example/other-feature-example/hint-example</a></p> | <p dir="auto">I have reproduced the behavior as <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lvye351/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lvye351">@lvye351</a> says in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="608983401" data-permission-text="Title is private" data-url="https://github.com/apache/shardingsphere/issues/5383" data-hovercard-type="issue" data-hovercard-url="/apache/shardingsphere/issues/5383/hovercard" href="https://github.com/apache/shardingsphere/issues/5383">#5383</a>. The keyGenerator doesn't work in the transaction-2pc-xa-raw-jdbc sample module when a oracle database 12c and ojbdc8.jar used.</p>
<p dir="auto">The log is as follows,<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9602831/80979380-db422480-8e59-11ea-8043-0b38dedcad5b.png"><img src="https://user-images.githubusercontent.com/9602831/80979380-db422480-8e59-11ea-8043-0b38dedcad5b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">It seems that when table t_order created, its tableMetaData doesn't put into schemaMetaData.<br>
I will try to find out the reason and fix it.</p> | 0 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-serial-release-1.4/97/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gce-serial-release-1.4/97/</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 4 10:27:31.575: CPU usage exceeding limits:
node jenkins-e2e-minion-group-zpec:
container "kubelet": expected 50th% usage < 0.170; got 0.184, container "kubelet": expected 95th% usage < 0.220; got 0.244
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:187"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 4 10:27:31.575: CPU usage exceeding limits:
node jenkins-e2e-minion-group-zpec:
container "kubelet": expected 50th% usage < 0.170; got 0.184, container "kubelet": expected 95th% usage < 0.220; got 0.244
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:187
</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="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gce/6512/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gce/6512/</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Sep 7 04:56:39.012: Memory usage exceeding limits:
node jenkins-e2e-minion-group-4yze:
container "kubelet": expected RSS memory (MB) < 83886080; got 85123072
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Sep 7 04:56:39.012: Memory usage exceeding limits:
node jenkins-e2e-minion-group-4yze:
container "kubelet": expected RSS memory (MB) < 83886080; got 85123072
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</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="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a></p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">When running this example on Android, flutter crashes</p>
<ul dir="auto">
<li>running from repo from head sync'd this morning and using Dart VM version: 1.16.0-dev.5.0</li>
<li>use <code class="notranslate">flutter create</code> to create a new application</li>
<li>drop in the following <code class="notranslate">main.dart</code></li>
<li>launch on Android then tap the button</li>
<li>crash</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
void main() {
runApp(
new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
primarySwatch: Colors.blue
),
routes: <String, WidgetBuilder>{
'/': (BuildContext context) => new FlutterDemo()
}
)
);
}
class FlutterDemo extends StatefulWidget {
FlutterDemo({ Key key }) : super(key: key);
@override
_FlutterDemoState createState() => new _FlutterDemoState();
}
class _FlutterDemoState extends State<FlutterDemo> {
String _networkInfo = 'Press button to get network information.';
Future<Null> _updateNetworkInfo() async {
StringBuffer buf = new StringBuffer();
buf.writeln('Network information:');
// This code crashes Flutter ...
for (NetworkInterface interface in await NetworkInterface.list()) {
for (InternetAddress ip in interface.addresses) {
buf.writeln(ip.address);
}
}
setState(() {
_networkInfo = buf.toString();
});
}
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('Flutter Demo')
),
body: new Center(
child: new Text(_networkInfo)
),
floatingActionButton: new FloatingActionButton(
onPressed: _updateNetworkInfo,
tooltip: 'Increment',
child: new Icon(
icon: Icons.add
)
)
);
}
}"><pre class="notranslate"><code class="notranslate">import 'dart:async';
import 'dart:io';
import 'package:flutter/material.dart';
void main() {
runApp(
new MaterialApp(
title: 'Flutter Demo',
theme: new ThemeData(
primarySwatch: Colors.blue
),
routes: <String, WidgetBuilder>{
'/': (BuildContext context) => new FlutterDemo()
}
)
);
}
class FlutterDemo extends StatefulWidget {
FlutterDemo({ Key key }) : super(key: key);
@override
_FlutterDemoState createState() => new _FlutterDemoState();
}
class _FlutterDemoState extends State<FlutterDemo> {
String _networkInfo = 'Press button to get network information.';
Future<Null> _updateNetworkInfo() async {
StringBuffer buf = new StringBuffer();
buf.writeln('Network information:');
// This code crashes Flutter ...
for (NetworkInterface interface in await NetworkInterface.list()) {
for (InternetAddress ip in interface.addresses) {
buf.writeln(ip.address);
}
}
setState(() {
_networkInfo = buf.toString();
});
}
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('Flutter Demo')
),
body: new Center(
child: new Text(_networkInfo)
),
floatingActionButton: new FloatingActionButton(
onPressed: _updateNetworkInfo,
tooltip: 'Increment',
child: new Icon(
icon: Icons.add
)
)
);
}
}
</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 Mac OS, channel master)
• Flutter at /Users/ ............ /flutter/flutter
• Framework revision ace1a64 (49 minutes ago), engine revision 4062813
[✓] Android toolchain - develop for Android devices (Android SDK 22.0.1)
• Android SDK at /Users/danrubel/Library/Android/sdk
• Platform android-22, build-tools 22.0.1
• Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 7.2.1, Build version 7C1002
x ideviceinstaller not available; this is used to discover connected iOS devices.
Install via 'brew install ideviceinstaller'.
x ios-deploy not available; this is used to deploy to connected iOS devices.
Install via 'brew install ios-deploy'.
[✓] Atom - a lightweight development environment for Flutter
• Atom installed; Flutter plugin version 0.2.2"><pre class="notranslate"><code class="notranslate">[✓] Flutter (on Mac OS, channel master)
• Flutter at /Users/ ............ /flutter/flutter
• Framework revision ace1a64 (49 minutes ago), engine revision 4062813
[✓] Android toolchain - develop for Android devices (Android SDK 22.0.1)
• Android SDK at /Users/danrubel/Library/Android/sdk
• Platform android-22, build-tools 22.0.1
• Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 7.2.1, Build version 7C1002
x ideviceinstaller not available; this is used to discover connected iOS devices.
Install via 'brew install ideviceinstaller'.
x ios-deploy not available; this is used to deploy to connected iOS devices.
Install via 'brew install ios-deploy'.
[✓] Atom - a lightweight development environment for Flutter
• Atom installed; Flutter plugin version 0.2.2
</code></pre></div>
<h2 dir="auto">Logs and Crash Reports</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc in tid 10940 (ui_thread)
F/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG : Build fingerprint: 'google/bullhead/bullhead:6.0.1/MHC19T/2741998:user/release-keys'
F/DEBUG : Revision: 'rev_1.0'
F/DEBUG : ABI: 'arm'
F/DEBUG : pid: 10755, tid: 10940, name: ui_thread >>> com.yourcompany.networkBug <<<
F/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
F/DEBUG : r0 00000000 r1 df1000d4 r2 df100a20 r3 df100408
F/DEBUG : r4 df100180 r5 00000000 r6 2d4be3b5 r7 00000000
F/DEBUG : r8 00000000 r9 df100330 sl 00000001 fp 00000000
F/DEBUG : ip e1ce3d70 sp df1000b0 lr e13b8ac3 pc e13bb000 cpsr 600f0030
F/DEBUG :
F/DEBUG : backtrace:
F/DEBUG : #00 pc 00324000 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #01 pc 00321abf /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #02 pc 0031e015 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #03 pc 004664c5 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #04 pc 00464c05 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #05 pc 00464f47 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #06 pc 0052d4f1 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #07 pc 0052d61b /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #08 pc 004a2cd3 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #09 pc 0003f883 /system/lib/libc.so (_ZL15__pthread_startPv+30)
F/DEBUG : #10 pc 00019f75 /system/lib/libc.so (__start_thread+6)
F/DEBUG :
F/DEBUG : Tombstone written to: /data/tombstones/tombstone_02"><pre class="notranslate"><code class="notranslate">F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc in tid 10940 (ui_thread)
F/DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG : Build fingerprint: 'google/bullhead/bullhead:6.0.1/MHC19T/2741998:user/release-keys'
F/DEBUG : Revision: 'rev_1.0'
F/DEBUG : ABI: 'arm'
F/DEBUG : pid: 10755, tid: 10940, name: ui_thread >>> com.yourcompany.networkBug <<<
F/DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
F/DEBUG : r0 00000000 r1 df1000d4 r2 df100a20 r3 df100408
F/DEBUG : r4 df100180 r5 00000000 r6 2d4be3b5 r7 00000000
F/DEBUG : r8 00000000 r9 df100330 sl 00000001 fp 00000000
F/DEBUG : ip e1ce3d70 sp df1000b0 lr e13b8ac3 pc e13bb000 cpsr 600f0030
F/DEBUG :
F/DEBUG : backtrace:
F/DEBUG : #00 pc 00324000 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #01 pc 00321abf /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #02 pc 0031e015 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #03 pc 004664c5 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #04 pc 00464c05 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #05 pc 00464f47 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #06 pc 0052d4f1 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #07 pc 0052d61b /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #08 pc 004a2cd3 /data/app/com.yourcompany.networkBug-2/lib/arm/libsky_shell.so
F/DEBUG : #09 pc 0003f883 /system/lib/libc.so (_ZL15__pthread_startPv+30)
F/DEBUG : #10 pc 00019f75 /system/lib/libc.so (__start_thread+6)
F/DEBUG :
F/DEBUG : Tombstone written to: /data/tombstones/tombstone_02
</code></pre></div> | <p dir="auto"><a href="https://github.com/kyorohiro"><img src="https://avatars.githubusercontent.com/u/1310669?v=3" align="left" width="96" height="96" hspace="10" style="max-width: 100%;"></a> <strong>Issue by <a href="https://github.com/kyorohiro">kyorohiro</a></strong><br>
<em>Saturday Oct 17, 2015 at 02:15 GMT</em><br>
<em>Originally opened as <a href="https://github.com/flutter/engine/issues/1655">https://github.com/flutter/engine/issues/1655</a></em></p>
<hr>
<p dir="auto">Following code cause to crash application</p>
<p dir="auto">[source]<br>
import 'dart:io';<br>
import 'dart:convert';<br>
import 'dart:async';</p>
<p dir="auto">main() async {<br>
List interfaces = await NetworkInterface.list(<br>
includeLoopback: true, includeLinkLocal: true);<br>
}</p>
<p dir="auto">[project]<br>
<a href="https://github.com/kyorohiro/hello_skyengine/tree/master/dartio_networkinterface">https://github.com/kyorohiro/hello_skyengine/tree/master/dartio_networkinterface</a></p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%20%22spam%22%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">challenge only passed when I removed BOTH console.log statements. Removing only the second one as requested did not work.<br>
My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function myFunction() {
var myVar = "spam";
}
myFunction();
// run and check the console
// myVar is not defined outside of myFunction
// now remove the console.log line to pass the test
"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">myFunction</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">myVar</span> <span class="pl-c1">=</span> <span class="pl-s">"spam"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// run and check the console </span>
<span class="pl-c">// myVar is not defined outside of myFunction</span>
<span class="pl-c">// now remove the console.log line to pass the test</span>
</pre></div> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%205%3B%20%20%0A%20%20console.log%28myVar%29%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.48 Safari/537.36</code>.</p>
<p dir="auto">The test asks you to remove the second console.log() to pass. When you remove the second console.log() it still fails. You have to remove both console.log() calls to pass(including the one inside myFunction().)</p>
<p dir="auto">Reproducible every time by removing the console.log() outside of myFunction(), as asked by test. I'm assuming this is a bug in the test and not the text as there's no reason to remove the console.log() call within myFunction().</p> | 1 |
<p dir="auto">go1.6 gotype seems to be unaware of vendoring</p>
<ol dir="auto">
<li>What version of Go are you using (<code class="notranslate">go version</code>)?<br>
1.6</li>
<li>What operating system and processor architecture are you using (<code class="notranslate">go env</code>)?<br>
GOARCH="amd64"<br>
GOBIN=""<br>
GOEXE=""<br>
GOHOSTARCH="amd64"<br>
GOHOSTOS="linux"<br>
GOOS="linux"<br>
GOPATH="/home/john/src/gocode"<br>
GORACE=""<br>
GOROOT="/home/john/opt/go"<br>
GOTOOLDIR="/home/john/opt/go/pkg/tool/linux_amd64"<br>
GO15VENDOREXPERIMENT="1"<br>
CC="gcc"<br>
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"<br>
CXX="g++"<br>
CGO_ENABLED="1"</li>
<li>What did you do?<br>
john@ebola:~/src/gocode/src/github.com/the42/bevaddress$ gotype bevaddress.go</li>
</ol>
<p dir="auto">The tree is<br>
john@ebola:~/src/gocode/src/github.com/the42/bevaddress$ tree -d<br>
.<br>
├── Godeps<br>
└── vendor<br>
└── github.com<br>
├── gorilla<br>
│ └── websocket<br>
└── lib<br>
└── pq<br>
└── oid</p>
<p dir="auto">8 directories</p>
<ol dir="auto">
<li>What did you expect to see?<br>
no error (go build works)</li>
<li>What did you see instead?<br>
bevaddress.go:9:2: could not import github.com/gorilla/websocket (can't find import: github.com/the42/bevaddress/vendor/github.com/gorilla/websocket)<br>
bevaddress.go:10:4: could not import github.com/lib/pq (can't find import: github.com/the42/bevaddress/vendor/github.com/lib/pq)<br>
bevaddress.go:18:16: undeclared name: websocket</li>
</ol> | <p dir="auto">It is common to use go/types is as part of a go generate command<br>
or other command line tool to introspect a Go package.</p>
<p dir="auto">The go tool goes to some lengths to ensure that whenever<br>
you operate on a package, it builds the source for that<br>
package into object form before using it, so you don't<br>
end up using symbol information that's out of date with respect<br>
to the source.</p>
<p dir="auto">When using go/types from a command line tool, you<br>
don't have that luxury, and it's not necessarily appropriate<br>
to call "go install" automatically.</p>
<p dir="auto">I believe that a better way would be for the default<br>
importer to use the object file data only if it's newer<br>
than the source files, otherwise fall back to using the<br>
source directly. Or at least it would be nice to have<br>
that option, so that it's easy to make go generate<br>
utilities operate on the up to date code.</p>
<p dir="auto">I hope this could be considered before Go 1.5 as<br>
we won't be able to change this behaviour after then.</p> | 1 |
<p dir="auto">Short version: setTimeout fails inside angular2 class cosntructor, but works fine outside of its context.</p>
<p dir="auto">Full example you will find here: <a href="https://plnkr.co/GYir5dReBvTt0QrPp9eF?p=preview" rel="nofollow">https://plnkr.co/GYir5dReBvTt0QrPp9eF?p=preview</a> It contains function "run" which starts coutdown (inside console). Once inside angular2 code, once outside. The expected behavior is for countdown to hit zero both time.</p>
<p dir="auto">ps. Tested at newest chrome/firefox on ubuntu system.<br>
ps. I've found two issues about setTimeout arguments: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53326134" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/344" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/344/hovercard" href="https://github.com/angular/angular/pull/344">#344</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123622481" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/6088" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/6088/hovercard" href="https://github.com/angular/angular/issues/6088">#6088</a>. But I'm not sure if they are related.</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
When opening my Angular 2 application in Internet Explorer (10 or 11), I get the error <code class="notranslate">(SystemJS) Syntax Error"</code></p>
<p dir="auto"><strong>Expected behavior</strong><br>
The application works in Chrome and Firefox, so I would expect it to work in IE as well.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong><br>
I went to recreate a bare-bones application to see if it works and it didn't, so then I went even more basic and just went to look at the Angular 2 Quickstart example here: <a href="https://angular.io/docs/ts/latest/quickstart.html" rel="nofollow">https://angular.io/docs/ts/latest/quickstart.html</a> and noticed the link "QuickStart example on Plunker" does not render as a in Internet Explorer (it is a custom html tag for an angular 2 application). I tried copy and pasting the link to IE and it does not work either. I cannot find any Angular 2 Applications that work in IE.</p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
I would like my application to work in IE as well</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
Windows, .NET, Visual Studio, NPM</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
2.0.1</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br>
IE 10, 11 (earlier versions as well I would guess)</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
all</p>
</li>
</ul>
<p dir="auto">thank you</p> | 0 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>yes</td>
</tr>
<tr>
<td>Symfony version</td>
<td>>2.3</td>
</tr>
</tbody>
</table>
<p dir="auto">Is there any reason this (snippet below) exists? the rfc does not require implementations to be identical, but that the responses be equivalent.</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" // check HTTP method requirement
if ($requiredMethods = $route->getMethods()) {
// HEAD and GET are equivalent as per RFC
if ('HEAD' === $method = $this->context->getMethod()) {
$method = 'GET';
}
if (!in_array($method, $requiredMethods)) {
$this->allow = array_merge($this->allow, $requiredMethods);
continue;
}
}"><pre class="notranslate"> <span class="pl-c">// check HTTP method requirement</span>
<span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>requiredMethods</span> = <span class="pl-s1"><span class="pl-c1">$</span>route</span>-><span class="pl-en">getMethods</span>()) {
<span class="pl-c">// HEAD and GET are equivalent as per RFC</span>
<span class="pl-k">if</span> (<span class="pl-s">'HEAD'</span> === <span class="pl-s1"><span class="pl-c1">$</span>method</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">context</span>-><span class="pl-en">getMethod</span>()) {
<span class="pl-s1"><span class="pl-c1">$</span>method</span> = <span class="pl-s">'GET'</span>;
}
<span class="pl-k">if</span> (!in_array(<span class="pl-s1"><span class="pl-c1">$</span>method</span>, <span class="pl-s1"><span class="pl-c1">$</span>requiredMethods</span>)) {
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">allow</span> = array_merge(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">allow</span>, <span class="pl-s1"><span class="pl-c1">$</span>requiredMethods</span>);
<span class="pl-k">continue</span>;
}
}</pre></div>
<p dir="auto">Worse, in 2.3, what i am currently using (could be it's the same in higher versions), the router debug will actually not take this into consideration and report that the routing works as per the user routing definition</p>
<p dir="auto">There could be valid reasons to not want to execute the same code for GET and HEAD - f.e. avoid expensive hydration in exploratory HEAD calls.</p>
<p dir="auto">If the Content-Length defined in 14.13 is a factor here, that is expressed with SHOULD, not MUST, so no reason to impose this on the user.</p> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>2.8.14</td>
</tr>
</tbody>
</table>
<p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="195239698" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/20893" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/20893/hovercard" href="https://github.com/symfony/symfony/issues/20893">#20893</a> issue, theres a problem when you change to <code class="notranslate">prod</code> environment, all the routes annotated with <code class="notranslate">@Method("HEAD")</code> are not accessible, because before to send it to backend, is sent a <code class="notranslate">GET</code> instead of a <code class="notranslate">HEAD</code> and that route is not configured for this method.</p>
<p dir="auto">The only solution is to annotate it as <code class="notranslate">@Method({"HEAD", "GET"})</code>.</p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="running 2 tests from ./cli/tests/unit/webgpu_test.ts
webgpuComputePass ...
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: windows x86_64
Version: 1.30.3
Args: ["C:\\Users\\GJZwiers\\repos\\deno\\target\\debug\\deno.exe", "test", "--unstable", "--location=http://js-unit-tests/foo/bar", "--no-prompt", "-A", "C:\\Users\\GJZwiers\\repos\\deno\\cli\\tests\\unit"]
thread 'tokio-runtime-worker' panicked at 'called glDebugMessageCallback but it was not loaded.', C:\Users\GJZwiers\.cargo\registry\src\github.com-1ecc6299db9ec823\glow-0.12.0\src\gl46.rs:4234:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test integration::js_unit_tests::js_unit_tests ... FAILED
failures:
---- integration::js_unit_tests::js_unit_tests stdout ----
test_server starting...
thread 'integration::js_unit_tests::js_unit_tests' panicked at 'assertion failed: `(left == right)`
left: `Some(0)`,
right: `Some(1)`', cli\tests\integration\js_unit_tests.rs:37:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
integration::js_unit_tests::js_unit_tests
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 981 filtered out; finished in 129.18s"><pre class="notranslate"><code class="notranslate">running 2 tests from ./cli/tests/unit/webgpu_test.ts
webgpuComputePass ...
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: windows x86_64
Version: 1.30.3
Args: ["C:\\Users\\GJZwiers\\repos\\deno\\target\\debug\\deno.exe", "test", "--unstable", "--location=http://js-unit-tests/foo/bar", "--no-prompt", "-A", "C:\\Users\\GJZwiers\\repos\\deno\\cli\\tests\\unit"]
thread 'tokio-runtime-worker' panicked at 'called glDebugMessageCallback but it was not loaded.', C:\Users\GJZwiers\.cargo\registry\src\github.com-1ecc6299db9ec823\glow-0.12.0\src\gl46.rs:4234:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test integration::js_unit_tests::js_unit_tests ... FAILED
failures:
---- integration::js_unit_tests::js_unit_tests stdout ----
test_server starting...
thread 'integration::js_unit_tests::js_unit_tests' panicked at 'assertion failed: `(left == right)`
left: `Some(0)`,
right: `Some(1)`', cli\tests\integration\js_unit_tests.rs:37:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
integration::js_unit_tests::js_unit_tests
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 981 filtered out; finished in 129.18s
</code></pre></div> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webgpuComputePass
AssertionError: Test case is leaking resources.
Before: {
"0": "stdin",
"1": "stdout",
"2": "stderr"
}
After: {
"0": "stdin",
"1": "stdout",
"2": "stderr",
"3": "webGPUAdapter"
}
Make sure to close all open resource handles returned from Deno APIs before
finishing test case.
at assert (deno:runtime/js/06_util.js:41:13)
at resourceSanitizer (deno:runtime/js/40_testing.js:128:7)
at async exitSanitizer (deno:runtime/js/40_testing.js:144:9)
at async Object.applyPermissions [as fn] (deno:runtime/js/40_testing.js:245:9)
at async runTest (deno:runtime/js/40_testing.js:349:7)
at async Object.runTests (deno:runtime/js/40_testing.js:460:22)
failures:
webgpuComputePass"><pre class="notranslate"><code class="notranslate">webgpuComputePass
AssertionError: Test case is leaking resources.
Before: {
"0": "stdin",
"1": "stdout",
"2": "stderr"
}
After: {
"0": "stdin",
"1": "stdout",
"2": "stderr",
"3": "webGPUAdapter"
}
Make sure to close all open resource handles returned from Deno APIs before
finishing test case.
at assert (deno:runtime/js/06_util.js:41:13)
at resourceSanitizer (deno:runtime/js/40_testing.js:128:7)
at async exitSanitizer (deno:runtime/js/40_testing.js:144:9)
at async Object.applyPermissions [as fn] (deno:runtime/js/40_testing.js:245:9)
at async runTest (deno:runtime/js/40_testing.js:349:7)
at async Object.runTests (deno:runtime/js/40_testing.js:460:22)
failures:
webgpuComputePass
</code></pre></div>
<p dir="auto">Failed on Windows. Maybe this does not close the right resource sometimes?</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/denoland/deno/blob/43a63530acb16e57cbb190eacedbd097c536a775/cli/tests/unit/webgpu_test.ts#L98">deno/cli/tests/unit/webgpu_test.ts</a>
</p>
<p class="mb-0 color-fg-muted">
Line 98
in
<a data-pjax="true" class="commit-tease-sha" href="/denoland/deno/commit/43a63530acb16e57cbb190eacedbd097c536a775">43a6353</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="L98" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="98"></td>
<td id="LC98" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-smi">Number</span><span class="pl-kos">(</span><span class="pl-s1">resources</span><span class="pl-kos">[</span><span class="pl-s1">resources</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">-</span> <span class="pl-c1">1</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p> | 1 |
<p dir="auto">A <strong>static constructor</strong> is a function that is run only once when the class is loaded. It can be used to initialize static class members and maybe as entry point to the application.</p>
<p dir="auto">Suggested syntax is:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyClass {
static initialized = false;
static constructor() {
MyClass.initialized = true;
}
}
alert(MyClass.initialized);"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MyClass</span> <span class="pl-kos">{</span>
<span class="pl-k">static</span> <span class="pl-c1">initialized</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-k">static</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">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</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-en">alert</span><span class="pl-kos">(</span><span class="pl-smi">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">That would be same as the following:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyClass {
static initialized = false;
static __ctor = (() => {
MyClass.initialized = true;
})();
}
alert(MyClass.initialized);"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MyClass</span> <span class="pl-kos">{</span>
<span class="pl-k">static</span> <span class="pl-c1">initialized</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-k">static</span> <span class="pl-c1">__ctor</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-smi">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</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-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-smi">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Except that <code class="notranslate">__ctor</code> does not need to be assigned to the class in the output code, and only needs to be invoked in an anonymous function. Also compiler can check that no more than one static constructor is defined in a class.</p>
<p dir="auto"><strong>Update:</strong> Since this generates an Immediately-Invoked Function Expression (IIFE), compiler should make sure to move it to the end of the class definition in the output JavaScript.</p>
<p dir="auto">TypeScript:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MyClass {
static constructor() {
MyClass.initialized = true;
}
static initialized = false;
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">MyClass</span> <span class="pl-kos">{</span>
<span class="pl-k">static</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">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</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-k">static</span> <span class="pl-c1">initialized</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Expected JavaScript output:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var MyClass = (function () {
function MyClass() {
}
MyClass.initialized = false;
// run last
(function () {
MyClass.initialized = true;
})();
return MyClass;
})();"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">MyClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">function</span> <span class="pl-v">MyClass</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">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-c">// run last</span>
<span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-v">MyClass</span><span class="pl-kos">.</span><span class="pl-c1">initialized</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-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-v">MyClass</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">Note that body of the static constructor is moved to the bottom and invoked.</p>
<blockquote>
<p dir="auto">Related suggestion in codeplex: <a href="https://typescript.codeplex.com/workitem/862" rel="nofollow">Please add static constructors to classes</a></p>
</blockquote> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// test.tsx
/// <reference path="react/react.d.ts" />
/// <reference path="react/react-dom.d.ts" />
import React = require('react');
import ReactDOM = require('react-dom');
let Test = (state: any) => <div />;
ReactDOM.render(<Test />, document.getElementById('react'));"><pre class="notranslate"><code class="notranslate">// test.tsx
/// <reference path="react/react.d.ts" />
/// <reference path="react/react-dom.d.ts" />
import React = require('react');
import ReactDOM = require('react-dom');
let Test = (state: any) => <div />;
ReactDOM.render(<Test />, document.getElementById('react'));
</code></pre></div>
<p dir="auto">compiled with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ tsc test.tsx --jsx react --module commonjs"><pre class="notranslate"><code class="notranslate">$ tsc test.tsx --jsx react --module commonjs
</code></pre></div>
<p dir="auto">results in</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS2605: JSX element type 'Element' is not a constructor function for JSX elements."><pre class="notranslate"><code class="notranslate">error TS2605: JSX element type 'Element' is not a constructor function for JSX elements.
</code></pre></div>
<p dir="auto">In case we translate JSX by hand and use</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="let Test = state => React.createElement("div", null);
ReactDOM.render(React.createElement(Test, null), document.getElementById('react'));"><pre class="notranslate"><code class="notranslate">let Test = state => React.createElement("div", null);
ReactDOM.render(React.createElement(Test, null), document.getElementById('react'));
</code></pre></div>
<p dir="auto">everything works as expected.</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4</li>
<li>Operating System / Platform => any</li>
<li>Compiler => any</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Hi,<br>
If it is intended to accumulate blob radiuses in a sorted way ( I believe it is because <code class="notranslate">centers[j].size() / 2</code> then have a sence of a median radius) at <a href="https://github.com/opencv/opencv/blob/76eb38976103c86610f73d87e46b7cb5a74f0017/modules/features2d/src/blobdetector.cpp#L341">SimpleBlobDetectorImpl::detect</a>, then bubble sort insert is broken.<br>
Current code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" centers[j].push_back(curCenters[i]);
size_t k = centers[j].size() - 1;
while( k > 0 && centers[j][k].radius < centers[j][k-1].radius )
{
centers[j][k] = centers[j][k-1];
k--;
}
centers[j][k] = curCenters[i];"><pre class="notranslate"><code class="notranslate"> centers[j].push_back(curCenters[i]);
size_t k = centers[j].size() - 1;
while( k > 0 && centers[j][k].radius < centers[j][k-1].radius )
{
centers[j][k] = centers[j][k-1];
k--;
}
centers[j][k] = curCenters[i];
</code></pre></div>
<p dir="auto">Suggested substitute:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" centers[j].push_back(curCenters[i]);
size_t k = centers[j].size() - 1;
while( k > 0 && centers[j][k].radius < centers[j][k-1].radius )
{
centers[j][k] = centers[j][k-1];
k--;
centers[j][k] = curCenters[i];
}"><pre class="notranslate"><code class="notranslate"> centers[j].push_back(curCenters[i]);
size_t k = centers[j].size() - 1;
while( k > 0 && centers[j][k].radius < centers[j][k-1].radius )
{
centers[j][k] = centers[j][k-1];
k--;
centers[j][k] = curCenters[i];
}
</code></pre></div> | <p dir="auto">My setup uses defined pkg_config_path and libraries compiled differently than the system versions.<br>
All other libraries are found properly and the proper lib version is outputted in the initial cmake</p>
<p dir="auto">-- Media I/O:<br>
-- ZLib: /lib64/libz.so (ver 1.2.11)<br>
-- JPEG: /Data/Documents/CensusProject/gdallib/src/compiled/lib/libjpeg.so (ver 90)<br>
-- WEBP: build (ver encoder: 0x020f)<br>
-- PNG: /lib64/libpng.so (ver 1.6.37)<br>
-- TIFF: /lib64/libtiff.so (ver 42 / 4.2.0)<br>
-- JPEG 2000: build (ver 2.4.0)<br>
-- OpenEXR: build (ver 2.3.0)<br>
-- HDR: YES<br>
-- SUNRASTER: YES<br>
-- PXM: YES<br>
-- PFM: YES</p>
<p dir="auto">the issue is when linking against the test scripts during a call to make<br>
error as follows</p>
<p dir="auto">[ 34%] Linking CXX executable ../../bin/opencv_test_core<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFReadDirectory@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFWriteEncodedStrip@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFIsTiled@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFOpen@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFReadEncodedStrip@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFSetField@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFWriteScanline@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFGetField@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFScanlineSize@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFWriteDirectory@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFSetWarningHandler@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFSetErrorHandler@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFReadEncodedTile@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFReadRGBATile@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFClose@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFRGBAImageOK@LIBTIFF_4.0'<br>
/usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to <code class="notranslate">TIFFClientOpen@LIBTIFF_4.0' /usr/bin/ld: ../../lib/libopencv_imgcodecs.so.4.5.2: undefined reference to </code>TIFFReadRGBAStrip@LIBTIFF_4.0'<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [modules/core/CMakeFiles/opencv_test_core.dir/build.make:871: bin/opencv_test_core] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:1716: modules/core/CMakeFiles/opencv_test_core.dir/all] Error 2<br>
make: *** [Makefile:166: all] Error 2</p> | 0 |
<h1 dir="auto">Add "open Windows terminal here" to right-click context menu?</h1>
<p dir="auto">We know that, for windows 7, by default when we click "shift + right click with mouse" when we enter into a folder without selecting anything, we can see the option "open command window here".</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3152813/58607088-c287d100-82d0-11e9-9da9-7ca5fe2b493c.png"><img src="https://user-images.githubusercontent.com/3152813/58607088-c287d100-82d0-11e9-9da9-7ca5fe2b493c.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">While for windows 10, by default when we click "shift + right click with mouse", we can see the option "open powershell window here".</p>
<p dir="auto">So for Windows 10 (version later than 1903), how can we make the following three options available in right-click context menu?</p>
<ul dir="auto">
<li>open command window here</li>
<li>open powershell window here</li>
<li>open Windows terminal here</li>
</ul>
<p dir="auto">Looking forward to your reply, thanks a lot~</p> | <p dir="auto">How to add to the right-click menu</p>
<p dir="auto">This is a necessary function.</p>
<p dir="auto">Administrator mode must also be supported</p>
<p dir="auto">For example:</p>
<div class="highlight highlight-source-batchfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\folder\shell\cmd]
@="CMD"
[HKEY_CLASSES_ROOT\folder\shell\cmd\command]
@="cmd.exe /k cd %1""><pre class="notranslate">Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\folder\shell\cmd]
<span class="pl-k">@</span>=<span class="pl-s"><span class="pl-pds">"</span>CMD<span class="pl-pds">"</span></span>
[HKEY_CLASSES_ROOT\folder\shell\cmd\command]
<span class="pl-k">@</span>=<span class="pl-s"><span class="pl-pds">"</span>cmd.exe /k cd <span class="pl-v">%1</span><span class="pl-pds">"</span></span></pre></div> | 1 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/en/challenges/html5-and-css/use-hex-code-to-mix-colors" rel="nofollow">use-hex-code-to-mix-colors</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">During the Hex Code challenge, the hex code for Dodger blue does not seem to be working. Multiple other Campers have reported the same issue on Gitter.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/21243937/18397586/e1f6c71a-7696-11e6-8f84-226a88340bcf.png"><img src="https://cloud.githubusercontent.com/assets/21243937/18397586/e1f6c71a-7696-11e6-8f84-226a88340bcf.png" alt="dodgerbluebug" style="max-width: 100%;"></a></p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<style>
.red-text {
color: #FF0000;
}
.green-text {
color: #00FF00;
}
.dodger-blue-text {
color: #1e90ff;
}
.orange-text {
color: #FFA500;
}
</style>
<h1 class="red-text">I am red!</h1>
<h1 class="green-text">I am green!</h1>
<h1 class="dodger-blue-text">I am dodger blue!</h1>
<h1 class="orange-text">I am orange!</h1>
```
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">red-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>FF0000</span>;
}
.<span class="pl-c1">green-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>00FF00</span>;
}
.<span class="pl-c1">dodger-blue-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>1e90ff</span>;
}
.<span class="pl-c1">orange-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>FFA500</span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>I am red!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">green-text</span>"<span class="pl-kos">></span>I am green!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">dodger-blue-text</span>"<span class="pl-kos">></span>I am dodger blue!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">orange-text</span>"<span class="pl-kos">></span>I am orange!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
```</pre></div> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/en/challenges/html5-and-css/use-hex-code-to-mix-colors" rel="nofollow">use-hex-code-to-mix-colors</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 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="
<style>
.red-text {
color: #ff0000;
}
.green-text {
color: #00ff00;
}
.dodger-blue-text {
color: #1e90ff;
}
.orange-text {
color: #ffa500;
}
</style>
<h1 class="red-text">I am red!</h1>
<h1 class="green-text">I am green!</h1>
<h1 class="dodger-blue-text">I am dodger blue!</h1>
<h1 class="orange-text">I am orange!</h1>
```
Screenshot:
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">red-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>ff0000</span>;
}
.<span class="pl-c1">green-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>00ff00</span>;
}
.<span class="pl-c1">dodger-blue-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>1e90ff</span>;
}
.<span class="pl-c1">orange-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> <span class="pl-pds"><span class="pl-kos">#</span>ffa500</span>;
}
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>I am red!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">green-text</span>"<span class="pl-kos">></span>I am green!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">dodger-blue-text</span>"<span class="pl-kos">></span>I am dodger blue!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h1</span> <span class="pl-c1">class</span>="<span class="pl-s">orange-text</span>"<span class="pl-kos">></span>I am orange!<span class="pl-kos"></</span><span class="pl-ent">h1</span><span class="pl-kos">></span>
```
Screenshot:
</pre></div> | 1 |
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jansauer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jansauer">@jansauer</a> on 2016-11-21T09:40:13Z</p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<ul dir="auto">
<li>docker_container</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<ul dir="auto">
<li>macOS 10.12.1</li>
<li>ansible, docker and python installed with brew</li>
</ul>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I try to setup a docker container with ansible <code class="notranslate">docker_container</code> via a docker tls connection.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">hosts:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[local]
localhost ansible_connection=local"><pre class="notranslate"><code class="notranslate">[local]
localhost ansible_connection=local
</code></pre></div>
<p dir="auto">provision.yml</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- hosts: all
tasks:
- name: Create a data container
docker_container:
name: test
image: abiosoft/caddy:0.9.3
tls_hostname: tcp://[xxxx:xxxx:xxxx:xxxx::xxxx]:2376
tls_verify: true
key_path: /Users/jan/.docker/custom/server/key.pem
cert_path: /Users/jan/.docker/custom/server/cert.pem
cacert_path: /Users/jan/.docker/custom/server/ca.pem
"><pre class="notranslate"><code class="notranslate">---
- hosts: all
tasks:
- name: Create a data container
docker_container:
name: test
image: abiosoft/caddy:0.9.3
tls_hostname: tcp://[xxxx:xxxx:xxxx:xxxx::xxxx]:2376
tls_verify: true
key_path: /Users/jan/.docker/custom/server/key.pem
cert_path: /Users/jan/.docker/custom/server/cert.pem
cacert_path: /Users/jan/.docker/custom/server/ca.pem
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook -i hosts provision.yml"><pre class="notranslate"><code class="notranslate">ansible-playbook -i hosts provision.yml
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Ansible create a new container</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [Create a data container] *************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"}
to retry, use: --limit @/Users/jan/Workspace/ansible/provision.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1"><pre class="notranslate"><code class="notranslate">PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [Create a data container] *************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"}
to retry, use: --limit @/Users/jan/Workspace/ansible/provision.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
</code></pre></div>
<p dir="auto">I found a workaround for this in another issue...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH"><pre class="notranslate"><code class="notranslate">export PYTHONPATH=/usr/local/lib/python2.7/site-packages/:$PYTHONPATH
</code></pre></div>
<p dir="auto">After that I get a new error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="No config file found; using defaults
Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: provision.yml ********************************************************
1 plays in provision.yml
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
Using module file /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/modules/core/system/setup.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jan
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561 `" && echo ansible-tmp-1479720959.87-168391919144561="` echo $HOME/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561 `" ) && sleep 0'
<localhost> PUT /var/folders/nl/3d67s_ws47n3rhp7y2rq79x80000gn/T/tmpNQ_1vm TO /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/ /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py; rm -rf "/Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/" > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [Create a data container] *************************************************
task path: /Users/jan/Workspace/ansible/provision.yml:5
Using module file /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/modules/core/cloud/docker/docker_container.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jan
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073 `" && echo ansible-tmp-1479720960.93-117306363195073="` echo $HOME/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073 `" ) && sleep 0'
<localhost> PUT /var/folders/nl/3d67s_ws47n3rhp7y2rq79x80000gn/T/tmpdqVtwD TO /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/ /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py; rm -rf "/Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/" > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"api_version": null,
"blkio_weight": null,
"cacert_path": "/Users/jan/.docker/custom/server/ca.pem",
"capabilities": null,
"cert_path": "/Users/jan/.docker/custom/server/cert.pem",
"cleanup": false,
"command": null,
"cpu_period": null,
"cpu_quota": null,
"cpu_shares": null,
"cpuset_cpus": null,
"cpuset_mems": null,
"debug": false,
"detach": true,
"devices": null,
"dns_opts": null,
"dns_search_domains": null,
"dns_servers": null,
"docker_host": null,
"entrypoint": null,
"env": null,
"env_file": null,
"etc_hosts": null,
"exposed_ports": null,
"filter_logger": false,
"force_kill": false,
"groups": null,
"hostname": null,
"ignore_image": false,
"image": "abiosoft/caddy:0.9.3",
"interactive": false,
"ipc_mode": null,
"keep_volumes": true,
"kernel_memory": null,
"key_path": "/Users/jan/.docker/custom/server/key.pem",
"kill_signal": null,
"labels": null,
"links": null,
"log_driver": null,
"log_options": null,
"mac_address": null,
"memory": "0",
"memory_reservation": null,
"memory_swap": null,
"memory_swappiness": null,
"name": "test",
"network_mode": null,
"networks": null,
"oom_killer": null,
"oom_score_adj": null,
"paused": false,
"pid_mode": null,
"privileged": false,
"published_ports": null,
"pull": false,
"purge_networks": false,
"read_only": false,
"recreate": false,
"restart": false,
"restart_policy": null,
"restart_retries": null,
"security_opts": null,
"shm_size": null,
"ssl_version": null,
"state": "started",
"stop_signal": null,
"stop_timeout": null,
"timeout": null,
"tls": null,
"tls_hostname": "tcp://[xxxx:xxxx:xxxx:xxxx::xxxx]:2376",
"tls_verify": true,
"trust_image_content": false,
"tty": false,
"ulimits": null,
"user": null,
"uts": null,
"volume_driver": null,
"volumes": null,
"volumes_from": null
},
"module_name": "docker_container"
},
"msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(2, 'No such file or directory'))"
}
to retry, use: --limit @/Users/jan/Workspace/ansible/provision.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
`
``
Copied from original issue: ansible/ansible-modules-core#5685"><pre class="notranslate"><code class="notranslate">No config file found; using defaults
Loading callback plugin default of type stdout, v2.0 from /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: provision.yml ********************************************************
1 plays in provision.yml
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
Using module file /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/modules/core/system/setup.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jan
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561 `" && echo ansible-tmp-1479720959.87-168391919144561="` echo $HOME/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561 `" ) && sleep 0'
<localhost> PUT /var/folders/nl/3d67s_ws47n3rhp7y2rq79x80000gn/T/tmpNQ_1vm TO /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/ /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/setup.py; rm -rf "/Users/jan/.ansible/tmp/ansible-tmp-1479720959.87-168391919144561/" > /dev/null 2>&1 && sleep 0'
ok: [localhost]
TASK [Create a data container] *************************************************
task path: /Users/jan/Workspace/ansible/provision.yml:5
Using module file /usr/local/Cellar/ansible/2.2.0.0_1/libexec/lib/python2.7/site-packages/ansible/modules/core/cloud/docker/docker_container.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: jan
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073 `" && echo ansible-tmp-1479720960.93-117306363195073="` echo $HOME/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073 `" ) && sleep 0'
<localhost> PUT /var/folders/nl/3d67s_ws47n3rhp7y2rq79x80000gn/T/tmpdqVtwD TO /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py
<localhost> EXEC /bin/sh -c 'chmod u+x /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/ /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/docker_container.py; rm -rf "/Users/jan/.ansible/tmp/ansible-tmp-1479720960.93-117306363195073/" > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"api_version": null,
"blkio_weight": null,
"cacert_path": "/Users/jan/.docker/custom/server/ca.pem",
"capabilities": null,
"cert_path": "/Users/jan/.docker/custom/server/cert.pem",
"cleanup": false,
"command": null,
"cpu_period": null,
"cpu_quota": null,
"cpu_shares": null,
"cpuset_cpus": null,
"cpuset_mems": null,
"debug": false,
"detach": true,
"devices": null,
"dns_opts": null,
"dns_search_domains": null,
"dns_servers": null,
"docker_host": null,
"entrypoint": null,
"env": null,
"env_file": null,
"etc_hosts": null,
"exposed_ports": null,
"filter_logger": false,
"force_kill": false,
"groups": null,
"hostname": null,
"ignore_image": false,
"image": "abiosoft/caddy:0.9.3",
"interactive": false,
"ipc_mode": null,
"keep_volumes": true,
"kernel_memory": null,
"key_path": "/Users/jan/.docker/custom/server/key.pem",
"kill_signal": null,
"labels": null,
"links": null,
"log_driver": null,
"log_options": null,
"mac_address": null,
"memory": "0",
"memory_reservation": null,
"memory_swap": null,
"memory_swappiness": null,
"name": "test",
"network_mode": null,
"networks": null,
"oom_killer": null,
"oom_score_adj": null,
"paused": false,
"pid_mode": null,
"privileged": false,
"published_ports": null,
"pull": false,
"purge_networks": false,
"read_only": false,
"recreate": false,
"restart": false,
"restart_policy": null,
"restart_retries": null,
"security_opts": null,
"shm_size": null,
"ssl_version": null,
"state": "started",
"stop_signal": null,
"stop_timeout": null,
"timeout": null,
"tls": null,
"tls_hostname": "tcp://[xxxx:xxxx:xxxx:xxxx::xxxx]:2376",
"tls_verify": true,
"trust_image_content": false,
"tty": false,
"ulimits": null,
"user": null,
"uts": null,
"volume_driver": null,
"volumes": null,
"volumes_from": null
},
"module_name": "docker_container"
},
"msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(2, 'No such file or directory'))"
}
to retry, use: --limit @/Users/jan/Workspace/ansible/provision.retry
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
`
``
Copied from original issue: ansible/ansible-modules-core#5685
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto"><strong>docker_container</strong> module</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
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.0.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">No custom configuration.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Using Ansible on OS X 10.11.5.</p>
<p dir="auto">Docker version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="docker --version
Docker version 1.12.0-rc4, build e4a0dbc, experimental"><pre class="notranslate"><code class="notranslate">docker --version
Docker version 1.12.0-rc4, build e4a0dbc, experimental
</code></pre></div>
<p dir="auto">docker-py version:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip show docker-py
---
Metadata-Version: 2.0
Name: docker-py
Version: 1.8.1
Summary: Python client for Docker.
Home-page: https://github.com/docker/docker-py/
Author: UNKNOWN
Author-email: UNKNOWN
Installer: pip
License: UNKNOWN
Location: /Users/rick/tmp/ansible/module-tests/docker_container/env/lib/python2.7/site-packages
Requires: ipaddress, six, requests, backports.ssl-match-hostname, websocket-client
Classifiers:
Development Status :: 4 - Beta
Environment :: Other Environment
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Topic :: Utilities
License :: OSI Approved :: Apache Software License"><pre class="notranslate"><code class="notranslate">pip show docker-py
---
Metadata-Version: 2.0
Name: docker-py
Version: 1.8.1
Summary: Python client for Docker.
Home-page: https://github.com/docker/docker-py/
Author: UNKNOWN
Author-email: UNKNOWN
Installer: pip
License: UNKNOWN
Location: /Users/rick/tmp/ansible/module-tests/docker_container/env/lib/python2.7/site-packages
Requires: ipaddress, six, requests, backports.ssl-match-hostname, websocket-client
Classifiers:
Development Status :: 4 - Beta
Environment :: Other Environment
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Topic :: Utilities
License :: OSI Approved :: Apache Software License
</code></pre></div>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I want to build a custom container on top of a base OS container. So I am trying to start a base OS container.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">I came across this issue in my normal work environment on my Mac. I reproduced it in a clean environment created with virtualenv.</p>
<p dir="auto">Here is the playbook I reproduced it with.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: start an OS image
hosts: all
connection: local
tasks:
- name: pull the OS image
docker_container:
name: my-test-container
image: ubuntu:16.04
state: started"><pre class="notranslate"><code class="notranslate">- name: start an OS image
hosts: all
connection: local
tasks:
- name: pull the OS image
docker_container:
name: my-test-container
image: ubuntu:16.04
state: started
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Docker container would be started.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Here is the verbose failure output of the playboook run.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: [localhost]: FAILED! =>
{
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"api_version": null,
"blkio_weight": null,
"cacert_path": null,
"capabilities": null,
"cert_path": null,
"command": null,
"cpu_period": null,
"cpu_quota": null,
"cpu_shares": null,
"cpuset_cpus": null,
"cpuset_mems": null,
"debug": false,
"detach": true,
"devices": null,
"dns_opts": null,
"dns_search_domains": null,
"dns_servers": null,
"docker_host": null,
"entrypoint": null,
"env": null,
"etc_hosts": null,
"exposed_ports": null,
"filter_logger": false,
"force_kill": false,
"groups": null,
"hostname": null,
"image": "ubuntu:16.04",
"interactive": false,
"ipc_mode": null,
"keep_volumes": true,
"kernel_memory": null,
"key_path": null,
"kill_signal": null,
"labels": null,
"links": null,
"log_driver": "json-file",
"log_options": null,
"mac_address": null,
"memory": "0",
"memory_reservation": null,
"memory_swap": null,
"memory_swappiness": null,
"name": "my-test-container",
"network_mode": null,
"networks": null,
"oom_killer": null,
"paused": false,
"pid_mode": null,
"privileged": false,
"published_ports": null,
"pull": false,
"read_only": false,
"recreate": false,
"restart": false,
"restart_policy": null,
"restart_retries": 0,
"security_opts": null,
"shm_size": null,
"ssl_version": null,
"state": "started",
"stop_signal": null,
"stop_timeout": null,
"timeout": null,
"tls": null,
"tls_hostname": null,
"tls_verify": null,
"trust_image_content": false,
"tty": false,
"ulimits": null,
"user": null,
"uts": null,
"volume_driver": null,
"volumes": null,
"volumes_from": null
},
"module_name": "docker_container"
},
"msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"
}"><pre class="notranslate"><code class="notranslate">fatal: [localhost]: FAILED! =>
{
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"api_version": null,
"blkio_weight": null,
"cacert_path": null,
"capabilities": null,
"cert_path": null,
"command": null,
"cpu_period": null,
"cpu_quota": null,
"cpu_shares": null,
"cpuset_cpus": null,
"cpuset_mems": null,
"debug": false,
"detach": true,
"devices": null,
"dns_opts": null,
"dns_search_domains": null,
"dns_servers": null,
"docker_host": null,
"entrypoint": null,
"env": null,
"etc_hosts": null,
"exposed_ports": null,
"filter_logger": false,
"force_kill": false,
"groups": null,
"hostname": null,
"image": "ubuntu:16.04",
"interactive": false,
"ipc_mode": null,
"keep_volumes": true,
"kernel_memory": null,
"key_path": null,
"kill_signal": null,
"labels": null,
"links": null,
"log_driver": "json-file",
"log_options": null,
"mac_address": null,
"memory": "0",
"memory_reservation": null,
"memory_swap": null,
"memory_swappiness": null,
"name": "my-test-container",
"network_mode": null,
"networks": null,
"oom_killer": null,
"paused": false,
"pid_mode": null,
"privileged": false,
"published_ports": null,
"pull": false,
"read_only": false,
"recreate": false,
"restart": false,
"restart_policy": null,
"restart_retries": 0,
"security_opts": null,
"shm_size": null,
"ssl_version": null,
"state": "started",
"stop_signal": null,
"stop_timeout": null,
"timeout": null,
"tls": null,
"tls_hostname": null,
"tls_verify": null,
"trust_image_content": false,
"tty": false,
"ulimits": null,
"user": null,
"uts": null,
"volume_driver": null,
"volumes": null,
"volumes_from": null
},
"module_name": "docker_container"
},
"msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"
}
</code></pre></div>
<p dir="auto">I am able to start the same container using the <strong>shell</strong> modue.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: start an OS image
hosts: all
connection: local
tasks:
- name: pull the OS image
shell: |
docker run --rm ubuntu:16.04"><pre class="notranslate"><code class="notranslate">- name: start an OS image
hosts: all
connection: local
tasks:
- name: pull the OS image
shell: |
docker run --rm ubuntu:16.04
</code></pre></div>
<p dir="auto">Here is the success output from that playbook.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="changed: [localhost] =>
{
"changed": true,
"cmd": "docker run --rm ubuntu:16.04",
"delta": "0:00:00.625392",
"end": "2016-07-24 17:34:22.476927",
"invocation": {
"module_args": {
"_raw_params": "docker run --rm ubuntu:16.04",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2016-07-24 17:34:21.851535",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}"><pre class="notranslate"><code class="notranslate">changed: [localhost] =>
{
"changed": true,
"cmd": "docker run --rm ubuntu:16.04",
"delta": "0:00:00.625392",
"end": "2016-07-24 17:34:22.476927",
"invocation": {
"module_args": {
"_raw_params": "docker run --rm ubuntu:16.04",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2016-07-24 17:34:21.851535",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
</code></pre></div> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?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">We upgraded from version <code class="notranslate">5.0.1-canary.17</code> to version <code class="notranslate">6.0.0-canary.2</code>. This was to fix a problem with pressing the back button whilst using the Safari browser. This problem was fixed but we created another issue with the stylesheets. The stylesheets were previously being bundled together and served correctly, now they're not.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">We initially had this setup in our <code class="notranslate">_document.js</code> page. However, the 'fs' module errored and we found the latest solution here: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="311991681" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/4119" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/4119/hovercard" href="https://github.com/vercel/next.js/pull/4119">#4119</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import { readFileSync } from 'fs';
const dev = process.env.NODE_ENV !== 'production';
function getStyles() {
return readFileSync(`${process.cwd()}/src/.next/static/style.css`, {
encoding: 'utf8',
});
}
export default class extends Document {
render() {
return (
<html lang="en">
<Head>
{dev && (
<link
rel="stylesheet"
href={`/_next/static/style.css?v=${Math.random().toString(32)}`}
/>
)}
{!dev && <style dangerouslySetInnerHTML={{ __html: getStyles() }} />}
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}"><pre class="notranslate"><code class="notranslate">import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
import { readFileSync } from 'fs';
const dev = process.env.NODE_ENV !== 'production';
function getStyles() {
return readFileSync(`${process.cwd()}/src/.next/static/style.css`, {
encoding: 'utf8',
});
}
export default class extends Document {
render() {
return (
<html lang="en">
<Head>
{dev && (
<link
rel="stylesheet"
href={`/_next/static/style.css?v=${Math.random().toString(32)}`}
/>
)}
{!dev && <style dangerouslySetInnerHTML={{ __html: getStyles() }} />}
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}
</code></pre></div>
<p dir="auto">We thus changed to the below noted, and removed the <code class="notranslate">fs</code> module causing that error.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
const dev = process.env.NODE_ENV !== 'production';
export default class extends Document {
render() {
const { buildManifest } = this.props;
const { css } = buildManifest;
console.log('buildManifest', buildManifest);
console.log('css', css);
return (
<html lang="en">
<Head>
{css.map(file => (
<link rel="stylesheet" href={`/_next/${file}?version=${ Math.random().toString(32)}`} key={file} />
))}
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}"><pre class="notranslate"><code class="notranslate">import React from 'react';
import Document, { Head, Main, NextScript } from 'next/document';
const dev = process.env.NODE_ENV !== 'production';
export default class extends Document {
render() {
const { buildManifest } = this.props;
const { css } = buildManifest;
console.log('buildManifest', buildManifest);
console.log('css', css);
return (
<html lang="en">
<Head>
{css.map(file => (
<link rel="stylesheet" href={`/_next/${file}?version=${ Math.random().toString(32)}`} key={file} />
))}
</Head>
<body>
<Main />
<NextScript />
</body>
</html>
);
}
}
</code></pre></div>
<p dir="auto">However, we now have a new problem as only some of our styling is being ported over. the log of the <code class="notranslate">css</code> array pulled out of the <code class="notranslate">buildManifest</code> has two CSS paths, we suspect that one is overwriting the other perhaps instead of being bundled together.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" css: [ 'static/style.css', 'static/style.css' ],
'main.js': [ 'static/commons/main.js' ],
'bundles/pages/_document.js': [ 'bundles/pages/_document.js' ],
'bundles/pages/_error.js': [ 'bundles/pages/_error.js' ],
'bundles/pages/_app.js': [ 'bundles/pages/_app.js' ],
'manifest.js': [ 'static/commons/manifest.js' ],
'bundles/pages/cm/templates/homepage.js': [ 'bundles/pages/cm/templates/homepage.js' ],
'bundles/pages/cm/templates/news.js': [ 'bundles/pages/cm/templates/news.js' ] }"><pre class="notranslate"><code class="notranslate"> css: [ 'static/style.css', 'static/style.css' ],
'main.js': [ 'static/commons/main.js' ],
'bundles/pages/_document.js': [ 'bundles/pages/_document.js' ],
'bundles/pages/_error.js': [ 'bundles/pages/_error.js' ],
'bundles/pages/_app.js': [ 'bundles/pages/_app.js' ],
'manifest.js': [ 'static/commons/manifest.js' ],
'bundles/pages/cm/templates/homepage.js': [ 'bundles/pages/cm/templates/homepage.js' ],
'bundles/pages/cm/templates/news.js': [ 'bundles/pages/cm/templates/news.js' ] }
</code></pre></div>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">To reproduce the issue, I've set up a very simple example at this repo: <a href="https://github.com/Rusticman/test-next">https://github.com/Rusticman/test-next</a></p>
<ol dir="auto">
<li>Pull in code</li>
<li>run <code class="notranslate">npm install</code></li>
<li>run <code class="notranslate">npm run dev</code></li>
<li>available at <code class="notranslate">localhost:3000</code><br>
There are only two paths; <code class="notranslate">/</code> (root url) & <code class="notranslate">/news</code>. They should have the same styling. homepage styling pulls through initially, but then fails to bundle on subsequent navigation to and from homepage.</li>
</ol>
<p dir="auto">If you run <code class="notranslate">npm run build</code> & <code class="notranslate">npm run start</code> the homepage styling never appears.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">This issue has stopped us from adopting the latest version of next.</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>6.0.0-canary.2</td>
</tr>
<tr>
<td>node</td>
<td>9.5.0</td>
</tr>
<tr>
<td>OS</td>
<td>MacOS Sierra 10.12.6</td>
</tr>
<tr>
<td>browser</td>
<td>Google Chrome v65</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">Is there a recommended approach for page transitions... to have current page slide out and next page slide in. So something like this: <a href="https://github.com/maisano/react-router-transition">https://github.com/maisano/react-router-transition</a></p> | 0 |
<p dir="auto">Such as in the font <a href="https://github.com/tonsky/FiraCode">http://github.com/tonsky/FiraCode</a> .</p> | <p dir="auto">Hello! Here's the highlighting of simple multiline string in ES5 is broken:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/248055/12779620/8f6ac572-ca71-11e5-8e82-7b8d1477f165.png"><img width="450" alt="" src="https://cloud.githubusercontent.com/assets/248055/12779620/8f6ac572-ca71-11e5-8e82-7b8d1477f165.png" style="max-width: 100%;"></a></p>
<p dir="auto">Here's more interesting case. All syntax highlighting in entire file below the string is broken:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/248055/12779699/186bfdaa-ca72-11e5-91d7-a2aedd9ef000.png"><img width="452" alt="" src="https://cloud.githubusercontent.com/assets/248055/12779699/186bfdaa-ca72-11e5-91d7-a2aedd9ef000.png" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.18.1</li>
</ul>
<p dir="auto">If you need to use extensions, there is no options to configure this behaviour for browser from launchOptions as in incognito mode browser removes all extensions.</p> | <p dir="auto">On one of our projects, we need to run tests with extensions. To launch extensions, we have to set <code class="notranslate">browserType.launchPersistentContext</code> in the <code class="notranslate">beforeAll</code> section of each test.</p>
<p dir="auto">It would be convenient to set <code class="notranslate">launchPersistentContext</code> in a <code class="notranslate">playwright.config</code> file, for instance:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" use: {
launchPersistentContext: {
userDataDir: '/tmp/test-user-data-dir',
args: [
`--disable-extensions-except=${path.join(__dirname, './my-extension')}`,
`--load-extension=${path.join(__dirname, './my-extension')}`
]
}
}"><pre class="notranslate"> use: <span class="pl-kos">{</span>
<span class="pl-c1">launchPersistentContext</span>: <span class="pl-kos">{</span>
<span class="pl-c1">userDataDir</span>: <span class="pl-s">'/tmp/test-user-data-dir'</span><span class="pl-kos">,</span>
<span class="pl-c1">args</span>: <span class="pl-kos">[</span>
<span class="pl-s">`--disable-extensions-except=<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'./my-extension'</span><span class="pl-kos">)</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span>
<span class="pl-s">`--load-extension=<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'./my-extension'</span><span class="pl-kos">)</span><span class="pl-kos">}</span></span>`</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div> | 1 |
<p dir="auto">Below is my menu component</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Menu>
<Menu.Item header>
<Link href="/">
MyBlog
</Link>
</Menu.Item>
<Menu.Menu position='right'>
<Menu.Item name='about' active={activeItem === 'about'} onClick={this.handleItemClick} >
<Link href="/about">
<a>About</a>
</Link>
</Menu.Item>
<Menu.Item name='signup'>
<Link href="/signup">
<a>Sign Up</a>
</Link>
</Menu.Item>
<Menu.Item name='login'>
<Link href="/login">
<a>Login</a>
</Link>
</Menu.Item>
</Menu.Menu>
</Menu>"><pre class="notranslate"><code class="notranslate"><Menu>
<Menu.Item header>
<Link href="/">
MyBlog
</Link>
</Menu.Item>
<Menu.Menu position='right'>
<Menu.Item name='about' active={activeItem === 'about'} onClick={this.handleItemClick} >
<Link href="/about">
<a>About</a>
</Link>
</Menu.Item>
<Menu.Item name='signup'>
<Link href="/signup">
<a>Sign Up</a>
</Link>
</Menu.Item>
<Menu.Item name='login'>
<Link href="/login">
<a>Login</a>
</Link>
</Menu.Item>
</Menu.Menu>
</Menu>
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">And I get the following error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<a> cannot appear as a descendant of <a>. See Header > MenuItem > a > ... > a."><pre class="notranslate"><code class="notranslate"><a> cannot appear as a descendant of <a>. See Header > MenuItem > a > ... > a.
</code></pre></div>
<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>2.4.4</td>
</tr>
<tr>
<td>node</td>
<td>8.0.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS Sierra</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome Version 59.0.3071.115</td>
</tr>
</tbody>
</table> | <p dir="auto">I have several nextjs application that are statically exported. Navigation through pages works fine except when I use <em>right click</em> > <em>Open Link in new tab</em> : query params are missing in the url of the opened tab</p>
<p dir="auto">When I run the application with a server, everything works fine. This issue is related to static export.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When I open a link in a new tab, I expect to have the url of the link in the new tab (like a regular click)</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">When I open a link in a new tab, query params are missing in the url</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Create two pages /a /b</li>
<li>In page a add a <code class="notranslate"><link href="/b?param=value"><a href="/b?param=value">link</a></link></code></li>
<li>Static export</li>
<li>On page a, right click > open link in new tab => the url is /b/ instead of /b/?param=value</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">My application is a marketplace, from a list users open several tabs to compare details of opened items</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.1.0</td>
</tr>
<tr>
<td>node</td>
<td>8.10</td>
</tr>
<tr>
<td>OS</td>
<td>Reproduced on MacOS and Linux</td>
</tr>
<tr>
<td>browser</td>
<td>Reproduced on Firefox and Chrome</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I investigated an enjoying bug in terms of the auto formatting in atom. This happens if you call "Auto Ident" or if code becomes pasted into the editor.</p>
<p dir="auto">In many languages, e.g. Java, Javascript, PHP, ... the following should be formatted as this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if(somevariable === 3)
alert(somevariable);
somevariable++;"><pre class="notranslate"><span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span> <span class="pl-c1">===</span> <span class="pl-c1">3</span><span class="pl-kos">)</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">somevariable</span><span class="pl-c1">++</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This is the similar behavior as:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if(somevariable === 3) {
alert(somevariable);
}
somevariable++;"><pre class="notranslate"><span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span> <span class="pl-c1">===</span> <span class="pl-c1">3</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">somevariable</span><span class="pl-c1">++</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Atom unfortunately format all lines behind the statements the following way:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if(somevariable === 3)
alert(somevariable);
somevariable++;"><pre class="notranslate"><span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span> <span class="pl-c1">===</span> <span class="pl-c1">3</span><span class="pl-kos">)</span>
<span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s1">somevariable</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">somevariable</span><span class="pl-c1">++</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Hope this can be fixed soon 👍</p> | <p dir="auto">This issue can include <a href="https://github.com/atom/language-javascript/issues/49" data-hovercard-type="issue" data-hovercard-url="/atom/language-javascript/issues/49/hovercard">this earlier one</a>.</p>
<p dir="auto">It seems that a lack of braces break the auto indentation. For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (true)
i = 1;
else
i = 2;"><pre class="notranslate"><code class="notranslate">if (true)
i = 1;
else
i = 2;
</code></pre></div>
<p dir="auto">Turns into:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (true)
i = 1;
else
i = 2;"><pre class="notranslate"><code class="notranslate">if (true)
i = 1;
else
i = 2;
</code></pre></div> | 1 |
<p dir="auto">Just opened config and tryied to right-click the config folder that appeared on the left pane.</p>
<p dir="auto"><strong>Atom Version</strong>: 1.0.0<br>
<strong>System</strong>: Microsoft Windows 8.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33)
at HTMLDocument.handler (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\browser\atom-window.js:149:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:150:33)
at HTMLDocument.handler (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\SAA\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -2:15.1.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
-2:02.7.0 timecop:view (atom-text-editor.editor.is-focused)
-0:44.1.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-0:43.9.0 core:cut (atom-text-editor.editor.mini.is-focused)
-0:22.6.0 core:backspace (atom-text-editor.editor.mini)
-0:22.5.0 command-palette:toggle (atom-text-editor.editor.mini)
-0:02.2.0 tool-panel:unfocus (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)"><pre class="notranslate"><code class="notranslate"> -2:15.1.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
-2:02.7.0 timecop:view (atom-text-editor.editor.is-focused)
-0:44.1.0 core:select-all (atom-text-editor.editor.mini.is-focused)
-0:43.9.0 core:cut (atom-text-editor.editor.mini.is-focused)
-0:22.6.0 core:backspace (atom-text-editor.editor.mini)
-0:22.5.0 command-palette:toggle (atom-text-editor.editor.mini)
-0:02.2.0 tool-panel:unfocus (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {},
"editor": {
"invisibles": {}
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {},
<span class="pl-ent">"editor"</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
atom-beautify, v0.28.6
atom-handlebars, v0.5.0
linter, v1.0.5
linter-php, v0.0.15
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">28</span>.<span class="pl-ii">6</span>
atom<span class="pl-k">-</span>handlebars, v0.<span class="pl-ii">5</span>.<span class="pl-ii">0</span>
linter, v1.<span class="pl-ii">0</span>.<span class="pl-ii">5</span>
linter<span class="pl-k">-</span>php, v0.<span class="pl-ii">0</span>.<span class="pl-ii">15</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">I right-clicked on a folder in the tree view</p>
<p dir="auto"><strong>Atom Version</strong>: 0.194.0<br>
<strong>System</strong>: Windows 7 Entreprise<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Cannot find module './context-menu'<br>
Error: Cannot find module './context-menu'<br>
at Function.Module._resolveFilename (module.js:328:15)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at BrowserWindow. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)<br>
at emitOne (events.js:77:13)<br>
at BrowserWindow.emit (events.js:166:7)<br>
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)<br>
at EventEmitter. (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)<br>
at emitMany (events.js:108:13)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
"><pre class="notranslate"><code class="notranslate">At C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77
Error: Cannot find module './context-menu'
Error: Cannot find module './context-menu'
at Function.Module._resolveFilename (module.js:328:15)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at BrowserWindow.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\browser\atom-window.js:152:27)
at emitOne (events.js:77:13)
at BrowserWindow.emit (events.js:166:7)
at callFunction (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:116:18)
at EventEmitter.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\browser\lib\rpc-server.js:208:14)
at emitMany (events.js:108:13)
at metaToValue (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:77:15)
at BrowserWindow.RemoteMemberFunction [as emit] (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\atom.asar\renderer\api\lib\remote.js:111:26)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\context-menu-manager.js:170:31)
at HTMLDocument.<anonymous> (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\window-event-handler.js:149:33)
at HTMLDocument.handler (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\jbrichardet\AppData\Local\atom\app-0.194.0\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -4:55.5.0 editor:checkout-head-revision (atom-text-editor.editor.is-focused)
2x -3:41.6.0 window:focus-pane-on-right (atom-text-editor.editor)
-3:17.5.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-2:47.4.0 editor:newline (atom-text-editor.editor.is-focused)
-2:38.2.0 core:cut (atom-text-editor.editor)
-2:36.5.0 core:paste (atom-text-editor.editor.is-focused)
-2:26.6.0 core:save (atom-text-editor.editor.is-focused)
-2:20.6.0 core:move-down (atom-text-editor.editor)
-2:20.4.0 autocomplete-plus:confirm (atom-text-editor.editor)
-2:15.8.0 core:save (atom-text-editor.editor)
-2:08.7.0 core:copy (atom-text-editor.editor.is-focused)
-2:01.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:59.7.0 core:save (atom-text-editor.editor.is-focused)
-1:52.2.0 core:paste (atom-text-editor.editor.is-focused)
-1:51.6.0 core:save (atom-text-editor.editor.is-focused)
-1:30.6.0 core:backspace (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {
"ignoredNames": [
"node_modules"
],
"themes": [
"atom-dark-ui",
"seti-syntax"
],
"disabledPackages": [
"Tern"
],
"projectHome": "Y:\\app-tfoumax"
},
"editor": {
"invisibles": {},
"softWrap": true,
"showIndentGuide": true
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"ignoredNames"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>node_modules<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"themes"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>seti-syntax<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>Tern<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"projectHome"</span>: <span class="pl-s"><span class="pl-pds">"</span>Y:<span class="pl-cce">\\</span>app-tfoumax<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"invisibles"</span>: {},
<span class="pl-ent">"softWrap"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</span>
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
javascript-snippets, v1.0.0
jshint, v1.3.5
language-ejs, v0.1.0
linter, v0.12.1
pretty-json, v0.3.3
save-session, v0.14.0
Search, v0.4.0
seti-syntax, v0.4.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
autocomplete<span class="pl-k">-</span>plus, v2.<span class="pl-ii">12</span>.<span class="pl-ii">0</span>
autocomplete<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">2</span>.<span class="pl-ii">0</span>
javascript<span class="pl-k">-</span>snippets, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
jshint, v1.<span class="pl-ii">3</span>.<span class="pl-ii">5</span>
language<span class="pl-k">-</span>ejs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">1</span>
pretty<span class="pl-k">-</span>json, v0.<span class="pl-ii">3</span>.<span class="pl-ii">3</span>
save<span class="pl-k">-</span>session, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span>
Search, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
seti<span class="pl-k">-</span>syntax, v0.<span class="pl-ii">4</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | 1 |
<p dir="auto">We use expat to parse the Android fonts XML file. We could hand-roll a parser that is just enough to read the shipped fonts.xml files that would be both faster and smaller than expat.</p> | <p dir="auto">Expat is used by Skia for parsing font manifests on Android exclusively. In the latest build it takes up about 65kb uncompressed (<a href="https://storage.googleapis.com/flutter_infra/flutter/5a4bd0de69fbceb36ccecfcbf8c81dc8d94ea949/android-arm64-release/sizes/index.html" rel="nofollow">https://storage.googleapis.com/flutter_infra/flutter/5a4bd0de69fbceb36ccecfcbf8c81dc8d94ea949/android-arm64-release/sizes/index.html</a>).</p>
<p dir="auto">We should verify that it's not getting bundled into non-Android builds (I believe it's not but it's been a while since I've checked). We should also explore whether we could slim this down - i.e. by using a different XML parsing implementation that may be smaller, or by using JNI to get the data instead. Relevant part of Skia is: <a href="https://github.com/google/skia/blob/master/src/ports/SkFontMgr_android_parser.cpp">https://github.com/google/skia/blob/master/src/ports/SkFontMgr_android_parser.cpp</a> - some BUILD info would have to change as well to make this work in Skia.</p>
<p dir="auto">Related bug: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="492018515" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/40220" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/40220/hovercard" href="https://github.com/flutter/flutter/issues/40220">#40220</a></p>
<p dir="auto">This would have the added benefit of resolving the expat portion of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="487221574" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/39532" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/39532/hovercard" href="https://github.com/flutter/flutter/issues/39532">#39532</a></p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xster">@xster</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chinmaygarde/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chinmaygarde">@chinmaygarde</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/matthew-carroll/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/matthew-carroll">@matthew-carroll</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mklim/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mklim">@mklim</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jason-simmons/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jason-simmons">@jason-simmons</a></p> | 1 |
<p dir="auto">Dont know if this is a desired behavior, but if I send a request like this:</p>
<blockquote>
<p dir="auto">Content-Type: application/json<br>
Content-Length: 0</p>
</blockquote>
<p dir="auto">and access <code class="notranslate">get_json</code> it raises a 'Cant not decode' error.<br>
Imho it would be better to just return <code class="notranslate">None</code> as if <code class="notranslate">is_json == False</code>.</p>
<p dir="auto">Working with: Flask 0.11.dev0</p> | 0 |
|
<p dir="auto">code version 0.10.4</p>
<p dir="auto">When i try to format a html file i get the following error:<br>
TypeError: Cannot read property 'startLineNumber' of null</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/174948/11864429/add40410-a49c-11e5-813c-9115dc2c5119.png"><img src="https://cloud.githubusercontent.com/assets/174948/11864429/add40410-a49c-11e5-813c-9115dc2c5119.png" alt="image" style="max-width: 100%;"></a></p> | <ul dir="auto">
<li>open HTML file</li>
<li>run format (entire document)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5047891/11807883/1facd200-a31d-11e5-8e73-29c14d0910e3.png"><img src="https://cloud.githubusercontent.com/assets/5047891/11807883/1facd200-a31d-11e5-8e73-29c14d0910e3.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">There are no docstrings for <code class="notranslate">@inline</code> and <del><code class="notranslate">@inbounds</code></del>:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="help?> @inline
No documentation found.
Base.@inline is a macro.
# 1 method for macro "@inline":
@inline(ex::ANY<:Any) in Base at expr.jl:122"><pre class="notranslate">help?<span class="pl-k">></span> <span class="pl-c1">@inline</span>
No documentation found.
Base<span class="pl-k">.</span><span class="pl-c1">@inline</span> is a <span class="pl-k">macro</span>.
<span class="pl-c"><span class="pl-c">#</span> 1 method for macro "@inline":</span>
<span class="pl-c1">@inline</span>(ex<span class="pl-k">::</span><span class="pl-c1">ANY</span><span class="pl-k"><:</span><span class="pl-c1">Any</span>) <span class="pl-k">in</span> Base at expr<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">122</span></pre></div>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="help?> @inbounds
No documentation found.
Base.@inbounds is a macro.
# 1 method for macro "@inbounds":
@inbounds(blk::ANY<:Any) in Base at essentials.jl:162"><pre class="notranslate">help?<span class="pl-k">></span> <span class="pl-c1">@inbounds</span>
No documentation found.
Base<span class="pl-k">.</span><span class="pl-c1">@inbounds</span> is a <span class="pl-k">macro</span>.
<span class="pl-c"><span class="pl-c">#</span> 1 method for macro "@inbounds":</span>
<span class="pl-c1">@inbounds</span>(blk<span class="pl-k">::</span><span class="pl-c1">ANY</span><span class="pl-k"><:</span><span class="pl-c1">Any</span>) <span class="pl-k">in</span> Base at essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">162</span></pre></div>
<p dir="auto">EDIT: Partly duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="52438292" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/9405" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/9405/hovercard" href="https://github.com/JuliaLang/julia/issues/9405">#9405</a></p> | <p dir="auto">Difficult to tell if this is a duplicate of some existing subtyping issue, but it's important:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> typeintersect(Base.RefValue, Ref{Union{Int,T}} where T)
Union{}"><pre class="notranslate"><code class="notranslate">julia> typeintersect(Base.RefValue, Ref{Union{Int,T}} where T)
Union{}
</code></pre></div>
<p dir="auto">The answer should be (ideally) <code class="notranslate">RefValue{Union{Int,T}} where T</code>.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.6</li>
<li>Operating System version: MacOS 10.14.3</li>
<li>Java version: 1.8.0_151</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>sh bin/start.sh</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">The dubbo jar can not start.</p>
<h3 dir="auto">Actual Result</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sh bin/start.sh
: No such file or directoryin
: No such file or directory.
: command not found7:
: command not found13:
bin/start.sh: line 93: syntax error: unexpected end of file"><pre class="notranslate"><code class="notranslate">sh bin/start.sh
: No such file or directoryin
: No such file or directory.
: command not found7:
: command not found13:
bin/start.sh: line 93: syntax error: unexpected end of file
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: CentOS Linux release 7.6.1810 (Core)</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>yml配置文件</li>
</ol>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dubbo:
application:
name: bessky-boot-service
protocol:
name: dubbo
port: 28300
scan:
basePackages: com.bessky
registry:
address: zookeeper://192.168.99.230:2181"><pre class="notranslate"><span class="pl-ent">dubbo</span>:
<span class="pl-ent">application</span>:
<span class="pl-ent">name</span>: <span class="pl-s">bessky-boot-service</span>
<span class="pl-ent">protocol</span>:
<span class="pl-ent">name</span>: <span class="pl-s">dubbo</span>
<span class="pl-ent">port</span>: <span class="pl-c1">28300</span>
<span class="pl-ent">scan</span>:
<span class="pl-ent">basePackages</span>: <span class="pl-s">com.bessky</span>
<span class="pl-ent">registry</span>:
<span class="pl-ent">address</span>: <span class="pl-s">zookeeper://192.168.99.230:2181</span></pre></div>
<ol start="2" dir="auto">
<li>测试接口</li>
</ol>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public interface HelloService {
String hello(String name);
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">interface</span> <span class="pl-smi">HelloService</span> {
<span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>);
}</pre></div>
<ol start="3" dir="auto">
<li>接口实现类</li>
</ol>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Service
public class HelloServiceImpl implements HelloService {
@Override
public String hello(String name) {
System.out.println(name);
return "Hello, " + name;
}
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Service</span>
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">HelloServiceImpl</span> <span class="pl-k">implements</span> <span class="pl-smi">HelloService</span> {
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">public</span> <span class="pl-smi">String</span> <span class="pl-en">hello</span>(<span class="pl-smi">String</span> <span class="pl-s1">name</span>) {
<span class="pl-smi">System</span>.<span class="pl-s1">out</span>.<span class="pl-en">println</span>(<span class="pl-s1">name</span>);
<span class="pl-k">return</span> <span class="pl-s">"Hello, "</span> + <span class="pl-s1">name</span>;
}
}</pre></div>
<p dir="auto">4.启动类</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@SpringBootApplication
public class BesskyBootServiceApplication {
public static void main(String[] args) {
SpringApplication.run(BesskyBootServiceApplication.class, args);
}
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">SpringBootApplication</span>
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">BesskyBootServiceApplication</span> {
<span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-smi">void</span> <span class="pl-en">main</span>(<span class="pl-smi">String</span>[] <span class="pl-s1">args</span>) {
<span class="pl-smi">SpringApplication</span>.<span class="pl-en">run</span>(<span class="pl-smi">BesskyBootServiceApplication</span>.<span class="pl-k">class</span>, <span class="pl-s1">args</span>);
}
}</pre></div>
<p dir="auto">5.将Spring BOOT工程打包上传到CentOS服务器测试</p>
<p dir="auto">问题1:注册到ZK上的地址变成了127.0.0.1,回退到Dubbo的2.7.0版本是能正确获取到网卡IP地址的。<br>
执行hostname命令结果是localhost.localdomain<br>
/etc/hosts文件内容是<br>
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
这种配置在2.7.0上是可以正确获取到网卡IP地址的</p>
<p dir="auto">问题2:注册到ZK上的服务都变成了静态服务</p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">1、正常获取到网卡IP地址<br>
2、动态服务</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">服务地址: dubbo://127.0.0.1:28300/com.bessky.hello.service.HelloService?anyhost=true&application=bessky-boot-service&bean.name=providers:dubbo:com.bessky.hello.service.HelloService&default.deprecated=false&default.dynamic=false&default.register=true&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.bessky.hello.service.HelloService&methods=hello&pid=181167®ister=true&release=2.7.1&side=provider×tamp=1553819455170<br>
主机名: (localhost)127.0.0.1:28300<br>
所属端: provider<br>
方法列表: hello<br>
release: 2.7.1<br>
deprecated: false<br>
Dubbo版本: 2.0.2<br>
进程号: 181167<br>
default.dynamic: false<br>
接口名: com.bessky.hello.service.HelloService<br>
generic: false<br>
default.deprecated: false<br>
应用名: bessky-boot-service<br>
default.register: true<br>
动态: false<br>
绑定所有IP: true<br>
bean.name: providers:dubbo:com.bessky.hello.service.HelloService<br>
申请注册: true<br>
时间戳: 2019-03-29 08:30:55 (1553819455170)<br>
类型: 静态<br>
状态: 已启用<br>
检查: 警告</p> | 0 |
<h3 dir="auto">Bug summary</h3>
<p dir="auto"><code class="notranslate">plt.errorbar</code> don't give result when only nan data in the xerr or yerr. This is similar to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1401925305" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/24127" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/24127/hovercard" href="https://github.com/matplotlib/matplotlib/issues/24127">#24127</a>.</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="import numpy as np
import matplotlib.pyplot as plt
plt.errorbar(x=[0], y=[0], xerr =[np.nan], yerr=[np.nan])
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">plt</span>.<span class="pl-en">errorbar</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>], <span class="pl-s1">y</span><span class="pl-c1">=</span>[<span class="pl-c1">0</span>], <span class="pl-s1">xerr</span> <span class="pl-c1">=</span>[<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>], <span class="pl-s1">yerr</span><span class="pl-c1">=</span>[<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>])
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<h3 dir="auto">Actual outcome</h3>
<blockquote>
<hr>
</blockquote>
<p dir="auto">StopIteration Traceback (most recent call last)<br>
<a href="https://localhost:8080/#" rel="nofollow"></a> in <br>
1 import numpy as np<br>
2 import matplotlib.pyplot as plt<br>
----> 3 plt.errorbar(x=[0], y=[0], xerr =[np.nan], yerr=[np.nan])<br>
4 plt.show()</p>
<p dir="auto">4 frames<br>
<a href="https://localhost:8080/#" rel="nofollow">/usr/local/lib/python3.9/dist-packages/matplotlib/pyplot.py</a> in errorbar(x, y, yerr, xerr, fmt, ecolor, elinewidth, capsize, barsabove, lolims, uplims, xlolims, xuplims, errorevery, capthick, data, **kwargs)<br>
2562 uplims=False, xlolims=False, xuplims=False, errorevery=1,<br>
2563 capthick=None, *, data=None, **kwargs):<br>
-> 2564 return gca().errorbar(<br>
2565 x, y, yerr=yerr, xerr=xerr, fmt=fmt, ecolor=ecolor,<br>
2566 elinewidth=elinewidth, capsize=capsize, barsabove=barsabove,</p>
<p dir="auto"><a href="https://localhost:8080/#" rel="nofollow">/usr/local/lib/python3.9/dist-packages/matplotlib/<strong>init</strong>.py</a> in inner(ax, data, *args, **kwargs)<br>
1440 def inner(ax, *args, data=None, **kwargs):<br>
1441 if data is None:<br>
-> 1442 return func(ax, *map(sanitize_sequence, args), **kwargs)<br>
1443<br>
1444 bound = new_sig.bind(ax, *args, **kwargs)</p>
<p dir="auto"><a href="https://localhost:8080/#" rel="nofollow">/usr/local/lib/python3.9/dist-packages/matplotlib/axes/_axes.py</a> in errorbar(self, x, y, yerr, xerr, fmt, ecolor, elinewidth, capsize, barsabove, lolims, uplims, xlolims, xuplims, errorevery, capthick, **kwargs)<br>
3530<br>
3531 if xerr is not None and not isinstance(xerr, np.ndarray):<br>
-> 3532 xerr = _upcast_err(xerr)<br>
3533 if yerr is not None and not isinstance(yerr, np.ndarray):<br>
3534 yerr = _upcast_err(yerr)</p>
<p dir="auto"><a href="https://localhost:8080/#" rel="nofollow">/usr/local/lib/python3.9/dist-packages/matplotlib/axes/_axes.py</a> in _upcast_err(err)<br>
3514 # location first on pandas objects so err[0] almost always<br>
3515 # fails.<br>
-> 3516 isinstance(cbook._safe_first_finite(err), np.ndarray)<br>
3517 ):<br>
3518 # Get the type of the first element</p>
<p dir="auto"><a href="https://localhost:8080/#" rel="nofollow">/usr/local/lib/python3.9/dist-packages/matplotlib/cbook/<strong>init</strong>.py</a> in _safe_first_finite(obj, skip_nonfinite)<br>
1713 "support generators as input")<br>
1714 else:<br>
-> 1715 return next(val for val in obj if safe_isfinite(val))<br>
1716<br>
1717</p>
<p dir="auto">StopIteration:</p>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">Plot nothing</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">colab</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.7.1</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">None</p> | <h3 dir="auto">Bug summary</h3>
<p dir="auto">The function <code class="notranslate">ax.errorbar</code> raises a <code class="notranslate">StopIteration</code> error when <code class="notranslate">yerr</code> contains only <code class="notranslate">NaN</code> values.</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="import matplotlib.pyplot as plt
import numpy as np
fig, ax = plt.subplots(1, 1)
ax.errorbar([0], [0], [np.nan])"><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">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">errorbar</span>([<span class="pl-c1">0</span>], [<span class="pl-c1">0</span>], [<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>])</pre></div>
<h3 dir="auto">Actual outcome</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 "<stdin>", line 1, in <module>
File "~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/__init__.py", line 1423, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "~.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 3488, in errorbar
yerr = _upcast_err(yerr)
File "~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 3470, in _upcast_err
isinstance(cbook._safe_first_finite(err), np.ndarray)
File "~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/cbook/__init__.py", line 1749, in _safe_first_finite
return next(val for val in obj if safe_isfinite(val))
StopIteration"><pre class="notranslate">Traceback (most recent call last):
File <span class="pl-s"><span class="pl-pds">"</span><stdin><span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k"><</span>module<span class="pl-k">></span>
File <span class="pl-s"><span class="pl-pds">"</span>~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/__init__.py<span class="pl-pds">"</span></span>, line 1423, <span class="pl-k">in</span> inner
<span class="pl-k">return</span> func(ax, <span class="pl-k">*</span>map(sanitize_sequence, args), <span class="pl-k">**</span>kwargs)
File <span class="pl-s"><span class="pl-pds">"</span>~.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/axes/_axes.py<span class="pl-pds">"</span></span>, line 3488, <span class="pl-k">in</span> errorbar
yerr = _upcast_err(yerr)
File <span class="pl-s"><span class="pl-pds">"</span>~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/axes/_axes.py<span class="pl-pds">"</span></span>, line 3470, <span class="pl-k">in</span> _upcast_err
isinstance(cbook._safe_first_finite(err), np.ndarray)
File <span class="pl-s"><span class="pl-pds">"</span>~/.local/share/virtualenvs/pipeline/lib/python3.9/site-packages/matplotlib/cbook/__init__.py<span class="pl-pds">"</span></span>, line 1749, <span class="pl-k">in</span> _safe_first_finite
<span class="pl-k">return</span> next(val <span class="pl-k">for</span> <span class="pl-smi">val</span> <span class="pl-k">in</span> obj <span class="pl-k">if</span> safe_isfinite(val))
StopIteration</pre></div>
<h3 dir="auto">Expected outcome</h3>
<p dir="auto">No crash, similar to the case where only some values are NaN.</p>
<h3 dir="auto">Additional information</h3>
<p dir="auto">This happens because <code class="notranslate">_upcast_err</code> unconditionally looks for a first finite element in <code class="notranslate">xerr</code> and <code class="notranslate">yerr</code>.</p>
<h3 dir="auto">Operating system</h3>
<p dir="auto">Debian</p>
<h3 dir="auto">Matplotlib Version</h3>
<p dir="auto">3.6.2</p>
<h3 dir="auto">Matplotlib Backend</h3>
<p dir="auto">TkAgg</p>
<h3 dir="auto">Python version</h3>
<p dir="auto">3.9.2</p>
<h3 dir="auto">Jupyter version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Installation</h3>
<p dir="auto">pip</p> | 1 |
<p dir="auto">The follow case where link buttons and input type=submit (or type=button) result in btn-group's not aligning within the btn-toolbar in all major browsers.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" <div class="btn-toolbar">
<div class="btn-group">
<input name="commit" id="commit" type="submit" class="btn" value="Update"/>
<a href="#" class="btn">Remove</a>
</div>
<div class="btn-group">
<a href="#" class="btn">Cancel</a>
</div>
</div>"><pre class="notranslate"> <span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn-toolbar"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn-group"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">input</span> <span class="pl-c1">name</span><span class="pl-c1">=</span><span class="pl-s">"commit"</span> <span class="pl-c1">id</span><span class="pl-c1">=</span><span class="pl-s">"commit"</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"submit"</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn"</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-s">"Update"</span><span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"#"</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn"</span><span class="pl-c1">></span>Remove<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn-group"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span><span class="pl-c1">=</span><span class="pl-s">"#"</span> <span class="pl-c1">class</span><span class="pl-c1">=</span><span class="pl-s">"btn"</span><span class="pl-c1">></span>Cancel<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">a</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span></pre></div>
<p dir="auto">My work around was to set chained .btn-group to margin-bottom the same value as .btn-toolbar, which isn't getting picked up by any chained .btn-group's. Here's the css override:</p>
<p dir="auto">.btn-group + .btn-group {<br>
margin-bottom: 9px;<br>
}</p>
<p dir="auto">Here's the original bootstrap 2.0 css:</p>
<p dir="auto">.btn-group + .btn-group {<br>
margin-left: 5px;<br>
}</p>
<p dir="auto">.btn-toolbar {<br>
margin-top: 9px;<br>
margin-bottom: 9px;<br>
}</p> | <p dir="auto">Hi folks - first of all great job with the 2.0 release :)</p>
<p dir="auto">Apologies if this is a duplicate, had a look through (I know there are a lot of new tickets) but couldn't find anyone who'd reported this issue.</p>
<p dir="auto">When you have your browser width at <em>exactly</em> 768px wide (e.g. iPad in portrait mode), two media queries in the responsive css file overlap: those targetting <code class="notranslate">max-width:768px</code> and <code class="notranslate">min-width:768px</code>. The net result of this is that whilst the max-width query sets <code class="notranslate">.row { margin-left:0 }</code> this is overridden by the next query which re-instates <code class="notranslate">margin-left:-20px</code>.</p>
<p dir="auto">This means that when viewing a page at exactly 768px wide, the content suddenly butts up against the left hand side of the screen.</p>
<p dir="auto">I haven't submitted with a PR with a fix as I'm not sure what the most graceful solution is, so I've temporarily worked around it by adding my own rule for an exact width of 768px and setting <code class="notranslate">margin:0</code>.</p>
<p dir="auto">Cheers!</p>
<p dir="auto">Nick</p> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Bug, perhaps just in documentation.</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">The documentation for <a href="https://facebook.github.io/react/docs/refs-and-the-dom.html" rel="nofollow">Refs and the DOM</a> says:</p>
<blockquote>
<p dir="auto">The ref attribute takes a callback function, and the callback will be executed immediately after the component is mounted or unmounted.</p>
</blockquote>
<p dir="auto">But if I create a stateful component like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class ScrollHelper extends React.PureComponent {
componentDidMount() {
console.log("ScrollHelper componentDidMount")
}
componentWillUnmount() {
console.log("ScrollHelper componentWillUnmount")
}
render() {
console.log("ScrollHelper render")
return <div/>
}"><pre class="notranslate"><code class="notranslate">class ScrollHelper extends React.PureComponent {
componentDidMount() {
console.log("ScrollHelper componentDidMount")
}
componentWillUnmount() {
console.log("ScrollHelper componentWillUnmount")
}
render() {
console.log("ScrollHelper render")
return <div/>
}
</code></pre></div>
<p dir="auto">and use it via <code class="notranslate"><ScrollHelper ref={(obj) => console.log("ScrollHelper ref", obj)}/></code> within an app, I do not see the behavior documented, but rather the following pattern of logs:</p>
<blockquote>
<p dir="auto">// [first render]<br>
ScrollHelper render<br>
ScrollHelper componentDidMount<br>
ScrollHelper ref <{props: etc…}><br>
// [some data changes elsewhere in the app]<br>
ScrollHelper ref <null><br>
ScrollHelper render<br>
ScrollHelper ref <{props: etc…}><br>
// [some data changes elsewhere in the app, again…]<br>
ScrollHelper ref <null><br>
ScrollHelper render<br>
ScrollHelper ref <{props: etc…}><br>
// [some data changes causing the ScrollHelper to actually unmount]<br>
ScrollHelper ref <null><br>
ScrollHelper componentWillUnmount</p>
</blockquote>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">According to the docs, I would expect my <code class="notranslate">refs</code> callback to be called exactly <strong>two</strong> times during the events above — once (with the component) after the "ScrollHelper componentDidMount" and once (with <code class="notranslate">null</code>) before the "ScrollHelper componentWillUnmount". Instead it gets "reset" basically every time the page is re-rendered — even though it's pretty clearly ending up with the same component instance each time! (I verified this is true via some additional code as well, but should be evident from the lack of additional "componentDidMount" logs anyway.)</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p>
<p dir="auto">[email protected], no idea what the behavior was earlier.</p> | <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">bug</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto"><code class="notranslate">ref</code> functions get called twice on update (but not on first mount).</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar (template: <a href="https://jsfiddle.net/84v837e9/" rel="nofollow">https://jsfiddle.net/84v837e9/</a>).</strong></p>
<p dir="auto">I have some code like this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="render() {
const frames = []
frames.length = this.props.totalFrames
for (let i=0, l=frames.length; i<l; i+=1)
frames[i] = i
this.frames = []
return (
<div>
{frames.map(frame =>
<div className="frame" key={frame} ref={el => {this.frames.push(el)}}>
</div>
)}
</div>
)
}"><pre class="notranslate"><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">frames</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span>
<span class="pl-s1">frames</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">totalFrames</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s1">l</span><span class="pl-c1">=</span><span class="pl-s1">frames</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1"><</span><span class="pl-s1">l</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">+=</span><span class="pl-c1">1</span><span class="pl-kos">)</span>
<span class="pl-s1">frames</span><span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">i</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">frames</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">frames</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">frame</span> <span class="pl-c1">=></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"frame"</span> <span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">frame</span><span class="pl-kos">}</span> <span class="pl-c1">ref</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">el</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">frames</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">el</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">In <code class="notranslate">componentDidMount</code>, I can verify that <code class="notranslate">this.frames</code> contains <code class="notranslate">this.props.totalFrames</code>.</p>
<p dir="auto">However, on <code class="notranslate">componentDidUpdate</code>, <code class="notranslate">this.frames</code> has a length of double <code class="notranslate">this.props.totalFrame</code>, where the first half of the items are all <code class="notranslate">null</code>. This means that subsequent <code class="notranslate">render</code> calls after the first are first passing <code class="notranslate">null</code> into the <code class="notranslate">ref={el => {this.frames.push(el)}</code> function for each element followed by the correct non-null values.</p>
<p dir="auto">For example, if <code class="notranslate">this.props.totalFrames</code> is 3, then we observe this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="componentDidMount() {
console.log(this.frames)
// output:
// [div, div, div]
}
componentDidUpdate() {
console.log(this.frames)
// output:
// [null, null, null, div, div, div]
}"><pre class="notranslate"><span class="pl-en">componentDidMount</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">frames</span><span class="pl-kos">)</span>
<span class="pl-c">// output:</span>
<span class="pl-c">// [div, div, div]</span>
<span class="pl-kos">}</span>
<span class="pl-en">componentDidUpdate</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">frames</span><span class="pl-kos">)</span>
<span class="pl-c">// output:</span>
<span class="pl-c">// [null, null, null, div, div, div]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">where <code class="notranslate">this.frames</code> is always twice as expected.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">The array should not contain null values, only the divs.</p>
<p dir="auto">NOTE, <code class="notranslate">render()</code> is <em>not</em> being called more than once, and I am setting <code class="notranslate">this.frames</code> to a new array inside <code class="notranslate">render</code>, then <code class="notranslate">componentDidUpdate</code> shows that it has double the length, with the first half of the values all <code class="notranslate">null</code>.</p>
<p dir="auto">It seems like React is calling the ref functions one time too many for each frame element, the first call with a <code class="notranslate">null</code> value, the second call with the expected value.</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p>
<p dir="auto">React 15.4.2</p>
<p dir="auto"><strong>Workaround</strong></p>
<p dir="auto">As a workaround, I can simply and consistently <code class="notranslate">filter()</code> the null values out before interacting with the array.</p> | 1 |
<p dir="auto">It's possible to interact with form controls by their <code class="notranslate"><label></code>, but not to select them.</p>
<p dir="auto">Other elements can also be labelled with <code class="notranslate">aria-label</code>/<code class="notranslate">aria-labelledby</code>, such as:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<h2 id="list-of-things">A list of things</h2>
<ul aria-labelledby="list-of-things">
<li>...</li>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">id</span>="<span class="pl-s">list-of-things</span>"<span class="pl-kos">></span>A list of things<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ul</span> <span class="pl-c1">aria-labelledby</span>="<span class="pl-s">list-of-things</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>...<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<p dir="auto">but there isn't a way (that I'm aware of) to select an element with the label 'A list of things'.</p>
<p dir="auto">The selector documentation gives the example</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="await page.locator('[aria-label="Sign in"]').click();"><pre class="notranslate"><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">'[aria-label="Sign in"]'</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-kos">;</span></pre></div>
<p dir="auto">which is enough when using <code class="notranslate">[aria-label]</code>.</p>
<h2 dir="auto">Suggestions</h2>
<ul dir="auto">
<li>A <code class="notranslate">label</code> selector that works similar to <code class="notranslate">text</code> (<code class="notranslate">'label=A list of things'</code>, <code class="notranslate">'label="A list of things"'</code>, <code class="notranslate">'label=/A\\s*list\\s*of\\s*things/i'</code>) that works on <code class="notranslate">aria-label</code>, <code class="notranslate">aria-labelledby</code> and <code class="notranslate"><label></code>.</li>
<li>Recognise the <code class="notranslate">aria-labelledby</code> attribute and fill in <code class="notranslate">aria-label</code> with its text content. (Don't feel great, but means not extra selector.)</li>
</ul> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: 1.32.1</li>
<li>Operating System: Windows 11 (WSL2 Ubuntu 22.04.2 LTS)</li>
<li>Browser: WebKit</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/ltsuda/webkit-salt-file">https://github.com/ltsuda/webkit-salt-file</a></p>
<p dir="auto"><strong>Steps</strong></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone https://github.com/ltsuda/webkit-salt-file.git
npm ci
npx playwright install
npx playwright test --project 'webkit'"><pre class="notranslate">git clone https://github.com/ltsuda/webkit-salt-file.git
npm ci
npx playwright install
npx playwright <span class="pl-c1">test</span> --project <span class="pl-s"><span class="pl-pds">'</span>webkit<span class="pl-pds">'</span></span></pre></div>
<p dir="auto">The only thing related to this is from:<br>
<a href="https://stackoverflow.com/questions/75808396/playwright-webkit-creates-a-salt-file-in-the-root-of-directory" rel="nofollow">https://stackoverflow.com/questions/75808396/playwright-webkit-creates-a-salt-file-in-the-root-of-directory</a></p>
<p dir="auto">Also, tried without the <code class="notranslate">webServer</code> to use an external URL but issue didn't reproduce</p>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto"><code class="notranslate">salt</code> file not created</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto"><code class="notranslate">salt</code> file is created with 4-5 binary characters</p> | 0 |
<p dir="auto">I used following definition to create a pod:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"id": "containermanifest",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "containermanifest",
"containers": [{
"name": "heapster",
"image": "kubernetes/heapster",
}],
"restarPolicy": {"never": {}}
}
},
"labels": {
"name": "containermanifest"
}
}"><pre class="notranslate"><code class="notranslate">{
"id": "containermanifest",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "containermanifest",
"containers": [{
"name": "heapster",
"image": "kubernetes/heapster",
}],
"restarPolicy": {"never": {}}
}
},
"labels": {
"name": "containermanifest"
}
}
</code></pre></div>
<p dir="auto">The creation succeeded. But I found the restartPolicy remained to be <code class="notranslate">always</code>. I was confused and look again and again into the code and template. Finally I found I made a typo <code class="notranslate">restarPolicy</code>. It seems the engine ignored this line and used the default value of <code class="notranslate">restartPolicy</code>.</p>
<p dir="auto">It's a small mistake but took me a lot of time. So I think we should validate each field of the template and warn the user about those unrecognized fields.</p> | <p dir="auto">Going through <a href="http://kubernetes.io/docs/getting-started-guides/docker/" rel="nofollow">this</a> guide to set up kubernetes locally via docker I end up with the error message as stated above.</p>
<p dir="auto">Steps taken:</p>
<ul dir="auto">
<li><code class="notranslate">export K8S_VERSION='1.3.0-alpha.1'</code> (tried 1.2.0 as well)</li>
<li>copy-paste the <code class="notranslate">docker run</code> command</li>
<li>download the appropriate <code class="notranslate">kubectl</code> binary and put in on <code class="notranslate">PATH</code> (<code class="notranslate">which kubectl</code> works)</li>
<li>(optionally) setup the cluster</li>
<li>run <code class="notranslate">kubectl get nodes</code></li>
</ul>
<p dir="auto">In short, no magic. I am running this locally on Ubuntu 14.04, docker 1.10.3. If you need more information let me know</p> | 0 |
<h2 dir="auto">🐛 Bug</h2>
<p dir="auto">code: E1866<br>
file: ArrayRef.h<br>
desc: attribute does not apply to any entity<br>
line: 278<br>
line 278: C10_DEFINE_DEPRECATED_USING(IntList, ArrayRef<int64_t>)</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Download the latest stable or nightly build of libtorch, no cuda. Make a new C++ Project in Visual Studio 2017, import additional includes and libs:<br>
C:\Users\XX\Documents\libtorch\include\torch\csrc\api\include;<br>
C:\Users\XX\Documents\libtorch\include;%(AdditionalIncludeDirectories)<br>
C:\Users\XX\Documents\libtorch\lib;%(AdditionalLibraryDirectories)</p>
<p dir="auto">Make a new .cpp file in the Project called 'example-app.cpp'. Put the code from example-app example on: <a href="https://pytorch.org/cppdocs/installing.html#minimal-example" rel="nofollow">https://pytorch.org/cppdocs/installing.html#minimal-example</a></p>
<p dir="auto">Go to Project properties -> C/C++ Language -> Conformance mode -> No.<br>
This is done according to supposed fix on: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434076278" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/19336" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/19336/hovercard" href="https://github.com/pytorch/pytorch/issues/19336">#19336</a></p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">I expected it to compile without errors.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">I guess that the enviornment refers to python enviornemnt only?</p>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): Tried 1.4 and nightly</li>
<li>OS (e.g., Linux): Windows 7 64 bit</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): downloaded the zip on get started and extraced.</li>
<li>Build command you used (if compiling from source): No commands, clicked "Local Windows Debugger" to start</li>
<li>Python version: 3.6.6</li>
<li>CUDA/cuDNN version: N/A</li>
<li>GPU models and configuration: N/A</li>
<li>Any other relevant information: N/A</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">When I try to compile with this error on libtorch 1.4 (followed by nightly) I get the following warnings and errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
Severity Code Description Project File Line Suppression State
Warning C4251 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\allocator.h 183
Error (active) E1866 attribute does not apply to any entity LibTorch-1.4-example C:\Users\XX\Documents\libtorch-1.4\include\c10\util\ArrayRef.h 278
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 28
Warning C4251 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 29
Warning C4251 'c10::Error::backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 30
Warning C4251 'c10::Error::msg_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 35
Warning C4251 'c10::Error::msg_without_backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 36
Warning C4251 'c10::DataPtr::ptr_': class 'c10::detail::UniqueVoidPtr' needs to have dll-interface to be used by clients of class 'c10::DataPtr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\allocator.h 21
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 172
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 175
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 178
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 181
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 185
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 188
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 191
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 194
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 200
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 203
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 206
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 209
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 213
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 216
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 219
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 222
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 148
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 151
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 154
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 157
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 161
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 164
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 167
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 170
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 176
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 179
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 182
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 185
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 189
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 192
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 195
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 198
Warning C4251 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>::id_': struct 'c10::util::type_index' needs to have dll-interface to be used by clients of class 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\typeid.h 65
Warning C4251 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 63
Warning C4251 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 64
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 721
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 752
Warning C4251 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::Storage' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\storage.h 181
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 550
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 556
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 563
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 569
Warning C4251 'c10::impl::LocalTensorTypeSet::included_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalTensorTypeSet' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\impl\localtensortypeset.h 50
Warning C4251 'c10::impl::LocalTensorTypeSet::excluded_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalTensorTypeSet' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\impl\localtensortypeset.h 51
Warning C4251 'c10::MessageLogger::stream_': class 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\logging_is_not_google_glog.h 47
Warning C4251 'c10::VariableVersion::version_counter_': class 'c10::intrusive_ptr<c10::VariableVersion::VersionCounter,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::VariableVersion' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 224
Warning C4251 'c10::TensorImpl::autograd_meta_': class 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1560
Warning C4251 'c10::TensorImpl::named_tensor_meta_': class 'std::unique_ptr<c10::NamedTensorMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1563
Warning C4251 'c10::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1585
Warning C4251 'c10::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1586
Warning C4251 'c10::TensorImpl::device_opt_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1611
Warning C4251 'c10::TensorImpl::type_set_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1630
Warning C4244 'argument': conversion from 'float' to 'const _Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1027
Warning C4244 'initializing': conversion from 'int64_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1377
Warning C4251 'at::DeprecatedTypePropertiesRegistry::registry': class 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::DeprecatedTypePropertiesRegistry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\deprecatedtypepropertiesregistry.h 26
Warning C4251 'at::Generator::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\generator.h 75
Warning C4251 'at::NamedTensorMeta::names_': class 'std::vector<at::Dimname,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::NamedTensorMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\namedtensor.h 53
Warning C4251 'at::Tensor::impl_': class 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>' needs to have dll-interface to be used by clients of class 'at::Tensor' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\tensorbody.h 1104
Warning C4522 'at::Tensor': multiple assignment operators specified LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\tensorbody.h 1105
Warning C4244 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dict_inl.h 50
Warning C4251 'c10::ivalue::ConstantString::str_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 118
Warning C4251 'c10::ivalue::Tuple::elements_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 138
Warning C4251 'c10::ivalue::Tuple::type_': class 'std::shared_ptr<c10::TupleType>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 139
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface struct 'c10::ivalue::Future::FutureError' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 200
Warning C4251 'c10::ivalue::Future::FutureError::error_msg': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future::FutureError' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 210
Warning C4251 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 301
Warning C4251 'c10::ivalue::Future::completed_': struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 302
Warning C4251 'c10::ivalue::Future::finished_cv_': class 'std::condition_variable' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 303
Warning C4251 'c10::ivalue::Future::type_': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 306
Warning C4251 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 307
Warning C4251 'c10::ivalue::Object::type_': struct 'c10::StrongTypePtr' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 389
Warning C4251 'c10::ivalue::Object::slots_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 390
Warning C4244 'return': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 429
Warning C4244 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 431
Warning C4244 'return': conversion from 'int64_t' to 'signed char', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 432
Warning C4244 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 433
Warning C4244 'return': conversion from 'int64_t' to 'short', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 434
Warning C4244 'return': conversion from 'int64_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 435
Warning C4244 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 436
Warning C4244 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 438
Warning C4251 'std::enable_shared_from_this<c10::Type>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<c10::Type>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 65
Warning C4251 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 241
Warning C4251 'c10::VaryingShape::dims_': class 'c10::optional<c10::VaryingShape::ListOfOptionalInts>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 370
Warning C4251 'c10::TensorType::scalar_type_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 617
Warning C4251 'c10::TensorType::device_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 618
Warning C4251 'c10::TensorType::requires_grad_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 621
Warning C4251 'c10::TensorType::undefined_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 633
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 478
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 481
Warning C4251 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 639
Warning C4251 'c10::DictType::types': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::DictType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 748
Warning C4251 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 756
Warning C4251 'c10::NamedType::name_': class 'c10::optional<c10::QualifiedName>' needs to have dll-interface to be used by clients of struct 'c10::NamedType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 797
Warning C4251 'c10::TupleType::elements_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 879
Warning C4251 'c10::TupleType::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 881
Warning C4251 'c10::ClassType::attributeNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1574
Warning C4251 'c10::ClassType::attributeTypes_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1575
Warning C4251 'c10::ClassType::compilation_unit_': class 'std::weak_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1577
Warning C4251 'c10::ClassType::parameterSlots_': class 'std::shared_ptr<std::vector<bool,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1581
Warning C4251 'c10::ClassType::methods_': class 'std::vector<torch::jit::Function *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1584
Warning C4251 'c10::InterfaceType::methods_': class 'std::shared_ptr<std::vector<c10::FunctionSchema,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::InterfaceType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1639
Warning C4251 'c10::KernelFunction::functorFactory_': class 'std::function<std::unique_ptr<c10::OperatorKernel,std::default_delete<_Ty>> (void)>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\boxing\kernelfunction.h 375
Warning C4251 'c10::KernelFunction::functor_': class 'std::shared_ptr<c10::OperatorKernel>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\boxing\kernelfunction.h 376
Warning C4251 'c10::Dispatcher::operators_': class 'std::list<c10::Dispatcher::OperatorDef,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 132
Warning C4251 'c10::Dispatcher::operatorLookupTable_': class 'c10::LeftRight<ska::flat_hash_map<c10::OperatorName,c10::OperatorHandle,std::hash<c10::OperatorName>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 133
Warning C4251 'c10::Dispatcher::backendFallbackKernels_': class 'c10::LeftRight<ska::flat_hash_map<c10::TensorTypeId,c10::KernelFunction,std::hash<c10::TensorTypeId>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 134
Warning C4251 'c10::Dispatcher::listeners_': class 'std::unique_ptr<c10::detail::RegistrationListenerList,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 135
Warning C4251 'c10::Dispatcher::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 136
Warning C4251 'c10::OperatorHandle::operatorIterator_': class 'std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' needs to have dll-interface to be used by clients of class 'c10::OperatorHandle' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 164
Warning C4251 'at::CPUGenerator::engine_': class 'at::mt19937_engine' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 32
Warning C4251 'at::CPUGenerator::next_float_normal_sample_': class 'c10::optional<float>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 33
Warning C4251 'at::CPUGenerator::next_double_normal_sample_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 34
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\stream.h 135
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\stream.h 135
Warning C4251 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 124
Warning C4251 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 125
Warning C4251 'at::Context::quantized_engine': class 'c10::optional<c10::QEngine>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 130
Warning C4251 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 131
Warning C4251 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 132
Warning C4251 'at::TensorGeometry::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensorgeometry.h 56
Warning C4251 'at::TensorGeometry::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensorgeometry.h 57
Warning C4251 'at::namedinference::TensorName::origin_': class 'c10::ArrayRef<at::Dimname>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorName' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensornames.h 42
Warning C4251 'at::namedinference::TensorNames::names_': class 'c10::SmallVector<at::namedinference::TensorName,10>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorNames' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensornames.h 72
Warning C4251 'torch::autograd::AutogradMeta::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 180
Warning C4251 'torch::autograd::AutogradMeta::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 183
Warning C4251 'torch::autograd::AutogradMeta::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 184
Warning C4251 'torch::autograd::AutogradMeta::hooks_': class 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 186
Warning C4251 'torch::autograd::AutogradMeta::cpp_hooks_list': class 'std::shared_ptr<torch::autograd::hooks_list>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 187
Warning C4251 'torch::autograd::AutogradMeta::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 203
Warning C4251 'std::enable_shared_from_this<torch::jit::tracer::TracingState>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::tracer::TracingState>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 45
Warning C4251 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 49
Warning C4251 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 53
Warning C4251 'torch::jit::tracer::TracingState::env_stack': class 'std::vector<torch::jit::tracer::TracingState::Frame,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 85
Warning C4251 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 181
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 289
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 296
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 95
Warning C4251 'torch::jit::GraphAttr::value_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 109
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphsAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 112
Warning C4251 'torch::jit::GraphsAttr::value_': class 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphsAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 126
Warning C4251 'torch::jit::SourceRange::source_': class 'std::shared_ptr<torch::jit::Source>' needs to have dll-interface to be used by clients of struct 'torch::jit::SourceRange' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\source_range.h 169
Warning C4251 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\scope.h 25
Warning C4251 'torch::jit::InlinedCallStack::callee_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::InlinedCallStack' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\scope.h 87
Warning C4275 non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\constants.h 20
Warning C4251 'torch::jit::Operator::schema_string_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 166
Warning C4251 'torch::jit::Operator::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 170
Warning C4251 'torch::jit::Operator::op_': class 'std::shared_ptr<torch::jit::Operation>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 174
Warning C4251 'torch::jit::Operator::c10Handle_': class 'c10::optional<c10::OperatorHandle>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 176
Warning C4251 'torch::jit::Operator::options_': struct 'c10::OperatorOptions' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 177
Warning C4251 'torch::jit::Node::inputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 245
Warning C4251 'torch::jit::Node::outputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 246
Warning C4251 'torch::jit::Node::blocks_': class 'std::vector<torch::jit::Block *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 248
Warning C4251 'torch::jit::Node::source_range_': class 'c10::optional<torch::jit::SourceRange>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 251
Warning C4251 'torch::jit::Node::scope_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 252
Warning C4251 'torch::jit::Node::callstack_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 253
Warning C4251 'torch::jit::Node::values_': class 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 778
Warning C4251 'torch::data::samplers::DistributedRandomSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedRandomSampler' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\data\samplers\distributed.h 96
Warning C4251 'torch::data::samplers::DistributedSequentialSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedSequentialSampler' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\data\samplers\distributed.h 129
Warning C4251 'torch::jit::ArgumentSpecCreator::instructions_': class 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::ArgumentSpecCreator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 198
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 231
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 234
Warning C4267 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 234
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 239
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 259
Warning C4267 'argument': conversion from 'size_t' to 'const int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 427
Warning C4251 'torch::jit::Code::pImpl': class 'std::shared_ptr<torch::jit::CodeImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::Code' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\interpreter.h 52
Warning C4251 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr<torch::jit::GraphExecutorImplBase>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\graph_executor.h 53
Warning C4251 'torch::jit::Function::name_': struct 'c10::QualifiedName' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 107
Warning C4251 'torch::jit::Function::graph_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 109
Warning C4251 'torch::jit::Function::optimized_graph_': class 'c10::optional<std::shared_ptr<torch::jit::Graph>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 114
Warning C4251 'torch::jit::Function::compile_mutex': class 'std::recursive_mutex' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 122
Warning C4251 'torch::jit::Function::function_creator_': class 'std::function<void (torch::jit::Function &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 129
Warning C4251 'torch::jit::Function::schema_': class 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 134
Warning C4251 'torch::jit::script::Method::owner_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\method.h 57
Warning C4251 'torch::jit::script::Object::_ivalue_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\object.h 105
Warning C4251 'torch::jit::script::CompilationUnit::functions_': class 'std::vector<std::unique_ptr<torch::jit::Function,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 255
Warning C4251 'torch::jit::script::CompilationUnit::dict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 257
Warning C4251 'torch::jit::script::CompilationUnit::classDict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 258
Warning C4251 'torch::jit::script::CompilationUnit::classes_': class 'std::vector<c10::NamedTypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 265
Warning C4251 'torch::serialize::InputArchive::hierarchy_prefix_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\serialize\input-archive.h 105
Warning C4251 'torch::serialize::OutputArchive::cu_': class 'std::shared_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\serialize\output-archive.h 78
Warning C4251 'std::enable_shared_from_this<torch::nn::Module>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::nn::Module>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 62
Warning C4251 'torch::nn::Module::parameters_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 557
Warning C4251 'torch::nn::Module::buffers_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 560
Warning C4251 'torch::nn::Module::children_': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 563
Warning C4251 'torch::nn::Module::name_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 566
Warning C4251 'torch::nn::BatchNormOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::BatchNormOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 25
Warning C4251 'torch::nn::functional::BatchNormFuncOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::BatchNormFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 56
Warning C4251 'torch::nn::EmbeddingOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 20
Warning C4251 'torch::nn::EmbeddingOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 22
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 41
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 43
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 58
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 60
Warning C4251 'torch::nn::EmbeddingBagOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 84
Warning C4251 'torch::nn::EmbeddingBagOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 92
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 108
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 116
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 131
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 139
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 108
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 108
Warning C4251 'torch::nn::FoldOptions::output_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 21
Warning C4251 'torch::nn::FoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 24
Warning C4251 'torch::nn::FoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 28
Warning C4251 'torch::nn::FoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 32
Warning C4251 'torch::nn::FoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 35
Warning C4251 'torch::nn::UnfoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 48
Warning C4251 'torch::nn::UnfoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 52
Warning C4251 'torch::nn::UnfoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 56
Warning C4251 'torch::nn::UnfoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 59
Warning C4251 'torch::nn::functional::SoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftmaxFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 110
Warning C4251 'torch::nn::functional::SoftminFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftminFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 138
Warning C4251 'torch::nn::functional::LogSoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LogSoftmaxFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 166
Warning C4251 'torch::nn::L1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::L1LossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 19
Warning C4251 'torch::nn::KLDivLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kBatchMean,torch::enumtype::kSum,torch::enumtype::kMean>' needs to have dll-interface to be used by clients of struct 'torch::nn::KLDivLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 34
Warning C4251 'torch::nn::MSELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MSELossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 49
Warning C4251 'torch::nn::BCELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCELossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 64
Warning C4251 'torch::nn::HingeEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::HingeEmbeddingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 79
Warning C4251 'torch::nn::MultiMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 103
Warning C4251 'torch::nn::CosineEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CosineEmbeddingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 119
Warning C4251 'torch::nn::MultiLabelMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 136
Warning C4251 'torch::nn::SoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SoftMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 153
Warning C4251 'torch::nn::MultiLabelSoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelSoftMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 173
Warning C4251 'torch::nn::TripletMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::TripletMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 195
Warning C4251 'torch::nn::CTCLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CTCLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 209
Warning C4251 'torch::nn::SmoothL1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SmoothL1LossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 230
Warning C4251 'torch::nn::PoissonNLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::PoissonNLLLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 251
Warning C4251 'torch::nn::MarginRankingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MarginRankingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 265
Warning C4251 'torch::nn::NLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::NLLLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 284
Warning C4251 'torch::nn::CrossEntropyLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CrossEntropyLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 302
Warning C4251 'torch::nn::BCEWithLogitsLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCEWithLogitsLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 316
Warning C4251 'torch::nn::LayerNormOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::LayerNormOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 16
Warning C4251 'torch::nn::functional::LayerNormFuncOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LayerNormFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 33
Warning C4251 'torch::nn::functional::NormalizeFuncOptions::out_': class 'c10::optional<at::Tensor>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::NormalizeFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 95
Warning C4251 'torch::nn::ReflectionPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ZeroPad2dOptions::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ZeroPad2dOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 65
Warning C4251 'torch::nn::ConstantPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::functional::PadFuncOptions::pad_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 111
Warning C4251 'torch::nn::functional::PadFuncOptions::mode_': class 'c10::variant<torch::enumtype::kConstant,torch::enumtype::kReflect,torch::enumtype::kReplicate,torch::enumtype::kCircular>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 114
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\pooling.h 651
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\pooling.h 652
Warning C4251 'torch::nn::UpsampleOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 18
Warning C4251 'torch::nn::UpsampleOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 21
Warning C4251 'torch::nn::UpsampleOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 31
Warning C4251 'torch::nn::UpsampleOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 37
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 53
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 56
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear,torch::enumtype::kArea>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 60
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 71
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::mode_': class 'c10::variant<torch::enumtype::kBilinear,torch::enumtype::kNearest>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 18
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::padding_mode_': class 'c10::variant<torch::enumtype::kZeros,torch::enumtype::kBorder,torch::enumtype::kReflection>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 20
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 22
Warning C4251 'torch::nn::FunctionalImpl::function_': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\container\functional.h 94
Warning C4251 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 115
Warning C4251 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 138
Warning C4251 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 161
Warning C4251 'torch::nn::ConvNdImpl<1,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 227
Warning C4251 'torch::nn::ConvNdImpl<2,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 247
Warning C4251 'torch::nn::ConvNdImpl<3,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 267
Warning C4251 'torch::nn::ReflectionPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReflectionPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<3>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ConstantPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<3>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>::options': struct 'torch::nn::AvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>::options': struct 'torch::nn::AvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>::options': struct 'torch::nn::AvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>::options': struct 'torch::nn::MaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>::options': struct 'torch::nn::MaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>::options': struct 'torch::nn::MaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::FractionalMaxPool2dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool2dImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 423
Warning C4251 'torch::nn::FractionalMaxPool3dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool3dImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 455
Warning C4251 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>::options': struct 'torch::nn::LPPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>::options': struct 'torch::nn::LPPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<Derived>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::autograd::profiler::StringView::owned_str_ptr_': class 'std::shared_ptr<std::string>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::StringView' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\record_function.h 39
Warning C4251 'torch::autograd::profiler::RecordFunction::inputs_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\record_function.h 112
Warning C4251 'torch::autograd::profiler::Event::shapes_': class 'std::vector<std::vector<int64_t,std::allocator<_Ty>>,std::allocator<std::vector<_Ty,std::allocator<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::Event' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\profiler.h 169
Warning C4251 'torch::autograd::profiler::RecordProfile::file_': class 'std::unique_ptr<std::ofstream,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordProfile' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\profiler.h 245
Warning C4251 'torch::autograd::SavedVariable::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 46
Warning C4251 'torch::autograd::SavedVariable::weak_grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 49
Warning C4251 'torch::autograd::SavedVariable::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 50
Warning C4251 'std::enable_shared_from_this<torch::autograd::Node>::_Wptr': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::autograd::Node>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 88
Warning C4251 'torch::autograd::Node::next_edges_': class 'std::vector<torch::autograd::Edge,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 353
Warning C4251 'torch::autograd::Node::anomaly_metadata_': class 'std::unique_ptr<torch::autograd::AnomalyMetadata,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 355
Warning C4251 'torch::autograd::Node::pre_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPreHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 356
Warning C4251 'torch::autograd::Node::post_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPostHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 357
Warning C4251 'torch::autograd::Node::input_metadata_': class 'c10::SmallVector<torch::autograd::InputMetadata,2>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 358
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 143
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 149
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 156
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 162
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 217
Warning C4251 'torch::autograd::AutogradContext::saved_data': class 'ska::flat_hash_map<std::string,c10::IValue,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 84
Warning C4251 'torch::autograd::AutogradContext::non_differentiable_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 105
Warning C4251 'torch::autograd::AutogradContext::dirty_inputs_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 106
Warning C4251 'torch::autograd::AutogradContext::saved_variables_': class 'std::vector<torch::autograd::SavedVariable,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 107
Warning C4251 'torch::autograd::AutogradContext::to_save_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 108
Warning C4251 'torch::autograd::AutogradContext::grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 113
Warning C4251 'torch::autograd::VariableInfo::size': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::VariableInfo' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 129
Warning C4251 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\optimizer.h 83
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 28
Warning C4251 'torch::optim::Adagrad::sum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 44
Warning C4251 'torch::optim::Adagrad::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 45
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 31
Warning C4251 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 45
Warning C4251 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 46
Warning C4251 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 47
Warning C4251 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 48
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 22
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 23
Warning C4275 non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 27
Warning C4251 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 48
Warning C4251 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 49
Warning C4251 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 50
Warning C4251 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 51
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 34
Warning C4251 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 50
Warning C4251 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 51
Warning C4251 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 52
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\sgd.h 31
Warning C4251 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\sgd.h 46
Warning C4244 'argument': conversion from '_Ty' to 'T', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\optional.h 430
Warning C4018 '>': signed/unsigned mismatch LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 451
Warning C4244 'argument': conversion from 'From' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from '_Ty' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 416
Warning C4244 'argument': conversion from 'From' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<double>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Error::Error(struct c10::SourceLocation,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0Error@c10@@QEAA@USourceLocation@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: virtual __cdecl c10::intrusive_ptr_target::~intrusive_ptr_target(void)" (__imp_??1intrusive_ptr_target@c10@@MEAA@XZ) referenced in function "int `public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)'::`1'::dtor$1" (?dtor$1@?0???0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z@4HA) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(void)" (__imp_??0intrusive_ptr_target@c10@@IEAA@XZ) referenced in function "public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)" (??0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target &&)" (__imp_??0intrusive_ptr_target@c10@@IEAA@$$QEAV01@@Z) referenced in function "public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object &&)" (??0Object@ivalue@c10@@QEAA@$$QEAU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target &&)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@$$QEAV01@@Z) referenced in function "public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object &&)" (??4Object@ivalue@c10@@QEAAAEAU012@$$QEAU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target const &)" (__imp_??0intrusive_ptr_target@c10@@IEAA@AEBV01@@Z) referenced in function "public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object const &)" (??0Object@ivalue@c10@@QEAA@AEBU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target const &)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@AEBV01@@Z) referenced in function "public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object const &)" (??4Object@ivalue@c10@@QEAAAEAU012@AEBU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void)" (__imp_?release_resources@intrusive_ptr_target@c10@@EEAAXXZ) referenced in function "private: void __cdecl c10::intrusive_ptr<struct c10::ivalue::Object,struct c10::detail::intrusive_target_default_null_type<struct c10::ivalue::Object> >::reset_(void)" (?reset_@?$intrusive_ptr@UObject@ivalue@c10@@U?$intrusive_target_default_null_type@UObject@ivalue@c10@@@detail@3@@c10@@AEAAXXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::TensorOptions::TensorOptions(void)" (__imp_??0TensorOptions@c10@@QEAA@XZ) referenced in function main LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorOptions::requires_grad(void)const " (__imp_?requires_grad@TensorOptions@c10@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::TensorTypeSet __cdecl c10::TensorOptions::type_set(void)const " (__imp_?type_set@TensorOptions@c10@@QEBA?AVTensorTypeSet@2@XZ) referenced in function "public: void __cdecl c10::detail::MultiDispatchTensorTypeSet::operator()(struct c10::TensorOptions const &)" (??RMultiDispatchTensorTypeSet@detail@c10@@QEAAXAEBUTensorOptions@2@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) struct c10::impl::LocalTensorTypeSet __cdecl c10::impl::tls_local_tensor_type_set(void)" (__imp_?tls_local_tensor_type_set@impl@c10@@YA?AULocalTensorTypeSet@12@XZ) referenced in function "enum c10::TensorTypeId __cdecl c10::impl::dispatchTypeId(class c10::TensorTypeSet)" (?dispatchTypeId@impl@c10@@YA?AW4TensorTypeId@2@VTensorTypeSet@2@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::VariableVersion::VariableVersion(unsigned int)" (__imp_??0VariableVersion@c10@@QEAA@I@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::VariableVersion::~VariableVersion(void)" (__imp_??1VariableVersion@c10@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorImpl::unique_version(void)const " (__imp_?unique_version@TensorImpl@c10@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl c10::TensorImpl::set_allow_tensor_metadata_change(bool)" (__imp_?set_allow_tensor_metadata_change@TensorImpl@c10@@QEAAX_N@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl c10::TensorImpl::set_autograd_meta(class std::unique_ptr<struct c10::AutogradMetaInterface,struct std::default_delete<struct c10::AutogradMetaInterface> >)" (__imp_?set_autograd_meta@TensorImpl@c10@@QEAAXV?$unique_ptr@UAutogradMetaInterface@c10@@U?$default_delete@UAutogradMetaInterface@c10@@@std@@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static struct c10::TensorImpl * __cdecl c10::UndefinedTensorImpl::singleton(void)" (__imp_?singleton@UndefinedTensorImpl@c10@@SAPEAUTensorImpl@2@XZ) referenced in function "struct c10::TensorImpl * __cdecl c10::detail::assign_ptr_<struct c10::TensorImpl,struct c10::UndefinedTensorImpl,struct c10::detail::intrusive_target_default_null_type<struct c10::TensorImpl> >(struct c10::TensorImpl *)" (??$assign_ptr_@UTensorImpl@c10@@UUndefinedTensorImpl@2@U?$intrusive_target_default_null_type@UTensorImpl@c10@@@detail@2@@detail@c10@@YAPEAUTensorImpl@1@PEAU21@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Symbol::Symbol(void)" (__imp_??0Symbol@c10@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static struct c10::Symbol __cdecl c10::Symbol::fromQualString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?fromQualString@Symbol@c10@@SA?AU12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(void)" (__imp_??0Tensor@at@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(class c10::intrusive_ptr<struct c10::TensorImpl,struct c10::UndefinedTensorImpl>)" (__imp_??0Tensor@at@@QEAA@V?$intrusive_ptr@UTensorImpl@c10@@UUndefinedTensorImpl@2@@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(class at::Tensor &&)" (__imp_??0Tensor@at@@QEAA@$$QEAV01@@Z) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::intrusive_ptr<struct c10::TensorImpl,struct c10::UndefinedTensorImpl> const & __cdecl at::Tensor::getIntrusivePtr(void)const " (__imp_?getIntrusivePtr@Tensor@at@@QEBAAEBV?$intrusive_ptr@UTensorImpl@c10@@UUndefinedTensorImpl@2@@c10@@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl at::Tensor::defined(void)const " (__imp_?defined@Tensor@at@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::~Tensor(void)" (__imp_??1Tensor@at@@QEAA@XZ) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(void)" (__imp_??0IValue@c10@@QEAA@XZ) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const)" (??$construct@UIValue@c10@@$$V@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue const &)" (__imp_??0IValue@c10@@QEAA@AEBU01@@Z) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue,struct c10::IValue &>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const,struct c10::IValue &)" (??$construct@UIValue@c10@@AEAU12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@AEAU34@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue &&)" (__imp_??0IValue@c10@@QEAA@$$QEAU01@@Z) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue,struct c10::IValue>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const,struct c10::IValue &&)" (??$construct@UIValue@c10@@U12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@$$QEAU34@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::~IValue(void)" (__imp_??1IValue@c10@@QEAA@XZ) referenced in function "public: virtual __cdecl c10::ivalue::Future::~Future(void)" (??1Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue &&)& " (__imp_??4IValue@c10@@QEGAAAEAU01@$$QEAU01@@Z) referenced in function "struct c10::IValue * __cdecl std::_Move_unchecked1<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *,struct std::_General_ptr_iterator_tag)" (??$_Move_unchecked1@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00U_General_ptr_iterator_tag@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue const &)& " (__imp_??4IValue@c10@@QEGAAAEAU01@AEBU01@@Z) referenced in function "struct c10::IValue * __cdecl std::_Copy_unchecked1<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *,struct std::_General_ptr_iterator_tag)" (??$_Copy_unchecked1@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00U_General_ptr_iterator_tag@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::ivalue::Future::FutureError::FutureError(void)" (__imp_??0FutureError@Future@ivalue@c10@@QEAA@XZ) referenced in function "public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)" (??0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: virtual __cdecl c10::ivalue::Future::FutureError::~FutureError(void)" (__imp_??1FutureError@Future@ivalue@c10@@UEAA@XZ) referenced in function "public: virtual __cdecl c10::ivalue::Future::~Future(void)" (??1Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::ivalue::Future::FutureError::FutureError(struct c10::ivalue::Future::FutureError const &)" (__imp_??0FutureError@Future@ivalue@c10@@QEAA@AEBU0123@@Z) referenced in function "public: struct c10::IValue __cdecl c10::ivalue::Future::value(void)" (?value@Future@ivalue@c10@@QEAA?AUIValue@3@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::ivalue::Future::FutureError & __cdecl c10::ivalue::Future::FutureError::operator=(struct c10::ivalue::Future::FutureError &&)" (__imp_??4FutureError@Future@ivalue@c10@@QEAAAEAU0123@$$QEAU0123@@Z) referenced in function "public: void __cdecl c10::ivalue::Future::markCompleted(struct c10::ivalue::Future::FutureError &&)" (?markCompleted@Future@ivalue@c10@@QEAAX$$QEAUFutureError@123@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "private: void __cdecl c10::ivalue::Object::resizeObject(unsigned __int64)" (?resizeObject@Object@ivalue@c10@@AEAAX_K@Z) referenced in function "public: void __cdecl c10::ivalue::Object::setSlot(unsigned __int64,struct c10::IValue)" (?setSlot@Object@ivalue@c10@@QEAAX_KUIValue@3@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: struct c10::OperatorKernel * __cdecl c10::KernelFunction::getFunctor_(void)const " (__imp_?getFunctor_@KernelFunction@c10@@AEBAPEAUOperatorKernel@2@XZ) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class c10::Dispatcher & __cdecl c10::Dispatcher::singleton(void)" (__imp_?singleton@Dispatcher@c10@@SAAEAV12@XZ) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::optional<class c10::OperatorHandle> __cdecl c10::Dispatcher::findSchema(struct c10::OperatorName const &)" (__imp_?findSchema@Dispatcher@c10@@QEAA?AV?$optional@VOperatorHandle@c10@@@2@AEBUOperatorName@2@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: static class c10::KernelFunction const & __cdecl c10::Dispatcher::dispatch_(class c10::DispatchTable const &,class ska::flat_hash_map<enum c10::TensorTypeId,class c10::KernelFunction,struct std::hash<enum c10::TensorTypeId>,struct std::equal_to<enum c10::TensorTypeId>,class std::allocator<struct std::pair<enum c10::TensorTypeId,class c10::KernelFunction> > > const &,class c10::optional<enum c10::TensorTypeId>)" (__imp_?dispatch_@Dispatcher@c10@@CAAEBVKernelFunction@2@AEBVDispatchTable@2@AEBV?$flat_hash_map@W4TensorTypeId@c10@@VKernelFunction@2@U?$hash@W4TensorTypeId@c10@@@std@@U?$equal_to@W4TensorTypeId@c10@@@5@V?$allocator@U?$pair@W4TensorTypeId@c10@@VKernelFunction@2@@std@@@5@@ska@@V?$optional@W4TensorTypeId@c10@@@2@@Z) referenced in function "public: class at::Tensor __cdecl <lambda_0a6810ae6c9aab5a5269db3248807de2>::operator()(class ska::flat_hash_map<enum c10::TensorTypeId,class c10::KernelFunction,struct std::hash<enum c10::TensorTypeId>,struct std::equal_to<enum c10::TensorTypeId>,class std::allocator<struct std::pair<enum c10::TensorTypeId,class c10::KernelFunction> > > const &)const " (??R<lambda_0a6810ae6c9aab5a5269db3248807de2>@@QEBA?AVTensor@at@@AEBV?$flat_hash_map@W4TensorTypeId@c10@@VKernelFunction@2@U?$hash@W4TensorTypeId@c10@@@std@@U?$equal_to@W4TensorTypeId@c10@@@5@V?$allocator@U?$pair@W4TensorTypeId@c10@@VKernelFunction@2@@std@@@5@@ska@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::OperatorHandle::OperatorHandle(class c10::OperatorHandle const &)" (__imp_??0OperatorHandle@c10@@QEAA@AEBV01@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::OperatorHandle::~OperatorHandle(void)" (__imp_??1OperatorHandle@c10@@QEAA@XZ) referenced in function "public: __cdecl c10::optional_base<class c10::OperatorHandle>::~optional_base<class c10::OperatorHandle>(void)" (??1?$optional_base@VOperatorHandle@c10@@@c10@@QEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl at::LegacyTypeDispatch::initForTensorTypeSet(class c10::TensorTypeSet)" (__imp_?initForTensorTypeSet@LegacyTypeDispatch@at@@QEAAXVTensorTypeSet@c10@@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class at::LegacyTypeDispatch & __cdecl at::globalLegacyTypeDispatch(void)" (__imp_?globalLegacyTypeDispatch@at@@YAAEAVLegacyTypeDispatch@1@XZ) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::AutoNonVariableTypeMode(bool)" (__imp_??0AutoNonVariableTypeMode@at@@QEAA@_N@Z) referenced in function "public: class at::Tensor __cdecl <lambda_21abee22a29ba9a5435602abb103f1f5>::operator()(void)const " (??R<lambda_21abee22a29ba9a5435602abb103f1f5>@@QEBA?AVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::~AutoNonVariableTypeMode(void)" (__imp_??1AutoNonVariableTypeMode@at@@QEAA@XZ) referenced in function "public: class at::Tensor __cdecl <lambda_21abee22a29ba9a5435602abb103f1f5>::operator()(void)const " (??R<lambda_21abee22a29ba9a5435602abb103f1f5>@@QEBA?AVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl at::print(class std::basic_ostream<char,struct std::char_traits<char> > &,class at::Tensor const &,__int64)" (__imp_?print@at@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBVTensor@1@_J@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl at::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class at::Tensor const &)" (??6at@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@AEBVTensor@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl torch::autograd::AutogradMeta::AutogradMeta(struct c10::TensorImpl *,bool,struct torch::autograd::Edge)" (__imp_??0AutogradMeta@autograd@torch@@QEAA@PEAUTensorImpl@c10@@_NUEdge@12@@Z) referenced in function "class std::unique_ptr<struct torch::autograd::AutogradMeta,struct std::default_delete<struct torch::autograd::AutogradMeta> > __cdecl std::make_unique<struct torch::autograd::AutogradMeta,struct c10::TensorImpl *,bool &,0>(struct c10::TensorImpl * &&,bool &)" (??$make_unique@UAutogradMeta@autograd@torch@@PEAUTensorImpl@c10@@AEA_N$0A@@std@@YA?AV?$unique_ptr@UAutogradMeta@autograd@torch@@U?$default_delete@UAutogradMeta@autograd@torch@@@std@@@0@$$QEAPEAUTensorImpl@c10@@AEA_N@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: virtual __cdecl torch::autograd::AutogradMeta::~AutogradMeta(void)" (__imp_??1AutogradMeta@autograd@torch@@UEAA@XZ) referenced in function "public: virtual void * __cdecl torch::autograd::AutogradMeta::`scalar deleting destructor'(unsigned int)" (??_GAutogradMeta@autograd@torch@@UEAAPEAXI@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class std::shared_ptr<struct torch::jit::tracer::TracingState> const & __cdecl torch::jit::tracer::getTracingState(void)" (__imp_?getTracingState@tracer@jit@torch@@YAAEBV?$shared_ptr@UTracingState@tracer@jit@torch@@@std@@XZ) referenced in function "bool __cdecl torch::jit::tracer::isTracing(void)" (?isTracing@tracer@jit@torch@@YA_NXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::setTracingState(class std::shared_ptr<struct torch::jit::tracer::TracingState>)" (__imp_?setTracingState@tracer@jit@torch@@YAXV?$shared_ptr@UTracingState@tracer@jit@torch@@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::recordSourceLocation(struct torch::jit::Node *)" (__imp_?recordSourceLocation@tracer@jit@torch@@YAXPEAUNode@23@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addInputs(struct torch::jit::Node *,char const *,class c10::ArrayRef<__int64>)" (__imp_?addInputs@tracer@jit@torch@@YAXPEAUNode@23@PEBDV?$ArrayRef@_J@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addInputs(struct torch::jit::Node *,char const *,struct c10::TensorOptions const &)" (__imp_?addInputs@tracer@jit@torch@@YAXPEAUNode@23@PEBDAEBUTensorOptions@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addOutput(struct torch::jit::Node *,class at::Tensor const &)" (__imp_?addOutput@tracer@jit@torch@@YAXPEAUNode@23@AEBVTensor@at@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct torch::jit::Node * __cdecl torch::jit::Node::insertBefore(struct torch::jit::Node *)" (__imp_?insertBefore@Node@jit@torch@@QEAAPEAU123@PEAU123@@Z) referenced in function "public: struct torch::jit::Node * __cdecl torch::jit::Graph::insertNode(struct torch::jit::Node *)" (?insertNode@Graph@jit@torch@@QEAAPEAUNode@23@PEAU423@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: bool __cdecl torch::jit::Node::inBlockList(void)const " (__imp_?inBlockList@Node@jit@torch@@AEBA_NXZ) referenced in function "public: struct torch::jit::Node * __cdecl torch::jit::Graph::insertNode(struct torch::jit::Node *)" (?insertNode@Graph@jit@torch@@QEAAPEAUNode@23@PEAU423@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct torch::jit::Node * __cdecl torch::jit::Graph::create(struct c10::Symbol,unsigned __int64)" (__imp_?create@Graph@jit@torch@@QEAAPEAUNode@23@USymbol@c10@@_K@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: __cdecl c10::Error::Error(class c10::Error const &)" (??0Error@c10@@QEAA@AEBV01@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: __cdecl c10::ivalue::Future::FutureError::FutureError(struct c10::ivalue::Future::FutureError const &)" (??0FutureError@Future@ivalue@c10@@QEAA@AEBU0123@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual __cdecl c10::Error::~Error(void)" (??1Error@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual __cdecl c10::ivalue::Future::FutureError::~FutureError(void)" (??1FutureError@Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual class at::Tensor & __cdecl torch::autograd::AutogradMeta::grad(void)" (?grad@AutogradMeta@autograd@torch@@UEAAAEAVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual class at::Tensor const & __cdecl torch::autograd::AutogradMeta::grad(void)const " (?grad@AutogradMeta@autograd@torch@@UEBAAEBVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void)" (?release_resources@intrusive_ptr_target@c10@@EEAAXXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl torch::autograd::AutogradMeta::requires_grad(void)const " (?requires_grad@AutogradMeta@autograd@torch@@UEBA_NXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual void __cdecl torch::autograd::AutogradMeta::set_requires_grad(bool,struct c10::TensorImpl *)" (?set_requires_grad@AutogradMeta@autograd@torch@@UEAAX_NPEAUTensorImpl@c10@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK1120 68 unresolved externals LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\x64\Debug\LibTorch-1.4-example.exe 1
"><pre class="notranslate"><code class="notranslate">
Severity Code Description Project File Line Suppression State
Warning C4251 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\allocator.h 183
Error (active) E1866 attribute does not apply to any entity LibTorch-1.4-example C:\Users\XX\Documents\libtorch-1.4\include\c10\util\ArrayRef.h 278
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 28
Warning C4251 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 29
Warning C4251 'c10::Error::backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 30
Warning C4251 'c10::Error::msg_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 35
Warning C4251 'c10::Error::msg_without_backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\exception.h 36
Warning C4251 'c10::DataPtr::ptr_': class 'c10::detail::UniqueVoidPtr' needs to have dll-interface to be used by clients of class 'c10::DataPtr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\allocator.h 21
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 172
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 175
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 178
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 181
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 185
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 188
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 191
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 194
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 200
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 203
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 206
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 209
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 213
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 216
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 219
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half-inl.h 222
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 148
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 151
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 154
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 157
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 161
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 164
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 167
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 170
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 176
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 179
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 182
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 185
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 189
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 192
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 195
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\bfloat16-inl.h 198
Warning C4251 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>::id_': struct 'c10::util::type_index' needs to have dll-interface to be used by clients of class 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\typeid.h 65
Warning C4251 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 63
Warning C4251 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 64
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 721
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\intrusive_ptr.h 752
Warning C4251 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::Storage' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\storage.h 181
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 550
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 556
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 563
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\llvmmathextras.h 569
Warning C4251 'c10::impl::LocalTensorTypeSet::included_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalTensorTypeSet' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\impl\localtensortypeset.h 50
Warning C4251 'c10::impl::LocalTensorTypeSet::excluded_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalTensorTypeSet' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\impl\localtensortypeset.h 51
Warning C4251 'c10::MessageLogger::stream_': class 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\logging_is_not_google_glog.h 47
Warning C4251 'c10::VariableVersion::version_counter_': class 'c10::intrusive_ptr<c10::VariableVersion::VersionCounter,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::VariableVersion' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 224
Warning C4251 'c10::TensorImpl::autograd_meta_': class 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1560
Warning C4251 'c10::TensorImpl::named_tensor_meta_': class 'std::unique_ptr<c10::NamedTensorMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1563
Warning C4251 'c10::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1585
Warning C4251 'c10::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1586
Warning C4251 'c10::TensorImpl::device_opt_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1611
Warning C4251 'c10::TensorImpl::type_set_': class 'c10::TensorTypeSet' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1630
Warning C4244 'argument': conversion from 'float' to 'const _Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1027
Warning C4244 'initializing': conversion from 'int64_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\tensorimpl.h 1377
Warning C4251 'at::DeprecatedTypePropertiesRegistry::registry': class 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::DeprecatedTypePropertiesRegistry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\deprecatedtypepropertiesregistry.h 26
Warning C4251 'at::Generator::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\generator.h 75
Warning C4251 'at::NamedTensorMeta::names_': class 'std::vector<at::Dimname,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::NamedTensorMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\namedtensor.h 53
Warning C4251 'at::Tensor::impl_': class 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>' needs to have dll-interface to be used by clients of class 'at::Tensor' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\tensorbody.h 1104
Warning C4522 'at::Tensor': multiple assignment operators specified LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\tensorbody.h 1105
Warning C4244 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dict_inl.h 50
Warning C4251 'c10::ivalue::ConstantString::str_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 118
Warning C4251 'c10::ivalue::Tuple::elements_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 138
Warning C4251 'c10::ivalue::Tuple::type_': class 'std::shared_ptr<c10::TupleType>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 139
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface struct 'c10::ivalue::Future::FutureError' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 200
Warning C4251 'c10::ivalue::Future::FutureError::error_msg': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future::FutureError' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 210
Warning C4251 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 301
Warning C4251 'c10::ivalue::Future::completed_': struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 302
Warning C4251 'c10::ivalue::Future::finished_cv_': class 'std::condition_variable' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 303
Warning C4251 'c10::ivalue::Future::type_': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 306
Warning C4251 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 307
Warning C4251 'c10::ivalue::Object::type_': struct 'c10::StrongTypePtr' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 389
Warning C4251 'c10::ivalue::Object::slots_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 390
Warning C4244 'return': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 429
Warning C4244 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 431
Warning C4244 'return': conversion from 'int64_t' to 'signed char', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 432
Warning C4244 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 433
Warning C4244 'return': conversion from 'int64_t' to 'short', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 434
Warning C4244 'return': conversion from 'int64_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 435
Warning C4244 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 436
Warning C4244 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\ivalue_inl.h 438
Warning C4251 'std::enable_shared_from_this<c10::Type>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<c10::Type>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 65
Warning C4251 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 241
Warning C4251 'c10::VaryingShape::dims_': class 'c10::optional<c10::VaryingShape::ListOfOptionalInts>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 370
Warning C4251 'c10::TensorType::scalar_type_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 617
Warning C4251 'c10::TensorType::device_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 618
Warning C4251 'c10::TensorType::requires_grad_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 621
Warning C4251 'c10::TensorType::undefined_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 633
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 478
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 481
Warning C4251 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 639
Warning C4251 'c10::DictType::types': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::DictType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 748
Warning C4251 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 756
Warning C4251 'c10::NamedType::name_': class 'c10::optional<c10::QualifiedName>' needs to have dll-interface to be used by clients of struct 'c10::NamedType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 797
Warning C4251 'c10::TupleType::elements_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 879
Warning C4251 'c10::TupleType::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 881
Warning C4251 'c10::ClassType::attributeNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1574
Warning C4251 'c10::ClassType::attributeTypes_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1575
Warning C4251 'c10::ClassType::compilation_unit_': class 'std::weak_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1577
Warning C4251 'c10::ClassType::parameterSlots_': class 'std::shared_ptr<std::vector<bool,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1581
Warning C4251 'c10::ClassType::methods_': class 'std::vector<torch::jit::Function *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1584
Warning C4251 'c10::InterfaceType::methods_': class 'std::shared_ptr<std::vector<c10::FunctionSchema,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::InterfaceType' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\jit_type.h 1639
Warning C4251 'c10::KernelFunction::functorFactory_': class 'std::function<std::unique_ptr<c10::OperatorKernel,std::default_delete<_Ty>> (void)>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\boxing\kernelfunction.h 375
Warning C4251 'c10::KernelFunction::functor_': class 'std::shared_ptr<c10::OperatorKernel>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\boxing\kernelfunction.h 376
Warning C4251 'c10::Dispatcher::operators_': class 'std::list<c10::Dispatcher::OperatorDef,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 132
Warning C4251 'c10::Dispatcher::operatorLookupTable_': class 'c10::LeftRight<ska::flat_hash_map<c10::OperatorName,c10::OperatorHandle,std::hash<c10::OperatorName>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 133
Warning C4251 'c10::Dispatcher::backendFallbackKernels_': class 'c10::LeftRight<ska::flat_hash_map<c10::TensorTypeId,c10::KernelFunction,std::hash<c10::TensorTypeId>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 134
Warning C4251 'c10::Dispatcher::listeners_': class 'std::unique_ptr<c10::detail::RegistrationListenerList,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 135
Warning C4251 'c10::Dispatcher::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 136
Warning C4251 'c10::OperatorHandle::operatorIterator_': class 'std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' needs to have dll-interface to be used by clients of class 'c10::OperatorHandle' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\core\dispatch\dispatcher.h 164
Warning C4251 'at::CPUGenerator::engine_': class 'at::mt19937_engine' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 32
Warning C4251 'at::CPUGenerator::next_float_normal_sample_': class 'c10::optional<float>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 33
Warning C4251 'at::CPUGenerator::next_double_normal_sample_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\cpugenerator.h 34
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\stream.h 135
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\core\stream.h 135
Warning C4251 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 124
Warning C4251 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 125
Warning C4251 'at::Context::quantized_engine': class 'c10::optional<c10::QEngine>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 130
Warning C4251 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 131
Warning C4251 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\context.h 132
Warning C4251 'at::TensorGeometry::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensorgeometry.h 56
Warning C4251 'at::TensorGeometry::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensorgeometry.h 57
Warning C4251 'at::namedinference::TensorName::origin_': class 'c10::ArrayRef<at::Dimname>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorName' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensornames.h 42
Warning C4251 'at::namedinference::TensorNames::names_': class 'c10::SmallVector<at::namedinference::TensorName,10>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorNames' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\aten\tensornames.h 72
Warning C4251 'torch::autograd::AutogradMeta::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 180
Warning C4251 'torch::autograd::AutogradMeta::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 183
Warning C4251 'torch::autograd::AutogradMeta::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 184
Warning C4251 'torch::autograd::AutogradMeta::hooks_': class 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 186
Warning C4251 'torch::autograd::AutogradMeta::cpp_hooks_list': class 'std::shared_ptr<torch::autograd::hooks_list>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 187
Warning C4251 'torch::autograd::AutogradMeta::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\variable.h 203
Warning C4251 'std::enable_shared_from_this<torch::jit::tracer::TracingState>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::tracer::TracingState>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 45
Warning C4251 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 49
Warning C4251 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 53
Warning C4251 'torch::jit::tracer::TracingState::env_stack': class 'std::vector<torch::jit::tracer::TracingState::Frame,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 85
Warning C4251 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 181
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 289
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\tracer.h 296
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 95
Warning C4251 'torch::jit::GraphAttr::value_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 109
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphsAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 112
Warning C4251 'torch::jit::GraphsAttr::value_': class 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphsAttr' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\attributes.h 126
Warning C4251 'torch::jit::SourceRange::source_': class 'std::shared_ptr<torch::jit::Source>' needs to have dll-interface to be used by clients of struct 'torch::jit::SourceRange' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\source_range.h 169
Warning C4251 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\scope.h 25
Warning C4251 'torch::jit::InlinedCallStack::callee_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::InlinedCallStack' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\scope.h 87
Warning C4275 non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\constants.h 20
Warning C4251 'torch::jit::Operator::schema_string_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 166
Warning C4251 'torch::jit::Operator::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 170
Warning C4251 'torch::jit::Operator::op_': class 'std::shared_ptr<torch::jit::Operation>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 174
Warning C4251 'torch::jit::Operator::c10Handle_': class 'c10::optional<c10::OperatorHandle>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 176
Warning C4251 'torch::jit::Operator::options_': struct 'c10::OperatorOptions' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\operator.h 177
Warning C4251 'torch::jit::Node::inputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 245
Warning C4251 'torch::jit::Node::outputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 246
Warning C4251 'torch::jit::Node::blocks_': class 'std::vector<torch::jit::Block *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 248
Warning C4251 'torch::jit::Node::source_range_': class 'c10::optional<torch::jit::SourceRange>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 251
Warning C4251 'torch::jit::Node::scope_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 252
Warning C4251 'torch::jit::Node::callstack_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 253
Warning C4251 'torch::jit::Node::values_': class 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\ir.h 778
Warning C4251 'torch::data::samplers::DistributedRandomSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedRandomSampler' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\data\samplers\distributed.h 96
Warning C4251 'torch::data::samplers::DistributedSequentialSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedSequentialSampler' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\data\samplers\distributed.h 129
Warning C4251 'torch::jit::ArgumentSpecCreator::instructions_': class 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::ArgumentSpecCreator' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 198
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 231
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 234
Warning C4267 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 234
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 239
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 259
Warning C4267 'argument': conversion from 'size_t' to 'const int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\argument_spec.h 427
Warning C4251 'torch::jit::Code::pImpl': class 'std::shared_ptr<torch::jit::CodeImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::Code' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\interpreter.h 52
Warning C4251 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr<torch::jit::GraphExecutorImplBase>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\graph_executor.h 53
Warning C4251 'torch::jit::Function::name_': struct 'c10::QualifiedName' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 107
Warning C4251 'torch::jit::Function::graph_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 109
Warning C4251 'torch::jit::Function::optimized_graph_': class 'c10::optional<std::shared_ptr<torch::jit::Graph>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 114
Warning C4251 'torch::jit::Function::compile_mutex': class 'std::recursive_mutex' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 122
Warning C4251 'torch::jit::Function::function_creator_': class 'std::function<void (torch::jit::Function &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 129
Warning C4251 'torch::jit::Function::schema_': class 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\function.h 134
Warning C4251 'torch::jit::script::Method::owner_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\method.h 57
Warning C4251 'torch::jit::script::Object::_ivalue_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Object' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\object.h 105
Warning C4251 'torch::jit::script::CompilationUnit::functions_': class 'std::vector<std::unique_ptr<torch::jit::Function,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 255
Warning C4251 'torch::jit::script::CompilationUnit::dict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 257
Warning C4251 'torch::jit::script::CompilationUnit::classDict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 258
Warning C4251 'torch::jit::script::CompilationUnit::classes_': class 'std::vector<c10::NamedTypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\jit\script\compilation_unit.h 265
Warning C4251 'torch::serialize::InputArchive::hierarchy_prefix_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\serialize\input-archive.h 105
Warning C4251 'torch::serialize::OutputArchive::cu_': class 'std::shared_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\serialize\output-archive.h 78
Warning C4251 'std::enable_shared_from_this<torch::nn::Module>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::nn::Module>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 62
Warning C4251 'torch::nn::Module::parameters_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 557
Warning C4251 'torch::nn::Module::buffers_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 560
Warning C4251 'torch::nn::Module::children_': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 563
Warning C4251 'torch::nn::Module::name_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\module.h 566
Warning C4251 'torch::nn::BatchNormOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::BatchNormOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 25
Warning C4251 'torch::nn::functional::BatchNormFuncOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::BatchNormFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 56
Warning C4251 'torch::nn::EmbeddingOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 20
Warning C4251 'torch::nn::EmbeddingOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 22
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 41
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 43
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 58
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 60
Warning C4251 'torch::nn::EmbeddingBagOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 84
Warning C4251 'torch::nn::EmbeddingBagOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 92
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 108
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 116
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 131
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\embedding.h 139
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 108
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\embedding.h 108
Warning C4251 'torch::nn::FoldOptions::output_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 21
Warning C4251 'torch::nn::FoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 24
Warning C4251 'torch::nn::FoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 28
Warning C4251 'torch::nn::FoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 32
Warning C4251 'torch::nn::FoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 35
Warning C4251 'torch::nn::UnfoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 48
Warning C4251 'torch::nn::UnfoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 52
Warning C4251 'torch::nn::UnfoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 56
Warning C4251 'torch::nn::UnfoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\fold.h 59
Warning C4251 'torch::nn::functional::SoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftmaxFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 110
Warning C4251 'torch::nn::functional::SoftminFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftminFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 138
Warning C4251 'torch::nn::functional::LogSoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LogSoftmaxFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\activation.h 166
Warning C4251 'torch::nn::L1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::L1LossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 19
Warning C4251 'torch::nn::KLDivLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kBatchMean,torch::enumtype::kSum,torch::enumtype::kMean>' needs to have dll-interface to be used by clients of struct 'torch::nn::KLDivLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 34
Warning C4251 'torch::nn::MSELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MSELossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 49
Warning C4251 'torch::nn::BCELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCELossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 64
Warning C4251 'torch::nn::HingeEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::HingeEmbeddingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 79
Warning C4251 'torch::nn::MultiMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 103
Warning C4251 'torch::nn::CosineEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CosineEmbeddingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 119
Warning C4251 'torch::nn::MultiLabelMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 136
Warning C4251 'torch::nn::SoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SoftMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 153
Warning C4251 'torch::nn::MultiLabelSoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelSoftMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 173
Warning C4251 'torch::nn::TripletMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::TripletMarginLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 195
Warning C4251 'torch::nn::CTCLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CTCLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 209
Warning C4251 'torch::nn::SmoothL1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SmoothL1LossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 230
Warning C4251 'torch::nn::PoissonNLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::PoissonNLLLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 251
Warning C4251 'torch::nn::MarginRankingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MarginRankingLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 265
Warning C4251 'torch::nn::NLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::NLLLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 284
Warning C4251 'torch::nn::CrossEntropyLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CrossEntropyLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 302
Warning C4251 'torch::nn::BCEWithLogitsLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCEWithLogitsLossOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\loss.h 316
Warning C4251 'torch::nn::LayerNormOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::LayerNormOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 16
Warning C4251 'torch::nn::functional::LayerNormFuncOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LayerNormFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 33
Warning C4251 'torch::nn::functional::NormalizeFuncOptions::out_': class 'c10::optional<at::Tensor>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::NormalizeFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\normalization.h 95
Warning C4251 'torch::nn::ReflectionPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ZeroPad2dOptions::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ZeroPad2dOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 65
Warning C4251 'torch::nn::ConstantPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<D>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::functional::PadFuncOptions::pad_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 111
Warning C4251 'torch::nn::functional::PadFuncOptions::mode_': class 'c10::variant<torch::enumtype::kConstant,torch::enumtype::kReflect,torch::enumtype::kReplicate,torch::enumtype::kCircular>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 114
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\pooling.h 651
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\functional\pooling.h 652
Warning C4251 'torch::nn::UpsampleOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 18
Warning C4251 'torch::nn::UpsampleOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 21
Warning C4251 'torch::nn::UpsampleOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 31
Warning C4251 'torch::nn::UpsampleOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 37
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 53
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 56
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear,torch::enumtype::kArea>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 60
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\upsampling.h 71
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::mode_': class 'c10::variant<torch::enumtype::kBilinear,torch::enumtype::kNearest>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 18
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::padding_mode_': class 'c10::variant<torch::enumtype::kZeros,torch::enumtype::kBorder,torch::enumtype::kReflection>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 20
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\vision.h 22
Warning C4251 'torch::nn::FunctionalImpl::function_': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\container\functional.h 94
Warning C4251 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 115
Warning C4251 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 138
Warning C4251 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 161
Warning C4251 'torch::nn::ConvNdImpl<1,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 227
Warning C4251 'torch::nn::ConvNdImpl<2,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 247
Warning C4251 'torch::nn::ConvNdImpl<3,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\conv.h 267
Warning C4251 'torch::nn::ReflectionPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReflectionPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<3>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ConstantPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<1>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<2>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<3>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>::options': struct 'torch::nn::AvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>::options': struct 'torch::nn::AvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>::options': struct 'torch::nn::AvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>::options': struct 'torch::nn::MaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>::options': struct 'torch::nn::MaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>::options': struct 'torch::nn::MaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::FractionalMaxPool2dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool2dImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 423
Warning C4251 'torch::nn::FractionalMaxPool3dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool3dImpl' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 455
Warning C4251 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>::options': struct 'torch::nn::LPPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>::options': struct 'torch::nn::LPPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<Derived>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::autograd::profiler::StringView::owned_str_ptr_': class 'std::shared_ptr<std::string>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::StringView' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\record_function.h 39
Warning C4251 'torch::autograd::profiler::RecordFunction::inputs_': class 'std::vector<StorageT,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordFunction' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\record_function.h 112
Warning C4251 'torch::autograd::profiler::Event::shapes_': class 'std::vector<std::vector<int64_t,std::allocator<_Ty>>,std::allocator<std::vector<_Ty,std::allocator<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::Event' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\profiler.h 169
Warning C4251 'torch::autograd::profiler::RecordProfile::file_': class 'std::unique_ptr<std::ofstream,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordProfile' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\profiler.h 245
Warning C4251 'torch::autograd::SavedVariable::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 46
Warning C4251 'torch::autograd::SavedVariable::weak_grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 49
Warning C4251 'torch::autograd::SavedVariable::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\saved_variable.h 50
Warning C4251 'std::enable_shared_from_this<torch::autograd::Node>::_Wptr': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::autograd::Node>' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 88
Warning C4251 'torch::autograd::Node::next_edges_': class 'std::vector<torch::autograd::Edge,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 353
Warning C4251 'torch::autograd::Node::anomaly_metadata_': class 'std::unique_ptr<torch::autograd::AnomalyMetadata,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 355
Warning C4251 'torch::autograd::Node::pre_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPreHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 356
Warning C4251 'torch::autograd::Node::post_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPostHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 357
Warning C4251 'torch::autograd::Node::input_metadata_': class 'c10::SmallVector<torch::autograd::InputMetadata,2>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 358
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 143
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 149
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 156
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 162
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\function.h 217
Warning C4251 'torch::autograd::AutogradContext::saved_data': class 'ska::flat_hash_map<std::string,c10::IValue,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 84
Warning C4251 'torch::autograd::AutogradContext::non_differentiable_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 105
Warning C4251 'torch::autograd::AutogradContext::dirty_inputs_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 106
Warning C4251 'torch::autograd::AutogradContext::saved_variables_': class 'std::vector<torch::autograd::SavedVariable,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 107
Warning C4251 'torch::autograd::AutogradContext::to_save_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 108
Warning C4251 'torch::autograd::AutogradContext::grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 113
Warning C4251 'torch::autograd::VariableInfo::size': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::VariableInfo' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\autograd\custom_function.h 129
Warning C4251 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\optimizer.h 83
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 28
Warning C4251 'torch::optim::Adagrad::sum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 44
Warning C4251 'torch::optim::Adagrad::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adagrad.h 45
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 31
Warning C4251 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 45
Warning C4251 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 46
Warning C4251 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 47
Warning C4251 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\adam.h 48
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 22
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 23
Warning C4275 non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 27
Warning C4251 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 48
Warning C4251 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 49
Warning C4251 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 50
Warning C4251 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\lbfgs.h 51
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 34
Warning C4251 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 50
Warning C4251 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 51
Warning C4251 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\rmsprop.h 52
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\sgd.h 31
Warning C4251 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD' LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\torch\csrc\api\include\torch\optim\sgd.h 46
Warning C4244 'argument': conversion from '_Ty' to 'T', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\optional.h 430
Warning C4018 '>': signed/unsigned mismatch LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 451
Warning C4244 'argument': conversion from 'From' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from '_Ty' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 416
Warning C4244 'argument': conversion from 'From' to 'float', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<double>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Warning C4244 'argument': conversion from 'From' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-1.4-example c:\users\XX\documents\libtorch-1.4\include\c10\util\half.h 400
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Error::Error(struct c10::SourceLocation,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0Error@c10@@QEAA@USourceLocation@1@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: virtual __cdecl c10::intrusive_ptr_target::~intrusive_ptr_target(void)" (__imp_??1intrusive_ptr_target@c10@@MEAA@XZ) referenced in function "int `public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)'::`1'::dtor$1" (?dtor$1@?0???0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z@4HA) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(void)" (__imp_??0intrusive_ptr_target@c10@@IEAA@XZ) referenced in function "public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)" (??0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target &&)" (__imp_??0intrusive_ptr_target@c10@@IEAA@$$QEAV01@@Z) referenced in function "public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object &&)" (??0Object@ivalue@c10@@QEAA@$$QEAU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target &&)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@$$QEAV01@@Z) referenced in function "public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object &&)" (??4Object@ivalue@c10@@QEAAAEAU012@$$QEAU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: __cdecl c10::intrusive_ptr_target::intrusive_ptr_target(class c10::intrusive_ptr_target const &)" (__imp_??0intrusive_ptr_target@c10@@IEAA@AEBV01@@Z) referenced in function "public: __cdecl c10::ivalue::Object::Object(struct c10::ivalue::Object const &)" (??0Object@ivalue@c10@@QEAA@AEBU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) protected: class c10::intrusive_ptr_target & __cdecl c10::intrusive_ptr_target::operator=(class c10::intrusive_ptr_target const &)" (__imp_??4intrusive_ptr_target@c10@@IEAAAEAV01@AEBV01@@Z) referenced in function "public: struct c10::ivalue::Object & __cdecl c10::ivalue::Object::operator=(struct c10::ivalue::Object const &)" (??4Object@ivalue@c10@@QEAAAEAU012@AEBU012@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void)" (__imp_?release_resources@intrusive_ptr_target@c10@@EEAAXXZ) referenced in function "private: void __cdecl c10::intrusive_ptr<struct c10::ivalue::Object,struct c10::detail::intrusive_target_default_null_type<struct c10::ivalue::Object> >::reset_(void)" (?reset_@?$intrusive_ptr@UObject@ivalue@c10@@U?$intrusive_target_default_null_type@UObject@ivalue@c10@@@detail@3@@c10@@AEAAXXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::TensorOptions::TensorOptions(void)" (__imp_??0TensorOptions@c10@@QEAA@XZ) referenced in function main LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorOptions::requires_grad(void)const " (__imp_?requires_grad@TensorOptions@c10@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::TensorTypeSet __cdecl c10::TensorOptions::type_set(void)const " (__imp_?type_set@TensorOptions@c10@@QEBA?AVTensorTypeSet@2@XZ) referenced in function "public: void __cdecl c10::detail::MultiDispatchTensorTypeSet::operator()(struct c10::TensorOptions const &)" (??RMultiDispatchTensorTypeSet@detail@c10@@QEAAXAEBUTensorOptions@2@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) struct c10::impl::LocalTensorTypeSet __cdecl c10::impl::tls_local_tensor_type_set(void)" (__imp_?tls_local_tensor_type_set@impl@c10@@YA?AULocalTensorTypeSet@12@XZ) referenced in function "enum c10::TensorTypeId __cdecl c10::impl::dispatchTypeId(class c10::TensorTypeSet)" (?dispatchTypeId@impl@c10@@YA?AW4TensorTypeId@2@VTensorTypeSet@2@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::VariableVersion::VariableVersion(unsigned int)" (__imp_??0VariableVersion@c10@@QEAA@I@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::VariableVersion::~VariableVersion(void)" (__imp_??1VariableVersion@c10@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl c10::TensorImpl::unique_version(void)const " (__imp_?unique_version@TensorImpl@c10@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl c10::TensorImpl::set_allow_tensor_metadata_change(bool)" (__imp_?set_allow_tensor_metadata_change@TensorImpl@c10@@QEAAX_N@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl c10::TensorImpl::set_autograd_meta(class std::unique_ptr<struct c10::AutogradMetaInterface,struct std::default_delete<struct c10::AutogradMetaInterface> >)" (__imp_?set_autograd_meta@TensorImpl@c10@@QEAAXV?$unique_ptr@UAutogradMetaInterface@c10@@U?$default_delete@UAutogradMetaInterface@c10@@@std@@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static struct c10::TensorImpl * __cdecl c10::UndefinedTensorImpl::singleton(void)" (__imp_?singleton@UndefinedTensorImpl@c10@@SAPEAUTensorImpl@2@XZ) referenced in function "struct c10::TensorImpl * __cdecl c10::detail::assign_ptr_<struct c10::TensorImpl,struct c10::UndefinedTensorImpl,struct c10::detail::intrusive_target_default_null_type<struct c10::TensorImpl> >(struct c10::TensorImpl *)" (??$assign_ptr_@UTensorImpl@c10@@UUndefinedTensorImpl@2@U?$intrusive_target_default_null_type@UTensorImpl@c10@@@detail@2@@detail@c10@@YAPEAUTensorImpl@1@PEAU21@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::Symbol::Symbol(void)" (__imp_??0Symbol@c10@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static struct c10::Symbol __cdecl c10::Symbol::fromQualString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?fromQualString@Symbol@c10@@SA?AU12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(void)" (__imp_??0Tensor@at@@QEAA@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(class c10::intrusive_ptr<struct c10::TensorImpl,struct c10::UndefinedTensorImpl>)" (__imp_??0Tensor@at@@QEAA@V?$intrusive_ptr@UTensorImpl@c10@@UUndefinedTensorImpl@2@@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::Tensor(class at::Tensor &&)" (__imp_??0Tensor@at@@QEAA@$$QEAV01@@Z) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::intrusive_ptr<struct c10::TensorImpl,struct c10::UndefinedTensorImpl> const & __cdecl at::Tensor::getIntrusivePtr(void)const " (__imp_?getIntrusivePtr@Tensor@at@@QEBAAEBV?$intrusive_ptr@UTensorImpl@c10@@UUndefinedTensorImpl@2@@c10@@XZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: bool __cdecl at::Tensor::defined(void)const " (__imp_?defined@Tensor@at@@QEBA_NXZ) referenced in function "class at::Tensor __cdecl torch::autograd::make_variable(class at::Tensor,bool,bool)" (?make_variable@autograd@torch@@YA?AVTensor@at@@V34@_N1@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::Tensor::~Tensor(void)" (__imp_??1Tensor@at@@QEAA@XZ) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(void)" (__imp_??0IValue@c10@@QEAA@XZ) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const)" (??$construct@UIValue@c10@@$$V@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue const &)" (__imp_??0IValue@c10@@QEAA@AEBU01@@Z) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue,struct c10::IValue &>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const,struct c10::IValue &)" (??$construct@UIValue@c10@@AEAU12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@AEAU34@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::IValue(struct c10::IValue &&)" (__imp_??0IValue@c10@@QEAA@$$QEAU01@@Z) referenced in function "public: static void __cdecl std::_Default_allocator_traits<class std::allocator<struct c10::IValue> >::construct<struct c10::IValue,struct c10::IValue>(class std::allocator<struct c10::IValue> &,struct c10::IValue * const,struct c10::IValue &&)" (??$construct@UIValue@c10@@U12@@?$_Default_allocator_traits@V?$allocator@UIValue@c10@@@std@@@std@@SAXAEAV?$allocator@UIValue@c10@@@1@QEAUIValue@c10@@$$QEAU34@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::IValue::~IValue(void)" (__imp_??1IValue@c10@@QEAA@XZ) referenced in function "public: virtual __cdecl c10::ivalue::Future::~Future(void)" (??1Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue &&)& " (__imp_??4IValue@c10@@QEGAAAEAU01@$$QEAU01@@Z) referenced in function "struct c10::IValue * __cdecl std::_Move_unchecked1<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *,struct std::_General_ptr_iterator_tag)" (??$_Move_unchecked1@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00U_General_ptr_iterator_tag@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::IValue & __cdecl c10::IValue::operator=(struct c10::IValue const &)& " (__imp_??4IValue@c10@@QEGAAAEAU01@AEBU01@@Z) referenced in function "struct c10::IValue * __cdecl std::_Copy_unchecked1<struct c10::IValue *,struct c10::IValue *>(struct c10::IValue *,struct c10::IValue *,struct c10::IValue *,struct std::_General_ptr_iterator_tag)" (??$_Copy_unchecked1@PEAUIValue@c10@@PEAU12@@std@@YAPEAUIValue@c10@@PEAU12@00U_General_ptr_iterator_tag@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::ivalue::Future::FutureError::FutureError(void)" (__imp_??0FutureError@Future@ivalue@c10@@QEAA@XZ) referenced in function "public: __cdecl c10::ivalue::Future::Future(class std::shared_ptr<struct c10::Type>)" (??0Future@ivalue@c10@@QEAA@V?$shared_ptr@UType@c10@@@std@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: virtual __cdecl c10::ivalue::Future::FutureError::~FutureError(void)" (__imp_??1FutureError@Future@ivalue@c10@@UEAA@XZ) referenced in function "public: virtual __cdecl c10::ivalue::Future::~Future(void)" (??1Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::ivalue::Future::FutureError::FutureError(struct c10::ivalue::Future::FutureError const &)" (__imp_??0FutureError@Future@ivalue@c10@@QEAA@AEBU0123@@Z) referenced in function "public: struct c10::IValue __cdecl c10::ivalue::Future::value(void)" (?value@Future@ivalue@c10@@QEAA?AUIValue@3@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct c10::ivalue::Future::FutureError & __cdecl c10::ivalue::Future::FutureError::operator=(struct c10::ivalue::Future::FutureError &&)" (__imp_??4FutureError@Future@ivalue@c10@@QEAAAEAU0123@$$QEAU0123@@Z) referenced in function "public: void __cdecl c10::ivalue::Future::markCompleted(struct c10::ivalue::Future::FutureError &&)" (?markCompleted@Future@ivalue@c10@@QEAAX$$QEAUFutureError@123@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "private: void __cdecl c10::ivalue::Object::resizeObject(unsigned __int64)" (?resizeObject@Object@ivalue@c10@@AEAAX_K@Z) referenced in function "public: void __cdecl c10::ivalue::Object::setSlot(unsigned __int64,struct c10::IValue)" (?setSlot@Object@ivalue@c10@@QEAAX_KUIValue@3@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: struct c10::OperatorKernel * __cdecl c10::KernelFunction::getFunctor_(void)const " (__imp_?getFunctor_@KernelFunction@c10@@AEBAPEAUOperatorKernel@2@XZ) referenced in function "public: class at::Tensor __cdecl c10::KernelFunction::callUnboxedOnly<class at::Tensor,class c10::ArrayRef<__int64>,struct c10::TensorOptions const &>(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)const " (??$callUnboxedOnly@VTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@KernelFunction@c10@@QEBA?AVTensor@at@@V?$ArrayRef@_J@1@AEBUTensorOptions@1@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class c10::Dispatcher & __cdecl c10::Dispatcher::singleton(void)" (__imp_?singleton@Dispatcher@c10@@SAAEAV12@XZ) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: class c10::optional<class c10::OperatorHandle> __cdecl c10::Dispatcher::findSchema(struct c10::OperatorName const &)" (__imp_?findSchema@Dispatcher@c10@@QEAA?AV?$optional@VOperatorHandle@c10@@@2@AEBUOperatorName@2@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: static class c10::KernelFunction const & __cdecl c10::Dispatcher::dispatch_(class c10::DispatchTable const &,class ska::flat_hash_map<enum c10::TensorTypeId,class c10::KernelFunction,struct std::hash<enum c10::TensorTypeId>,struct std::equal_to<enum c10::TensorTypeId>,class std::allocator<struct std::pair<enum c10::TensorTypeId,class c10::KernelFunction> > > const &,class c10::optional<enum c10::TensorTypeId>)" (__imp_?dispatch_@Dispatcher@c10@@CAAEBVKernelFunction@2@AEBVDispatchTable@2@AEBV?$flat_hash_map@W4TensorTypeId@c10@@VKernelFunction@2@U?$hash@W4TensorTypeId@c10@@@std@@U?$equal_to@W4TensorTypeId@c10@@@5@V?$allocator@U?$pair@W4TensorTypeId@c10@@VKernelFunction@2@@std@@@5@@ska@@V?$optional@W4TensorTypeId@c10@@@2@@Z) referenced in function "public: class at::Tensor __cdecl <lambda_0a6810ae6c9aab5a5269db3248807de2>::operator()(class ska::flat_hash_map<enum c10::TensorTypeId,class c10::KernelFunction,struct std::hash<enum c10::TensorTypeId>,struct std::equal_to<enum c10::TensorTypeId>,class std::allocator<struct std::pair<enum c10::TensorTypeId,class c10::KernelFunction> > > const &)const " (??R<lambda_0a6810ae6c9aab5a5269db3248807de2>@@QEBA?AVTensor@at@@AEBV?$flat_hash_map@W4TensorTypeId@c10@@VKernelFunction@2@U?$hash@W4TensorTypeId@c10@@@std@@U?$equal_to@W4TensorTypeId@c10@@@5@V?$allocator@U?$pair@W4TensorTypeId@c10@@VKernelFunction@2@@std@@@5@@ska@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::OperatorHandle::OperatorHandle(class c10::OperatorHandle const &)" (__imp_??0OperatorHandle@c10@@QEAA@AEBV01@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl c10::OperatorHandle::~OperatorHandle(void)" (__imp_??1OperatorHandle@c10@@QEAA@XZ) referenced in function "public: __cdecl c10::optional_base<class c10::OperatorHandle>::~optional_base<class c10::OperatorHandle>(void)" (??1?$optional_base@VOperatorHandle@c10@@@c10@@QEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: void __cdecl at::LegacyTypeDispatch::initForTensorTypeSet(class c10::TensorTypeSet)" (__imp_?initForTensorTypeSet@LegacyTypeDispatch@at@@QEAAXVTensorTypeSet@c10@@@Z) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class at::LegacyTypeDispatch & __cdecl at::globalLegacyTypeDispatch(void)" (__imp_?globalLegacyTypeDispatch@at@@YAAEAVLegacyTypeDispatch@1@XZ) referenced in function "class at::Tensor __cdecl at::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@at@@YA?AVTensor@1@V?$ArrayRef@_J@c10@@AEBUTensorOptions@4@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::AutoNonVariableTypeMode(bool)" (__imp_??0AutoNonVariableTypeMode@at@@QEAA@_N@Z) referenced in function "public: class at::Tensor __cdecl <lambda_21abee22a29ba9a5435602abb103f1f5>::operator()(void)const " (??R<lambda_21abee22a29ba9a5435602abb103f1f5>@@QEBA?AVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl at::AutoNonVariableTypeMode::~AutoNonVariableTypeMode(void)" (__imp_??1AutoNonVariableTypeMode@at@@QEAA@XZ) referenced in function "public: class at::Tensor __cdecl <lambda_21abee22a29ba9a5435602abb103f1f5>::operator()(void)const " (??R<lambda_21abee22a29ba9a5435602abb103f1f5>@@QEBA?AVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl at::print(class std::basic_ostream<char,struct std::char_traits<char> > &,class at::Tensor const &,__int64)" (__imp_?print@at@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBVTensor@1@_J@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl at::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class at::Tensor const &)" (??6at@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV12@AEBVTensor@0@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl torch::autograd::AutogradMeta::AutogradMeta(struct c10::TensorImpl *,bool,struct torch::autograd::Edge)" (__imp_??0AutogradMeta@autograd@torch@@QEAA@PEAUTensorImpl@c10@@_NUEdge@12@@Z) referenced in function "class std::unique_ptr<struct torch::autograd::AutogradMeta,struct std::default_delete<struct torch::autograd::AutogradMeta> > __cdecl std::make_unique<struct torch::autograd::AutogradMeta,struct c10::TensorImpl *,bool &,0>(struct c10::TensorImpl * &&,bool &)" (??$make_unique@UAutogradMeta@autograd@torch@@PEAUTensorImpl@c10@@AEA_N$0A@@std@@YA?AV?$unique_ptr@UAutogradMeta@autograd@torch@@U?$default_delete@UAutogradMeta@autograd@torch@@@std@@@0@$$QEAPEAUTensorImpl@c10@@AEA_N@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: virtual __cdecl torch::autograd::AutogradMeta::~AutogradMeta(void)" (__imp_??1AutogradMeta@autograd@torch@@UEAA@XZ) referenced in function "public: virtual void * __cdecl torch::autograd::AutogradMeta::`scalar deleting destructor'(unsigned int)" (??_GAutogradMeta@autograd@torch@@UEAAPEAXI@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) class std::shared_ptr<struct torch::jit::tracer::TracingState> const & __cdecl torch::jit::tracer::getTracingState(void)" (__imp_?getTracingState@tracer@jit@torch@@YAAEBV?$shared_ptr@UTracingState@tracer@jit@torch@@@std@@XZ) referenced in function "bool __cdecl torch::jit::tracer::isTracing(void)" (?isTracing@tracer@jit@torch@@YA_NXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::setTracingState(class std::shared_ptr<struct torch::jit::tracer::TracingState>)" (__imp_?setTracingState@tracer@jit@torch@@YAXV?$shared_ptr@UTracingState@tracer@jit@torch@@@std@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::recordSourceLocation(struct torch::jit::Node *)" (__imp_?recordSourceLocation@tracer@jit@torch@@YAXPEAUNode@23@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addInputs(struct torch::jit::Node *,char const *,class c10::ArrayRef<__int64>)" (__imp_?addInputs@tracer@jit@torch@@YAXPEAUNode@23@PEBDV?$ArrayRef@_J@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addInputs(struct torch::jit::Node *,char const *,struct c10::TensorOptions const &)" (__imp_?addInputs@tracer@jit@torch@@YAXPEAUNode@23@PEBDAEBUTensorOptions@c10@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) void __cdecl torch::jit::tracer::addOutput(struct torch::jit::Node *,class at::Tensor const &)" (__imp_?addOutput@tracer@jit@torch@@YAXPEAUNode@23@AEBVTensor@at@@@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct torch::jit::Node * __cdecl torch::jit::Node::insertBefore(struct torch::jit::Node *)" (__imp_?insertBefore@Node@jit@torch@@QEAAPEAU123@PEAU123@@Z) referenced in function "public: struct torch::jit::Node * __cdecl torch::jit::Graph::insertNode(struct torch::jit::Node *)" (?insertNode@Graph@jit@torch@@QEAAPEAUNode@23@PEAU423@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) private: bool __cdecl torch::jit::Node::inBlockList(void)const " (__imp_?inBlockList@Node@jit@torch@@AEBA_NXZ) referenced in function "public: struct torch::jit::Node * __cdecl torch::jit::Graph::insertNode(struct torch::jit::Node *)" (?insertNode@Graph@jit@torch@@QEAAPEAUNode@23@PEAU423@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: struct torch::jit::Node * __cdecl torch::jit::Graph::create(struct c10::Symbol,unsigned __int64)" (__imp_?create@Graph@jit@torch@@QEAAPEAUNode@23@USymbol@c10@@_K@Z) referenced in function "class at::Tensor __cdecl torch::rand(class c10::ArrayRef<__int64>,struct c10::TensorOptions const &)" (?rand@torch@@YA?AVTensor@at@@V?$ArrayRef@_J@c10@@AEBUTensorOptions@5@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: __cdecl c10::Error::Error(class c10::Error const &)" (??0Error@c10@@QEAA@AEBV01@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: __cdecl c10::ivalue::Future::FutureError::FutureError(struct c10::ivalue::Future::FutureError const &)" (??0FutureError@Future@ivalue@c10@@QEAA@AEBU0123@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual __cdecl c10::Error::~Error(void)" (??1Error@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual __cdecl c10::ivalue::Future::FutureError::~FutureError(void)" (??1FutureError@Future@ivalue@c10@@UEAA@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual class at::Tensor & __cdecl torch::autograd::AutogradMeta::grad(void)" (?grad@AutogradMeta@autograd@torch@@UEAAAEAVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual class at::Tensor const & __cdecl torch::autograd::AutogradMeta::grad(void)const " (?grad@AutogradMeta@autograd@torch@@UEBAAEBVTensor@at@@XZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "private: virtual void __cdecl c10::intrusive_ptr_target::release_resources(void)" (?release_resources@intrusive_ptr_target@c10@@EEAAXXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual bool __cdecl torch::autograd::AutogradMeta::requires_grad(void)const " (?requires_grad@AutogradMeta@autograd@torch@@UEBA_NXZ) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK2001 unresolved external symbol "public: virtual void __cdecl torch::autograd::AutogradMeta::set_requires_grad(bool,struct c10::TensorImpl *)" (?set_requires_grad@AutogradMeta@autograd@torch@@UEAAX_NPEAUTensorImpl@c10@@@Z) LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\LibTorch-1.4-example\Source.obj 1
Error LNK1120 68 unresolved externals LibTorch-1.4-example C:\Users\XX\Documents\Visual Studio Proj\LibTorch-1.4-example\x64\Debug\LibTorch-1.4-example.exe 1
</code></pre></div>
<p dir="auto">When I compile with nightly even tho I got this error I get the following errors and wranings:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
Severity Code Description Project File Line Suppression State
Warning C4251 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\allocator.h 183
Error (active) E1866 attribute does not apply to any entity LibTorch-nightly-example C:\Users\XX\Documents\libtorch-nightly\include\c10\util\ArrayRef.h 278
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 28
Warning C4251 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 29
Warning C4251 'c10::Error::backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 30
Warning C4251 'c10::Error::msg_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 35
Warning C4251 'c10::Error::msg_without_backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 36
Warning C4251 'c10::DataPtr::ptr_': class 'c10::detail::UniqueVoidPtr' needs to have dll-interface to be used by clients of class 'c10::DataPtr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\allocator.h 21
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 172
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 175
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 178
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 181
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 185
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 188
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 191
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 194
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 200
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 203
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 206
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 209
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 213
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 216
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 219
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 222
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 148
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 151
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 154
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 157
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 161
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 164
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 167
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 170
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 176
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 179
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 182
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 185
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 189
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 192
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 195
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 198
Warning C4251 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>::id_': struct 'c10::util::type_index' needs to have dll-interface to be used by clients of class 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typeid.h 68
Warning C4251 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 66
Warning C4251 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 67
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 721
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 752
Warning C4251 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::Storage' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\storage.h 181
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 550
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 556
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 563
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 569
Warning C4251 'c10::impl::LocalDispatchKeySet::included_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalDispatchKeySet' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\impl\localdispatchkeyset.h 53
Warning C4251 'c10::impl::LocalDispatchKeySet::excluded_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalDispatchKeySet' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\impl\localdispatchkeyset.h 54
Warning C4251 'c10::MessageLogger::stream_': class 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\logging_is_not_google_glog.h 47
Warning C4251 'c10::VariableVersion::version_counter_': class 'c10::intrusive_ptr<c10::VariableVersion::VersionCounter,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::VariableVersion' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 224
Warning C4251 'c10::TensorImpl::autograd_meta_': class 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1537
Warning C4251 'c10::TensorImpl::named_tensor_meta_': class 'std::unique_ptr<c10::NamedTensorMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1540
Warning C4251 'c10::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1562
Warning C4251 'c10::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1563
Warning C4251 'c10::TensorImpl::device_opt_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1588
Warning C4251 'c10::TensorImpl::key_set_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1593
Warning C4244 'argument': conversion from 'float' to 'const _Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 992
Warning C4244 'initializing': conversion from 'int64_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1344
Warning C4251 'at::DeprecatedTypePropertiesRegistry::registry': class 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::DeprecatedTypePropertiesRegistry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\deprecatedtypepropertiesregistry.h 26
Warning C4251 'at::Generator::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\generator.h 76
Warning C4251 'at::Generator::key_set_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\generator.h 82
Warning C4251 'at::NamedTensorMeta::names_': class 'std::vector<at::Dimname,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::NamedTensorMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\namedtensor.h 51
Warning C4251 'at::Tensor::impl_': class 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>' needs to have dll-interface to be used by clients of class 'at::Tensor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\tensorbody.h 1018
Warning C4522 'at::Tensor': multiple assignment operators specified LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\tensorbody.h 1019
Warning C4244 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dict_inl.h 63
Warning C4251 'c10::ivalue::ConstantString::str_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 126
Warning C4251 'c10::ivalue::Tuple::elements_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 146
Warning C4251 'c10::ivalue::Tuple::type_': class 'std::shared_ptr<c10::TupleType>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 147
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface struct 'c10::ivalue::Future::FutureError' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 209
Warning C4251 'c10::ivalue::Future::FutureError::error_msg': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future::FutureError' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 219
Warning C4251 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 310
Warning C4251 'c10::ivalue::Future::completed_': struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 311
Warning C4251 'c10::ivalue::Future::finished_cv_': class 'std::condition_variable' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 312
Warning C4251 'c10::ivalue::Future::type_': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 315
Warning C4251 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 316
Warning C4251 'c10::ivalue::Object::type_': struct 'c10::StrongTypePtr' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 401
Warning C4251 'c10::ivalue::Object::slots_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 402
Warning C4244 'return': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 450
Warning C4244 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 452
Warning C4244 'return': conversion from 'int64_t' to 'signed char', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 453
Warning C4244 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 454
Warning C4244 'return': conversion from 'int64_t' to 'short', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 455
Warning C4244 'return': conversion from 'int64_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 456
Warning C4244 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 457
Warning C4244 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 459
Warning C4251 'std::enable_shared_from_this<c10::Type>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<c10::Type>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 69
Warning C4251 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 245
Warning C4251 'c10::VaryingShape::dims_': class 'c10::optional<c10::VaryingShape::ListOfOptionalInts>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 374
Warning C4251 'c10::TensorType::scalar_type_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 626
Warning C4251 'c10::TensorType::device_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 627
Warning C4251 'c10::TensorType::requires_grad_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 630
Warning C4251 'c10::TensorType::undefined_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 642
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 483
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 486
Warning C4251 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 648
Warning C4251 'c10::DictType::types': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::DictType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 758
Warning C4251 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 766
Warning C4251 'c10::NamedType::name_': class 'c10::optional<c10::QualifiedName>' needs to have dll-interface to be used by clients of struct 'c10::NamedType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 807
Warning C4251 'c10::TupleType::elements_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 889
Warning C4251 'c10::TupleType::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 891
Warning C4251 'c10::ClassType::attributeNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1723
Warning C4251 'c10::ClassType::attributeTypes_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1724
Warning C4251 'c10::ClassType::constantNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1726
Warning C4251 'c10::ClassType::constantValues_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1727
Warning C4251 'c10::ClassType::compilation_unit_': class 'std::weak_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1729
Warning C4251 'c10::ClassType::parameterSlots_': class 'std::shared_ptr<std::vector<T,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1733
Warning C4251 'c10::ClassType::methods_': class 'std::vector<torch::jit::Function *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1736
Warning C4251 'c10::InterfaceType::methods_': class 'std::shared_ptr<std::vector<c10::FunctionSchema,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::InterfaceType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1791
Warning C4251 'c10::KernelFunction::functorFactory_': class 'std::function<std::unique_ptr<c10::OperatorKernel,std::default_delete<_Ty>> (void)>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction.h 231
Warning C4251 'c10::KernelFunction::functor_': class 'std::shared_ptr<c10::OperatorKernel>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction.h 232
Warning C4251 'c10::DispatchKeyExtractor::operatorHasKernelForBackend_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::DispatchKeyExtractor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatchkeyextractor.h 164
Warning C4251 'c10::Dispatcher::operators_': class 'std::list<c10::Dispatcher::OperatorDef,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 144
Warning C4251 'c10::Dispatcher::operatorLookupTable_': class 'c10::LeftRight<ska::flat_hash_map<c10::OperatorName,c10::OperatorHandle,std::hash<c10::OperatorName>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 145
Warning C4251 'c10::Dispatcher::backendFallbackKernels_': class 'c10::impl::KernelFunctionTable' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 146
Warning C4251 'c10::Dispatcher::backendsWithoutFallthrough_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 150
Warning C4251 'c10::Dispatcher::listeners_': class 'std::unique_ptr<c10::detail::RegistrationListenerList,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 151
Warning C4251 'c10::Dispatcher::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 152
Warning C4251 'c10::OperatorHandle::operatorIterator_': class 'std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' needs to have dll-interface to be used by clients of class 'c10::OperatorHandle' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 194
Warning C4251 'at::CPUGenerator::engine_': class 'at::mt19937_engine' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 31
Warning C4251 'at::CPUGenerator::next_float_normal_sample_': class 'c10::optional<float>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 32
Warning C4251 'at::CPUGenerator::next_double_normal_sample_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 33
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\stream.h 135
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\stream.h 135
Warning C4251 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 124
Warning C4251 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 125
Warning C4251 'at::Context::quantized_engine': class 'c10::optional<c10::QEngine>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 130
Warning C4251 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 131
Warning C4251 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 132
Warning C4251 'at::TensorGeometry::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensorgeometry.h 56
Warning C4251 'at::TensorGeometry::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensorgeometry.h 57
Warning C4251 'at::namedinference::TensorName::origin_': class 'c10::ArrayRef<at::Dimname>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorName' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensornames.h 40
Warning C4251 'at::namedinference::TensorNames::names_': class 'c10::SmallVector<at::namedinference::TensorName,10>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorNames' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensornames.h 70
Warning C4251 'torch::autograd::AutogradMeta::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 180
Warning C4251 'torch::autograd::AutogradMeta::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 183
Warning C4251 'torch::autograd::AutogradMeta::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 184
Warning C4251 'torch::autograd::AutogradMeta::hooks_': class 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 186
Warning C4251 'torch::autograd::AutogradMeta::cpp_hooks_list': class 'std::shared_ptr<torch::autograd::hooks_list>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 187
Warning C4251 'torch::autograd::AutogradMeta::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 203
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 107
Warning C4251 'torch::jit::GraphAttr::value_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 121
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphsAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 124
Warning C4251 'torch::jit::GraphsAttr::value_': class 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphsAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 138
Warning C4251 'torch::jit::SourceRange::source_': class 'std::shared_ptr<torch::jit::Source>' needs to have dll-interface to be used by clients of struct 'torch::jit::SourceRange' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\source_range.h 169
Warning C4251 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\scope.h 25
Warning C4251 'torch::jit::InlinedCallStack::callee_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::InlinedCallStack' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\scope.h 87
Warning C4275 non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\constants.h 20
Warning C4251 'torch::jit::Operator::schema_string_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 175
Warning C4251 'torch::jit::Operator::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 179
Warning C4251 'torch::jit::Operator::op_': class 'std::shared_ptr<torch::jit::Operation>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 183
Warning C4251 'torch::jit::Operator::c10Handle_': class 'c10::optional<c10::OperatorHandle>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 185
Warning C4251 'torch::jit::Operator::options_': struct 'c10::OperatorOptions' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 186
Warning C4251 'torch::jit::Node::inputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 257
Warning C4251 'torch::jit::Node::outputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 258
Warning C4251 'torch::jit::Node::blocks_': class 'std::vector<torch::jit::Block *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 260
Warning C4251 'torch::jit::Node::source_range_': class 'c10::optional<torch::jit::SourceRange>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 263
Warning C4251 'torch::jit::Node::scope_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 264
Warning C4251 'torch::jit::Node::callstack_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 265
Warning C4251 'torch::jit::Node::values_': class 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 791
Warning C4251 'torch::jit::ArgumentSpecCreator::instructions_': class 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::ArgumentSpecCreator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 201
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 234
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 237
Warning C4267 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 237
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 242
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 262
Warning C4267 'argument': conversion from 'size_t' to 'const int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 430
Warning C4251 'torch::jit::Code::pImpl': class 'std::shared_ptr<torch::jit::CodeImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::Code' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\interpreter.h 58
Warning C4251 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr<torch::jit::GraphExecutorImplBase>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\graph_executor.h 66
Warning C4251 'torch::jit::Function::name_': struct 'c10::QualifiedName' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 107
Warning C4251 'torch::jit::Function::graph_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 109
Warning C4251 'torch::jit::Function::optimized_graph_': class 'c10::optional<std::shared_ptr<torch::jit::Graph>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 114
Warning C4251 'torch::jit::Function::compile_mutex': class 'std::recursive_mutex' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 122
Warning C4251 'torch::jit::Function::function_creator_': class 'std::function<void (torch::jit::Function &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 129
Warning C4251 'torch::jit::Function::schema_': class 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 134
Warning C4251 'torch::jit::script::Method::owner_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\method.h 57
Warning C4251 'torch::jit::script::Object::_ivalue_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\object.h 131
Warning C4251 'std::enable_shared_from_this<torch::jit::tracer::TracingState>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::tracer::TracingState>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 45
Warning C4251 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 49
Warning C4251 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 53
Warning C4251 'torch::jit::tracer::TracingState::env_stack': class 'std::vector<torch::jit::tracer::TracingState::Frame,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 85
Warning C4251 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 181
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 292
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 299
Warning C4251 'torch::data::samplers::DistributedRandomSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedRandomSampler' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\data\samplers\distributed.h 96
Warning C4251 'torch::data::samplers::DistributedSequentialSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedSequentialSampler' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\data\samplers\distributed.h 129
Warning C4251 'torch::jit::script::CompilationUnit::functions_': class 'std::vector<std::unique_ptr<torch::jit::Function,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 255
Warning C4251 'torch::jit::script::CompilationUnit::dict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 257
Warning C4251 'torch::jit::script::CompilationUnit::classDict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 258
Warning C4251 'torch::jit::script::CompilationUnit::classes_': class 'std::vector<c10::NamedTypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 265
Warning C4251 'torch::serialize::InputArchive::hierarchy_prefix_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\serialize\input-archive.h 112
Warning C4251 'torch::serialize::OutputArchive::cu_': class 'std::shared_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\serialize\output-archive.h 78
Warning C4251 'std::enable_shared_from_this<torch::nn::Module>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::nn::Module>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 62
Warning C4251 'torch::nn::Module::parameters_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 557
Warning C4251 'torch::nn::Module::buffers_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 560
Warning C4251 'torch::nn::Module::children_': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 563
Warning C4251 'torch::nn::Module::name_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 566
Warning C4251 'torch::nn::BatchNormOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::BatchNormOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 25
Warning C4251 'torch::nn::functional::BatchNormFuncOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::BatchNormFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 56
Warning C4251 'torch::nn::EmbeddingOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 20
Warning C4251 'torch::nn::EmbeddingOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 22
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 41
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 43
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 58
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 60
Warning C4251 'torch::nn::EmbeddingBagOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 84
Warning C4251 'torch::nn::EmbeddingBagOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 92
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 112
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 120
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 139
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 147
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 109
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 109
Warning C4251 'torch::nn::FoldOptions::output_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 21
Warning C4251 'torch::nn::FoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 24
Warning C4251 'torch::nn::FoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 28
Warning C4251 'torch::nn::FoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 32
Warning C4251 'torch::nn::FoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 35
Warning C4251 'torch::nn::UnfoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 48
Warning C4251 'torch::nn::UnfoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 52
Warning C4251 'torch::nn::UnfoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 56
Warning C4251 'torch::nn::UnfoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 59
Warning C4251 'torch::nn::functional::SoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftmaxFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 110
Warning C4251 'torch::nn::functional::SoftminFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftminFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 138
Warning C4251 'torch::nn::functional::LogSoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LogSoftmaxFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 166
Warning C4244 '=': conversion from 'const T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 415
Warning C4244 '=': conversion from 'const T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 437
Warning C4244 '=': conversion from 'T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 447
Warning C4251 'torch::nn::L1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::L1LossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 19
Warning C4251 'torch::nn::KLDivLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kBatchMean,torch::enumtype::kSum,torch::enumtype::kMean>' needs to have dll-interface to be used by clients of struct 'torch::nn::KLDivLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 34
Warning C4251 'torch::nn::MSELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MSELossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 49
Warning C4251 'torch::nn::BCELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCELossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 64
Warning C4251 'torch::nn::HingeEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::HingeEmbeddingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 79
Warning C4251 'torch::nn::MultiMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 103
Warning C4251 'torch::nn::CosineEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CosineEmbeddingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 119
Warning C4251 'torch::nn::MultiLabelMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 136
Warning C4251 'torch::nn::SoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SoftMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 153
Warning C4251 'torch::nn::MultiLabelSoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelSoftMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 173
Warning C4251 'torch::nn::TripletMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::TripletMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 195
Warning C4251 'torch::nn::CTCLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CTCLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 209
Warning C4251 'torch::nn::SmoothL1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SmoothL1LossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 230
Warning C4251 'torch::nn::PoissonNLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::PoissonNLLLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 251
Warning C4251 'torch::nn::MarginRankingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MarginRankingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 265
Warning C4251 'torch::nn::NLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::NLLLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 284
Warning C4251 'torch::nn::CrossEntropyLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CrossEntropyLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 302
Warning C4251 'torch::nn::BCEWithLogitsLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCEWithLogitsLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 316
Warning C4251 'torch::nn::LayerNormOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::LayerNormOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 16
Warning C4251 'torch::nn::functional::LayerNormFuncOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LayerNormFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 33
Warning C4251 'torch::nn::functional::NormalizeFuncOptions::out_': class 'c10::optional<at::Tensor>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::NormalizeFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 95
Warning C4251 'torch::nn::ReflectionPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ZeroPad2dOptions::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ZeroPad2dOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 65
Warning C4251 'torch::nn::ConstantPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::functional::PadFuncOptions::pad_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 111
Warning C4251 'torch::nn::functional::PadFuncOptions::mode_': class 'c10::variant<torch::enumtype::kConstant,torch::enumtype::kReflect,torch::enumtype::kReplicate,torch::enumtype::kCircular>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 114
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\pooling.h 651
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\pooling.h 652
Warning C4251 'torch::nn::UpsampleOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 18
Warning C4251 'torch::nn::UpsampleOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 21
Warning C4251 'torch::nn::UpsampleOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 31
Warning C4251 'torch::nn::UpsampleOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 37
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 53
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 56
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear,torch::enumtype::kArea>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 60
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 71
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::mode_': class 'c10::variant<torch::enumtype::kBilinear,torch::enumtype::kNearest>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 18
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::padding_mode_': class 'c10::variant<torch::enumtype::kZeros,torch::enumtype::kBorder,torch::enumtype::kReflection>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 20
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 22
Warning C4251 'torch::nn::FunctionalImpl::function_': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\container\functional.h 94
Warning C4251 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 115
Warning C4251 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 138
Warning C4251 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 161
Warning C4251 'torch::nn::ConvNdImpl<1,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 249
Warning C4251 'torch::nn::ConvNdImpl<2,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 291
Warning C4251 'torch::nn::ConvNdImpl<3,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 333
Warning C4251 'torch::nn::ReflectionPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReflectionPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<3>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ConstantPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<3>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>::options': struct 'torch::nn::AvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>::options': struct 'torch::nn::AvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>::options': struct 'torch::nn::AvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>::options': struct 'torch::nn::MaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>::options': struct 'torch::nn::MaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>::options': struct 'torch::nn::MaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::FractionalMaxPool2dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool2dImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 423
Warning C4251 'torch::nn::FractionalMaxPool3dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool3dImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 455
Warning C4251 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>::options': struct 'torch::nn::LPPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>::options': struct 'torch::nn::LPPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<Derived>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::MultiheadAttentionImpl::out_proj': class 'torch::nn::Linear' needs to have dll-interface to be used by clients of class 'torch::nn::MultiheadAttentionImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\activation.h 539
Warning C4251 'torch::autograd::profiler::StringView::owned_str_ptr_': class 'std::shared_ptr<std::string>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::StringView' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\record_function.h 39
Warning C4251 'torch::autograd::profiler::RecordFunction::inputs_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\record_function.h 130
Warning C4251 'torch::autograd::profiler::Event::shapes_': class 'std::vector<std::vector<int64_t,std::allocator<_Ty>>,std::allocator<std::vector<_Ty,std::allocator<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::Event' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\profiler.h 174
Warning C4251 'torch::autograd::profiler::RecordProfile::file_': class 'std::unique_ptr<std::ofstream,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordProfile' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\profiler.h 251
Warning C4251 'torch::autograd::SavedVariable::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 46
Warning C4251 'torch::autograd::SavedVariable::weak_grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 49
Warning C4251 'torch::autograd::SavedVariable::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 50
Warning C4251 'std::enable_shared_from_this<torch::autograd::Node>::_Wptr': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::autograd::Node>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 87
Warning C4251 'torch::autograd::Node::next_edges_': class 'std::vector<torch::autograd::Edge,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 350
Warning C4251 'torch::autograd::Node::anomaly_metadata_': class 'std::unique_ptr<torch::autograd::AnomalyMetadata,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 352
Warning C4251 'torch::autograd::Node::pre_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPreHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 353
Warning C4251 'torch::autograd::Node::post_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPostHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 354
Warning C4251 'torch::autograd::Node::input_metadata_': class 'c10::SmallVector<torch::autograd::InputMetadata,2>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 355
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 140
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 146
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 153
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 159
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 214
Warning C4251 'torch::autograd::AutogradContext::saved_data': class 'ska::flat_hash_map<std::string,c10::IValue,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 84
Warning C4251 'torch::autograd::AutogradContext::non_differentiable_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 105
Warning C4251 'torch::autograd::AutogradContext::dirty_inputs_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 106
Warning C4251 'torch::autograd::AutogradContext::saved_variables_': class 'std::vector<torch::autograd::SavedVariable,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 107
Warning C4251 'torch::autograd::AutogradContext::to_save_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 108
Warning C4251 'torch::autograd::AutogradContext::grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 113
Warning C4251 'torch::autograd::VariableInfo::size': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::VariableInfo' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 129
Warning C4251 'torch::optim::OptimizerParamGroup::params_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::OptimizerParamGroup' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 80
Warning C4251 'torch::optim::OptimizerParamGroup::options_': class 'std::unique_ptr<torch::optim::OptimizerOptions,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::OptimizerParamGroup' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 81
Warning C4251 'torch::optim::detail::OptimizerBase::param_groups_': class 'std::vector<torch::optim::OptimizerParamGroup,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 152
Warning C4251 'torch::optim::detail::OptimizerBase::state_': class 'ska::flat_hash_map<std::string,std::unique_ptr<torch::optim::OptimizerParamState,std::default_delete<_Ty>>,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 153
Warning C4251 'torch::optim::detail::OptimizerBase::defaults_': class 'std::unique_ptr<torch::optim::OptimizerOptions,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 154
Warning C4251 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 175
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adagrad.h 47
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 31
Warning C4251 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 45
Warning C4251 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 46
Warning C4251 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 47
Warning C4251 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 48
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 22
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 23
Warning C4275 non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 27
Warning C4251 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 48
Warning C4251 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 49
Warning C4251 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 50
Warning C4251 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 51
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 34
Warning C4251 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 50
Warning C4251 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 51
Warning C4251 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 52
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\sgd.h 32
Warning C4251 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\sgd.h 47
Warning C4244 'argument': conversion from '_Ty' to 'T', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\optional.h 341
Warning C4018 '>': signed/unsigned mismatch LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half.h 438
Warning C4244 'argument': conversion from 'src_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from '_Ty' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<double>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Error C2672 'c10::impl::boxAndCallBoxedFunc': no matching overloaded function found LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70
Error C2770 invalid explicit template argument(s) for 'Result c10::impl::boxAndCallBoxedFunc(c10::KernelFunction::InternalBoxedKernelFunction (__cdecl *),c10::OperatorKernel *,const c10::OperatorHandle &,Args...,enable_if<_Test,_Ty>::type)' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70
Error C2893 Failed to specialize function template 'Result c10::impl::boxAndCallBoxedFunc(c10::KernelFunction::InternalBoxedKernelFunction (__cdecl *),c10::OperatorKernel *,const c10::OperatorHandle &,Args...,enable_if<_Test,_Ty>::type)' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70 "><pre class="notranslate"><code class="notranslate">
Severity Code Description Project File Line Suppression State
Warning C4251 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\allocator.h 183
Error (active) E1866 attribute does not apply to any entity LibTorch-nightly-example C:\Users\XX\Documents\libtorch-nightly\include\c10\util\ArrayRef.h 278
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 28
Warning C4251 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 29
Warning C4251 'c10::Error::backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 30
Warning C4251 'c10::Error::msg_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 35
Warning C4251 'c10::Error::msg_without_backtrace_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::Error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\exception.h 36
Warning C4251 'c10::DataPtr::ptr_': class 'c10::detail::UniqueVoidPtr' needs to have dll-interface to be used by clients of class 'c10::DataPtr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\allocator.h 21
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 172
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 175
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 178
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 181
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 185
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 188
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 191
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 194
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 200
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 203
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 206
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 209
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 213
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 216
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 219
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half-inl.h 222
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 148
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 151
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 154
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 157
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 161
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 164
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 167
Warning C4244 'argument': conversion from 'int' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 170
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 176
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 179
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 182
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 185
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 189
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 192
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 195
Warning C4244 'argument': conversion from 'int64_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\bfloat16-inl.h 198
Warning C4251 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>::id_': struct 'c10::util::type_index' needs to have dll-interface to be used by clients of class 'c10::IdWrapper<caffe2::TypeIdentifier,c10::util::type_index>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typeid.h 68
Warning C4251 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 66
Warning C4251 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic<unsigned __int64>' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 67
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 721
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\intrusive_ptr.h 752
Warning C4251 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::Storage' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\storage.h 181
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 550
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 556
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 563
Warning C4267 'return': conversion from 'size_t' to 'unsigned int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\llvmmathextras.h 569
Warning C4251 'c10::impl::LocalDispatchKeySet::included_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalDispatchKeySet' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\impl\localdispatchkeyset.h 53
Warning C4251 'c10::impl::LocalDispatchKeySet::excluded_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::impl::LocalDispatchKeySet' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\impl\localdispatchkeyset.h 54
Warning C4251 'c10::MessageLogger::stream_': class 'std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\logging_is_not_google_glog.h 47
Warning C4251 'c10::VariableVersion::version_counter_': class 'c10::intrusive_ptr<c10::VariableVersion::VersionCounter,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'c10::VariableVersion' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 224
Warning C4251 'c10::TensorImpl::autograd_meta_': class 'std::unique_ptr<c10::AutogradMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1537
Warning C4251 'c10::TensorImpl::named_tensor_meta_': class 'std::unique_ptr<c10::NamedTensorMetaInterface,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1540
Warning C4251 'c10::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1562
Warning C4251 'c10::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1563
Warning C4251 'c10::TensorImpl::device_opt_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1588
Warning C4251 'c10::TensorImpl::key_set_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::TensorImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1593
Warning C4244 'argument': conversion from 'float' to 'const _Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 992
Warning C4244 'initializing': conversion from 'int64_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\tensorimpl.h 1344
Warning C4251 'at::DeprecatedTypePropertiesRegistry::registry': class 'std::unique_ptr<at::DeprecatedTypeProperties,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::DeprecatedTypePropertiesRegistry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\deprecatedtypepropertiesregistry.h 26
Warning C4251 'at::Generator::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\generator.h 76
Warning C4251 'at::Generator::key_set_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'at::Generator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\generator.h 82
Warning C4251 'at::NamedTensorMeta::names_': class 'std::vector<at::Dimname,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::NamedTensorMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\namedtensor.h 51
Warning C4251 'at::Tensor::impl_': class 'c10::intrusive_ptr<c10::TensorImpl,c10::UndefinedTensorImpl>' needs to have dll-interface to be used by clients of class 'at::Tensor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\tensorbody.h 1018
Warning C4522 'at::Tensor': multiple assignment operators specified LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\tensorbody.h 1019
Warning C4244 'argument': conversion from 'int64_t' to 'const _Kty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dict_inl.h 63
Warning C4251 'c10::ivalue::ConstantString::str_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 126
Warning C4251 'c10::ivalue::Tuple::elements_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 146
Warning C4251 'c10::ivalue::Tuple::type_': class 'std::shared_ptr<c10::TupleType>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Tuple' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 147
Warning C4275 non dll-interface class 'std::exception' used as base for dll-interface struct 'c10::ivalue::Future::FutureError' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 209
Warning C4251 'c10::ivalue::Future::FutureError::error_msg': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future::FutureError' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 219
Warning C4251 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 310
Warning C4251 'c10::ivalue::Future::completed_': struct 'std::atomic<bool>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 311
Warning C4251 'c10::ivalue::Future::finished_cv_': class 'std::condition_variable' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 312
Warning C4251 'c10::ivalue::Future::type_': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 315
Warning C4251 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 316
Warning C4251 'c10::ivalue::Object::type_': struct 'c10::StrongTypePtr' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 401
Warning C4251 'c10::ivalue::Object::slots_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 402
Warning C4244 'return': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 450
Warning C4244 'return': conversion from 'int64_t' to 'unsigned char', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 452
Warning C4244 'return': conversion from 'int64_t' to 'signed char', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 453
Warning C4244 'return': conversion from 'int64_t' to 'unsigned short', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 454
Warning C4244 'return': conversion from 'int64_t' to 'short', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 455
Warning C4244 'return': conversion from 'int64_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 456
Warning C4244 'return': conversion from 'int64_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 457
Warning C4244 'return': conversion from 'int64_t' to 'c10::detail::_guarded_unsigned_long', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\ivalue_inl.h 459
Warning C4251 'std::enable_shared_from_this<c10::Type>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<c10::Type>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 69
Warning C4251 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::OptionalType,c10::OptionalType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 245
Warning C4251 'c10::VaryingShape::dims_': class 'c10::optional<c10::VaryingShape::ListOfOptionalInts>' needs to have dll-interface to be used by clients of struct 'c10::VaryingShape' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 374
Warning C4251 'c10::TensorType::scalar_type_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 626
Warning C4251 'c10::TensorType::device_': class 'c10::optional<c10::Device>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 627
Warning C4251 'c10::TensorType::requires_grad_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 630
Warning C4251 'c10::TensorType::undefined_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'c10::TensorType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 642
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 483
Warning C4267 'argument': conversion from 'size_t' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 486
Warning C4251 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::ListType,c10::ListType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 648
Warning C4251 'c10::DictType::types': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::DictType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 758
Warning C4251 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>::elem': class 'std::shared_ptr<c10::Type>' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType<c10::TypeKind::FutureType,c10::FutureType>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 766
Warning C4251 'c10::NamedType::name_': class 'c10::optional<c10::QualifiedName>' needs to have dll-interface to be used by clients of struct 'c10::NamedType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 807
Warning C4251 'c10::TupleType::elements_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 889
Warning C4251 'c10::TupleType::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'c10::TupleType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 891
Warning C4251 'c10::ClassType::attributeNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1723
Warning C4251 'c10::ClassType::attributeTypes_': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1724
Warning C4251 'c10::ClassType::constantNames_': class 'std::vector<std::string,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1726
Warning C4251 'c10::ClassType::constantValues_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1727
Warning C4251 'c10::ClassType::compilation_unit_': class 'std::weak_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1729
Warning C4251 'c10::ClassType::parameterSlots_': class 'std::shared_ptr<std::vector<T,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1733
Warning C4251 'c10::ClassType::methods_': class 'std::vector<torch::jit::Function *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ClassType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1736
Warning C4251 'c10::InterfaceType::methods_': class 'std::shared_ptr<std::vector<c10::FunctionSchema,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of struct 'c10::InterfaceType' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\jit_type.h 1791
Warning C4251 'c10::KernelFunction::functorFactory_': class 'std::function<std::unique_ptr<c10::OperatorKernel,std::default_delete<_Ty>> (void)>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction.h 231
Warning C4251 'c10::KernelFunction::functor_': class 'std::shared_ptr<c10::OperatorKernel>' needs to have dll-interface to be used by clients of class 'c10::KernelFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction.h 232
Warning C4251 'c10::DispatchKeyExtractor::operatorHasKernelForBackend_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of struct 'c10::DispatchKeyExtractor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatchkeyextractor.h 164
Warning C4251 'c10::Dispatcher::operators_': class 'std::list<c10::Dispatcher::OperatorDef,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 144
Warning C4251 'c10::Dispatcher::operatorLookupTable_': class 'c10::LeftRight<ska::flat_hash_map<c10::OperatorName,c10::OperatorHandle,std::hash<c10::OperatorName>,std::equal_to<K>,std::allocator<std::pair<K,V>>>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 145
Warning C4251 'c10::Dispatcher::backendFallbackKernels_': class 'c10::impl::KernelFunctionTable' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 146
Warning C4251 'c10::Dispatcher::backendsWithoutFallthrough_': class 'c10::DispatchKeySet' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 150
Warning C4251 'c10::Dispatcher::listeners_': class 'std::unique_ptr<c10::detail::RegistrationListenerList,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 151
Warning C4251 'c10::Dispatcher::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::Dispatcher' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 152
Warning C4251 'c10::OperatorHandle::operatorIterator_': class 'std::_List_iterator<std::_List_val<std::_List_simple_types<_Ty>>>' needs to have dll-interface to be used by clients of class 'c10::OperatorHandle' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\dispatch\dispatcher.h 194
Warning C4251 'at::CPUGenerator::engine_': class 'at::mt19937_engine' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 31
Warning C4251 'at::CPUGenerator::next_float_normal_sample_': class 'c10::optional<float>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 32
Warning C4251 'at::CPUGenerator::next_double_normal_sample_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'at::CPUGenerator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\cpugenerator.h 33
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\stream.h 135
Warning C4244 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\core\stream.h 135
Warning C4251 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 124
Warning C4251 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 125
Warning C4251 'at::Context::quantized_engine': class 'c10::optional<c10::QEngine>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 130
Warning C4251 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 131
Warning C4251 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\context.h 132
Warning C4251 'at::TensorGeometry::sizes_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensorgeometry.h 56
Warning C4251 'at::TensorGeometry::strides_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensorgeometry.h 57
Warning C4251 'at::namedinference::TensorName::origin_': class 'c10::ArrayRef<at::Dimname>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorName' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensornames.h 40
Warning C4251 'at::namedinference::TensorNames::names_': class 'c10::SmallVector<at::namedinference::TensorName,10>' needs to have dll-interface to be used by clients of struct 'at::namedinference::TensorNames' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\tensornames.h 70
Warning C4251 'torch::autograd::AutogradMeta::name_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 180
Warning C4251 'torch::autograd::AutogradMeta::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 183
Warning C4251 'torch::autograd::AutogradMeta::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 184
Warning C4251 'torch::autograd::AutogradMeta::hooks_': class 'std::vector<std::shared_ptr<torch::autograd::FunctionPreHook>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 186
Warning C4251 'torch::autograd::AutogradMeta::cpp_hooks_list': class 'std::shared_ptr<torch::autograd::hooks_list>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 187
Warning C4251 'torch::autograd::AutogradMeta::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradMeta' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\variable.h 203
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 107
Warning C4251 'torch::jit::GraphAttr::value_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 121
Warning C4275 non dll-interface struct 'torch::jit::AttributeValue' used as base for dll-interface struct 'torch::jit::GraphsAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 124
Warning C4251 'torch::jit::GraphsAttr::value_': class 'std::vector<std::shared_ptr<torch::jit::Graph>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphsAttr' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\attributes.h 138
Warning C4251 'torch::jit::SourceRange::source_': class 'std::shared_ptr<torch::jit::Source>' needs to have dll-interface to be used by clients of struct 'torch::jit::SourceRange' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\source_range.h 169
Warning C4251 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\scope.h 25
Warning C4251 'torch::jit::InlinedCallStack::callee_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::InlinedCallStack' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\scope.h 87
Warning C4275 non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\constants.h 20
Warning C4251 'torch::jit::Operator::schema_string_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 175
Warning C4251 'torch::jit::Operator::schema_': class 'std::shared_ptr<c10::FunctionSchema>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 179
Warning C4251 'torch::jit::Operator::op_': class 'std::shared_ptr<torch::jit::Operation>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 183
Warning C4251 'torch::jit::Operator::c10Handle_': class 'c10::optional<c10::OperatorHandle>' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 185
Warning C4251 'torch::jit::Operator::options_': struct 'c10::OperatorOptions' needs to have dll-interface to be used by clients of struct 'torch::jit::Operator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\operator.h 186
Warning C4251 'torch::jit::Node::inputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 257
Warning C4251 'torch::jit::Node::outputs_': class 'std::vector<torch::jit::Value *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 258
Warning C4251 'torch::jit::Node::blocks_': class 'std::vector<torch::jit::Block *,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 260
Warning C4251 'torch::jit::Node::source_range_': class 'c10::optional<torch::jit::SourceRange>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 263
Warning C4251 'torch::jit::Node::scope_': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 264
Warning C4251 'torch::jit::Node::callstack_': class 'c10::optional<torch::jit::InlinedCallStackPtr>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 265
Warning C4251 'torch::jit::Node::values_': class 'std::vector<torch::jit::Node::AVPtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\ir.h 791
Warning C4251 'torch::jit::ArgumentSpecCreator::instructions_': class 'std::vector<torch::jit::ArgumentSpecCreator::Inst,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::ArgumentSpecCreator' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 201
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 234
Warning C4267 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 237
Warning C4267 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 237
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 242
Warning C4244 '+=': conversion from 'int64_t' to 'int32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 262
Warning C4267 'argument': conversion from 'size_t' to 'const int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\argument_spec.h 430
Warning C4251 'torch::jit::Code::pImpl': class 'std::shared_ptr<torch::jit::CodeImpl>' needs to have dll-interface to be used by clients of struct 'torch::jit::Code' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\interpreter.h 58
Warning C4251 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr<torch::jit::GraphExecutorImplBase>' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\graph_executor.h 66
Warning C4251 'torch::jit::Function::name_': struct 'c10::QualifiedName' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 107
Warning C4251 'torch::jit::Function::graph_': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 109
Warning C4251 'torch::jit::Function::optimized_graph_': class 'c10::optional<std::shared_ptr<torch::jit::Graph>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 114
Warning C4251 'torch::jit::Function::compile_mutex': class 'std::recursive_mutex' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 122
Warning C4251 'torch::jit::Function::function_creator_': class 'std::function<void (torch::jit::Function &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 129
Warning C4251 'torch::jit::Function::schema_': class 'std::unique_ptr<c10::FunctionSchema,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::Function' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\function.h 134
Warning C4251 'torch::jit::script::Method::owner_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Method' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\method.h 57
Warning C4251 'torch::jit::script::Object::_ivalue_': class 'c10::intrusive_ptr<c10::ivalue::Object,c10::detail::intrusive_target_default_null_type<TTarget>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::Object' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\object.h 131
Warning C4251 'std::enable_shared_from_this<torch::jit::tracer::TracingState>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::jit::tracer::TracingState>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 45
Warning C4251 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr<torch::jit::Graph>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 49
Warning C4251 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 53
Warning C4251 'torch::jit::tracer::TracingState::env_stack': class 'std::vector<torch::jit::tracer::TracingState::Frame,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 85
Warning C4251 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 181
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 292
Warning C4273 'torch::jit::tracer::addInputs': inconsistent dll linkage LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\tracer.h 299
Warning C4251 'torch::data::samplers::DistributedRandomSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedRandomSampler' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\data\samplers\distributed.h 96
Warning C4251 'torch::data::samplers::DistributedSequentialSampler::all_indices_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::data::samplers::DistributedSequentialSampler' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\data\samplers\distributed.h 129
Warning C4251 'torch::jit::script::CompilationUnit::functions_': class 'std::vector<std::unique_ptr<torch::jit::Function,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 255
Warning C4251 'torch::jit::script::CompilationUnit::dict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 257
Warning C4251 'torch::jit::script::CompilationUnit::classDict_': class 'std::unordered_map<c10::QualifiedName,size_t,std::hash<c10::QualifiedName>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 258
Warning C4251 'torch::jit::script::CompilationUnit::classes_': class 'std::vector<c10::NamedTypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::CompilationUnit' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\jit\script\compilation_unit.h 265
Warning C4251 'torch::serialize::InputArchive::hierarchy_prefix_': class 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\serialize\input-archive.h 112
Warning C4251 'torch::serialize::OutputArchive::cu_': class 'std::shared_ptr<torch::jit::script::CompilationUnit>' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\serialize\output-archive.h 78
Warning C4251 'std::enable_shared_from_this<torch::nn::Module>::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::nn::Module>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 62
Warning C4251 'torch::nn::Module::parameters_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 557
Warning C4251 'torch::nn::Module::buffers_': class 'torch::OrderedDict<std::string,at::Tensor>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 560
Warning C4251 'torch::nn::Module::children_': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 563
Warning C4251 'torch::nn::Module::name_': class 'c10::optional<std::string>' needs to have dll-interface to be used by clients of class 'torch::nn::Module' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\module.h 566
Warning C4251 'torch::nn::BatchNormOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::BatchNormOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 25
Warning C4251 'torch::nn::functional::BatchNormFuncOptions::momentum_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::BatchNormFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\batchnorm.h 56
Warning C4251 'torch::nn::EmbeddingOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 20
Warning C4251 'torch::nn::EmbeddingOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 22
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 41
Warning C4251 'torch::nn::EmbeddingFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 43
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::padding_idx_': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 58
Warning C4251 'torch::nn::functional::EmbeddingFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 60
Warning C4251 'torch::nn::EmbeddingBagOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 84
Warning C4251 'torch::nn::EmbeddingBagOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 92
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 112
Warning C4251 'torch::nn::EmbeddingBagFromPretrainedOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::EmbeddingBagFromPretrainedOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 120
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::max_norm_': class 'c10::optional<double>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 139
Warning C4251 'torch::nn::functional::EmbeddingBagFuncOptions::mode_': class 'c10::variant<torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::EmbeddingBagFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\embedding.h 147
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 42
Warning C4244 'argument': conversion from 'double' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 109
Warning C4244 'argument': conversion from 'T' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\embedding.h 109
Warning C4251 'torch::nn::FoldOptions::output_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 21
Warning C4251 'torch::nn::FoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 24
Warning C4251 'torch::nn::FoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 28
Warning C4251 'torch::nn::FoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 32
Warning C4251 'torch::nn::FoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::FoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 35
Warning C4251 'torch::nn::UnfoldOptions::kernel_size_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 48
Warning C4251 'torch::nn::UnfoldOptions::dilation_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 52
Warning C4251 'torch::nn::UnfoldOptions::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 56
Warning C4251 'torch::nn::UnfoldOptions::stride_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::UnfoldOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\fold.h 59
Warning C4251 'torch::nn::functional::SoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftmaxFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 110
Warning C4251 'torch::nn::functional::SoftminFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::SoftminFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 138
Warning C4251 'torch::nn::functional::LogSoftmaxFuncOptions::dtype_': class 'c10::optional<c10::ScalarType>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LogSoftmaxFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\activation.h 166
Warning C4244 '=': conversion from 'const T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 415
Warning C4244 '=': conversion from 'const T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 437
Warning C4244 '=': conversion from 'T' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\activation.h 447
Warning C4251 'torch::nn::L1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::L1LossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 19
Warning C4251 'torch::nn::KLDivLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kBatchMean,torch::enumtype::kSum,torch::enumtype::kMean>' needs to have dll-interface to be used by clients of struct 'torch::nn::KLDivLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 34
Warning C4251 'torch::nn::MSELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MSELossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 49
Warning C4251 'torch::nn::BCELossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCELossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 64
Warning C4251 'torch::nn::HingeEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::HingeEmbeddingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 79
Warning C4251 'torch::nn::MultiMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 103
Warning C4251 'torch::nn::CosineEmbeddingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CosineEmbeddingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 119
Warning C4251 'torch::nn::MultiLabelMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 136
Warning C4251 'torch::nn::SoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SoftMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 153
Warning C4251 'torch::nn::MultiLabelSoftMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MultiLabelSoftMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 173
Warning C4251 'torch::nn::TripletMarginLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::TripletMarginLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 195
Warning C4251 'torch::nn::CTCLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CTCLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 209
Warning C4251 'torch::nn::SmoothL1LossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::SmoothL1LossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 230
Warning C4251 'torch::nn::PoissonNLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::PoissonNLLLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 251
Warning C4251 'torch::nn::MarginRankingLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::MarginRankingLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 265
Warning C4251 'torch::nn::NLLLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::NLLLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 284
Warning C4251 'torch::nn::CrossEntropyLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::CrossEntropyLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 302
Warning C4251 'torch::nn::BCEWithLogitsLossOptions::reduction_': class 'c10::variant<torch::enumtype::kNone,torch::enumtype::kMean,torch::enumtype::kSum>' needs to have dll-interface to be used by clients of struct 'torch::nn::BCEWithLogitsLossOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\loss.h 316
Warning C4251 'torch::nn::LayerNormOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::LayerNormOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 16
Warning C4251 'torch::nn::functional::LayerNormFuncOptions::normalized_shape_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::LayerNormFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 33
Warning C4251 'torch::nn::functional::NormalizeFuncOptions::out_': class 'c10::optional<at::Tensor>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::NormalizeFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\normalization.h 95
Warning C4251 'torch::nn::ReflectionPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ZeroPad2dOptions::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ZeroPad2dOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 65
Warning C4251 'torch::nn::ConstantPadOptions<D>::padding_': class 'torch::ExpandingArray<D*,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<D>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::functional::PadFuncOptions::pad_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 111
Warning C4251 'torch::nn::functional::PadFuncOptions::mode_': class 'c10::variant<torch::enumtype::kConstant,torch::enumtype::kReflect,torch::enumtype::kReplicate,torch::enumtype::kCircular>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::PadFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 114
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\pooling.h 651
Warning C4244 'initializing': conversion from '_Ty' to 'int', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\functional\pooling.h 652
Warning C4251 'torch::nn::UpsampleOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 18
Warning C4251 'torch::nn::UpsampleOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 21
Warning C4251 'torch::nn::UpsampleOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 31
Warning C4251 'torch::nn::UpsampleOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::UpsampleOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 37
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::size_': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 53
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::scale_factor_': class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 56
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::mode_': class 'c10::variant<torch::enumtype::kNearest,torch::enumtype::kLinear,torch::enumtype::kBilinear,torch::enumtype::kBicubic,torch::enumtype::kTrilinear,torch::enumtype::kArea>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 60
Warning C4251 'torch::nn::functional::InterpolateFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::InterpolateFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\upsampling.h 71
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::mode_': class 'c10::variant<torch::enumtype::kBilinear,torch::enumtype::kNearest>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 18
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::padding_mode_': class 'c10::variant<torch::enumtype::kZeros,torch::enumtype::kBorder,torch::enumtype::kReflection>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 20
Warning C4251 'torch::nn::functional::GridSampleFuncOptions::align_corners_': class 'c10::optional<bool>' needs to have dll-interface to be used by clients of struct 'torch::nn::functional::GridSampleFuncOptions' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\vision.h 22
Warning C4251 'torch::nn::FunctionalImpl::function_': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\container\functional.h 94
Warning C4251 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,torch::nn::Conv1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 115
Warning C4251 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,torch::nn::Conv2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 138
Warning C4251 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,torch::nn::Conv3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 161
Warning C4251 'torch::nn::ConvNdImpl<1,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<1,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 249
Warning C4251 'torch::nn::ConvNdImpl<2,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<2,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 291
Warning C4251 'torch::nn::ConvNdImpl<3,Derived>::options': struct 'torch::nn::detail::ConvNdOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvNdImpl<3,Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\conv.h 333
Warning C4251 'torch::nn::ReflectionPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReflectionPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReflectionPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 22
Warning C4251 'torch::nn::ReplicationPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ReplicationPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ReplicationPadOptions<3>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 44
Warning C4251 'torch::nn::ConstantPadOptions<1>::padding_': class 'torch::ExpandingArray<2,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<1>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<2>::padding_': class 'torch::ExpandingArray<4,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<2>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::ConstantPadOptions<3>::padding_': class 'torch::ExpandingArray<6,int64_t>' needs to have dll-interface to be used by clients of struct 'torch::nn::ConstantPadOptions<3>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\options\padding.h 81
Warning C4251 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>::options': struct 'torch::nn::AvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<1,torch::nn::AvgPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>::options': struct 'torch::nn::AvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<2,torch::nn::AvgPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>::options': struct 'torch::nn::AvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AvgPoolImpl<3,torch::nn::AvgPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 27
Warning C4251 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>::options': struct 'torch::nn::MaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<1,torch::nn::MaxPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>::options': struct 'torch::nn::MaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<2,torch::nn::MaxPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>::options': struct 'torch::nn::MaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxPoolImpl<3,torch::nn::MaxPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 97
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<1,torch::nn::AdaptiveMaxPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<2,torch::nn::AdaptiveMaxPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>::options': struct 'torch::nn::AdaptiveMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveMaxPoolImpl<3,torch::nn::AdaptiveMaxPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 179
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<1,torch::nn::AdaptiveAvgPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<2,torch::nn::AdaptiveAvgPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>::options': struct 'torch::nn::AdaptiveAvgPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::AdaptiveAvgPoolImpl<3,torch::nn::AdaptiveAvgPool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 267
Warning C4251 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<1,torch::nn::MaxUnpool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<2,torch::nn::MaxUnpool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>::options': struct 'torch::nn::MaxUnpoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::MaxUnpoolImpl<3,torch::nn::MaxUnpool3dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 343
Warning C4251 'torch::nn::FractionalMaxPool2dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool2dImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 423
Warning C4251 'torch::nn::FractionalMaxPool3dImpl::options': struct 'torch::nn::FractionalMaxPoolOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::FractionalMaxPool3dImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 455
Warning C4251 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>::options': struct 'torch::nn::LPPoolOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<1,torch::nn::LPPool1dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>::options': struct 'torch::nn::LPPoolOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::LPPoolImpl<2,torch::nn::LPPool2dImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\pooling.h 481
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<Derived>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<Derived>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<Derived>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::RNNImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::LSTMImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 71
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 73
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 75
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 77
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::cudnn_mode_': class 'c10::optional<torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 110
Warning C4251 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>::flat_weights_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase<torch::nn::GRUImpl>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\rnn.h 113
Warning C4251 'torch::nn::MultiheadAttentionImpl::out_proj': class 'torch::nn::Linear' needs to have dll-interface to be used by clients of class 'torch::nn::MultiheadAttentionImpl' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\nn\modules\activation.h 539
Warning C4251 'torch::autograd::profiler::StringView::owned_str_ptr_': class 'std::shared_ptr<std::string>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::StringView' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\record_function.h 39
Warning C4251 'torch::autograd::profiler::RecordFunction::inputs_': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordFunction' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\record_function.h 130
Warning C4251 'torch::autograd::profiler::Event::shapes_': class 'std::vector<std::vector<int64_t,std::allocator<_Ty>>,std::allocator<std::vector<_Ty,std::allocator<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::Event' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\profiler.h 174
Warning C4251 'torch::autograd::profiler::RecordProfile::file_': class 'std::unique_ptr<std::ofstream,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::profiler::RecordProfile' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\profiler.h 251
Warning C4251 'torch::autograd::SavedVariable::grad_fn_': class 'std::shared_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 46
Warning C4251 'torch::autograd::SavedVariable::weak_grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 49
Warning C4251 'torch::autograd::SavedVariable::grad_accumulator_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'torch::autograd::SavedVariable' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\saved_variable.h 50
Warning C4251 'std::enable_shared_from_this<torch::autograd::Node>::_Wptr': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this<torch::autograd::Node>' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 87
Warning C4251 'torch::autograd::Node::next_edges_': class 'std::vector<torch::autograd::Edge,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 350
Warning C4251 'torch::autograd::Node::anomaly_metadata_': class 'std::unique_ptr<torch::autograd::AnomalyMetadata,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 352
Warning C4251 'torch::autograd::Node::pre_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPreHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 353
Warning C4251 'torch::autograd::Node::post_hooks_': class 'std::vector<std::unique_ptr<torch::autograd::FunctionPostHook,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 354
Warning C4251 'torch::autograd::Node::input_metadata_': class 'c10::SmallVector<torch::autograd::InputMetadata,2>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Node' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 355
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 140
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 146
Warning C4267 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 153
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 159
Warning C4267 'return': conversion from 'size_t' to 'uint32_t', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\function.h 214
Warning C4251 'torch::autograd::AutogradContext::saved_data': class 'ska::flat_hash_map<std::string,c10::IValue,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 84
Warning C4251 'torch::autograd::AutogradContext::non_differentiable_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 105
Warning C4251 'torch::autograd::AutogradContext::dirty_inputs_': class 'std::unordered_set<c10::TensorImpl *,std::hash<c10::TensorImpl *>,std::equal_to<_Kty>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 106
Warning C4251 'torch::autograd::AutogradContext::saved_variables_': class 'std::vector<torch::autograd::SavedVariable,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 107
Warning C4251 'torch::autograd::AutogradContext::to_save_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 108
Warning C4251 'torch::autograd::AutogradContext::grad_fn_': class 'std::weak_ptr<torch::autograd::Node>' needs to have dll-interface to be used by clients of struct 'torch::autograd::AutogradContext' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 113
Warning C4251 'torch::autograd::VariableInfo::size': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::VariableInfo' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\autograd\custom_function.h 129
Warning C4251 'torch::optim::OptimizerParamGroup::params_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::OptimizerParamGroup' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 80
Warning C4251 'torch::optim::OptimizerParamGroup::options_': class 'std::unique_ptr<torch::optim::OptimizerOptions,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::OptimizerParamGroup' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 81
Warning C4251 'torch::optim::detail::OptimizerBase::param_groups_': class 'std::vector<torch::optim::OptimizerParamGroup,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 152
Warning C4251 'torch::optim::detail::OptimizerBase::state_': class 'ska::flat_hash_map<std::string,std::unique_ptr<torch::optim::OptimizerParamState,std::default_delete<_Ty>>,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<K,V>>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 153
Warning C4251 'torch::optim::detail::OptimizerBase::defaults_': class 'std::unique_ptr<torch::optim::OptimizerOptions,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 154
Warning C4251 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\optimizer.h 175
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adagrad.h 47
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 31
Warning C4251 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 45
Warning C4251 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 46
Warning C4251 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 47
Warning C4251 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\adam.h 48
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 22
Warning C4305 'initializing': truncation from 'double' to 'float' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 23
Warning C4275 non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 27
Warning C4251 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 48
Warning C4251 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 49
Warning C4251 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 50
Warning C4251 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\lbfgs.h 51
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 34
Warning C4251 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 50
Warning C4251 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 51
Warning C4251 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\rmsprop.h 52
Warning C4275 non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\sgd.h 32
Warning C4251 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\torch\csrc\api\include\torch\optim\sgd.h 47
Warning C4244 'argument': conversion from '_Ty' to 'T', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\optional.h 341
Warning C4018 '>': signed/unsigned mismatch LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\half.h 438
Warning C4244 'argument': conversion from 'src_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from '_Ty' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'float', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<double>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Warning C4244 'argument': conversion from 'src_t' to 'const std::complex<float>::_Ty', possible loss of data LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\c10\util\typecast.h 73
Error C2672 'c10::impl::boxAndCallBoxedFunc': no matching overloaded function found LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70
Error C2770 invalid explicit template argument(s) for 'Result c10::impl::boxAndCallBoxedFunc(c10::KernelFunction::InternalBoxedKernelFunction (__cdecl *),c10::OperatorKernel *,const c10::OperatorHandle &,Args...,enable_if<_Test,_Ty>::type)' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70
Error C2893 Failed to specialize function template 'Result c10::impl::boxAndCallBoxedFunc(c10::KernelFunction::InternalBoxedKernelFunction (__cdecl *),c10::OperatorKernel *,const c10::OperatorHandle &,Args...,enable_if<_Test,_Ty>::type)' LibTorch-nightly-example c:\users\XX\documents\libtorch-nightly\include\aten\core\boxing\kernelfunction_impl.h 70
</code></pre></div> | <p dir="auto">Duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="714174245" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/45809" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/45809/hovercard" href="https://github.com/pytorch/pytorch/issues/45809">#45809</a>, see if it will trigger the disable list update</p> | 0 |
<p dir="auto">I'm trying to fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118952199" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode-go/issues/103" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode-go/issues/103/hovercard" href="https://github.com/microsoft/vscode-go/issues/103">microsoft/vscode-go#103</a>, but as far as I can tell this isn't possible currently without tokenizing the whole file again in my extension and manually checking whether I'm in a comment to suprress providing results.</p>
<p dir="auto">It would be nice if the <code class="notranslate">CompletionItemProvider</code> provided a setting to suppress it's results when in certain tokens/scopes.</p>
<p dir="auto">The implementation of the <a href="https://github.com/Microsoft/vscode/blob/497788c0bcd20859f736d585b49c208af8dd518f/extensions/typescript/src/features/completionItemProvider.ts#L62">TypeScript completion provider</a> has an <code class="notranslate">excludeTokens</code> which seems to play this role but I can't get that to work in my own extension.</p> | <ul dir="auto">
<li>VSCode Version: 0.10.13-insider</li>
<li>OS Version: Windows 7 64-bit</li>
</ul>
<p dir="auto">It would be nice if the diff view in the select for compare can be used to edit both files being compared instead of just the file on the right side.</p>
<p dir="auto">It would make it easy to edit two very similar files at the same time, that only differ in certain parts.</p> | 0 |
<p dir="auto">Only in 4.x.</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] Feature request"><pre class="notranslate"><code class="notranslate">[x] Feature request</code></pre></div>
<h2 dir="auto">Current behavior</h2>
<p dir="auto">Currently, we set the view encapsulation at the component level.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Component({
selector: 'song-track',
encapsulation: ViewEncapsulation.Native
})"><pre class="notranslate"><code class="notranslate">@Component({
selector: 'song-track',
encapsulation: ViewEncapsulation.Native
})
</code></pre></div>
<p dir="auto">Meaning that if I want to use native Shadow DOM throughout my app, I have to add that bit of configuration to every single component.</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">It would be great if I could set it at the module level.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@NgModule({
imports: [...],
declarations: [...],
providers: [
...
{ provide: ViewEncapsulationMode, useValue: ViewEncapsulation.Native },
...
],
bootstrap: [AppComponent]
})
export class AppModule { }"><pre class="notranslate"><code class="notranslate">@NgModule({
imports: [...],
declarations: [...],
providers: [
...
{ provide: ViewEncapsulationMode, useValue: ViewEncapsulation.Native },
...
],
bootstrap: [AppComponent]
})
export class AppModule { }
</code></pre></div>
<h2 dir="auto">What is the motivation / use case for changing the behavior?</h2>
<p dir="auto">Simply to make my life easier and make the framework a bit more friendly to use.</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.356
Windows Terminal version: 0.5.2762"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.356
Windows Terminal version: 0.5.2762
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">After some action (not reproducible - call stack not analyzed previously, so I don't know if it's always the same) the postmortem WinDbg is triggered.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">No crash.</p>
<h1 dir="auto">Actual behavior</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_TerminalControl.dll!Unknown
BUGCHECK_STR: APPLICATION_FAULT_NULL_POINTER_READ_INVALID_POINTER_READ
STACK_TEXT:
00000091`1fd7f4e0 00007ffa`fff78aec : 00000285`7d213230 00000000`00000012 00000000`00000000 00007ffb`6c0ffc2c : TerminalControl+0x7ea1
00000091`1fd7f550 00007ffb`65c35ef1 : 00000000`00000000 00000285`878d6bf0 00000285`8a4ed300 00000000`00000000 : TerminalControl+0x18aec
00000091`1fd7f5a0 00007ffb`65eefba6 : 00000285`8a401d40 00000285`878d6bf0 00000285`7d0b0340 00000285`00c00040 : Windows_UI!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_59517943c03487243f9bea31c6c1a784>,-1>::Invoke+0x71
00000091`1fd7f5d0 00007ffb`65ebbd46 : 00000285`7d30ba80 00000285`8a4ed300 00000285`7d30ba80 00000285`8a4ed300 : CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x16
00000091`1fd7f600 00007ffb`65ebae8d : 00000285`7d252ca0 00000285`7d30bcd0 00000285`8a4ed300 00000285`886f2580 : CoreMessaging!Microsoft__CoreUI__Dispatch__TimeoutHandler$CallbackThunk+0x186
00000091`1fd7f680 00007ffb`65eba818 : 00000285`886f2580 00000285`875eaa40 00000285`886f2580 00000285`7d30bb60 : CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x2bd
00000091`1fd7f730 00007ffb`65ec1108 : 00000000`00000003 00000285`7d235d00 00000285`7d235d00 00000000`00000003 : CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x158
00000091`1fd7f7a0 00007ffb`65ec0491 : 00000285`7d252ca0 00000091`1fd7f8d8 00000285`7d310b60 00000285`7d251bf0 : CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0xa68
00000091`1fd7f880 00007ffb`65ebfd99 : 00000285`7d251bf0 00000285`7d313220 00000000`00000000 00000000`00000000 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x1d1
00000091`1fd7f970 00007ffb`65ebfbcb : 00000000`00000000 00000285`7d313220 00000000`00000000 00000000`40000c02 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_DoWork+0xe9
00000091`1fd7fa50 00007ffb`6b13681d : 00000000`00000002 00000000`80000022 00000000`00000001 00000091`1fd7fe69 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_WindowProc+0x9b
00000091`1fd7fa80 00007ffb`6b1363ec : 00000000`00008388 00007ffb`65ebfb30 00000000`000f0a18 00000000`80000000 : USER32!UserCallWinProcCheckWow+0x2bd
00000091`1fd7fc10 00007ffb`6b142d03 : 00000091`1fd7fe40 00000000`00000000 00000000`00000000 00000000`00000000 : USER32!DispatchClientMessage+0x9c
00000091`1fd7fc70 00007ffb`6c15fe24 : 00007ffb`65ebfb30 00000000`00a30ff2 00000000`00000096 00000000`00000001 : USER32!_fnDWORD+0x33
00000091`1fd7fcd0 00007ffb`69051164 : 00007ffb`6b14477d 00000000`00000006 00000000`00000000 00000000`00000000 : ntdll!KiUserCallbackDispatcherContinue
00000091`1fd7fd58 00007ffb`6b14477d : 00000000`00000006 00000000`00000000 00000000`00000000 00000000`00000001 : win32u!NtUserGetMessage+0x14
00000091`1fd7fd60 00007ff6`5bd45176 : 00000000`00000000 00000000`00000005 00000000`00000000 00007ffb`69129f00 : USER32!GetMessageW+0x2d
00000091`1fd7fdc0 00007ff6`5bd4cf02 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : WindowsTerminal+0x5176
00000091`1fd7fed0 00007ffb`6b687bd4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : WindowsTerminal+0xcf02
00000091`1fd7ff10 00007ffb`6c12cee1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : KERNEL32!BaseThreadInitThunk+0x14
00000091`1fd7ff40 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
"><pre class="notranslate"><code class="notranslate">FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_TerminalControl.dll!Unknown
BUGCHECK_STR: APPLICATION_FAULT_NULL_POINTER_READ_INVALID_POINTER_READ
STACK_TEXT:
00000091`1fd7f4e0 00007ffa`fff78aec : 00000285`7d213230 00000000`00000012 00000000`00000000 00007ffb`6c0ffc2c : TerminalControl+0x7ea1
00000091`1fd7f550 00007ffb`65c35ef1 : 00000000`00000000 00000285`878d6bf0 00000285`8a4ed300 00000000`00000000 : TerminalControl+0x18aec
00000091`1fd7f5a0 00007ffb`65eefba6 : 00000285`8a401d40 00000285`878d6bf0 00000285`7d0b0340 00000285`00c00040 : Windows_UI!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_59517943c03487243f9bea31c6c1a784>,-1>::Invoke+0x71
00000091`1fd7f5d0 00007ffb`65ebbd46 : 00000285`7d30ba80 00000285`8a4ed300 00000285`7d30ba80 00000285`8a4ed300 : CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x16
00000091`1fd7f600 00007ffb`65ebae8d : 00000285`7d252ca0 00000285`7d30bcd0 00000285`8a4ed300 00000285`886f2580 : CoreMessaging!Microsoft__CoreUI__Dispatch__TimeoutHandler$CallbackThunk+0x186
00000091`1fd7f680 00007ffb`65eba818 : 00000285`886f2580 00000285`875eaa40 00000285`886f2580 00000285`7d30bb60 : CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x2bd
00000091`1fd7f730 00007ffb`65ec1108 : 00000000`00000003 00000285`7d235d00 00000285`7d235d00 00000000`00000003 : CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x158
00000091`1fd7f7a0 00007ffb`65ec0491 : 00000285`7d252ca0 00000091`1fd7f8d8 00000285`7d310b60 00000285`7d251bf0 : CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0xa68
00000091`1fd7f880 00007ffb`65ebfd99 : 00000285`7d251bf0 00000285`7d313220 00000000`00000000 00000000`00000000 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x1d1
00000091`1fd7f970 00007ffb`65ebfbcb : 00000000`00000000 00000285`7d313220 00000000`00000000 00000000`40000c02 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_DoWork+0xe9
00000091`1fd7fa50 00007ffb`6b13681d : 00000000`00000002 00000000`80000022 00000000`00000001 00000091`1fd7fe69 : CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_WindowProc+0x9b
00000091`1fd7fa80 00007ffb`6b1363ec : 00000000`00008388 00007ffb`65ebfb30 00000000`000f0a18 00000000`80000000 : USER32!UserCallWinProcCheckWow+0x2bd
00000091`1fd7fc10 00007ffb`6b142d03 : 00000091`1fd7fe40 00000000`00000000 00000000`00000000 00000000`00000000 : USER32!DispatchClientMessage+0x9c
00000091`1fd7fc70 00007ffb`6c15fe24 : 00007ffb`65ebfb30 00000000`00a30ff2 00000000`00000096 00000000`00000001 : USER32!_fnDWORD+0x33
00000091`1fd7fcd0 00007ffb`69051164 : 00007ffb`6b14477d 00000000`00000006 00000000`00000000 00000000`00000000 : ntdll!KiUserCallbackDispatcherContinue
00000091`1fd7fd58 00007ffb`6b14477d : 00000000`00000006 00000000`00000000 00000000`00000000 00000000`00000001 : win32u!NtUserGetMessage+0x14
00000091`1fd7fd60 00007ff6`5bd45176 : 00000000`00000000 00000000`00000005 00000000`00000000 00007ffb`69129f00 : USER32!GetMessageW+0x2d
00000091`1fd7fdc0 00007ff6`5bd4cf02 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : WindowsTerminal+0x5176
00000091`1fd7fed0 00007ffb`6b687bd4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : WindowsTerminal+0xcf02
00000091`1fd7ff10 00007ffb`6c12cee1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : KERNEL32!BaseThreadInitThunk+0x14
00000091`1fd7ff40 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
</code></pre></div> | <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.18975.0
Windows Terminal version: 0.5.2622.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18975.0
Windows Terminal version: 0.5.2622.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Run wt.exe to start an instance of Windows Terminal</li>
<li>Press Ctrl-t 4 or 5 times to open a few tabs (running PowerShell)</li>
<li>In each tab, run <code class="notranslate">dir c:\ -rec</code></li>
<li>Wait a few seconds, then click the 'x' on one of the tabs to close it while it is writing text to the console</li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The tab closes.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The terminal crashes with an Access Violation due to a null pointer dereference in <code class="notranslate">TerminalControl!winrt::impl::consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>::Maximum</code></p>
<h1 dir="auto">Notes</h1>
<p dir="auto">I can reproduce this consistently. Let me know if you would like a memory dump.</p>
<p dir="auto">Here is a link to the feedback issue I opened:<br>
<a href="https://aka.ms/AA65up1" rel="nofollow">https://aka.ms/AA65up1</a></p>
<h1 dir="auto">Call stack</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rax=0000d0e9f60fae3a rbx=00000000000002d6 rcx=0000000000000000
rdx=0000000000000000 rsi=00000000000002d6 rdi=000000000000001c
rip=00007ffd75b073d1 rsp=00000095845ff250 rbp=000001afa9234f70
r8=0000000010000000 r9=0000000000000000 r10=0000000000000000
r11=0000000000000246 r12=0000000000000000 r13=000000000000001c
r14=00007ffda8394d10 r15=0000000000000000
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
TerminalControl!winrt::impl::consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>::Maximum+0x51:
00007ffd`75b073d1 488b01 mov rax,qword ptr [rcx] ds:00000000`00000000=????????????????
Child-SP RetAddr Call Site
00 00000095`845ff250 00007ffd`75b1812c TerminalControl!winrt::impl::consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>::Maximum+0x51 [E:\BA\35\s\src\cascadia\TerminalControl\Generated Files\winrt\Windows.UI.Xaml.Controls.Primitives.h @ 2838]
01 (Inline Function) --------`-------- TerminalControl!winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::_ScrollbarUpdater+0x14 [E:\BA\35\s\src\cascadia\TerminalControl\TermControl.cpp @ 1373]
02 (Inline Function) --------`-------- TerminalControl!winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::_TerminalScrollPositionChanged::__l2::<lambda_d4673cfb40ab3bbddd63d78386fc20ac>::operator()+0x43 [E:\BA\35\s\src\cascadia\TerminalControl\TermControl.cpp @ 1396]
03 00000095`845ff2c0 00007ffd`9f91c471 TerminalControl!winrt::impl::delegate<winrt::Windows::UI::Core::DispatchedHandler,<lambda_d4673cfb40ab3bbddd63d78386fc20ac> >::Invoke+0x5c [E:\BA\35\s\src\cascadia\TerminalControl\Generated Files\winrt\windows.ui.core.h @ 1275]
04 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::EnqueueAsyncWork::__l16::<lambda_59517943c03487243f9bea31c6c1a784>::operator()+0x67 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 908]
05 00000095`845ff310 00007ffd`a8394d26 Windows_UI!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_59517943c03487243f9bea31c6c1a784>,-1>::Invoke+0x71 [onecore\external\sdk\inc\wrl\event.h @ 245]
06 00000095`845ff340 00007ffd`a836423b CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x16 [mincore\coreui\dev\dispatcherqueue\WrtDispatcherQueue.cpp @ 893]
07 00000095`845ff370 00007ffd`a8361d64 CoreMessaging!Microsoft__CoreUI__Dispatch__TimeoutHandler$CallbackThunk+0x11b [temp\42829c929effddb13f17f63c5ec49c58\Common__DllInterop.cpp @ 505]
08 (Inline Function) --------`-------- CoreMessaging!System::Action::Invoke+0x1a [mincore\cn\cnruntime\lib\fullstr\fre\objfre\amd64\CnRuntime\Common__Delegate.cpp @ 91]
09 00000095`845ff3f0 00007ffd`a83616fe CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x2c4 [mincore\CoreUI\Dev\System\Dispatch\DeferredCall.cs @ 62]
0a 00000095`845ff4b0 00007ffd`a8368d1a CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x15e [mincore\CoreUI\Dev\System\Dispatch\DeferredCallDispatcher.cs @ 337]
0b (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::DispatchNextItem+0x685 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 892]
0c (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x7d7 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 465]
0d 00000095`845ff520 00007ffd`a8367df6 CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0xada [mincore\CoreUI\Dev\System\Dispatch\EventLoop.cs @ 779]
0e (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapterBase::DrainCoreMessagingQueue+0x143 [mincore\CoreUI\Dev\System\Dispatch\UserAdapterBase.cs @ 674]
0f 00000095`845ff640 00007ffd`a83668d1 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x1d6 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapter.cs @ 224]
10 (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatchRaw+0x9c [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapter.cs @ 153]
11 00000095`845ff730 00007ffd`a83666f3 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_DoWork+0xf1 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapterN.cpp @ 424]
12 00000095`845ff810 00007ffd`ac99f903 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_WindowProc+0xa3 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapterN.cpp @ 659]
13 00000095`845ff890 00007ffd`ac99f2ac USER32!UserCallWinProcCheckWow+0x4e3 [clientcore\windows\core\ntuser\client\clmsg.cxx @ 279]
14 00000095`845ffa20 00007ffd`ac9b4543 USER32!DispatchClientMessage+0x9c [clientcore\windows\core\ntuser\client\daytona\objfre\amd64\client.cxx @ 3444]
15 00000095`845ffa80 00007ffd`add30664 USER32!__fnDWORD+0x33 [onecoreuap\internal\windows\inc\ntuser\inc\ntcb.h @ 1214]
16 00000095`845ffae0 00007ffd`abc01104 ntdll!KiUserCallbackDispatcherContinue [minkernel\ntos\rtl\amd64\trampoln.asm @ 601]
17 00000095`845ffb68 00007ffd`ac9b54ee win32u!ZwUserGetMessage+0x14 [onecoreuap\windows\core\umode\moderncore\objfre\amd64\usrstubs.asm @ 190]
18 00000095`845ffb70 00007ff7`3bbe46c6 USER32!GetMessageW+0x2e [onecoreuap\internal\windows\inc\private\core\ntuser\client\ntcftxt.h @ 538]
19 00000095`845ffbd0 00007ff7`3bbecc42 WindowsTerminal!wWinMain+0x1c6 [E:\BA\35\s\src\cascadia\WindowsTerminal\main.cpp @ 150]
1a (Inline Function) --------`-------- WindowsTerminal!invoke_main+0x21 [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118]
1b 00000095`845ffce0 00007ffd`aced7034 WindowsTerminal!__scrt_common_main_seh+0x106 [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288]
1c 00000095`845ffd20 00007ffd`adcfb1b1 KERNEL32!BaseThreadInitThunk+0x14 [clientcore\base\win32\client\thread.c @ 64]
1d 00000095`845ffd50 00000000`00000000 ntdll!RtlUserThreadStart+0x21 [minkernel\ntdll\rtlstrt.c @ 1153] "><pre class="notranslate"><code class="notranslate">rax=0000d0e9f60fae3a rbx=00000000000002d6 rcx=0000000000000000
rdx=0000000000000000 rsi=00000000000002d6 rdi=000000000000001c
rip=00007ffd75b073d1 rsp=00000095845ff250 rbp=000001afa9234f70
r8=0000000010000000 r9=0000000000000000 r10=0000000000000000
r11=0000000000000246 r12=0000000000000000 r13=000000000000001c
r14=00007ffda8394d10 r15=0000000000000000
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
TerminalControl!winrt::impl::consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>::Maximum+0x51:
00007ffd`75b073d1 488b01 mov rax,qword ptr [rcx] ds:00000000`00000000=????????????????
Child-SP RetAddr Call Site
00 00000095`845ff250 00007ffd`75b1812c TerminalControl!winrt::impl::consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar>::Maximum+0x51 [E:\BA\35\s\src\cascadia\TerminalControl\Generated Files\winrt\Windows.UI.Xaml.Controls.Primitives.h @ 2838]
01 (Inline Function) --------`-------- TerminalControl!winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::_ScrollbarUpdater+0x14 [E:\BA\35\s\src\cascadia\TerminalControl\TermControl.cpp @ 1373]
02 (Inline Function) --------`-------- TerminalControl!winrt::Microsoft::Terminal::TerminalControl::implementation::TermControl::_TerminalScrollPositionChanged::__l2::<lambda_d4673cfb40ab3bbddd63d78386fc20ac>::operator()+0x43 [E:\BA\35\s\src\cascadia\TerminalControl\TermControl.cpp @ 1396]
03 00000095`845ff2c0 00007ffd`9f91c471 TerminalControl!winrt::impl::delegate<winrt::Windows::UI::Core::DispatchedHandler,<lambda_d4673cfb40ab3bbddd63d78386fc20ac> >::Invoke+0x5c [E:\BA\35\s\src\cascadia\TerminalControl\Generated Files\winrt\windows.ui.core.h @ 1275]
04 (Inline Function) --------`-------- Windows_UI!Windows::UI::Core::CDispatcher::EnqueueAsyncWork::__l16::<lambda_59517943c03487243f9bea31c6c1a784>::operator()+0x67 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\dispatcher.cpp @ 908]
05 00000095`845ff310 00007ffd`a8394d26 Windows_UI!Microsoft::WRL::Details::DelegateArgTraits<long (__cdecl Windows::System::IDispatcherQueueHandler::*)(void)>::DelegateInvokeHelper<Microsoft::WRL::Implements<Microsoft::WRL::RuntimeClassFlags<2>,Windows::System::IDispatcherQueueHandler,Microsoft::WRL::FtmBase>,<lambda_59517943c03487243f9bea31c6c1a784>,-1>::Invoke+0x71 [onecore\external\sdk\inc\wrl\event.h @ 245]
06 00000095`845ff340 00007ffd`a836423b CoreMessaging!Windows::System::DispatcherQueue::DeferInvokeCallback+0x16 [mincore\coreui\dev\dispatcherqueue\WrtDispatcherQueue.cpp @ 893]
07 00000095`845ff370 00007ffd`a8361d64 CoreMessaging!Microsoft__CoreUI__Dispatch__TimeoutHandler$CallbackThunk+0x11b [temp\42829c929effddb13f17f63c5ec49c58\Common__DllInterop.cpp @ 505]
08 (Inline Function) --------`-------- CoreMessaging!System::Action::Invoke+0x1a [mincore\cn\cnruntime\lib\fullstr\fre\objfre\amd64\CnRuntime\Common__Delegate.cpp @ 91]
09 00000095`845ff3f0 00007ffd`a83616fe CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCall::Callback_Dispatch+0x2c4 [mincore\CoreUI\Dev\System\Dispatch\DeferredCall.cs @ 62]
0a 00000095`845ff4b0 00007ffd`a8368d1a CoreMessaging!Microsoft::CoreUI::Dispatch::DeferredCallDispatcher::Callback_OnDispatch+0x15e [mincore\CoreUI\Dev\System\Dispatch\DeferredCallDispatcher.cs @ 337]
0b (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::DispatchNextItem+0x685 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 892]
0c (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::Dispatcher::Callback_DispatchLoop+0x7d7 [mincore\CoreUI\Dev\System\Dispatch\Dispatcher.cs @ 465]
0d 00000095`845ff520 00007ffd`a8367df6 CoreMessaging!Microsoft::CoreUI::Dispatch::EventLoop::Callback_RunCoreLoop+0xada [mincore\CoreUI\Dev\System\Dispatch\EventLoop.cs @ 779]
0e (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapterBase::DrainCoreMessagingQueue+0x143 [mincore\CoreUI\Dev\System\Dispatch\UserAdapterBase.cs @ 674]
0f 00000095`845ff640 00007ffd`a83668d1 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatch+0x1d6 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapter.cs @ 224]
10 (Inline Function) --------`-------- CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter::OnUserDispatchRaw+0x9c [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapter.cs @ 153]
11 00000095`845ff730 00007ffd`a83666f3 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_DoWork+0xf1 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapterN.cpp @ 424]
12 00000095`845ff810 00007ffd`ac99f903 CoreMessaging!Microsoft::CoreUI::Dispatch::UserAdapter_WindowProc+0xa3 [mincore\CoreUI\Dev\System\Dispatch\minwin\UserAdapterN.cpp @ 659]
13 00000095`845ff890 00007ffd`ac99f2ac USER32!UserCallWinProcCheckWow+0x4e3 [clientcore\windows\core\ntuser\client\clmsg.cxx @ 279]
14 00000095`845ffa20 00007ffd`ac9b4543 USER32!DispatchClientMessage+0x9c [clientcore\windows\core\ntuser\client\daytona\objfre\amd64\client.cxx @ 3444]
15 00000095`845ffa80 00007ffd`add30664 USER32!__fnDWORD+0x33 [onecoreuap\internal\windows\inc\ntuser\inc\ntcb.h @ 1214]
16 00000095`845ffae0 00007ffd`abc01104 ntdll!KiUserCallbackDispatcherContinue [minkernel\ntos\rtl\amd64\trampoln.asm @ 601]
17 00000095`845ffb68 00007ffd`ac9b54ee win32u!ZwUserGetMessage+0x14 [onecoreuap\windows\core\umode\moderncore\objfre\amd64\usrstubs.asm @ 190]
18 00000095`845ffb70 00007ff7`3bbe46c6 USER32!GetMessageW+0x2e [onecoreuap\internal\windows\inc\private\core\ntuser\client\ntcftxt.h @ 538]
19 00000095`845ffbd0 00007ff7`3bbecc42 WindowsTerminal!wWinMain+0x1c6 [E:\BA\35\s\src\cascadia\WindowsTerminal\main.cpp @ 150]
1a (Inline Function) --------`-------- WindowsTerminal!invoke_main+0x21 [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 118]
1b 00000095`845ffce0 00007ffd`aced7034 WindowsTerminal!__scrt_common_main_seh+0x106 [d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288]
1c 00000095`845ffd20 00007ffd`adcfb1b1 KERNEL32!BaseThreadInitThunk+0x14 [clientcore\base\win32\client\thread.c @ 64]
1d 00000095`845ffd50 00000000`00000000 ntdll!RtlUserThreadStart+0x21 [minkernel\ntdll\rtlstrt.c @ 1153]
</code></pre></div> | 1 |
<p dir="auto">I have been experimenting with large matrix inversions (have to inverse the whole matrix is my specific case) to check the runtime. It all works well until I tried to inverse a 50000 by 50000 matrix:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [10]: A = np.eye(50000)
In [11]: A
Out[11]:
array([[ 1., 0., 0., ..., 0., 0., 0.],
[ 0., 1., 0., ..., 0., 0., 0.],
[ 0., 0., 1., ..., 0., 0., 0.],
...,
[ 0., 0., 0., ..., 1., 0., 0.],
[ 0., 0., 0., ..., 0., 1., 0.],
[ 0., 0., 0., ..., 0., 0., 1.]])
In [12]: %time X = np.linalg.inv(A)
CPU times: user 2.95 s, sys: 3.24 s, total: 6.19 s
Wall time: 6.19 s
In [13]: X.shape
Out[13]: (50000, 50000)
In [14]: np.abs(X).sum()
Out[14]: 0.0"><pre class="notranslate"><code class="notranslate">In [10]: A = np.eye(50000)
In [11]: A
Out[11]:
array([[ 1., 0., 0., ..., 0., 0., 0.],
[ 0., 1., 0., ..., 0., 0., 0.],
[ 0., 0., 1., ..., 0., 0., 0.],
...,
[ 0., 0., 0., ..., 1., 0., 0.],
[ 0., 0., 0., ..., 0., 1., 0.],
[ 0., 0., 0., ..., 0., 0., 1.]])
In [12]: %time X = np.linalg.inv(A)
CPU times: user 2.95 s, sys: 3.24 s, total: 6.19 s
Wall time: 6.19 s
In [13]: X.shape
Out[13]: (50000, 50000)
In [14]: np.abs(X).sum()
Out[14]: 0.0
</code></pre></div>
<p dir="auto">The run time of ~6 seconds is very small. But more importantly: <strong>I should not have the inv() function to return an all-zero matrix without any error!</strong></p>
<p dir="auto">Am I missing something here? Is it a result I should be expecting?</p>
<hr>
<p dir="auto">About my environment:</p>
<p dir="auto">Right before running the snippet above, I made sure I had enough RAM:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat /proc/meminfo | grep MemFree
MemFree: 138568436 kB"><pre class="notranslate"><code class="notranslate">$ cat /proc/meminfo | grep MemFree
MemFree: 138568436 kB
</code></pre></div>
<p dir="auto">Running Conda 3.12.0 with:<br>
numpy 1.9.2 py27_p0 [mkl]</p>
<p dir="auto">OS: Linux seftrtools1 3.16.0-34-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="647989" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/47" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/47/hovercard" href="https://github.com/numpy/numpy/pull/47">#47</a>~14.04.1-Ubuntu SMP Fri Apr 10 17:49:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python --version
Python 2.7.6"><pre class="notranslate"><code class="notranslate">$ python --version
Python 2.7.6
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ulimit
unlimited"><pre class="notranslate"><code class="notranslate">$ ulimit
unlimited
</code></pre></div> | <p dir="auto">Can I revisit this one? <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carlkl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carlkl">@carlkl</a> pointed out that this is a rather significant change in behavior. Previously, for platforms and compilers where <code class="notranslate">double == long double</code>, at <em>Numpy compile time</em>, such as MSVC, this would give <code class="notranslate">npy_longdouble</code> as <code class="notranslate">double</code>. This is useful in the case when we are compiling <em>using</em> Numpy, but with a compiler where it is <em>not</em> true that <code class="notranslate">double == long double</code>. One example is compiling Scipy with mingw-w64, where, by default <code class="notranslate">long double</code> is Float80. Could y'all say more about why this change is needed? Why do we need to force <code class="notranslate">npy_longdouble</code> to be the <em>compiler</em> long double, rather than <em>Numpy</em> <code class="notranslate">long double</code>?</p>
<p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/matthew-brett/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/matthew-brett">@matthew-brett</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1037158312" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/20206" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/20206/hovercard?comment_id=746542568&comment_type=review_comment" href="https://github.com/numpy/numpy/pull/20206#discussion_r746542568">#20206 (comment)</a></em></p>
<hr>
<p dir="auto">Also pinging <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seiko2plus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seiko2plus">@seiko2plus</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mattip/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mattip">@mattip</a>, and since it seems faintly C++ related <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/serge-sans-paille/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/serge-sans-paille">@serge-sans-paille</a></p> | 0 |
<p dir="auto">Not sure what I'm doing wrong - but the keyboard does not appear on my Android 9 device.</p>
<p dir="auto">Here is a simple example (even this doesn't work):</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() {
runApp(
MaterialApp(
title: 'Test',
theme: ThemeData(backgroundColor: Colors.white),
home: Scaffold(
body:
Padding(
padding: EdgeInsets.all(50.0),
child: TextField(
onChanged: (String val) => print(val),
autofocus: false,
decoration: InputDecoration(labelText: "E-mail address",
labelStyle: TextStyle(color: Colors.black45, fontSize: 18.0, height: 1.0),
contentPadding: EdgeInsets.only(bottom: 3.0)),
style: TextStyle(color: Colors.black, height: 1.3, fontSize: 16.0),
))
)
)
);
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() {
<span class="pl-en">runApp</span>(
<span class="pl-c1">MaterialApp</span>(
title<span class="pl-k">:</span> <span class="pl-s">'Test'</span>,
theme<span class="pl-k">:</span> <span class="pl-c1">ThemeData</span>(backgroundColor<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.white),
home<span class="pl-k">:</span> <span class="pl-c1">Scaffold</span>(
body<span class="pl-k">:</span>
<span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">all</span>(<span class="pl-c1">50.0</span>),
child<span class="pl-k">:</span> <span class="pl-c1">TextField</span>(
onChanged<span class="pl-k">:</span> (<span class="pl-c1">String</span> val) <span class="pl-k">=></span> <span class="pl-en">print</span>(val),
autofocus<span class="pl-k">:</span> <span class="pl-c1">false</span>,
decoration<span class="pl-k">:</span> <span class="pl-c1">InputDecoration</span>(labelText<span class="pl-k">:</span> <span class="pl-s">"E-mail address"</span>,
labelStyle<span class="pl-k">:</span> <span class="pl-c1">TextStyle</span>(color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.black45, fontSize<span class="pl-k">:</span> <span class="pl-c1">18.0</span>, height<span class="pl-k">:</span> <span class="pl-c1">1.0</span>),
contentPadding<span class="pl-k">:</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(bottom<span class="pl-k">:</span> <span class="pl-c1">3.0</span>)),
style<span class="pl-k">:</span> <span class="pl-c1">TextStyle</span>(color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.black, height<span class="pl-k">:</span> <span class="pl-c1">1.3</span>, fontSize<span class="pl-k">:</span> <span class="pl-c1">16.0</span>),
))
)
)
);
}</pre></div>
<p dir="auto">Flutter doctor:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.7.3-pre.4, on Mac OS X 10.13.4 17E199, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.27.1)
[✓] Connected devices (2 available)"><pre class="notranslate"><code class="notranslate">$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.7.3-pre.4, on Mac OS X 10.13.4 17E199, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.27.1)
[✓] Connected devices (2 available)
</code></pre></div>
<p dir="auto">Here's a video demo:<br>
<a href="https://streamable.com/ightg" rel="nofollow">https://streamable.com/ightg</a></p> | <p dir="auto">Tapping on a TextField doesn't bring up the on screen keyboard when targeting API 28 but does when targeting API 27</p>
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Created a new Flutter project from Android Studio 3.2 B4 on Linux</p>
<p dir="auto">Made this change to the android/app/build.gradle</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" compileSdkVersion 28 <---- changed this from 27
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "tom.dailylog"
minSdkVersion 16
targetSdkVersion **28** <---- Doesnt work with 28 but does with 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
"><pre class="notranslate"><code class="notranslate"> compileSdkVersion 28 <---- changed this from 27
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "tom.dailylog"
minSdkVersion 16
targetSdkVersion **28** <---- Doesnt work with 28 but does with 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
</code></pre></div>
<p dir="auto">minimal repro main.dart</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "FriendlyChat",
home: MainScreen(),
);
}
}
class MainScreen extends StatelessWidget{
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Daily Log"),
),
body: TextField());
}
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">void</span> <span class="pl-en">main</span>() <span class="pl-k">=></span> <span class="pl-en">runApp</span>(<span class="pl-c1">MyApp</span>());
<span class="pl-k">class</span> <span class="pl-c1">MyApp</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-c1">MaterialApp</span>(
title<span class="pl-k">:</span> <span class="pl-s">"FriendlyChat"</span>,
home<span class="pl-k">:</span> <span class="pl-c1">MainScreen</span>(),
);
}
}
<span class="pl-k">class</span> <span class="pl-c1">MainScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span>{
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-c1">Scaffold</span>(
appBar<span class="pl-k">:</span> <span class="pl-c1">AppBar</span>(
title<span class="pl-k">:</span> <span class="pl-c1">Text</span>(<span class="pl-s">"Daily Log"</span>),
),
body<span class="pl-k">:</span> <span class="pl-c1">TextField</span>());
}
}</pre></div>
<h2 dir="auto">Logs</h2>
<p dir="auto">verbose</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +27 ms] [/home/tom/Programs/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [/home/tom/Programs/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [/home/tom/Programs/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/tom/Programs/flutter/] git log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [/home/tom/Programs/flutter/] git log -n 1 --pretty=format:%ar
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ ] [/home/tom/Programs/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +20 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.1-0-gc7ea3ca37
[ +124 ms] /home/tom/Android/Sdk/platform-tools/adb devices -l
[ +6 ms] Exit code 0 from: /home/tom/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
HT69J0203465 device usb:3-1 product:marlin model:Pixel_XL device:marlin transport_id:1
[ +154 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell getprop
[ +164 ms] ro.hardware = marlin
[ ] ro.build.characteristics = nosdcard
[ +584 ms] Launching lib/main.dart on Pixel XL in debug mode...
[ +4 ms] Initializing gradle...
[ +7 ms] Using gradle from /home/tom/Projects/Flutter/daily_log/android/gradlew.
[ +52 ms] /home/tom/Projects/Flutter/daily_log/android/gradlew -v
[ +616 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b04)
OS: Linux 4.17.6-1-MANJARO amd64
[ +1 ms] Resolving dependencies...
[ ] [android/] /home/tom/Projects/Flutter/daily_log/android/gradlew app:properties
[ +712 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@5e620997
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@299a6afb
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@265ae8b1
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@78672a33
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3607ba19
buildDependents: task ':app:buildDependents'
buildDir: /home/tom/Projects/Flutter/daily_log/build/app
buildFile: /home/tom/Projects/Flutter/daily_log/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@4c30c390
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3d5ea5c7
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7c2936ed
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@77f58c03
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@3d93fd2e
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@75ab07c6
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@4080d9c0
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@1b4ed047
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@3916248d
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/tom/Projects/Flutter/daily_log/build/app/distributions
distsDirName: distributions
docsDir: /home/tom/Projects/Flutter/daily_log/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@142e815e
extensions: org.gradle.api.internal.plugins.DefaultConvention@75ab07c6
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@522604c2
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@3f873a29
flutter: FlutterExtension_Decorated@373d5318
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@57f900d0
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@351b0ef9
libsDir: /home/tom/Projects/Flutter/daily_log/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@32d02a18
logging: org.gradle.internal.logging.services.DefaultLoggingManager@33cb2c01
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@6eb30cf3
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@18c174bc
module: org.gradle.api.internal.artifacts.ProjectBackedModule@a717a30
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@71537e75
objects: org.gradle.api.internal.model.DefaultObjectFactory@3e307e75
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@1cd2da60
plugins: [org.gradle.api.plugins.HelpTasksPlugin@40a4c3f1, com.android.build.gradle.api.AndroidBasePlugin@517c7828, org.gradle.language.base.plugins.LifecycleBasePlugin@69a3c32e, org.gradle.api.plugins.BasePlugin@122acdeb, org.gradle.api.plugins.ReportingBasePlugin@4c539ca2, org.gradle.platform.base.plugins.ComponentBasePlugin@5a2bfafd, org.gradle.language.base.plugins.LanguageBasePlugin@acddb96, org.gradle.platform.base.plugins.BinaryBasePlugin@9ec6662, org.gradle.api.plugins.JavaBasePlugin@5dcf146, com.android.build.gradle.internal.coverage.JacocoPlugin@7643708, com.android.build.gradle.AppPlugin@181759f4, FlutterPlugin@7c047257]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@522604c2
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@769346df
projectDir: /home/tom/Projects/Flutter/daily_log/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@b1086a
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@6afb6edf
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@4c8ea937
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@60f0b83a
reportsDir: /home/tom/Projects/Flutter/daily_log/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@cb9af45
rootDir: /home/tom/Projects/Flutter/daily_log/android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@44314e0
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@357f1f21
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@50ab40dc
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@33cb2c01
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/tom/Projects/Flutter/daily_log/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/tom/Projects/Flutter/daily_log/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +4 ms] /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ +8 ms] Exit code 0 from: /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='tom.dailylog' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'daily_log'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='daily_log' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='tom.dailylog.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +4 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time -t 1
[ +151 ms] Exit code 0 from: /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time -t 1
[ ] --------- beginning of main
07-21 23:55:36.046 E/adsprpc (17405): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:118::error: -1: dev != -1
[ +5 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time
[ +317 ms] DependencyChecker: nothing is modified after 2018-07-21 23:55:01.320.
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb version
[ +16 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/tom/Android/Sdk/platform-tools/adb
[ +2 ms] /home/tom/Android/Sdk/platform-tools/adb start-server
[ +8 ms] Building APK
[ +5 ms] Running 'gradlew assembleDebug'...
[ +2 ms] [android/] /home/tom/Projects/Flutter/daily_log/android/gradlew -Ptarget=/home/tom/Projects/Flutter/daily_log/lib/main.dart -Ppreview-dart-2=true -Ptarget-platform=android-arm64 assembleDebug
[ +719 ms] :app:preBuild UP-TO-DATE
[ +6 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +1 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +59 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +1 ms] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ +6 ms] :app:cleanMergeDebugAssets
[ +11 ms] :app:flutterBuildDebug UP-TO-DATE
[ ] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ +2 ms] :app:generateDebugAssets UP-TO-DATE
[ +8 ms] :app:mergeDebugAssets
[ +146 ms] :app:copyFlutterAssetsDebug
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +32 ms] :app:processDebugManifest
[ +1 ms] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +91 ms] :app:processDebugResources
[ ] :app:generateDebugSources
[ +1 ms] :app:javaPreCompileDebug UP-TO-DATE
[ +1 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ +2 ms] :app:compileDebugSources UP-TO-DATE
[ +61 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +1 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ +1 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +9 ms] :app:validateSigningDebug
[+2443 ms] :app:packageDebug
[ ] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 3s
[ ] 29 actionable tasks: 7 executed, 22 up-to-date
[ +383 ms] calculateSha: /home/tom/Projects/Flutter/daily_log/build/app/outputs/apk/app.apk
[ +455 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ ] /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ +11 ms] Exit code 0 from: /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='tom.dailylog' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'28'
uses-permission: name='android.permission.INTERNET'
application-label:'daily_log'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='daily_log' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='tom.dailylog.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on Pixel XL.
[ ] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell am force-stop tom.dailylog
[ +199 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell pm list packages tom.dailylog
[ +110 ms] package:tom.dailylog
[ +6 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell cat /data/local/tmp/sky.tom.dailylog.sha1
[ +52 ms] 38d633a8aa5509a7babb9692c6957721cf9d5b97
[ +1 ms] Installing APK.
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb version
[ +13 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/tom/Android/Sdk/platform-tools/adb
[ ] /home/tom/Android/Sdk/platform-tools/adb start-server
[ +11 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 install -r build/app/outputs/apk/app.apk
[+4343 ms] Success
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell echo -n ae2469652fe14f9ce083486692980938dfb4a1c9 > /data/local/tmp/sky.tom.dailylog.sha1
[ +40 ms] Pixel XL startApp
[ +1 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true tom.dailylog/tom.dailylog.MainActivity
[ +108 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=tom.dailylog/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[ +764 ms] I/FlutterActivityDelegate(17448): onResume setting current activity to this
[ +196 ms] Observatory URL on device: http://127.0.0.1:38583/
[ +8 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 forward tcp:8114 tcp:38583
[ +8 ms] Forwarded host port 8114 to device port 38583 for Observatory
[ +4 ms] Connecting to service protocol: http://127.0.0.1:8114/
[ +407 ms] Successfully connected to service protocol: http://127.0.0.1:8114/
[ +2 ms] getVM: {}
[ +58 ms] getIsolate: {isolateId: isolates/22304806}
[ +1 ms] _flutter.listViews: {isolateId: isolates/22304806}
[ +96 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: daily_log}
[ +96 ms] DevFS: Created new filesystem on the device (file:///data/user/0/tom.dailylog/cache/daily_logPCANKU/daily_log/)
[ +2 ms] Updating assets
[ +177 ms] Syncing files to device Pixel XL...
[ +2 ms] DevFS: Starting sync from LocalDirectory: '/home/tom/Projects/Flutter/daily_log'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +64 ms] Scanning asset files
[ ] Scanning for deleted files
[ +7 ms] Compiling dart to kernel with 416 updated files
[ +2 ms] /home/tom/Programs/flutter/bin/cache/dart-sdk/bin/dart /home/tom/Programs/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/tom/Programs/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /home/tom/Projects/Flutter/daily_log/.packages --filesystem-scheme org-dartlang-root
[+3211 ms] Updating files
[ +801 ms] DevFS: Sync finished
[ ] Synced 1.1MB.
[ +2 ms] _flutter.listViews: {isolateId: isolates/22304806}
[ +42 ms] Connected to _flutterView/0x7b3da37118.
[ +2 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +1 ms] An Observatory debugger and profiler on Pixel XL is available at: http://127.0.0.1:8114/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+3138 ms] ext.flutter.exit: {isolateId: isolates/22304806}
[ +100 ms] Application finished."><pre class="notranslate"><code class="notranslate">[ +27 ms] [/home/tom/Programs/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +30 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/beta
[ ] [/home/tom/Programs/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] beta
[ ] [/home/tom/Programs/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ ] [/home/tom/Programs/flutter/] git log -n 1 --pretty=format:%H
[ +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] c7ea3ca377e909469c68f2ab878a5bc53d3cf66b
[ ] [/home/tom/Programs/flutter/] git log -n 1 --pretty=format:%ar
[ +5 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 8 weeks ago
[ ] [/home/tom/Programs/flutter/] git describe --match v*.*.* --first-parent --long --tags
[ +20 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.5.1-0-gc7ea3ca37
[ +124 ms] /home/tom/Android/Sdk/platform-tools/adb devices -l
[ +6 ms] Exit code 0 from: /home/tom/Android/Sdk/platform-tools/adb devices -l
[ ] List of devices attached
HT69J0203465 device usb:3-1 product:marlin model:Pixel_XL device:marlin transport_id:1
[ +154 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell getprop
[ +164 ms] ro.hardware = marlin
[ ] ro.build.characteristics = nosdcard
[ +584 ms] Launching lib/main.dart on Pixel XL in debug mode...
[ +4 ms] Initializing gradle...
[ +7 ms] Using gradle from /home/tom/Projects/Flutter/daily_log/android/gradlew.
[ +52 ms] /home/tom/Projects/Flutter/daily_log/android/gradlew -v
[ +616 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b04)
OS: Linux 4.17.6-1-MANJARO amd64
[ +1 ms] Resolving dependencies...
[ ] [android/] /home/tom/Projects/Flutter/daily_log/android/gradlew app:properties
[ +712 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@5e620997
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@299a6afb
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@265ae8b1
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@78672a33
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3607ba19
buildDependents: task ':app:buildDependents'
buildDir: /home/tom/Projects/Flutter/daily_log/build/app
buildFile: /home/tom/Projects/Flutter/daily_log/android/app/build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@4c30c390
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3d5ea5c7
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7c2936ed
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@77f58c03
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@3d93fd2e
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@75ab07c6
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@4080d9c0
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@1b4ed047
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@3916248d
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: /home/tom/Projects/Flutter/daily_log/build/app/distributions
distsDirName: distributions
docsDir: /home/tom/Projects/Flutter/daily_log/build/app/docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@142e815e
extensions: org.gradle.api.internal.plugins.DefaultConvention@75ab07c6
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@522604c2
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@3f873a29
flutter: FlutterExtension_Decorated@373d5318
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@57f900d0
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@351b0ef9
libsDir: /home/tom/Projects/Flutter/daily_log/build/app/libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@32d02a18
logging: org.gradle.internal.logging.services.DefaultLoggingManager@33cb2c01
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@6eb30cf3
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@18c174bc
module: org.gradle.api.internal.artifacts.ProjectBackedModule@a717a30
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@71537e75
objects: org.gradle.api.internal.model.DefaultObjectFactory@3e307e75
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@1cd2da60
plugins: [org.gradle.api.plugins.HelpTasksPlugin@40a4c3f1, com.android.build.gradle.api.AndroidBasePlugin@517c7828, org.gradle.language.base.plugins.LifecycleBasePlugin@69a3c32e, org.gradle.api.plugins.BasePlugin@122acdeb, org.gradle.api.plugins.ReportingBasePlugin@4c539ca2, org.gradle.platform.base.plugins.ComponentBasePlugin@5a2bfafd, org.gradle.language.base.plugins.LanguageBasePlugin@acddb96, org.gradle.platform.base.plugins.BinaryBasePlugin@9ec6662, org.gradle.api.plugins.JavaBasePlugin@5dcf146, com.android.build.gradle.internal.coverage.JacocoPlugin@7643708, com.android.build.gradle.AppPlugin@181759f4, FlutterPlugin@7c047257]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@522604c2
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@769346df
projectDir: /home/tom/Projects/Flutter/daily_log/android/app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@b1086a
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@6afb6edf
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@4c8ea937
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@60f0b83a
reportsDir: /home/tom/Projects/Flutter/daily_log/build/app/reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@cb9af45
rootDir: /home/tom/Projects/Flutter/daily_log/android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@44314e0
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@357f1f21
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@50ab40dc
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@33cb2c01
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: /home/tom/Projects/Flutter/daily_log/build/app/reports/tests
testReportDirName: tests
testResultsDir: /home/tom/Projects/Flutter/daily_log/build/app/test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +4 ms] /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ +8 ms] Exit code 0 from: /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='tom.dailylog' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'daily_log'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='daily_log' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='tom.dailylog.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +4 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time -t 1
[ +151 ms] Exit code 0 from: /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time -t 1
[ ] --------- beginning of main
07-21 23:55:36.046 E/adsprpc (17405): vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:118::error: -1: dev != -1
[ +5 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 logcat -v time
[ +317 ms] DependencyChecker: nothing is modified after 2018-07-21 23:55:01.320.
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb version
[ +16 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/tom/Android/Sdk/platform-tools/adb
[ +2 ms] /home/tom/Android/Sdk/platform-tools/adb start-server
[ +8 ms] Building APK
[ +5 ms] Running 'gradlew assembleDebug'...
[ +2 ms] [android/] /home/tom/Projects/Flutter/daily_log/android/gradlew -Ptarget=/home/tom/Projects/Flutter/daily_log/lib/main.dart -Ppreview-dart-2=true -Ptarget-platform=android-arm64 assembleDebug
[ +719 ms] :app:preBuild UP-TO-DATE
[ +6 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ +1 ms] :app:compileDebugRenderscript UP-TO-DATE
[ +59 ms] :app:flutterBuildX86Jar UP-TO-DATE
[ +1 ms] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ +6 ms] :app:cleanMergeDebugAssets
[ +11 ms] :app:flutterBuildDebug UP-TO-DATE
[ ] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ +2 ms] :app:generateDebugAssets UP-TO-DATE
[ +8 ms] :app:mergeDebugAssets
[ +146 ms] :app:copyFlutterAssetsDebug
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ +32 ms] :app:processDebugManifest
[ +1 ms] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +91 ms] :app:processDebugResources
[ ] :app:generateDebugSources
[ +1 ms] :app:javaPreCompileDebug UP-TO-DATE
[ +1 ms] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ +2 ms] :app:compileDebugSources UP-TO-DATE
[ +61 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ +1 ms] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ +1 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ ] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ +9 ms] :app:validateSigningDebug
[+2443 ms] :app:packageDebug
[ ] :app:assembleDebug
[ ] BUILD SUCCESSFUL in 3s
[ ] 29 actionable tasks: 7 executed, 22 up-to-date
[ +383 ms] calculateSha: /home/tom/Projects/Flutter/daily_log/build/app/outputs/apk/app.apk
[ +455 ms] Built build/app/outputs/apk/debug/app-debug.apk.
[ ] /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ +11 ms] Exit code 0 from: /home/tom/Android/Sdk/build-tools/28.0.1/aapt dump badging build/app/outputs/apk/app.apk
[ ] package: name='tom.dailylog' versionCode='1' versionName='1.0'
sdkVersion:'16'
targetSdkVersion:'28'
uses-permission: name='android.permission.INTERNET'
application-label:'daily_log'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='daily_log' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='tom.dailylog.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ ] Stopping app 'app.apk' on Pixel XL.
[ ] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell am force-stop tom.dailylog
[ +199 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell pm list packages tom.dailylog
[ +110 ms] package:tom.dailylog
[ +6 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell cat /data/local/tmp/sky.tom.dailylog.sha1
[ +52 ms] 38d633a8aa5509a7babb9692c6957721cf9d5b97
[ +1 ms] Installing APK.
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb version
[ +13 ms] Android Debug Bridge version 1.0.40
Version 4797878
Installed as /home/tom/Android/Sdk/platform-tools/adb
[ ] /home/tom/Android/Sdk/platform-tools/adb start-server
[ +11 ms] Installing build/app/outputs/apk/app.apk...
[ ] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 install -r build/app/outputs/apk/app.apk
[+4343 ms] Success
[ +3 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell echo -n ae2469652fe14f9ce083486692980938dfb4a1c9 > /data/local/tmp/sky.tom.dailylog.sha1
[ +40 ms] Pixel XL startApp
[ +1 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true tom.dailylog/tom.dailylog.MainActivity
[ +108 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=tom.dailylog/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[ +764 ms] I/FlutterActivityDelegate(17448): onResume setting current activity to this
[ +196 ms] Observatory URL on device: http://127.0.0.1:38583/
[ +8 ms] /home/tom/Android/Sdk/platform-tools/adb -s HT69J0203465 forward tcp:8114 tcp:38583
[ +8 ms] Forwarded host port 8114 to device port 38583 for Observatory
[ +4 ms] Connecting to service protocol: http://127.0.0.1:8114/
[ +407 ms] Successfully connected to service protocol: http://127.0.0.1:8114/
[ +2 ms] getVM: {}
[ +58 ms] getIsolate: {isolateId: isolates/22304806}
[ +1 ms] _flutter.listViews: {isolateId: isolates/22304806}
[ +96 ms] DevFS: Creating new filesystem on the device (null)
[ ] _createDevFS: {fsName: daily_log}
[ +96 ms] DevFS: Created new filesystem on the device (file:///data/user/0/tom.dailylog/cache/daily_logPCANKU/daily_log/)
[ +2 ms] Updating assets
[ +177 ms] Syncing files to device Pixel XL...
[ +2 ms] DevFS: Starting sync from LocalDirectory: '/home/tom/Projects/Flutter/daily_log'
[ ] Scanning project files
[ +2 ms] Scanning package files
[ +64 ms] Scanning asset files
[ ] Scanning for deleted files
[ +7 ms] Compiling dart to kernel with 416 updated files
[ +2 ms] /home/tom/Programs/flutter/bin/cache/dart-sdk/bin/dart /home/tom/Programs/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/tom/Programs/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /home/tom/Projects/Flutter/daily_log/.packages --filesystem-scheme org-dartlang-root
[+3211 ms] Updating files
[ +801 ms] DevFS: Sync finished
[ ] Synced 1.1MB.
[ +2 ms] _flutter.listViews: {isolateId: isolates/22304806}
[ +42 ms] Connected to _flutterView/0x7b3da37118.
[ +2 ms] 🔥 To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[ +1 ms] An Observatory debugger and profiler on Pixel XL is available at: http://127.0.0.1:8114/
[ ] For a more detailed help message, press "h". To quit, press "q".
[+3138 ms] ext.flutter.exit: {isolateId: isolates/22304806}
[ +100 ms] Application finished.
</code></pre></div>
<blockquote>
<p dir="auto">flutter analyze came up with nothinhg</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_AU.UTF-8)
• Flutter version 0.5.1 at /home/tom/Programs/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
• Android SDK at /home/tom/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.1
• ANDROID_HOME = /home/tom/Android/Sdk
• Java binary at: /home/tom/Programs/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b04)
• All Android licenses accepted.
[✓] Android Studio (version 3.2)
• Android Studio at /home/tom/Programs/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b04)
[✓] Connected devices (1 available)
• Pixel XL • HT69J0203465 • android-arm64 • Android 9 (API 28)
• No issues found! "><pre class="notranslate"><code class="notranslate">flutter doctor -v
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_AU.UTF-8)
• Flutter version 0.5.1 at /home/tom/Programs/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
• Android SDK at /home/tom/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.1
• ANDROID_HOME = /home/tom/Android/Sdk
• Java binary at: /home/tom/Programs/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b04)
• All Android licenses accepted.
[✓] Android Studio (version 3.2)
• Android Studio at /home/tom/Programs/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b04)
[✓] Connected devices (1 available)
• Pixel XL • HT69J0203465 • android-arm64 • Android 9 (API 28)
• No issues found!
</code></pre></div> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Two entries and common chunk (see the linked repo for more details):</p>
<ul dir="auto">
<li>index1 - imports dep1 which imports dep2. actually uses both of them</li>
<li>index2 - imports dep1 but only uses a function that does not depend on dep2</li>
<li>commons - contains everything that is used by more than one entry</li>
</ul>
<p dir="auto">The issue is that dep2 is detected only as required only for index1 (since index2 does not actually use it). By itself that is kind of fine - when loading commons+index1, everything works, because dep2 is loaded from index1 chunk.</p>
<p dir="auto">However when loading index2, fails with runtime error due to the fact that in commons chunk, dep1 still lists dep2 as dependency - but it is not included in either commons or index2.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><a href="https://github.com/Knagis/webpack-concat-issue/tree/commons-error">https://github.com/Knagis/webpack-concat-issue/tree/commons-error</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">no runtime errors (either dep2 is included in commons chunk or it is loaded only when calling the function that uses it or various other combinations of moving/splitting the modules so that it works for both entries)</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.1.3<br>
Node.js version: 12.13.1<br>
Operating System: Win10<br>
Additional tools:</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
when the first request, only add one(the very last one import css/less file) to the html, cause the page style error</p>
<p dir="auto"><strong>example</strong><br>
index.jsx(entry):<br>
import 'styles/my.less';<br>
import 'styles/index.less';</p>
<p dir="auto"><strong>expected html</strong></p>
<style>{my.less content}</style>
<style>{index.less content}</style>
<p dir="auto"><strong>first request result html</strong></p>
<style>{index.less content}</style>
<p dir="auto"><strong>second or more request result html</strong></p>
<style>{my.less content}</style>
<style>{index.less content}</style>
<p dir="auto"><strong>bug reason</strong><br>
style-loader will check the module.id and then use it to identify and add dom to html, but during the first request, the hot module is missing the id property, so cause the error</p>
<p dir="auto"><strong>a simple solution</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19724409/168262869-ff257b0b-547a-44e3-895d-58afd7d03a66.png"><img width="1200" alt="image" src="https://user-images.githubusercontent.com/19724409/168262869-ff257b0b-547a-44e3-895d-58afd7d03a66.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: v5.72.0<br>
Node.js version: v12.19.2<br>
Operating System: macOS<br>
Additional tools:<br>
[email protected]</p> | 0 |
<pre class="notranslate">Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull", "hg update default", rebuild, and
retry
what you did to
reproduce the problem. Thanks.
What steps will reproduce the problem?
1. Checkout the latest version of the Go code
2. Try to build a simple Hello World application:
package main
import "fmt"
func main() {
fmt.Println("Hello")
}
What is the expected output?
The expected output is that Go will build the application.
What do you see instead?
The error: mkdir C:\Users\lmauldin\AppData\Local\Temp\go-build862896274\local\c:: The
filename, directory name, or volume label syntax is incorrect.
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Windows 7 X64
Which revision are you using? (hg identify)
50adb6a9e76c tip
Please provide any additional information below.
I think the latest changes to the Go cmd caused the problem because this was working
correctly yesterday morning (03/01/2012).</pre> | <p dir="auto">With the following code:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package main
/*
#include <stdlib.h>
typedef void (*destructor)(void*);
static void my_func(destructor d, char *p) {
d(p);
}
*/
import "C"
func main() {
C.my_func(C.destructor(C.free), C.CString("test"))
}"><pre class="notranslate"><span class="pl-k">package</span> main
<span class="pl-c">/*</span>
<span class="pl-c">#include <stdlib.h></span>
<span class="pl-c">typedef void (*destructor)(void*);</span>
<span class="pl-c">static void my_func(destructor d, char *p) {</span>
<span class="pl-c"> d(p);</span>
<span class="pl-c">}</span>
<span class="pl-c">*/</span>
<span class="pl-k">import</span> <span class="pl-s">"C"</span>
<span class="pl-k">func</span> <span class="pl-en">main</span>() {
<span class="pl-s1">C</span>.<span class="pl-en">my_func</span>(<span class="pl-s1">C</span>.<span class="pl-en">destructor</span>(<span class="pl-s1">C</span>.<span class="pl-c1">free</span>), <span class="pl-s1">C</span>.<span class="pl-en">CString</span>(<span class="pl-s">"test"</span>))
}</pre></div>
<p dir="auto">I get the following error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ go build cgo_bug.go
# command-line-arguments
ld: illegal text-relocation to '_free' in /usr/lib/libpthread.dylib from 'main.init' in /var/folders/07/ks1g8j_n40v01c_gc7bzx_z00000gn/T//go-link-gyr5vG/go.o for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/6l: running clang failed: unsuccessful exit status 0x100
$ go version
go version default darwin/amd64"><pre class="notranslate">$ go build cgo_bug.go
<span class="pl-c"><span class="pl-c">#</span> command-line-arguments</span>
ld: illegal text-relocation to <span class="pl-s"><span class="pl-pds">'</span>_free<span class="pl-pds">'</span></span> <span class="pl-k">in</span> /usr/lib/libpthread.dylib from <span class="pl-s"><span class="pl-pds">'</span>main.init<span class="pl-pds">'</span></span> <span class="pl-k">in</span> /var/folders/07/ks1g8j_n40v01c_gc7bzx_z00000gn/T//go-link-gyr5vG/go.o <span class="pl-k">for</span> architecture x86_64
clang: error: linker <span class="pl-c1">command</span> failed with <span class="pl-c1">exit</span> code 1 (use -v to see invocation)
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/6l: running clang failed: unsuccessful <span class="pl-c1">exit</span> status 0x100
$ go version
go version default darwin/amd64</pre></div> | 0 |
<p dir="auto">Current switching order is as tab display order, which is useless when opening many tabs.<br>
Other editors uses MRU order to improve it (Intellij IDEA, Sublimetext, VS.net, Windows alt-tab etc..)</p>
<p dir="auto">It's better to popup an open file list (in MRU order) when do switching (like IntelliJ IDEA / Windows alt-tab does).<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8944061/5994796/bde21f52-aabc-11e4-887e-bf7c41b61071.png"><img src="https://cloud.githubusercontent.com/assets/8944061/5994796/bde21f52-aabc-11e4-887e-bf7c41b61071.png" alt="tabswitch_2366" style="max-width: 100%;"></a></p> | <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zcbenz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zcbenz">@zcbenz</a> I looked into this one for a while this afternoon and I can't figure it out. Do you think there's any way we could defer setting the value on the hidden input until the editor updates? Setting it directly in the <code class="notranslate">textInput</code> event handler seems to be causing an extra reflow. We certainly have other things to fix in this timeline as well, but I'd like to have one layout event per keystroke. Any ideas?</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/300d40a8a9b4577b26c948f1821725c38297042768dd06fc653c4cf9d25b557d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313738392f323437383834342f62396365316331612d623038382d313165332d383863642d3433343738663265323936612e706e67"><img src="https://camo.githubusercontent.com/300d40a8a9b4577b26c948f1821725c38297042768dd06fc653c4cf9d25b557d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f313738392f323437383834342f62396365316331612d623038382d313165332d383863642d3433343738663265323936612e706e67" alt="screenshot_2014-03-20_17_27_08" data-canonical-src="https://f.cloud.github.com/assets/1789/2478844/b9ce1c1a-b088-11e3-88cd-43478f2e296a.png" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">struct Net : torch::nn::Module {<br>
Net()<br>
: conv1(torch::nn::Conv2dOptions(1, 20, /<em>kernel_size=</em>/5).stride(1)),<br>
conv2(torch::nn::Conv2dOptions(20, 40, /<em>kernel_size=</em>/5)),<br>
fc1(640, 120),<br>
fc2(120, 10) {<br>
register_module("conv1", conv1);<br>
register_module("conv2", conv2);<br>
register_module("conv2_drop", conv2_drop);<br>
register_module("fc1", fc1);<br>
register_module("fc2", fc2);<br>
}<br>
torch::Tensor forward(torch::Tensor x) {<br>
x = torch::relu(torch::max_pool2d(conv1->forward(x), 2));//(28-5)+1=24,12 x 12 x 10<br>
x = torch::relu(torch::max_pool2d(conv2_drop->forward(conv2->forward(x)), 2));//(12-5)+1=8,4 x 4 x 20<br>
//x = torch::relu(torch::avg_pool2d(conv2_drop->forward(conv2->forward(x)), 2));//(12-5)+1=8,4 x 4 x 20</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" x = x.view({ -1, 640 });
x = torch::relu(fc1->forward(x));
x = torch::dropout(x, /*p=*/0.5, /*training=*/is_training());
x = fc2->forward(x);
return torch::log_softmax(x, /*dim=*/1);
}
torch::nn::Conv2d conv1;
torch::nn::Conv2d conv2;
torch::nn::Dropout2d conv2_drop;
torch::nn::Linear fc1;
torch::nn::Linear fc2;"><pre class="notranslate"><code class="notranslate"> x = x.view({ -1, 640 });
x = torch::relu(fc1->forward(x));
x = torch::dropout(x, /*p=*/0.5, /*training=*/is_training());
x = fc2->forward(x);
return torch::log_softmax(x, /*dim=*/1);
}
torch::nn::Conv2d conv1;
torch::nn::Conv2d conv2;
torch::nn::Dropout2d conv2_drop;
torch::nn::Linear fc1;
torch::nn::Linear fc2;
</code></pre></div>
<p dir="auto">};</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yf225/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yf225">@yf225</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/houseroad/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/houseroad">@houseroad</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/spandantiwari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/spandantiwari">@spandantiwari</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lara-hdr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lara-hdr">@lara-hdr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BowenBao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BowenBao">@BowenBao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/neginraoof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/neginraoof">@neginraoof</a></p> | <h2 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature</h2>
<p dir="auto">Having torch onnx feature available through the C++ API.</p>
<h2 dir="auto">Motivation</h2>
<p dir="auto">I have some C++ frontend trained models, and I want to export them in onnx format in order to use them in external inference engines.</p>
<h2 dir="auto">Pitch</h2>
<p dir="auto">Same API as the python's <code class="notranslate">torch.onnx.export</code> would be enough.</p>
<h2 dir="auto">Alternatives</h2>
<p dir="auto">An alternative would be to have easy C++ frontend model import in the python side, but I think this is more related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="403207737" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/16367" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/16367/hovercard" href="https://github.com/pytorch/pytorch/issues/16367">#16367</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BowenBao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BowenBao">@BowenBao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/neginraoof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/neginraoof">@neginraoof</a></p> | 1 |
<p dir="auto">./app/console --version<br>
Symfony version 2.0.0-RC2 - app/dev/debug</p>
<p dir="auto">Running<br>
./app/console doctrine:generate:crud</p>
<p dir="auto">Produces this controller:</p> | <p dir="auto">When I run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Ruud@RuudBook:/www/myapp$ ./app/console generate:doctrine:crud
The Entity shortcut name: MyVendorBundle:User
Do you want to generate the "write" actions [no]? yes
Configuration format (yml, xml, php, or annotation) [annotation]:
Routes prefix [/user]:
You are going to generate a CRUD controller for "MyVendorBundle:User"
using the "annotation" format.
Do you confirm generation [yes]?
Generating the CRUD code: OK
Generating the Form code: OK
You can now start using the generated code! "><pre class="notranslate"><code class="notranslate">Ruud@RuudBook:/www/myapp$ ./app/console generate:doctrine:crud
The Entity shortcut name: MyVendorBundle:User
Do you want to generate the "write" actions [no]? yes
Configuration format (yml, xml, php, or annotation) [annotation]:
Routes prefix [/user]:
You are going to generate a CRUD controller for "MyVendorBundle:User"
using the "annotation" format.
Do you confirm generation [yes]?
Generating the CRUD code: OK
Generating the Form code: OK
You can now start using the generated code!
</code></pre></div>
<p dir="auto">I get this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<?php
namespace MyVendor\Bundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use MyVendor\Bundle\Entity\User;
use MyVendor\Bundle\Form\UserType;
/**
* User controller.
*
* @Route("/user")
*/
class UserController extends Controller
{/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/index.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/show.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/new.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/create.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/edit.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/update.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/delete.php
}"><pre class="notranslate"><code class="notranslate"><?php
namespace MyVendor\Bundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use MyVendor\Bundle\Entity\User;
use MyVendor\Bundle\Form\UserType;
/**
* User controller.
*
* @Route("/user")
*/
class UserController extends Controller
{/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/index.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/show.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/new.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/create.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/edit.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/update.php/www/myapp/vendor/bundles/Sensio/Bundle/GeneratorBundle/Command/../Resources/skeleton/crud/actions/delete.php
}
</code></pre></div>
<p dir="auto">I'm using MAMP PHP Version 5.3.5</p>
<p dir="auto">Am I missing something?</p>
<p dir="auto">[ I'm using the Standard RC2 release btw ]</p> | 1 |
<p dir="auto">Python 3.6.6 (default, Jul 19 2018, 14:25:17)<br>
[GCC 8.1.1 20180712 (Red Hat 8.1.1-5)] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import tensorflow<br>
Illegal instruction (core dumped)</p>
</blockquote>
</blockquote>
</blockquote> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>OS Platform and Distribution (Windows 10)</strong>:</li>
<li>**TensorFlow installed from :pip3</li>
<li>**TensorFlow version :1.5</li>
<li>**Python version: 2.7.14</li>
<li>**GPU model and memory: Nvidia GT540M 1GB</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">On importing tensorflow i get this error. Downgraded to 1.5 still the same error as on the lastest version.</p>
<ol dir="auto">
<li>Spyder and Jupyter both result in the same error</li>
</ol> | 1 |
<p dir="auto">I want to import data in csv file into neo4j with the following command:<br>
../bin/neo4j-import --into ../data/databases/entity.db --nodes:Entity "nodes_header.csv,node.csv" --relationships:RELE "edges_header.csv,edge.csv" --multiline-fields=true --bad-tolerance 100000000 --stacktrace true --skip-duplicate-nodes true<br>
there are about 2billion nodes and 10billion edges in the csv file.</p>
<p dir="auto">but i get the error like:</p>
<p dir="auto">[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.01B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.03B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.04B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.06B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.08B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.09B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.11B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.13B<br>
[*RESOLVE (82 collisions):61.19 GB------------------------------------------------------------]2.14BException in thread "Thread-1302" java.lan<br>
g.IllegalArgumentException: Collision in source with too many lines (-2143568315)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)<br>
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)<br>
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)<br>
Import error: Collision in source with too many lines (-2143568315)<br>
Caused by:Collision in source with too many lines (-2143568315)<br>
java.lang.IllegalArgumentException: Collision in source with too many lines (-2143568315)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)<br>
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)<br>
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)</p>
<p dir="auto">Input error: Collision in source with too many lines (-2143568315)<br>
Caused by:Collision in source with too many lines (-2143568315)<br>
java.lang.IllegalArgumentException: Collision in source with too many lines (-2143568315)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.SourceInformation.encodeSourceInformation(SourceInformation.java:52)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:486)<br>
at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:282)<br>
at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:54)<br>
at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep$1.run(LonelyProcessingStep.java:56)</p>
<p dir="auto">Neo4j version: 3.1.2 community<br>
Operating system: linux</p>
<p dir="auto">is this a bug when there are too many nodes or edges?</p> | <h2 dir="auto">Strange behavior of aggregations, aliased in WITH clause</h2>
<p dir="auto"><strong>Neo4j Version:</strong> 3.4.0<br>
<strong>Operating System:</strong> Fedora 26</p>
<p dir="auto">Hello!</p>
<p dir="auto">I've been using Neo4j for quite a while, and noticed some strange behavior regarding aggregations, aliased in the WITH clause of the Cypher query.</p>
<p dir="auto">I have the following node setup in Neo4j:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6199897/50238039-0e9c2480-03c7-11e9-8c71-2dbcb16415cb.png"><img src="https://user-images.githubusercontent.com/6199897/50238039-0e9c2480-03c7-11e9-8c71-2dbcb16415cb.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Steps to reproduce</h3>
<div class="highlight highlight-source-cypher notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="MATCH (g:Grey)-[:TypeRel3]-(y:Yellow)-[:TypeRel1]-(p:Pink)
WITH g, y, p, COUNT(DISTINCT y) as _count1, COUNT(DISTINCT p) as _count2
RETURN y.name, _count1, _count2"><pre class="notranslate"><span class="pl-k">MATCH</span> (<span class="pl-smi">g</span>:<span class="pl-smi">Grey</span>)<span class="pl-c1">-</span><span class="pl-k">[</span><span class="pl-en"><span class="pl-k">:</span><span class="pl-en">TypeRel3</span></span><span class="pl-k">]</span><span class="pl-c1">-</span>(<span class="pl-smi">y</span>:<span class="pl-smi">Yellow</span>)<span class="pl-c1">-</span><span class="pl-k">[</span><span class="pl-en"><span class="pl-k">:</span><span class="pl-en">TypeRel1</span></span><span class="pl-k">]</span><span class="pl-c1">-</span>(<span class="pl-smi">p</span>:<span class="pl-smi">Pink</span>)
<span class="pl-k">WITH</span> <span class="pl-smi">g</span>, <span class="pl-smi">y</span>, <span class="pl-smi">p</span>, <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">y</span>) <span class="pl-k">as</span> <span class="pl-smi">_count1</span>, <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">p</span>) <span class="pl-k">as</span> <span class="pl-smi">_count2</span>
<span class="pl-k">RETURN</span> <span class="pl-smi">y</span>.<span class="pl-smi">name</span>, <span class="pl-smi">_count1</span>, <span class="pl-smi">_count2</span></pre></div>
<h3 dir="auto">Expected behavior</h3>
<table role="table">
<thead>
<tr>
<th>y.name</th>
<th align="center">_count1</th>
<th align="right">_count2</th>
</tr>
</thead>
<tbody>
<tr>
<td>"x"</td>
<td align="center">1</td>
<td align="right">3</td>
</tr>
</tbody>
</table>
<h3 dir="auto">Actual behavior</h3>
<table role="table">
<thead>
<tr>
<th>y.name</th>
<th align="center">_count1</th>
<th align="right">_count2</th>
</tr>
</thead>
<tbody>
<tr>
<td>"x"</td>
<td align="center">1</td>
<td align="right">1</td>
</tr>
<tr>
<td>"x"</td>
<td align="center">1</td>
<td align="right">1</td>
</tr>
<tr>
<td>"x"</td>
<td align="center">1</td>
<td align="right">1</td>
</tr>
</tbody>
</table>
<p dir="auto">However, when I use <code class="notranslate">COUNT(...)</code> functions in the <code class="notranslate">RETURN</code> statement instead of the <code class="notranslate">_count1</code> and <code class="notranslate">_count2</code> aliases from the <code class="notranslate">WITH</code> clause as follows:</p>
<div class="highlight highlight-source-cypher notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="MATCH (g:Grey)-[:TypeRel3]-(y:Yellow)-[:TypeRel1]-(p:Pink)
WITH g, y, p, COUNT(DISTINCT y) as _count1, COUNT(DISTINCT p) as _count2
RETURN y.name, COUNT(DISTINCT y), COUNT(DISTINCT p)"><pre class="notranslate"><span class="pl-k">MATCH</span> (<span class="pl-smi">g</span>:<span class="pl-smi">Grey</span>)<span class="pl-c1">-</span><span class="pl-k">[</span><span class="pl-en"><span class="pl-k">:</span><span class="pl-en">TypeRel3</span></span><span class="pl-k">]</span><span class="pl-c1">-</span>(<span class="pl-smi">y</span>:<span class="pl-smi">Yellow</span>)<span class="pl-c1">-</span><span class="pl-k">[</span><span class="pl-en"><span class="pl-k">:</span><span class="pl-en">TypeRel1</span></span><span class="pl-k">]</span><span class="pl-c1">-</span>(<span class="pl-smi">p</span>:<span class="pl-smi">Pink</span>)
<span class="pl-k">WITH</span> <span class="pl-smi">g</span>, <span class="pl-smi">y</span>, <span class="pl-smi">p</span>, <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">y</span>) <span class="pl-k">as</span> <span class="pl-smi">_count1</span>, <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">p</span>) <span class="pl-k">as</span> <span class="pl-smi">_count2</span>
<span class="pl-k">RETURN</span> <span class="pl-smi">y</span>.<span class="pl-smi">name</span>, <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">y</span>), <span class="pl-c1">COUNT</span>(<span class="pl-k">DISTINCT</span> <span class="pl-smi">p</span>)</pre></div>
<p dir="auto">the results show as expected:</p>
<table role="table">
<thead>
<tr>
<th>y.name</th>
<th align="center">COUNT(DISTINCT y)</th>
<th align="right">COUNT(DISTINCT p)</th>
</tr>
</thead>
<tbody>
<tr>
<td>"x"</td>
<td align="center">1</td>
<td align="right">3</td>
</tr>
</tbody>
</table>
<p dir="auto">So far I haven't found anything in the documentation or related issues. Am I missing something?<br>
I'd appreciate any help regarding this.</p> | 0 |
<ul dir="auto">
<li>have <code class="notranslate">formatOnType: true</code></li>
<li>pressing enter on the end of the line does not indent the next line properly, it is not indented at all</li>
<li>I can repro for both TS and JS</li>
</ul>
<p dir="auto">Simple snippet to repro. Pressing enter on end of first line I would expect to get indentation</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function f() {
};"><pre class="notranslate"><code class="notranslate">function f() {
};
</code></pre></div>
<p dir="auto">Works for our insider build so it seems like it is a regression -> important</p>
<p dir="auto">fyi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandrudima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandrudima">@alexandrudima</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dbaeumer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dbaeumer">@dbaeumer</a></p> | <p dir="auto">I've followed the setup instructions found on <a href="https://code.visualstudio.com/updates#vscode" rel="nofollow">https://code.visualstudio.com/updates#vscode</a> to get the Salsa preview working.</p>
<p dir="auto">Upon enabling Salsa, when pressing Enter to go to a new line; the cursor will always jump to the beginning of the line instead of keeping the indentation level of the line before it, this happens in JavaScript files.</p>
<p dir="auto">I'm not sure if this was caused solely by Salsa or a combination of other settings. But when turning Salsa off, the indentation works properly again.</p>
<p dir="auto">Here is my config before adding the Salsa config path.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Place your settings in this file to overwrite the default settings
{
// Controls the rendering size of tabs in characters. Accepted values: "auto", 2, 4, 6, etc. If set to "auto", the value will be guessed when a file is opened.
"editor.tabSize": 4,
// Controls if the editor will insert spaces for tabs. Accepted values: "auto", true, false. If set to "auto", the value will be guessed when a file is opened.
"editor.insertSpaces": true,
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping
"editor.wrappingColumn": 0,
// Controls if the editor should automatically format the line after typing
"editor.formatOnType": true,
// Complete functions with their parameter signature.
"javascript.suggest.useCodeSnippetsOnMethodSuggest": false,
// When enabled, will trim trailing whitespace when you save a file.
"files.trimTrailingWhitespace": true
}"><pre class="notranslate"><code class="notranslate">// Place your settings in this file to overwrite the default settings
{
// Controls the rendering size of tabs in characters. Accepted values: "auto", 2, 4, 6, etc. If set to "auto", the value will be guessed when a file is opened.
"editor.tabSize": 4,
// Controls if the editor will insert spaces for tabs. Accepted values: "auto", true, false. If set to "auto", the value will be guessed when a file is opened.
"editor.insertSpaces": true,
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping
"editor.wrappingColumn": 0,
// Controls if the editor should automatically format the line after typing
"editor.formatOnType": true,
// Complete functions with their parameter signature.
"javascript.suggest.useCodeSnippetsOnMethodSuggest": false,
// When enabled, will trim trailing whitespace when you save a file.
"files.trimTrailingWhitespace": true
}
</code></pre></div> | 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/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">Now the travis ci of master branch failed<br>
<a href="https://api.travis-ci.org/v3/job/471789633/log.txt" rel="nofollow">https://api.travis-ci.org/v3/job/471789633/log.txt</a></p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.5.3</li>
<li>Operating System version: centos7</li>
<li>Java version: jdk8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>服务发布时,使用kill -15或者kill -9杀死老进程,然后启动服务,dubbo对外服务端口处于Linux系统临时端口范围内;</li>
<li>启动过程中偶尔会报 <code class="notranslate">Address already in use: bind</code> 异常,概率很低;</li>
<li>如果这种问题出现,需要重新发布或者重启下服务,不太友好 :(</li>
</ol>
<h3 dir="auto">问题分析</h3>
<p dir="auto">dubbo服务监听端口处于Linux系统临时端口范围内,从老进程被kill掉,到新进程启动,这段时间内可能该端口已被系统分配给其他进程作为临时端口使用了,导致服务启动不了,本地已验证。(ps:该问题还有可能是其他原因导致,不过暂时没有分析出来)</p>
<p dir="auto">如何解决:</p>
<ol dir="auto">
<li>dubbo对外监听端口不要设置在Linux临时端口范围,或者将Linux临时端口范围设置成不包括服务对外监听端口。</li>
<li>dubbo启动过程中可以对绑定端口做容错处理,该容错功能可默认不启用,启用时如果报了端口被占用异常,可以在原有端口上做自增然后再次尝试。(看了目前dubbo的代码)</li>
</ol>
<p dir="auto">ps:可以将端口配置-1让dubbo选择临时端口作为监听端口,不过我们服务目前都是指定固定端口。</p>
<blockquote>
<p dir="auto">因此,dubbo后续是否可以考虑增加一个对端口占用容错的特性呢,谢谢~</p>
</blockquote> | 0 |
<p dir="auto">It'd be really useful to be able to convert a .png image to a .jpg at the same time I'm resizing it.</p>
<p dir="auto">For example, I've been sent a bunch of .png files that I want to stick on a website. Currently, I'm loading them in to PhotoShop, resizing and exporting as JPEGs. It'd save me so much time if I could just right-click > 'Resize pictures', choose the fit dimensions and the output format.</p>
<p dir="auto">Loving that you've brought PowerToys back! thanks for all the hard work, it's really appreciated.</p> | <p dir="auto">Hello,</p>
<p dir="auto">I took a look at the image resizer feature and found it really interesting, but I was wondering if it could also encode to another format. There are times when you have a bunch of png images that you want to convert to png, to have a lighter file, with or without a resize of the image. I think it could be interesting to add this option. It could simply be a drop list added when you create a new format size, with encode to : [Keep format, png, jpg ...]</p> | 1 |
<p dir="auto">Do we have box select in the editor? usually ALT or CTRL to boxed select.</p> | <p dir="auto">The error in the title shows up after the users updated to 0.10.10.</p>
<p dir="auto">I suspect that the extension could not be fully removed during the update since the OmniSharp server was running.</p> | 0 |
<p dir="auto">See SO post<br>
<a href="https://stackoverflow.com/q/46498784/2336654" rel="nofollow">https://stackoverflow.com/q/46498784/2336654</a></p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from pandas import Series
class Xseries(Series):
_metadata = ['attr']
@property
def _constructor(self):
return Xseries
def __init__(self, *args, **kwargs):
self.attr = kwargs.pop('attr', 0)
super().__init__(*args, **kwargs)
s = Xseries([1, 2, 3], attr=3)"><pre class="notranslate"><code class="notranslate">from pandas import Series
class Xseries(Series):
_metadata = ['attr']
@property
def _constructor(self):
return Xseries
def __init__(self, *args, **kwargs):
self.attr = kwargs.pop('attr', 0)
super().__init__(*args, **kwargs)
s = Xseries([1, 2, 3], attr=3)
</code></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">According to <a href="https://pandas.pydata.org/pandas-docs/stable/internals.html#define-original-properties" rel="nofollow">https://pandas.pydata.org/pandas-docs/stable/internals.html#define-original-properties</a><br>
I should be able to define an original property and have it passed on when a new object is constructed.</p>
<p dir="auto">This works</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="s.mul(2).attr
3"><pre class="notranslate"><code class="notranslate">s.mul(2).attr
3
</code></pre></div>
<p dir="auto">While this doesn't</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="s.__mul__(2).attr
0"><pre class="notranslate"><code class="notranslate">s.__mul__(2).attr
0
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">I expected both output to be <code class="notranslate">3</code></p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]<br>
INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.0.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 16.7.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.20.3<br>
pytest: 3.2.1<br>
pip: 9.0.1<br>
setuptools: 36.3.0<br>
Cython: 0.25.2<br>
numpy: 1.13.1<br>
scipy: 0.18.1<br>
xarray: 0.9.5<br>
IPython: 6.1.0<br>
sphinx: 1.5.1<br>
patsy: 0.4.1<br>
dateutil: 2.6.1<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: 1.2.0<br>
tables: 3.3.0<br>
numexpr: 2.6.1<br>
feather: 0.4.0<br>
matplotlib: 2.0.0<br>
openpyxl: 2.4.1<br>
xlrd: 1.0.0<br>
xlwt: 1.2.0<br>
xlsxwriter: 0.9.6<br>
lxml: 3.7.2<br>
bs4: 4.5.3<br>
html5lib: 0.999999999<br>
sqlalchemy: 1.1.5<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.9.6<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: 0.4.0</p>
</details> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!/bin/env python
"""
Example bug in derived Pandas Series.
__finalized__ is not called in arithmetic binary operators, but it is in in some booleans cases.
>>> m = MySeries([1, 2, 3], name='test')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 1
1 2
dtype: int64
>>> n.x
42
>>> o=n+1
>>> o
0 2
1 3
dtype: int64
>>> o.x
Traceback (most recent call last):
...
AttributeError: 'MySeries' object has no attribute 'x'
>>> m = MySeries([True, False, True], name='test2')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 True
1 False
dtype: bool
>>> n.x
42
>>> o=n ^ True
>>> o
0 False
1 True
dtype: bool
>>> o.x
42
>>> p = n ^ o
>>> p
0 True
1 True
dtype: bool
>>> p.x
42
"""
import pandas as pd
class MySeries(pd.Series):
_metadata = ['x']
@property
def _constructor(self):
return MySeries
if __name__ == "__main__":
import doctest
doctest.testmod()
"><pre class="notranslate"><code class="notranslate">#!/bin/env python
"""
Example bug in derived Pandas Series.
__finalized__ is not called in arithmetic binary operators, but it is in in some booleans cases.
>>> m = MySeries([1, 2, 3], name='test')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 1
1 2
dtype: int64
>>> n.x
42
>>> o=n+1
>>> o
0 2
1 3
dtype: int64
>>> o.x
Traceback (most recent call last):
...
AttributeError: 'MySeries' object has no attribute 'x'
>>> m = MySeries([True, False, True], name='test2')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 True
1 False
dtype: bool
>>> n.x
42
>>> o=n ^ True
>>> o
0 False
1 True
dtype: bool
>>> o.x
42
>>> p = n ^ o
>>> p
0 True
1 True
dtype: bool
>>> p.x
42
"""
import pandas as pd
class MySeries(pd.Series):
_metadata = ['x']
@property
def _constructor(self):
return MySeries
if __name__ == "__main__":
import doctest
doctest.testmod()
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">In all cases, the metadata 'x' should be transferred from the passed values when applying binary operators.<br>
When the right-hand value is a constant, the left-hand value metadata should be used in <strong>finalize</strong> for arithmetic operators, just like it is for Boolean binary operators.<br>
When two series are used in binary operators, some resolution should be possible in <strong>finalize</strong>.<br>
I would pass the second (right-hand) value by calling <strong>finalize</strong>(self, other=other), leaving the resolution to the derived class implementer, but there might be a smarter approach.</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<p dir="auto">pd.show_versions()</p>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 2.7.6.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 3.19.0-59-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8</p>
<p dir="auto">pandas: 0.18.1<br>
nose: 1.3.7<br>
pip: None<br>
setuptools: 20.2.2<br>
Cython: 0.24<br>
numpy: 1.11.0<br>
scipy: 0.17.0<br>
statsmodels: 0.6.1<br>
xarray: None<br>
IPython: 4.0.1<br>
sphinx: 1.3.1<br>
patsy: 0.4.0<br>
dateutil: 2.4.2<br>
pytz: 2015.7<br>
blosc: None<br>
bottleneck: 1.0.0<br>
tables: 3.2.2<br>
numexpr: 2.5.2<br>
matplotlib: 1.5.0<br>
openpyxl: 2.2.6<br>
xlrd: 0.9.4<br>
xlwt: 1.0.0<br>
xlsxwriter: 0.7.7<br>
lxml: 3.4.4<br>
bs4: 4.4.1<br>
html5lib: 0.9999999<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: 1.0.9<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.8<br>
boto: 2.38.0<br>
pandas_datareader: None</p> | 1 |
<p dir="auto">(Updated - my first examples were wrong)</p>
<p dir="auto">In the following example the document will be deleted:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DELETE testidx
PUT testidx
PUT testidx/doc/_mapping
{
"_ttl":{
"enabled": "true"
}
}
GET testidx/_mapping
PUT testidx/doc/_mapping
{
"_ttl":{
"enabled": "false"
}
}
# _ttl is enabled anyway
GET testidx/_mapping
POST testidx/doc/1
{
"text":"foo",
"_ttl": "10ms"
}
#document will be deleted after a while
GET testidx/doc/1"><pre class="notranslate"><code class="notranslate">DELETE testidx
PUT testidx
PUT testidx/doc/_mapping
{
"_ttl":{
"enabled": "true"
}
}
GET testidx/_mapping
PUT testidx/doc/_mapping
{
"_ttl":{
"enabled": "false"
}
}
# _ttl is enabled anyway
GET testidx/_mapping
POST testidx/doc/1
{
"text":"foo",
"_ttl": "10ms"
}
#document will be deleted after a while
GET testidx/doc/1
</code></pre></div> | <p dir="auto">When putting a mapping, if there is a conflict in <code class="notranslate">properties</code>, an exception is thrown. However, any conflicts in the other parameters ( eg <code class="notranslate">_all</code>, <code class="notranslate">dynamic</code> etc) are silently ignored.</p>
<p dir="auto">These should also throw errors.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# [Sat Mar 12 19:38:18 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/'
# [Sat Mar 12 19:38:18 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }
# [Sat Mar 12 19:38:21 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/bar/_mapping' -d '
{
"bar" : {
"_all" : {
"enabled" : 0
},
"dynamic" : 0,
"properties" : {
"text" : {
"type" : "string"
}
}
}
}
'
# [Sat Mar 12 19:38:21 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }
# [Sat Mar 12 19:38:24 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/bar/_mapping' -d '
{
"bar" : {
"_all" : {
"enabled" : 1
},
"dynamic" : 1,
"properties" : {
"text" : {
"type" : "string"
}
}
}
}
'
# [Sat Mar 12 19:38:24 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }"><pre class="notranslate"><code class="notranslate"># [Sat Mar 12 19:38:18 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/'
# [Sat Mar 12 19:38:18 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }
# [Sat Mar 12 19:38:21 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/bar/_mapping' -d '
{
"bar" : {
"_all" : {
"enabled" : 0
},
"dynamic" : 0,
"properties" : {
"text" : {
"type" : "string"
}
}
}
}
'
# [Sat Mar 12 19:38:21 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }
# [Sat Mar 12 19:38:24 2011] Protocol: http, Server: 127.0.0.1:9200
curl -XPUT 'http://127.0.0.1:9200/foo/bar/_mapping' -d '
{
"bar" : {
"_all" : {
"enabled" : 1
},
"dynamic" : 1,
"properties" : {
"text" : {
"type" : "string"
}
}
}
}
'
# [Sat Mar 12 19:38:24 2011] Response:
# {
# "ok" : true,
# "acknowledged" : true
# }
</code></pre></div> | 1 |
<p dir="auto">No nodejs intellisense after latest upgrade 0.10.10 on mac. Also, tab is behaving wrongly. (All extensions removed)</p> | <p dir="auto">Extracted from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="136750039" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3509" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3509/hovercard" href="https://github.com/microsoft/vscode/issues/3509">microsoft/vscode#3509</a>.</p>
<p dir="auto">According to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="130525752" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6807" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6807/hovercard" href="https://github.com/microsoft/TypeScript/issues/6807">#6807</a> the default for module type is <code class="notranslate">commonjs</code>. However, in this example without a jsconfig.json then there are no completion proposals:</p>
<ul dir="auto">
<li>no <code class="notranslate">jsconfig.json</code></li>
<li>add a file bar.js:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="exports.foo = 3;"><pre class="notranslate"><code class="notranslate">exports.foo = 3;
</code></pre></div>
<ul dir="auto">
<li>add app.js add the following:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var bar = require('./bar');
bar."><pre class="notranslate"><code class="notranslate">var bar = require('./bar');
bar.
</code></pre></div>
<p dir="auto">There a no completions on <code class="notranslate">bar.</code></p>
<p dir="auto">The work around is to add a <code class="notranslate">jsconfig.json</code> that defines the module type to commonjs:</p>
<p dir="auto"><code class="notranslate">jsconfig.json</code></p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"module": "commonjs"
}
}"><pre class="notranslate">{
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>commonjs<span class="pl-pds">"</span></span>
}
}</pre></div> | 1 |
<p dir="auto">Python 2.7.9, scikit-learn 0.16.1<br>
MacBook Pro, 16GB RAM, MacOS 10.10.3</p>
<p dir="auto">When running the following code in an iPython notebook, it runs for a long time producing no output, and then the iPython kernel crashes and has to restart.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
from sklearn.manifold import TSNE
X = np.random.random((100000, 100))
tsne = TSNE(n_components=2, perplexity=40, learning_rate=100, verbose=2).fit_transform(X)"><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">sklearn</span>.<span class="pl-s1">manifold</span> <span class="pl-k">import</span> <span class="pl-v">TSNE</span>
<span class="pl-v">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">100000</span>, <span class="pl-c1">100</span>))
<span class="pl-s1">tsne</span> <span class="pl-c1">=</span> <span class="pl-v">TSNE</span>(<span class="pl-s1">n_components</span><span class="pl-c1">=</span><span class="pl-c1">2</span>, <span class="pl-s1">perplexity</span><span class="pl-c1">=</span><span class="pl-c1">40</span>, <span class="pl-s1">learning_rate</span><span class="pl-c1">=</span><span class="pl-c1">100</span>, <span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">2</span>).<span class="pl-en">fit_transform</span>(<span class="pl-v">X</span>)</pre></div>
<p dir="auto">Running the same code from the command line produces one line of output</p>
<p dir="auto"><code class="notranslate">[t-SNE] Computing pairwise distances...</code></p>
<p dir="auto">and then it dies.</p>
<p dir="auto">The error is pretty much the same as reported in <a href="https://github.com/scikit-learn/scikit-learn/issues/3088" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/3088/hovercard">this older issue</a>. I'll attach a crash log next, but I think it's out of memory because if I reduce the rows of X to 10000, then it runs to completion without error.</p>
<p dir="auto">Some suggested improvements:</p>
<ul dir="auto">
<li>Estimate the memory required to carry out this operation and warn or error out earlier.</li>
<li>Try to recover from OOM errors in libBLAS more gracefully.</li>
<li>If possible, reduce the memory requirements of sklearn.manifold.TSNE or implement out-of-core</li>
<li>Document the memory requirements in sklearn.manifold (and sklearn.decomposition), and perhaps warn about potential OOM errors and what they'll look like to users. You've already nicely documented the runtime complexities of the algorithms but have not documented their space complexities.</li>
</ul> | <p dir="auto">[The bug here is that some BLAS libraries will crash if you pass in > 16 GiB arrays, because they use 32-bit indices internally. The most obvious solution is to break the dot call into multiple calls to dgemm, though there are also <a href="https://github.com/numpy/numpy/issues/5533#issuecomment-114309520" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/5533/hovercard">other possibilities</a>. Original report follows:]</p>
<hr>
<p dir="auto">On python 2.7.8, numpy 1.9.1, on Mac OS X:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy
numpy.random.seed(1)
X = numpy.random.random((50000,100))
numpy.dot(X, X.T)"><pre class="notranslate"><code class="notranslate">import numpy
numpy.random.seed(1)
X = numpy.random.random((50000,100))
numpy.dot(X, X.T)
</code></pre></div>
<p dir="auto">Results in:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Segmentation fault: 11"><pre class="notranslate"><code class="notranslate">Segmentation fault: 11
</code></pre></div>
<p dir="auto">Segfault doesn't occur on smaller arrays (e.g. 30000x100 is fine). In case it's useful, some linkage info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> numpy.__config__.show()
atlas_threads_info:
NOT AVAILABLE
blas_opt_info:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH', '-I/System/Library/Frameworks/vecLib.framework/Headers']
define_macros = [('NO_ATLAS_INFO', 3)]
atlas_blas_threads_info:
NOT AVAILABLE
openblas_info:
NOT AVAILABLE
lapack_opt_info:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH']
define_macros = [('NO_ATLAS_INFO', 3)]
openblas_lapack_info:
NOT AVAILABLE
atlas_info:
NOT AVAILABLE
lapack_mkl_info:
NOT AVAILABLE
blas_mkl_info:
NOT AVAILABLE
atlas_blas_info:
NOT AVAILABLE
mkl_info:
NOT AVAILABLE"><pre class="notranslate"><code class="notranslate">>>> numpy.__config__.show()
atlas_threads_info:
NOT AVAILABLE
blas_opt_info:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH', '-I/System/Library/Frameworks/vecLib.framework/Headers']
define_macros = [('NO_ATLAS_INFO', 3)]
atlas_blas_threads_info:
NOT AVAILABLE
openblas_info:
NOT AVAILABLE
lapack_opt_info:
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
extra_compile_args = ['-msse3', '-DAPPLE_ACCELERATE_SGEMV_PATCH']
define_macros = [('NO_ATLAS_INFO', 3)]
openblas_lapack_info:
NOT AVAILABLE
atlas_info:
NOT AVAILABLE
lapack_mkl_info:
NOT AVAILABLE
blas_mkl_info:
NOT AVAILABLE
atlas_blas_info:
NOT AVAILABLE
mkl_info:
NOT AVAILABLE
</code></pre></div> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">This error is happening for me on every app I run on my physical device. The app builds and starts running, but then loses the connection between the console and the phone.</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">These logs are from the flutter_gallery app:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +203 ms] Error connecting to the service protocol: WebSocketChannelException: WebSocketChannelException: HttpException: , uri = http://127.0.0.1:8106/ws
[ +3 ms] "flutter run" took 87,076ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:341)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:256)
<asynchronous suspension>
#3 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:196)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279)
<asynchronous suspension>
#6 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#7 new Future.sync (dart:async/future.dart:222)
#8 CommandRunner.run (package:args/command_runner.dart:109)
#9 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162)
#10 run.<anonymous closure> (package:flutter_tools/runner.dart:89)
<asynchronous suspension>
#11 AppContext._run (package:flutter_tools/src/base/context.dart:76)
<asynchronous suspension>
#12 AppContext.runInZone.<anonymous closure> (package:flutter_tools/src/base/context.dart:66)
#13 _rootRun (dart:async/zone.dart:1120)
#14 _CustomZone.run (dart:async/zone.dart:1001)
#15 runZoned (dart:async/zone.dart:1467)
#16 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#17 run (package:flutter_tools/runner.dart:60)
<asynchronous suspension>
#18 main (package:flutter_tools/executable.dart:44)
<asynchronous suspension>
#19 main (file:///Users/frederickcook/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#20 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)
#21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
[ +171 ms] ensureAnalyticsSent: 155ms
[ +5 ms] Invalid VMService message data detected: {jsonrpc: 2.0, method: _registerService, params: {service: reloadSources, alias: Flutter Tools}}"><pre class="notranslate"><code class="notranslate">[ +203 ms] Error connecting to the service protocol: WebSocketChannelException: WebSocketChannelException: HttpException: , uri = http://127.0.0.1:8106/ws
[ +3 ms] "flutter run" took 87,076ms.
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:341)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:256)
<asynchronous suspension>
#3 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:196)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:279)
<asynchronous suspension>
#6 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#7 new Future.sync (dart:async/future.dart:222)
#8 CommandRunner.run (package:args/command_runner.dart:109)
#9 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:162)
#10 run.<anonymous closure> (package:flutter_tools/runner.dart:89)
<asynchronous suspension>
#11 AppContext._run (package:flutter_tools/src/base/context.dart:76)
<asynchronous suspension>
#12 AppContext.runInZone.<anonymous closure> (package:flutter_tools/src/base/context.dart:66)
#13 _rootRun (dart:async/zone.dart:1120)
#14 _CustomZone.run (dart:async/zone.dart:1001)
#15 runZoned (dart:async/zone.dart:1467)
#16 AppContext.runInZone (package:flutter_tools/src/base/context.dart:65)
#17 run (package:flutter_tools/runner.dart:60)
<asynchronous suspension>
#18 main (package:flutter_tools/executable.dart:44)
<asynchronous suspension>
#19 main (file:///Users/frederickcook/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#20 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:263)
#21 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)
[ +171 ms] ensureAnalyticsSent: 155ms
[ +5 ms] Invalid VMService message data detected: {jsonrpc: 2.0, method: _registerService, params: {service: reloadSources, alias: Flutter Tools}}
</code></pre></div>
<p dir="auto">Full build log: <a href="https://firebasestorage.googleapis.com/v0/b/messaging-testing.appspot.com/o/bugreport.zip?alt=media&token=c45d116d-6a32-464d-b4a8-5e5b0a73a150" rel="nofollow">https://firebasestorage.googleapis.com/v0/b/messaging-testing.appspot.com/o/bugreport.zip?alt=media&token=c45d116d-6a32-464d-b4a8-5e5b0a73a150</a></p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Frederick-Cook-Air% flutter doctor
[✓] Flutter (on Mac OS X 10.13.2 17C88, locale en-US, channel master)
• Flutter at /Users/frederickcook/flutter
• Framework revision 370c73d9bc (2 hours ago), 2017-12-21 15:02:35 -0800
• Engine revision 00e9b362d5
• Tools Dart version 1.25.0-dev.11.0
• Engine Dart version 2.0.0-edge.075720c352685b6c4fbfa3b6300b270714562f62
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/frederickcook/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-26, build-tools 26.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.2.6)
• Flutter plugin version 19.1
• Dart plugin version 172.4343.25
[✓] Connected devices
• Frederick Cook’s iPhone • c181836da6febb49dcdbea495dea15b137def3cd • ios • iOS 11.2.1
• iPhone 7 Plus • 379327B7-2EFA-45F3-AF2F-828F0BB5458A • ios • iOS 11.2 (simulator)"><pre class="notranslate"><code class="notranslate">Frederick-Cook-Air% flutter doctor
[✓] Flutter (on Mac OS X 10.13.2 17C88, locale en-US, channel master)
• Flutter at /Users/frederickcook/flutter
• Framework revision 370c73d9bc (2 hours ago), 2017-12-21 15:02:35 -0800
• Engine revision 00e9b362d5
• Tools Dart version 1.25.0-dev.11.0
• Engine Dart version 2.0.0-edge.075720c352685b6c4fbfa3b6300b270714562f62
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/frederickcook/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-26, build-tools 26.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.2.6)
• Flutter plugin version 19.1
• Dart plugin version 172.4343.25
[✓] Connected devices
• Frederick Cook’s iPhone • c181836da6febb49dcdbea495dea15b137def3cd • ios • iOS 11.2.1
• iPhone 7 Plus • 379327B7-2EFA-45F3-AF2F-828F0BB5458A • ios • iOS 11.2 (simulator)
</code></pre></div> | <p dir="auto">E.g. <a href="https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci82OGJmNGIzYzYyZjM3NmJkNWZjNTE3ZTkzYzA3ZDJhNDg1YzRjMTJmDAsSBFRhc2sYgICAgICAoAoM" rel="nofollow">https://flutter-dashboard.appspot.com/api/get-log?ownerKey=ahNzfmZsdXR0ZXItZGFzaGJvYXJkclgLEglDaGVja2xpc3QiOGZsdXR0ZXIvZmx1dHRlci82OGJmNGIzYzYyZjM3NmJkNWZjNTE3ZTkzYzA3ZDJhNDg1YzRjMTJmDAsSBFRhc2sYgICAgICAoAoM</a></p>
<p dir="auto">Log excerpt:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stdout: [ ] [ 49%] Copying /Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app/PkgInfo to device
stdout: [ ] [ 49%] Copying /Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app/Runner to device
stdout: [ +602 ms] [ 52%] CreatingStagingDirectory
stdout: [ ] [ 57%] ExtractingPackage
stdout: [ ] [ 60%] InspectingPackage
stdout: [ +27 ms] [ 60%] TakingInstallLock
stdout: [ +19 ms] [ 65%] PreflightingApplication
stdout: [ +38 ms] [ 65%] InstallingEmbeddedProfile
stdout: [ +51 ms] [ 70%] VerifyingApplication
stdout: [ +485 ms] [ 75%] CreatingContainer
stdout: [ +13 ms] [ 80%] InstallingApplication
stdout: [ +5 ms] [ 85%] PostflightingApplication
stdout: [ +3 ms] [ 90%] SandboxingApplication
stdout: [ +24 ms] [ 95%] GeneratingApplicationMap
stdout: [ +82 ms] [100%] Installed package build/ios/iphoneos/Runner.app
stdout: [ +374 ms] ------ Debug phase ------
stdout: [ ] Starting debug of iPhone 6 (GSM) 'Emily Fortuna’s iPhone' (f2943620b1e218437e4014a75d136d5121f199d9) connected through USB...
stdout: [ +429 ms] [ 0%] Looking up developer disk image
stdout: [+1083 ms] [ 90%] Mounting developer disk image
stdout: [ +116 ms] [ 95%] Developer disk image already mounted
stdout: [ +767 ms] [100%] Connecting to remote debug server
stdout: [ ] -------------------------
stdout: [ +171 ms] (lldb) command source -s 0 '/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap-lldb-prep-cmds-f2943620b1e218437e4014a75d136d5121f199d9'
stdout: [ ] Executing commands in '/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap-lldb-prep-cmds-f2943620b1e218437e4014a75d136d5121f199d9'.
stdout: [ ] (lldb) platform select remote-ios --sysroot '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3/Symbols'
stdout: [ ] Platform: remote-ios
stdout: [ ] Connected: no
stdout: [ ] SDK Path: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3/Symbols"
stdout: [ ] (lldb) target create "/Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app"
stdout: [ +957 ms] Current executable set to '/Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app' (arm64).
stdout: [ ] (lldb) script fruitstrap_device_app="/private/var/containers/Bundle/Application/3C5E5390-31C2-4A55-801F-A0EED38C8EF7/Runner.app"
stdout: [ +1 ms] (lldb) script fruitstrap_connect_url="connect://127.0.0.1:55426"
stdout: [ ] (lldb) command script import "/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.py"
stdout: [ +18 ms] (lldb) command script add -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.connect_command connect
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.run_command run
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.autoexit_command autoexit
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.safequit_command safequit
stdout: [ ] (lldb) connect
stdout: [ +38 ms] (lldb) run
stdout: [ +489 ms] success
stdout: [ ] (lldb) safequit
stdout: [ +126 ms] Process 15196 detached
stdout: [ +10 ms] Application launched on the device. Waiting for observatory port.
stdout: [ +732 ms] Observatory URL on device: http://127.0.0.1:52200/
stdout: [ +6 ms] /usr/local/bin/iproxy 8100 52200 f2943620b1e218437e4014a75d136d5121f199d9
stdout: [ +3 ms] Forwarded port ForwardedPort HOST:8100 to DEVICE:52200
stdout: [ ] Forwarded host port 8100 to device port 52200 for Observatory
stdout: [ +2 ms] Connecting to service protocol: http://127.0.0.1:8100/
stdout: [ +55 ms] "flutter run" took 69,704ms.
stderr:
stderr: WebSocketChannelException: WebSocketChannelException: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 55428
stderr: #0 new IOWebSocketChannel._withoutSocket. (package:web_socket_channel/io.dart:83)
stderr: #1 _invokeErrorHandler (dart:async/async_error.dart:13)
stderr: #2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:286)
stderr: #3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:168)
stderr: #4 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #5 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #6 _CustomZone.runBinaryGuarded (dart:async/zone.dart:917)
stderr: #7 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:350)
stderr: #8 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:368)
stderr: #9 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:266)
stderr: #10 _StreamController&&_SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:800)
stderr: #11 _StreamController._addError (dart:async/stream_controller.dart:675)
stderr: #12 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #13 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #14 _CustomZone.runBinaryGuarded (dart:async/zone.dart:917)
stderr: #15 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:350)
stderr: #16 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:368)
stderr: #17 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:266)
stderr: #18 _StreamController&&_SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:800)
stderr: #19 _StreamController._addError (dart:async/stream_controller.dart:675)
stderr: #20 new Stream.fromFuture. (dart:async/stream.dart:110)
stderr: #21 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #22 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #23 _FutureListener.handleError (dart:async/future_impl.dart:142)
stderr: #24 _Future._propagateToListeners.handleError (dart:async/future_impl.dart:648)
stderr: #25 _Future._propagateToListeners (dart:async/future_impl.dart:669)
stderr: #26 _Future._completeError (dart:async/future_impl.dart:486)
stderr: #27 _Future._asyncCompleteError. (dart:async/future_impl.dart:536)
stderr: #28 _rootRun (dart:async/zone.dart:1120)
stderr: #29 _CustomZone.run (dart:async/zone.dart:1001)
stderr: #30 _CustomZone.bindCallback. (dart:async/zone.dart:928)
stderr: #31 _microtaskLoop (dart:async/schedule_microtask.dart:41)
stderr: #32 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
stderr: #33 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:99)
stderr: #34 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:152)
stderr:
stdout: [ +7 ms] exiting with code 1
exitcode: 1
Task failed: Executable failed with exit code 1.
Stack trace:
package:flutter_devicelab/framework/utils.dart 77:3 fail
package:flutter_devicelab/framework/utils.dart 257:5 exec
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_devicelab/framework/utils.dart 260:1 exec
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_devicelab/framework/utils.dart 235:10 exec
package:flutter_devicelab/framework/utils.dart 305:10 flutter
package:flutter_devicelab/tasks/perf_tests.dart 117:13 StartupTest.run.
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_devicelab/tasks/perf_tests.dart 110:54 StartupTest.run.
package:flutter_devicelab/framework/utils.dart 329:24 inDirectory
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/framework/utils.dart 325:80 inDirectory
package:flutter_devicelab/tasks/perf_tests.dart 110:18 StartupTest.run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/tasks/perf_tests.dart 109:34 StartupTest.run
package:flutter_devicelab/framework/framework.dart 125:36 _TaskRunner._performTask.
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/framework/framework.dart 124:28 _TaskRunner._performTask.
package:stack_trace Chain.capture
package:flutter_devicelab/framework/framework.dart 124:11 _TaskRunner._performTask
package:flutter_devicelab/framework/framework.dart 84:39 _TaskRunner.run
Task failed with the following reason:
Task failed: Executable failed with exit code 1."><pre lang="text" class="notranslate"><code class="notranslate">stdout: [ ] [ 49%] Copying /Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app/PkgInfo to device
stdout: [ ] [ 49%] Copying /Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app/Runner to device
stdout: [ +602 ms] [ 52%] CreatingStagingDirectory
stdout: [ ] [ 57%] ExtractingPackage
stdout: [ ] [ 60%] InspectingPackage
stdout: [ +27 ms] [ 60%] TakingInstallLock
stdout: [ +19 ms] [ 65%] PreflightingApplication
stdout: [ +38 ms] [ 65%] InstallingEmbeddedProfile
stdout: [ +51 ms] [ 70%] VerifyingApplication
stdout: [ +485 ms] [ 75%] CreatingContainer
stdout: [ +13 ms] [ 80%] InstallingApplication
stdout: [ +5 ms] [ 85%] PostflightingApplication
stdout: [ +3 ms] [ 90%] SandboxingApplication
stdout: [ +24 ms] [ 95%] GeneratingApplicationMap
stdout: [ +82 ms] [100%] Installed package build/ios/iphoneos/Runner.app
stdout: [ +374 ms] ------ Debug phase ------
stdout: [ ] Starting debug of iPhone 6 (GSM) 'Emily Fortuna’s iPhone' (f2943620b1e218437e4014a75d136d5121f199d9) connected through USB...
stdout: [ +429 ms] [ 0%] Looking up developer disk image
stdout: [+1083 ms] [ 90%] Mounting developer disk image
stdout: [ +116 ms] [ 95%] Developer disk image already mounted
stdout: [ +767 ms] [100%] Connecting to remote debug server
stdout: [ ] -------------------------
stdout: [ +171 ms] (lldb) command source -s 0 '/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap-lldb-prep-cmds-f2943620b1e218437e4014a75d136d5121f199d9'
stdout: [ ] Executing commands in '/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap-lldb-prep-cmds-f2943620b1e218437e4014a75d136d5121f199d9'.
stdout: [ ] (lldb) platform select remote-ios --sysroot '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3/Symbols'
stdout: [ ] Platform: remote-ios
stdout: [ ] Connected: no
stdout: [ ] SDK Path: "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3/Symbols"
stdout: [ ] (lldb) target create "/Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app"
stdout: [ +957 ms] Current executable set to '/Users/mac4/.cocoon/flutter/examples/flutter_gallery/build/ios/iphoneos/Runner.app' (arm64).
stdout: [ ] (lldb) script fruitstrap_device_app="/private/var/containers/Bundle/Application/3C5E5390-31C2-4A55-801F-A0EED38C8EF7/Runner.app"
stdout: [ +1 ms] (lldb) script fruitstrap_connect_url="connect://127.0.0.1:55426"
stdout: [ ] (lldb) command script import "/tmp/CFA78A83-12C3-487E-9FD1-2DDF7DCCE9EA/fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.py"
stdout: [ +18 ms] (lldb) command script add -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.connect_command connect
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.run_command run
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.autoexit_command autoexit
stdout: [ ] (lldb) command script add -s asynchronous -f fruitstrap_f2943620b1e218437e4014a75d136d5121f199d9.safequit_command safequit
stdout: [ ] (lldb) connect
stdout: [ +38 ms] (lldb) run
stdout: [ +489 ms] success
stdout: [ ] (lldb) safequit
stdout: [ +126 ms] Process 15196 detached
stdout: [ +10 ms] Application launched on the device. Waiting for observatory port.
stdout: [ +732 ms] Observatory URL on device: http://127.0.0.1:52200/
stdout: [ +6 ms] /usr/local/bin/iproxy 8100 52200 f2943620b1e218437e4014a75d136d5121f199d9
stdout: [ +3 ms] Forwarded port ForwardedPort HOST:8100 to DEVICE:52200
stdout: [ ] Forwarded host port 8100 to device port 52200 for Observatory
stdout: [ +2 ms] Connecting to service protocol: http://127.0.0.1:8100/
stdout: [ +55 ms] "flutter run" took 69,704ms.
stderr:
stderr: WebSocketChannelException: WebSocketChannelException: SocketException: OS Error: Connection refused, errno = 61, address = 127.0.0.1, port = 55428
stderr: #0 new IOWebSocketChannel._withoutSocket. (package:web_socket_channel/io.dart:83)
stderr: #1 _invokeErrorHandler (dart:async/async_error.dart:13)
stderr: #2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:286)
stderr: #3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:168)
stderr: #4 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #5 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #6 _CustomZone.runBinaryGuarded (dart:async/zone.dart:917)
stderr: #7 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:350)
stderr: #8 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:368)
stderr: #9 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:266)
stderr: #10 _StreamController&&_SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:800)
stderr: #11 _StreamController._addError (dart:async/stream_controller.dart:675)
stderr: #12 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #13 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #14 _CustomZone.runBinaryGuarded (dart:async/zone.dart:917)
stderr: #15 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:350)
stderr: #16 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:368)
stderr: #17 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:266)
stderr: #18 _StreamController&&_SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:800)
stderr: #19 _StreamController._addError (dart:async/stream_controller.dart:675)
stderr: #20 new Stream.fromFuture. (dart:async/stream.dart:110)
stderr: #21 _rootRunBinary (dart:async/zone.dart:1140)
stderr: #22 _CustomZone.runBinary (dart:async/zone.dart:1023)
stderr: #23 _FutureListener.handleError (dart:async/future_impl.dart:142)
stderr: #24 _Future._propagateToListeners.handleError (dart:async/future_impl.dart:648)
stderr: #25 _Future._propagateToListeners (dart:async/future_impl.dart:669)
stderr: #26 _Future._completeError (dart:async/future_impl.dart:486)
stderr: #27 _Future._asyncCompleteError. (dart:async/future_impl.dart:536)
stderr: #28 _rootRun (dart:async/zone.dart:1120)
stderr: #29 _CustomZone.run (dart:async/zone.dart:1001)
stderr: #30 _CustomZone.bindCallback. (dart:async/zone.dart:928)
stderr: #31 _microtaskLoop (dart:async/schedule_microtask.dart:41)
stderr: #32 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
stderr: #33 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:99)
stderr: #34 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:152)
stderr:
stdout: [ +7 ms] exiting with code 1
exitcode: 1
Task failed: Executable failed with exit code 1.
Stack trace:
package:flutter_devicelab/framework/utils.dart 77:3 fail
package:flutter_devicelab/framework/utils.dart 257:5 exec
===== asynchronous gap ===========================
dart:async _Completer.completeError
package:flutter_devicelab/framework/utils.dart 260:1 exec
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_devicelab/framework/utils.dart 235:10 exec
package:flutter_devicelab/framework/utils.dart 305:10 flutter
package:flutter_devicelab/tasks/perf_tests.dart 117:13 StartupTest.run.
===== asynchronous gap ===========================
dart:async _asyncThenWrapperHelper
package:flutter_devicelab/tasks/perf_tests.dart 110:54 StartupTest.run.
package:flutter_devicelab/framework/utils.dart 329:24 inDirectory
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/framework/utils.dart 325:80 inDirectory
package:flutter_devicelab/tasks/perf_tests.dart 110:18 StartupTest.run
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/tasks/perf_tests.dart 109:34 StartupTest.run
package:flutter_devicelab/framework/framework.dart 125:36 _TaskRunner._performTask.
===== asynchronous gap ===========================
dart:async new Future.microtask
package:flutter_devicelab/framework/framework.dart 124:28 _TaskRunner._performTask.
package:stack_trace Chain.capture
package:flutter_devicelab/framework/framework.dart 124:11 _TaskRunner._performTask
package:flutter_devicelab/framework/framework.dart 84:39 _TaskRunner.run
Task failed with the following reason:
Task failed: Executable failed with exit code 1.
</code></pre></div> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.6</li>
<li>Operating System / Platform => Fedora 36</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">After running imshow, using cv2.waitKey(0) does not close the window even after the user closes the pop-up window as the documentation suggests. Rather, the pop-up window of the image closes, but the terminal running the python file never quits. Basically, only closes pop-up, but doesn't quit the script. (since the code is still running the waitKey(0), user cannot exit the file using exit() either)</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
img = cv2.imread("rock.jpg")
cv2.imshow("The Rock", img)
cv2.waitKey(0)
cv2.destroyAllWindows()"><pre class="notranslate"><code class="notranslate">import cv2
img = cv2.imread("rock.jpg")
cv2.imshow("The Rock", img)
cv2.waitKey(0)
cv2.destroyAllWindows()
</code></pre></div> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.5.3</li>
<li>Operating System / Platform => openSUSE Tumbleweed</li>
<li>Compiler => gcc 11.2</li>
</ul>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Build OpenCV with Qt backend.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cmake .. -DBUILD_LIST=highgui -DWITH_QT=ON -DWITH_GTK=OFF -DHIGHGUI_ENABLE_PLUGINS=OFF"><pre class="notranslate"><code class="notranslate">cmake .. -DBUILD_LIST=highgui -DWITH_QT=ON -DWITH_GTK=OFF -DHIGHGUI_ENABLE_PLUGINS=OFF
</code></pre></div>
<p dir="auto">Run minimal program:</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#include <opencv2/highgui.hpp>
int main()
{
cv::Mat img(200, 200, CV_8UC1);
cv::imshow("img", img);
cv::waitKey(0);
}"><pre class="notranslate">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds"><</span>opencv2/highgui.hpp<span class="pl-pds">></span></span>
<span class="pl-k">int</span> <span class="pl-en">main</span>()
{
cv::Mat <span class="pl-smi">img</span>(<span class="pl-c1">200</span>, <span class="pl-c1">200</span>, CV_8UC1);
<span class="pl-c1">cv::imshow</span>(<span class="pl-s"><span class="pl-pds">"</span>img<span class="pl-pds">"</span></span>, img);
<span class="pl-c1">cv::waitKey</span>(<span class="pl-c1">0</span>);
}</pre></div>
<p dir="auto">Close the window though close button, <code class="notranslate">waitKey()</code> does not return.</p>
<h5 dir="auto">Issue submission checklist</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br>
forum.opencv.org, Stack Overflow, etc and have not found solution
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I updated to latest OpenCV version and the issue is still there
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files: videos, images, onnx, etc
</li>
</ul> | 1 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue. <strong>N/A</strong></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br>
to reproduce this bug. <strong>N/A</strong></li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="313039617" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4653" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4653/hovercard" href="https://github.com/celery/celery/issues/4653">#4653</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.4.7 (cliffs)</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.4.7 (cliffs) kombu:4.6.11 py:3.8.2
billiard:3.6.3.0 py-amqp:2.6.1
platform -> system:Darwin arch:64bit
kernel version:16.7.0 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:db+postgresql://<redacted>
include: ['redacted']
accept_content: ['redacted-custom']
database_table_names: {
'group': 'celery_group', 'task': 'celery_task'}
result_serializer: 'redacted-custom'
task_serializer: 'redacted-custom'
task_track_started: True
broker_url: 'amqp://<redacted>'
result_backend: 'db+postgresql://<redacted>'"><pre class="notranslate"><code class="notranslate">software -> celery:4.4.7 (cliffs) kombu:4.6.11 py:3.8.2
billiard:3.6.3.0 py-amqp:2.6.1
platform -> system:Darwin arch:64bit
kernel version:16.7.0 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:db+postgresql://<redacted>
include: ['redacted']
accept_content: ['redacted-custom']
database_table_names: {
'group': 'celery_group', 'task': 'celery_task'}
result_serializer: 'redacted-custom'
task_serializer: 'redacted-custom'
task_track_started: True
broker_url: 'amqp://<redacted>'
result_backend: 'db+postgresql://<redacted>'
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">When celery uses a database result backend, the following line can be called multiple times from different processes:</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/celery/celery/blob/9a6c2923e859b6993227605610255bd632c1ae68/celery/backends/database/session.py#L56">celery/celery/backends/database/session.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 56
in
<a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/9a6c2923e859b6993227605610255bd632c1ae68">9a6c292</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="L56" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="56"></td>
<td id="LC56" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-v">ResultModelBase</span>.<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">engine</span>) </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">This is a race condition because SQLAlchemy first checks if the tables/sequences exist and then tries to create them. It causes errors like this (at least on PostgreSQL):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/redacted.py", line 168, in _redacted
result = async_result.get()
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 226, in get
self.maybe_throw(callback=callback)
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 342, in maybe_throw
self.throw(value, self._to_remote_traceback(tb))
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 335, in throw
self.on_ready.throw(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/vine/promises.py", line 244, in throw
reraise(type(exc), exc, tb)
File "/usr/local/lib/python3.7/site-packages/vine/five.py", line 195, in reraise
raise value
Exception: <class 'sqlalchemy.exc.IntegrityError'>(('(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "pg_type_typname_nsp_index"\nDETAIL: Key (typname, typnamespace)=(taskset_id_sequence, 2200) already exists.\n',))"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/redacted.py", line 168, in _redacted
result = async_result.get()
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 226, in get
self.maybe_throw(callback=callback)
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 342, in maybe_throw
self.throw(value, self._to_remote_traceback(tb))
File "/usr/local/lib/python3.7/site-packages/celery/result.py", line 335, in throw
self.on_ready.throw(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/vine/promises.py", line 244, in throw
reraise(type(exc), exc, tb)
File "/usr/local/lib/python3.7/site-packages/vine/five.py", line 195, in reraise
raise value
Exception: <class 'sqlalchemy.exc.IntegrityError'>(('(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "pg_type_typname_nsp_index"\nDETAIL: Key (typname, typnamespace)=(taskset_id_sequence, 2200) already exists.\n',))
</code></pre></div>
<p dir="auto">One workaround is to force the table creation ahead of time as was proposed by a user in the issue I linked: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="313039617" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4653" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4653/hovercard?comment_id=400029147&comment_type=issue_comment" href="https://github.com/celery/celery/issues/4653#issuecomment-400029147">#4653 (comment)</a>.</p>
<p dir="auto">I think Celery should handle this itself. A possible solution would catch <code class="notranslate">IntegrityError</code> and try again until <code class="notranslate">create_all</code> succeeds. (Perhaps with a limited number of retries and with sleeps compared to this snippet):</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" def prepare_models(self, engine):
from sqlalchemy.exc import IntegrityError
if not self.prepared:
while True:
try:
ResultModelBase.metadata.create_all(engine)
except IntegrityError:
continue
else:
break
self.prepared = True"><pre class="notranslate"> <span class="pl-k">def</span> <span class="pl-en">prepare_models</span>(<span class="pl-s1">self</span>, <span class="pl-s1">engine</span>):
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">exc</span> <span class="pl-k">import</span> <span class="pl-v">IntegrityError</span>
<span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-s1">self</span>.<span class="pl-s1">prepared</span>:
<span class="pl-k">while</span> <span class="pl-c1">True</span>:
<span class="pl-k">try</span>:
<span class="pl-v">ResultModelBase</span>.<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">engine</span>)
<span class="pl-k">except</span> <span class="pl-v">IntegrityError</span>:
<span class="pl-k">continue</span>
<span class="pl-k">else</span>:
<span class="pl-k">break</span>
<span class="pl-s1">self</span>.<span class="pl-s1">prepared</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span></pre></div>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<p dir="auto">This example doesn't use celery at all, but shows that calling create_all in multiple processes can cause the error. It's a race condition, so you might need to try it multiple times or play around with the number of processes:</p>
<details>
<p dir="auto">
</p><p dir="auto">Requires a local postgres, and this database must be created:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="createdb racetest"><pre class="notranslate"><code class="notranslate">createdb racetest
</code></pre></div>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from concurrent.futures import ProcessPoolExecutor, as_completed
from sqlalchemy import Column, Integer, Table, MetaData, create_engine
metadata = MetaData()
tbl1 = Table('tbl1', metadata, Column('id', Integer, primary_key=True))
def create_all(url):
engine = create_engine(url)
metadata.create_all(bind=engine)
def main():
url = 'postgresql:///racetest'
engine = create_engine(url)
# Make sure schema is empty before we start
metadata.drop_all(bind=engine)
with ProcessPoolExecutor(max_workers=50) as executor:
futures = []
for _ in range(50):
future = executor.submit(create_all, url)
futures.append(future)
for fut in as_completed(futures):
fut.result()
if __name__ == '__main__':
main()
"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">concurrent</span>.<span class="pl-s1">futures</span> <span class="pl-k">import</span> <span class="pl-v">ProcessPoolExecutor</span>, <span class="pl-s1">as_completed</span>
<span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-v">Column</span>, <span class="pl-v">Integer</span>, <span class="pl-v">Table</span>, <span class="pl-v">MetaData</span>, <span class="pl-s1">create_engine</span>
<span class="pl-s1">metadata</span> <span class="pl-c1">=</span> <span class="pl-v">MetaData</span>()
<span class="pl-s1">tbl1</span> <span class="pl-c1">=</span> <span class="pl-v">Table</span>(<span class="pl-s">'tbl1'</span>, <span class="pl-s1">metadata</span>, <span class="pl-v">Column</span>(<span class="pl-s">'id'</span>, <span class="pl-v">Integer</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>))
<span class="pl-k">def</span> <span class="pl-en">create_all</span>(<span class="pl-s1">url</span>):
<span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s1">url</span>)
<span class="pl-s1">metadata</span>.<span class="pl-en">create_all</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">engine</span>)
<span class="pl-k">def</span> <span class="pl-en">main</span>():
<span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s">'postgresql:///racetest'</span>
<span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s1">url</span>)
<span class="pl-c"># Make sure schema is empty before we start</span>
<span class="pl-s1">metadata</span>.<span class="pl-en">drop_all</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">engine</span>)
<span class="pl-k">with</span> <span class="pl-v">ProcessPoolExecutor</span>(<span class="pl-s1">max_workers</span><span class="pl-c1">=</span><span class="pl-c1">50</span>) <span class="pl-k">as</span> <span class="pl-s1">executor</span>:
<span class="pl-s1">futures</span> <span class="pl-c1">=</span> []
<span class="pl-k">for</span> <span class="pl-s1">_</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">50</span>):
<span class="pl-s1">future</span> <span class="pl-c1">=</span> <span class="pl-s1">executor</span>.<span class="pl-en">submit</span>(<span class="pl-s1">create_all</span>, <span class="pl-s1">url</span>)
<span class="pl-s1">futures</span>.<span class="pl-en">append</span>(<span class="pl-s1">future</span>)
<span class="pl-k">for</span> <span class="pl-s1">fut</span> <span class="pl-c1">in</span> <span class="pl-en">as_completed</span>(<span class="pl-s1">futures</span>):
<span class="pl-s1">fut</span>.<span class="pl-en">result</span>()
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-en">main</span>()</pre></div>
<p dir="auto"></p>
</details> | <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 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" checked=""> 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" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/main">commit log</a><br>
to find out if the if the same enhancement was already implemented in the<br>
main 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 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>
<p dir="auto">Considering <code class="notranslate">pytz</code> is deprecating in Django and will be removed in 5.0, suggest follow approaches in Django</p>
<ul dir="auto">
<li>use <code class="notranslate">zoneinfo</code> to replace <code class="notranslate">pytz</code></li>
<li>backport by <code class="notranslate">backports.zoneinfo</code></li>
</ul>
<p dir="auto">Ref: <a href="https://docs.djangoproject.com/en/4.1/releases/4.0/" rel="nofollow">https://docs.djangoproject.com/en/4.1/releases/4.0/</a></p>
<h1 dir="auto">Design</h1>
<h2 dir="auto">Architectural Considerations</h2>
<p dir="auto">None</p>
<h2 dir="auto">Proposed Behavior</h2>
<p dir="auto">No changes</p>
<h2 dir="auto">Proposed UI/UX</h2>
<p dir="auto">No changes</p>
<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/ci-kubernetes-e2e-gke-alpha-features-release-1.5/190/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-alpha-features-release-1.5/190/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should work for type=LoadBalancer [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1167
Dec 1 05:22:32.663: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1167
Dec 1 05:22:32.663: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should work from pods [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1298
Dec 1 05:42:48.617: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1298
Dec 1 05:42:48.617: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should handle updates to source ip annotation [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1404
Dec 1 06:03:07.907: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1404
Dec 1 06:03:07.907: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184316395" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35225" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35225/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35225">#35225</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184595587" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35347" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35347/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35347">#35347</a></p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should only target nodes with endpoints [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1253
Dec 1 05:02:09.575: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1253
Dec 1 05:02:09.575: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-alpha-features-release-1.5/177/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-alpha-features-release-1.5/177/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should only target nodes with endpoints [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1253
Nov 30 08:24:20.846: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1253
Nov 30 08:24:20.846: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="188177585" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36481" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36481/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36481">#36481</a></p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should work for type=LoadBalancer [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1167
Nov 30 08:44:51.544: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1167
Nov 30 08:44:51.544: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187845440" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36389" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36389/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36389">#36389</a></p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should handle updates to source ip annotation [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1404
Nov 30 09:05:02.660: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1404
Nov 30 09:05:02.660: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184316395" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35225" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35225/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35225">#35225</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184595587" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35347" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35347/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35347">#35347</a></p>
<p dir="auto">Failed: [k8s.io] ESIPP [Slow][Feature:ExternalTrafficLocalOnly] should work from pods [Slow][Feature:ExternalTrafficLocalOnly] {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/service.go:1298
Nov 30 09:25:17.414: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1298
Nov 30 09:25:17.414: Timeout waiting for service "external-local" to have a load balancer
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:2342
</code></pre></div> | 1 |
<p dir="auto">Hi, currently <code class="notranslate">scipy.integrate.ode()</code> returns an error message indicating that the function returned a tuple when it returns an array of non-matching length. The true error message is buried above the raised <code class="notranslate">ValueError</code> <a href="https://github.com/scipy/scipy/blob/03b1092cf0e0bdebcbe98a44d289208a1e597416/scipy/integrate/_ode.py#L411">here</a>, which is misleading, as the function is not returning a tuple.</p>
<p dir="auto">Could a better error message be surfaced?</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy.integrate
def f(t, y):
return [y[0]]
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)"><pre class="notranslate"><code class="notranslate">import scipy.integrate
def f(t, y):
return [y[0]]
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="unexpected array size: new_size=2, got array with arr_size=1
rv_cb_arr is NULL
Call-back cb_f_in_dvode__user__routines failed.
Traceback (most recent call last):
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 408, in integrate
self.f_params, self.jac_params)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 865, in run
y1, t, istate = self.runner(*args)
SystemError: <fortran object> returned NULL without setting an error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 8, in <module>
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 411, in integrate
raise ValueError('Function to integrate must not return a tuple.')
ValueError: Function to integrate must not return a tuple."><pre class="notranslate"><code class="notranslate">unexpected array size: new_size=2, got array with arr_size=1
rv_cb_arr is NULL
Call-back cb_f_in_dvode__user__routines failed.
Traceback (most recent call last):
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 408, in integrate
self.f_params, self.jac_params)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 865, in run
y1, t, istate = self.runner(*args)
SystemError: <fortran object> returned NULL without setting an error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 8, in <module>
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 411, in integrate
raise ValueError('Function to integrate must not return a tuple.')
ValueError: Function to integrate must not return a tuple.
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0.19.1 1.13.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">0.19.1 1.13.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)
</code></pre></div> | <p dir="auto">Hi, currently <code class="notranslate">scipy.integrate.ode()</code> returns an error message indicating that the function returned a tuple when it returns an array of non-matching length. The true error message is buried above the raised <code class="notranslate">ValueError</code> <a href="https://github.com/scipy/scipy/blob/03b1092cf0e0bdebcbe98a44d289208a1e597416/scipy/integrate/_ode.py#L411">here</a>, which is misleading, as the function is not returning a tuple.</p>
<p dir="auto">Could a better error message be surfaced?</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy.integrate
def f(t, y):
return [y[0]]
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)"><pre class="notranslate"><code class="notranslate">import scipy.integrate
def f(t, y):
return [y[0]]
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="unexpected array size: new_size=2, got array with arr_size=1
rv_cb_arr is NULL
Call-back cb_f_in_dvode__user__routines failed.
Traceback (most recent call last):
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 408, in integrate
self.f_params, self.jac_params)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 865, in run
y1, t, istate = self.runner(*args)
SystemError: <fortran object> returned NULL without setting an error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 8, in <module>
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 411, in integrate
raise ValueError('Function to integrate must not return a tuple.')
ValueError: Function to integrate must not return a tuple."><pre class="notranslate"><code class="notranslate">unexpected array size: new_size=2, got array with arr_size=1
rv_cb_arr is NULL
Call-back cb_f_in_dvode__user__routines failed.
Traceback (most recent call last):
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 408, in integrate
self.f_params, self.jac_params)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 865, in run
y1, t, istate = self.runner(*args)
SystemError: <fortran object> returned NULL without setting an error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 8, in <module>
scipy.integrate.ode(f).set_initial_value([1, 1]).integrate(1)
File "C:\Miniconda3\lib\site-packages\scipy\integrate\_ode.py", line 411, in integrate
raise ValueError('Function to integrate must not return a tuple.')
ValueError: Function to integrate must not return a tuple.
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0.19.1 1.13.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">0.19.1 1.13.1 sys.version_info(major=3, minor=6, micro=1, releaselevel='final', serial=0)
</code></pre></div> | 1 |
<p dir="auto">Wanted to create another issue for this, as this is a very import bug that is occurring; which hopefully can be fixed soon :(</p>
<p dir="auto">Same issue/behavior as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="296330860" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3775" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/3775/hovercard" href="https://github.com/vercel/next.js/issues/3775">#3775</a>.</p>
<p dir="auto">Example code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const LoadProfile = dynamic(import('../components/Profile/LoadProfile'), {
loading: () => <div>Loading Profile...</div>
})
const Profile = ({ username }) => (
<App title="Profile">
<article>
<h1>Profile ({username})</h1>
<LoadProfile username={username} />
</article>
</App>
)"><pre class="notranslate"><code class="notranslate">const LoadProfile = dynamic(import('../components/Profile/LoadProfile'), {
loading: () => <div>Loading Profile...</div>
})
const Profile = ({ username }) => (
<App title="Profile">
<article>
<h1>Profile ({username})</h1>
<LoadProfile username={username} />
</article>
</App>
)
</code></pre></div>
<p dir="auto">Any updates on when this can be fixed? I'm kinda in a standstill rn and without using dynamic imports it will severely hurt the performance of my application.</p>
<p dir="auto">Thanks for any support/help!</p> | <p dir="auto">I have been using this piece of code to asynchronously load one of heavy component on my client side. It was working like a charm:</p>
<p dir="auto"><code class="notranslate">const DynamicChart = dynamic( import('../components/LineChart/LineChart'), { loading: () => <SectionPlaceholder><Loader /></SectionPlaceholder>, ssr: false, }, );</code></p>
<p dir="auto">Since update to v5.0.0 I get webpack error, but only when I open the parent page from frontend route. When I directly load from server, it get's loaded. When I get it once (from first load) and go back to this page on frontend, it works too.</p>
<p dir="auto">This is the error I get:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9268745/36093000-8e62f87e-0fe9-11e8-9023-cc8f1f391b59.png"><img src="https://user-images.githubusercontent.com/9268745/36093000-8e62f87e-0fe9-11e8-9023-cc8f1f391b59.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I tried <code class="notranslate">import(...).then(...).catch(...)</code> but none of chains were triggered.</p>
<p dir="auto">The problem is that I can't reproduce it always.</p>
<p dir="auto">I'm also using <a class="issue-link js-issue-link notranslate" rel="noopener noreferrer nofollow" href="https://linear.app/vercel/issue/NEXT-routes">next-routes</a> if that matters</p>
<p dir="auto">I assume that problem occurs because of <code class="notranslate">undefined</code> part in webpack. Any ideas how to debug the cause?</p>
<p dir="auto">My package dependencies:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" "dependencies": {
"babel-plugin-styled-components": "^1.5.0",
"dotenv": "^5.0.0",
"dotenv-webpack": "^1.5.4",
"enzyme": "^3.3.0",
"eslint-plugin-jest": "^21.7.0",
"express": "^4.16.2",
"glamor": "^2.20.40",
"glamorous": "^4.11.4",
"htmlescape": "^1.1.1",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.5",
"next": "^5.0.0",
"next-redux-wrapper": "^1.3.5",
"next-routes": "^1.3.0",
"polished": "^1.9.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-extras": "^0.5.0",
"react-icons": "^2.2.7",
"react-markdown": "^3.2.0",
"react-modal": "^3.1.12",
"react-no-ssr": "^1.1.0",
"react-redux": "^5.0.6",
"react-sizeme": "^2.3.6",
"recharts": "^1.0.0-beta.10",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"socket.io": "^2.0.4",
"socket.io-client": "^2.0.4",
"yargs": "^11.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.12",
"@storybook/addon-info": "^3.3.12",
"@storybook/addon-links": "^3.3.12",
"@storybook/addons": "^3.3.12",
"@storybook/react": "^3.3.12",
"@types/enzyme": "^3.1.8",
"@types/jest": "^22.1.1",
"@types/next": "^2.4.7",
"@types/node": "^9.4.1",
"@types/react": "^16.0.36",
"@types/recharts": "^1.0.13",
"@types/reselect": "^2.2.0",
"@types/socket.io": "^1.4.31",
"@types/storybook__react": "^3.0.6",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-plugin-recharts": "^1.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babili-webpack-plugin": "^0.1.2",
"console-probe": "^2.0.4",
"create-component-app": "^1.6.2",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"eslint-plugin-styled-components-config": "0.0.2",
"jest": "^22.1.4",
"prop-types": "^15.6.0",
"redux-devtools-extension": "^2.13.2",
"webpack-bundle-analyzer": "^2.10.0"
}"><pre class="notranslate"><code class="notranslate"> "dependencies": {
"babel-plugin-styled-components": "^1.5.0",
"dotenv": "^5.0.0",
"dotenv-webpack": "^1.5.4",
"enzyme": "^3.3.0",
"eslint-plugin-jest": "^21.7.0",
"express": "^4.16.2",
"glamor": "^2.20.40",
"glamorous": "^4.11.4",
"htmlescape": "^1.1.1",
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.5",
"next": "^5.0.0",
"next-redux-wrapper": "^1.3.5",
"next-routes": "^1.3.0",
"polished": "^1.9.2",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-extras": "^0.5.0",
"react-icons": "^2.2.7",
"react-markdown": "^3.2.0",
"react-modal": "^3.1.12",
"react-no-ssr": "^1.1.0",
"react-redux": "^5.0.6",
"react-sizeme": "^2.3.6",
"recharts": "^1.0.0-beta.10",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"reselect": "^3.0.1",
"socket.io": "^2.0.4",
"socket.io-client": "^2.0.4",
"yargs": "^11.0.0"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.12",
"@storybook/addon-info": "^3.3.12",
"@storybook/addon-links": "^3.3.12",
"@storybook/addons": "^3.3.12",
"@storybook/react": "^3.3.12",
"@types/enzyme": "^3.1.8",
"@types/jest": "^22.1.1",
"@types/next": "^2.4.7",
"@types/node": "^9.4.1",
"@types/react": "^16.0.36",
"@types/recharts": "^1.0.13",
"@types/reselect": "^2.2.0",
"@types/socket.io": "^1.4.31",
"@types/storybook__react": "^3.0.6",
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-plugin-recharts": "^1.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babili-webpack-plugin": "^0.1.2",
"console-probe": "^2.0.4",
"create-component-app": "^1.6.2",
"eslint": "^4.17.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"eslint-plugin-styled-components-config": "0.0.2",
"jest": "^22.1.4",
"prop-types": "^15.6.0",
"redux-devtools-extension": "^2.13.2",
"webpack-bundle-analyzer": "^2.10.0"
}
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Component gets loaded every time</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Sometimes component is not loaded and webpack tries to load something with <code class="notranslate">undefined</code> in name</p> | 1 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => recent 3.4/master branch</li>
<li>Operating System / Platform => Jetson TX2 Ubuntu 16.04 64bit (Aarch64)</li>
<li>Compiler => gcc 5.4.0</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Regression test fails on ARM platform</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Note: Google Test filter = Objdetect_QRCode.regression*
[==========] Running 30 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 30 tests from Objdetect_QRCode
[ RUN ] Objdetect_QRCode.regression/0, where GetParam() = "version_1_down.jpg"
[ OK ] Objdetect_QRCode.regression/0 (608 ms)
[ RUN ] Objdetect_QRCode.regression/1, where GetParam() = "version_1_left.jpg"
[ OK ] Objdetect_QRCode.regression/1 (544 ms)
[ RUN ] Objdetect_QRCode.regression/2, where GetParam() = "version_1_right.jpg"
[ OK ] Objdetect_QRCode.regression/2 (537 ms)
[ RUN ] Objdetect_QRCode.regression/3, where GetParam() = "version_1_up.jpg"
[ OK ] Objdetect_QRCode.regression/3 (536 ms)
[ RUN ] Objdetect_QRCode.regression/4, where GetParam() = "version_1_top.jpg"
[ OK ] Objdetect_QRCode.regression/4 (551 ms)
[ RUN ] Objdetect_QRCode.regression/5, where GetParam() = "version_2_down.jpg"
[ OK ] Objdetect_QRCode.regression/5 (543 ms)
[ RUN ] Objdetect_QRCode.regression/6, where GetParam() = "version_2_left.jpg"
[ OK ] Objdetect_QRCode.regression/6 (553 ms)
[ RUN ] Objdetect_QRCode.regression/7, where GetParam() = "version_2_right.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
[ FAILED ] Objdetect_QRCode.regression/7, where GetParam() = "version_2_right.jpg" (486 ms)
[ RUN ] Objdetect_QRCode.regression/8, where GetParam() = "version_2_up.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/8, where GetParam() = "version_2_up.jpg" (529 ms)
[ RUN ] Objdetect_QRCode.regression/9, where GetParam() = "version_2_top.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/9, where GetParam() = "version_2_top.jpg" (491 ms)
[ RUN ] Objdetect_QRCode.regression/10, where GetParam() = "version_3_down.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/10, where GetParam() = "version_3_down.jpg" (535 ms)"><pre class="notranslate"><code class="notranslate">Note: Google Test filter = Objdetect_QRCode.regression*
[==========] Running 30 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 30 tests from Objdetect_QRCode
[ RUN ] Objdetect_QRCode.regression/0, where GetParam() = "version_1_down.jpg"
[ OK ] Objdetect_QRCode.regression/0 (608 ms)
[ RUN ] Objdetect_QRCode.regression/1, where GetParam() = "version_1_left.jpg"
[ OK ] Objdetect_QRCode.regression/1 (544 ms)
[ RUN ] Objdetect_QRCode.regression/2, where GetParam() = "version_1_right.jpg"
[ OK ] Objdetect_QRCode.regression/2 (537 ms)
[ RUN ] Objdetect_QRCode.regression/3, where GetParam() = "version_1_up.jpg"
[ OK ] Objdetect_QRCode.regression/3 (536 ms)
[ RUN ] Objdetect_QRCode.regression/4, where GetParam() = "version_1_top.jpg"
[ OK ] Objdetect_QRCode.regression/4 (551 ms)
[ RUN ] Objdetect_QRCode.regression/5, where GetParam() = "version_2_down.jpg"
[ OK ] Objdetect_QRCode.regression/5 (543 ms)
[ RUN ] Objdetect_QRCode.regression/6, where GetParam() = "version_2_left.jpg"
[ OK ] Objdetect_QRCode.regression/6 (553 ms)
[ RUN ] Objdetect_QRCode.regression/7, where GetParam() = "version_2_right.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
[ FAILED ] Objdetect_QRCode.regression/7, where GetParam() = "version_2_right.jpg" (486 ms)
[ RUN ] Objdetect_QRCode.regression/8, where GetParam() = "version_2_up.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/8, where GetParam() = "version_2_up.jpg" (529 ms)
[ RUN ] Objdetect_QRCode.regression/9, where GetParam() = "version_2_top.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/9, where GetParam() = "version_2_top.jpg" (491 ms)
[ RUN ] Objdetect_QRCode.regression/10, where GetParam() = "version_3_down.jpg"
/home/nvidia/opencv-fork/modules/objdetect/test/test_qrcode.cpp:71: Failure
Value of: decodeQRCode(src, corners, decoded_info, straight_barcode)
Actual: false
Expected: true
[ FAILED ] Objdetect_QRCode.regression/10, where GetParam() = "version_3_down.jpg" (535 ms)
</code></pre></div>
<p dir="auto">Now, the failure was coming from two points</p>
<ol dir="auto">
<li>
<p dir="auto">There was a magical hard coded offset <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L884">here</a><br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L884">opencv/modules/objdetect/src/qrcode.cpp</a>
</p>
<p class="mb-0 color-fg-muted">
Line 884
in
<a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/ab2c16b2e55acaf193815e43475eb11670c45d60">ab2c16b</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="L884" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="884"></td>
<td id="LC884" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">const</span> <span class="pl-c1">Point</span> delta_diff = <span class="pl-c1">Point</span>(<span class="pl-c1">4</span>, <span class="pl-c1">4</span>); </td>
</tr>
</tbody></table>
</div>
</div>
<br>
The input QR code resolution changes, so this offset <code class="notranslate">delta_diff</code> should be better updated, based on the QR code resolution.<p></p>
</li>
<li>
<p dir="auto">Wrong order of <code class="notranslate">remote_point</code> <a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L887-L892">here</a><br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/opencv/opencv/blob/ab2c16b2e55acaf193815e43475eb11670c45d60/modules/objdetect/src/qrcode.cpp#L887-L892">opencv/modules/objdetect/src/qrcode.cpp</a>
</p>
<p class="mb-0 color-fg-muted">
Lines 887 to 892
in
<a data-pjax="true" class="commit-tease-sha" href="/opencv/opencv/commit/ab2c16b2e55acaf193815e43475eb11670c45d60">ab2c16b</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="L887" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="887"></td>
<td id="LC887" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (<span class="pl-c1">norm</span>(black_point - temp_remote) < <span class="pl-c1">norm</span>(black_point - locations[i])) </td>
</tr>
<tr class="border-0">
<td id="L888" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="888"></td>
<td id="LC888" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> { </td>
</tr>
<tr class="border-0">
<td id="L889" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="889"></td>
<td id="LC889" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">const</span> <span class="pl-c1">uint8_t</span> value = intermediate.<span class="pl-smi">at</span><<span class="pl-c1">uint8_t</span>>(temp_remote - delta_diff); </td>
</tr>
<tr class="border-0">
<td id="L890" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="890"></td>
<td id="LC890" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">if</span> (value == <span class="pl-c1">0</span>) { remote_point = temp_remote - delta_diff; } </td>
</tr>
<tr class="border-0">
<td id="L891" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="891"></td>
<td id="LC891" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">else</span> { remote_point = temp_remote; } </td>
</tr>
<tr class="border-0">
<td id="L892" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="892"></td>
<td id="LC892" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> temp_remote = locations[i]; </td>
</tr>
</tbody></table>
</div>
</div>
<br>
If the condition is taken, <code class="notranslate">remote_point</code> should be overwritten by <code class="notranslate">locations[i]</code>, but in this order, it will be overwritten by "previous" <code class="notranslate">locations[i]</code><p></p>
</li>
</ol>
<p dir="auto">Small difference, but it leads to regression test failure.<br>
I'll send a PR later.</p>
<p dir="auto">Now, No. 25 of the same regression test fails, but it seems that the reason is different.<br>
I'd like to make it as a separate PR.</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Run <code class="notranslate">opencv_test_objdetect</code> on Jetson TX2</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 3.4.1</li>
<li>Operating System / Platform => CentOS 7</li>
<li>Compiler => GCC 4.8.5</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">Faced a compilation error when turned on verbose logging message:</p>
<p dir="auto"><strong>In file included from opencv-3.4.1/modules/core/src/ocl.cpp:57:0:</strong><br>
<strong>/opencv-3.4.1/modules/core/src/ocl.cpp:</strong> In member function 'bool cv::ocl::Program::Impl::createFromBinary(const cv::ocl::Context&, const unsigned char*, size_t, cv::String&)':<br>
<strong>/opencv-3.4.1/modules/core/src/ocl.cpp:3764:59:</strong> error: 'src_' was not declared in this scope<br>
CV_LOG_VERBOSE(NULL, 0, "Load from binary... " << src_.getImpl()->module_.c_str() << "/" << src.getImpl()->name_.c_str());</p>
<h5 dir="auto">Steps to reproduce</h5>
<p dir="auto">Set log strip level higher than verbose in logger.hpp and build openCV:</p>
<p dir="auto"><code class="notranslate">#define CV_LOG_STRIP_LEVEL CV_LOG_LEVEL_VERBOSE + 1</code></p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ec2_metric_alarm</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.3.2.0"><pre class="notranslate"><code class="notranslate">2.3.2.0
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Amazon CloudWatch has added a setting to define how an alarm handles a missing data point (<a href="https://aws.amazon.com/about-aws/whats-new/2017/03/cloudwatch-alarms-releases-two-new-alarm-configuration-settings/" rel="nofollow">announcement</a>, <a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data" rel="nofollow">description</a>) using:</p>
<ul dir="auto">
<li>"Treat missing data as:" in the <a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ConsoleAlarms.html" rel="nofollow">UI</a></li>
<li><code class="notranslate">--treat-missing-data</code> option in the <a href="http://docs.aws.amazon.com/cli/latest/reference/cloudwatch/put-metric-alarm.html#synopsis" rel="nofollow">AWS CLI</a></li>
<li><code class="notranslate">TreatMissingData</code> request parameter in the <a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html" rel="nofollow">API</a></li>
</ul>
<p dir="auto">Ansible needs a <code class="notranslate">treat_missing_data</code> option in its ec2_metric_alarm module with possible values <code class="notranslate">breaching</code> (bad), <code class="notranslate">notBreaching</code> (good), <code class="notranslate">ignore</code>, and <code class="notranslate">missing</code>.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- ec2_metric_alarm:
...
treat_missing_data: notBreaching
..."><pre class="notranslate">- <span class="pl-ent">ec2_metric_alarm</span>:
<span class="pl-s">...</span>
<span class="pl-ent">treat_missing_data</span>: <span class="pl-s">notBreaching</span>
<span class="pl-s">...</span></pre></div>
<p dir="auto">Also, Terraform has the <a href="https://www.terraform.io/docs/providers/aws/r/cloudwatch_metric_alarm.html#treat_missing_data" rel="nofollow">treat_missing_data</a> argument for its aws_cloudwatch_metric_alarm provider resource.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ec2_metric_alarm</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0
config file = /Users/kmcnally/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0
config file = /Users/kmcnally/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults]
nocows = 1
host_key_checking = False
retry_files_enabled = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
pipelining=True
host_key_checking = False"><pre class="notranslate"><code class="notranslate">[defaults]
nocows = 1
host_key_checking = False
retry_files_enabled = False
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
pipelining=True
host_key_checking = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">MacOS Sierra 10.12.3</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">When creating a cloudwatch alarm using the aws cli you get the option to set --treat-missing-data to breaching | notBreaching | ignore | missing.<br>
<a href="http://docs.aws.amazon.com/cli/latest/reference/cloudwatch/put-metric-alarm.html" rel="nofollow">http://docs.aws.amazon.com/cli/latest/reference/cloudwatch/put-metric-alarm.html</a><br>
It looks like this setting is not available in the module. So when creating an alarm using this module the setting will always be missing, which is default. Can you confirm if this is right or am I missing something?</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div> | 1 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Feature</p>
<p dir="auto"><strong>What is the current behavior?</strong><br>
If multiple rules match a module, I believe either the loaders are applied serially or only loaders from the first-matched rule processes the file.</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
I'd like to be able to process the same module multiple times, possibly via separate rules. This doesn't necessarily need to be asynchronous.</p>
<p dir="auto">There was a loader that helped with this once, but it no longer appears relevant in webpack 2/3: <a href="https://github.com/webpack-contrib/multi-loader">https://github.com/webpack-contrib/multi-loader</a>; for loaders like ExtractTextPlugin, no file is output.</p>
<p dir="auto">One implementation of this might be allowing us to configure a rule to only apply for certain entries; e.g.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="config = {
entry: { main: 'index.js', vendor: 'vendor.js' },
module: { rules: [ { test: (file, entry) => file === 'test.css' && entry === 'main', use: [ ... ] } ] }
} "><pre class="notranslate"><span class="pl-s1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span> <span class="pl-c1">main</span>: <span class="pl-s">'index.js'</span><span class="pl-kos">,</span> <span class="pl-c1">vendor</span>: <span class="pl-s">'vendor.js'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">module</span>: <span class="pl-kos">{</span> <span class="pl-c1">rules</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-s1">file</span><span class="pl-kos">,</span> <span class="pl-s1">entry</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-s1">file</span> <span class="pl-c1">===</span> <span class="pl-s">'test.css'</span> <span class="pl-c1">&&</span> <span class="pl-s1">entry</span> <span class="pl-c1">===</span> <span class="pl-s">'main'</span><span class="pl-kos">,</span> <span class="pl-c1">use</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">Or perhaps we can just specify a rule to apply in "parallel", for any overlapping rules.</p>
<p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong><br>
Lots of use cases for this; one might be to process a stylesheet in different ways, and saving them as separate files via ExtractTextPlugin.</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
When packing for the second time, webpack reports 'Restoring failed for ResolverCachePlugin'.<br>
e.g.</p>
<p dir="auto"> [webpack.cache.PackFileCacheStrategy] Restoring failed for ResolverCachePlugin|normal|dependencyType=|commonjs|path=|/Users/keboliu/vscode-shortcut/portal-h5-node/src/views/teleclinict/booking/case-info|request=|@/lib/utils.js from pack: SyntaxError: Cannot use import statement outside a module<br>
(during deserialization of Array)<br>
(during deserialization of webpack/lib/NormalModule)<br>
(during deserialization of Map)<br>
(during deserialization of webpack/lib/cache/PackFileCacheStrategy PackContentItems)<br>
[webpack.cache.PackFileCacheStrategy] Restoring failed for ResolverCachePlugin|normal|dependencyType=|commonjs|path=|/Users/keboliu/vscode-shortcut/portal-h5-node/src/views/teleclinict/booking/case-info|request=|../components/case-info-card.vue from pack: SyntaxError: Cannot use import statement outside a module<br>
(during deserialization of Array)<br>
(during deserialization of webpack/lib/NormalModule)<br>
(during deserialization of Map)<br>
(during deserialization of webpack/lib/cache/PackFileCacheStrategy PackContentItems)<br>
[webpack.cache.PackFileCacheStrategy] Restoring failed for ResolverCachePlugin|normal|dependencyType=|commonjs|path=|/Users/keboliu/vscode-shortcut/portal-h5-node/src/views/teleclinict/booking/addlocaldoctor|request=|wand-ui/es/components/search/style from pack: SyntaxError: Cannot use import statement outside a module<br>
(during deserialization of Array)<br>
(during deserialization of webpack/lib/NormalModule)<br>
(during deserialization of Map)<br>
(during deserialization of webpack/lib/cache/PackFileCacheStrategy PackContentItems)</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br>
I cannot provide the specific steps, because this is a upgrade attempt, webpack4 to 5 via vue2.6 ssr.<br>
I can provide webpack configuration segment. Actually I've been trying to see if babel configuration going wrong.</p>
<p dir="auto">/<strong>webpack base config</strong>***/<br>
const baseConfig = {<br>
mode: isProd ? 'production' : 'development',<br>
context: path.resolve(__dirname, '../'),<br>
output: {<br>
path: path.resolve(__dirname, '../dist'),<br>
publicPath: config.staticPublicPath || '/dist/',<br>
filename: 'js/[name].[chunkhash].js',<br>
assetModuleFilename: '[name].[contenthash].[ext]'<br>
},<br>
cache: {<br>
type: 'filesystem',<br>
buildDependencies: {<br>
config: [<br>
<code class="notranslate">${__dirname}/</code>,<br>
path.join(__dirname, '../package.json')<br>
]<br>
},<br>
version: '1.0.0'<br>
},<br>
watchOptions: {<br>
aggregateTimeout: 500,<br>
poll: 1000<br>
},<br>
stats: 'errors-only',<br>
resolve: {<br>
symlinks: false,<br>
alias: {<br>
'~': path.resolve(__dirname, '..'),<br>
'@': path.resolve(__dirname, '../src'),<br>
'public': path.resolve(__dirname, '../public'),<br>
'assets': path.resolve(__dirname, '../src/assets')<br>
},<br>
extensions: ['.js', '.vue', '.less'],<br>
fallback: {<br>
'os': require.resolve('os-browserify/browser')<br>
},<br>
},<br>
module: {<br>
noParse: [/es6-promise.js$/, /lottie-web/, /pdfjs-dist/, /agentkeepalive/], // avoid webpack shimming process<br>
rules: [<br>
{<br>
test: /.vue$/,<br>
loader: 'vue-loader',<br>
options: vueLoaderConfig<br>
},<br>
{<br>
test: /.js$/,<br>
loader: 'babel-loader',<br>
options: {<br>
cacheDirectory: true<br>
},<br>
exclude: /node_modules.(?!(dom7|ssr-window|swiper).).<em>/<br>
},<br>
{<br>
test: /.(png|jpg|gif|svg)$/,<br>
type: 'asset'<br>
},<br>
{<br>
test: /.(eot|ttf|woff|woff2)$/,<br>
type: 'asset'<br>
}<br>
]<br>
},<br>
performance: {<br>
maxEntrypointSize: 300000,<br>
hints: isProd ? 'warning' : false<br>
},<br>
optimization: {<br>
minimizer: isProd ? [<br>
new TerserPlugin({<br>
extractComments: false,<br>
parallel: true,<br>
terserOptions: {<br>
warnings: false<br>
}<br>
}),<br>
new CssMinimizerPlugin()<br>
] : []<br>
},<br>
plugins: isProd ? [] : [<br>
new StyleLintPlugin({<br>
extensions: ['css', 'less'],<br>
files: ['src/styles/</em>.l?(e|c)ss', 'src/views-local/<strong>/*.vue', 'src/views/</strong>/<em>.vue', 'src/components/**/</em>.vue'],<br>
failOnError: false<br>
}),<br>
new FriendlyErrorsPlugin()<br>
]<br>
}</p>
<p dir="auto">!isProd && baseConfig.module.rules.unshift({<br>
test: /.(js|vue)$/,<br>
loader: 'eslint-loader',<br>
enforce: 'pre',<br>
exclude: /node_modules/,<br>
include: [path.resolve(__dirname, '../config'), path.resolve(__dirname, '../src'), path.resolve(__dirname, '../test')],<br>
options: {<br>
formatter: require('eslint-friendly-formatter'),<br>
emitWarning: true,<br>
cache: true,<br>
quiet: true,<br>
errorStack: false<br>
}<br>
})</p>
<p dir="auto">baseConfig.plugins.push(<br>
new webpack.ProvidePlugin({<br>
process: 'process/browser.js'<br>
})<br>
)<br>
baseConfig.plugins.push(new VueLoaderPlugin())<br>
baseConfig.plugins.push(new CopyWebpackPlugin({<br>
patterns: [<br>
{ from: 'node_modules/pdfjs-dist/build/pdf.worker.min.js' },<br>
{ from: 'node_modules/pdfjs-dist/cmaps', to: 'cmaps' }<br>
]<br>
}))</p>
<p dir="auto">module.exports = baseConfig<br>
/<strong>webpack base config</strong>***/</p>
<p dir="auto">/<strong>.babelrc.js</strong>****/<br>
module.exports = {<br>
presets: [<br>
"@babel/preset-flow",<br>
[<br>
"@babel/preset-env",<br>
{<br>
"modules": "commonjs",<br>
"useBuiltIns": "usage",<br>
"corejs": 3,<br>
targets: {<br>
browsers: ['ios >= 7', 'android >= 4.0.3']<br>
}<br>
}<br>
]<br>
],<br>
sourceType: 'unambiguous',<br>
plugins: [<br>
'@babel/plugin-transform-runtime',<br>
"@babel/plugin-syntax-dynamic-import",<br>
[<br>
"import",<br>
{<br>
"libraryName": "wand-ui",<br>
"libraryDirectory": "es/components",<br>
"style": true,<br>
"camel2DashComponentName": true,<br>
"customName": function(name){<br>
return <code class="notranslate">wand-ui/es/components/${name.substr(3)}</code><br>
}<br>
},<br>
"wand-ui"<br>
],<br>
[<br>
"import",<br>
{<br>
"libraryName": "@weiyi/wand-ui-user",<br>
"libraryDirectory": "lib/components",<br>
"style": (name) => {<br>
return <code class="notranslate">${name}/index.css</code>;<br>
},<br>
"camel2DashComponentName": true,<br>
"customName": function (name) {<br>
return <code class="notranslate">@weiyi/wand-ui-user/lib/components/${name.substr(8)}</code><br>
}<br>
},<br>
"@weiyi/wand-ui-user"<br>
],<br>
[<br>
"component",<br>
{<br>
"libraryName": "@weiyi/wand-ui",<br>
"styleLibrary": {<br>
"name": "theme-chalk",<br>
"base": true<br>
},<br>
"libDir": "lib",<br>
"root": "wand-ui"<br>
}<br>
]<br>
],<br>
env: {<br>
"test": {<br>
"presets": [<br>
"@babel/preset-env"<br>
],<br>
"plugins": [<br>
[<br>
"babel-plugin-webpack-aliases",<br>
{<br>
"config": "./build/webpack.base.config.js",<br>
"findConfig": true<br>
}<br>
]<br>
]<br>
}<br>
}<br>
}<br>
/<strong>.babelrc.js</strong>****/</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
wevpack restoring works.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
npx webpack-cli info ⏎<br>
System:<br>
OS: macOS 12.5<br>
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz<br>
Memory: 31.57 MB / 16.00 GB<br>
Binaries:<br>
Node: 14.15.4 - /usr/local/bin/node<br>
npm: 8.1.2 - /usr/local/bin/npm<br>
Browsers:<br>
Chrome: 104.0.5112.79<br>
Chrome Canary: 106.0.5246.0<br>
Firefox: 100.0<br>
Safari: 15.6<br>
Packages:<br>
babel-loader: ^8.2.5 => 8.2.5<br>
babel-plugin-webpack-aliases: ^1.1.3 => 1.1.3<br>
copy-webpack-plugin: ^11.0.0 => 11.0.0<br>
css-loader: ^6.7.1 => 6.7.1<br>
css-minimizer-webpack-plugin: ^4.0.0 => 4.0.0<br>
eslint-loader: ^4.0.2 => 4.0.2<br>
friendly-errors-webpack-plugin: ^1.7.0 => 1.7.0<br>
html-webpack-include-assets-plugin: ^1.0.10 => 1.0.10<br>
html-webpack-plugin: ^5.5.0 => 5.5.0<br>
intelli-espower-loader: ^1.1.0 => 1.1.0<br>
istanbul-instrumenter-loader: ^3.0.1 => 3.0.1<br>
less-loader: ^7.3.0 => 7.3.0<br>
null-loader: ^4.0.1 => 4.0.1<br>
postcss-loader: ^7.0.1 => 7.0.1<br>
stylelint-webpack-plugin: ^3.3.0 => 3.3.0<br>
terser-webpack-plugin: ^5.3.3 => 5.3.5<br>
thread-loader: ^3.0.4 => 3.0.4<br>
vue-loader: ^15.10.0 => 15.10.0<br>
webpack: 5.56.0 => 5.56.0<br>
webpack-bundle-analyzer: ^4.5.0 => 4.5.0<br>
webpack-cli: 4.9.1 => 4.9.1<br>
webpack-dev-middleware: ^5.3.3 => 5.3.3<br>
webpack-hot-middleware: ^2.25.1 => 2.25.2<br>
webpack-merge: 5.8.0 => 5.8.0<br>
webpack-node-externals: ^3.0.0 => 3.0.0<br>
webpack-sources: ^3.2.3 => 3.2.3</p> | 0 |
<p dir="auto">I just noticed that the definition for the <code class="notranslate">img</code> element includes the <code class="notranslate">max-width</code> property. This seems to break the controls for the Google Maps v3 API, causing very odd graphics to load for the zoom control.</p>
<p dir="auto">Placing in some additional CSS to overwrite the Bootstrap definition fixes the problem. The CSS I used was: .</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gmnoprint img {
max-width: none
}"><pre class="notranslate"><code class="notranslate">gmnoprint img {
max-width: none
}
</code></pre></div> | <p dir="auto">First of all thanks for your fantastic work. It does SAVE me a lot of time.</p>
<p dir="auto">When I put Google Maps into Bootstrap layout, img tag in Google Maps breaks because Bootstrap set <strong>img max-width to 100%</strong>. When I comment max-width, it's working find but I'm not sure whether it'll break something else in Bootstrap or not.</p>
<p dir="auto">Bootstrap and Google Maps<br>
<a href="http://jsfiddle.net/jhnRD/1/" rel="nofollow">http://jsfiddle.net/jhnRD/1/</a></p>
<p dir="auto">Google Maps without Bootstrap<br>
<a href="http://jsfiddle.net/aVx8L/" rel="nofollow">http://jsfiddle.net/aVx8L/</a></p>
<p dir="auto">Cheers,</p> | 1 |
<p dir="auto">IMHO FCC needs better support for commenting in code... the intructions for Delete your jQuery Functions <em>do say delete</em> but while working on code commenting out suspicious parts or just leaving notes is typically a good practice. FCC actively discourages this.</p>
<p dir="auto">I commented out the code to be deleted</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// $("button").addClass("animated bounce");
// $(".well").addClass("animated shake");
// $("#target3").addClass("animated fadeOut");"><pre class="notranslate"><code class="notranslate">// $("button").addClass("animated bounce");
// $(".well").addClass("animated shake");
// $("#target3").addClass("animated fadeOut");
</code></pre></div>
<p dir="auto">but FCC didn't 'PASS' the test.</p>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/delete-your-jquery-functions#?solution=%0Afccss%0A%20%20%24(document).ready(function()%20%7B%0A%20%20%7D)%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Delete your jQuery Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<script>
$(document).ready(function() {
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | <p dir="auto">The challenge description states: Return true if the string in the first element of the array contains <strong>all</strong> of the letters of the string in the second element of the array.</p>
<p dir="auto">According to that the case: <code class="notranslate">mutation(["Mary",</code> <code class="notranslate">"Aarmy"])</code> should return <strong>false</strong> because the first string has only one a character, therefore does not contain all of the characters of the second string.<br>
Currently that test case returns <strong>true</strong>.</p> | 0 |
<p dir="auto">when I use:<br>
torch.onnx.export()<br>
to convert my pytorch model to onnx model,<br>
I can monitor the memory is used up by the converting process.<br>
and then the process is killed.<br>
no any other logs, just killed.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/houseroad/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/houseroad">@houseroad</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/spandantiwari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/spandantiwari">@spandantiwari</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lara-hdr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lara-hdr">@lara-hdr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BowenBao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BowenBao">@BowenBao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/neginraoof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/neginraoof">@neginraoof</a></p> | <h2 dir="auto">🐛 Bug</h2>
<p dir="auto">See also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="408355158" data-permission-text="Title is private" data-url="https://github.com/pytorch/pytorch/issues/16908" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/16908/hovercard" href="https://github.com/pytorch/pytorch/issues/16908">#16908</a><br>
After fixing INT64 issue we moved forward and stumbled upon the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: In node 175 (convert_axis): UNSUPPORTED_NODE: Assertion failed: axis >= 0 && axis < nbDims"><pre class="notranslate"><code class="notranslate">ERROR: In node 175 (convert_axis): UNSUPPORTED_NODE: Assertion failed: axis >= 0 && axis < nbDims
</code></pre></div>
<p dir="auto">This is Gather on Axis 0. Seems like it has to be another axis. Please check it out.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: win7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>在idea中右键run application</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">[08/05/19 21:39:04:471 CST] main WARN config.AbstractConfig: [DUBBO] There's no valid metadata config found, if you are using the simplified mode of registry url, please make sure you have a metadata address configured properly., dubbo version: , current host: 10.4.31.197<br>
Exception in thread "main" java.lang.IllegalStateException: No such extension org.apache.dubbo.rpc.Protocol by name dubbo<br>
at org.apache.dubbo.common.extension.ExtensionLoader.findException(ExtensionLoader.java:517)<br>
at org.apache.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:524)<br>
at org.apache.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:348)<br>
at org.apache.dubbo.config.ServiceConfig.findConfigedPorts(ServiceConfig.java:725)<br>
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:535)<br>
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:431)<br>
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:389)<br>
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:352)<br>
at org.apache.dubbo.demo.provider.Application.main(Application.java:39)</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.4-release</li>
<li>Operating System version: windows 7</li>
<li>Java version: 1.8.0_101</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">1、运行org.apache.dubbo.demo.provider.Application<br>
2、直接抛异常</p>
<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="[06/11/19 08:52:38:145 CST] main INFO logger.LoggerFactory: using logger: org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter
Exception in thread "main" java.lang.NullPointerException
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:628)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.demo.provider.Application.main(Application.java:33)
[06/11/19 08:52:38:730 CST] DubboShutdownHook INFO config.DubboShutdownHook: [DUBBO] Run shutdown hook now., dubbo version: , current host: 172.17.32.176
[06/11/19 08:52:38:732 CST] DubboShutdownHook INFO support.AbstractRegistryFactory: [DUBBO] Close all registries [], dubbo version: , current host: 172.17.32.176"><pre class="notranslate"><code class="notranslate">[06/11/19 08:52:38:145 CST] main INFO logger.LoggerFactory: using logger: org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter
Exception in thread "main" java.lang.NullPointerException
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:628)
at java.util.Optional.orElseGet(Optional.java:267)
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620)
at java.util.Optional.ifPresent(Optional.java:159)
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618)
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208)
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370)
at org.apache.dubbo.demo.provider.Application.main(Application.java:33)
[06/11/19 08:52:38:730 CST] DubboShutdownHook INFO config.DubboShutdownHook: [DUBBO] Run shutdown hook now., dubbo version: , current host: 172.17.32.176
[06/11/19 08:52:38:732 CST] DubboShutdownHook INFO support.AbstractRegistryFactory: [DUBBO] Close all registries [], dubbo version: , current host: 172.17.32.176
</code></pre></div> | 0 |
<p dir="auto">"Put the Like, Info and Delete buttons side-by-side by nesting all three of them within one </p><div dir="auto"> element, then each of them within a <div dir="auto"> element"<p dir="auto"></p>
<p dir="auto">I think the Bootstrap markup "btn-block" from the previous exercise is redundant. The buttons are supposed to be side by side in this exercise using the column grid.</p>
<p dir="auto">I suggest part of the exercise is to remove the "btn-block" class form each button and tests be written to ensure they are removed. I would like some feedback about this suggestion before submitting a pull request.</p></div></div> | <p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-use-spans-for-inline-elements" rel="nofollow">http://freecodecamp.com/challenges/waypoint-use-spans-for-inline-elements</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">First line of the challenge has a typo where the word "use" comes twice:<br>
<em>You can use use spans to create inline elements.</em></p> | 0 |
<p dir="auto"><code class="notranslate"><input type="number" step=".01" min={1} max={9999} defaultValue={ 1.00 } /></code></p>
<blockquote>
<p dir="auto">the input Unable to enter a decimal</p>
</blockquote> | <p dir="auto">This appears to have been introduced in a new Chrome version, but I can't find any reference to where.</p>
<p dir="auto">Affected/Tested Browsers (OS X):</p>
<ul dir="auto">
<li>Chrome 51.0.2704.106 (64-bit)</li>
<li>Opera 39.0.2256.15</li>
</ul>
<p dir="auto">Unaffected Browsers:</p>
<ul dir="auto">
<li>Safari 9.1</li>
<li>Firefox 49</li>
</ul>
<p dir="auto">Backspacing in an input element with <code class="notranslate">value</code> or <code class="notranslate">defaultValue</code> set causes some very odd behavior. Once a decimal point is gone, it can't easily be re-added.</p>
<p dir="auto">Example:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1197375/16786390/1d722fd4-485a-11e6-8969-780d4e4e9752.gif"><img src="https://cloud.githubusercontent.com/assets/1197375/16786390/1d722fd4-485a-11e6-8969-780d4e4e9752.gif" alt="react-input-bug" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">In this example, I simply backspaced twice. On the second backspace, when I expect <code class="notranslate">3.</code> to be showing, the input instead reads <code class="notranslate">3</code> and the cursor has moved to the beginning. The next two jumps are my attempts to add another decimal point.</p>
<p dir="auto">Fiddle: <a href="https://jsfiddle.net/kmqz6kw8/" rel="nofollow">https://jsfiddle.net/kmqz6kw8/</a></p>
<p dir="auto">Tested with React 15.2.</p>
<p dir="auto">Notes: This only occurs when <code class="notranslate">value</code> or <code class="notranslate">defaultValue</code> is set. If neither is set, the input behaves properly. We are currently working around this issue by (unfortunately) setting the input value on <code class="notranslate">componentDidMount</code> via a ref.</p> | 1 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>Windows build number: 20H2 (19042.423)</li>
<li>PowerToys version: 0.20.0</li>
<li>PowerToy module: Unknown</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>Rebuilt computer.</li>
<li>Installed several apps (including PWA's via new Microsoft Edge Dev channel)</li>
<li>Installed PowerToys</li>
</ol>
<h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3>
<p dir="auto">PowerToys shouldn't crash.</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<p dir="auto">Manually launching the application resulted in a "PTRun got an error" and asked me to provide the following info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Version: 1.0.0
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Date: 08/04/2020 11:39:52
Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
at System.Timers.Timer.set_Enabled(Boolean value)
at System.Timers.Timer.Start()
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.UpdateIsVisibleCache()
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"><pre class="notranslate"><code class="notranslate">Version: 1.0.0
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True
Date: 08/04/2020 11:39:52
Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Timer'.
at System.Timers.Timer.set_Enabled(Boolean value)
at System.Timers.Timer.Start()
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.UIElement.UpdateIsVisibleCache()
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
</code></pre></div>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5023919/2020-08-04.txt">2020-08-04.txt</a></p>
<h2 dir="auto">📷 Screenshots</h2>
<p dir="auto">None</p> | <p dir="auto">Popup tells me to give y'all this.</p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.19041.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 07/31/2020 17:29:59<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p> | 1 |
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexlist/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexlist">@alexlist</a> on 2016-04-22T03:27:34Z<br>
I didn't find exactly this problem reported, only other bug reports related to nfs mounts.</p>
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">mount module</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
config file = /home/alex/repos/infra/ansible/ansible.cfg
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.1.0
config file = /home/alex/repos/infra/ansible/ansible.cfg
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">Standard.</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">CentOS 7 -> CentOS 7<br>
Ubunt 15.10/16.04 -> CentOS 7<br>
CentOS 7 -> Ubuntu 15.10/16.04</p>
<p dir="auto">In this particular case, only CentOS 7 -> CentOS 7</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">NFS mount point with state=mounted triggers error if already mounted.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Put a NFS mount stanza in a playbook and run the playbook when the mount is already mounted:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: configure fstab for alpha
action: mount name=/srv/foo/alpha src=fileserver:/mdarchive/alpha fstype=nfs4 opts=rw,hard,tcp,intr,nolock,rsize=1048576,wsize=1048576,_netdev state=mounted"><pre class="notranslate"><code class="notranslate">- name: configure fstab for alpha
action: mount name=/srv/foo/alpha src=fileserver:/mdarchive/alpha fstype=nfs4 opts=rw,hard,tcp,intr,nolock,rsize=1048576,wsize=1048576,_netdev state=mounted
</code></pre></div>
<p dir="auto">Run the playbook, get an error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [configure fstab for alpha] ***********************************************
fatal: [cluster-node01]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /srv/foo/alpha: mount.nfs4: /srv/foo/alpha is busy or already mounted\n"}"><pre class="notranslate"><code class="notranslate">TASK [configure fstab for alpha] ***********************************************
fatal: [cluster-node01]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /srv/foo/alpha: mount.nfs4: /srv/foo/alpha is busy or already mounted\n"}
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">I expect the documented behaviour:<br>
<a href="http://docs.ansible.com/ansible/mount_module.html" rel="nofollow">http://docs.ansible.com/ansible/mount_module.html</a></p>
<p dir="auto"><code class="notranslate">If mounted or unmounted, the device will be actively mounted or unmounted as needed and appropriately configured in fstab.</code></p>
<p dir="auto">Obviously, if a mount is already mounted, mounting it again is <em>not</em> needed and triggers the error and further execution of the playbook.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [configure fstab for alpha] ***********************************************
fatal: [cluster-node01]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /srv/foo/alpha: mount.nfs4: /srv/foo/alpha is busy or already mounted\n"}"><pre class="notranslate"><code class="notranslate">TASK [configure fstab for alpha] ***********************************************
fatal: [cluster-node01]: FAILED! => {"changed": false, "failed": true, "msg": "Error mounting /srv/foo/alpha: mount.nfs4: /srv/foo/alpha is busy or already mounted\n"}
</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="150254685" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/3514" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/3514/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/3514">ansible/ansible-modules-core#3514</a></p> | <p dir="auto">Today I tested the devil branch a home and I found out that gathering facts failed, because a locale ('de_DE') is set.<br>
The Problem is that the split operation on the ifconfig ouput doesn't work properly. (Line 458 in setup module)</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="cmd = subprocess.Popen("env LANG=\"\" /sbin/ifconfig %s" % iface, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)"><pre class="notranslate"><span class="pl-s1">cmd</span> <span class="pl-c1">=</span> <span class="pl-s1">subprocess</span>.<span class="pl-v">Popen</span>(<span class="pl-s">"env LANG=<span class="pl-cce">\"</span><span class="pl-cce">\"</span> /sbin/ifconfig %s"</span> <span class="pl-c1">%</span> <span class="pl-s1">iface</span>, <span class="pl-s1">shell</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">stdout</span><span class="pl-c1">=</span><span class="pl-s1">subprocess</span>.<span class="pl-v">PIPE</span>, <span class="pl-s1">stderr</span><span class="pl-c1">=</span><span class="pl-s1">subprocess</span>.<span class="pl-v">PIPE</span>)</pre></div>
<p dir="auto">I tried the code above. It fixes the issue.</p> | 0 |
<p dir="auto">My app forms utilize the enter button to tab to specified fields for speed on a ten-key keyboard. When enter is hit, we do a DOM lookup and trigger focus() on the next element. This works great on text fields but I cannot understand how to accomplish this on a Select box. I can get each of the DOM elements that make up the Select structure, but triggering focus() at any level does nothing.<br>
Note: I am able to grab the ref of the item via inputRef on the select to prevent us from traversing the DOM but it still yields no results.<br>
Thank you in advance for any guidance!</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/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>
<p dir="auto">Select becomes focused (but not open) when focus() is triggered manually. Expect the same behavior as hitting on the preceding element.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Triggering node.focus() does nothing, nor does it trigger on any element within the select DOM structure.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto"><a href="https://codesandbox.io/s/m43qqyo2zy" rel="nofollow">https://codesandbox.io/s/m43qqyo2zy</a></p>
<ol dir="auto">
<li>Select first text box.</li>
<li>Hit Enter key.</li>
<li>Notice 2nd text box is focused FTW.</li>
<li>Hit Enter key again.</li>
<li>Nothing happens.</li>
</ol>
<h2 dir="auto">Context</h2>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.21</td>
</tr>
<tr>
<td>React</td>
<td>16.1.0</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 62</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">Current beta is missing Slider component</p>
<ul dir="auto">
<li>[x ] 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>
<p dir="auto">As per existing Material-UI</p>
<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>
<p dir="auto">Currently preventing upgrading to the new generation of material-ui</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>v1.0 beta</td>
</tr>
<tr>
<td>React</td>
<td>16</td>
</tr>
</tbody>
</table> | 0 |
<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">min/max refuse to work on non-zero dimension of empty tensor.<br>
My understanding is the "op does not have identity" issue should only apply to zero dimension.</p>
<h2 dir="auto">To Reproduce</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.rand((0,4)).max(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity"><pre class="notranslate"><code class="notranslate">Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.rand((0,4)).max(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Empty tensor with proper size for non-zero dimensions.</p>
<h2 dir="auto">Environment</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collecting environment information...
PyTorch version: 1.7.0a0+72378e9
Is debug build: No
CUDA used to build PyTorch: 11.0
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.18.1
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: Tesla V100-SXM2-32GB
GPU 1: Tesla V100-SXM2-32GB
GPU 2: Tesla V100-SXM2-32GB
GPU 3: Tesla V100-SXM2-32GB
GPU 4: Tesla V100-SXM2-32GB
GPU 5: Tesla V100-SXM2-32GB
GPU 6: Tesla V100-SXM2-32GB
GPU 7: Tesla V100-SXM2-32GB
Nvidia driver version: 440.33.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.2
Versions of relevant libraries:
[pip3] numpy==1.19.1
[pip3] torch==1.7.0a0+72378e9
[pip3] torchvision==0.8.0a0+6db1569
[conda] Could not collect"><pre class="notranslate"><code class="notranslate">Collecting environment information...
PyTorch version: 1.7.0a0+72378e9
Is debug build: No
CUDA used to build PyTorch: 11.0
OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.18.1
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: Could not collect
GPU models and configuration:
GPU 0: Tesla V100-SXM2-32GB
GPU 1: Tesla V100-SXM2-32GB
GPU 2: Tesla V100-SXM2-32GB
GPU 3: Tesla V100-SXM2-32GB
GPU 4: Tesla V100-SXM2-32GB
GPU 5: Tesla V100-SXM2-32GB
GPU 6: Tesla V100-SXM2-32GB
GPU 7: Tesla V100-SXM2-32GB
Nvidia driver version: 440.33.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.2
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.2
Versions of relevant libraries:
[pip3] numpy==1.19.1
[pip3] torch==1.7.0a0+72378e9
[pip3] torchvision==0.8.0a0+6db1569
[conda] Could not collect
</code></pre></div>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): master (1.7.0a0+72378e9)</li>
<li>OS (e.g., Linux): Ubuntu 18.04</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): source</li>
<li>Build command you used (if compiling from source): cmake+ninja+gcc-8</li>
<li>Python version: 3.6</li>
<li>CUDA/cuDNN version: 11.0/8.0</li>
<li>GPU models and configuration: V100</li>
</ul> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">Current <code class="notranslate">min</code> / <code class="notranslate">max</code> implementation is too restrictive wrt tensors with zero elements.<br>
Indeed, min/max reduction over an empty dimension should raise an error, as they don't have an identity, but if the dimension being reduced is not of size 0 (but the tensor has 0 elements), then it should work.</p>
<h2 dir="auto">To Reproduce</h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="a = torch.rand(0, 4)
print(a.max(1))"><pre class="notranslate"><span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">rand</span>(<span class="pl-c1">0</span>, <span class="pl-c1">4</span>)
<span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-en">max</span>(<span class="pl-c1">1</span>))</pre></div>
<p dir="auto">raises</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity"><pre class="notranslate"><code class="notranslate">RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity
</code></pre></div>
<p dir="auto">while</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="a = torch.rand(0, 4)
print(a.numpy().max(1))"><pre class="notranslate"><span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">rand</span>(<span class="pl-c1">0</span>, <span class="pl-c1">4</span>)
<span class="pl-en">print</span>(<span class="pl-s1">a</span>.<span class="pl-en">numpy</span>().<span class="pl-en">max</span>(<span class="pl-c1">1</span>))</pre></div>
<p dir="auto">returns</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([], dtype=float32)"><pre class="notranslate"><code class="notranslate">array([], dtype=float32)
</code></pre></div>
<hr>
<p dir="auto">PyTorch version <code class="notranslate">1.5.0.dev20200225</code></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> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mruberry/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mruberry">@mruberry</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/heitorschueroff/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/heitorschueroff">@heitorschueroff</a></p> | 1 |
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">VTE only rewraps the contents of the (normal screen + its scrollback buffer) on a resize event. It doesn't rewrap the contents of the alternate screen.</p>
<p dir="auto">Rationale:</p>
<p dir="auto">The alternate screen is used by applications which repaint it after a resize event. So it doesn't really matter.</p>
<p dir="auto">However, in that short time window, after resizing the terminal but before the application catches up, this prevents vertical lines (e.g. the user interface of <code class="notranslate">mc</code>) from becoming ugly tilted.</p> | <p dir="auto">Paste text in a messy format</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.17763.475
Other software: Elasticsearch 6.7.0 using Java 1.8.0_172, but the behavior was
confirmed with a test batch file and executable."><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.17763.475
Other software: Elasticsearch 6.7.0 using Java 1.8.0_172, but the behavior was
confirmed with a test batch file and executable.
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">When testing the functionality of the <code class="notranslate">start</code> command within the <code class="notranslate">cmd.exe</code> shell, I found that having the <code class="notranslate">/min</code> parameter would affect the <code class="notranslate">/d</code> parameter: the path provided to the <code class="notranslate">/d</code> parameter did not seem to be acknowledged, and the command passed to the <code class="notranslate">start</code> command would not be found.</p>
<p dir="auto">Test example:</p>
<ul dir="auto">
<li>Command shell with prompt at <code class="notranslate">C:\temp</code></li>
<li>A test batch file at <code class="notranslate">C:\temp\testdir\test.bat</code>, with the content</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@echo hello
pause"><pre class="notranslate"><code class="notranslate">@echo hello
pause
</code></pre></div>
<ul dir="auto">
<li>Running the following command would succeed:<br>
<code class="notranslate">C:\temp>start /d c:\temp\testdir test.bat</code></li>
<li>The following command would not succeed:<br>
<code class="notranslate">C:\temp>start /min /d c:\temp\testdir test.bat</code></li>
<li>If the path is set to <code class="notranslate">C:\temp\testdir</code> the following command would succeed:<br>
<code class="notranslate">C:\temp\testdir>start /min test.bat</code></li>
</ul>
<p dir="auto">The use of the <code class="notranslate">/d</code> and <code class="notranslate">/min</code> parameter together was previously working, and was required functionality for a commercial product.</p>
<p dir="auto">I'm wondering if this problem is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="367370992" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/271" data-hovercard-type="issue" data-hovercard-url="/microsoft/terminal/issues/271/hovercard" href="https://github.com/microsoft/terminal/issues/271">#271</a> .</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The <code class="notranslate">/d</code> parameter to be parsed when the <code class="notranslate">/min</code> parameter is also included to the <code class="notranslate">start</code> command.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">If the <code class="notranslate">/min</code> parameter is used with the <code class="notranslate">/d</code> parameter, the path used with the <code class="notranslate">/d</code> parameter does not seem to be used, and the program contained in the path referenced by the <code class="notranslate">/d</code> parameter is not found.</p> | <p dir="auto">In 1809, the way the <code class="notranslate">start</code> command (from <code class="notranslate">cmd.exe</code>) behaves has changed. You can work around it by adding <code class="notranslate">/max</code> or <code class="notranslate">/min</code> after <code class="notranslate">start</code>.</p>
<p dir="auto">Two concrete examples:</p>
<ol dir="auto">
<li>
<p dir="auto">Running something off a network share from a command prompt like:<br>
<code class="notranslate">start z:\myapp.exe</code><br>
will now throw up a security warning dialog, when it did not in 1803 and earlier.</p>
</li>
<li>
<p dir="auto">A powershell script like this:<br>
<code class="notranslate">$script={& cmd.exe /c start notepad.exe}</code><br>
<code class="notranslate">$job = start-job -scriptblock $script</code><br>
would give you a job with state Running in 1803, until you closed notepad. In 1809, the job state is Completed before notepad is closed.</p>
</li>
</ol>
<p dir="auto">Adding <code class="notranslate">/max</code> or <code class="notranslate">/min</code> after <code class="notranslate">start</code> restores old behavior for both of these! That is crazy...</p>
<p dir="auto">Both of these behavior changes are going to break tools/code that rely on the old behaviors of no security prompt and the powershell job not being Complete until the started program exits.</p>
<p dir="auto">You can see how dramatically <code class="notranslate">start</code> has changed if you run procmon and filter to only <code class="notranslate">cmd.exe</code> process events. In Win10 1803, open a command prompt and do<br>
<code class="notranslate">start notepad.exe</code><br>
It results in <100 events. Run in 1809 and get >1000. Add /max and it drops back to <100.</p> | 1 |
<p dir="auto"><strong>Glide Version</strong>: 3.8.0</p>
<p dir="auto"><strong>Integration libraries</strong>: Volley</p>
<p dir="auto"><strong>Device/Android Version</strong>: Motorola G4 Plus/ 7.0 , Asus P024 Tablet/ 6.0.1, Oneplus One/5.0.2,</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>: I am loading an image with a background #f9f9f9 <a href="https://teafloor.com/media/catalog/product/t/h/the-tea-explorer-1.jpg" rel="nofollow">this image</a>. So I have made a layout with a background color #f9f9f9. Inside which I have an image view. The problem is the image background color is different in each of the mentioned devices.</p>
<p dir="auto">Moto G4 Plus Android 7.0<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16386061/27080508-cdc44a72-5059-11e7-85b7-cd6f80af93be.png"><img src="https://user-images.githubusercontent.com/16386061/27080508-cdc44a72-5059-11e7-85b7-cd6f80af93be.png" alt="moto g4 plus 7 0" style="max-width: 100%;"></a></p>
<p dir="auto">Asus P024 Tablet Android 6.0.1<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16386061/27080512-d1779106-5059-11e7-8a44-ba91a56d2407.jpg"><img src="https://user-images.githubusercontent.com/16386061/27080512-d1779106-5059-11e7-8a44-ba91a56d2407.jpg" alt="asus tablet 6 0 1" style="max-width: 100%;"></a></p>
<p dir="auto">OnePlus One Android 5.0.2<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16386061/27080513-d30dc080-5059-11e7-8930-7e6e2278409b.png"><img src="https://user-images.githubusercontent.com/16386061/27080513-d30dc080-5059-11e7-8930-7e6e2278409b.png" alt="oneplus 5 0 2" style="max-width: 100%;"></a></p>
<p dir="auto">The nougat device loads the image with some transparent color.<br>
The Marshmallow device loads the image with #f7f7f7 color<br>
The Lollipop device loads the image with #b9b9b9 color.</p>
<p dir="auto">I have used Picasso for the same image and it loads the image perfectly.</p>
<p dir="auto">Why is this happening?</p>
<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="public static void glideImageLoader(Context mContext, String imgUrl, ImageView imageView) {
Glide.with(mContext).load(imgUrl)
.thumbnail(0.5f)
.crossFade()
.diskCacheStrategy(DiskCacheStrategy.SOURCE)
.into(imageView);
}"><pre class="notranslate"><span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-smi">void</span> <span class="pl-s1">glideImageLoader</span>(<span class="pl-smi">Context</span> <span class="pl-s1">mContext</span>, <span class="pl-smi">String</span> <span class="pl-s1">imgUrl</span>, <span class="pl-smi">ImageView</span> <span class="pl-s1">imageView</span>) {
<span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">mContext</span>).<span class="pl-en">load</span>(<span class="pl-s1">imgUrl</span>)
.<span class="pl-en">thumbnail</span>(<span class="pl-c1">0.5f</span>)
.<span class="pl-en">crossFade</span>()
.<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">SOURCE</span>)
.<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>);
}</pre></div>
<p dir="auto"><strong>Layout XML</strong>:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/dp_15"
android:layout_marginTop="@dimen/dp_5"
android:orientation="vertical"
app:cardBackgroundColor="@color/colorPrimary"
app:cardCornerRadius="@dimen/dp_5">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/f9f9f9"
android:gravity="center">
<ImageView
android:id="@id/thumbnail"
android:layout_width="@dimen/dp_160"
android:layout_height="@dimen/dp_160"
android:layout_marginLeft="@dimen/dp_50"
android:layout_marginRight="@dimen/dp_50"
tools:ignore="ContentDescription" />
</LinearLayout>
<com.teafloor.utils.TextViewSemiBold
android:id="@id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center|start"
android:maxLines="1"
android:minLines="1"
android:paddingLeft="@dimen/dp_15"
android:paddingRight="@dimen/dp_15"
android:textColor="@color/blackShade"
android:textSize="@dimen/sp_15" />
<com.teafloor.utils.TextViewRegular
android:id="@id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center|start"
android:lineSpacingMultiplier="1.1"
android:maxLines="2"
android:minLines="2"
android:paddingBottom="@dimen/dp_15"
android:paddingLeft="@dimen/dp_15"
android:paddingRight="@dimen/dp_15"
android:textColor="@color/blackShade"
android:textSize="@dimen/sp_13" />
</LinearLayout>
</android.support.v7.widget.CardView>"><pre class="notranslate"><?<span class="pl-ent">xml</span><span class="pl-e"> version</span>=<span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span><span class="pl-e"> encoding</span>=<span class="pl-s"><span class="pl-pds">"</span>utf-8<span class="pl-pds">"</span></span>?>
<<span class="pl-ent">android</span>.support.v7.widget.CardView <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span>
<span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">app</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res-auto<span class="pl-pds">"</span></span>
<span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">tools</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/tools<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginBottom</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginTop</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_5<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">orientation</span>=<span class="pl-s"><span class="pl-pds">"</span>vertical<span class="pl-pds">"</span></span>
<span class="pl-e">app</span><span class="pl-e">:</span><span class="pl-e">cardBackgroundColor</span>=<span class="pl-s"><span class="pl-pds">"</span>@color/colorPrimary<span class="pl-pds">"</span></span>
<span class="pl-e">app</span><span class="pl-e">:</span><span class="pl-e">cardCornerRadius</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_5<span class="pl-pds">"</span></span>>
<<span class="pl-ent">LinearLayout</span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">orientation</span>=<span class="pl-s"><span class="pl-pds">"</span>vertical<span class="pl-pds">"</span></span>>
<<span class="pl-ent">LinearLayout</span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">background</span>=<span class="pl-s"><span class="pl-pds">"</span>@color/f9f9f9<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span>>
<<span class="pl-ent">ImageView</span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@id/thumbnail<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_160<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_160<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginLeft</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_50<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_marginRight</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_50<span class="pl-pds">"</span></span>
<span class="pl-e">tools</span><span class="pl-e">:</span><span class="pl-e">ignore</span>=<span class="pl-s"><span class="pl-pds">"</span>ContentDescription<span class="pl-pds">"</span></span> />
</<span class="pl-ent">LinearLayout</span>>
<<span class="pl-ent">com</span>.teafloor.utils.TextViewSemiBold
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@id/title<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">ellipsize</span>=<span class="pl-s"><span class="pl-pds">"</span>end<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center|start<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">maxLines</span>=<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">minLines</span>=<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingLeft</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingRight</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">textColor</span>=<span class="pl-s"><span class="pl-pds">"</span>@color/blackShade<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">textSize</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/sp_15<span class="pl-pds">"</span></span> />
<<span class="pl-ent">com</span>.teafloor.utils.TextViewRegular
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@id/description<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">ellipsize</span>=<span class="pl-s"><span class="pl-pds">"</span>end<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center|start<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">lineSpacingMultiplier</span>=<span class="pl-s"><span class="pl-pds">"</span>1.1<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">maxLines</span>=<span class="pl-s"><span class="pl-pds">"</span>2<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">minLines</span>=<span class="pl-s"><span class="pl-pds">"</span>2<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingBottom</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingLeft</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingRight</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/dp_15<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">textColor</span>=<span class="pl-s"><span class="pl-pds">"</span>@color/blackShade<span class="pl-pds">"</span></span>
<span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">textSize</span>=<span class="pl-s"><span class="pl-pds">"</span>@dimen/sp_13<span class="pl-pds">"</span></span> />
</<span class="pl-ent">LinearLayout</span>>
</<span class="pl-ent">android</span>.support.v7.widget.CardView></pre></div>
<p dir="auto"><strong>Stack trace / LogCat</strong>:</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="paste stack trace and/or log here"><pre class="notranslate"><span class="pl-en">paste</span> <span class="pl-en">stack</span> <span class="pl-en">trace</span> <span class="pl-k">and</span>/<span class="pl-en">or</span> <span class="pl-en">log</span> <span class="pl-en">here</span></pre></div> | <p dir="auto"><strong>Glide Version</strong>: 3.7.0</p>
<p dir="auto"><strong>Integration libraries</strong>: None</p>
<p dir="auto"><strong>Device/Android Version</strong>: All devices</p>
<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br>
Glide will always cancel previous request even if the new request is same as the previous one. Use Glide in list activity where each list item has a image view. After activity created, Glide requests (Glide.with(Activity.this).load(url).into(imageView)) are triggered by ListAdapter.getView() method. Before the requests are finished, call ListAdapter.notifyDataSetChanged(). Then ListAdapter.getView() will be called again, and the same Glide requests are sent out, the previous requests are all cancelled. But the cancellation is worthless since the requests are totally the same.</p>
<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Code in Activity
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// setup list adapter...
// setup event listener...
}
// this method may be called after activity created immediately
protected void onEvent(Event event) {
if (event...) {
adapter.notifyDataSetChanged();
}
}"><pre class="notranslate"><span class="pl-c">// Code in Activity</span>
<span class="pl-c1">@</span><span class="pl-c1">Override</span>
<span class="pl-k">protected</span> <span class="pl-smi">void</span> <span class="pl-s1">onCreate</span>(<span class="pl-smi">Bundle</span> <span class="pl-s1">savedInstanceState</span>) {
<span class="pl-en">super</span>.<span class="pl-en">onCreate</span>(<span class="pl-s1">savedInstanceState</span>);
<span class="pl-en">setContentView</span>(<span class="pl-smi">R</span>.<span class="pl-s1">layout</span>.<span class="pl-s1">activity_main</span>);
<span class="pl-c">// setup list adapter...</span>
<span class="pl-c">// setup event listener...</span>
}
<span class="pl-c">// this method may be called after activity created immediately</span>
<span class="pl-k">protected</span> <span class="pl-smi">void</span> <span class="pl-s1">onEvent</span>(<span class="pl-smi">Event</span> <span class="pl-s1">event</span>) {
<span class="pl-k">if</span> (<span class="pl-s1">event</span>...) {
<span class="pl-s1">adapter</span>.<span class="pl-en">notifyDataSetChanged</span>();
}
}</pre></div>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Code in adapter
@Override public View getView(int position, View recycled, ViewGroup container) {
final ImageView myImageView;
if (recycled == null) {
myImageView = (ImageView) inflater.inflate(R.layout.my_image_view, container, false);
} else {
myImageView = (ImageView) recycled;
}
String url = myUrls.get(position);
Glide
.with(myFragment)
.load(url)
.centerCrop()
.placeholder(R.drawable.loading_spinner)
.crossFade()
.into(myImageView);
return myImageView;
}"><pre class="notranslate"><span class="pl-c">// Code in adapter</span>
<span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">View</span> <span class="pl-s1">getView</span>(<span class="pl-smi">int</span> <span class="pl-s1">position</span>, <span class="pl-smi">View</span> <span class="pl-s1">recycled</span>, <span class="pl-smi">ViewGroup</span> <span class="pl-s1">container</span>) {
<span class="pl-k">final</span> <span class="pl-smi">ImageView</span> <span class="pl-s1">myImageView</span>;
<span class="pl-k">if</span> (<span class="pl-s1">recycled</span> == <span class="pl-c1">null</span>) {
<span class="pl-s1">myImageView</span> = (<span class="pl-smi">ImageView</span>) <span class="pl-s1">inflater</span>.<span class="pl-en">inflate</span>(<span class="pl-smi">R</span>.<span class="pl-s1">layout</span>.<span class="pl-s1">my_image_view</span>, <span class="pl-s1">container</span>, <span class="pl-c1">false</span>);
} <span class="pl-k">else</span> {
<span class="pl-s1">myImageView</span> = (<span class="pl-smi">ImageView</span>) <span class="pl-s1">recycled</span>;
}
<span class="pl-smi">String</span> <span class="pl-s1">url</span> = <span class="pl-s1">myUrls</span>.<span class="pl-en">get</span>(<span class="pl-s1">position</span>);
<span class="pl-smi">Glide</span>
.<span class="pl-en">with</span>(<span class="pl-s1">myFragment</span>)
.<span class="pl-en">load</span>(<span class="pl-s1">url</span>)
.<span class="pl-en">centerCrop</span>()
.<span class="pl-en">placeholder</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">loading_spinner</span>)
.<span class="pl-en">crossFade</span>()
.<span class="pl-en">into</span>(<span class="pl-s1">myImageView</span>);
<span class="pl-k">return</span> <span class="pl-s1">myImageView</span>;
}</pre></div> | 0 |
<p dir="auto">I am having a lot of situations in which I am depending on some module from multiple files. I end up with the multiple occurances of that module in the output bundle, each of which has different id's. I would expect this module to occur once which is what I also need because most of these are singletons whose state I need accross the application.</p>
<p dir="auto">So far I don't have any good starting point. Are there any typical causes for this?</p> | <p dir="auto">Why cant I set flags?</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ webpack -v
2.1.0-beta.28
cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ cat package.json | grep webpack
"webpack": "2.1.0-beta.28",
"webpack-dev-server": "^1.16.2"
cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ webpack --display-chunks
Option '--display-chunks' not supported. Trigger 'webpack -h' for more details.
cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ webpack-dev-server --inline --hot
Option '--inline' not supported. Trigger 'webpack-dev-server -h' for more details.
^C
cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ webpack
ts-loader: Using [email protected] and /home/cescoferraro/code/go/src/github.com/cescoferraro/spotify/tsconfig.json
^C
cescoferraro@desktop: ~/code/go/src/github.com/cescoferraro/spotify on master [+!?]
$ webpack-dev-server
[HPM] Proxy created: ** -> http://localhost:8080
http://localhost:8000/
webpack result is served from /
content is served from ./www
"><pre class="notranslate">cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ webpack -v
2.1.0-beta.28
cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ cat package.json <span class="pl-k">|</span> grep webpack
<span class="pl-s"><span class="pl-pds">"</span>webpack<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>2.1.0-beta.28<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>webpack-dev-server<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>^1.16.2<span class="pl-pds">"</span></span>
cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ webpack --display-chunks
Option <span class="pl-s"><span class="pl-pds">'</span>--display-chunks<span class="pl-pds">'</span></span> not supported. Trigger <span class="pl-s"><span class="pl-pds">'</span>webpack -h<span class="pl-pds">'</span></span> <span class="pl-k">for</span> more details.
cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ webpack-dev-server --inline --hot
Option <span class="pl-s"><span class="pl-pds">'</span>--inline<span class="pl-pds">'</span></span> not supported. Trigger <span class="pl-s"><span class="pl-pds">'</span>webpack-dev-server -h<span class="pl-pds">'</span></span> <span class="pl-k">for</span> more details.
^C
cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ webpack
ts-loader: Using [email protected] and /home/cescoferraro/code/go/src/github.com/cescoferraro/spotify/tsconfig.json
^C
cescoferraro@desktop: <span class="pl-k">~</span>/code/go/src/github.com/cescoferraro/spotify on master [+<span class="pl-k">!</span><span class="pl-k">?</span>]
$ webpack-dev-server
[HPM] Proxy created: <span class="pl-k">**</span> -<span class="pl-k">></span> http://localhost:8080
http://localhost:8000/
webpack result is served from /
content is served from ./www
</pre></div> | 0 |
<p dir="auto">Noticed that FancyZones was not working so attempted to launch Power Toys using the windows search. During launch this error message came up:</p>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.18362.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 08/05/2020 19:38:08<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
<p dir="auto">Log file:<br>
<a href="https://github.com/microsoft/PowerToys/files/5027498/2020-08-05.txt">2020-08-05.txt</a></p> | <p dir="auto">Popup tells me to give y'all this.</p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.19041.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 07/31/2020 17:29:59<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/passing-values-to-functions-with-arguments#?solution=%2F%2F%20Example%0Afunction%20ourFunction%28a%2C%20b%29%20%7B%0A%20%20console.log%28a%20-%20b%29%3B%0A%7D%0AourFunction%2810%2C%205%29%3B%20%2F%2F%20Outputs%205%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0Afunction%20myFunction%28a%2Cb%29%20%7B%0A%20%20console.log%28a%20%2B%20b%29%3B%0A%7D%0AmyFunction%2810%2C%205%29%3B%0A" rel="nofollow">Passing Values to Functions with Arguments</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5
// Only change code below this line.
function myFunction(a,b) {
console.log(a + b);
}
myFunction(10, 5);
"><pre class="notranslate"><span class="pl-c">// Example</span>
<span class="pl-k">function</span> <span class="pl-en">ourFunction</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Outputs 5</span>
<span class="pl-c">// Only change code below this line.</span>
<span class="pl-k">function</span> <span class="pl-en">myFunction</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | <p dir="auto">Some of the instructions have duplicate information (e.g. link to twitch API), others have broken links.</p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-remove-classes-from-an-element-with-jquery" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-remove-classes-from-an-element-with-jquery</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">the challenge was marked as finished even with just $("button").removeClass</p>
<p dir="auto">it should be marked as finished with $("button").removeClass("btn-default");</p> | <p dir="auto">Challenge <a href="http://beta.freecodecamp.com/en/challenges/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code" rel="nofollow">use-prototype-properties-to-reduce-duplicate-code</a> has an issue.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function Dog (name) {
this.name = name;
}
let beagle = new Dog("Snoopy");
// Add your code below this line
Dog.prototype.numLegs = 4;"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">Dog</span> <span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">name</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">let</span> <span class="pl-s1">beagle</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Dog</span><span class="pl-kos">(</span><span class="pl-s">"Snoopy"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// Add your code below this line</span>
<span class="pl-v">Dog</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">numLegs</span> <span class="pl-c1">=</span> <span class="pl-c1">4</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">As seen above, this challenge wants the camper to add a shared property to the prototype of the <code class="notranslate">Dog</code>. The issue here is that it wants the camper write that expression after the <code class="notranslate">Dog</code> actually is instantiated. Since all properties on the prototype are shared by all instances, this won't cause any runtime trouble - but it's generally considered a best practice to keep definitions before they are instantiated and used.</p>
<p dir="auto">Therefore, I suggest we swap places of the comment and the instantiation of <code class="notranslate">Dog</code>, and replace "below" with "above".</p>
<h3 dir="auto">I'll submit a PR for this immediately - we can always discuss it further there.</h3> | 0 |
<p dir="auto">Symfony 2.6.5 version changed the way errors are displayed in the browser. Lately a lot of users are complaining about this new behavior: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68105416" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/14337" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/14337/hovercard" href="https://github.com/symfony/symfony/issues/14337">#14337</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="66146195" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/14199" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/14199/hovercard" href="https://github.com/symfony/symfony/issues/14199">#14199</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1096546" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/1396" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/1396/hovercard" href="https://github.com/symfony/symfony/pull/1396">#1396</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="65204451" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/14111" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/14111/hovercard" href="https://github.com/symfony/symfony/issues/14111">#14111</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="64586466" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/14073" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/14073/hovercard" href="https://github.com/symfony/symfony/issues/14073">#14073</a>.</p>
<p dir="auto">Symfony 2.7 beta tried to solve this problem, but the result is not completely satisfactory.</p>
<p dir="auto">To better understand the problem, check out the different error messages that you get when your controller uses the <code class="notranslate">@Security</code> annotation without importing its associated class.</p>
<h3 dir="auto">Symfony 2.6.4</h3>
<p dir="auto">The error message is perfect.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/73419/7124728/a9ecdc2a-e22b-11e4-8626-9a0d10456c5b.png"><img src="https://cloud.githubusercontent.com/assets/73419/7124728/a9ecdc2a-e22b-11e4-8626-9a0d10456c5b.png" alt="2_6_4_web" style="max-width: 100%;"></a></p>
<h3 dir="auto">Symfony 2.6.5 and 2.6.6</h3>
<p dir="auto">The error message is awful.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/73419/7124730/bab1730e-e22b-11e4-96eb-8915b5c14d43.png"><img src="https://cloud.githubusercontent.com/assets/73419/7124730/bab1730e-e22b-11e4-96eb-8915b5c14d43.png" alt="2_6_6_web" style="max-width: 100%;"></a></p>
<h3 dir="auto">Symfony 2.7</h3>
<p dir="auto">You see 4 error messages instead of just 1. The good error is displayed at the bottom and the awful error is displayed first.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/73419/7124736/c5213234-e22b-11e4-81c1-21f4b390833d.png"><img src="https://cloud.githubusercontent.com/assets/73419/7124736/c5213234-e22b-11e4-81c1-21f4b390833d.png" alt="2_7_dev_web" style="max-width: 100%;"></a></p>
<p dir="auto">This behavior only happens in the browser. If you use Symfony 2.6.5 or 2.6.6 in the console, you get perfect error messages:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/73419/7124764/f5529218-e22b-11e4-87bd-defe2dacab34.png"><img src="https://cloud.githubusercontent.com/assets/73419/7124764/f5529218-e22b-11e4-87bd-defe2dacab34.png" alt="2_6_4_cli" style="max-width: 100%;"></a></p>
<p dir="auto">In my opinion this is a <strong>critical issue</strong> that should be fixed both for 2.6 and 2.7.</p> | <p dir="auto">I've recently encountered a strange issue with validation groups:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Profile {
/**
* @Assert\NotBlank(message="NOT-BLANK-Default")
* @Assert\NotBlank(message="NOT-BLANK-Profile", groups={ "Profile" })
*/
public $firstName;
}
$profile = new Profile();
$errors = $validator->validate($profile, array('Profile'))
foreach($errors as $e) {
echo (string) $e;
}"><pre class="notranslate"><code class="notranslate">class Profile {
/**
* @Assert\NotBlank(message="NOT-BLANK-Default")
* @Assert\NotBlank(message="NOT-BLANK-Profile", groups={ "Profile" })
*/
public $firstName;
}
$profile = new Profile();
$errors = $validator->validate($profile, array('Profile'))
foreach($errors as $e) {
echo (string) $e;
}
</code></pre></div>
<p dir="auto">Expected result would be:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Profile.firstName:
NOT-BLANK-Profile"><pre class="notranslate"><code class="notranslate">Profile.firstName:
NOT-BLANK-Profile
</code></pre></div>
<p dir="auto">However the actual result is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Profile"><pre class="notranslate"><code class="notranslate">Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Profile
</code></pre></div>
<p dir="auto">On the other hand, if we explictly define validation groups as <code class="notranslate">array('Default', 'Profile')</code> the result is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Profile"><pre class="notranslate"><code class="notranslate">Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Default
Profile.firstName:
NOT-BLANK-Profile
</code></pre></div>
<p dir="auto">It happens because <code class="notranslate">Symfony\Component\Validator\Mapping\ClassMetadata</code> impliclty adds <code class="notranslate">Default</code> validation group when it encounters a validation group that has the same as validated class name (w/o namespace). This behaviour is not documented, it causes hard to debug errors (including: duplicated error messages) and what's worst it changes validation logic.</p> | 0 |
<p dir="auto">It seems the index constraint doesn't seem to constrain anymore... if it does, then I blame it being early in the morning.</p>
<p dir="auto">Copying the code from Ryan's post <a href="http://stackoverflow.com/a/13631733/188246" rel="nofollow">here</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Customer {
dummyProperty: string;
}
var map: { [email: string]: Customer; } = { };
map['[email protected]'] = new Customer(); // OK
map[14] = new Customer(); // Not OK, 14 is not a string -- ACTUALLY, this compiles now
map['[email protected]'] = 'x'; // Not OK, x is not a customer"><pre class="notranslate"><code class="notranslate">class Customer {
dummyProperty: string;
}
var map: { [email: string]: Customer; } = { };
map['[email protected]'] = new Customer(); // OK
map[14] = new Customer(); // Not OK, 14 is not a string -- ACTUALLY, this compiles now
map['[email protected]'] = 'x'; // Not OK, x is not a customer
</code></pre></div>
<p dir="auto"><a href="http://www.typescriptlang.org/Playground/#src=class%20Customer%20%7B%0D%0A%09dummyProperty%3A%20string%3B%0D%0A%7D%0D%0A%0D%0Avar%20map%3A%20%7B%20%5Bemail%3A%20string%5D%3A%20Customer%3B%20%7D%20%3D%20%7B%7D%3B%0D%0Amap%5B'foo%40gmail.com'%5D%20%3D%20new%20Customer%28%29%3B%20%2F%2F%20OK%0D%0Amap%5B14%5D%20%3D%20new%20Customer%28%29%3B%20%2F%2F%20Not%20OK%2C%2014%20is%20not%20a%20string%20--%20ACTUALLY%2C%20this%20compiles%20now%0D%0Amap%5B'bar%40hotmail.com'%5D%20%3D%20'x'%3B%20%2F%2F%20Not%20OK%2C%20x%20is%20not%20a%20customer" rel="nofollow">Playground</a></p>
<p dir="auto">Apologies if this has already been raised, but I couldn't find a duplicate issue. Maybe this is now by design?</p> | <p dir="auto">As of change <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="61346456" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2356" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/2356/hovercard" href="https://github.com/microsoft/TypeScript/pull/2356">#2356</a>, the following code gives the correct result in the batch compiler:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function f<T>(x: T, y: (p: T) => T, z: (p: T) => T): T;
f(0, x => null, x => x.blahblah);"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">f</span><span class="pl-c1"><</span><span class="pl-smi">T</span><span class="pl-c1">></span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-s1">y</span>: <span class="pl-kos">(</span><span class="pl-s1">p</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-s1">z</span>: <span class="pl-kos">(</span><span class="pl-s1">p</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">T</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span>
<span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s1">x</span> <span class="pl-c1">=></span> <span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-s1">x</span> <span class="pl-c1">=></span> <span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">blahblah</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Namely, we infer T to be number, and we get an error on blahblah.</p>
<p dir="auto">However, there are a few things still wrong:</p>
<ul dir="auto">
<li>The language service does not show the correct result. It shows both x's to be number, but if you hover on f, you will see that it was instantiated to <code class="notranslate">any</code>, instead of <code class="notranslate">number</code>.</li>
<li>If you add another overload, the wrong type argument gets inferred:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare function f<T>(x: T, y: (p: T) => T, z: (p: T) => T): T;
declare function f();
f(0, x => null, x => x.blahblah);"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">f</span><span class="pl-c1"><</span><span class="pl-smi">T</span><span class="pl-c1">></span><span class="pl-kos">(</span><span class="pl-s1">x</span>: <span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-s1">y</span>: <span class="pl-kos">(</span><span class="pl-s1">p</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">T</span><span class="pl-kos">,</span> <span class="pl-s1">z</span>: <span class="pl-kos">(</span><span class="pl-s1">p</span>: <span class="pl-smi">T</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">T</span><span class="pl-kos">)</span>: <span class="pl-smi">T</span><span class="pl-kos">;</span>
<span class="pl-k">declare</span> <span class="pl-k">function</span> <span class="pl-s1">f</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-s1">x</span> <span class="pl-c1">=></span> <span class="pl-c1">null</span><span class="pl-kos">,</span> <span class="pl-s1">x</span> <span class="pl-c1">=></span> <span class="pl-s1">x</span><span class="pl-kos">.</span><span class="pl-c1">blahblah</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Now suddenly blahblah is not an error, and the second x is <code class="notranslate">any</code>.</p>
<ul dir="auto">
<li>In theory, if this overload is not assignable, but it has already fixed the type parameter T, and another overload comes along with a type parameter in the same position, that second type parameter will not get fixed. I don't have a good repro for this, but it is certainly a possibility in theory.</li>
</ul>
<p dir="auto">All of these issues happen because when a function expression parameter causes a type parameter to get fixed, it only does so if it is affected by the type of that type parameter. I believe the right thing here is that even if a function parameter does not align with the type parameter, it should still fix it. That way, it will fix the type parameter no matter which signature is being visited, or whether this signature has been visited before.</p>
<p dir="auto">I consider this bug a followup to bugs <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58722402" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2127" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2127/hovercard" href="https://github.com/microsoft/TypeScript/issues/2127">#2127</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59505661" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2182" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2182/hovercard" href="https://github.com/microsoft/TypeScript/issues/2182">#2182</a>.</p> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">The heatmap is now clipped improperly using imshow. The code works properly in 3.1.0 but not in 3.1.1. The bug could be easily reproduced using the categorical heatmap example on:<br>
<a href="https://matplotlib.org/gallery/images_contours_and_fields/image_annotated_heatmap.html" rel="nofollow">https://matplotlib.org/gallery/images_contours_and_fields/image_annotated_heatmap.html</a><br>
Note that the image of the example on the website is also clipped.</p>
<p dir="auto">See the same page in 3.1.0 as a comparison.<br>
<a href="https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html" rel="nofollow">https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html</a></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="# Paste your code here
#
#
import numpy as np
import matplotlib
import matplotlib.pyplot as plt
# sphinx_gallery_thumbnail_number = 2
vegetables = ["cucumber", "tomato", "lettuce", "asparagus",
"potato", "wheat", "barley"]
farmers = ["Farmer Joe", "Upland Bros.", "Smith Gardening",
"Agrifun", "Organiculture", "BioGoods Ltd.", "Cornylee Corp."]
harvest = np.array([[0.8, 2.4, 2.5, 3.9, 0.0, 4.0, 0.0],
[2.4, 0.0, 4.0, 1.0, 2.7, 0.0, 0.0],
[1.1, 2.4, 0.8, 4.3, 1.9, 4.4, 0.0],
[0.6, 0.0, 0.3, 0.0, 3.1, 0.0, 0.0],
[0.7, 1.7, 0.6, 2.6, 2.2, 6.2, 0.0],
[1.3, 1.2, 0.0, 0.0, 0.0, 3.2, 5.1],
[0.1, 2.0, 0.0, 1.4, 0.0, 1.9, 6.3]])
fig, ax = plt.subplots()
im = ax.imshow(harvest)
# We want to show all ticks...
ax.set_xticks(np.arange(len(farmers)))
ax.set_yticks(np.arange(len(vegetables)))
# ... and label them with the respective list entries
ax.set_xticklabels(farmers)
ax.set_yticklabels(vegetables)
# Rotate the tick labels and set their alignment.
plt.setp(ax.get_xticklabels(), rotation=45, ha="right",
rotation_mode="anchor")
# Loop over data dimensions and create text annotations.
for i in range(len(vegetables)):
for j in range(len(farmers)):
text = ax.text(j, i, harvest[i, j],
ha="center", va="center", color="w")
ax.set_title("Harvest of local farmers (in tons/year)")
fig.tight_layout()
plt.show()
"><pre class="notranslate"><span class="pl-c"># Paste your code here</span>
<span class="pl-c">#</span>
<span class="pl-c">#</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">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-c"># sphinx_gallery_thumbnail_number = 2</span>
<span class="pl-s1">vegetables</span> <span class="pl-c1">=</span> [<span class="pl-s">"cucumber"</span>, <span class="pl-s">"tomato"</span>, <span class="pl-s">"lettuce"</span>, <span class="pl-s">"asparagus"</span>,
<span class="pl-s">"potato"</span>, <span class="pl-s">"wheat"</span>, <span class="pl-s">"barley"</span>]
<span class="pl-s1">farmers</span> <span class="pl-c1">=</span> [<span class="pl-s">"Farmer Joe"</span>, <span class="pl-s">"Upland Bros."</span>, <span class="pl-s">"Smith Gardening"</span>,
<span class="pl-s">"Agrifun"</span>, <span class="pl-s">"Organiculture"</span>, <span class="pl-s">"BioGoods Ltd."</span>, <span class="pl-s">"Cornylee Corp."</span>]
<span class="pl-s1">harvest</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">0.8</span>, <span class="pl-c1">2.4</span>, <span class="pl-c1">2.5</span>, <span class="pl-c1">3.9</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">4.0</span>, <span class="pl-c1">0.0</span>],
[<span class="pl-c1">2.4</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">4.0</span>, <span class="pl-c1">1.0</span>, <span class="pl-c1">2.7</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>],
[<span class="pl-c1">1.1</span>, <span class="pl-c1">2.4</span>, <span class="pl-c1">0.8</span>, <span class="pl-c1">4.3</span>, <span class="pl-c1">1.9</span>, <span class="pl-c1">4.4</span>, <span class="pl-c1">0.0</span>],
[<span class="pl-c1">0.6</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.3</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">3.1</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>],
[<span class="pl-c1">0.7</span>, <span class="pl-c1">1.7</span>, <span class="pl-c1">0.6</span>, <span class="pl-c1">2.6</span>, <span class="pl-c1">2.2</span>, <span class="pl-c1">6.2</span>, <span class="pl-c1">0.0</span>],
[<span class="pl-c1">1.3</span>, <span class="pl-c1">1.2</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">3.2</span>, <span class="pl-c1">5.1</span>],
[<span class="pl-c1">0.1</span>, <span class="pl-c1">2.0</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">1.4</span>, <span class="pl-c1">0.0</span>, <span class="pl-c1">1.9</span>, <span class="pl-c1">6.3</span>]])
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>()
<span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">harvest</span>)
<span class="pl-c"># We want to show all ticks...</span>
<span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">farmers</span>)))
<span class="pl-s1">ax</span>.<span class="pl-en">set_yticks</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">vegetables</span>)))
<span class="pl-c"># ... and label them with the respective list entries</span>
<span class="pl-s1">ax</span>.<span class="pl-en">set_xticklabels</span>(<span class="pl-s1">farmers</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">set_yticklabels</span>(<span class="pl-s1">vegetables</span>)
<span class="pl-c"># Rotate the tick labels and set their alignment.</span>
<span class="pl-s1">plt</span>.<span class="pl-en">setp</span>(<span class="pl-s1">ax</span>.<span class="pl-en">get_xticklabels</span>(), <span class="pl-s1">rotation</span><span class="pl-c1">=</span><span class="pl-c1">45</span>, <span class="pl-s1">ha</span><span class="pl-c1">=</span><span class="pl-s">"right"</span>,
<span class="pl-s1">rotation_mode</span><span class="pl-c1">=</span><span class="pl-s">"anchor"</span>)
<span class="pl-c"># Loop over data dimensions and create text annotations.</span>
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-en">len</span>(<span class="pl-s1">vegetables</span>)):
<span class="pl-k">for</span> <span class="pl-s1">j</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-en">len</span>(<span class="pl-s1">farmers</span>)):
<span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">text</span>(<span class="pl-s1">j</span>, <span class="pl-s1">i</span>, <span class="pl-s1">harvest</span>[<span class="pl-s1">i</span>, <span class="pl-s1">j</span>],
<span class="pl-s1">ha</span><span class="pl-c1">=</span><span class="pl-s">"center"</span>, <span class="pl-s1">va</span><span class="pl-c1">=</span><span class="pl-s">"center"</span>, <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">"w"</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">set_title</span>(<span class="pl-s">"Harvest of local farmers (in tons/year)"</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">tight_layout</span>()
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16772289/60928646-32985800-a27c-11e9-93f2-b3941e9bc992.png"><img src="https://user-images.githubusercontent.com/16772289/60928646-32985800-a27c-11e9-93f2-b3941e9bc992.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Matplotlib version: 3.1.1</li>
<li>Python version: 3.6.8</li>
</ul> | <h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">The very top and bottom of the heatmaps are getting truncated to 1/2 height in version <code class="notranslate">3.1.1</code>. This does not happen for version <code class="notranslate">3.0.3</code>.</p>
<p dir="auto">This is the code from a Jupyter Notebook</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib
import pandas as pd
import numpy as np
import seaborn as sb
%pylab inline
print(matplotlib.__version__)
print(sb.__version__)
grid = pd.DataFrame(np.arange(9).reshape((3,3))/10)
fig, ax = subplots(1, 1, figsize=(5, 5))
sb.heatmap(grid, annot=True, fmt=".0f", ax=ax, cmap='RdBu', vmin=0, vmax=1, cbar=True);"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>
<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">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sb</span>
<span class="pl-c1">%</span><span class="pl-s1">pylab</span> <span class="pl-s1">inline</span>
<span class="pl-en">print</span>(<span class="pl-s1">matplotlib</span>.<span class="pl-s1">__version__</span>)
<span class="pl-en">print</span>(<span class="pl-s1">sb</span>.<span class="pl-s1">__version__</span>)
<span class="pl-s1">grid</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">9</span>).<span class="pl-en">reshape</span>((<span class="pl-c1">3</span>,<span class="pl-c1">3</span>))<span class="pl-c1">/</span><span class="pl-c1">10</span>)
<span class="pl-s1">fig</span>, <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-en">subplots</span>(<span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">5</span>, <span class="pl-c1">5</span>))
<span class="pl-s1">sb</span>.<span class="pl-en">heatmap</span>(<span class="pl-s1">grid</span>, <span class="pl-s1">annot</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">fmt</span><span class="pl-c1">=</span><span class="pl-s">".0f"</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s">'RdBu'</span>, <span class="pl-s1">vmin</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">vmax</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">cbar</span><span class="pl-c1">=</span><span class="pl-c1">True</span>);</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Populating the interactive namespace from numpy and matplotlib
3.1.1
0.9.0"><pre class="notranslate"><code class="notranslate">Populating the interactive namespace from numpy and matplotlib
3.1.1
0.9.0
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1696066/60530345-87f5c780-9cc6-11e9-9e31-a251283f3f7e.png"><img src="https://user-images.githubusercontent.com/1696066/60530345-87f5c780-9cc6-11e9-9e31-a251283f3f7e.png" alt="download" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Ubuntu Linux</li>
<li>Matplotlib version: 3.1.1</li>
<li>Matplotlib backend: module://ipykernel.pylab.backend_inline</li>
<li>Python version: 3.6</li>
<li>Jupyter version (if applicable): 4.4.0</li>
<li>Other libraries:</li>
</ul> | 1 |
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto">I am trying to import numpy within a virtual python environment on my raspberry pi. However, each time I attempt to import numpy on my Jupiter notebook (connected via ssh) I get an <code class="notranslate">import error</code> message (apologies it’s an image, I can’t get the iPad app to copy text):</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/45598743/79617484-884d3b00-80ff-11ea-84e2-bde316da7997.png"><img src="https://user-images.githubusercontent.com/45598743/79617484-884d3b00-80ff-11ea-84e2-bde316da7997.png" alt="925E13CC-8A17-4195-A06B-3E0BE5FB8205" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/45598743/79617491-8be0c200-80ff-11ea-8bd1-86389c3f11cb.png"><img src="https://user-images.githubusercontent.com/45598743/79617491-8be0c200-80ff-11ea-8bd1-86389c3f11cb.png" alt="A997E952-EEC1-4583-A2E7-E0A84A98A9D7" style="max-width: 100%;"></a></p>
<h3 dir="auto">How I installed numpy</h3>
<p dir="auto"><code class="notranslate">pip3 install numpy</code></p>
<h3 dir="auto">Numpy/Python Version</h3>
<p dir="auto">Python 3.7.3<br>
Numpy 1.18.2</p>
<h3 dir="auto">Actions taken so far</h3>
<ul dir="auto">
<li>I have reinstalled numpy within my virtual environment using:<br>
<code class="notranslate">pip install --upgrade --force-reinstall numpy</code></li>
<li>I have checked numpy within my non-virtualised environment and it works perfectly fine, so there’s something about my virtual environment it doesn’t like.</li>
</ul>
<p dir="auto">Can anyone see what the issue might be? Thanks in advance.</p> | <p dir="auto">When i try to run a python script that uses numpy, i receive the following error:<br>
ImportError: Unable to import required dependencies.<br>
...<br>
Original error was: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-arm-linux-gnueabihf.so)"</p>
<h3 dir="auto">Reproducing code example:</h3>
<p dir="auto">Can be reproduced simply with this:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span></pre></div>
<h3 dir="auto">Error message:</h3>
<p dir="auto">_Traceback (most recent call last):<br>
File "<pyshell#0>", line 1, in <br>
import numpy<br>
File "/usr/local/lib/python3.7/site-packages/numpy/<strong>init</strong>.py", line 142, in <br>
from . import core<br>
File "/usr/local/lib/python3.7/site-packages/numpy/core/<strong>init</strong>.py", line 47, in <br>
raise ImportError(msg)<br>
ImportError:</p>
<p dir="auto">IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!</p>
<p dir="auto">Importing the numpy c-extensions failed.</p>
<ul dir="auto">
<li>
<p dir="auto">Try uninstalling and reinstalling numpy.</p>
</li>
<li>
<p dir="auto">If you have already done that, then:</p>
<ol dir="auto">
<li>Check that you expected to use Python3.7 from "/usr/local/bin/python3.7",<br>
and that you have no directories in your PATH or PYTHONPATH that can<br>
interfere with the Python and numpy version "1.17.2" you're trying to use.</li>
<li>If (1) looks fine, you can open a new issue at<br>
<a href="https://github.com/numpy/numpy/issues">https://github.com/numpy/numpy/issues</a>. Please include details on:
<ul dir="auto">
<li>how you installed Python</li>
<li>how you installed numpy</li>
<li>your operating system</li>
<li>whether or not you have multiple versions of Python installed</li>
<li>if you built from source, your compiler versions and ideally a build log</li>
</ul>
</li>
</ol>
</li>
<li>
<p dir="auto">If you're working with a numpy git repository, try <code class="notranslate">git clean -xdf</code><br>
(removes all files not under version control) and rebuild numpy.</p>
</li>
</ul>
<p dir="auto">Note: this error has many possible causes, so please don't comment on<br>
an existing issue about this - open a new one instead.</p>
<p dir="auto">Original error was: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib/python3.7/site-packages/numpy/core/<em>multiarray_umath.cpython-37m-arm-linux-gnueabihf.so)</em></p>
<h3 dir="auto">Numpy/Python version information:</h3>
<p dir="auto">Unable to run the recommended command, but here is what I know about the version info:<br>
Python is 3.7 (if I import numpy on 3.5 or 2.7 it works)<br>
numpy is 1.17.2</p>
<h3 dir="auto">Additional Info</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - how you installed Python: I'm sorry I don't remember how or know how to find out.
- how you installed numpy: tried several ways, the most recent being `sudo pip3.7 install numpy`
- your operating system: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
- whether or not you have multiple versions of Python installed: 2.7, 3.5, 3.7 Possibly others, I'm not sure how to tell.
- if you built from source, your compiler versions and ideally a build log: Not sure where to grab this."><pre class="notranslate"><code class="notranslate"> - how you installed Python: I'm sorry I don't remember how or know how to find out.
- how you installed numpy: tried several ways, the most recent being `sudo pip3.7 install numpy`
- your operating system: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
- whether or not you have multiple versions of Python installed: 2.7, 3.5, 3.7 Possibly others, I'm not sure how to tell.
- if you built from source, your compiler versions and ideally a build log: Not sure where to grab this.
</code></pre></div>
<p dir="auto">I should note that I first received this error and got "libf77blas.so.3...no such file" for the "Original error" section. I made it past that by installing some dependencies from here: <a href="https://stackoverflow.com/questions/53347759/importerror-libcblas-so-3-cannot-open-shared-object-file-no-such-file-or-dire" rel="nofollow">https://stackoverflow.com/questions/53347759/importerror-libcblas-so-3-cannot-open-shared-object-file-no-such-file-or-dire</a></p>
<p dir="auto">I apologize for the lack of details. I'm new to Linux and relatively new to Python, but I'll happily gather anything else that's needed if you can point me in the right direction.</p> | 1 |
<h4 dir="auto">A small, complete example of the issue</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> series = pd.Series({'a':3, 'b':7, 'c':np.inf, 'd':6})
>>> series.argmax() # should be c
'b'
>>> series.idxmax() # should be c
'b'
>>> series.max() # this works properly
inf
>>> series.index[np.argmax(np.array(series))] # this work-around works
'c'"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>({<span class="pl-s">'a'</span>:<span class="pl-c1">3</span>, <span class="pl-s">'b'</span>:<span class="pl-c1">7</span>, <span class="pl-s">'c'</span>:<span class="pl-s1">np</span>.<span class="pl-s1">inf</span>, <span class="pl-s">'d'</span>:<span class="pl-c1">6</span>})
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">argmax</span>() <span class="pl-c"># should be c</span>
<span class="pl-s">'b'</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">idxmax</span>() <span class="pl-c"># should be c</span>
<span class="pl-s">'b'</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">max</span>() <span class="pl-c"># this works properly</span>
<span class="pl-s1">inf</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-s1">index</span>[<span class="pl-s1">np</span>.<span class="pl-en">argmax</span>(<span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">series</span>))] <span class="pl-c"># this work-around works</span>
<span class="pl-s">'c'</span></pre></div>
<h4 dir="auto">Expected Output</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> series = pd.Series({'a':3, 'b':7, 'c':np.inf, 'd':6})
>>> series.argmax()
'c'
>>> series.idxmax()
'c'"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>({<span class="pl-s">'a'</span>:<span class="pl-c1">3</span>, <span class="pl-s">'b'</span>:<span class="pl-c1">7</span>, <span class="pl-s">'c'</span>:<span class="pl-s1">np</span>.<span class="pl-s1">inf</span>, <span class="pl-s">'d'</span>:<span class="pl-c1">6</span>})
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">argmax</span>()
<span class="pl-s">'c'</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">idxmax</span>()
<span class="pl-s">'c'</span></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
# Paste the output here pd.show_versions() here
```python
>>> pd.show_versions()
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.5.2.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 15.6.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.19.0<br>
nose: 1.3.7<br>
pip: 8.1.2<br>
setuptools: 23.0.0<br>
Cython: 0.24<br>
numpy: 1.11.2<br>
scipy: 0.18.1<br>
statsmodels: 0.6.1<br>
xarray: None<br>
IPython: 4.2.0<br>
sphinx: 1.4.1<br>
patsy: 0.4.1<br>
dateutil: 2.5.3<br>
pytz: 2016.7<br>
blosc: None<br>
bottleneck: 1.1.0<br>
tables: 3.2.2<br>
numexpr: 2.6.0<br>
matplotlib: 1.5.1<br>
openpyxl: 2.3.2<br>
xlrd: 1.0.0<br>
xlwt: 1.1.2<br>
xlsxwriter: 0.9.2<br>
lxml: 3.6.0<br>
bs4: 4.4.1<br>
html5lib: None<br>
httplib2: 0.9.2<br>
apiclient: None<br>
sqlalchemy: 1.0.13<br>
pymysql: None<br>
psycopg2: 2.6.2 (dt dec pq3 ext lo64)<br>
jinja2: 2.8<br>
boto: 2.40.0<br>
pandas_datareader: None</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="</details>"><pre class="notranslate"><code class="notranslate"></details>
</code></pre></div></details> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In [3]: s = pd.Series([1, 2, np.inf])
In [4]: s.argmax()
Out[4]: 1
In [5]: s.argmax(skipna=False)
Out[5]: nan
"><pre class="notranslate"><code class="notranslate">In [3]: s = pd.Series([1, 2, np.inf])
In [4]: s.argmax()
Out[4]: 1
In [5]: s.argmax(skipna=False)
Out[5]: nan
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">2 in both cases.</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<p dir="auto">In [6]: pd.show_versions()</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS
------------------
commit: a63bd12529ff309d957d714825b1753d0e02b7fa
python: 3.5.1.final.0
python-bits: 64
OS: Linux
OS-release: 4.5.0-2-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.18.1+174.ga63bd12
nose: 1.3.7
pip: 1.5.6
setuptools: 18.4
Cython: 0.23.4
numpy: 1.10.4
scipy: 0.16.0
statsmodels: 0.8.0.dev0+111ddc0
xarray: None
IPython: 5.0.0.dev
sphinx: 1.3.1
patsy: 0.3.0-dev
dateutil: 2.2
pytz: 2012c
blosc: None
bottleneck: 1.1.0dev
tables: 3.2.2
numexpr: 2.5
matplotlib: 1.5.1
openpyxl: None
xlrd: 0.9.4
xlwt: 1.1.2
xlsxwriter: 0.7.3
lxml: None
bs4: 4.4.0
html5lib: 0.999
httplib2: 0.9.1
apiclient: 1.5.0
sqlalchemy: 1.0.11
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.38.0
pandas_datareader: 0.2.1
"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS
------------------
commit: a63bd12529ff309d957d714825b1753d0e02b7fa
python: 3.5.1.final.0
python-bits: 64
OS: Linux
OS-release: 4.5.0-2-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.18.1+174.ga63bd12
nose: 1.3.7
pip: 1.5.6
setuptools: 18.4
Cython: 0.23.4
numpy: 1.10.4
scipy: 0.16.0
statsmodels: 0.8.0.dev0+111ddc0
xarray: None
IPython: 5.0.0.dev
sphinx: 1.3.1
patsy: 0.3.0-dev
dateutil: 2.2
pytz: 2012c
blosc: None
bottleneck: 1.1.0dev
tables: 3.2.2
numexpr: 2.5
matplotlib: 1.5.1
openpyxl: None
xlrd: 0.9.4
xlwt: 1.1.2
xlsxwriter: 0.7.3
lxml: None
bs4: 4.4.0
html5lib: 0.999
httplib2: 0.9.1
apiclient: 1.5.0
sqlalchemy: 1.0.11
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.38.0
pandas_datareader: 0.2.1
</code></pre></div> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return {
…state,
msg: action.value
};"><pre class="notranslate"><code class="notranslate">return {
…state,
msg: action.value
};
</code></pre></div>
<p dir="auto">my jsconfig.js:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": “ES7”,
"module": “es6”,
"experimentalDecorators": true
}
}"><pre class="notranslate"><code class="notranslate">{
"compilerOptions": {
"target": “ES7”,
"module": “es6”,
"experimentalDecorators": true
}
}
</code></pre></div>
<p dir="auto">anything else i forget to set?</p> | <p dir="auto">… and I can't turn it off by setting <code class="notranslate">javascript.validate.enable</code> false.</p>
<p dir="auto">Perhaps this is a soft documentation bug: the <a href="https://code.visualstudio.com/Updates" rel="nofollow">release notes</a> proudly mention <code class="notranslate">experimentalObjectRestSpread</code> but then say:</p>
<blockquote>
<p dir="auto">Support for ObjectRestSpread is not yet provided by Salsa but it is on the roadmap (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58475863" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2103" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2103/hovercard" href="https://github.com/microsoft/TypeScript/issues/2103">microsoft/TypeScript#2103</a>).</p>
</blockquote>
<p dir="auto">… which is confusing and misleading.</p>
<p dir="auto">It's confusing because the stand-out tone of core dev responses to that issue is "not until TC39 moves it to stage 3; bother them, not us", which is much less optimistic than the Feb 2016 release notes or the <a href="https://github.com/Microsoft/TypeScript/wiki/Roadmap">TypeScript Roadmap</a> itself.</p>
<p dir="auto">It's misleading because it fails to <strong>describe the impact</strong> of "support… not yet provided" as <strong>error messages you can't make go away</strong>. If there's some way to make them go away, please describe it in that part of the release notes. If not, I don't think it's too strong to outright <strong>advise users of object spread properties to delay upgrading</strong>.</p>
<p dir="auto">Without a work-around, this kills <code class="notranslate">code</code> for me, as I now have to dig for the real errors amongst a few dozen erroneous:</p>
<ul dir="auto">
<li><code class="notranslate">Property assignment expected.</code></li>
<li><code class="notranslate">Argument expression expected.</code></li>
<li><code class="notranslate">Declaration or statement expected.</code></li>
</ul>
<p dir="auto">I trust a workaround is possible, as <code class="notranslate">code</code> is not erroring in JSX.</p> | 1 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I'm using Vim as default editor on Linux, also doing some job on multiple vim windows. As you know, Vim uses Ctrl-W to switch between its window, but it also causes closing tab on microsoft terminal. Would you please remove Ctrl-W from default keybindings?</p>
<p dir="auto">Thank you!</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):
Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt]
Windows Terminal version (if applicable):
Any other software?
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<h1 dir="auto">Expected behavior</h1>
<h1 dir="auto">Actual behavior</h1> | 0 |
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br>
Yes</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br>
Ubuntu 16.04</li>
<li><strong>TensorFlow installed from (source or binary)</strong>:<br>
binary(By pip)</li>
<li><strong>TensorFlow version (use command below)</strong>:<br>
1.4.1</li>
<li><strong>Python version</strong>:<br>
3.5.2</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>:<br>
8.0.61/6.0.21</li>
<li><strong>GPU model and memory</strong>:<br>
GTX 1080 Ti, 11172MiB</li>
<li><strong>Exact command to reproduce</strong>:<br>
python main.py</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">I train my RFCN by tensorflow. My project need very high speed. So I use the profile and I find that non_max_suppression is on CPU? Is there a GPU version?I think if you calculate all pairs of boxes IOU first, then just for-loop once will ultimately boost speed, there have some trick in it, just see the source code in <a href="https://github.com/rbgirshick/py-faster-rcnn/tree/master/lib/nms">https://github.com/rbgirshick/py-faster-rcnn/tree/master/lib/nms</a>. I think cuda version of NMS is faster than CPU version.</p> | <p dir="auto">It appears that tf.image.non_max_suppression currently takes about 200ms for about 8000 boxes, runs on a single CPU thread and doesn't have a GPU implementation.</p>
<h3 dir="auto">Environment info</h3>
<p dir="auto">Operating System:<br>
Ubuntu 16.04</p>
<p dir="auto">Installed version of CUDA and cuDNN:<br>
(please attach the output of <code class="notranslate">ls -l /path/to/cuda/lib/libcud*</code>):<br>
8.0, 5.1.5</p>
<p dir="auto">If installed from binary pip package, provide:</p>
<ol dir="auto">
<li>A link to the pip package you installed:</li>
<li>The output from <code class="notranslate">python -c "import tensorflow; print(tensorflow.__version__)"</code>.<br>
0.12.0-rc1</li>
</ol> | 1 |
<p dir="auto">I'm currently using the tsconfig file in our project and I want to have two of them one that outputs es5 and one that outputs es6. Things are working great until I try and target es6 and run into the issue where I'm supplying a definition file for ES6-Promises.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[TsProject] Compiling Project Files...
[TsProject] c:/Code/Exceptionless.JavaScript/node_modules/typescript/bin/lib.es6.d.ts(4727,11): error TS2300: Duplicate identifier 'Promise'.
[TsProject] c:/Code/Exceptionless.JavaScript/node_modules/typescript/bin/lib.es6.d.ts(4812,13): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(10,15): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(40,16): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(70,2): error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
[TsProject] Build completed with errors. Outputs generated.
[12:17:44] Finished 'typescript' after 2.76 s"><pre class="notranslate"><code class="notranslate">[TsProject] Compiling Project Files...
[TsProject] c:/Code/Exceptionless.JavaScript/node_modules/typescript/bin/lib.es6.d.ts(4727,11): error TS2300: Duplicate identifier 'Promise'.
[TsProject] c:/Code/Exceptionless.JavaScript/node_modules/typescript/bin/lib.es6.d.ts(4812,13): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(10,15): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(40,16): error TS2300: Duplicate identifier 'Promise'.
[TsProject] typings/es6-promise/es6-promise.d.ts(70,2): error TS1203: Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead.
[TsProject] Build completed with errors. Outputs generated.
[12:17:44] Finished 'typescript' after 2.76 s
</code></pre></div> | <p dir="auto">If you implement (so not extend) a class that has protected methods, you always get an error (typically used for a mix-in like pattern)</p>
<p dir="auto">Either you implement the method, but then the compiler complaints that you are not actually a subclass and therefor cannot implement a protected method. If you however omit the method and than the compiler complaints you are missing a method.</p>
<p dir="auto">Quick sample to illustrate:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class A {
protected hello() {}
}
class B implements A {
// protected hello() {}
}"><pre class="notranslate"><code class="notranslate">class A {
protected hello() {}
}
class B implements A {
// protected hello() {}
}
</code></pre></div>
<p dir="auto">One possible solution would be the compiler should ignore protected (and private) properties when implementing a class, only seeing the public properties as part of the externally exposed interface of a class.</p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-passing-values-to-functions-with-arguments#?solution=%2F%2F%20Example%0Afunction%20ourFunction%28a%2C%20b%29%20%7B%0A%20%20console.log%28a%20-%20b%29%3B%0A%7D%0AourFunction%2810%2C%205%29%3B%20%2F%2F%20Outputs%205%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Afunction%20myFunction%28a%2C%20b%29%7B%0A%20%20console.log%28a%20%2B%20b%29%3B%0A%7D%0AmyFunction%282%2C%203%29%3B%0A" rel="nofollow">Waypoint: Passing Values to Functions with Arguments</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5
// Only change code below this line.
function myFunction(a, b){
console.log(a + b);
}
myFunction(2, 3);
"><pre class="notranslate"><span class="pl-c">// Example</span>
<span class="pl-k">function</span> <span class="pl-en">ourFunction</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Outputs 5</span>
<span class="pl-c">// Only change code below this line.</span>
<span class="pl-k">function</span> <span class="pl-en">myFunction</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">+</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">myFunction() works fine in Chrome's dev tools.</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-passing-values-to-functions-with-arguments#?solution=%2F%2F%20Example%0Afunction%20ourFunction%28a%2C%20b%29%20%7B%0A%20%20console.log%28a%20-%20b%29%3B%0A%7D%0AourFunction%2810%2C%205%29%3B%20%2F%2F%20Outputs%205%0A%0A%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%0Afunction%20myFunction%28c%2C%20d%29%7B%0A%20%20console.log%28c%20%2B%20d%29%3B%0A%7D%0AmyFunction%282%2C%203%29%3B%0A" rel="nofollow">Waypoint: Passing Values to Functions with Arguments</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.</p>
<p dir="auto">Running tests outputs <code class="notranslate">RangeError: Maximum call stack size exceeded</code> and no tests pass.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Example
function ourFunction(a, b) {
console.log(a - b);
}
ourFunction(10, 5); // Outputs 5
// Only change code below this line.
function myFunction(c, d){
console.log(c + d);
}
myFunction(2, 3);
"><pre class="notranslate"><span class="pl-c">// Example</span>
<span class="pl-k">function</span> <span class="pl-en">ourFunction</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">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">a</span> <span class="pl-c1">-</span> <span class="pl-s1">b</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">ourFunction</span><span class="pl-kos">(</span><span class="pl-c1">10</span><span class="pl-kos">,</span> <span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Outputs 5</span>
<span class="pl-c">// Only change code below this line.</span>
<span class="pl-k">function</span> <span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-s1">c</span><span class="pl-kos">,</span> <span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">c</span> <span class="pl-c1">+</span> <span class="pl-s1">d</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<p dir="auto">As discussed in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9798557" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/1549" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/1549/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/1549">#1549</a>, utils.check_arrays() does not check the shape or ndim of input arrays. However, the docstring suggests that it should: "Checks whether all objects in arrays have the same shape or length."</p>
<p dir="auto">To me, I think what we need is to break check_arrays() into several sub-functions or maybe a class:</p>
<ol dir="auto">
<li>Check sparse / dense</li>
<li>Check dtype</li>
<li>Check first dimension</li>
<li>Check all dimensions</li>
</ol> | <p dir="auto">This issue is about agreeing on what to do about common tests for estimators that support the Array API.</p>
<p dir="auto">There are two things we need to test for every estimator for which we add Array API support:</p>
<ol dir="auto">
<li>does it work with a selection of Array API implementations. I think testing with <code class="notranslate">numpy.array_api</code>, <code class="notranslate">pytorch</code> (CPU) as default and <code class="notranslate">pytoch</code> (GPU) and <code class="notranslate">cupy</code> when a GPU is available would be good and cover most bases.</li>
<li>do the results change when a Array API namespace is used compared to a vanilla Numpy array</li>
</ol>
<p dir="auto">There is a 2.5 point as well: different dtypes (<code class="notranslate">float64</code>, <code class="notranslate">float32</code>, <code class="notranslate">float16</code> (when supported)). Not sure what to do about that in terms of common test.</p>
<p dir="auto">is there something else we should test in the common tests?</p>
<p dir="auto">Implementation wise I think it would be good to add a estimator tag that we can use to mark estimators that support Array API. Something like <code class="notranslate">"array_api_support": True</code>?</p>
<p dir="auto">Then I'd add one test that checks if the result of vanilla Numpy match the results of <code class="notranslate">numpy.array_api</code> (to cover (2)). And then maybe two more common tests. One to check that <code class="notranslate">numpy.array_api</code> and <code class="notranslate">pytorch</code> (CPU) work and another one for the GPU based tests in (1)? I'm wondering if having some code duplication between tests for (1) is worth it in terms of making the tests easier to read compared to trying to do it all via parametrisation.</p>
<p dir="auto">Depending on how far <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1678503814" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/26243" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/26243/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/26243">#26243</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1691482846" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/26315" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/26315/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/26315">#26315</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1144910293" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/22554" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/22554/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/22554">#22554</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1638147187" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/25956" data-hovercard-type="pull_request" data-hovercard-url="/scikit-learn/scikit-learn/pull/25956/hovercard" href="https://github.com/scikit-learn/scikit-learn/pull/25956">#25956</a> are we should also clean up the tests that check this that were added in those PRs.</p>
<p dir="auto">What do you think <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ogrisel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ogrisel">@ogrisel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thomasjpfan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thomasjpfan">@thomasjpfan</a> ?</p> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.