text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.5.0</li> <li>Operating System / Platform =&gt; Linux 64-bit</li> <li>Compiler =&gt; / (python 3.8.6)</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I am calling the stereoCalibrate function in my python code, but always throws assertion errors:<br> <code class="notranslate">result = cv2.stereoCalibrate(objectPoints, imagePointsA, imagePointsB, intrA, distA, intrB, distB, (848, 480))</code></p> <p dir="auto">throws the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: OpenCV(4.5.0) /build/opencv/src/opencv-4.5.0/modules/calib3d/src/calibration.cpp:1088: error: (-215:Assertion failed) (count &gt;= 4) || (count == 3 &amp;&amp; useExtrinsicGuess) in function 'cvFindExtrinsicCameraParams2'"><pre class="notranslate"><code class="notranslate">error: OpenCV(4.5.0) /build/opencv/src/opencv-4.5.0/modules/calib3d/src/calibration.cpp:1088: error: (-215:Assertion failed) (count &gt;= 4) || (count == 3 &amp;&amp; useExtrinsicGuess) in function 'cvFindExtrinsicCameraParams2' </code></pre></div> <p dir="auto">if I try adding the USE_EXTRINSIC_GUESS flag, it still fails:<br> <code class="notranslate">result = cv2.stereoCalibrate(objectPoints, imagePointsA, imagePointsB, intrA, distA, intrB, distB, (848, 480), flags=cv2.CALIB_FIX_INTRINSIC+cv2.CALIB_USE_EXTRINSIC_GUESS)</code></p> <p dir="auto">throws the following error:<br> <code class="notranslate">error: OpenCV(4.5.0) /build/opencv/src/opencv-4.5.0/modules/calib3d/src/calibration.cpp:3871: error: (-206:Bad flag (parameter or structure field)) stereoCalibrate does not support CALIB_USE_EXTRINSIC_GUESS. in function 'stereoCalibrate'</code></p> <p dir="auto">What is the problem? According to documentation I should be able to use the extrinsic guess, right?<br> Also, why am I getting an assertion error relating to number of object points (I guess), if I have 5704 object points in the array?<br> <code class="notranslate">(count &gt;= 4) || (count == 3 &amp;&amp; useExtrinsicGuess) in function 'cvFindExtrinsicCameraParams2'</code></p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">I am passing the following arguments:<br> <code class="notranslate">objectPoints</code> -&gt; python array, 5704 elements, where each looks like this:<br> <code class="notranslate">array([[0.00375 , 0.09374999, 0. ]], dtype=float32)</code> (numpy array of shape (1, 3))</p> <p dir="auto">'imagePointsA' and 'imagePointsB' -&gt; python array, 5704 elements, each element looks like this:<br> <code class="notranslate">array([[64.84993 , 28.067667]], dtype=float32)</code> (numpy array of shape (1,2))</p> <p dir="auto"><code class="notranslate">intrA</code> and <code class="notranslate">intrB</code> -&gt; numpy array, shape (3, 3). Looks like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[615.22052002, 0. , 431.19281006], [ 0. , 615.42181396, 243.2046051 ], [ 0. , 0. , 1. ]]) "><pre class="notranslate"><code class="notranslate">array([[615.22052002, 0. , 431.19281006], [ 0. , 615.42181396, 243.2046051 ], [ 0. , 0. , 1. ]]) </code></pre></div> <p dir="auto"><code class="notranslate">distA</code> and <code class="notranslate">distB</code> -&gt; numpy array, shape(5,), looks like this:<br> <code class="notranslate"> array([0., 0., 0., 0., 0.], dtype=float32)</code></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>[ x] I checked the problem with documentation, FAQ, open issues,<br> answers.opencv.org, Stack Overflow, etc and have not found solution </li> <li>[x ] 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"> There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.4.2</li> <li>Operating System / Platform =&gt; Raspbian Stretch</li> <li>Python =&gt; 3.5.3</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">When adding the CALIB_USE_EXTRINSIC_GUESS flag, stereoCalibrate will fail the CV_IS_MAT tests. When calling the same method without that flag, and with same arguments it completes without issue. Also calling stereoCalibrateExtended works both with and without the USE_EXTRINISC_GUESS flag.</p> <p dir="auto">Not sure if this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="305658995" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/11085" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv/issues/11085/hovercard" href="https://github.com/opencv/opencv/issues/11085">#11085</a></p> <h5 dir="auto">Steps to reproduce</h5> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="flags = cv2.CALIB_FIX_INTRINSIC ret, mtx1, dist1, mtx2, dist2, R, T, E, F = cv2.stereoCalibrate(objpoints, imgpointsA, imgpointsB, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, grayA.shape[::-1], R=R, T=T, flags=flags, **kws) flags += cv2.CALIB_USE_EXTRINSIC_GUESS ret, mtx1, dist1, mtx2, dist2, R, T, E, F = cv2.stereoCalibrate(objpoints, imgpointsA, imgpointsB, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, grayA.shape[::-1], R=R, T=T, flags=flags, **kws)"><pre class="notranslate"><span class="pl-s1">flags</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">CALIB_FIX_INTRINSIC</span> <span class="pl-s1">ret</span>, <span class="pl-s1">mtx1</span>, <span class="pl-s1">dist1</span>, <span class="pl-s1">mtx2</span>, <span class="pl-s1">dist2</span>, <span class="pl-v">R</span>, <span class="pl-v">T</span>, <span class="pl-v">E</span>, <span class="pl-v">F</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">stereoCalibrate</span>(<span class="pl-s1">objpoints</span>, <span class="pl-s1">imgpointsA</span>, <span class="pl-s1">imgpointsB</span>, <span class="pl-s1">cameraMatrix1</span>, <span class="pl-s1">distCoeffs1</span>, <span class="pl-s1">cameraMatrix2</span>, <span class="pl-s1">distCoeffs2</span>, <span class="pl-s1">grayA</span>.<span class="pl-s1">shape</span>[::<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-v">R</span><span class="pl-c1">=</span><span class="pl-v">R</span>, <span class="pl-v">T</span><span class="pl-c1">=</span><span class="pl-v">T</span>, <span class="pl-s1">flags</span><span class="pl-c1">=</span><span class="pl-s1">flags</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>) <span class="pl-s1">flags</span> <span class="pl-c1">+=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">CALIB_USE_EXTRINSIC_GUESS</span> <span class="pl-s1">ret</span>, <span class="pl-s1">mtx1</span>, <span class="pl-s1">dist1</span>, <span class="pl-s1">mtx2</span>, <span class="pl-s1">dist2</span>, <span class="pl-v">R</span>, <span class="pl-v">T</span>, <span class="pl-v">E</span>, <span class="pl-v">F</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">stereoCalibrate</span>(<span class="pl-s1">objpoints</span>, <span class="pl-s1">imgpointsA</span>, <span class="pl-s1">imgpointsB</span>, <span class="pl-s1">cameraMatrix1</span>, <span class="pl-s1">distCoeffs1</span>, <span class="pl-s1">cameraMatrix2</span>, <span class="pl-s1">distCoeffs2</span>, <span class="pl-s1">grayA</span>.<span class="pl-s1">shape</span>[::<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-v">R</span><span class="pl-c1">=</span><span class="pl-v">R</span>, <span class="pl-v">T</span><span class="pl-c1">=</span><span class="pl-v">T</span>, <span class="pl-s1">flags</span><span class="pl-c1">=</span><span class="pl-s1">flags</span>, <span class="pl-c1">**</span><span class="pl-s1">kws</span>)</pre></div> <p dir="auto">Error output is:</p> <blockquote> <p dir="auto">cv2.error: OpenCV(3.4.2) /home/pi/opencv-3.4.2/modules/calib3d/src/calibration.cpp:1781: error: (-215:Assertion failed) (((_imagePoints1) != __null &amp;&amp; (((const CvMat*)(_imagePoints1))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(_imagePoints1))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(_imagePoints1))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(_imagePoints1))-&gt;data.ptr != __null) &amp;&amp; (((_imagePoints2) != __null &amp;&amp; (((const CvMat*)(_imagePoints2))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(_imagePoints2))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(_imagePoints2))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(_imagePoints2))-&gt;data.ptr != __null) &amp;&amp; (((_objectPoints) != __null &amp;&amp; (((const CvMat*)(_objectPoints))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(_objectPoints))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(_objectPoints))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(_objectPoints))-&gt;data.ptr != __null) &amp;&amp; (((_npoints) != __null &amp;&amp; (((const CvMat*)(_npoints))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(_npoints))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(_npoints))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(_npoints))-&gt;data.ptr != __null) &amp;&amp; (((matR) != __null &amp;&amp; (((const CvMat*)(matR))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(matR))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(matR))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(matR))-&gt;data.ptr != __null) &amp;&amp; (((matT) !=__null &amp;&amp; (((const CvMat*)(matT))-&gt;type &amp; 0xFFFF0000) == 0x42420000 &amp;&amp; ((const CvMat*)(matT))-&gt;cols &gt; 0 &amp;&amp; ((const CvMat*)(matT))-&gt;rows &gt; 0) &amp;&amp; ((const CvMat*)(matT))-&gt;data.ptr != __null) in function 'cvStereoCalibrateImpl'</p> </blockquote> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# This one does not fail flags = cv2.CALIB_FIX_INTRINSIC flags += cv2.CALIB_USE_EXTRINSIC_GUESS cv2.stereoCalibrateExtended(objpoints, imgpointsA, imgpointsB, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, grayA.shape[::-1], R, T, flags=flags)"><pre class="notranslate"><span class="pl-c"># This one does not fail</span> <span class="pl-s1">flags</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">CALIB_FIX_INTRINSIC</span> <span class="pl-s1">flags</span> <span class="pl-c1">+=</span> <span class="pl-s1">cv2</span>.<span class="pl-v">CALIB_USE_EXTRINSIC_GUESS</span> <span class="pl-s1">cv2</span>.<span class="pl-en">stereoCalibrateExtended</span>(<span class="pl-s1">objpoints</span>, <span class="pl-s1">imgpointsA</span>, <span class="pl-s1">imgpointsB</span>, <span class="pl-s1">cameraMatrix1</span>, <span class="pl-s1">distCoeffs1</span>, <span class="pl-s1">cameraMatrix2</span>, <span class="pl-s1">distCoeffs2</span>, <span class="pl-s1">grayA</span>.<span class="pl-s1">shape</span>[::<span class="pl-c1">-</span><span class="pl-c1">1</span>], <span class="pl-v">R</span>, <span class="pl-v">T</span>, <span class="pl-s1">flags</span><span class="pl-c1">=</span><span class="pl-s1">flags</span>)</pre></div>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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.8</li> <li>Operating System version: deepin</li> <li>Java version: 1.8.0_261</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">org.apache.dubbo.rpc.cluster.router.tag.TagRouter#route In the list of provider URLs obtained, parameters dubbo.tag The value of the tag route is the same, which causes the tag routing not to work normally</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">问题描述</h3> <p dir="auto">使用注解开发dubbo的服务端和消费端。当服务端暴露多个协议的时候,dubbo客户端<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a>无法指定协议去消费。但是在dubbo的消费XML配置方式是支持的</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &lt;dubbo:reference id=&quot;userService&quot; interface=&quot;com.jiangzz.service.IUserService&quot; protocol=&quot;dubbo&quot;/&gt;"><pre class="notranslate"><code class="notranslate"> &lt;dubbo:reference id="userService" interface="com.jiangzz.service.IUserService" protocol="dubbo"/&gt; </code></pre></div> <p dir="auto">但是@Refernece目前没有注解支持改配置信息,希望官方有时间修正该问题!</p> <h3 dir="auto">环境</h3> <ul dir="auto"> <li>Dubbo version: 2.6.2</li> <li>Operating System version: win7</li> <li>Java version: 1.8.0_161</li> </ul> <h3 dir="auto">创建服务端,同时支持三种协议</h3> <p dir="auto">服务端:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Service(protocol = {&quot;dubbo&quot;,&quot;rmi&quot;,&quot;rest&quot;}) @Path(value = &quot;users&quot;) public class UserService implements IUserService { @GET @Path(value = &quot;queryUserById&quot;) @Produces(value = {&quot;application/json;charset=utf-8&quot;}) public User queryUser(@QueryParam(value = &quot;id&quot;) Integer id) { User user=new User(); user.setId(id+&quot;&quot;); user.setBirthDay(new Date()); user.setName(&quot;张三&quot;); return user; } }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Service</span>(<span class="pl-s1">protocol</span> = {<span class="pl-s">"dubbo"</span>,<span class="pl-s">"rmi"</span>,<span class="pl-s">"rest"</span>}) <span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s1">value</span> = <span class="pl-s">"users"</span>) <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">UserService</span> <span class="pl-k">implements</span> <span class="pl-smi">IUserService</span> { <span class="pl-c1">@</span><span class="pl-c1">GET</span> <span class="pl-c1">@</span><span class="pl-c1">Path</span>(<span class="pl-s1">value</span> = <span class="pl-s">"queryUserById"</span>) <span class="pl-c1">@</span><span class="pl-c1">Produces</span>(<span class="pl-s1">value</span> = {<span class="pl-s">"application/json;charset=utf-8"</span>}) <span class="pl-k">public</span> <span class="pl-smi">User</span> <span class="pl-en">queryUser</span>(<span class="pl-c1">@</span><span class="pl-c1">QueryParam</span>(<span class="pl-s1">value</span> = <span class="pl-s">"id"</span>) <span class="pl-smi">Integer</span> <span class="pl-s1">id</span>) { <span class="pl-smi">User</span> <span class="pl-s1">user</span>=<span class="pl-k">new</span> <span class="pl-smi">User</span>(); <span class="pl-s1">user</span>.<span class="pl-en">setId</span>(<span class="pl-s1">id</span>+<span class="pl-s">""</span>); <span class="pl-s1">user</span>.<span class="pl-en">setBirthDay</span>(<span class="pl-k">new</span> <span class="pl-smi">Date</span>()); <span class="pl-s1">user</span>.<span class="pl-en">setName</span>(<span class="pl-s">"张三"</span>); <span class="pl-k">return</span> <span class="pl-s1">user</span>; } }</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration @DubboComponentScan(basePackages = {&quot;com.jiangzz.service.impl&quot;}) public class DubboConfig { @Bean public ApplicationConfig applicationConfig() { ApplicationConfig applicationConfig = new ApplicationConfig(); applicationConfig.setName(&quot;provider-test&quot;); return applicationConfig; } @Bean(&quot;dubbo&quot;) public ProtocolConfig protocolConfig0(){ ProtocolConfig protocolConfig=new ProtocolConfig(&quot;dubbo&quot;); protocolConfig.setPort(20880); protocolConfig.setServer(&quot;netty4&quot;); return protocolConfig; } @Bean(&quot;rmi&quot;) public ProtocolConfig protocolConfig1(){ ProtocolConfig protocolConfig=new ProtocolConfig(&quot;rmi&quot;); protocolConfig.setPort(20881); protocolConfig.setServer(&quot;netty4&quot;); return protocolConfig; } @Bean(&quot;rest&quot;) public ProtocolConfig protocolConfig2(){ ProtocolConfig protocolConfig=new ProtocolConfig(&quot;rest&quot;); protocolConfig.setPort(8080); protocolConfig.setServer(&quot;netty4&quot;); protocolConfig.setContextpath(&quot;/services&quot;); protocolConfig.setServer(&quot;netty&quot;); return protocolConfig; } @Bean public RegistryConfig registryConfig() { RegistryConfig registryConfig = new RegistryConfig(); registryConfig.setAddress(&quot;zookeeper://192.168.65.135:2181&quot;); registryConfig.setClient(&quot;curator&quot;); return registryConfig; } } "><pre class="notranslate"><code class="notranslate">@Configuration @DubboComponentScan(basePackages = {"com.jiangzz.service.impl"}) public class DubboConfig { @Bean public ApplicationConfig applicationConfig() { ApplicationConfig applicationConfig = new ApplicationConfig(); applicationConfig.setName("provider-test"); return applicationConfig; } @Bean("dubbo") public ProtocolConfig protocolConfig0(){ ProtocolConfig protocolConfig=new ProtocolConfig("dubbo"); protocolConfig.setPort(20880); protocolConfig.setServer("netty4"); return protocolConfig; } @Bean("rmi") public ProtocolConfig protocolConfig1(){ ProtocolConfig protocolConfig=new ProtocolConfig("rmi"); protocolConfig.setPort(20881); protocolConfig.setServer("netty4"); return protocolConfig; } @Bean("rest") public ProtocolConfig protocolConfig2(){ ProtocolConfig protocolConfig=new ProtocolConfig("rest"); protocolConfig.setPort(8080); protocolConfig.setServer("netty4"); protocolConfig.setContextpath("/services"); protocolConfig.setServer("netty"); return protocolConfig; } @Bean public RegistryConfig registryConfig() { RegistryConfig registryConfig = new RegistryConfig(); registryConfig.setAddress("zookeeper://192.168.65.135:2181"); registryConfig.setClient("curator"); return registryConfig; } } </code></pre></div> <p dir="auto"><strong>客户端:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@Configuration @DubboComponentScan(basePackages = &quot;com.jiangzz.service&quot;) public class DubboConfig { @Reference private IUserService userService; @Bean public IUserService userService(){ return userService; } @Bean public ApplicationConfig applicationConfig() { ApplicationConfig applicationConfig = new ApplicationConfig(); applicationConfig.setName(&quot;consumer-test&quot;); return applicationConfig; } @Bean public ConsumerConfig consumerConfig() { ConsumerConfig consumerConfig = new ConsumerConfig(); consumerConfig.setTimeout(3000); consumerConfig.setClient(&quot;netty4&quot;); return consumerConfig; } @Bean public RegistryConfig registryConfig() { RegistryConfig registryConfig = new RegistryConfig(); registryConfig.setAddress(&quot;zookeeper://192.168.65.135:2181&quot;); registryConfig.setClient(&quot;curator&quot;); return registryConfig; } }"><pre class="notranslate"><code class="notranslate">@Configuration @DubboComponentScan(basePackages = "com.jiangzz.service") public class DubboConfig { @Reference private IUserService userService; @Bean public IUserService userService(){ return userService; } @Bean public ApplicationConfig applicationConfig() { ApplicationConfig applicationConfig = new ApplicationConfig(); applicationConfig.setName("consumer-test"); return applicationConfig; } @Bean public ConsumerConfig consumerConfig() { ConsumerConfig consumerConfig = new ConsumerConfig(); consumerConfig.setTimeout(3000); consumerConfig.setClient("netty4"); return consumerConfig; } @Bean public RegistryConfig registryConfig() { RegistryConfig registryConfig = new RegistryConfig(); registryConfig.setAddress("zookeeper://192.168.65.135:2181"); registryConfig.setClient("curator"); return registryConfig; } } </code></pre></div> <p dir="auto">调用:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" AnnotationConfigApplicationContext acc=new AnnotationConfigApplicationContext(DubboConfig.class); IUserService bean = acc.getBean(IUserService.class); for(int i=0;i&lt;1000;i++){ User user = bean.queryUser(1); System.out.println(user); }"><pre class="notranslate"><code class="notranslate"> AnnotationConfigApplicationContext acc=new AnnotationConfigApplicationContext(DubboConfig.class); IUserService bean = acc.getBean(IUserService.class); for(int i=0;i&lt;1000;i++){ User user = bean.queryUser(1); System.out.println(user); } </code></pre></div> <p dir="auto">###异常信息</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Exception in thread &quot;main&quot; java.lang.RuntimeException: RESTEASY004530: Could not find a method for: public abstract com.jiangzz.entities.User com.jiangzz.service.IUserService.queryUser(java.lang.Integer) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:74) at com.sun.proxy.$Proxy31.queryUser(Unknown Source) at com.alibaba.dubbo.common.bytecode.Wrapper0.invokeMethod(Wrapper0.java) at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76) at com.alibaba.dubbo.rpc.protocol.AbstractProxyProtocol$2.doInvoke(AbstractProxyProtocol.java:97) at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148) at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77) at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78) at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238) at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75) at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52) at com.alibaba.dubbo.common.bytecode.proxy0.queryUser(proxy0.java) at com.jiangzz.StartClientDemo.main(StartClientDemo.java:18) "><pre class="notranslate"><code class="notranslate">Exception in thread "main" java.lang.RuntimeException: RESTEASY004530: Could not find a method for: public abstract com.jiangzz.entities.User com.jiangzz.service.IUserService.queryUser(java.lang.Integer) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:74) at com.sun.proxy.$Proxy31.queryUser(Unknown Source) at com.alibaba.dubbo.common.bytecode.Wrapper0.invokeMethod(Wrapper0.java) at com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:76) at com.alibaba.dubbo.rpc.protocol.AbstractProxyProtocol$2.doInvoke(AbstractProxyProtocol.java:97) at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:148) at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48) at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:72) at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:77) at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:78) at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:238) at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:75) at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52) at com.alibaba.dubbo.common.bytecode.proxy0.queryUser(proxy0.java) at com.jiangzz.StartClientDemo.main(StartClientDemo.java:18) </code></pre></div>
0
<p dir="auto">Pretty much the title.</p> <p dir="auto">Right now we're only using the default blur amount.</p>
<p dir="auto">I'm reading through <a href="https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md">the docs</a> and I'm not sure if I just don't find it, or if there is no option to override specific profile settings.</p> <p dir="auto">I tried adding <code class="notranslate">"globals"</code> with smaller font size than the hard-coded default of <code class="notranslate">18</code> but to no avail I don't want to add it to all profiles, as it would be easier to just do it once. (In Notepad++ this is quite easy.)</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// To view the default settings, hold &quot;alt&quot; while clicking on the &quot;Settings&quot; button. // For documentation on these settings, see: https://aka.ms/terminal-documentation { &quot;$schema&quot;: &quot;https://aka.ms/terminal-profiles-schema&quot;, &quot;defaultProfile&quot;: &quot;{574e775e-4f2a-5b96-ac1e-a2962a402336}&quot;, &quot;globals&quot;: { &quot;fontSize&quot;: 8 }, // TRYING TO OVERRIDE THE HARD-CODED FONT SIZE OF 18 (WAY TOO BIG) &quot;profiles&quot;: [ { // Make changes here to the powershell.exe profile &quot;guid&quot;: &quot;{61c54bbd-c2c6-5271-96e7-009a87ff44bf}&quot;, &quot;name&quot;: &quot;Windows PowerShell&quot;, &quot;commandline&quot;: &quot;powershell.exe&quot;, &quot;hidden&quot;: false }, { // Make changes here to the cmd.exe profile &quot;guid&quot;: &quot;{0caa0dad-35be-5f56-a8ff-afceeeaa6101}&quot;, &quot;name&quot;: &quot;cmd&quot;, &quot;commandline&quot;: &quot;cmd.exe&quot;, &quot;hidden&quot;: false }, { &quot;guid&quot;: &quot;{574e775e-4f2a-5b96-ac1e-a2962a402336}&quot;, &quot;hidden&quot;: false, &quot;name&quot;: &quot;PowerShell Core&quot;, &quot;source&quot;: &quot;Windows.Terminal.PowershellCore&quot; }, { &quot;guid&quot;: &quot;{2c4de342-38b7-51cf-b940-2309a097f518}&quot;, &quot;hidden&quot;: false, &quot;name&quot;: &quot;Ubuntu&quot;, &quot;source&quot;: &quot;Windows.Terminal.Wsl&quot; }, { &quot;guid&quot;: &quot;{b453ae62-4e3d-5e58-b989-0a998ec441b8}&quot;, &quot;hidden&quot;: false, &quot;name&quot;: &quot;Azure Cloud Shell&quot;, &quot;source&quot;: &quot;Windows.Terminal.Azure&quot; } ], // Add custom color schemes to this array &quot;schemes&quot;: [], // Add any keybinding overrides to this array. // To unbind a default keybinding, set the command to &quot;unbound&quot; &quot;keybindings&quot;: [] }"><pre class="notranslate"><span class="pl-ii">// To view the default settings, hold "alt" while clicking on the "Settings" button.</span> <span class="pl-ii">// For documentation on these settings, see: https://aka.ms/terminal-documentation</span> { <span class="pl-ent">"$schema"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://aka.ms/terminal-profiles-schema<span class="pl-pds">"</span></span>, <span class="pl-ent">"defaultProfile"</span>: <span class="pl-s"><span class="pl-pds">"</span>{574e775e-4f2a-5b96-ac1e-a2962a402336}<span class="pl-pds">"</span></span>, <span class="pl-ent">"globals"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">8</span> }, <span class="pl-ii">// TRYING TO OVERRIDE THE HARD-CODED FONT SIZE OF 18 (WAY TOO BIG)</span> <span class="pl-ent">"profiles"</span>: [ { <span class="pl-ii">// Make changes here to the powershell.exe profile</span> <span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{61c54bbd-c2c6-5271-96e7-009a87ff44bf}<span class="pl-pds">"</span></span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Windows PowerShell<span class="pl-pds">"</span></span>, <span class="pl-ent">"commandline"</span>: <span class="pl-s"><span class="pl-pds">"</span>powershell.exe<span class="pl-pds">"</span></span>, <span class="pl-ent">"hidden"</span>: <span class="pl-c1">false</span> }, { <span class="pl-ii">// Make changes here to the cmd.exe profile</span> <span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{0caa0dad-35be-5f56-a8ff-afceeeaa6101}<span class="pl-pds">"</span></span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>cmd<span class="pl-pds">"</span></span>, <span class="pl-ent">"commandline"</span>: <span class="pl-s"><span class="pl-pds">"</span>cmd.exe<span class="pl-pds">"</span></span>, <span class="pl-ent">"hidden"</span>: <span class="pl-c1">false</span> }, { <span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{574e775e-4f2a-5b96-ac1e-a2962a402336}<span class="pl-pds">"</span></span>, <span class="pl-ent">"hidden"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>PowerShell Core<span class="pl-pds">"</span></span>, <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>Windows.Terminal.PowershellCore<span class="pl-pds">"</span></span> }, { <span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{2c4de342-38b7-51cf-b940-2309a097f518}<span class="pl-pds">"</span></span>, <span class="pl-ent">"hidden"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Ubuntu<span class="pl-pds">"</span></span>, <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>Windows.Terminal.Wsl<span class="pl-pds">"</span></span> }, { <span class="pl-ent">"guid"</span>: <span class="pl-s"><span class="pl-pds">"</span>{b453ae62-4e3d-5e58-b989-0a998ec441b8}<span class="pl-pds">"</span></span>, <span class="pl-ent">"hidden"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Azure Cloud Shell<span class="pl-pds">"</span></span>, <span class="pl-ent">"source"</span>: <span class="pl-s"><span class="pl-pds">"</span>Windows.Terminal.Azure<span class="pl-pds">"</span></span> } ], <span class="pl-ii">// Add custom color schemes to this array</span> <span class="pl-ent">"schemes"</span>: [], <span class="pl-ii">// Add any keybinding overrides to this array.</span> <span class="pl-ii">// To unbind a default keybinding, set the command to "unbound"</span> <span class="pl-ent">"keybindings"</span>: [] }</pre></div>
0
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/18908/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/18908/</a></p> <p dir="auto">Failed: [k8s.io] Port forwarding [k8s.io] With a server that expects no client request should support a client that connects, sends no data, and disconnects [Conformance] {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/portforward.go:335 Jun 18 16:48:52.632: Pod did not stop running: timed out waiting for the condition"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/portforward.go:335 Jun 18 16:48:52.632: Pod did not stop running: timed out waiting for the condition </code></pre></div>
<p dir="auto">We should make them all FROM either scratch, busybox, or debian:jessie (or ubuntu:14.04 but it is bigger). I am sad that there is not an ultra-small "just enough debian to run apt-get install" base.</p>
0
<p dir="auto"><strong>Describe your question</strong><br> When i use <code class="notranslate">session.merge</code>, i got a <code class="notranslate">(pymssql.IntegrityError) (2627, b"Violation of PRIMARY KEY constraint 'PK__payment___357D4CF8B9E5C8E5'. Cannot insert duplicate key in object 'dbo.test'</code>. The same in mysql <code class="notranslate">sqlalchemy.exc.IntegrityError: (mysql.connector.errors.IntegrityError) 1062 (23000): Duplicate entry 'payCode_-298' for key 'PRIMARY'</code><br> <strong>Example (if applicable)</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base, declared_attr from sqlalchemy.orm import sessionmaker, scoped_session from config import Config engine = create_engine( Config.SQLALCHEMY_DATABASE_URI, pool_size=Config.SQLALCHEMY_POOL_SIZE, max_overflow=Config.SQLALCHEMY_MAX_OVERFLOW, pool_recycle=Config.SQLALCHEMY_POOL_RECYCLE, # echo=True ) db_session = scoped_session( sessionmaker(autocommit=False, autoflush=False, bind=engine) ) class Base: @declared_attr def __tablename__(cls): return ( &quot;&quot;.join(&quot;_%s&quot; % c if c.isupper() else c for c in cls.__name__) .strip(&quot;_&quot;) .lower() ) Base = declarative_base(cls=Base) class PaymentMethod(Base): &quot;&quot;&quot;test&quot;&quot;&quot; code = Column(String, primary_key=True, autoincrement=False, comment=&quot;primary_key&quot;) name = Column(String, comment=&quot;name&quot;) group_id = Column(String, comment=&quot;group_id&quot;) shop_id = Column(String, comment=&quot;shop_id&quot;) insert_time = Column(DateTime, comment=&quot;insert_time&quot;, default=datetime.now) data = [{'name': 'payCode_-298', 'value': 'pospalopenpay_yiling.clientscanpos'}, {'name': 'payCode_-299', 'value': 'pospalopenpay_yiling.clientscanpos'}, {&quot;name&quot;:'payCode_-298', 'value': 'pospalopenpay_jlpay.clientscanpos'}, {'name': 'payCode_-299', 'value': 'pospalopenpay_jlpay.clients'}] for i in data: db_session.merge(PaymentMethod(code=i[&quot;name&quot;], name=i['value'], shop_id='test_shop_id', group_id='test_group_id')) db_session.commit()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">create_engine</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">ext</span>.<span class="pl-s1">declarative</span> <span class="pl-k">import</span> <span class="pl-s1">declarative_base</span>, <span class="pl-s1">declared_attr</span> <span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span>.<span class="pl-s1">orm</span> <span class="pl-k">import</span> <span class="pl-s1">sessionmaker</span>, <span class="pl-s1">scoped_session</span> <span class="pl-k">from</span> <span class="pl-s1">config</span> <span class="pl-k">import</span> <span class="pl-v">Config</span> <span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>( <span class="pl-v">Config</span>.<span class="pl-v">SQLALCHEMY_DATABASE_URI</span>, <span class="pl-s1">pool_size</span><span class="pl-c1">=</span><span class="pl-v">Config</span>.<span class="pl-v">SQLALCHEMY_POOL_SIZE</span>, <span class="pl-s1">max_overflow</span><span class="pl-c1">=</span><span class="pl-v">Config</span>.<span class="pl-v">SQLALCHEMY_MAX_OVERFLOW</span>, <span class="pl-s1">pool_recycle</span><span class="pl-c1">=</span><span class="pl-v">Config</span>.<span class="pl-v">SQLALCHEMY_POOL_RECYCLE</span>, <span class="pl-c"># echo=True</span> ) <span class="pl-s1">db_session</span> <span class="pl-c1">=</span> <span class="pl-en">scoped_session</span>( <span class="pl-en">sessionmaker</span>(<span class="pl-s1">autocommit</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">autoflush</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-s1">engine</span>) ) <span class="pl-k">class</span> <span class="pl-v">Base</span>: <span class="pl-en">@<span class="pl-s1">declared_attr</span></span> <span class="pl-k">def</span> <span class="pl-en">__tablename__</span>(<span class="pl-s1">cls</span>): <span class="pl-k">return</span> ( <span class="pl-s">""</span>.<span class="pl-en">join</span>(<span class="pl-s">"_%s"</span> <span class="pl-c1">%</span> <span class="pl-s1">c</span> <span class="pl-k">if</span> <span class="pl-s1">c</span>.<span class="pl-en">isupper</span>() <span class="pl-k">else</span> <span class="pl-s1">c</span> <span class="pl-k">for</span> <span class="pl-s1">c</span> <span class="pl-c1">in</span> <span class="pl-s1">cls</span>.<span class="pl-s1">__name__</span>) .<span class="pl-en">strip</span>(<span class="pl-s">"_"</span>) .<span class="pl-en">lower</span>() ) <span class="pl-v">Base</span> <span class="pl-c1">=</span> <span class="pl-en">declarative_base</span>(<span class="pl-s1">cls</span><span class="pl-c1">=</span><span class="pl-v">Base</span>) <span class="pl-k">class</span> <span class="pl-v">PaymentMethod</span>(<span class="pl-v">Base</span>): <span class="pl-s">"""test"""</span> <span class="pl-s1">code</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">String</span>, <span class="pl-s1">primary_key</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">autoincrement</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">comment</span><span class="pl-c1">=</span><span class="pl-s">"primary_key"</span>) <span class="pl-s1">name</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">String</span>, <span class="pl-s1">comment</span><span class="pl-c1">=</span><span class="pl-s">"name"</span>) <span class="pl-s1">group_id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">String</span>, <span class="pl-s1">comment</span><span class="pl-c1">=</span><span class="pl-s">"group_id"</span>) <span class="pl-s1">shop_id</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">String</span>, <span class="pl-s1">comment</span><span class="pl-c1">=</span><span class="pl-s">"shop_id"</span>) <span class="pl-s1">insert_time</span> <span class="pl-c1">=</span> <span class="pl-v">Column</span>(<span class="pl-v">DateTime</span>, <span class="pl-s1">comment</span><span class="pl-c1">=</span><span class="pl-s">"insert_time"</span>, <span class="pl-s1">default</span><span class="pl-c1">=</span><span class="pl-s1">datetime</span>.<span class="pl-s1">now</span>) <span class="pl-s1">data</span> <span class="pl-c1">=</span> [{<span class="pl-s">'name'</span>: <span class="pl-s">'payCode_-298'</span>, <span class="pl-s">'value'</span>: <span class="pl-s">'pospalopenpay_yiling.clientscanpos'</span>}, {<span class="pl-s">'name'</span>: <span class="pl-s">'payCode_-299'</span>, <span class="pl-s">'value'</span>: <span class="pl-s">'pospalopenpay_yiling.clientscanpos'</span>}, {<span class="pl-s">"name"</span>:<span class="pl-s">'payCode_-298'</span>, <span class="pl-s">'value'</span>: <span class="pl-s">'pospalopenpay_jlpay.clientscanpos'</span>}, {<span class="pl-s">'name'</span>: <span class="pl-s">'payCode_-299'</span>, <span class="pl-s">'value'</span>: <span class="pl-s">'pospalopenpay_jlpay.clients'</span>}] <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">db_session</span>.<span class="pl-en">merge</span>(<span class="pl-v">PaymentMethod</span>(<span class="pl-s1">code</span><span class="pl-c1">=</span><span class="pl-s1">i</span>[<span class="pl-s">"name"</span>], <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s1">i</span>[<span class="pl-s">'value'</span>], <span class="pl-s1">shop_id</span><span class="pl-c1">=</span><span class="pl-s">'test_shop_id'</span>, <span class="pl-s1">group_id</span><span class="pl-c1">=</span><span class="pl-s">'test_group_id'</span>)) <span class="pl-s1">db_session</span>.<span class="pl-en">commit</span>()</pre></div> <p dir="auto"><strong>Additional context</strong><br> Add any other context or screenshots about the feature request here.<br> The tables in the database are clean</p> <p dir="auto"><strong>Have a nice day!</strong></p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">(original reporter: ged) Is this intended? It used to work in 0.5.xxx...</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/1765/test_fk.py">test_fk.py</a> | <a href="../wiki/imported_issue_attachments/1765/1765.patch">1765.patch</a></p>
0
<p dir="auto">Hello,</p> <p dir="auto">Since the upgrade to BS3 I have the following problem:</p> <p dir="auto">I have a vertical menu with 5 links one below the other. Each link has a tooltip with position - top.</p> <p dir="auto">After the upgrade to BS3, rolling over the links makes the tooltips to appear randomly in firefox (and only there, chrome works fine). Error in console is : 'TypeError: this.remove is not a function' and is given by JQuery (v 1.9.1).</p> <p dir="auto">Moreover, the links dont work anymore (since I guess the tooltip is above them somehow).</p> <p dir="auto">Eventually, I had to move the tooltips with placement - right and the links worked again (but the console errors remain).</p> <p dir="auto">Can you please check this up?</p>
<p dir="auto">When you hover out a tooltip in FireFox on Windows you will get a error message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: this.remove is not a function ...){var t=e.nodeName.toLowerCase();return&quot;input&quot;===t&amp;&amp;&quot;button&quot;===e.type||&quot;button&quot;=..."><pre class="notranslate"><code class="notranslate">TypeError: this.remove is not a function ...){var t=e.nodeName.toLowerCase();return"input"===t&amp;&amp;"button"===e.type||"button"=... </code></pre></div> <p dir="auto">The error was thrown by <code class="notranslate">jquery.js (Line 4)</code>.</p> <p dir="auto">You can test it here:<br> <a href="http://getbootstrap.com/javascript/" rel="nofollow">http://getbootstrap.com/javascript/</a></p> <p dir="auto">I'm not sure, but it can be the same issue like this <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="17333079" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/8765" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/8765/hovercard" href="https://github.com/twbs/bootstrap/issues/8765">#8765</a></p>
1
<p dir="auto">When viewing the 10 minute step example as seen <a href="http://www.material-ui.com/#/components/time-picker" rel="nofollow">here</a>, i expect to be able to click on any numbers available. When 10 minute steps are set, I can still view 5 minute increments on the clock.</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">Your Environment</h2> <p dir="auto">Demo website: <a href="http://www.material-ui.com/#/components/time-picker" rel="nofollow">http://www.material-ui.com/#/components/time-picker</a></p>
<h3 dir="auto">Description</h3> <p dir="auto"><code class="notranslate">Switch</code>, <code class="notranslate">Checkbox</code>, and <code class="notranslate">Radio</code> use <code class="notranslate">SwitchBase</code> to render.</p> <p dir="auto"><code class="notranslate">Radio</code> renders item labels, but neither <code class="notranslate">Switch</code> nor <code class="notranslate">Checkbox</code> does.</p> <h3 dir="auto">Images &amp; references</h3> <p dir="auto"><a href="https://material.google.com/components/selection-controls.html#" rel="nofollow">https://material.google.com/components/selection-controls.html#</a></p> <h3 dir="auto">Proposal</h3> <p dir="auto">I'll use <code class="notranslate">Radio</code> as the guide and submit a PR for <code class="notranslate">Switch</code> and <code class="notranslate">Checkbox</code> that will render an optional item label based on the <code class="notranslate">label</code> prop.</p> <h3 dir="auto">Versions</h3> <ul dir="auto"> <li>Material-UI: <code class="notranslate">next</code></li> </ul> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oliviertassinari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oliviertassinari">@oliviertassinari</a> does this sound acceptable? I'd like to get this done tomorrow, so guidance is welcome.</p>
0
<p dir="auto">Been having an issue with this snippet of code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var reader = new FileReader(); var debug = {hello: &quot;world&quot;}; var blob = new Blob([JSON.stringify(debug, null, 2)], {type : 'application/json'}); reader.onload = function(evt){ console.log(evt.target.result); } reader.readAsText(blob);"><pre class="notranslate"><code class="notranslate">var reader = new FileReader(); var debug = {hello: "world"}; var blob = new Blob([JSON.stringify(debug, null, 2)], {type : 'application/json'}); reader.onload = function(evt){ console.log(evt.target.result); } reader.readAsText(blob); </code></pre></div> <p dir="auto">So when running this as plain JS, I end up logging <code class="notranslate">{hello:"world"}</code>. But this doesn't typecheck right now.</p> <p dir="auto">So currently the interface structures involved in <code class="notranslate">lib.d.ts</code> are something like (trimmed for space):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="interface Event { target:EventTarget; } interface FileReader extends EventTarget{ onload:(ev:Event)=&gt;any; result: any; }"><pre class="notranslate"><code class="notranslate">interface Event { target:EventTarget; } interface FileReader extends EventTarget{ onload:(ev:Event)=&gt;any; result: any; } </code></pre></div> <p dir="auto">The interface signature makes it clear that <code class="notranslate">FileReader</code> is meant to be the target, but because of how the interfaces are structured, this doesn't bubble down properly.</p> <p dir="auto">In a vacuum, the simple solution seems to be to make <code class="notranslate">Event</code> be generic on its target:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="interface Event&lt;T extends EventTarget&gt;{ target:T } interface FileReader extends EventTarget{ onload:(ev:Event&lt;FileReader&gt;)=&gt;any; result: any; }"><pre class="notranslate"><code class="notranslate">interface Event&lt;T extends EventTarget&gt;{ target:T } interface FileReader extends EventTarget{ onload:(ev:Event&lt;FileReader&gt;)=&gt;any; result: any; } </code></pre></div> <p dir="auto">But two things cause me to hesitate at this patch:</p> <ul dir="auto"> <li>The <code class="notranslate">Event</code> interface is defined in the W3C DOM <a href="https://dom.spec.whatwg.org/#interface-event" rel="nofollow">spec</a> .I'm not quite sure what the policy is upstream with Edge on this, but introducing generics into the typing might be too much deviation from this.</li> <li><code class="notranslate">Event</code> touches a lot of stuff, so there's a lot of collateral damage. I think it would require rewriting almost everything related to Events (kind of defeating the purpose of generating <code class="notranslate">lib.d.ts</code> from Edge).</li> </ul> <p dir="auto">As a side note, I've noticed that there's a lot of <code class="notranslate">onX(ev:Event&lt;Self&gt;)=&gt;any</code>-type event listeners a bit all over the place (where <code class="notranslate">Self</code> is the containing interface). I run into this quite a bit in my own code, I wonder if there's value in having a special type variable to refer to the containing class.</p> <p dir="auto">Anyways, I wanted to get some feedback on this before moving forward.</p>
<p dir="auto">When using the Event interface from lib.d.ts, and attaching a listener, the callback will get an object of type Event. However, the Event's currentTarget property is of type EventTarget (whereas it's should be of type Element/HTMLElement).</p>
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> When a child throws an error inside an error boundary and hits it's <code class="notranslate">componentDidCatch</code> the error is still logged to the console regardless of any handling that you then do inside of your <code class="notranslate">componentDidCatch</code>.</p> <p dir="auto"><strong>What is the expected behavior?</strong><br> Wouldn't it make more sense to give some more fine grated control over how errors get logged once they do bubble up all the way to an error boundary? My motivation for this is:</p> <ul dir="auto"> <li> <p dir="auto">When using an error logging service (rollbar, sentry, etc.) you normally don't really need/want your error to bubble through to the console in production.</p> </li> <li> <p dir="auto">Testing an error boundary component feels a bit funky right now because for test runners like jest you have to mock jsDom's virtual console to suppress error showing up in your test results.</p> </li> <li> <p dir="auto">The severity of an error caught by a specific error boundary might be just a warning, thus you would have to throw a console.warn along the already thrown error.</p> </li> <li> <p dir="auto">When you try/catch outside of react you would also handle the logging in your catch by rethrowing a specific exception.</p> </li> </ul> <p dir="auto">I wonder what your opinion is on this :)</p>
<hr> <p dir="auto"><strong>(This is a repost of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="262802629" data-permission-text="Title is private" data-url="https://github.com/jestjs/jest/issues/4597" data-hovercard-type="issue" data-hovercard-url="/jestjs/jest/issues/4597/hovercard" href="https://github.com/jestjs/jest/issues/4597">jestjs/jest#4597</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/erikras/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/erikras">@erikras</a>.)</strong></p> <hr> <p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Somewhere in between?</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">When I'm running tests on <a href="https://github.com/erikras/redux-form">my library</a>, there are some behaviors that I want to test <em>do</em> throw an error. These currently result in:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Consider adding an error boundary to your tree to customize error handling behavior. You can learn more about error boundaries at https://fb.me/react-error-boundaries."><pre class="notranslate"><code class="notranslate">Consider adding an error boundary to your tree to customize error handling behavior. You can learn more about error boundaries at https://fb.me/react-error-boundaries. </code></pre></div> <p dir="auto">...being output to the console. This error is great in an application, but not so great for a library test.</p> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">It would be great if I could do something like:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="expect(() =&gt; { TestUtils.renderIntoDocument(&lt;DoSomething naughty/&gt;) }) .toThrow(/Bad developer!/) .andCatch() // &lt;---- prevents React 16 error boundary warning"><pre class="notranslate"><span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-v">TestUtils</span><span class="pl-kos">.</span><span class="pl-en">renderIntoDocument</span><span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-ent">DoSomething</span> <span class="pl-c1">naughty</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">toThrow</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Bad developer!<span class="pl-c1">/</span></span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">andCatch</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c">// &lt;---- prevents React 16 error boundary warning</span></pre></div> <p dir="auto"><strong>Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[email protected] [email protected] [email protected]"><pre class="notranslate"><code class="notranslate">[email protected] [email protected] [email protected] </code></pre></div> <p dir="auto"><strong>See also</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="262782704" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/11083" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/11083/hovercard" href="https://github.com/facebook/react/issues/11083">#11083</a></li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="250734072" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/10474" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/10474/hovercard?comment_id=334164834&amp;comment_type=issue_comment" href="https://github.com/facebook/react/issues/10474#issuecomment-334164834">#10474 (comment)</a></li> </ul>
1
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0</li> <li>Operating System / Platform =&gt; Windows 64 Bit</li> <li>Compiler =&gt; Visual Studio 2015</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">current implementation refuses to find <em>any</em> QR code when presented with an image that contains more than one.</p> <p dir="auto">it would be nice if it could do that.</p> <h5 dir="auto">Steps to reproduce</h5> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2 as cv import numpy as np im = cv.imread(&quot;qrcode.png&quot;) det = cv.QRCodeDetector() rv, pts = det.detect(im) print(&quot;single:&quot;, rv) # True rv, pts = det.detect(np.hstack([im, im])) # duplicate side by side print(&quot;multiple:&quot;, rv) # False"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-k">as</span> <span class="pl-s1">cv</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">im</span> <span class="pl-c1">=</span> <span class="pl-s1">cv</span>.<span class="pl-en">imread</span>(<span class="pl-s">"qrcode.png"</span>) <span class="pl-s1">det</span> <span class="pl-c1">=</span> <span class="pl-s1">cv</span>.<span class="pl-v">QRCodeDetector</span>() <span class="pl-s1">rv</span>, <span class="pl-s1">pts</span> <span class="pl-c1">=</span> <span class="pl-s1">det</span>.<span class="pl-en">detect</span>(<span class="pl-s1">im</span>) <span class="pl-en">print</span>(<span class="pl-s">"single:"</span>, <span class="pl-s1">rv</span>) <span class="pl-c"># True</span> <span class="pl-s1">rv</span>, <span class="pl-s1">pts</span> <span class="pl-c1">=</span> <span class="pl-s1">det</span>.<span class="pl-en">detect</span>(<span class="pl-s1">np</span>.<span class="pl-en">hstack</span>([<span class="pl-s1">im</span>, <span class="pl-s1">im</span>])) <span class="pl-c"># duplicate side by side</span> <span class="pl-en">print</span>(<span class="pl-s">"multiple:"</span>, <span class="pl-s1">rv</span>) <span class="pl-c"># False</span></pre></div>
<h5 dir="auto">System information (version)</h5> <h5 dir="auto">Detailed description</h5> <p dir="auto">I am trying to load the .pb file using OpenCV dnn.readNetFromTensorflow.I am unable to load it. I am adding my custom(dsnt) layer on top of Keras sequential model. Here is the error I am getting in Ubuntu 18.04 with OpenCV 4.5.0 and 4.3.0</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="OpenCV(4.5.0) /home/srinu/Documents/cpp_inference/opencv_4-5-0/opencv/modules/dnn/src/tensorflow/tf_importer.cpp:1025: error: (-215:Assertion failed) values.type() == CV_32FC1 in function 'populateNet'"><pre class="notranslate"><code class="notranslate">OpenCV(4.5.0) /home/srinu/Documents/cpp_inference/opencv_4-5-0/opencv/modules/dnn/src/tensorflow/tf_importer.cpp:1025: error: (-215:Assertion failed) values.type() == CV_32FC1 in function 'populateNet' </code></pre></div> <h4 dir="auto">Generating .pb file using below script</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# loaded = tf.saved_model.load('/saved_model') # infer = loaded.signatures['serving_default'] # # f = tf.function(infer).get_concrete_function(input_1=tf.TensorSpec(shape=[None, 224, 224, 3], dtype=tf.float32)) # f2 = convert_variables_to_constants_v2(f) # graph_def = f2.graph.as_graph_def() # # # Export frozen graph # with tf.io.gfile.GFile('frozen_graph.pb', 'wb') as f: # f.write(graph_def.SerializeToString())"><pre class="notranslate"><code class="notranslate"># loaded = tf.saved_model.load('/saved_model') # infer = loaded.signatures['serving_default'] # # f = tf.function(infer).get_concrete_function(input_1=tf.TensorSpec(shape=[None, 224, 224, 3], dtype=tf.float32)) # f2 = convert_variables_to_constants_v2(f) # graph_def = f2.graph.as_graph_def() # # # Export frozen graph # with tf.io.gfile.GFile('frozen_graph.pb', 'wb') as f: # f.write(graph_def.SerializeToString()) </code></pre></div> <h4 dir="auto">Loading the resulted .pb file using below script</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import cv2 img_file = &quot;\lash.jpg&quot; img_cv2 = cv2.imread(img_file) inWidth = 224 inHeight = 224 blob = cv2.dnn.blobFromImage(img_cv2, scalefactor=1.0 / 255, size=(inWidth, inHeight), mean=(0, 0, 0), swapRB=False, crop=False) net = cv2.dnn.readNetFromTensorflow('/frozen_graph.pb') net.setInput(blob) out = net.forward()"><pre class="notranslate"><code class="notranslate">import cv2 img_file = "\lash.jpg" img_cv2 = cv2.imread(img_file) inWidth = 224 inHeight = 224 blob = cv2.dnn.blobFromImage(img_cv2, scalefactor=1.0 / 255, size=(inWidth, inHeight), mean=(0, 0, 0), swapRB=False, crop=False) net = cv2.dnn.readNetFromTensorflow('/frozen_graph.pb') net.setInput(blob) out = net.forward() </code></pre></div> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dkurt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dkurt">@dkurt</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alalek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alalek">@alalek</a> Can anyone help me</p>
0
<p dir="auto">In my experience most colors in 3D graphics are 4 channel colors (red, green, blue and alpha.) It is only a subset of situations in 3D graphics where a 3 channel color is sufficient and usually that deals with solid surface shading algorithms.</p> <p dir="auto">Many situation, such as windows with varying transparent, volume effects and particle effects often need RGBA-based colors. Also blending algorithms where one engages in post-processing one also often needs 4 channel-based colors.</p> <p dir="auto">Thus I propose creating a Color4 class that enables easy usage of 4-channel colors.</p> <p dir="auto">NOTE: I am unsure of the best way to share the conversion code that is fairly common (and bulky) between Color4 and the existing Color (which I suggest renaming Color3.)</p> <p dir="auto">Here is my proposed Color4 class:</p> <p dir="auto"><strong>Color4</strong></p> <p dir="auto">properties:</p> <ul dir="auto"> <li>r as Scalar</li> <li>g as Scalar</li> <li>b as Scalar</li> <li>a as Scalar // a is last so that it matches OpenGL/WebGL style: <a href="http://goo.gl/GKuD8" rel="nofollow">http://goo.gl/GKuD8</a></li> </ul> <p dir="auto">methods:</p> <ul dir="auto"> <li>set( value )</li> <li>setRGBA( r, g, b, a )</li> <li>setHSV( h, s, v ) // centralize in helper as HSV doesn't have alpha</li> <li>setStyle( style as string ) // centralize in helper</li> <li>setHex( hex as Integer )</li> <li>copy( color as Color4 )</li> <li><em>copyGammaToLinear( color as Color4 )</em> // I think we don't need this on either Color/Color3 or Color4, just use copy(..).convertGammaToLinear()</li> <li><em>copyLinearToGamma( color as Color4 )</em> // I think we don't need this on either Color/Color3 or Color4, just use copy(..).convertLinearToGamma()</li> <li>convertGammaToLinear()</li> <li>convertLinearToGamma()</li> <li>getHex() // centralize in helper ?</li> <li>getHexString() // centralize in helper</li> <li>getStyle() // centralize in helper</li> <li>getHSV() // centralize in helper as HSV doesn't include alpha</li> <li>lerpSelf( color as Color4, alpha as Scalar )</li> <li>clone()</li> <li>bool equals( color as Color4 ) // this needs to be added to Color/Color3</li> </ul>
<p dir="auto">In order to load an object it is required to first load the material <code class="notranslate">MTLoader</code> and then load the object <code class="notranslate">OBJLoader</code><br> Because the name of the .mtl is written in the .obj (eg <code class="notranslate">mtllib male02.mtl</code>), I'd expect the OBJLoader to automatically load the material</p> <p dir="auto"><a href="https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_obj_mtl.html#L75">https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_obj_mtl.html#L75</a></p> <p dir="auto">Currenlty I have to do :</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var materials = await new MTLLoader() .loadAsync(&quot;https://example.com/obj/male02.mtl&quot;) materials.preload() //load imgs var group = await new OBJLoader() .setMaterials(materials) .loadAsync(&quot;https://example.com/obj/male02.obj&quot;)"><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">materials</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-k">new</span> <span class="pl-v">MTLLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">loadAsync</span><span class="pl-kos">(</span><span class="pl-s">"https://example.com/obj/male02.mtl"</span><span class="pl-kos">)</span> <span class="pl-s1">materials</span><span class="pl-kos">.</span><span class="pl-en">preload</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c">//load imgs</span> <span class="pl-k">var</span> <span class="pl-s1">group</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-k">new</span> <span class="pl-v">OBJLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">setMaterials</span><span class="pl-kos">(</span><span class="pl-s1">materials</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">loadAsync</span><span class="pl-kos">(</span><span class="pl-s">"https://example.com/obj/male02.obj"</span><span class="pl-kos">)</span></pre></div> <p dir="auto">but I'd like to do</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var group = await new OBJLoader() .loadAsync(&quot;https://example.com/obj/male02.obj&quot;)"><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">group</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-k">new</span> <span class="pl-v">OBJLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">.</span><span class="pl-en">loadAsync</span><span class="pl-kos">(</span><span class="pl-s">"https://example.com/obj/male02.obj"</span><span class="pl-kos">)</span></pre></div> <p dir="auto">To avoid complexifing too much OBJLoader, we could think having OBJMTLLoader something like :</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class OBJMTLLoader extends OBJLoader { load(url, onLoad, onProgress, onError) { // make sure that path is set if(!this.path) { //if the url provided is full url not fn this.setPath(url.substr(0,url.lastIndexOf('/'))) //FIXME dirname url = url.substr(url.lastIndexOf('/')) //url is fn } const scope = this const loader = new FileLoader(this.manager) loader.setPath(this.path) loader.setRequestHeader(this.requestHeader) loader.setWithCredentials(this.withCredentials) loader.load(url, text =&gt; { this.parseMtlAndLoad(text, () =&gt;{ try { onLoad(scope.parse(text)) } catch (e) { if (onError) { onError(e) } else { console.error(e) } scope.manager.itemError(url) } }) }, onProgress, onError) } parseMtlAndLoad(text, onLoadMtl) { if(!this.materials) { //do not load a material if already provided let idxStart = text.indexOf(&quot;mtllib &quot;) let idxEnd = text.indexOf(&quot;.mtl&quot;) if (idxStart !== -1 &amp;&amp; idxEnd !== -1 &amp;&amp; idxEnd - idxStart &gt; 7) { var mtlFn = text.substring(idxStart + 7, idxEnd + 4); //to be improved, regex with end/start line; if has multiple mtl? new MTLLoader().loadAsync(this.path + &quot;/&quot; + mtlFn).then(materials =&gt; { materials.preload() this.setMaterials(materials) onLoadMtl() }) } } else { onLoadMtl() } } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">OBJMTLLoader</span> <span class="pl-k">extends</span> <span class="pl-v">OBJLoader</span> <span class="pl-kos">{</span> <span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">,</span> <span class="pl-s1">onLoad</span><span class="pl-kos">,</span> <span class="pl-s1">onProgress</span><span class="pl-kos">,</span> <span class="pl-s1">onError</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// make sure that path is set</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">path</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">//if the url provided is full url not fn</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setPath</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">substr</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">lastIndexOf</span><span class="pl-kos">(</span><span class="pl-s">'/'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-c">//FIXME dirname</span> <span class="pl-s1">url</span> <span class="pl-c1">=</span> <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">substr</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-en">lastIndexOf</span><span class="pl-kos">(</span><span class="pl-s">'/'</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-c">//url is fn</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">scope</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span> <span class="pl-k">const</span> <span class="pl-s1">loader</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">FileLoader</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">manager</span><span class="pl-kos">)</span> <span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-en">setPath</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">path</span><span class="pl-kos">)</span> <span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-en">setRequestHeader</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">requestHeader</span><span class="pl-kos">)</span> <span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-en">setWithCredentials</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">withCredentials</span><span class="pl-kos">)</span> <span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">,</span> <span class="pl-s1">text</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">parseMtlAndLoad</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span><span class="pl-kos">{</span> <span class="pl-k">try</span> <span class="pl-kos">{</span> <span class="pl-s1">onLoad</span><span class="pl-kos">(</span><span class="pl-s1">scope</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">onError</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">onError</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">error</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-s1">scope</span><span class="pl-kos">.</span><span class="pl-c1">manager</span><span class="pl-kos">.</span><span class="pl-en">itemError</span><span class="pl-kos">(</span><span class="pl-s1">url</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">onProgress</span><span class="pl-kos">,</span> <span class="pl-s1">onError</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-en">parseMtlAndLoad</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">,</span> <span class="pl-s1">onLoadMtl</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">if</span><span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">materials</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">//do not load a material if already provided</span> <span class="pl-k">let</span> <span class="pl-s1">idxStart</span> <span class="pl-c1">=</span> <span class="pl-s1">text</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s">"mtllib "</span><span class="pl-kos">)</span> <span class="pl-k">let</span> <span class="pl-s1">idxEnd</span> <span class="pl-c1">=</span> <span class="pl-s1">text</span><span class="pl-kos">.</span><span class="pl-en">indexOf</span><span class="pl-kos">(</span><span class="pl-s">".mtl"</span><span class="pl-kos">)</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">idxStart</span> <span class="pl-c1">!==</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">idxEnd</span> <span class="pl-c1">!==</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">idxEnd</span> <span class="pl-c1">-</span> <span class="pl-s1">idxStart</span> <span class="pl-c1">&gt;</span> <span class="pl-c1">7</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">mtlFn</span> <span class="pl-c1">=</span> <span class="pl-s1">text</span><span class="pl-kos">.</span><span class="pl-en">substring</span><span class="pl-kos">(</span><span class="pl-s1">idxStart</span> <span class="pl-c1">+</span> <span class="pl-c1">7</span><span class="pl-kos">,</span> <span class="pl-s1">idxEnd</span> <span class="pl-c1">+</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">//to be improved, regex with end/start line; if has multiple mtl?</span> <span class="pl-k">new</span> <span class="pl-v">MTLLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">loadAsync</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">path</span> <span class="pl-c1">+</span> <span class="pl-s">"/"</span> <span class="pl-c1">+</span> <span class="pl-s1">mtlFn</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">then</span><span class="pl-kos">(</span><span class="pl-s1">materials</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">materials</span><span class="pl-kos">.</span><span class="pl-en">preload</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setMaterials</span><span class="pl-kos">(</span><span class="pl-s1">materials</span><span class="pl-kos">)</span> <span class="pl-s1">onLoadMtl</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">else</span> <span class="pl-kos">{</span> <span class="pl-s1">onLoadMtl</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>
0
<p dir="auto">The code below is taken from the examples and works correctly with angular Dart version 2.0.0-alpha.27 (after updating the injector).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@View(template: ''' &lt;p&gt;My name: {{ myName }}&lt;/p&gt; &lt;p&gt;Friends:&lt;/p&gt; &lt;ul&gt; &lt;li *ng-for=&quot;#name of friendNames&quot;&gt; {{ name }} &lt;/li&gt; &lt;/ul&gt; &lt;p *ng-if=&quot;friendNames.length &gt; 3&quot;&gt;You have many friends!&lt;/p&gt; ''', directives: const [NgFor,NgIf] )"><pre class="notranslate"><code class="notranslate">@View(template: ''' &lt;p&gt;My name: {{ myName }}&lt;/p&gt; &lt;p&gt;Friends:&lt;/p&gt; &lt;ul&gt; &lt;li *ng-for="#name of friendNames"&gt; {{ name }} &lt;/li&gt; &lt;/ul&gt; &lt;p *ng-if="friendNames.length &gt; 3"&gt;You have many friends!&lt;/p&gt; ''', directives: const [NgFor,NgIf] ) </code></pre></div> <p dir="auto">Using angular2: '&gt;= 2.0.0-alpha.28' or '2.0.0-alpha.29' the code fails at NgFor, NgIf with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unsupported directive record"><pre class="notranslate"><code class="notranslate">Unsupported directive record </code></pre></div> <p dir="auto">Using angular2: '2.0.0-alpha.30' the code fails with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unsupported directive record in [friendNames in &lt;li *ng-for=&quot;#name of friendNames&quot;&gt;]"><pre class="notranslate"><code class="notranslate">Unsupported directive record in [friendNames in &lt;li *ng-for="#name of friendNames"&gt;] </code></pre></div>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="94401827" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/2981" data-hovercard-type="pull_request" data-hovercard-url="/angular/angular/pull/2981/hovercard" href="https://github.com/angular/angular/pull/2981">#2981</a> provides a test which fails. <a href="https://gist.github.com/jakemac53/675fdedad5ce469d292f">https://gist.github.com/jakemac53/675fdedad5ce469d292f</a> is an simple example which will fail under the transformer.</p>
1
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="06-09 00:13:11.607 11876-11920/com.myapp.app E/art: Throwing OutOfMemoryError &quot;Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM&quot; 06-09 00:13:11.617 11876-11920/com.myapp.app E/PriorityExecutor: Request threw uncaught throwable java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM at java.util.concurrent.FutureTask.report(FutureTask.java:93) at java.util.concurrent.FutureTask.get(FutureTask.java:163) at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor.afterExecute(FifoPriorityThreadPoolExecutor.java:96) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1120) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118) Caused by: java.lang.OutOfMemoryError: Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:752) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:728) at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:329) at com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:220) at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:153) at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:50) at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:19) at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:39) at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:20) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeBitmapWrapper(GifBitmapWrapperResourceDecoder.java:121) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeStream(GifBitmapWrapperResourceDecoder.java:94) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:71) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:61) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:22) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:24) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:14) at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:39) at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:17) at com.bumptech.glide.load.engine.DecodeJob.loadFromCache(DecodeJob.java:222) at com.bumptech.glide.load.engine.DecodeJob.decodeResultFromCache(DecodeJob.java:85) at com.bumptech.glide.load.engine.EngineRunnable.decodeFromCache(EngineRunnable.java:108) at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:99) at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)  at java.lang.Thread.run(Thread.java:818)  at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)  "><pre class="notranslate"><code class="notranslate">06-09 00:13:11.607 11876-11920/com.myapp.app E/art: Throwing OutOfMemoryError "Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM" 06-09 00:13:11.617 11876-11920/com.myapp.app E/PriorityExecutor: Request threw uncaught throwable java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM at java.util.concurrent.FutureTask.report(FutureTask.java:93) at java.util.concurrent.FutureTask.get(FutureTask.java:163) at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor.afterExecute(FifoPriorityThreadPoolExecutor.java:96) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1120) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118) Caused by: java.lang.OutOfMemoryError: Failed to allocate a 11197452 byte allocation with 16776720 free bytes and 79MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:752) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:728) at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:329) at com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:220) at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:153) at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:50) at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:19) at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:39) at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:20) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeBitmapWrapper(GifBitmapWrapperResourceDecoder.java:121) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeStream(GifBitmapWrapperResourceDecoder.java:94) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:71) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:61) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:22) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:24) at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:14) at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:39) at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:17) at com.bumptech.glide.load.engine.DecodeJob.loadFromCache(DecodeJob.java:222) at com.bumptech.glide.load.engine.DecodeJob.decodeResultFromCache(DecodeJob.java:85) at com.bumptech.glide.load.engine.EngineRunnable.decodeFromCache(EngineRunnable.java:108) at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:99) at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)  at java.lang.Thread.run(Thread.java:818)  at com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)  </code></pre></div> <p dir="auto"><strong>## Phone : Note 3 At&amp;T<br> OS : Android 5.0</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ext { supportLibraryVersion = '25.2.0' playServicesVersion = '10.2.0' retrofit = &quot;2.1.0&quot; } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') /** * Support * */ compile &quot;com.android.support:appcompat-v7:$supportLibraryVersion&quot; compile &quot;com.android.support:support-v4:$supportLibraryVersion&quot; compile &quot;com.android.support:design:$supportLibraryVersion&quot; compile &quot;com.android.support:percent:$supportLibraryVersion&quot; /** * Squareup * */ compile &quot;com.squareup.retrofit2:retrofit:$retrofit&quot; compile &quot;com.squareup.retrofit2:converter-gson:$retrofit&quot; /** * Google * */ compile &quot;com.google.android.gms:play-services-analytics:$playServicesVersion&quot; compile &quot;com.google.firebase:firebase-core:$playServicesVersion&quot; compile &quot;com.google.android.gms:play-services-gcm:$playServicesVersion&quot; compile &quot;com.google.android.gms:play-services-maps:$playServicesVersion&quot; compile 'com.google.guava:guava:22.0-rc1-android' compile 'com.squareup.okhttp3:logging-interceptor:3.3.1' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'org.greenrobot:eventbus:3.0.0' compile 'com.kyleduo.switchbutton:library:1.4.4' compile 'com.github.franmontiel:PersistentCookieJar:v1.0.1' compile 'com.github.arimorty:floatingsearchview:2.0.3' compile 'org.androidannotations:androidannotations-api:4.1.0' compile 'com.wang.avi:library:2.1.3' compile 'com.thefinestartist:finestwebview:1.2.7' compile 'com.github.pwittchen:reactivenetwork-rx2:0.9.1' compile 'me.relex:circleindicator:1.2.2@aar' apt 'org.androidannotations:androidannotations:4.1.0' }"><pre class="notranslate"><code class="notranslate">ext { supportLibraryVersion = '25.2.0' playServicesVersion = '10.2.0' retrofit = "2.1.0" } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') /** * Support * */ compile "com.android.support:appcompat-v7:$supportLibraryVersion" compile "com.android.support:support-v4:$supportLibraryVersion" compile "com.android.support:design:$supportLibraryVersion" compile "com.android.support:percent:$supportLibraryVersion" /** * Squareup * */ compile "com.squareup.retrofit2:retrofit:$retrofit" compile "com.squareup.retrofit2:converter-gson:$retrofit" /** * Google * */ compile "com.google.android.gms:play-services-analytics:$playServicesVersion" compile "com.google.firebase:firebase-core:$playServicesVersion" compile "com.google.android.gms:play-services-gcm:$playServicesVersion" compile "com.google.android.gms:play-services-maps:$playServicesVersion" compile 'com.google.guava:guava:22.0-rc1-android' compile 'com.squareup.okhttp3:logging-interceptor:3.3.1' compile 'com.github.bumptech.glide:glide:3.7.0' compile 'org.greenrobot:eventbus:3.0.0' compile 'com.kyleduo.switchbutton:library:1.4.4' compile 'com.github.franmontiel:PersistentCookieJar:v1.0.1' compile 'com.github.arimorty:floatingsearchview:2.0.3' compile 'org.androidannotations:androidannotations-api:4.1.0' compile 'com.wang.avi:library:2.1.3' compile 'com.thefinestartist:finestwebview:1.2.7' compile 'com.github.pwittchen:reactivenetwork-rx2:0.9.1' compile 'me.relex:circleindicator:1.2.2@aar' apt 'org.androidannotations:androidannotations:4.1.0' } </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public class ImageHelper { static final String TAG = ImageHelper.class.getSimpleName(); private static void config(String url, ImageView imageView, int width, int height, RequestListener&lt;String, Bitmap&gt; target) { if (!TextUtils.isEmpty(url)) { try { url = UrlHelper.encodeImage(url, width, height); if (target == null) { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .placeholder(R.drawable.ic_img_default) .into(imageView); } else { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .placeholder(R.drawable.ic_img_default) .listener(target).into(imageView); } } catch (Exception e) { e.printStackTrace(); } Log.d(TAG, url); } } public static void displayUrl(String url, ImageView imageView, int width, int height) { config(url, imageView, width, height, null); } public static void displayResource(int urlLocal, ImageView imageView) { if (imageView != null) { displayResource(urlLocal, imageView, ScreenHelper.getWidthPortrait(), ScreenHelper.getWidthPortrait(), null); } } public static void displayResource(int urlLocal, ImageView imageView, int height, int width) { if (imageView != null) { displayResource(urlLocal, imageView, height, width, null); } } public static void displayResource(int urlLocal, ImageView imageView, RequestListener&lt;Integer, GlideDrawable&gt; listener) { if (imageView != null) { displayResource(urlLocal, imageView, ScreenHelper.getWidthPortrait(), ScreenHelper.getWidthPortrait(), listener); } } private static void displayResource(int urlLocal, ImageView imageView, int height, int width, RequestListener&lt;Integer, GlideDrawable&gt; listener) { if (imageView != null) { Glide.with(imageView.getContext()) .load(urlLocal) .override(width, height) .listener(listener) .into(imageView); } } public static void displayUrl(String url, int width, int height, ImageView imageView, RequestListener&lt;String, Bitmap&gt; target) { config(url, imageView, width, height, target); } public static void displayUrl(String url, ImageView imageView, int width, int height, RequestListener&lt;String, Bitmap&gt; target) { if (!TextUtils.isEmpty(url) &amp;&amp; imageView != null) { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .override(width, height) .listener(target).into(imageView); Log.d(TAG, url); } } public static void clear(View view) { if (view != null) Glide.clear(view); } public static void clear(Context context) { if (context != null) Glide.get(context).clearMemory(); } }"><pre class="notranslate"><code class="notranslate">public class ImageHelper { static final String TAG = ImageHelper.class.getSimpleName(); private static void config(String url, ImageView imageView, int width, int height, RequestListener&lt;String, Bitmap&gt; target) { if (!TextUtils.isEmpty(url)) { try { url = UrlHelper.encodeImage(url, width, height); if (target == null) { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .placeholder(R.drawable.ic_img_default) .into(imageView); } else { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .placeholder(R.drawable.ic_img_default) .listener(target).into(imageView); } } catch (Exception e) { e.printStackTrace(); } Log.d(TAG, url); } } public static void displayUrl(String url, ImageView imageView, int width, int height) { config(url, imageView, width, height, null); } public static void displayResource(int urlLocal, ImageView imageView) { if (imageView != null) { displayResource(urlLocal, imageView, ScreenHelper.getWidthPortrait(), ScreenHelper.getWidthPortrait(), null); } } public static void displayResource(int urlLocal, ImageView imageView, int height, int width) { if (imageView != null) { displayResource(urlLocal, imageView, height, width, null); } } public static void displayResource(int urlLocal, ImageView imageView, RequestListener&lt;Integer, GlideDrawable&gt; listener) { if (imageView != null) { displayResource(urlLocal, imageView, ScreenHelper.getWidthPortrait(), ScreenHelper.getWidthPortrait(), listener); } } private static void displayResource(int urlLocal, ImageView imageView, int height, int width, RequestListener&lt;Integer, GlideDrawable&gt; listener) { if (imageView != null) { Glide.with(imageView.getContext()) .load(urlLocal) .override(width, height) .listener(listener) .into(imageView); } } public static void displayUrl(String url, int width, int height, ImageView imageView, RequestListener&lt;String, Bitmap&gt; target) { config(url, imageView, width, height, target); } public static void displayUrl(String url, ImageView imageView, int width, int height, RequestListener&lt;String, Bitmap&gt; target) { if (!TextUtils.isEmpty(url) &amp;&amp; imageView != null) { Glide .with(imageView.getContext()) .load(url) .asBitmap() .dontAnimate() .override(width, height) .listener(target).into(imageView); Log.d(TAG, url); } } public static void clear(View view) { if (view != null) Glide.clear(view); } public static void clear(Context context) { if (context != null) Glide.get(context).clearMemory(); } } </code></pre></div> <p dir="auto"><strong>## In My Fragment</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/** * needed to onStop **/ @Override public void onStop() { super.onStop(); if (viewPager != null) { viewPager.setListener(null); } if (noImages != null) { noImages.setOnTouchListener(null); } viewPager = null; viewPagerAdapter = null; ImageHelper.clear(noImages); ImageHelper.clear(mActivity); }"><pre class="notranslate"><code class="notranslate">/** * needed to onStop **/ @Override public void onStop() { super.onStop(); if (viewPager != null) { viewPager.setListener(null); } if (noImages != null) { noImages.setOnTouchListener(null); } viewPager = null; viewPagerAdapter = null; ImageHelper.clear(noImages); ImageHelper.clear(mActivity); } </code></pre></div>
<p dir="auto">I have a question in regarding sharing an image via Intent Share API which was already downloaded in cache(or not in the worst case scenario). Do you have any suggestions regarding this? Would it work with the <code class="notranslate">FileProvider</code> class in the support lib? The current implementation now loads the URL in a custom target, writes the bitmap into a common file(share.jpeg) and shares that one with a custom <code class="notranslate">ContentProvider</code>. Works so far but it feels like extra unnecessary work which makes the user wait for a while for an image which is already there.</p>
0
<h5 dir="auto">Description of the problem</h5> <p dir="auto">So I have tried to adjust the <code class="notranslate">linewidth</code> in the <code class="notranslate">LineBasicMaterial</code> but it only renders out as 1 pixel instead of 5 (which is where I am trying to adjust). I have tried to preview this in Chrome, Firefox, and Safari but to no success. Any idea on why this isn't working. I read the docs and followed the way its used.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r95</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul>
<h5 dir="auto">Description of the problem</h5> <p dir="auto"><code class="notranslate">LineBasicMaterial</code> no work in Chrome. Works great in Firefox. Worked in in Chrome 54 until we updated to latest release. We get the lines, they have no width. I know this has been reported a million times in regard to Windows but I'm on Mac OS 10.11.6.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r82</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Mac</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5> <p dir="auto">NVIDIA GeForce GT 750M</p>
1
<p dir="auto">I am looking a way to lock down windows/webviews and I was testing the inheritance of nodeintegration settings from parents to child. According to PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="143115015" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/4897" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/4897/hovercard" href="https://github.com/electron/electron/pull/4897">#4897</a> this was fixed. But after testing it on my test app, i can still create a webview with nodeintegration enabled, even if the parent has Nodeintegration disabled.</p> <p dir="auto">I need this because my app receive data from users (IM's) and XSS could happen.</p> <p dir="auto">main.js:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" function createWindow () { // Create the browser window. mainWindow = new BrowserWindow({ webPreferences: { nodeIntegration: false } });"><pre class="notranslate"><code class="notranslate"> function createWindow () { // Create the browser window. mainWindow = new BrowserWindow({ webPreferences: { nodeIntegration: false } }); </code></pre></div> <p dir="auto">index.html:</p> <p dir="auto"><code class="notranslate">&lt;webview nodeIntegration src="data:text/html,&lt;script&gt;require('child_process').exec('notepad.exe',function(){})&lt;/script&gt;"&gt;&lt;/webview&gt; </code></p> <p dir="auto">If I am not wrong there is a typo in the file spec/webview-spec.js line 100:</p> <p dir="auto">app.<strong>once</strong>('browser-window-created', function (event, window) {</p> <p dir="auto">I am expecting the Webview to have nodeintegration disabled.</p> <ul dir="auto"> <li>Electron version: 0.37.5</li> <li>Operating system: Windows 10</li> </ul>
<p dir="auto">Currently webview tag is available even when node integration is off, this can introduce security problems since webview can be used to execute arbitrary code.</p> <p dir="auto">Refs <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="123867656" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/3921" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/3921/hovercard" href="https://github.com/electron/electron/issues/3921">#3921</a>.</p>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-release-1.5/824/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-release-1.5/824/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl run deployment should create a deployment from an image [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:51.388: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42098cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:51.388: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42098cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="160615315" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27532" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27532/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27532">#27532</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182355058" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34567" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34567/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34567">#34567</a></p> <p dir="auto">Failed: [k8s.io] Deployment scaled rollout deployment should not block on annotation check {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:12.404: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420eb78f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:12.404: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420eb78f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="169467650" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30100" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30100/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30100">#30100</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174368630" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31810" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31810/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31810">#31810</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181689201" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34331" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34331/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34331">#34331</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182778461" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34717" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34717/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34717">#34717</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="183037764" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34816" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34816/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34816">#34816</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184584056" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35337" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35337/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35337">#35337</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="188086871" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36458" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36458/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36458">#36458</a></p> <p dir="auto">Failed: [k8s.io] DNS horizontal autoscaling kube-dns-autoscaler should scale kube-dns pods in both nonfaulty and faulty scenarios {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/dns_autoscaling.go:71 Expected error: &lt;*errors.errorString | 0xc420ae0870&gt;: { s: &quot;err waiting for DNS replicas to satisfy 2, got 3: timed out waiting for the condition&quot;, } err waiting for DNS replicas to satisfy 2, got 3: timed out waiting for the condition not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/petset.go:1072"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/dns_autoscaling.go:71 Expected error: &lt;*errors.errorString | 0xc420ae0870&gt;: { s: "err waiting for DNS replicas to satisfy 2, got 3: timed out waiting for the condition", } err waiting for DNS replicas to satisfy 2, got 3: timed out waiting for the condition not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/petset.go:1072 </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="188454605" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36569" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36569/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36569">#36569</a></p> <p dir="auto">Failed: [k8s.io] CronJob should replace jobs when ReplaceConcurrent {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:59:07.170: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a004f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:59:07.170: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a004f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should support exec {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:30.439: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42119a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:30.439: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42119a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="163541783" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28426" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28426/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28426">#28426</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175382873" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32168" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32168/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32168">#32168</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180061465" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33756" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33756/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33756">#33756</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182969198" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34797" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34797/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34797">#34797</a></p> <p dir="auto">Failed: [k8s.io] Pods should be submitted and removed [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:51.223: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f284f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:51.223: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f284f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156627871" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26224" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26224/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26224">#26224</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181755406" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34354" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34354/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34354">#34354</a></p> <p dir="auto">Failed: [k8s.io] Services should serve a basic endpoint from pods [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:55:07.888: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420cd58f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:55:07.888: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420cd58f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="158046707" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26678" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26678/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26678">#26678</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="166671086" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29318" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29318/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29318">#29318</a></p> <p dir="auto">Failed: [k8s.io] Services should prevent NodePort collisions {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:48.524: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210ca4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:48.524: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210ca4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="173576613" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31575" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31575/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31575">#31575</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177070217" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32756" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32756/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32756">#32756</a></p> <p dir="auto">Failed: [k8s.io] EmptyDir volumes volume on default medium should have the correct mode [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:49.171: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420dc2ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:49.171: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420dc2ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Deployment deployment should label adopted RSs and pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:43:36.987: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212538f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:43:36.987: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212538f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167685915" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29629" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29629/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29629">#29629</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187459958" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36270" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36270/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36270">#36270</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="191602256" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37462" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37462/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37462">#37462</a></p> <p dir="auto">Failed: [k8s.io] Services should provide secure master service [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:16.519: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a32ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:16.519: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a32ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] PrivilegedPod should test privileged pod {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:06.950: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214904f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:06.950: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214904f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167218750" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29519" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29519/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29519">#29519</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176216011" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32451" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32451/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32451">#32451</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume with mappings as non-root [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:23.048: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420e784f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:23.048: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420e784f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Deployment paused deployment should be ignored by the controller {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:48.811: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210cd8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:48.811: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210cd8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="162272484" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28067" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28067/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28067">#28067</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163465292" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28378" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28378/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28378">#28378</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176988095" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32692" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32692/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32692">#32692</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178538978" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33256" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33256/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33256">#33256</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182650898" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34654" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34654/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34654">#34654</a></p> <p dir="auto">Failed: [k8s.io] V1Job should run a job to completion when tasks sometimes fail and are not locally restarted {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:30.428: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f46ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:30.428: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f46ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] DNS should provide DNS for services [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:27.321: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421226ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:27.321: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421226ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156519287" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26168" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26168/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26168">#26168</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160484739" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27450" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27450/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27450">#27450</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should support inline execution and attach {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:52:47.422: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c5cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:52:47.422: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c5cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156879759" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26324" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26324/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26324">#26324</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161178789" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27715" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27715/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27715">#27715</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165105107" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28845" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28845/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28845">#28845</a></p> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy logs on node [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:38.906: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b7cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:38.906: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b7cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="187373568" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36242" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36242/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36242">#36242</a></p> <p dir="auto">Failed: [k8s.io] V1Job should keep restarting failed pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:36:09.561: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42118eef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:36:09.561: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42118eef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167769120" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29657" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29657/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29657">#29657</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should support port-forward {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:56.066: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4215538f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:56.066: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4215538f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="163450100" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28371" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28371/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28371">#28371</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="167559511" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29604" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29604/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29604">#29604</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="191754080" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37496" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37496/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37496">#37496</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:33:49.044: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4209ccef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:33:49.044: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4209ccef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="165911939" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29052" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29052/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29052">#29052</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl version should check is all data is printed [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:42.431: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212ff8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:42.431: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212ff8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="165910546" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29050" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29050/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29050">#29050</a></p> <p dir="auto">Failed: [k8s.io] DNS config map should be able to change configuration {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:36:17.614: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d06ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:36:17.614: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d06ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="190483419" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37144" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37144/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37144">#37144</a></p> <p dir="auto">Failed: [k8s.io] ReplicaSet should serve a basic image on each replica with a public image [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:32.826: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420964ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:32:32.826: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420964ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="172082443" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30981" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30981/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30981">#30981</a></p> <p dir="auto">Failed: [k8s.io] [HPA] Horizontal pod autoscaling (scale resource: CPU) [k8s.io] ReplicationController light Should scale from 1 pod to 2 pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:33.917: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42103cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:33.917: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42103cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="160462664" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27443" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27443/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27443">#27443</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="161592369" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27835" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27835/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27835">#27835</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165361685" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28900" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28900/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28900">#28900</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176454640" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32512" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32512/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32512">#32512</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap updates should be reflected in volume [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:44.011: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4208638f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:44.011: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4208638f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="170381730" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30352" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30352/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30352">#30352</a></p> <p dir="auto">Failed: [k8s.io] Variable Expansion should allow composing env vars into new env vars [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:32.098: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c8e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:32.098: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c8e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167095091" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29461" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29461/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29461">#29461</a></p> <p dir="auto">Failed: [k8s.io] DNS should provide DNS for ExternalName services {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:11.363: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d198f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:11.363: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d198f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="176700317" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32584" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32584/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32584">#32584</a></p> <p dir="auto">Failed: [k8s.io] Downward API should provide pod name and namespace as env vars [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:02.311: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211bd8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:02.311: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211bd8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (non-root,0666,default) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:32.512: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421180ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:32.512: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421180ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="181396371" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34226" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34226/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34226">#34226</a></p> <p dir="auto">Failed: [k8s.io] Docker Containers should be able to override the image's default commmand (docker entrypoint) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:28.702: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42068e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:28.702: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42068e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="169140273" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29994">#29994</a></p> <p dir="auto">Failed: [k8s.io] Secrets should be consumable from pods in volume [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:40.834: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b7cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:40.834: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b7cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="166415314" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29221" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29221/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29221">#29221</a></p> <p dir="auto">Failed: [k8s.io] InitContainer should not start app containers if init containers fail on a RestartAlways pod {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:50.302: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214eaef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:50.302: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214eaef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="173107321" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31408" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31408/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31408">#31408</a></p> <p dir="auto">Failed: [k8s.io] SSH should SSH to all nodes and run commands {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/ssh.go:105 Dec 1 21:30:33.726: Ran echo &quot;Hello from $(whoami)@$(hostname)&quot; on 130.211.223.5:22, got error error getting SSH client to [email protected]:22: 'timed out dialing tcp:130.211.223.5:22', expected &lt;nil&gt; /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/ssh.go:79"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/ssh.go:105 Dec 1 21:30:33.726: Ran echo "Hello from $(whoami)@$(hostname)" on 130.211.223.5:22, got error error getting SSH client to [email protected]:22: 'timed out dialing tcp:130.211.223.5:22', expected &lt;nil&gt; /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/ssh.go:79 </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="156406649" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26129" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26129/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26129">#26129</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175897342" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32341" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32341/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32341">#32341</a></p> <p dir="auto">Failed: [k8s.io] Pods should be updated [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.585: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42065e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.585: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42065e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="185951634" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35793" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35793/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35793">#35793</a></p> <p dir="auto">Failed: [k8s.io] Networking should provide Internet connection for containers [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:46.247: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42092c4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:46.247: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42092c4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156530969" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26171" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26171/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26171">#26171</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162801574" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28188" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28188/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28188">#28188</a></p> <p dir="auto">Failed: [k8s.io] Secrets should be consumable in multiple volumes in a pod [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:32.000: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420ae04f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:32.000: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420ae04f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] ResourceQuota should verify ResourceQuota with best effort scope. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:43.341: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211038f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:43.341: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211038f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="173865664" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31635" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31635/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31635">#31635</a></p> <p dir="auto">Failed: [k8s.io] Port forwarding [k8s.io] With a server that expects no client request should support a client that connects, sends no data, and disconnects [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:35.319: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421122ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:35.319: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421122ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="161049635" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27673" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27673/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27673">#27673</a></p> <p dir="auto">Failed: [k8s.io] Secrets should be consumable from pods in volume with defaultMode set [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.269: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210884f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.269: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4210884f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="184390277" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35256" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35256/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35256">#35256</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should support exec through an HTTP proxy {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:41.185: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211e98f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:41.185: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211e98f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="159529335" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27156" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27156/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27156">#27156</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165687470" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28979" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28979/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28979">#28979</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170785078" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30489" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30489/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30489">#30489</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179742976" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33649" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33649/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33649">#33649</a></p> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (non-root,0777,tmpfs) [Conformance] {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/common/empty_dir.go:89 wait for pod &quot;pod-a51aff07-b84f-11e6-b730-0242ac110008&quot; to disappear Expected success, but got an error: &lt;*errors.errorString | 0xc4203fcd40&gt;: { s: &quot;timed out waiting for the condition&quot;, } timed out waiting for the condition /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:121"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/empty_dir.go:89 wait for pod "pod-a51aff07-b84f-11e6-b730-0242ac110008" to disappear Expected success, but got an error: &lt;*errors.errorString | 0xc4203fcd40&gt;: { s: "timed out waiting for the condition", } timed out waiting for the condition /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:121 </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="171844118" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30851" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30851/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30851">#30851</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl create quota should create a quota without scopes {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:19.914: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420bd0ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:19.914: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420bd0ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Downward API volume should set mode on item file [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:28.751: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212a04f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:28.751: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212a04f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="191425846" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37423" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37423/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37423">#37423</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl run pod should create a pod from an image when restart is Never [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:59.243: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42117a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:59.243: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42117a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="160552013" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27507" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27507/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27507">#27507</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163116019" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28275" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28275/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28275">#28275</a></p> <p dir="auto">Failed: [k8s.io] InitContainer should invoke init containers on a RestartAlways pod {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/common/init_container.go:162 Expected &lt;*errors.errorString | 0xc4203a3d20&gt;: { s: &quot;timed out waiting for the condition&quot;, } to be nil /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/init_container.go:147"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/init_container.go:162 Expected &lt;*errors.errorString | 0xc4203a3d20&gt;: { s: "timed out waiting for the condition", } to be nil /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/init_container.go:147 </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="174505990" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31873" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31873/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31873">#31873</a></p> <p dir="auto">Failed: [k8s.io] DisruptionController evictions: no PDB =&gt; should allow an eviction {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:34.829: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d938f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:34.829: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420d938f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="176827612" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32646" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32646/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32646">#32646</a></p> <p dir="auto">Failed: [k8s.io] Secrets should be consumable from pods in env vars [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:35.744: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212bc4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:35.744: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212bc4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="174881590" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32025" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32025/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32025">#32025</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="189446300" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36823" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36823/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36823">#36823</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl api-versions should check if v1 is in available api versions [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:51:51.510: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42072cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:51:51.510: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42072cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167973607" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29710" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29710/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29710">#29710</a></p> <p dir="auto">Failed: [k8s.io] NodeProblemDetector [k8s.io] KernelMonitor should generate node condition and events for corresponding errors {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:28.630: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4213198f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:28.630: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4213198f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="162279556" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28069" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28069/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28069">#28069</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162735766" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28168" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28168/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28168">#28168</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163348279" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28343" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28343/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28343">#28343</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="167768213" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29656" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29656/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29656">#29656</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178387814" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33183" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33183/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33183">#33183</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Update Demo should do a rolling update of a replication controller [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:22.186: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421154ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:22.186: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421154ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="157221194" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26425" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26425/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26425">#26425</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158173781" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26715" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26715/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26715">#26715</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165023830" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28825" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28825/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28825">#28825</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165265226" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28880" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28880/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28880">#28880</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177365925" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32854" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32854/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32854">#32854</a></p> <p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Pods should function for node-pod communication: udp [Conformance] {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/common/networking.go:59 Expected error: &lt;*errors.errorString | 0xc42044ece0&gt;: { s: &quot;timed out waiting for the condition&quot;, } timed out waiting for the condition not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:544"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/networking.go:59 Expected error: &lt;*errors.errorString | 0xc42044ece0&gt;: { s: "timed out waiting for the condition", } timed out waiting for the condition not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:544 </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="184455494" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35283" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35283/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35283">#35283</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="189571084" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36867" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36867/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36867">#36867</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume with mappings [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:53.422: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c824f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:53.422: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c824f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="177601105" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32949" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32949/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32949">#32949</a></p> <p dir="auto">Failed: [k8s.io] MetricsGrabber should grab all metrics from API server. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:06.332: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420beeef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:06.332: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420beeef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="167193485" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29513" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29513/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29513">#29513</a></p> <p dir="auto">Failed: [k8s.io] Job should keep restarting failed pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:33:26.364: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42031aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:33:26.364: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42031aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="162082487" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28006" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28006/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28006">#28006</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165207989" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28866" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28866/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28866">#28866</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="167602612" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29613" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29613/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29613">#29613</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="187312889" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36224" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36224/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36224">#36224</a></p> <p dir="auto">Failed: [k8s.io] HostPath should support subPath {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:04.796: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4206db8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:04.796: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4206db8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (root,0777,tmpfs) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:44.643: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421468ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:44.643: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421468ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="173096221" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31400" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31400/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31400">#31400</a></p> <p dir="auto">Failed: [k8s.io] Probing container should <em>not</em> be restarted with a exec "cat /tmp/health" liveness probe [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:10.612: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420cb84f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:10.612: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420cb84f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Deployment deployment should support rollover {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:47.074: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421616ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:47.074: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc421616ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="157401740" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26509" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26509/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26509">#26509</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158482964" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26834" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26834/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26834">#26834</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="168343768" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29780" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29780/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29780">#29780</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="184610229" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35355" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35355/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35355">#35355</a></p> <p dir="auto">Failed: [k8s.io] ResourceQuota should create a ResourceQuota and capture the life of a pod. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:19.797: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f378f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:19.797: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f378f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Simple pod should return command exit codes {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.671: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212c18f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:28:38.671: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4212c18f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="172543250" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31151" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31151/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31151">#31151</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="185300107" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35586" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35586/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35586">#35586</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Guestbook application should create and stop a working application [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:06.466: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420792ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:06.466: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420792ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156541142" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26175" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26175/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26175">#26175</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158508087" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26846" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26846/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26846">#26846</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160083678" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27334" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27334/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27334">#27334</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163207971" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28293" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28293/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28293">#28293</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="166209576" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29149" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29149/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29149">#29149</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174552260" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31884" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31884/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31884">#31884</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179841673" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33672" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33672/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33672">#33672</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182921371" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34774" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34774/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34774">#34774</a></p> <p dir="auto">Failed: [k8s.io] Pods should support retrieving logs from the container over websockets {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:17.311: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4213d18f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:46:17.311: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4213d18f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="170093559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30263" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30263/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30263">#30263</a></p> <p dir="auto">Failed: [k8s.io] Kubectl alpha client [k8s.io] Kubectl run CronJob should create a CronJob {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:12.923: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4209924f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:56:12.923: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4209924f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Probing container should be restarted with a /healthz http liveness probe [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:10.797: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420e82ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:29:10.797: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420e82ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl logs should be able to retrieve and filter logs [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:44:51.430: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4217eaef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:44:51.430: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4217eaef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156428959" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26139" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26139/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26139">#26139</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163344753" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28342" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28342/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28342">#28342</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163579268" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28439" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28439/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28439">#28439</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173575389" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31574" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31574/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31574">#31574</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="188492521" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36576" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36576/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36576">#36576</a></p> <p dir="auto">Failed: [k8s.io] ReplicationController should surface a failure condition on a common issue like exceeded quota {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:16.530: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a924f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:16.530: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a924f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="190165663" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37027" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37027/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37027">#37027</a></p> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (non-root,0777,default) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:58.222: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42089b8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:58.222: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42089b8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] ResourceQuota should create a ResourceQuota and capture the life of a configMap. {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:51:32.795: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c318f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:51:32.795: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420c318f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="181786792" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34367" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34367/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34367">#34367</a></p> <p dir="auto">Failed: [k8s.io] Services should be able to create a functioning NodePort service {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:56.373: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42132f8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:45:56.373: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42132f8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="162257617" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28064" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28064/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28064">#28064</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164220053" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28569" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28569/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28569">#28569</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962367" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34036" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34036/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34036">#34036</a></p> <p dir="auto">Failed: [k8s.io] V1Job should fail a job {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:37:16.545: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42131e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:37:16.545: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42131e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="161129574" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27704" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27704/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27704">#27704</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169548612" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30127" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30127/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30127">#30127</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171089180" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30602" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30602/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30602">#30602</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172311943" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31070" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31070/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31070">#31070</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181808214" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34383" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34383/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34383">#34383</a></p> <p dir="auto">Failed: [k8s.io] InitContainer should not start app containers and fail the pod if init containers fail on a RestartNever pod {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:52:50.081: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4215018f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:52:50.081: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4215018f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="174980622" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32054" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32054/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32054">#32054</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="186655995" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36010" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36010/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36010">#36010</a></p> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume with defaultMode set [Conformance] {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/common/configmap.go:42 wait for pod &quot;pod-configmaps-ad799ec1-b84f-11e6-ae23-0242ac110008&quot; to disappear Expected success, but got an error: &lt;*errors.errorString | 0xc4203c26a0&gt;: { s: &quot;timed out waiting for the condition&quot;, } timed out waiting for the condition /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:121"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/common/configmap.go:42 wait for pod "pod-configmaps-ad799ec1-b84f-11e6-ae23-0242ac110008" to disappear Expected success, but got an error: &lt;*errors.errorString | 0xc4203c26a0&gt;: { s: "timed out waiting for the condition", } timed out waiting for the condition /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:121 </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="183079922" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34827" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34827/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34827">#34827</a></p> <p dir="auto">Failed: [k8s.io] Downward API volume should set DefaultMode on files [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:03.677: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42184aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:48:03.677: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42184aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="187541318" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36300" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36300/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36300">#36300</a></p> <p dir="auto">Failed: [k8s.io] Kubectl client [k8s.io] Kubectl apply should reuse port when apply to an existing SVC {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:20.926: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a724f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:49:20.926: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420a724f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="189897636" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/36948" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/36948/hovercard" href="https://github.com/kubernetes/kubernetes/issues/36948">#36948</a></p> <p dir="auto">Failed: [k8s.io] CronJob should not emit unexpected warnings {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:30:08.146: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4202298f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:30:08.146: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4202298f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy logs on node with explicit kubelet port [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:52.774: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42123aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:34:52.774: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42123aef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="177552861" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32936" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32936/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32936">#32936</a></p> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (root,0666,tmpfs) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:15.778: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4218e98f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:41:15.778: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4218e98f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="191766555" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37500" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37500/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37500">#37500</a></p> <p dir="auto">Failed: [k8s.io] ReplicaSet should serve a basic image on each replica with a private image {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:53:13.514: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b60ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:53:13.514: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b60ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="174876756" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32023" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32023/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32023">#32023</a></p> <p dir="auto">Failed: [k8s.io] Job should run a job to completion when tasks succeed {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:54:48.960: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4204504f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:54:48.960: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4204504f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="174659588" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31938" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31938/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31938">#31938</a></p> <p dir="auto">Failed: [k8s.io] Secrets should be able to mount in a volume regardless of a different secret existing with same name in different namespace {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:56.026: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211738f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:56.026: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211738f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="191859811" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37525" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37525/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37525">#37525</a></p> <p dir="auto">Failed: [k8s.io] Downward API volume should provide container's cpu request [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:57.782: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42124f8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:57.782: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42124f8f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] Probing container should <em>not</em> be restarted with a /healthz http liveness probe [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:17.722: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211d4ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:40:17.722: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4211d4ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="170351558" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30342" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30342/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30342">#30342</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="172972559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31350" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31350/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31350">#31350</a></p> <p dir="auto">Failed: [k8s.io] Downward API should provide default limits.cpu/memory from node allocatable [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:01.498: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f1e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:39:01.498: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f1e4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Failed: [k8s.io] ConfigMap should be consumable from pods in volume with mappings and Item mode set[Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:57.547: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b2a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:57.547: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420b2a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="185935739" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35790" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35790/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35790">#35790</a></p> <p dir="auto">Failed: [k8s.io] Deployment deployment should create new pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:47.090: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420bb6ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:35:47.090: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420bb6ef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="185292506" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/35579" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/35579/hovercard" href="https://github.com/kubernetes/kubernetes/issues/35579">#35579</a></p> <p dir="auto">Failed: [k8s.io] Services should create endpoints for unready pods {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:53.696: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214ee4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:38:53.696: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214ee4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="156530971" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26172" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26172/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26172">#26172</a></p> <p dir="auto">Failed: [k8s.io] Downward API volume should provide node allocatable (memory) as default memory limit if the limit is not set [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:23.553: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214d58f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:42:23.553: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc4214d58f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="191877457" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37531" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37531/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37531">#37531</a></p> <p dir="auto">Failed: [k8s.io] Pods should get a host IP [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:47.001: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f3a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:31:47.001: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc420f3a4f0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </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="177700734" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33008" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33008/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33008">#33008</a></p> <p dir="auto">Failed: [k8s.io] CronJob should schedule multiple jobs concurrently {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:30:06.815: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42125cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:142 Dec 1 21:30:06.815: All nodes should be ready after test, Not ready nodes: []*api.Node{(*api.Node)(0xc42125cef0)} /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:438 </code></pre></div> <p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="192735463" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/37750" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/37750/hovercard" href="https://github.com/kubernetes/kubernetes/issues/37750">#37750</a></p>
<p dir="auto">The kubectl client loading logic <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/client/clientcmd/client_config.go#L184">still defaults</a> to loading from <code class="notranslate">$HOME/.kubernetes_auth</code> if the config doesn't have enough info to authenticate a user. This behavior is confusing and undesirable. We still support <code class="notranslate">--auth-path</code>, but only in the context of a command line flag or kubeconfig user entry. The old, global <code class="notranslate">.kubernetes_auth</code> should not be used anymore.</p>
0
<p dir="auto">Hey,</p> <p dir="auto">I have an issue on my macros use. The source code of my macro is <a href="https://gist.github.com/GuillaumeGomez/8f78b43c19394e2213a6">here</a>. I can't put the pub keyword and if I call my macro like this :</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub impl_GObjectFunctions!(t1, t2)"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-en">impl_GObjectFunctions</span><span class="pl-en">!</span><span class="pl-kos">(</span>t1, t2<span class="pl-kos">)</span></pre></div> <p dir="auto">The methods aren't public. Am I doing something wrong or is it a compiler's bug ?</p> <p dir="auto">Thanks in advance.</p>
<p dir="auto">These 'overriding commands...' lines usually indicate a mistake in the makefiles</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ make VERBOSE=1 cfg: build triple i686-pc-mingw32 cfg: host triples i686-pc-mingw32 cfg: target triples i686-pc-mingw32 cfg: host for i686-pc-mingw32 is i386 cfg: os for i686-pc-mingw32 is pc-mingw32 cfg: using gcc cfg: disabling valgrind due to its unreliability on this platform /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage0/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage0/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage1/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage1/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage2/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage2/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage3/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage3/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage1/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage1/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage2/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage2/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage3/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage3/bin/' cfg: no pandoc found, omitting docs cfg: no node found, omitting docs cfg: no llnextgen found, omitting grammar-verification cfg: no pandoc found, omitting library doc build"><pre class="notranslate"><code class="notranslate">$ make VERBOSE=1 cfg: build triple i686-pc-mingw32 cfg: host triples i686-pc-mingw32 cfg: target triples i686-pc-mingw32 cfg: host for i686-pc-mingw32 is i386 cfg: os for i686-pc-mingw32 is pc-mingw32 cfg: using gcc cfg: disabling valgrind due to its unreliability on this platform /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage0/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage0/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage1/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage1/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage2/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage2/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: overriding commands fo r target `i686-pc-mingw32/stage3/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/target.mk:95: warning: ignoring old commands for target `i686-pc-mingw32/stage3/bin/rustc/i686-pc-mingw32/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage1/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage1/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage2/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage2/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: overriding commands for target `i686-pc-mingw32/stage3/bin/' /c/rustbuild/scratch/rust-brson/mk/host.mk:138: warning: ignoring old commands f or target `i686-pc-mingw32/stage3/bin/' cfg: no pandoc found, omitting docs cfg: no node found, omitting docs cfg: no llnextgen found, omitting grammar-verification cfg: no pandoc found, omitting library doc build </code></pre></div> <p dir="auto">The build ends in failure</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -I/home/Thad/rust/src/libuv/includ e -I/home/Thad/rust/src/libuv/include/uv-private -c -o /home/Thad/rust/src/libu v/src/win/winapi.o /home/Thad/rust/src/libuv/src/win/winapi.c gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -I/home/Thad/rust/src/libuv/includ e -I/home/Thad/rust/src/libuv/include/uv-private -c -o /home/Thad/rust/src/libu v/src/win/winsock.o /home/Thad/rust/src/libuv/src/win/winsock.c gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -c /home/Thad/rust/src/libuv/src/f s-poll.c -o src/fs-poll.o C:/MinGW/msys/1.0/home/Thad/rust/src/libuv/src/fs-poll.c:22:16: fatal error: uv. h: No such file or directory compilation terminated. make[2]: *** [src/fs-poll.o] Error 1 make[2]: Leaving directory `/home/Thad/rust/rt/i686-w64-mingw32/libuv' make[1]: *** [/home/Thad/rust//rt/i686-w64-mingw32/libuv] Error 2 make[1]: Leaving directory `/home/Thad/rust/src/libuv' make: *** [rt/i686-w64-mingw32/libuv/libuv.a] Error 2"><pre class="notranslate"><code class="notranslate">gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -I/home/Thad/rust/src/libuv/includ e -I/home/Thad/rust/src/libuv/include/uv-private -c -o /home/Thad/rust/src/libu v/src/win/winapi.o /home/Thad/rust/src/libuv/src/win/winapi.c gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -I/home/Thad/rust/src/libuv/includ e -I/home/Thad/rust/src/libuv/include/uv-private -c -o /home/Thad/rust/src/libu v/src/win/winsock.o /home/Thad/rust/src/libuv/src/win/winsock.c gcc -DRUST_NDEBUG -fno-omit-frame-pointer -O2 -c /home/Thad/rust/src/libuv/src/f s-poll.c -o src/fs-poll.o C:/MinGW/msys/1.0/home/Thad/rust/src/libuv/src/fs-poll.c:22:16: fatal error: uv. h: No such file or directory compilation terminated. make[2]: *** [src/fs-poll.o] Error 1 make[2]: Leaving directory `/home/Thad/rust/rt/i686-w64-mingw32/libuv' make[1]: *** [/home/Thad/rust//rt/i686-w64-mingw32/libuv] Error 2 make[1]: Leaving directory `/home/Thad/rust/src/libuv' make: *** [rt/i686-w64-mingw32/libuv/libuv.a] Error 2 </code></pre></div> <p dir="auto">As reported by Thad. Not sure how the bots continue to run.</p>
0
<p dir="auto">Sometimes I need to change some LESS parameter and recompile files. I do not want to memorise customized ID everytime.</p> <p dir="auto">It would be perfect to keep it in downloaded files. Maybe in .json confing or just separate empty file named like </p><pre class="notranslate">12341231.id</pre>.<p dir="auto"></p>
<p dir="auto">The new site has the awesome customization screen, but unless you manage your bookmarks like a champ, there's no clear mapping between which custom builds on your system correspond to which URLs on the site. It would rock socks if the URL of the custom build was in the header comment in the generated source files.</p> <p dir="auto">For example, In bootstrap.css, you could have something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/*! * Bootstrap v3.0.0 * Custom build generated by http://getbootstrap.com/customize/?id=6277349 * "><pre class="notranslate"><code class="notranslate">/*! * Bootstrap v3.0.0 * Custom build generated by http://getbootstrap.com/customize/?id=6277349 * </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/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: <code class="notranslate">2.7.3</code></li> <li>Operating System version: <code class="notranslate">Centos 7</code></li> <li>Java version: <code class="notranslate">1.8</code></li> <li>Spring Boot version: <code class="notranslate">2.1.7.RELEASE</code></li> <li>Spring Cloud version: <code class="notranslate">Greenwich.SR5</code></li> <li>Nacos version: <code class="notranslate">1.3.1</code></li> <li>Nacos集群、Dubbo生产者、Dubbo消费者均部署在K8s环境中</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>正常启动Nacos集群、生产者、消费者</li> <li>滚动更新生产者服务,确保新IP已注册,老的IP已执行Unregister</li> <li>查看消费者日志,出现异常。但是此时可以正常调用生产者服务</li> </ol> <h3 dir="auto">Expected Result</h3> <ul dir="auto"> <li>消费者可以正常切换到生产者新的IP</li> </ul> <h3 dir="auto">Actual Result</h3> <ol dir="auto"> <li>正常启动Nacos集群、生产者、消费者</li> <li>滚动更新生产者服务,确保新IP已注册,老的IP已执行Unregister</li> </ol> <ul dir="auto"> <li> <p dir="auto">新的IP已注册<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87759110-505dad00-c840-11ea-8735-b16fd54403a4.png"><img src="https://user-images.githubusercontent.com/12381829/87759110-505dad00-c840-11ea-8735-b16fd54403a4.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">老的IP已执行Unregister<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87759186-6ec3a880-c840-11ea-9b5d-daf69adcc6f3.png"><img src="https://user-images.githubusercontent.com/12381829/87759186-6ec3a880-c840-11ea-9b5d-daf69adcc6f3.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87759220-826f0f00-c840-11ea-955d-bf43525efb23.png"><img src="https://user-images.githubusercontent.com/12381829/87759220-826f0f00-c840-11ea-955d-bf43525efb23.png" alt="image" style="max-width: 100%;"></a></p> </li> </ul> <ol start="3" dir="auto"> <li> <p dir="auto">查看消费者日志,发现报错如下<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87760083-d29aa100-c841-11ea-9484-7abfa754d824.png"><img src="https://user-images.githubusercontent.com/12381829/87760083-d29aa100-c841-11ea-9484-7abfa754d824.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87760108-daf2dc00-c841-11ea-9df0-3e5303f17f25.png"><img src="https://user-images.githubusercontent.com/12381829/87760108-daf2dc00-c841-11ea-9df0-3e5303f17f25.png" alt="image" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87760132-e6460780-c841-11ea-80b1-c8da2a5ca0d2.png"><img src="https://user-images.githubusercontent.com/12381829/87760132-e6460780-c841-11ea-80b1-c8da2a5ca0d2.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">几分钟后,会循环打印下面截图所示错误日志<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12381829/87760015-beef3a80-c841-11ea-952e-5701477bd81b.png"><img src="https://user-images.githubusercontent.com/12381829/87760015-beef3a80-c841-11ea-952e-5701477bd81b.png" alt="image" style="max-width: 100%;"></a></p> </li> </ol> <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="2020-07-17 14:48:09,908 [com.alibaba.nacos.naming.client.listener] ERROR [c.a.c.d.s.DubboMetadataServi ceInvocationHandler] DubboMetadataServiceInvocationHandler.java:59 - [failed 5 times] Failed to invoke the method getExportedURLs in the service org.apache.dubbo.rpc.service.GenericService. Tried 3 times of the providers [172.30.2.17:20880] (1/1) from the registry localhost:9090 on the consumer 172.30.3.1 59 using the dubbo version 2.7.3. Last error is: Failed to invoke remote method: $invoke, provider: du bbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application= com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;deprecated=false&amp;dubbo=2.0. 2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;interface=com.alibaba.cloud.dubbo.service.Dub boMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllEx portedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.applicat ion=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;v ersion=1.0.0, cause: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/c om.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-servic e&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=tru e&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service. DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAl lExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.appli cation=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=159490111454 8&amp;version=1.0.0 org.apache.dubbo.rpc.RpcException: Failed to invoke the method getExportedURLs in the service org.apac he.dubbo.rpc.service.GenericService. Tried 3 times of the providers [172.30.2.17:20880] (1/1) from the registry localhost:9090 on the consumer 172.30.3.159 using the dubbo version 2.7.3. Last error is: Fa iled to invoke remote method: $invoke, provider: dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.ser vice.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind .port=20880&amp;check=false&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-se rvice&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceK eys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;reg ister.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;s ide=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0, cause: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService ?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;c odec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbe at=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServi ceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp; register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEAS E&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0 at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:113) at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:248) at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78) at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:55) at org.apache.dubbo.common.bytecode.proxy6.$invoke(proxy6.java) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.invoke(DubboMetadataServiceInvocationHandler.java:54) at com.sun.proxy.$Proxy138.getExportedURLs(Unknown Source) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.getExportedURLs(AbstractSpringCloudRegistry.java:338) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:272) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:195) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:188) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.dispatchServiceInstancesChangedEvent(DubboServiceDiscoveryAutoConfiguration.java:168) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.access$200(DubboServiceDiscoveryAutoConfiguration.java:105) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration$NacosConfiguration.lambda$subscribeEventListener$1(DubboServiceDiscoveryAutoConfiguration.java:551) at com.alibaba.nacos.client.naming.core.EventDispatcher$Notifier.run(EventDispatcher.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.dubbo.remoting.RemotingException: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0 at org.apache.dubbo.remoting.transport.AbstractClient.send(AbstractClient.java:175) at org.apache.dubbo.remoting.transport.AbstractPeer.send(AbstractPeer.java:53) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeChannel.request(HeaderExchangeChannel.java:118) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.request(HeaderExchangeClient.java:84) at org.apache.dubbo.rpc.protocol.dubbo.ReferenceCountExchangeClient.request(ReferenceCountExchangeClient.java:80) at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:97) at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:155) at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:52) at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78) at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:119) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:58) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:157) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82) ... 22 common frames omitted 2020-07-17 14:48:42,077 [dubbo-client-idleCheck-thread-1] INFO [o.a.d.r.exchange.support.header.ReconnectTimerTask] ReconnectTimerTask.java:48 - [DUBBO] Initial connection to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [172.30.3.159:0 -&gt; /172.30.2.17:20880]], dubbo version: 2.7.3, current host: 172.30.3.159 2020-07-17 14:48:45,084 [dubbo-client-idleCheck-thread-1] ERROR [o.a.d.r.exchange.support.header.ReconnectTimerTask] ReconnectTimerTask.java:51 - [DUBBO] Fail to connect to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [172.30.3.159:0 -&gt; /172.30.2.17:20880]], dubbo version: 2.7.3, current host: 172.30.3.159 org.apache.dubbo.remoting.RemotingException: client(url: dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0) failed to connect to server /172.30.2.17:20880 client-side timeout 3000ms (elapsed: 3002ms) from netty client 172.30.3.159 using dubbo version 2.7.3 at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:171) at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:190) at org.apache.dubbo.remoting.transport.AbstractClient.reconnect(AbstractClient.java:246) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.reconnect(HeaderExchangeClient.java:155) at org.apache.dubbo.remoting.exchange.support.header.ReconnectTimerTask.doTask(ReconnectTimerTask.java:49) at org.apache.dubbo.remoting.exchange.support.header.AbstractTimerTask.run(AbstractTimerTask.java:87) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:648) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:727) at org.apache.dubbo.common.timer.HashedWheelTimer$Worker.run(HashedWheelTimer.java:449) at java.lang.Thread.run(Thread.java:748)"><pre class="notranslate"><code class="notranslate">2020-07-17 14:48:09,908 [com.alibaba.nacos.naming.client.listener] ERROR [c.a.c.d.s.DubboMetadataServi ceInvocationHandler] DubboMetadataServiceInvocationHandler.java:59 - [failed 5 times] Failed to invoke the method getExportedURLs in the service org.apache.dubbo.rpc.service.GenericService. Tried 3 times of the providers [172.30.2.17:20880] (1/1) from the registry localhost:9090 on the consumer 172.30.3.1 59 using the dubbo version 2.7.3. Last error is: Failed to invoke remote method: $invoke, provider: du bbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application= com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;deprecated=false&amp;dubbo=2.0. 2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;interface=com.alibaba.cloud.dubbo.service.Dub boMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllEx portedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.applicat ion=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;v ersion=1.0.0, cause: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/c om.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-servic e&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=tru e&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service. DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAl lExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.appli cation=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=159490111454 8&amp;version=1.0.0 org.apache.dubbo.rpc.RpcException: Failed to invoke the method getExportedURLs in the service org.apac he.dubbo.rpc.service.GenericService. Tried 3 times of the providers [172.30.2.17:20880] (1/1) from the registry localhost:9090 on the consumer 172.30.3.159 using the dubbo version 2.7.3. Last error is: Fa iled to invoke remote method: $invoke, provider: dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.ser vice.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind .port=20880&amp;check=false&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-se rvice&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceK eys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;reg ister.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;s ide=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0, cause: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService ?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;c odec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbe at=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServi ceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp; register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEAS E&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0 at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:113) at org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:248) at org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:78) at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:55) at org.apache.dubbo.common.bytecode.proxy6.$invoke(proxy6.java) at com.alibaba.cloud.dubbo.service.DubboMetadataServiceInvocationHandler.invoke(DubboMetadataServiceInvocationHandler.java:54) at com.sun.proxy.$Proxy138.getExportedURLs(Unknown Source) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.getExportedURLs(AbstractSpringCloudRegistry.java:338) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry.subscribeDubboServiceURL(AbstractSpringCloudRegistry.java:272) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:195) at com.alibaba.cloud.dubbo.registry.AbstractSpringCloudRegistry$1.onApplicationEvent(AbstractSpringCloudRegistry.java:188) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:402) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:359) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.dispatchServiceInstancesChangedEvent(DubboServiceDiscoveryAutoConfiguration.java:168) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration.access$200(DubboServiceDiscoveryAutoConfiguration.java:105) at com.alibaba.cloud.dubbo.autoconfigure.DubboServiceDiscoveryAutoConfiguration$NacosConfiguration.lambda$subscribeEventListener$1(DubboServiceDiscoveryAutoConfiguration.java:551) at com.alibaba.nacos.client.naming.core.EventDispatcher$Notifier.run(EventDispatcher.java:128) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.dubbo.remoting.RemotingException: message can not send, because channel is closed . url:dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0 at org.apache.dubbo.remoting.transport.AbstractClient.send(AbstractClient.java:175) at org.apache.dubbo.remoting.transport.AbstractPeer.send(AbstractPeer.java:53) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeChannel.request(HeaderExchangeChannel.java:118) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.request(HeaderExchangeClient.java:84) at org.apache.dubbo.rpc.protocol.dubbo.ReferenceCountExchangeClient.request(ReferenceCountExchangeClient.java:80) at org.apache.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:97) at org.apache.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:155) at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:52) at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78) at org.apache.dubbo.rpc.filter.GenericImplFilter.invoke(GenericImplFilter.java:119) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:54) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:58) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:157) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:82) ... 22 common frames omitted 2020-07-17 14:48:42,077 [dubbo-client-idleCheck-thread-1] INFO [o.a.d.r.exchange.support.header.ReconnectTimerTask] ReconnectTimerTask.java:48 - [DUBBO] Initial connection to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [172.30.3.159:0 -&gt; /172.30.2.17:20880]], dubbo version: 2.7.3, current host: 172.30.3.159 2020-07-17 14:48:45,084 [dubbo-client-idleCheck-thread-1] ERROR [o.a.d.r.exchange.support.header.ReconnectTimerTask] ReconnectTimerTask.java:51 - [DUBBO] Fail to connect to HeaderExchangeClient [channel=org.apache.dubbo.remoting.transport.netty4.NettyClient [172.30.3.159:0 -&gt; /172.30.2.17:20880]], dubbo version: 2.7.3, current host: 172.30.3.159 org.apache.dubbo.remoting.RemotingException: client(url: dubbo://172.30.2.17:20880/com.alibaba.cloud.dubbo.service.DubboMetadataService?anyhost=true&amp;application=com-petkit-message-service&amp;bind.ip=172.30.2.17&amp;bind.port=20880&amp;check=false&amp;codec=dubbo&amp;deprecated=false&amp;dubbo=2.0.2&amp;dynamic=true&amp;generic=true&amp;group=com-petkit-sms-service&amp;heartbeat=60000&amp;interface=com.alibaba.cloud.dubbo.service.DubboMetadataService&amp;lazy=false&amp;methods=getAllServiceKeys,getServiceRestMetadata,getExportedURLs,getAllExportedURLs&amp;pid=6&amp;qos.enable=false&amp;register=true&amp;register.ip=172.30.3.159&amp;release=2.7.3&amp;remote.application=com-petkit-sms-service&amp;revision=2.1.1.RELEASE&amp;side=consumer&amp;sticky=false&amp;timestamp=1594901114548&amp;version=1.0.0) failed to connect to server /172.30.2.17:20880 client-side timeout 3000ms (elapsed: 3002ms) from netty client 172.30.3.159 using dubbo version 2.7.3 at org.apache.dubbo.remoting.transport.netty4.NettyClient.doConnect(NettyClient.java:171) at org.apache.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:190) at org.apache.dubbo.remoting.transport.AbstractClient.reconnect(AbstractClient.java:246) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient.reconnect(HeaderExchangeClient.java:155) at org.apache.dubbo.remoting.exchange.support.header.ReconnectTimerTask.doTask(ReconnectTimerTask.java:49) at org.apache.dubbo.remoting.exchange.support.header.AbstractTimerTask.run(AbstractTimerTask.java:87) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:648) at org.apache.dubbo.common.timer.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:727) at org.apache.dubbo.common.timer.HashedWheelTimer$Worker.run(HashedWheelTimer.java:449) at java.lang.Thread.run(Thread.java:748) </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.6</li> <li>Operating System version: windows、ubuntu</li> <li>Java version: 11</li> <li>Spring Boot version:2.2.6.RELEASE</li> <li>Spring Cloud version:Hoxton.RELEASE</li> <li>Spring Cloud Alibaba version:2.2.1.RELEASE</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li> <p dir="auto">如果现在有2个consumer,2个provider,如图:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7941760/93584757-54d94a00-f9d8-11ea-9b2b-0171c4259998.png"><img src="https://user-images.githubusercontent.com/7941760/93584757-54d94a00-f9d8-11ea-9b2b-0171c4259998.png" alt="image" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">现打算对部分接口进行不兼容升级:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7941760/93584947-a5e93e00-f9d8-11ea-932a-c0c244ab9a27.png"><img src="https://user-images.githubusercontent.com/7941760/93584947-a5e93e00-f9d8-11ea-932a-c0c244ab9a27.png" alt="image" style="max-width: 100%;"></a></p> </li> </ol> <p dir="auto">3.升级之后,根据版本号匹配的原则,consumer1应该只会refer到provider1,原来的consumer2只会refer到provider2。</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?<br> consumer1应该只会refer到provider1,原来的consumer2只会refer到provider2。</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">从源码来看,服务引入的过程似乎和版本没有关系。<br> 1、在AbstractSpringCloudRegistry.subscribeDubboServiceURL方法中,有这样一段:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="List&lt;URL&gt; exportedURLs = getExportedURLs(dubboMetadataService, url); for (URL exportedURL : exportedURLs) { String protocol = exportedURL.getProtocol(); List&lt;URL&gt; subscribedURLs = new LinkedList&lt;&gt;(); serviceInstances.forEach(serviceInstance -&gt; { Integer port = repository.getDubboProtocolPort(serviceInstance, protocol); String host = serviceInstance.getHost(); if (port == null) { if (logger.isWarnEnabled()) { logger.warn( &quot;The protocol[{}] port of Dubbo service instance[host : {}] &quot; + &quot;can't be resolved&quot;, protocol, host); } } else { URL subscribedURL = new URL(protocol, host, port, exportedURL.getParameters()); subscribedURLs.add(subscribedURL); } }); allSubscribedURLs.addAll(subscribedURLs); }"><pre class="notranslate"><code class="notranslate">List&lt;URL&gt; exportedURLs = getExportedURLs(dubboMetadataService, url); for (URL exportedURL : exportedURLs) { String protocol = exportedURL.getProtocol(); List&lt;URL&gt; subscribedURLs = new LinkedList&lt;&gt;(); serviceInstances.forEach(serviceInstance -&gt; { Integer port = repository.getDubboProtocolPort(serviceInstance, protocol); String host = serviceInstance.getHost(); if (port == null) { if (logger.isWarnEnabled()) { logger.warn( "The protocol[{}] port of Dubbo service instance[host : {}] " + "can't be resolved", protocol, host); } } else { URL subscribedURL = new URL(protocol, host, port, exportedURL.getParameters()); subscribedURLs.add(subscribedURL); } }); allSubscribedURLs.addAll(subscribedURLs); } </code></pre></div> <p dir="auto">可以看出,该段代码从dubboMetadataService获取exportedURLs,然后遍历所有的provider serviceInstance,生成最终的allSubscribedURLs。<br> 然后跟踪dubboMetadataService的代码,在DubboServiceMetadataRepository.initSubscribedDubboMetadataService中有这样一段:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Optional&lt;ServiceInstance&gt; optionalServiceInstance = metadataServiceInstanceSelector .choose(discoveryClient.getInstances(serviceName)); if (!((Optional) optionalServiceInstance).isPresent()) { return false; } ServiceInstance serviceInstance = optionalServiceInstance.get(); if (null == serviceInstance) { return false; }"><pre class="notranslate"><code class="notranslate">Optional&lt;ServiceInstance&gt; optionalServiceInstance = metadataServiceInstanceSelector .choose(discoveryClient.getInstances(serviceName)); if (!((Optional) optionalServiceInstance).isPresent()) { return false; } ServiceInstance serviceInstance = optionalServiceInstance.get(); if (null == serviceInstance) { return false; } </code></pre></div> <p dir="auto">这里仅仅是从discoveryClient.getInstances(serviceName)返回的provider实例中随机选取了一个(stream.findAny())实例,然后用来作为获取dubboMetadataServiceURL的实例。这样看的话,consumer要根据版本号调用匹配版本号的provider似乎并不能实现,而在实际使用中也发现,在以下场景下:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7941760/93586439-e5b12500-f9da-11ea-8822-0c2ac4d21941.png"><img src="https://user-images.githubusercontent.com/7941760/93586439-e5b12500-f9da-11ea-8822-0c2ac4d21941.png" alt="image" style="max-width: 100%;"></a><br> 如果consumer1在服务引用时,选择的dubboMetadataService是provider1时,最终consumer1引用的invokers会包含provider1和provider2,导致调用会有50%的几率成功。<br> 如果consumer1在服务引用时,选择的dubboMetadataService是provider2时,最终consumer1引用的invokers是空的,导致调用会100%失败。</p>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting"><pre class="notranslate"><code class="notranslate">[x ] bug report =&gt; search github for a similar issue or PR before submitting </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">I am currently working on a project based on <a href="https://github.com/AngularClass/angular2-webpack-starter">https://github.com/AngularClass/angular2-webpack-starter</a>. Everything is working fin in dev deployement (npm run server:dev ).</p> <p dir="auto">But after a <code class="notranslate">npm run build:prod</code> and <code class="notranslate">npm run server:prod</code> when I try to access to my app I have this js error :</p> <p dir="auto"><a href="http://pasteboard.co/9llDiJNGv.png" rel="nofollow">http://pasteboard.co/9llDiJNGv.png</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function _split(t) { return t.match(c) }"><pre class="notranslate"><code class="notranslate">function _split(t) { return t.match(c) } </code></pre></div> <p dir="auto">Currently after pretty print in chrome the error seem to be an error in my component routing somewhere. I will investigate more but I post this issue because is not normal that my code is working in dev but not in prod. If I find why I will post the answers here.</p> <p dir="auto">Currently my routing look like:<br> app.routes.ts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export const ROUTES: Routes = [ { path: '', loadChildren: './app/&lt;componentName&gt;/&lt;componentName&gt;.module#&lt;componentName&gt;Module' }, { path: '**', component: NoContent }, ];"><pre class="notranslate"><code class="notranslate">export const ROUTES: Routes = [ { path: '', loadChildren: './app/&lt;componentName&gt;/&lt;componentName&gt;.module#&lt;componentName&gt;Module' }, { path: '**', component: NoContent }, ]; </code></pre></div> <p dir="auto">.routing.ts:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const routes: Routes = [ { path: &quot;&quot;, component: &lt;componentName&gt;Component, children: [ { path:&quot;&quot;, component: &lt;componentName&gt;ListComponent}, { path:&quot;&lt;componentName2&gt;&quot;, component: &lt;componentName2&gt;}, { path:&quot;&lt;componentName3&gt;&quot;, component: &lt;componentName3&gt;}, { path:&quot;&lt;componentName4&gt;&quot;, component: &lt;componentName4&gt;}, { path:&quot;&lt;componentName5&gt;&quot;, component: &lt;componentName5&gt;}, ] } ];"><pre class="notranslate"><code class="notranslate">const routes: Routes = [ { path: "", component: &lt;componentName&gt;Component, children: [ { path:"", component: &lt;componentName&gt;ListComponent}, { path:"&lt;componentName2&gt;", component: &lt;componentName2&gt;}, { path:"&lt;componentName3&gt;", component: &lt;componentName3&gt;}, { path:"&lt;componentName4&gt;", component: &lt;componentName4&gt;}, { path:"&lt;componentName5&gt;", component: &lt;componentName5&gt;}, ] } ]; </code></pre></div> <p dir="auto"><strong>Expected behavior</strong><br> No javascript error and my app working like in dev mode</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> Can't see how.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Having a working app</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> All operating system<br> IDE -&gt; webstorm 2016.2.3<br> package manager -&gt; npm<br> HTTP server -&gt; node (windows) and nginx(linux)</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0</li> <li><strong>Browser:</strong> [all ]</li> <li><strong>Language:</strong> [TypeScript 2.0.3]</li> <li><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = v6.6.0 and v6.7.0</li> </ul>
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; 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 =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">Accessing a local components instance inside of a dynamically added component doesn't work. i.e. I load a component inside of an ngSwitch and then I want to reference the components instance to a local variable. However this doesn't seem to work.</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">You should be able to access any local components instance.</p> <p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p> <p dir="auto"><a href="http://plnkr.co/edit/jKpVgdErsJc7VwVexIvq?p=preview" rel="nofollow">http://plnkr.co/edit/jKpVgdErsJc7VwVexIvq?p=preview</a><br> Click the "Access foo" button - you'll see the inner instance of the foo component logged, but outside of the ngSwitch it cannot be accessed.</p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p> <p dir="auto">I'm guessing this is caused by the way *ngSwitchCase desugar's to a template tag, however it's not very obvious that this is the case by looking at the html structure. I'd expect to be able to create a local variable and reference it anywhere else in the components template.</p> <p dir="auto"><strong>Please tell us about your environment:</strong></p> <p dir="auto">N/A</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.X</li> </ul> <p dir="auto">2.4.4</p> <ul dir="auto"> <li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li> </ul> <p dir="auto">All</p> <ul dir="auto"> <li> <p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br> Typescript</p> </li> <li> <p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =<br> N/A</p> </li> </ul>
0
<h3 dir="auto">Bug summary</h3> <p dir="auto">On Windows, but not on Linux, with Python 3.9.<strong>8</strong> installed, key_press_events both work for the two examples from the MPL documentation:</p> <p dir="auto"><a href="https://matplotlib.org/stable/gallery/event_handling/keypress_demo.html?highlight=key_press_event" rel="nofollow">Keypress demo</a></p> <p dir="auto"><a href="https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_tk_sgskip.html" rel="nofollow">Embedding TkInter demo</a></p> <p dir="auto">The "Keypress demo" will <strong>not</strong> work with a clean install of Python 3.9.<strong>9</strong> (i.e one not upgraded from an earlier Python 3.9.x release. Deleting a previous install <strong>and</strong> obliterating the install directory is fine. Just upgrading, or uninstalling without obliteration, are not enough.</p> <p dir="auto">The problem exists in Python 3.10 on Windows.</p> <p dir="auto">The problem is not there for the Qt5Agg backend.</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="1. Perform a clean install of Python 3.9.9 on Windows. 2. Install matplotlib. 3. Copy the code from the [Keypress demo](https://matplotlib.org/stable/gallery/event_handling/keypress_demo.html?highlight=key_press_event) in to a file. 4. Run it. 5. Press some keys. 5. Note stdout."><pre class="notranslate"><span class="pl-c1">1.</span> <span class="pl-v">Perform</span> <span class="pl-s1">a</span> <span class="pl-s1">clean</span> <span class="pl-s1">install</span> <span class="pl-s1">of</span> <span class="pl-v">Python</span> <span class="pl-c1">3.9</span>.<span class="pl-c1">9</span> <span class="pl-s1">on</span> <span class="pl-v">Windows</span>. <span class="pl-c1">2.</span> <span class="pl-v">Install</span> <span class="pl-s1">matplotlib</span>. <span class="pl-c1">3.</span> <span class="pl-v">Copy</span> <span class="pl-s1">the</span> <span class="pl-s1">code</span> <span class="pl-s1">from</span> <span class="pl-s1">the</span> [<span class="pl-v">Keypress</span> <span class="pl-s1">demo</span>](<span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">matplotlib</span>.<span class="pl-s1">org</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">/</span><span class="pl-s1">gallery</span><span class="pl-c1">/</span><span class="pl-s1">event_handling</span><span class="pl-c1">/</span><span class="pl-s1">keypress_demo</span>.<span class="pl-s1">html</span>?<span class="pl-s1">highlight</span><span class="pl-c1">=</span><span class="pl-s1">key_press_event</span>) <span class="pl-c1">in</span> <span class="pl-s1">to</span> <span class="pl-s1">a</span> <span class="pl-s1">file</span>. <span class="pl-c1">4.</span> <span class="pl-v">Run</span> <span class="pl-s1">it</span>. <span class="pl-c1">5.</span> <span class="pl-v">Press</span> <span class="pl-s1">some</span> <span class="pl-s1">keys</span>. <span class="pl-c1">5.</span> <span class="pl-v">Note</span> <span class="pl-s1">stdout</span>.</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto">Stdout will be empty.</p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">Stdout should say things like:</p> <p dir="auto">press a<br> press a<br> press a<br> press a<br> press a<br> press a<br> press b<br> press c<br> press d<br> press e</p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Windows</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">Any I've tested from 3.3.0 up to 3.5.1</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">TkAgg</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.9.9</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto">n/a</p> <h3 dir="auto">Installation</h3> <p dir="auto">pip</p>
<h3 dir="auto">Bug summary</h3> <p dir="auto">mpl with py3.10.1 - Interactive figures - Constrain pan/zoom to x/y axis not work</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="Simple Plot https://matplotlib.org/stable/gallery/lines_bars_and_markers/simple_plot.html"><pre class="notranslate"><span class="pl-v">Simple</span> <span class="pl-v">Plot</span> <span class="pl-s1">https</span>:<span class="pl-c1">//</span><span class="pl-s1">matplotlib</span>.<span class="pl-s1">org</span><span class="pl-c1">/</span><span class="pl-s1">stable</span><span class="pl-c1">/</span><span class="pl-s1">gallery</span><span class="pl-c1">/</span><span class="pl-s1">lines_bars_and_markers</span><span class="pl-c1">/</span><span class="pl-s1">simple_plot</span>.<span class="pl-s1">html</span></pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto">Interactive figures - Constrain pan/zoom to x/y axis not work</p> <p dir="auto">Despite the key being pressed, both axes change</p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">i expect the functionality:</p> <p dir="auto">Navigation keyboard shortcuts</p> <p dir="auto"><a href="https://matplotlib.org/stable/users/explain/interactive.html" rel="nofollow">https://matplotlib.org/stable/users/explain/interactive.html</a></p> <p dir="auto">Constrain pan/zoom to x axis - hold x when panning/zooming with mouse<br> Constrain pan/zoom to y axis - hold y when panning/zooming with mouse</p> <h3 dir="auto">Additional information</h3> <p dir="auto">I've tested a few versions:</p> <p dir="auto">py 3.8 + mpl 3.4.1 and 3.5.1 o.k.<br> py 3.9 + mpl 3.4.1 and 3.5.1 o.k.</p> <p dir="auto">but:</p> <p dir="auto">py 3.10.1 + mpl 3.4.1 and 3.5.1 --&gt; Constrain pan/zoom only to x or y axis NOT WORK !</p> <p dir="auto">What is the reason?</p> <p dir="auto">Thank you</p> <h3 dir="auto">Operating system</h3> <p dir="auto">Win 10</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">different 3.4.1 ... 3.5.1</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">TkAgg</p> <h3 dir="auto">Python version</h3> <p dir="auto">Python 3.10.1</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
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Win 10 1909 18363.900] PowerToys version: 0.19.1 PowerToy module for which you are reporting the bug (if applicable): FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: [Win 10 1909 18363.900] PowerToys version: 0.19.1 PowerToy module for which you are reporting the bug (if applicable): FancyZones </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Long version:</p> <ol dir="auto"> <li>Open a Chromium based browser (I use Brave) and open a few tabs in a few separate windows.</li> <li>Right click on the icon in the taskbar and select "Close all windows"</li> <li>Open the browser again (it just opens a new tab according to my settings) then use the CTRL+SHIFT+T keyboard shortcut to re-open the closed tabs from the last session.</li> <li>This will open each of the separate windows with their tabs per press on the letter T.</li> <li>Now each of those windows (with a few tabs) will not be snapped into the zone their parent window (the one from step 3)</li> </ol> <p dir="auto">Short version :</p> <ol dir="auto"> <li>open a browser window</li> <li>snap it to a zone</li> <li>open a new window from the hamburger menu or SHIFT+click a link/bookmark</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The newly created or re-opened browser windows (with tabs) should snap into the zone that is assigned to the browser.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">The newly created or re-opened browser windows (with tabs) are not snapped to anything, they are just arranged close enough of their parent window</p> <h1 dir="auto">Screenshots</h1>
<p dir="auto">Despite having turned on "Move newly created windows to their last know zone", ever since 0.19 and still in 0.19.1 when a new PDF document opens, fancy zones will not snap the pdf to the same zone. When the new document is opened in a new tab within Acrobat reader, Acrobat moves to a new location and shrinks to what I assume is Acrobat's default positioning / size for new documents.<br> Other details:</p> <ul dir="auto"> <li>Will snap to last known zone on the same monitor of the Windows Explorer window where the document is being opened, but only when opening a whole new instance of Acrobat. When snapping to the zone in this case, it quickly flashes in the other on the before moving to the new second monitor and zone.</li> <li>If Acrobat is open and the new document is opened in a new tab, it relocates Acrobat to the window, size and location that I can only guess is Acrobat's default setting, even if that is on a different monitor.</li> <li>Issue persists if Acrobat settings changed to open each document in a new window (turn off tabs). The first instance opens in the last known zone in the same monitor as Window Explorer. The second and subsequent instances opens in the same monitor, but with the smaller size and location as described above (not snapped to the zone).</li> <li>Zone behavior settings attached.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/65986687/87237625-705b1f80-c3ad-11ea-813b-a62c0a0f8e52.png"><img src="https://user-images.githubusercontent.com/65986687/87237625-705b1f80-c3ad-11ea-813b-a62c0a0f8e52.png" alt="Zone Behavior settings" style="max-width: 100%;"></a></li> </ul>
1
<ul dir="auto"> <li>VSCode Version: 1.1.1</li> <li>OS Version: Any</li> </ul> <p dir="auto">This is a request for the <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp" rel="nofollow">C# Extension</a>. Essentially, the extension needs platform-specific native binaries in order to function (both for debugging support and OmniSharp for language server support). It does this by acquiring the binaries during the extension's first activation, rather than during installation. So, the user experience for installation is a bit awkward:</p> <ol dir="auto"> <li>Install C# Extension</li> <li>VS Code prompts to restart after successful installation</li> <li>User restarts VS Code and opens a C# project</li> <li>User waits after the "installed" extension finishes installing itself by acquiring native dependencies</li> </ol> <p dir="auto">To make matters worse, in order to acquire the native dependencies, the extension essentially has to copy code from VS Code in order to handle HTTP proxies correctly (see <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/dotnet/vscode-csharp/commit/b8f01e4dffd3e1208e08ded719f09c365416f9b1/hovercard" href="https://github.com/dotnet/vscode-csharp/commit/b8f01e4dffd3e1208e08ded719f09c365416f9b1">dotnet/vscode-csharp@<tt>b8f01e4</tt></a>).</p>
<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128487208" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/2218" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/2218/hovercard" href="https://github.com/microsoft/vscode/issues/2218">#2218</a></p> <ul dir="auto"> <li>no <code class="notranslate">jsconfig.json</code></li> </ul> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="exports.something = function() { return true; } function test() { }"><pre class="notranslate"><span class="pl-s1">exports</span><span class="pl-kos">.</span><span class="pl-en">something</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5047891/12610977/cef3df08-c4ea-11e5-9337-a7d59190b1f2.gif"><img src="https://cloud.githubusercontent.com/assets/5047891/12610977/cef3df08-c4ea-11e5-9337-a7d59190b1f2.gif" alt="salsa-duplicate-outline" data-animated-image="" style="max-width: 100%;"></a></p>
0
<p dir="auto">Could we add <code class="notranslate">Bool</code> to the list of types supported by <code class="notranslate">Threads.Atomic</code>? Currently atomics only supports int types and float types, but I don't see any reason why it couldn't also support booleans! :)</p> <p dir="auto">For now as a workaround, you have to use an <code class="notranslate">x = Threads.Atomic{UInt8}</code> and always check <code class="notranslate">if x != 0</code> instead of just <code class="notranslate">if x</code>.</p> <p dir="auto">I couldn't find either a github issue or discourse thread about this already, sorry if this is a duplicate. Thanks! :)</p>
<p dir="auto">The following syntax doesn't work for macros (but does for functions):</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; macro foo(a, b::Bool=true) a, b end ERROR: syntax: &quot;(kw (:: b Bool) #t)&quot; is not a valid function argument name julia&gt; function foo(a, b::Bool=true) #works for functions a, b end foo (generic function with 2 methods) julia&gt; foo(1) (1,true)"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-k">macro</span> <span class="pl-en">foo</span>(a, b<span class="pl-k">::</span><span class="pl-c1">Bool</span><span class="pl-k">=</span><span class="pl-c1">true</span>) a, b <span class="pl-k">end</span> ERROR<span class="pl-k">:</span> syntax<span class="pl-k">:</span> <span class="pl-s"><span class="pl-pds">"</span>(kw (:: b Bool) #t)<span class="pl-pds">"</span></span> is not a valid <span class="pl-k">function</span> argument name julia<span class="pl-k">&gt;</span> <span class="pl-k">function</span> <span class="pl-en">foo</span>(a, b<span class="pl-k">::</span><span class="pl-c1">Bool</span><span class="pl-k">=</span><span class="pl-c1">true</span>) <span class="pl-c"><span class="pl-c">#</span>works for functions</span> a, b <span class="pl-k">end</span> foo (generic <span class="pl-k">function</span> with <span class="pl-c1">2</span> methods) julia<span class="pl-k">&gt;</span> <span class="pl-c1">foo</span>(<span class="pl-c1">1</span>) (<span class="pl-c1">1</span>,<span class="pl-c1">true</span>)</pre></div>
0
<p dir="auto">Please go to Stack Overflow for help and support:</p> <p dir="auto"><a href="https://stackoverflow.com/questions/tagged/tensorflow" rel="nofollow">https://stackoverflow.com/questions/tagged/tensorflow</a></p> <p dir="auto">If you open a GitHub issue, here is our policy:</p> <ol dir="auto"> <li>It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).</li> <li>The form below must be filled out.</li> <li>It shouldn't be a TensorBoard issue. Those go <a href="https://github.com/tensorflow/tensorboard/issues">here</a>.</li> </ol> <p dir="auto"><strong>Here's why we have that policy</strong>: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.</p> <hr> <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>: N/A</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Ubuntu 16.04</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Source</li> <li><strong>TensorFlow version (use command below)</strong>: 1.6.0</li> <li><strong>Python version</strong>: 2.7/3.5</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>: 9.0/7</li> <li><strong>GPU model and memory</strong>: NVidia GeForce 1060 6GB</li> <li><strong>Exact command to reproduce</strong>:</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package "><pre class="notranslate"><code class="notranslate">bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package </code></pre></div> <p dir="auto">You can collect some of this information using our environment capture script:</p> <p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p> <p dir="auto">You can obtain the TensorFlow version with</p> <p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p> <p dir="auto">I had an issue when trying to build due to the broken nasm link in <code class="notranslate">tensorflow/workspace.bzl</code>.</p> <p dir="auto">I was trying to build tensorflow from source (Ubuntu 16.04, x64). I checked out r1.6. I am following all of the instructions in the install guide. Everything seems to work fine. Once bazel is installed and I run the build command and I receive a error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="no such package '@nasm//': java.io.IOException: Error downloading [https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.12.02/nasm-2.12.02.tar.bz2, http://pkgs.fedoraproject.org/repo/pkgs/nasm/nasm-2.12.02.tar.bz2/d15843c3fb7db39af80571ee27ec6fad/nasm-2.12.02.tar.bz2]"><pre class="notranslate"><code class="notranslate">no such package '@nasm//': java.io.IOException: Error downloading [https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.12.02/nasm-2.12.02.tar.bz2, http://pkgs.fedoraproject.org/repo/pkgs/nasm/nasm-2.12.02.tar.bz2/d15843c3fb7db39af80571ee27ec6fad/nasm-2.12.02.tar.bz2] </code></pre></div> <p dir="auto">The build is unable to continue at this point. I've run it multiple times, all with the same error. I've found that this is because there is only one working mirror link for the nasm package inside of the bazel config.</p> <p dir="auto">I can confirm that link <a href="http://pkgs.fedoraproject.org/repo/pkgs/nasm/nasm-2.12.02.tar.bz2/d15843c3fb7db39af80571ee27ec6fad/nasm-2.12.02.tar.bz2" rel="nofollow">http://pkgs.fedoraproject.org/repo/pkgs/nasm/nasm-2.12.02.tar.bz2/d15843c3fb7db39af80571ee27ec6fad/nasm-2.12.02.tar.bz2</a> is dead (403 response). Adding another mirror such as "<a href="http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/nasm-2.12.02.tar.bz2" rel="nofollow">http://www.nasm.us/pub/nasm/releasebuilds/2.12.02/nasm-2.12.02.tar.bz2</a>" to <code class="notranslate">tensorflow/workspace.bzl</code> allowed the build to continue This is all done on the r1.6 branch</p> <p dir="auto">Note this is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="295491137" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/16862" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/16862/hovercard" href="https://github.com/tensorflow/tensorflow/issues/16862">#16862</a></p> <p dir="auto">In order to repro just try to build tensorflow from source using the instructions at <a href="https://www.tensorflow.org/install/install_sources" rel="nofollow">https://www.tensorflow.org/install/install_sources</a> while working on the r1.6 branch.</p> <p dir="auto">--</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p>
<p dir="auto">no such package '@nasm//': java.io.IOException: Error downloading [https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.12.02/nasm-2.12.02.tar.bz2, http://pkgs.fedoraproject.org/repo/pkgs/nasm/nasm-2.12.02.tar.bz2/d15843c3fb7db39af80571ee27ec6fad/nasm-2.12.02.tar.bz2]</p>
1
<p dir="auto">According to the task second element of each "well" has to bounce while the code check whether "target" have "animated" and "bounce" classes added.<br> I added the following code and now I'm allowed to go to the next challenge:<br> $(".target:nth-child(2)").addClass("animated bounce");</p>
<p dir="auto">Challenge [iterate-over-arrays-with-map]</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var oldArray = [1,2,3,4,5];"><pre class="notranslate"><code class="notranslate">var oldArray = [1,2,3,4,5]; </code></pre></div> <p dir="auto">// Only change code below this line.<br> var newArray = oldArray.map(function(val){<br> return val+ 3;<br> });</p>
0
<ol dir="auto"> <li>There are examples in the repo for loading a pre-trained model in C++. Can someone add an example to train a simple 1 hidden layer fully connected neural net (or even logistic regression using SGD) in C++?</li> <li>I realize there is no publicly available support for auto differentiation in C++. Are there any plans to do so?</li> </ol>
<p dir="auto">I have started <a href="https://github.com/kmalakoff/tensorflow-node">porting Tensorflow to Node.js</a> and was wondering about the status of gradients support in the C and C++ APIs:</p> <ul dir="auto"> <li><a href="https://www.tensorflow.org/versions/r0.12/how_tos/language_bindings/index.html" rel="nofollow">https://www.tensorflow.org/versions/r0.12/how_tos/language_bindings/index.html</a></li> <li><a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/resources/roadmap.md">https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/resources/roadmap.md</a></li> </ul> <p dir="auto">Could I ask for some help and / or offer some assistance? A couple of ideas:</p> <ol dir="auto"> <li>I would be happy to test the work-in-progress API in Node.js using either of both <a href="https://github.com/kmalakoff/tensorflow-node/tree/master/src/native/c">C</a> or <a href="https://github.com/kmalakoff/tensorflow-node/tree/master/src/native/cc">C++</a>. I have tried both APIs and would be happy to maintain both as a test case.</li> <li>I would be happy to receive some guidance from someone on the tensorflow team on how to implement gradients / training without an official API. I see from this issue (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177892952" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/4473" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/4473/hovercard" href="https://github.com/tensorflow/tensorflow/issues/4473">#4473</a>) that it might be possible, but it has been hard to study the Python and OCAML code to understand what to do. Some pseudocode or links to existing code that would need to replicated could be enough.</li> <li>Something else? For example, I could help move the gradient API forward by working with someone on the tensorflow team.</li> </ol> <p dir="auto">Let me know if you have any suggestions for a path forward. Thank you!</p>
1
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Feature Idea</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">ansible 1.5.4</p> <h5 dir="auto">Environment:</h5> <p dir="auto">Debian 7</p> <h5 dir="auto">Summary:</h5> <p dir="auto">Hi I'm using Debian and miss to be able to nicely add conditions which incorporates the state of a package, ie only run a command if a package is not installed. (in my caste debconf commands should only be run if the package is not installed)</p> <p dir="auto">Got the idea from: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="31013808" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/6886" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/6886/hovercard" href="https://github.com/ansible/ansible/issues/6886">#6886</a> where a condition with debconf will always be "changed"</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">not able to retrieve status of a package to a variable today.</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">something like this below but you proably know syntax better than me :)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible -m apt -a name=mysql-server state=facts"><pre class="notranslate"><code class="notranslate">ansible -m apt -a name=mysql-server state=facts </code></pre></div> <p dir="auto">which would give me a variable back with the status if its installed or not.<br> With this variable I can then run a command based upon if the package is missing or not. (when: variable=true) from my playbook.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">not able to retrieve status of a package to a variable</p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">Tags</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">hi, it would be very usefull if we could combine tags to restrict the execution on some task which have all the tags, instead of the union.</p> <p dir="auto">That could be done with this kind of arguments:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook -i &quot;localhost,&quot; -c local playbook.yml --tags=tag1 --tags=tag2 --tag-strategy=intersection"><pre class="notranslate"><code class="notranslate">ansible-playbook -i "localhost," -c local playbook.yml --tags=tag1 --tags=tag2 --tag-strategy=intersection </code></pre></div> <p dir="auto">And it would execute only the task with both tags.</p> <p dir="auto">The same could be done with the skip-tags property.</p> <p dir="auto">Thanks for your feedback.</p>
0
<p dir="auto">Transformers has a Do Repeat Yourself policy in the sense that it does not provide building blocks that we then mix and match, but we strive to have each model be self-contained in terms of code, at the price of code duplication. You can find more about this philosophy in <a href="https://huggingface.co/blog/transformers-design-philosophy" rel="nofollow">this blog post</a>.</p> <p dir="auto">There are instances in the library (mostly with older models) where this is not respected. This issue will serve as a tracker for all those instances, so that the library is cleaner and each model/tokenizer/config is easier to tweak by itself. This will also make it easier for us to test individual models in autonomy.</p> <p dir="auto">If you wish to make a contribution to Transformers, you can help! Pick a config/model/tokenizer in the list below (double-check someone is not working on it already by searching this page!) and indicate with a comment that wish to work on it. Read our <a href="https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md">contributing guide</a> as well as the section below, and once you are ready, open a PR and tag <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a> on it.</p> <h2 dir="auto">How to remove a dependency from another model</h2> <p dir="auto">There are two different types of dependencies: either a configuration/model/tokenizer uses an intermediate object from another model (example: some tokenizer uses the <code class="notranslate">BasicTokenizer</code> defined in the <code class="notranslate">tokenization_bert</code> module, or it subclasses another configuration/model/tokenizer.</p> <p dir="auto">In the first case, the object code should just be copied inside the file, with a "Copied from" statement. This will make sure that code is always kept up to date even if the basic object is modified. For instance, if a tokenizer is using <code class="notranslate">BasicTokenizer</code>, go copy the code in <code class="notranslate">tokenization_bert</code> for that class, then paste it in the tokenizer module you are treating and add the following copied from comment:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Copied from transformers.models.bert.tokenization_bert.BasicTokenizer class BasicTokenizer(object): ..."><pre class="notranslate"><span class="pl-c"># Copied from transformers.models.bert.tokenization_bert.BasicTokenizer</span> <span class="pl-k">class</span> <span class="pl-v">BasicTokenizer</span>(<span class="pl-s1">object</span>): ...</pre></div> <p dir="auto">In the second case, the code of the class (and all its building blocks) should be copied and renamed to be prefixed by the model: for instance if you are copying code from the modeling_bert module to build Roberta, you replace all <code class="notranslate">BertLayer</code>, <code class="notranslate">BertOutput</code> etc... by <code class="notranslate">RobertaLayer</code>, <code class="notranslate">RobertaOutput</code>...<br> You should then add a copied from statement (when the copy is without any modification) like this one:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Copied from transformers.models.bert.modeling_bert.BertAttention with Bert-&gt;Roberta class RobertaAttention(nn.Module): ..."><pre class="notranslate"><span class="pl-c"># Copied from transformers.models.bert.modeling_bert.BertAttention with Bert-&gt;Roberta</span> <span class="pl-k">class</span> <span class="pl-v">RobertaAttention</span>(<span class="pl-s1">nn</span>.<span class="pl-v">Module</span>): ...</pre></div> <p dir="auto">Note the replacement pattern that will adapt all names used. Note that:</p> <ul dir="auto"> <li>you can add more of those patterns, separated by a comma like <a href="https://github.com/huggingface/transformers/blob/c28d04e9e252a1a099944e325685f14d242ecdcd/src/transformers/models/blenderbot_small/modeling_blenderbot_small.py#L1388">here</a>.</li> <li>you can ask to replace all possible casings like <a href="https://github.com/huggingface/transformers/blob/c28d04e9e252a1a099944e325685f14d242ecdcd/src/transformers/models/mobilebert/modeling_mobilebert.py#L1549">here</a></li> <li>you can just copy one method and not the whole class like <a href="https://github.com/huggingface/transformers/blob/c28d04e9e252a1a099944e325685f14d242ecdcd/src/transformers/models/roberta/modeling_roberta.py#L741">here</a></li> </ul> <p dir="auto"><strong>NB:</strong> No need for copied from statements in the config (the defaults are probably different anyway).</p> <h2 dir="auto">Objects to cover</h2> <h3 dir="auto">Configurations</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Flaubert config (should not use XLM)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LayoutLM config (should not use Bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LongformerConfig (should not use Roberta)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MarkupLMConfig (should not Roberta)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> RobertaConfig (should not use Bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> XLM-ProphetNet config (should not use ProphetNet)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> XLM-Roberta config (should not use Roberta)</li> </ul> <h3 dir="auto">Models</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> BertGeneration (should not use BertEncoder)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Camembert (should not use Roberta) (PyTorch + TF)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Flaubert (should not use XLM) (PyTorch + TF)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> mT5: <del>PyTorch</del>, TensorFlow, Flax (should not use T5)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> XLM-ProphetNet (should not use ProphetNet)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Xlm-Roberta: <del>PyTorch</del>, TensorFlow, Flax (should not use Roberta)</li> </ul> <h3 dir="auto">Tokenizers</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> BertJapanese (should not use any imports from tokenization bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Blenderbot (should not use Roberta) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Clip (should not use BasicTokenizer from Bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ConvBERT (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Cpm tokenizer (should not use XLNet) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Derberta tokenizer (should not use GPT2) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> DistilBert (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Electra (should not use Bert) (fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Flaubert (should not use XLM)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Funnel (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Herbert (should not BasicTokenizer from Bert and XLM)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LayoutLM (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> LED (should not use BART) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Longformer (should not use Roberta) (fast tokenizer)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Luke (should not use Roberta)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Lxmert (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> MobileBert (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Openai-GPT (should not use BasicTokenizer from Bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ProphetNet (should not use BasicTokenzier and WordPieceTokenizer from Bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Retribert tokenizer (should not use Bert) (slow/fast)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Roformer tokenizer (should not use any imports from tokenization bert)</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Squeezebert tokenizer (should not use Bert) (slow/fast)</li> </ul>
<h1 dir="auto"><g-emoji class="g-emoji" alias="rocket" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f680.png">🚀</g-emoji> Feature request</h1> <p dir="auto">Over at EleutherAI we've recently released a 20 billion parameter autoregressive gpt model (see <a href="https://github.com/EleutherAI/gpt-neox">gpt-neox</a> for a link to the weights). It would be great to get this into transformers!</p> <h2 dir="auto">Motivation</h2> <p dir="auto">gpt-neox library is not quite as user-friendly as transformers, and is designed for efficient large scale training over inference. So we think integrating it into transformers would be great for accessibility.</p> <h2 dir="auto">Your contribution</h2> <p dir="auto">Personally, I can dedicate a bit of time into integrating this model. We already have a <a href="https://github.com/EleutherAI/gpt-neox/pull/480" data-hovercard-type="pull_request" data-hovercard-url="/EleutherAI/gpt-neox/pull/480/hovercard">PR to convert the weights to HF format</a>, although:</p> <ol dir="auto"> <li>I suspect you would want to introduce a new model class for it.</li> <li>It is not merged / thoroughly tested with all possible configurations yet. GPT-NeoX has a bunch of configuration options, and it might be more straightforward to focus on <em>just</em> introducing a model class for GPT-NeoX-20B (which should largely be similar to GPT-J, with some caveats, see next section)</li> </ol> <h2 dir="auto">Difficulties</h2> <ul dir="auto"> <li>Whilst we do have a script to merge <a href="https://github.com/EleutherAI/gpt-neox/pull/466" data-hovercard-type="pull_request" data-hovercard-url="/EleutherAI/gpt-neox/pull/466/hovercard">model parallel checkpoints</a> that will be merged soon, in larger models we see some performance loss when merging mp ranks, due to there being some very slight differences in the replicated parameters between ranks (see the thread above for more details). If we want to integrate GPT-NeoX-20B as a model to be used on a single GPU, we need to figure out how to address this. I'm not sure if this bug is specific to neox, or was introduced in megatron or deepspeed, but I believe the bigscience team <a href="https://github.com/bigscience-workshop/Megatron-DeepSpeed/pull/239" data-hovercard-type="pull_request" data-hovercard-url="/bigscience-workshop/Megatron-DeepSpeed/pull/239/hovercard">are also looking at merging mp models</a>, so I guess we'll find out soon.</li> <li>If we do integrate the model without model parallelism - it will be too large to run on most consumer GPUs. During inference, it takes ~45GB of GPU memory to run, and during training much more.</li> </ul>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/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.5</li> <li>Operating System version: xxx</li> <li>Java version: xxx</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">1.open dubbo-cluster project;<br> 2.go into package (com.alibaba.dubbo.rpc.cluster.configurator.override)<br> 3.see class comments.<br> 4. the content is "AbsentConfigurator",error.</p> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">/**</p> <ul dir="auto"> <li>OverrideConfigurator</li> <li></li> </ul> <p dir="auto">*/<br> public class OverrideConfigurator extends AbstractConfigurator {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public OverrideConfigurator(URL url) { super(url); } @Override public URL doConfigure(URL currentUrl, URL configUrl) { return currentUrl.addParameters(configUrl.getParameters()); }"><pre class="notranslate"><code class="notranslate">public OverrideConfigurator(URL url) { super(url); } @Override public URL doConfigure(URL currentUrl, URL configUrl) { return currentUrl.addParameters(configUrl.getParameters()); } </code></pre></div> <p dir="auto">}</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">/**</p> <ul dir="auto"> <li>AbsentConfigurator</li> <li></li> </ul> <p dir="auto">*/<br> public class OverrideConfigurator extends AbstractConfigurator {</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public OverrideConfigurator(URL url) { super(url); } @Override public URL doConfigure(URL currentUrl, URL configUrl) { return currentUrl.addParameters(configUrl.getParameters()); }"><pre class="notranslate"><code class="notranslate">public OverrideConfigurator(URL url) { super(url); } @Override public URL doConfigure(URL currentUrl, URL configUrl) { return currentUrl.addParameters(configUrl.getParameters()); } </code></pre></div> <p dir="auto">}</p> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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.5</li> <li>Operating System version: xxx</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>升级完成启动报错</li> <li>xxx</li> <li>xxx</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">What do you expected from the above steps?</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">What actually happens?</p> <p dir="auto">If there is an exception, please attach the exception trace:</p> <p dir="auto">org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /dubbo/com.xxx.readProduct.api.order.OTTService/consumers/consumer%3A%2F%2F192.168.0.105%2Fcom.xxxx.readProduct.api.order.OPTTTTService%3Fapplication%3Dxxxx-order-frontend-service%26category%3Dconsumers%26check%3Dfalse%26dubbo%3D2.0.2%26init%3Dfalse%26interface%3Dcom.xxx.readProduct.api.order.OTTService%26methods%3DqueryPharmacyBDinfo%2CgetPharmacyIdByCity%2CqueryPharmacyAddressByIdList%2CqueryPharmacyIdList%2CqueryByPharmacyIdAndDate%2CgetPharmacyIds%2CgetPharmacyById%2CqueryPharmacyCompanyInfo%2CqueryPharmacyAddressByCityList%2CgetPharmacyWithPTelList%2CqueryAllTypePharmacyList%2CqueryPharmacyById%2CqueryBatchPharmacyByPharmacyId%2CqueryPharmacyAddressById%2CqueryDeliverFeeInfo%2CgetPharmacyInfoList%26pid%3D24906%26release%3D2.7.5%26revision%3D3.0.0%26side%3Dconsumer%26sticky%3Dfalse%26timestamp%3D1593767278687%26version%3D3.0.0<br> at org.apache.zookeeper.KeeperException.create(KeeperException.java:119)<br> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)<br> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)<br> at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1177)<br> at org.apache.curator.framework.imps.CreateBuilderImpl$17.call(CreateBuilderImpl.java:1158)<br> at org.apache.curator.connection.StandardConnectionHandlingPolicy.callWithRetry(StandardConnectionHandlingPolicy.java:64)<br> at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:100)<br> at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:1155)<br> at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:605)<br> at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:595)<br> at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:573)<br> at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:49)<br> at org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.createEphemeral(CuratorZookeeperClient.java:101)<br> at org.apache.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.create(AbstractZookeeperClient.java:87)<br> at org.apache.dubbo.registry.zookeeper.ZookeeperRegistry.doRegister(ZookeeperRegistry.java:128)<br> at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:240)<br> at org.apache.dubbo.registry.ListenerRegistryWrapper.register(ListenerRegistryWrapper.java:57)<br> at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:412)<br> at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:396)<br> at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:73)<br> at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:151)<br> at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:70)<br> at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)<br> at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:329)<br> at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:266)<br> at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:151)<br> at org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:68)<br> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)<br> at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1636)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627)<br> at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:171)<br> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627)<br> at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:171)<br> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)<br> at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)<br> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)<br> at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1534)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1281)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)<br> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)<br> at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)<br> at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:93)</p> <p dir="auto">Just put your stack trace here!</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
0
<p dir="auto">I don't see any figures on <a href="http://matplotlib.org/users/colormaps.html" rel="nofollow">http://matplotlib.org/users/colormaps.html</a>. They are present in my local build of the documentation.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/548266/4102051/5c30992c-3114-11e4-893a-5782ea753893.png"><img src="https://cloud.githubusercontent.com/assets/548266/4102051/5c30992c-3114-11e4-893a-5782ea753893.png" alt="screen shot 2014-08-31 at 14 38 04" style="max-width: 100%;"></a></p>
<p dir="auto">Three examples now require it, for the rgb2lab function:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="users/plotting/colormaps/lightness.py 5:from skimage import color users/plotting/colormaps/Lfunction.py 9:from skimage import color users/plotting/colormaps/grayscale.py 6:from skimage import color"><pre class="notranslate"><code class="notranslate">users/plotting/colormaps/lightness.py 5:from skimage import color users/plotting/colormaps/Lfunction.py 9:from skimage import color users/plotting/colormaps/grayscale.py 6:from skimage import color </code></pre></div> <p dir="auto">We should probably just subsume rgb2lab -- skimage is a fairly heavy dependency just for this.</p>
1
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface I { x: number; } let { /*1*/x: y }: I = { x }"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">I</span> <span class="pl-kos">{</span> <span class="pl-c1">x</span>: <span class="pl-smi">number</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">let</span> <span class="pl-kos">{</span> <span class="pl-c">/*1*/</span><span class="pl-c1">x</span>: <span class="pl-s1">y</span> <span class="pl-kos">}</span>: <span class="pl-smi">I</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> x <span class="pl-kos">}</span></pre></div> <p dir="auto">Try find all refs at <code class="notranslate">1</code>.</p> <p dir="auto">Expected: All <code class="notranslate">x</code>s in the code are found.<br> Actual: No results returned</p>
<p dir="auto">We unconditionally show <code class="notranslate">any</code>.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/972891/7057783/867b4c0c-de0e-11e4-8c39-3157a28a6c2b.png"><img src="https://cloud.githubusercontent.com/assets/972891/7057783/867b4c0c-de0e-11e4-8c39-3157a28a6c2b.png" alt="image" style="max-width: 100%;"></a></p>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/en/challenges/html5-and-css/use-a-css-class-to-style-an-element" rel="nofollow">use-a-css-class-to-style-an-element</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" &lt;style&gt; .red-text { color: red; } &lt;/style&gt; &lt;h2 class=&quot;red-text&quot;&gt;CatPhotoApp&lt;/h2&gt; &lt;p&gt;Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.&lt;/p&gt; ``` "><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> .<span class="pl-c1">red-text</span> { <span class="pl-c1">color</span><span class="pl-kos">:</span> red; } <span class="pl-kos">&lt;/</span><span class="pl-ent">style</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">&gt;</span>CatPhotoApp<span class="pl-kos">&lt;/</span><span class="pl-ent">h2</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos">&lt;/</span><span class="pl-ent">p</span><span class="pl-kos">&gt;</span> ```</pre></div>
<h4 dir="auto">Challenge Name</h4> <h4 dir="auto">Issue Description</h4> <p dir="auto">Some of the issues cropping up seem to be a result of failed tests caused by either the editor or browser. They mostly seem to be limited to Firefox.</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176034767" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10588" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10588/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10588">#10588</a> - Challenge: Change Color of Text<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175967647" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10557" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10557/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10557">#10557</a> - Challenge: Target the Children of Element in jQuery<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176024322" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10582" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10582/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10582">#10582</a> - Challenge: Use Clockwise Notation to Specify Padding<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175994635" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10569" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10569/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10569">#10569</a> - Challenge: Change the CSS of an Element Using jQuery<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176052842" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10603" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10603/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10603">#10603</a> - Challenge: Change the Font Size of an Element<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176006704" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10572" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10572/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10572">#10572</a> - Challenge: Use RGB Values to Color Elements<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175953872" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10539" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10539/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10539">#10539</a> - Challenge: Add Rounded Corners with a Border Radius<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175951463" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10535" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10535/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10535">#10535</a> - Challenge: Give Background Color to Div Element<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176074186" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10614" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10614/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10614">#10614</a> - Challenge: Size Your Images<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176076789" data-permission-text="Title is private" data-url="https://github.com/freeCodeCamp/freeCodeCamp/issues/10617" data-hovercard-type="issue" data-hovercard-url="/freeCodeCamp/freeCodeCamp/issues/10617/hovercard" href="https://github.com/freeCodeCamp/freeCodeCamp/issues/10617">#10617</a> - Challenge: Use a CSS Class to Style an Element</p> <p dir="auto">I'll update this list as I confirm more.</p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Firefox</li> <li>Operating System: OS X</li> <li>Mobile, Desktop, or Tablet: Desktop</li> </ul> <h4 dir="auto">Your Code</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "><pre class="notranslate"></pre></div> <h4 dir="auto">Screenshot</h4>
1
<p dir="auto">Some packages in the settings tab don't have a button to see the settings for that package. I assume these are packages without configuration options. But there are many other useful features in the settings for a package that are missing for these packages ....</p> <ul dir="auto"> <li>Load time</li> <li>Github link</li> <li>Report issue</li> <li>Changelog</li> <li>License</li> <li>View code</li> <li>Keybindings</li> </ul> <h2 dir="auto">Versions</h2> <ul dir="auto"> <li><strong>Atom:</strong> 0.194.0</li> <li><strong>Atom-Shell:</strong> 0.22.3</li> <li><strong>OS:</strong> linux 3.14.0</li> <li><strong>Misc</strong> <ul dir="auto"> <li>apm 0.161.0</li> <li>npm 2.5.1</li> <li>node 0.10.35</li> <li>python 2.7.3</li> <li>git 1.7.9.5</li> </ul> </li> </ul> <hr> <p dir="auto">This report was created in and posted from the Atom editor using the package <code class="notranslate">bug-report</code> v0.6.3.</p>
<p dir="auto">See this image:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3612514/7247196/0f3738e2-e807-11e4-955e-f8b28dca9646.png"><img src="https://cloud.githubusercontent.com/assets/3612514/7247196/0f3738e2-e807-11e4-955e-f8b28dca9646.png" alt="settings weird" style="max-width: 100%;"></a><br> As you can see, it seems kind of random which packages get a settings button and which do not. The majority of the packages don't have the settings button, and now I can't go to their details page anymore.</p>
1
<p dir="auto"><a href="https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-e2e-gke/8201/" rel="nofollow">https://storage.googleapis.com/kubernetes-jenkins/logs/kubernetes-e2e-gke/8201/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] ServiceAccounts should ensure a single API token exists {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_accounts.go:153 Expected error: &lt;*errors.StatusError | 0xc820aafa80&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (put serviceAccounts default)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;default&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/namespaces/e2e-tests-svcaccounts-c84sj/serviceaccounts/default\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (put serviceAccounts default) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service_accounts.go:153 Expected error: &lt;*errors.StatusError | 0xc820aafa80&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (put serviceAccounts default)", Reason: "Forbidden", Details: { Name: "default", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/namespaces/e2e-tests-svcaccounts-c84sj/serviceaccounts/default\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (put serviceAccounts default) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] EmptyDir volumes should support (root,0644,default) [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8200a2780&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-emptydir-z0q53/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc8200a2780&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-emptydir-z0q53/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy to cadvisor using proxy subresource [Conformance] {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820e80300&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (get serviceAccounts)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;serviceAccounts&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/watch/namespaces/e2e-tests-proxy-z4jp6/serviceaccounts?fieldSelector=metadata.name%3Ddefault\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:122 Expected error: &lt;*errors.StatusError | 0xc820e80300&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (get serviceAccounts)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "serviceAccounts", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/watch/namespaces/e2e-tests-proxy-z4jp6/serviceaccounts?fieldSelector=metadata.name%3Ddefault\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (get serviceAccounts) not to have occurred </code></pre></div> <p dir="auto">Failed: [k8s.io] Proxy version v1 should proxy through a service and a pod [Conformance] {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/proxy.go:260 Expected error: &lt;*errors.StatusError | 0xc820096380&gt;: { ErrStatus: { TypeMeta: {Kind: &quot;&quot;, APIVersion: &quot;&quot;}, ListMeta: {SelfLink: &quot;&quot;, ResourceVersion: &quot;&quot;}, Status: &quot;Failure&quot;, Message: &quot;the server does not allow access to the requested resource (post services)&quot;, Reason: &quot;Forbidden&quot;, Details: { Name: &quot;&quot;, Group: &quot;&quot;, Kind: &quot;services&quot;, Causes: [ { Type: &quot;UnexpectedServerResponse&quot;, Message: &quot;Forbidden: \&quot;/api/v1/namespaces/e2e-tests-proxy-rchpk/services\&quot;&quot;, Field: &quot;&quot;, }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post services) not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/proxy.go:260 Expected error: &lt;*errors.StatusError | 0xc820096380&gt;: { ErrStatus: { TypeMeta: {Kind: "", APIVersion: ""}, ListMeta: {SelfLink: "", ResourceVersion: ""}, Status: "Failure", Message: "the server does not allow access to the requested resource (post services)", Reason: "Forbidden", Details: { Name: "", Group: "", Kind: "services", Causes: [ { Type: "UnexpectedServerResponse", Message: "Forbidden: \"/api/v1/namespaces/e2e-tests-proxy-rchpk/services\"", Field: "", }, ], RetryAfterSeconds: 0, }, Code: 403, }, } the server does not allow access to the requested resource (post services) not to have occurred </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="156511442" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26164" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26164/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26164">#26164</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156617151" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26210" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26210/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26210">#26210</a></p>
<p dir="auto">Right now we have for GCE <code class="notranslate">config-default.sh</code> and <code class="notranslate">config-test.sh</code> and they are (after a recent PR of mine merges) isomorphic i.e. one is a duplicate of the other with some settings flipped. I think this makes it hard to maintain these files since they have to remain in sync.</p> <p dir="auto">I propose that we require the significant env vars in <code class="notranslate">config-default.sh</code> to be over-ridable from the enclosing environment. Then the test driver scripts and programs (e.g. for e2e) could set things like <code class="notranslate">INSTANCE_PREFIX</code> and <code class="notranslate">ENBALE_CLUSTER_LOGGING</code> as env vars and just source <code class="notranslate">config-default.h</code></p>
0
<p dir="auto">The interface ObjectIterator has an optional <code class="notranslate">key</code> parameter. This becomes an issue when trying to use the key in a context with StrictNullChecking enabled. For example, the mapValues() function use ObjectIterator as its callback function:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mapValues(dict, (value, key) =&gt; { // This line throws an error because the key can be undefined dict[key]; if (key) { // This line is OK dict[key]; } });"><pre class="notranslate"><span class="pl-en">mapValues</span><span class="pl-kos">(</span><span class="pl-s1">dict</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">,</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">// This line throws an error because the key can be undefined</span> <span class="pl-s1">dict</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// This line is OK</span> <span class="pl-s1">dict</span><span class="pl-kos">[</span><span class="pl-s1">key</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">It does not makes sense to check the key for nulls while iterating a dictionary because it cannot exists values in the dictionary that does not have any keys.</p> <p dir="auto">I suggest we change the type of the <code class="notranslate">key</code> parameter in the interface ObjectIterator from <code class="notranslate">key?: string</code> to <code class="notranslate">key: string</code>. Maybe this applies for other iterator interfaces as well such as NumericDictionaryIterator and DictionaryIterator. Any comments/objections?</p> <ul dir="auto"> <li>The authors of that type definition are cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bczengel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bczengel">@bczengel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrootsu/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrootsu">@chrootsu</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stepancar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stepancar">@stepancar</a></li> </ul>
<ul dir="auto"> <li>[x ] I tried using the latest <code class="notranslate">materialize-css/index.d.ts</code> file in this repo and had problems.</li> </ul> <p dir="auto">Hi,</p> <p dir="auto">I use materialize-css and angular2-materialize directives. I couldn't use the global object <code class="notranslate">Materialize</code> because of <code class="notranslate">Cannot find name Materialize</code>. I was glad to find out the definition here so I installed it.<br> The problem now is that I have a lot of <code class="notranslate">Duplicate identifier</code> coming from the jQuery type dependency.<br> I inspected the directories :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@types materialize-css index.d.ts node_modules @types jquery pickadate index.d.ts node_modules @types jquery"><pre class="notranslate"><code class="notranslate">@types materialize-css index.d.ts node_modules @types jquery pickadate index.d.ts node_modules @types jquery </code></pre></div> <p dir="auto">As you can see, materialize-css installs <code class="notranslate">@types/jquery</code>, but also <code class="notranslate">pickadate</code> which itself installs <code class="notranslate">@types/jquery</code>, leading to that <code class="notranslate">Duplicate identifier issue</code>.<br> I am on Typescript 2.0.9 and I tried to exlude the directory <code class="notranslate">node_modules/materialize-css/node_modules</code> but it didn't work.<br> Can you help me ?</p> <p dir="auto">Thx</p>
0
<p dir="auto">New "open with" api to allow open a file with chosen program in OS.</p> <p dir="auto">Same as shell.openItem() but let the user choose with whith of this programs the file should be opened.</p>
<ul dir="auto"> <li>Electron version: all</li> <li>Operating system: all</li> </ul> <p dir="auto">Can't get the file launcher,So open the program is actually not know.<br> I want to get the initiator's path, so the use of selective "open appPath filePath" open way, rather than having to default.</p> <p dir="auto">Excuse me, can you provide relevant interface to obtain the default launcher path?</p>
1
<p dir="auto">This code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function a(f) { return () =&gt; {} } @a(foo =&gt; ({})) class MyClass { }"><pre class="notranslate"><code class="notranslate">function a(f) { return () =&gt; {} } @a(foo =&gt; ({})) class MyClass { } </code></pre></div> <p dir="auto">is transpiled to</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function a(f) { return function () {}; } var MyClass = function MyClass() { _classCallCheck(this, MyClass); };"><pre class="notranslate"><code class="notranslate">function a(f) { return function () {}; } var MyClass = function MyClass() { _classCallCheck(this, MyClass); }; </code></pre></div> <p dir="auto">whereas if you replace the annotation with <code class="notranslate">@a(foo =&gt; 1)</code> the result changes dramatically:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function a(f) { return function () {}; } var MyClass = (function () { function MyClass() { _classCallCheck(this, _MyClass); } var _MyClass = MyClass; MyClass = a(function (foo) { return 1; })(MyClass) || MyClass; return MyClass; })();"><pre class="notranslate"><code class="notranslate">function a(f) { return function () {}; } var MyClass = (function () { function MyClass() { _classCallCheck(this, _MyClass); } var _MyClass = MyClass; MyClass = a(function (foo) { return 1; })(MyClass) || MyClass; return MyClass; })(); </code></pre></div> <p dir="auto">So it looks like it's not possible to use an arrow function syntax that return object literals</p> <p dir="auto">Possible use cases:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@connect(state =&gt; ({ counter: state.counter })) export default class CounterApp { render() { const { counter, dispatch } = this.props; // Instead of `bindActionCreators`, you may also pass `dispatch` as a prop // to your component and call `dispatch(CounterActions.increment())` return ( &lt;Counter counter={counter} {...bindActionCreators(CounterActions, dispatch)} /&gt; ); } }"><pre class="notranslate"><code class="notranslate">@connect(state =&gt; ({ counter: state.counter })) export default class CounterApp { render() { const { counter, dispatch } = this.props; // Instead of `bindActionCreators`, you may also pass `dispatch` as a prop // to your component and call `dispatch(CounterActions.increment())` return ( &lt;Counter counter={counter} {...bindActionCreators(CounterActions, dispatch)} /&gt; ); } } </code></pre></div>
<p dir="auto">Compare the output of these two to show the difference.</p> <p dir="auto"><a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=%40decorate((arg)%20%3D%3E%20null)%0Aclass%20Example1%20%7B%0A%7D%0A%0A%40decorate(arg%20%3D%3E%20null)%0Aclass%20Example2%20%7B%0A%7D" rel="nofollow">https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=%40decorate((arg)%20%3D%3E%20null)%0Aclass%20Example1%20%7B%0A%7D%0A%0A%40decorate(arg%20%3D%3E%20null)%0Aclass%20Example2%20%7B%0A%7D</a></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@decorate((arg) =&gt; null) class Example1 { } @decorate(arg =&gt; null) class Example2 { }"><pre class="notranslate">@<span class="pl-en">decorate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">null</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-v">Example1</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span> @<span class="pl-en">decorate</span><span class="pl-kos">(</span><span class="pl-s1">arg</span> <span class="pl-c1">=&gt;</span> <span class="pl-c1">null</span><span class="pl-kos">)</span> <span class="pl-k">class</span> <span class="pl-v">Example2</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div>
1
<p dir="auto">I was trying this code:</p> <blockquote> <blockquote> <blockquote> <p dir="auto">corpus = ['This is the first document.',<br> ... 'This is the second second document.',<br> ... 'And the third one.',<br> ... 'Is this the first document?']<br> from sklearn.feature_extraction.text import TfidfVectorizer<br> vectorizer = TfidfVectorizer(min_df=1)<br> vectorizer.fit_transform(corpus).todense()</p> </blockquote> </blockquote> </blockquote> <p dir="auto">Gives<br> ValueError: Buffer dtype mismatch, expected 'int' but got 'long'</p> <p dir="auto">scikit-learn version = '0.15-git'<br> Scipy version = '0.14.0.dev-7cefb25'<br> Platform = Mac OSX 10.9.2</p>
<p dir="auto">Hello the great scikit-learn team!</p> <p dir="auto">Consider the following simple example (also posted on <a href="https://stackoverflow.com/questions/68282958/how-to-merge-two-countvectorizers-when-there-are-duplicates/68283373?noredirect=1#comment120682302_68283373" rel="nofollow">SO</a>)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" data = pd.DataFrame({'text1' : ['hello world', 'hello universe'], 'text2': ['good morning', 'hello two three']}) data Out[489]: text1 text2 0 hello world good morning 1 hello universe hello two three"><pre class="notranslate"><code class="notranslate"> data = pd.DataFrame({'text1' : ['hello world', 'hello universe'], 'text2': ['good morning', 'hello two three']}) data Out[489]: text1 text2 0 hello world good morning 1 hello universe hello two three </code></pre></div> <p dir="auto">As you can see, <code class="notranslate">text1</code> and <code class="notranslate">text2</code> share one exact word in common: <code class="notranslate">hello</code>. I am trying to create ngrams separately for <code class="notranslate">text1</code> and <code class="notranslate">text2</code> and I want to concatenate the results together into a countvectorizer object.</p> <p dir="auto">The idea is that I want to create ngrams separately for the two variables and used them as features in a ML algo. However, I do want the extra ngrams that would be created by concatenating the string together, like <code class="notranslate">world good</code> in <code class="notranslate">hello world good morning</code>. This is why I keep the ngram creation separated.</p> <p dir="auto">The issue is that by doing so, the resulting (sparse) vector will contain a duplicated <code class="notranslate">hello</code> column.</p> <p dir="auto">See here:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" vector = CountVectorizer(ngram_range=(1, 2)) v1 = vector.fit_transform(data.text1.values) print(vector.get_feature_names()) ['hello', 'hello universe', 'hello world', 'universe', 'world'] v2 = vector.fit_transform(data.text2.values) print(vector.get_feature_names()) ['good', 'good morning', 'hello', 'hello two', 'morning', 'three', 'two', 'two three'] And now concatenating `v1` and `v2` gives 13 columns from scipy.sparse import hstack print(hstack((v1, v2)).toarray()) [[1 0 1 0 1 1 1 0 0 1 0 0 0] [1 1 0 1 0 0 0 1 1 0 1 1 1]]"><pre class="notranslate"><code class="notranslate"> vector = CountVectorizer(ngram_range=(1, 2)) v1 = vector.fit_transform(data.text1.values) print(vector.get_feature_names()) ['hello', 'hello universe', 'hello world', 'universe', 'world'] v2 = vector.fit_transform(data.text2.values) print(vector.get_feature_names()) ['good', 'good morning', 'hello', 'hello two', 'morning', 'three', 'two', 'two three'] And now concatenating `v1` and `v2` gives 13 columns from scipy.sparse import hstack print(hstack((v1, v2)).toarray()) [[1 0 1 0 1 1 1 0 0 1 0 0 0] [1 1 0 1 0 0 0 1 1 0 1 1 1]] </code></pre></div> <p dir="auto">The proper text-features should be 12:</p> <p dir="auto"><code class="notranslate">hello</code>, <code class="notranslate">word</code>, <code class="notranslate">hello word</code>, <code class="notranslate">good</code>, <code class="notranslate">morning</code>, <code class="notranslate">good morning</code>,<code class="notranslate">hello universe</code>,<code class="notranslate">universe</code>, <code class="notranslate">two</code>, <code class="notranslate">three</code>, <code class="notranslate">hello two</code>, <code class="notranslate">two three</code></p> <p dir="auto">I thought I had found the solution by using <code class="notranslate">ColumnTransformer</code> but it seems I am getting the same extra column</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="union= ColumnTransformer([(&quot;norm1&quot;, CountVectorizer(ngram_range=(1, 2)), &quot;text1&quot;), (&quot;norm2&quot;, CountVectorizer(ngram_range=(1, 2)), &quot;text2&quot;)]) union.fit_transform(data) Out[508]: array([[1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0], [1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1]], dtype=int64)"><pre class="notranslate"><code class="notranslate">union= ColumnTransformer([("norm1", CountVectorizer(ngram_range=(1, 2)), "text1"), ("norm2", CountVectorizer(ngram_range=(1, 2)), "text2")]) union.fit_transform(data) Out[508]: array([[1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0], [1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1]], dtype=int64) </code></pre></div> <p dir="auto">Is this a bug in ColumnTransformer? Isnt ColumnTransformer supposed to get rid of duplicates?</p> <p dir="auto">Thanks!</p>
0
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/872" rel="nofollow">http://projects.scipy.org/numpy/ticket/872</a> on 2008-08-04 by trac user novak, assigned to unknown.</em></p> <p dir="auto">I believe that setmember1d contains unnecessary code. Also, the docstring of setmember1d asserts that the arguments must not contain duplicated values, but I believe that this is incorrect. The function works as expected even with duplication. Below is my post to the numpy-discussion mailing list to this effect.</p> <hr> <p dir="auto">I have two arrays of integers, and would like to know <em>where</em> they<br> have elements in common, not just <em>which</em> elements are in common.<br> This is because the entries in the integer array are aligned with<br> other arrays. This seems very close to what member1d advertises as<br> its function. However, member1d says that it expects arrays with only<br> unique elements.</p> <p dir="auto">First of all, my desired operation is well-posed: I'd like f(ar1,<br> ar2) to return something in the shape of ar1 with True if the value at<br> that position appears anywhere in ar2 (regardless of duplication) and<br> False otherwise.</p> <p dir="auto">So I looked at the code and have two questions:</p> <ol dir="auto"> <li>What is this code trying to achieve?<br> aux = perm[ii+1]<br> perm[ii+1] = perm[ii]<br> perm[ii] = aux</li> </ol> <p dir="auto">Here perm is the stable argsort of the two concatenated arguments:<br> perm = concatenate((ar1, ar2)).argsort(kind='mergesort').<br> arr is the array of combined inputs in sorted order:<br> arr = concatenate((ar1, ar2))[perm]<br> and ii is a list of indices into arr where the value of arr is equal<br> to the next value in the array (arr[ii] == arr[ii+1]) <em>and</em> arr[ii]<br> came from the <em>second</em> input (ar2).</p> <p dir="auto">Now, this last bit (looking for elements of arr that are equal and<br> both came from the second array) is clearly trying to deal with<br> duplication, which is why I'm interested...</p> <p dir="auto">So, the code snippet is trying to swap perm[ii+1] with perm[ii], but I<br> don't see why. Furthermore, there are funny results if a value is<br> duplicated three times, not just twice -- perm is no longer a<br> permutation vector. Eg, member1d([1], [2,2,2]) results perm=[0,1,2,3]<br> and ii=[1,2] before the above snippet, and the above snippet makes<br> perm into [0,2,3,2]</p> <p dir="auto">I've commented those three lines, and I've never seen any changes to<br> the output of member1d. The new value of perm is used to compute the<br> expression: perm.argsort(kind='mergesort')[:len( ar1 )], but the<br> changes to that expression as a result of the above three lines are<br> always at the high end of the array, which is sliced off by the last<br> [:len(ar1)].</p> <p dir="auto">Finally, my second question is:<br> 2) Does anyone have a test case where member1d fails as a result of<br> duplicates in the input? So far I haven't found any, with the above<br> lines commented or not.</p> <p dir="auto">Upon reflection and review of the changelog, another theory occurs to<br> me: member1d did not originally use a stable sort. What I've written<br> above for interpretation of the value ii (indicates duplication within<br> ar2) is true for a stable sort, but for an unstable sort the same<br> condition has the interpretation that ii holds the values where the<br> sorting algorithm swapped the order of equal values unstably. Then<br> the code snippet in question 1) looks like an attempt to swap those<br> values in the permutation array to make the sort stable again. The<br> attempt would fail if there was duplication in either array.</p> <p dir="auto">So, I would propose deleting those three lines (since they seem to be<br> a non-functional relic) and declaring in the docstring that member1d<br> doesn't require unique elements.</p> <p dir="auto">Also, if this is correct, then the function simplifies considerably<br> since several values don't need to be computed anymore:</p> <p dir="auto">def setmember1d( ar1, ar2 ):<br> ar = nm.concatenate( (ar1, ar2 ) )<br> perm = ar.argsort(kind='mergesort')<br> aux = ar[perm]<br> flag = nm.concatenate( (aux[1:] == aux[:-1], [False] ) )<br> indx = perm.argsort(kind='mergesort')[:len( ar1 )]<br> return flag[indx]</p>
<p dir="auto">np version 1.9.2 (but bug in previous versions as well)<br> python version 3.4.3 (but bug with previous versions as well)</p> <p dir="auto">The following demonstrates the problem:<br> On 64Bit architecture:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.intp &lt;class 'numpy.int64'&gt; &gt;&gt;&gt; np.intp==np.int64 True"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</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-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-s1">intp</span> <span class="pl-c1">&lt;</span><span class="pl-k">class</span> <span class="pl-s">'numpy.int64'</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-s1">intp</span><span class="pl-c1">==</span><span class="pl-s1">np</span>.<span class="pl-s1">int64</span> <span class="pl-c1">True</span></pre></div> <p dir="auto">On 32Bit architecture:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.intp &lt;class 'numpy.int32'&gt; &gt;&gt;&gt; np.intp==np.int32 False"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</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-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-s1">intp</span> <span class="pl-c1">&lt;</span><span class="pl-k">class</span> <span class="pl-s">'numpy.int32'</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-s1">intp</span><span class="pl-c1">==</span><span class="pl-s1">np</span>.<span class="pl-s1">int32</span> <span class="pl-c1">False</span></pre></div>
0
<p dir="auto">Just noting that there was a PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="480195158" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/14264" data-hovercard-type="pull_request" data-hovercard-url="/numpy/numpy/pull/14264/hovercard" href="https://github.com/numpy/numpy/pull/14264">#14264</a> a year ago to try and add a <code class="notranslate">strftime</code> method to datetime64 object. Wonder if it might be resurrected??? :issue:<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="479148168" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/14243" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/14243/hovercard" href="https://github.com/numpy/numpy/issues/14243">#14243</a></p> <p dir="auto">To make it a little more friendly for packages downstream like Pandas it helps to compare synonomously with Python datetime and something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import datetime as dt import numpy as np date = dt.datetime.strptime('2020-06-30', format='%Y-%m-%d') date.strftime('%Y-%m-%d') dt.datetime.strftime(date, &quot;%Y-%m-%d&quot;) date64 = np.datetime64('2012-06-30T20:00') np.datetime_as_string(date64, unit='D') # nice with a direct date64.strftime(format) method.."><pre class="notranslate"><code class="notranslate">import datetime as dt import numpy as np date = dt.datetime.strptime('2020-06-30', format='%Y-%m-%d') date.strftime('%Y-%m-%d') dt.datetime.strftime(date, "%Y-%m-%d") date64 = np.datetime64('2012-06-30T20:00') np.datetime_as_string(date64, unit='D') # nice with a direct date64.strftime(format) method.. </code></pre></div>
<p dir="auto">Looking at extending the support for <code class="notranslate">datetime64</code> in matplotlib, in particular to allow plotting times that are outside years 0001-9999. Lots of science applications have millennial time scales, so being able to have support for a large time range is desirable, and is a definite strength of <code class="notranslate">datetime64</code>.</p> <p dir="auto">However, our tick formatters use <code class="notranslate">datetime.strftime</code>, and allow all the formatting strings for those (i.e. %Y, %y, %x, %g etc). However, we can't convert <code class="notranslate">datetime64</code> to <code class="notranslate">datetime</code> for years outside 0001-9999 so we can't use strftime (directly).</p> <p dir="auto">Is there any way to get what we want? We can do a song and dance to force a <code class="notranslate">datetime64</code> to be between 0001-9999 by adding or subtracting multiples of 400 years, and then reformatting just the year part of the string, but it would be nice if there were something more robust. Not sure if <code class="notranslate">datetime_as_string</code> could be enhanced to take a <code class="notranslate">fmt=str</code> optional kwarg?</p>
1
<p dir="auto">I run into this issue repeatedly. I know there are already a bunch of reports about this error message, but it's hard to tell what are duplicates because of all the variations. When I get this now it's paired with a second error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Unable to watch path Uncaught ReferenceError: spawnSync is not defined"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Unable to watch path Uncaught ReferenceError: spawnSync is not defined </code></pre></div> <p dir="auto">(See bottom for detailed version.)</p> <p dir="auto">The details about my situation:</p> <p dir="auto">Atom (currently 0.153.0), no packages installed, running on Windows 7 x64.</p> <p dir="auto">Atom will run fine for some amount of time, then I try to open a file and get this error. It doesn't seem to be related to renaming files, as in some of the other reports. At least sometimes I can still open a file in a different window. At least sometimes I can open a file in the same window with a different path. For example, I'm often loading files from a samba share running on Ubuntu 12, e.g.</p> <p dir="auto"><code class="notranslate">\\server\share\somedir\somefile</code></p> <p dir="auto">When the problem strikes I don't seem to be able to load any more files from <code class="notranslate">\\server\share\somedir</code> in the same window. But if I map a drive to the same share, I seem to be able to load files from there, e.g.:</p> <p dir="auto"><code class="notranslate">Z:\somedir\somefile</code></p> <p dir="auto">I've already tried setting <code class="notranslate">fs.inotify.max_user_watches</code> to <code class="notranslate">32768</code> (on the Ubuntu system) as suggested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="33075554" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/2082" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/2082/hovercard" href="https://github.com/atom/atom/issues/2082">#2082</a> and the problem persists.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Unable to watch path c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66 HandleWatcher.start c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66 HandleWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:30 PathWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:120 exports.watch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:179 module.exports.File.subscribeToNativeChangeEvents c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:364 module.exports.File.willAddSubscription c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:101 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:3 module.exports.File.onDidChange c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:85 module.exports.TextBuffer.subscribeToFile c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:1085 module.exports.TextBuffer.setPath c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:277 TextBuffer c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:100 module.exports.Project.buildBuffer c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:463 module.exports.Project.bufferForPath c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:438 module.exports.Project.open c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:392 module.exports.Workspace.openUriInPane c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:482 module.exports.Workspace.open c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:409 _results.push._this.(anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\delegato\lib\delegator.js:67 module.exports.TreeView.openSelectedEntry c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:634 module.exports.TreeView.entryClicked c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:378 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:156 handler c:\Program Files (x86)\GitHub Atom\resources\app\src\space-pen-extensions.js:112 jQuery.event.dispatch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4681 elemData.handle c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4359 Uncaught ReferenceError: spawnSync is not defined c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278 NotificationElement.winVersionText c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278 NotificationElement.getOSMarketingVersion c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:249 NotificationElement.getIssueBody c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:183 NotificationElement.getIssueUrl c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:164 NotificationElement.generateMarkup c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:83 NotificationElement.initialize c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:29 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:15 module.exports.ViewRegistry.createView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:61 module.exports.ViewRegistry.getView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:43 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:29 module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82 module.exports.NotificationManager.addNotification c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:54 module.exports.NotificationManager.addFatalError c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:45 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:43 module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\src\atom.js:221"><pre class="notranslate"><code class="notranslate">Uncaught TypeError: Unable to watch path c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66 HandleWatcher.start c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:66 HandleWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:30 PathWatcher c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:120 exports.watch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\main.js:179 module.exports.File.subscribeToNativeChangeEvents c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:364 module.exports.File.willAddSubscription c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:101 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:3 module.exports.File.onDidChange c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\pathwatcher\lib\file.js:85 module.exports.TextBuffer.subscribeToFile c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:1085 module.exports.TextBuffer.setPath c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:277 TextBuffer c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\text-buffer\lib\text-buffer.js:100 module.exports.Project.buildBuffer c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:463 module.exports.Project.bufferForPath c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:438 module.exports.Project.open c:\Program Files (x86)\GitHub Atom\resources\app\src\project.js:392 module.exports.Workspace.openUriInPane c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:482 module.exports.Workspace.open c:\Program Files (x86)\GitHub Atom\resources\app\src\workspace.js:409 _results.push._this.(anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\delegato\lib\delegator.js:67 module.exports.TreeView.openSelectedEntry c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:634 module.exports.TreeView.entryClicked c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:378 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\tree-view\lib\tree-view.js:156 handler c:\Program Files (x86)\GitHub Atom\resources\app\src\space-pen-extensions.js:112 jQuery.event.dispatch c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4681 elemData.handle c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\space-pen\vendor\jquery.js:4359 Uncaught ReferenceError: spawnSync is not defined c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278 NotificationElement.winVersionText c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:278 NotificationElement.getOSMarketingVersion c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:249 NotificationElement.getIssueBody c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:183 NotificationElement.getIssueUrl c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:164 NotificationElement.generateMarkup c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:83 NotificationElement.initialize c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\notification-elemen…:29 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:15 module.exports.ViewRegistry.createView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:61 module.exports.ViewRegistry.getView c:\Program Files (x86)\GitHub Atom\resources\app\src\view-registry.js:43 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:29 module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82 module.exports.NotificationManager.addNotification c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:54 module.exports.NotificationManager.addFatalError c:\Program Files (x86)\GitHub Atom\resources\app\src\notification-manager.js:45 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\notifications\lib\main.js:43 module.exports.Emitter.emit c:\Program Files (x86)\GitHub Atom\resources\app\node_modules\event-kit\lib\emitter.js:82 (anonymous function) c:\Program Files (x86)\GitHub Atom\resources\app\src\atom.js:221 </code></pre></div>
<p dir="auto">Search / Find in project cmd+shift+f do not searches in .gitignore files</p> <p dir="auto">Actually a nice feature but, sometimes its really necessary to search code in ignored files.</p> <p dir="auto">At least there should be provision in "Finding with Options"</p>
0
<p dir="auto"><a href="https://twitter.com/mausch/status/530504035540160513" rel="nofollow">https://twitter.com/mausch/status/530504035540160513</a></p> <p dir="auto"><a href="https://twitter.com/LeviNotik/status/530505312777023488" rel="nofollow">https://twitter.com/LeviNotik/status/530505312777023488</a></p> <p dir="auto"><a href="https://twitter.com/mwotton/status/442775637648891904" rel="nofollow">https://twitter.com/mwotton/status/442775637648891904</a></p> <p dir="auto"><a href="https://twitter.com/melvinmt/status/530474427306479616" rel="nofollow">https://twitter.com/melvinmt/status/530474427306479616</a></p> <p dir="auto"><a href="https://twitter.com/kosmikko/status/502340971527671808" rel="nofollow">https://twitter.com/kosmikko/status/502340971527671808</a></p> <p dir="auto"><a href="https://twitter.com/kenperkins/status/494173990152175617" rel="nofollow">https://twitter.com/kenperkins/status/494173990152175617</a> (navigation, I've had this problem and I'm a relatively experienced user of the site and ES itself)</p> <p dir="auto"><a href="https://twitter.com/icyliquid/status/477500839020752896" rel="nofollow">https://twitter.com/icyliquid/status/477500839020752896</a></p> <p dir="auto"><a href="https://twitter.com/werg/status/466733972324880384" rel="nofollow">https://twitter.com/werg/status/466733972324880384</a> (another suggestion to bypass official ES documentation)</p> <p dir="auto">I wrote <a href="https://github.com/bitemyapp/bloodhound">https://github.com/bitemyapp/bloodhound</a> partly because I was having a hell of a time generating valid Elasticsearch requests without lots of copy-paste and templating.</p> <p dir="auto">The docs have not been improved much in the last couple years other than when you did the big site change.</p> <p dir="auto">It's extremely hard for a new user of Elasticsearch to get a bird's eye view.</p> <p dir="auto">I brought up Bloodhound when I first released it as a way to possibly start a proper spec of what Elasticsearch accepts as a valid request and what it does not. I'd like to revive the idea of having a spec so that users and client implementors don't have to keep rediscovering how Elasticsearch works through haphazard experimentation.</p> <p dir="auto">Back when I was implementing Bloodhound I asked if there was a spec. I was told there wasn't one. I was briefly hopeful when I saw there was a Thrift spec...but it passes off the actual document structure as a JSON blob, lending no useful information.</p> <p dir="auto">Please at least consider having a spec for the API.</p>
<p dir="auto">Requests/queries/etc currently have custom parsers, which make it more difficult to be certain that they are error free. We should replace all this hand parsing with some form of grammar, which defines exactly what syntax is allowed. This will also benefit those implementing clients, as they will have a grammar that can be interrogated programmatically.</p> <p dir="auto">Any unknown parameters should throw a parsing exception.</p> <p dir="auto">We can add custom rules where needed (eg to disallow certain combinations of parameters like using <code class="notranslate">fuzzy</code> in the <code class="notranslate">multi_match</code> query with type <code class="notranslate">cross_fields</code>).</p>
1
<p dir="auto">cuDNN v6.0 was released on Mar 23, are there any plans for adding compatibility (building against compatibility version 6000)?</p>
<p dir="auto">cuDNN v6.0 has been released. There are some cool new features:</p> <ul dir="auto"> <li>Dilated Convolutions: Dilated Convolutions are now supported in cuDNN without a<br> change in API.</li> <li><code class="notranslate">cudnnConvolutionBiasActivationForward</code> allows for the execution of a single kernel fusing convolution, bias and activation operations</li> </ul> <p dir="auto">Full release notes:</p> <blockquote> <p dir="auto">Dilated Convolutions: Dilated Convolutions are now supported in cuDNN without a<br> change in API. Previously unused “upscale” fields in the Convolution Descriptor<br> have been repurposed to allow user specification of dilation factors along each<br> dimension. Support for dilation is present in the following code paths :<br> Forward : CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_GEMM,<br> Backward Data: CUDNN_CONVOLUTION_BWD_DATA_ALGO_0 and<br> Backward Filter: CUDNN_CONVOLUTION_BWD_FILTER_ALGO_0<br>  The new API cudnnConvolutionBiasActivationForward allows for the execution of<br> a single kernel fusing convolution, bias and activation operations. At present, only<br> per channel bias and RELU activation are supported.<br>  Inference on 8 bit integer data is now supported, leveraging the 4 element dot<br> product instruction (IDP4A) of Pascal GPUs with CUDA capabilities 6.1. Two tensor<br> layouts are supported for this feature: CUDNN_TENSOR_NHWC with INT8 data<br> type and CUDNN_TENSOR_NCHW_VECT with INT8x4 data type.<br>  RNN now supports 3 algorithms<br> o CUDNN_RNN_ALGO_STANDARD :<br>  Same functionality as in CUDNN v5.1<br> o CUDNN_RNN_ALGO_PERSIST_STATIC :<br>  This algorithm relies on the usage of persistent CUDA kernels which<br> are pre-compiled to fit different GPUs.<br>  This algorithm is available only on Pascal GPUs.<br> o CUDNN_RNN_ALGO_PERSIST_DYNAMIC :<br> This algorithm also relies on the usage of persistent CUDA kernels<br> but these kernels are compiled at runtime using nvrtc. In some cases<br> this results in a significant performance benefit.<br>  This algorithm is also available only on Pascal GPUs and is supported<br> only on Linux and Windows.<br>  Support for 1D-FFT convolutions has been added<br>  New API routine cudnnReduceTensor has been added, supporting 8 reduction<br> operations<br>  Activation mode CUDNN_ACTIVATION_ELU is now supported.<br>  A deterministic max pooling mode CUDNN_POOLING_MAX_DETERMINISTIC<br> has been added.<br>  Significant performance improvement for softmax layers for mode<br> CUDNN_SOFTMAX_MODE_CHANNEL has been achieved when low batch<br> number is used.<br>  Significant performance improvements have been added for cudnnAddTensor<br> when spatial dimensions are set to 1.</p> </blockquote>
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 checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+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%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 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">Description</h1> <p dir="auto">The RabbitMQ setting <a href="https://docs.celeryproject.org/en/stable/userguide/configuration.html#task-queue-ha-policy" rel="nofollow">task_queue_ha_policy</a> no longer has any affect, as <a href="https://www.rabbitmq.com/blog/2012/11/19/breaking-things-with-rabbitmq-3-0/" rel="nofollow">described in the release notes for version 3</a>.</p> <p dir="auto">This was <a href="https://groups.google.com/u/1/g/celery-users/c/hiZPiz2JWo8/m/2_q_Q5sM0BIJ" rel="nofollow">reported to the mailing list here</a> (in 2013!) and the answer then was that it's deprecated and will be removed.</p> <h1 dir="auto">Suggestions</h1> <p dir="auto">Remove the configuration parameter and maybe reference the blog post and/or docs on how to set a policy.</p>
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have 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/master">commit log</a><br> to find out if the if the same enhancement was already implemented in the<br> master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="552058448" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5928" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5928/hovercard" href="https://github.com/celery/celery/issues/5928">#5928</a></li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h1 dir="auto">Brief Summary</h1> <p dir="auto"><code class="notranslate">db.authenticate()</code> is deprecated starting from <a href="https://pymongo.readthedocs.io/en/stable/changelog.html#changes-in-version-3-5" rel="nofollow">pymongo 3.5</a>.</p> <p dir="auto">It is being used in our backend:</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/ee13eae8e20896beadd89dec8f521bd781522416/celery/backends/mongodb.py#L266-L277">celery/celery/backends/mongodb.py</a> </p> <p class="mb-0 color-fg-muted"> Lines 266 to 277 in <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/ee13eae8e20896beadd89dec8f521bd781522416">ee13eae</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="L266" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="266"></td> <td id="LC266" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">_get_database</span>(<span class="pl-s1">self</span>): </td> </tr> <tr class="border-0"> <td id="L267" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="267"></td> <td id="LC267" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">conn</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_connection</span>() </td> </tr> <tr class="border-0"> <td id="L268" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="268"></td> <td id="LC268" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">db</span> <span class="pl-c1">=</span> <span class="pl-s1">conn</span>[<span class="pl-s1">self</span>.<span class="pl-s1">database_name</span>] </td> </tr> <tr class="border-0"> <td id="L269" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="269"></td> <td id="LC269" 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-s1">self</span>.<span class="pl-s1">user</span> <span class="pl-c1">and</span> <span class="pl-s1">self</span>.<span class="pl-s1">password</span>: </td> </tr> <tr class="border-0"> <td id="L270" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="270"></td> <td id="LC270" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">source</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">options</span>.<span class="pl-en">get</span>( </td> </tr> <tr class="border-0"> <td id="L271" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="271"></td> <td id="LC271" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">'authsource'</span>, </td> </tr> <tr class="border-0"> <td id="L272" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="272"></td> <td id="LC272" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">self</span>.<span class="pl-s1">database_name</span> <span class="pl-c1">or</span> <span class="pl-s">'admin'</span> </td> </tr> <tr class="border-0"> <td id="L273" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="273"></td> <td id="LC273" 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="L274" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="274"></td> <td id="LC274" 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">not</span> <span class="pl-s1">db</span>.<span class="pl-en">authenticate</span>(<span class="pl-s1">self</span>.<span class="pl-s1">user</span>, <span class="pl-s1">self</span>.<span class="pl-s1">password</span>, <span class="pl-s1">source</span><span class="pl-c1">=</span><span class="pl-s1">source</span>): </td> </tr> <tr class="border-0"> <td id="L275" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="275"></td> <td id="LC275" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">raise</span> <span class="pl-v">ImproperlyConfigured</span>( </td> </tr> <tr class="border-0"> <td id="L276" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="276"></td> <td id="LC276" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s">'Invalid MongoDB username or password.'</span>) </td> </tr> <tr class="border-0"> <td id="L277" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="277"></td> <td id="LC277" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">return</span> <span class="pl-s1">db</span> </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">Celery 5.1.0 will introduce official support for Python 3.9 and so we require our dependencies to support it.</p> <h1 dir="auto">Design</h1> <p dir="auto">Remove usage of <code class="notranslate">db.authenticate()</code> as we already authenticate when creating the <code class="notranslate">MongoClient</code> instance.</p> <h2 dir="auto">Architectural Considerations</h2> <p dir="auto">None as the newer pymongo versions do not drop support for MongoDB versions.</p> <h2 dir="auto">Proposed Behavior</h2> <p dir="auto">The backend should behave exactly the same.</p> <h2 dir="auto">Proposed UI/UX</h2> <p dir="auto">The same exception should be raised in case of an authentication failure.</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">I'm seeing some weird off-by-one issues when moving the selection point around in code, especially at the beginning of a line. I'll add a note to this if I figure out a reproduction, but it's happening pretty frequently.</p> <p dir="auto">User: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jbarnette/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jbarnette">@jbarnette</a><br> Atom Version: 0.42.0<br> User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Atom/0.42.0 Safari/537.36</p>
<p dir="auto">Getting some whack cursor behavior on atom 0.41.0:</p> <p dir="auto">I'm trying to write the <code class="notranslate">_</code> outside of the quotes. But it stays inside.</p> <p dir="auto">I tried to fix it manually, but it won't let me.</p> <p dir="auto">This is what I want:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="_ &quot;./cache&quot;"><pre class="notranslate"><code class="notranslate">_ "./cache" </code></pre></div>
1
<p dir="auto">There is a defect in the cron module when running on SuSE and other distributions that add a header, three lines, to the user crontab file. Each call to add/remove a job includes the previous header. After adding the code to strip the header, I created a test suite outside ansible and found other problems with the handling empty jobs and cron files. I should be able to cleanup my changes and generate a pull request over the weekend.</p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto"><code class="notranslate">template</code> module(action plugin)</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.1.0"><pre class="notranslate"><code class="notranslate">ansible 2.2.1.0 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">Default config</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">Jinja2 templates can't be included between roles in 2.2.1</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Make two roles: <code class="notranslate">common_role</code>, <code class="notranslate">service_role</code>.<br> Make template in <code class="notranslate">common_role/templates/common.j2</code>.<br> Make template in <code class="notranslate">service_role/templates/service.j2</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="This is a service {% include 'common_role/templates/common.j2' %}"><pre class="notranslate"><code class="notranslate">This is a service {% include 'common_role/templates/common.j2' %} </code></pre></div> <p dir="auto">Trying to template <code class="notranslate">service.j2</code> will fail with error:</p> <blockquote> <p dir="auto">TemplateNotFound: common_role/templates/common.j2</p> </blockquote> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto"><code class="notranslate">service.j2</code> should include <code class="notranslate">common.j2</code> while rendering.</p> <h5 dir="auto">DETAILS</h5> <p dir="auto">This happens because <code class="notranslate">/path/to/project/roles</code> is not included in search path any more.<br> <a href="https://github.com/ansible/ansible/commit/f90a6439c41c345f48ea4187278ba39dbdb182e3">Commit</a> with braking changes.</p> <p dir="auto">Original behaviour has been done <a href="https://github.com/ansible/ansible/commit/dbd755e0f45d157ddf6326252043fa60f7ee80e7">here</a> and patched a bit <a href="https://github.com/ansible/ansible/commit/f162990cb3677ad19c138a8700c39e5e656cfd81">here</a>.</p> <p dir="auto">This allow to include templates between roles, because Jinja2 blocks include paths with <code class="notranslate">..</code>.</p>
0
<p dir="auto">problem: <a href="https://babeljs.io/repl/#?experimental=false&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=const%20a%20%3D%20%7Bb%3A%20%7Bc%3A%20Function()%7D%7D%0Aconst%20%7Bc%7D%20%3D%20a.b%0Aconst%20d%20%3D%20%7B%0A%20%20c%20()%20%7B%0A%20%20%20%20console.log(typeof%20c)%20%2F%2F%20should%20be%20function%2C%20is%20undefined%0A%20%20%7D%0A%7D" rel="nofollow">https://babeljs.io/repl/#?experimental=false&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=const%20a%20%3D%20%7Bb%3A%20%7Bc%3A%20Function()%7D%7D%0Aconst%20%7Bc%7D%20%3D%20a.b%0Aconst%20d%20%3D%20%7B%0A%20%20c%20()%20%7B%0A%20%20%20%20console.log(typeof%20c)%20%2F%2F%20should%20be%20function%2C%20is%20undefined%0A%20%20%7D%0A%7D</a></p> <p dir="auto">Input code</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const a = {b: {c: Function()}} const {c} = a.b const d = { c () { console.log(typeof c) // should be function, is undefined } }"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">b</span>: <span class="pl-kos">{</span><span class="pl-c1">c</span>: <span class="pl-v">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-k">const</span> <span class="pl-kos">{</span>c<span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-c1">b</span> <span class="pl-k">const</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">c</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-k">typeof</span> <span class="pl-s1">c</span><span class="pl-kos">)</span> <span class="pl-c">// should be function, is undefined</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">yields:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var a = { b: { c: Function() } }; var _c = a.b._c; // this should be `c`, not `_c` var d = { c: function c() { console.log(typeof _c); } }; // should be function, is undefined"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">b</span>: <span class="pl-kos">{</span> <span class="pl-c1">c</span>: <span class="pl-v">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-k">var</span> <span class="pl-s1">_c</span> <span class="pl-c1">=</span> <span class="pl-s1">a</span><span class="pl-kos">.</span><span class="pl-c1">b</span><span class="pl-kos">.</span><span class="pl-c1">_c</span><span class="pl-kos">;</span> <span class="pl-c">// this should be `c`, not `_c`</span> <span class="pl-k">var</span> <span class="pl-s1">d</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">c</span>: <span class="pl-k">function</span> <span class="pl-en">c</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-k">typeof</span> <span class="pl-s1">_c</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-c">// should be function, is undefined</span></pre></div>
<p dir="auto">We expect the following:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var Utils = { get: function() {} }; var { get } = Utils; var bar = { get: function(arg) { get(arg, &quot;baz&quot;); } };"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-v">Utils</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-kos">{</span> get <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-v">Utils</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">bar</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">,</span> <span class="pl-s">"baz"</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">To become:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var Utils = { get: function get() {} }; var _get = Utils.get; var bar = { get: function get(arg) { _get(arg, &quot;baz&quot;); } };"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-v">Utils</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">_get</span> <span class="pl-c1">=</span> <span class="pl-v">Utils</span><span class="pl-kos">.</span><span class="pl-c1">get</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">bar</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">_get</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">,</span> <span class="pl-s">"baz"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto">But actually we get:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var Utils = { get: function get() {} }; var _get = Utils._get; // &lt;--- Note the extra underscore var bar = { get: function get(arg) { _get(arg, &quot;baz&quot;); } };"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-v">Utils</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">_get</span> <span class="pl-c1">=</span> <span class="pl-v">Utils</span><span class="pl-kos">.</span><span class="pl-c1">_get</span><span class="pl-kos">;</span> <span class="pl-c">// &lt;--- Note the extra underscore</span> <span class="pl-k">var</span> <span class="pl-s1">bar</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-en">get</span>: <span class="pl-k">function</span> <span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">_get</span><span class="pl-kos">(</span><span class="pl-s1">arg</span><span class="pl-kos">,</span> <span class="pl-s">"baz"</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">I’ve prepared a branch with failing test case:</p> <p dir="auto"><a class="commit-link" href="https://github.com/babel/babel/compare/babel:a241300...jgwhite:2826614"><tt>babel:a241300...jgwhite:2826614</tt></a></p> <p dir="auto">Let me know if you want a PR.</p>
1
<p dir="auto">From the beginning, you can make a choice of language. And then, the information will (could be) appear according to the chosen language. If there is no translated information, then in English.</p> <p dir="auto">Probably it will be the Chaos</p>
<p dir="auto">As an user, when completing challenges in a non-english language and running into a challenge that does not have an active translation, I want a notification explaining that translation is being worked on, and the current one is missing. And invitation to contribute with it, perhaps?</p> <p dir="auto">Said notification should link to the translation repo's issues, with the respective language tags selected.</p> <p dir="auto">Active translations are translations of a challenge that is relatively up to date</p>
1
<h3 dir="auto">Description</h3> <p dir="auto">The <code class="notranslate">fit_transfrom</code> function from the <code class="notranslate">sklearn.impute.KNNImputer</code> returns array that with <code class="notranslate">NaN</code> values removed instead of imputed.</p> <p dir="auto">For example if an array X with shape (1,100) and 4 missing values is passed to fit_transform. It returns an array with size shape (1,96); The <code class="notranslate">NaN</code> values removed.</p> <h4 dir="auto">Example :</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import numpy as np from sklearn.impute import KNNImputer X = np.array([[1,2,np.nan,3,4,np.nan,5,6,np.nan]]) imp = KNNImputer() X_imp = imp.fit_transform(X) print(X.shape) print(X_imp.shape) print(X) print(X_imp) "><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">impute</span> <span class="pl-k">import</span> <span class="pl-v">KNNImputer</span> <span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>,<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>,<span class="pl-c1">5</span>,<span class="pl-c1">6</span>,<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>]]) <span class="pl-s1">imp</span> <span class="pl-c1">=</span> <span class="pl-v">KNNImputer</span>() <span class="pl-v">X_imp</span> <span class="pl-c1">=</span> <span class="pl-s1">imp</span>.<span class="pl-en">fit_transform</span>(<span class="pl-v">X</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>.<span class="pl-s1">shape</span>) <span class="pl-en">print</span>(<span class="pl-v">X_imp</span>.<span class="pl-s1">shape</span>) <span class="pl-en">print</span>(<span class="pl-v">X</span>) <span class="pl-en">print</span>(<span class="pl-v">X_imp</span>)</pre></div> <h4 dir="auto">Expected Results</h4> <p dir="auto">(1, 9)<br> (1, 9)<br> [[ 1. 2. nan 3. 4. nan 5. 6. nan]]<br> [[1. 2 <em>some_value_here</em> 3. 4. <em>some_value_here</em> 5. 6. <em>some_value_here</em>]]</p> <h4 dir="auto">Actual Results</h4> <p dir="auto">(1, 9)<br> (1, 6)<br> [[ 1. 2. nan 3. 4. nan 5. 6. nan]]<br> [[1. 2. 3. 4. 5. 6.]]</p> <h4 dir="auto">Versions</h4> <p dir="auto">System:<br> python: 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]<br> executable: C:\Users\my_name\Anaconda3\pythonw.exe<br> machine: Windows-10-10.0.18362-SP0</p> <p dir="auto">Python dependencies:<br> pip: 20.0.2<br> setuptools: 45.2.0.post20200210<br> sklearn: 0.22.1<br> numpy: 1.18.1<br> scipy: 1.4.1<br> Cython: 0.29.15<br> pandas: 1.0.1<br> matplotlib: 3.1.3<br> joblib: 0.14.1</p> <p dir="auto">Built with OpenMP: True</p>
<h3 dir="auto">Code sample</h3> <p dir="auto">In the sample code below, a column is removed from the dataset during the pipeline</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; from sklearn.impute import SimpleImputer &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; imp = SimpleImputer() &gt;&gt;&gt; imp.fit([[0, np.nan], [1, np.nan]]) &gt;&gt;&gt; imp.transform([[0, np.nan], [1, 1]]) array([[0.], [1.]])"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">impute</span> <span class="pl-k">import</span> <span class="pl-v">SimpleImputer</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</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-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">imp</span> <span class="pl-c1">=</span> <span class="pl-v">SimpleImputer</span>() <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">imp</span>.<span class="pl-en">fit</span>([[<span class="pl-c1">0</span>, <span class="pl-s1">np</span>.<span class="pl-s1">nan</span>], [<span class="pl-c1">1</span>, <span class="pl-s1">np</span>.<span class="pl-s1">nan</span>]]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">imp</span>.<span class="pl-en">transform</span>([[<span class="pl-c1">0</span>, <span class="pl-s1">np</span>.<span class="pl-s1">nan</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">1</span>]]) <span class="pl-en">array</span>([[<span class="pl-c1">0.</span>], [<span class="pl-c1">1.</span>]])</pre></div> <h3 dir="auto">Problem description</h3> <p dir="auto">Currently <code class="notranslate">sklearn.impute.SimpleImputer</code> silently removes features that are <code class="notranslate">np.nan</code> on every training sample.</p> <p dir="auto">This may cause further issues on pipelines because the dataset's <code class="notranslate">shape</code> has changed, e.g.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dataset[:, columns_to_impute_with_median] = imp.fit_transform(dataset[:, columns_to_impute_with_median])"><pre class="notranslate"><span class="pl-s1">dataset</span>[:, <span class="pl-s1">columns_to_impute_with_median</span>] <span class="pl-c1">=</span> <span class="pl-s1">imp</span>.<span class="pl-en">fit_transform</span>(<span class="pl-s1">dataset</span>[:, <span class="pl-s1">columns_to_impute_with_median</span>])</pre></div> <h3 dir="auto">Possible solutions</h3> <p dir="auto">For the problematic features, either keep their values if valid or impute the <code class="notranslate">fill_value</code> during <code class="notranslate">transform</code>. I suggest adding a new parameter to trigger this behaviour with a warning highlighting the referred features.</p> <p dir="auto">As I'm willing to implement this feature, I look forward advices.</p>
1
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2168" rel="nofollow">http://projects.scipy.org/numpy/ticket/2168</a> on 2012-06-16 by trac user kobejohn, assigned to unknown.</em></p> <p dir="auto">I found this due to someone having a problem not being able to load large integers with recfromcsv. After playing with it, I think it is simply ignoring all the dtype information provided.</p> <p dir="auto">[https://github.com/numpy/numpy/blob/master/numpy/lib/npyio.py#L1859 Line 1859 in npyio.py, part of recfromcsv()] tries to either bring in the dtypes passed or set None. However, it actually brings in a kwarg that I couldn't find anywhere else called 'update' which looks suspiciously like a copied mistype from earlier in the line.</p> <p dir="auto">If I change 'update' --&gt; 'dtype', then the types get picked up as expected.</p> <p dir="auto">I found this in the github repo (although I may have been looking at the wrong branch) as well as 1.6.2</p>
<p dir="auto">I found this due to <a href="http://stackoverflow.com/questions/11064908/getting-numpy-overflow-despite-declaring-dtype-int64/11065583#comment14481167_11065583" rel="nofollow">someone's problem loading large integers with recfromcsv</a>. After playing with it, I think it is simply ignoring all the dtype information provided.</p> <p dir="auto"><a href="https://github.com/numpy/numpy/blob/master/numpy/lib/npyio.py#L1859">Line 1859 in npyio.py, part of recfromcsv()</a> tries to either bring in the dtypes passed or set None. However, it actually brings in a kwarg that I couldn't find anywhere else called 'update' which looks suspiciously like a copied mistype from earlier in the line. If I change 'update' --&gt; 'dtype', then the types get picked up as expected. More explicitly, in recfromcsv, change:</p> <p dir="auto"><code class="notranslate">kwargs.update(dtype=kwargs.get('update', None),</code></p> <p dir="auto">to this:</p> <p dir="auto"><code class="notranslate">kwargs.update(dtype=kwargs.get('dtype', None),</code></p> <p dir="auto">I found this in the github repo (although I may have been looking at the wrong branch) as well as the 1.6.2 release that I am using.</p> <p dir="auto"><strong>_(apologies for double posting this. I <a href="http://projects.scipy.org/numpy/ticket/2168" rel="nofollow">posted in trac</a> first and then heard that maybe that won't be looked at. I haven't found a way to delete or close that ticket.)</strong>_</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kalradeepak" rel="nofollow">Deepak Kalra</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-586?redirect=false" rel="nofollow">SPR-586</a></strong> and commented</p> <p dir="auto">Hi,</p> <p dir="auto">I am in the process of designing the architecture using Spring Framwork.<br> We are looking for the solution as follows</p> <p dir="auto">Client calls the EJB Layer and EJB Layer initiates the transaction management i.e. Stateless Session Bean with CMT. Stateless Session Bean in turn calls the Spring Service Layer Which in turn calls the POJO i.e. Hibernate.</p> <p dir="auto">My Question is If I will set the Session Beam Transaction as REQUIRES_NEW i.e. JTA Application Server and Service Layer of Spring Framework will be using JTATransaction and method is having PROPAGATION as Required Transaction.</p> <p dir="auto">&lt;bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"&gt;<br> &lt;property name="jndiName"&gt;&lt;value&gt;jdbc/jpetstore&lt;/value&gt;&lt;/property&gt;<br> &lt;/bean&gt;<br> &lt;bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean"&gt;<br> &lt;property name="dataSource"&gt;&lt;ref local="dataSource"/&gt;&lt;/property&gt;<br> &lt;property name="mappingResources"&gt;<br> &lt;value&gt;org/springframework/samples/petclinic/hibernate/petclinic.hbm.xml&lt;/value&gt;<br> &lt;/property&gt;<br> &lt;property name="hibernateProperties"&gt;<br> &lt;props&gt;<br> &lt;prop key="hibernate.dialect"&gt;${hibernate.dialect}&lt;/prop&gt;<br> &lt;/props&gt;<br> &lt;/property&gt;<br> &lt;/bean&gt;</p> <p dir="auto">&lt;bean id="transactionManager"<br> class="org.springframework.transaction.jta.JtaTransactionManager"/&gt;</p> <p dir="auto">Will this work architecture work. As EJB has initiated the transaction. Will it possible that POJO method works in the same transaction or Not. I will appreciate If you guys can help me out.</p> <p dir="auto">Kind Regards<br> Deepak</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="398053845" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5318" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5318/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5318">#5318</a> Integration of EJB CMT with Spring Framework (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=urubatan" rel="nofollow">Rodrigo Urubatan Ferreira Jardim</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1987?redirect=false" rel="nofollow">SPR-1987</a></strong> and commented</p> <p dir="auto">I think some bean definitions are just configuration, as the Data Source, Transaction Manager, Mail Server, ...<br> but most of then are the application code, and not configuration.<br> for the seccond case, I think it would be very easy and clean, to register it on the application with annotations, because it would use a lot less code than the XML approach, and this beans registrations (like my application DAOs, or my Spring MVC controllers), does not change during the life time of any application.<br> for this to be reached it would be necessary to scan the classpath for the annotated classes.</p> <p dir="auto">I have wrote a litle bouch of classes that make the application context behave exaclty this way, enabling it to use bean registration by annotations.<br> please consider including it in spring framework as an optional extension.</p> <p dir="auto">I`m not sure the application way I did it (creating another application context class) is the best one, but it is an idea of implementation for it :D</p> <p dir="auto">the code I have wrote is atacched.<br> what it does right now is:</p> <ol dir="auto"> <li><code class="notranslate">@Bean</code> - equals to &lt;bean&gt; <ul dir="auto"> <li>autoWire (NO, BY_NAME, BY_TYPE, INHERITED)</li> <li>dependencyCheck</li> <li>destroyMethod</li> <li>factoryMethod</li> <li>initMethod</li> <li>lazy</li> <li>name</li> <li>scope (APPLICATION, REQUEST, SESSION) - short cut to aop:scope</li> <li>singleton</li> </ul> </li> <li><code class="notranslate">@UrlMapping</code> - attaches the bean to a URL using an bean factor post processor (AnnotationHandlerMaping)</li> <li><code class="notranslate">@UrlMappings</code> - enables multiple UrlMappings per bean</li> <li><code class="notranslate">@Property</code></li> <li><code class="notranslate">@ConstructorArgs</code></li> </ol> <p dir="auto">in the code, there is an example applicationContext.xml that enables WebServices using JSR 181 webservices through xfire/spring integration, and has already a propertyPlaceholderConfigurer.</p> <p dir="auto">the annotation scan, for now scans every directory/jar in the classpath, that contains a file names to.properties in the root, and the propertyPlaceholderConfigurer uses this files too.</p> <p dir="auto">with this jar, I was able to define only a datasource, transaction manager,sessionFactory,tx:annotation-driven,and a defaultViewResolver<br> and write all the rest of my application without touching in a XML file.<br> this way, all I need to know about my beans was in the bean code.</p> <p dir="auto">the installation of it is preaty clean too:</p> <p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p> <p dir="auto">&lt;web-app id="WebApp_ID" version="2.4"<br> xmlns="<a href="http://java.sun.com/xml/ns/j2ee" rel="nofollow">http://java.sun.com/xml/ns/j2ee</a>"<br> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br> xsi:schemaLocation="<a href="http://java.sun.com/xml/ns/j2ee" rel="nofollow">http://java.sun.com/xml/ns/j2ee</a> <a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd%22%3E" rel="nofollow">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;</a><br> &lt;display-name&gt;TO - Novo Site&lt;/display-name&gt;<br> &lt;context-param&gt;<br> &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;<br> &lt;param-value&gt;classpath*:applicationContext.xml&lt;/param-value&gt;<br> &lt;/context-param&gt;<br> &lt;context-param&gt;<br> &lt;param-name&gt;contextClass&lt;/param-name&gt;<br> &lt;param-value&gt;<br> br.com.techoffice.spring.web.TOAnnotationXmlWebApplicationContext<br> &lt;/param-value&gt;<br> &lt;/context-param&gt;<br> &lt;listener&gt;<br> &lt;listener-class&gt;<br> org.springframework.web.context.ContextLoaderListener<br> &lt;/listener-class&gt;<br> &lt;/listener&gt;<br> &lt;filter&gt;<br> &lt;filter-name&gt;requestContext&lt;/filter-name&gt;<br> &lt;filter-class&gt;<br> org.springframework.web.filter.RequestContextFilter<br> &lt;/filter-class&gt;<br> &lt;/filter&gt;<br> &lt;filter-mapping&gt;<br> &lt;filter-name&gt;requestContext&lt;/filter-name&gt;<br> &lt;url-pattern&gt;/*&lt;/url-pattern&gt;<br> &lt;/filter-mapping&gt;<br> &lt;servlet&gt;<br> &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;<br> &lt;servlet-class&gt;<br> org.springframework.web.servlet.DispatcherServlet<br> &lt;/servlet-class&gt;<br> &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br> &lt;/servlet&gt;<br> &lt;servlet-mapping&gt;<br> &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;<br> &lt;url-pattern&gt;*.to&lt;/url-pattern&gt;<br> &lt;/servlet-mapping&gt;<br> &lt;servlet-mapping&gt;<br> &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;<br> &lt;url-pattern&gt;/web/*&lt;/url-pattern&gt;<br> &lt;/servlet-mapping&gt;<br> &lt;/web-app&gt;</p> <p dir="auto">a blank dispatcher-servlet.xml (does this is really needed? what if I want all my configuration to be application-wide, I really need to create a xml file to each servlet, or in this case to the only servlet I have?)</p> <p dir="auto">again, please consider it as an optional module for spring framework.<br> and thanks for the great framework, it has saved a few of my projects in clients in the last 2 years.</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/11617/spring-annotations.zip" rel="nofollow">spring-annotations.zip</a> (<em>13.03 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398078047" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8169" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8169/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8169">#8169</a> Enable the definition of beans in the application context using annotations instead of XML, but do it right (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">4 votes, 5 watchers</p>
0
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p> <p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code.</li> <li>OS Platform and Distribution: Ubuntu 18.04.</li> <li>TensorFlow installed from pip</li> <li>TensorFlow version 1.14 with GPU support</li> <li>Python version: 3.7.3</li> <li>CUDA/cuDNN version: 10</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong></p> <p dir="auto">Hi, when I am using the hessian_vector_product() to computer the hessian_vector_product of my model, it returns results organized as IndexedSliceValue. This is OK because the model include data structure like embeddings.</p> <p dir="auto">However, when I do the assert on the indices of the returned IndexedSliceValue. I notice that there are duplicated indices with different corresponding values. May I know how to deal with these conflict &lt;indices, values&gt;? Thanks in advance.</p>
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No</li> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu 18.04</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:</li> <li>TensorFlow installed from (source or binary): binary</li> <li>TensorFlow version (use command below): 2.0.0-rc0</li> <li>Python version: 3.6.8</li> <li>Bazel version (if compiling from source):</li> <li>GCC/Compiler version (if compiling from source):</li> <li>CUDA/cuDNN version: CUDA 10.0</li> <li>GPU model and memory: GeForce RTX 2080 Ti</li> </ul> <p dir="auto"><strong>Describe the current behavior</strong><br> Running any of the saved models from <a href="https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md">tensorflow model zoo</a> leads to a segmentation fault.</p> <p dir="auto"><strong>Code to reproduce the issue</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os import tensorflow as tf import numpy as np os.system('wget http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz') os.system('tar -xvf ssd_mobilenet_v2_coco_2018_03_29.tar.gz') with tf.device('/device:GPU:0'): loaded_model = tf.saved_model.load('ssd_mobilenet_v2_coco_2018_03_29/saved_model') infer = loaded_model.signatures['serving_default'] sample_img = np.zeros((1,128,128,3)) predicted = infer(tf.constant(sample_img, tf.uint8)) print(predicted)"><pre class="notranslate"><code class="notranslate">import os import tensorflow as tf import numpy as np os.system('wget http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v2_coco_2018_03_29.tar.gz') os.system('tar -xvf ssd_mobilenet_v2_coco_2018_03_29.tar.gz') with tf.device('/device:GPU:0'): loaded_model = tf.saved_model.load('ssd_mobilenet_v2_coco_2018_03_29/saved_model') infer = loaded_model.signatures['serving_default'] sample_img = np.zeros((1,128,128,3)) predicted = infer(tf.constant(sample_img, tf.uint8)) print(predicted) </code></pre></div> <p dir="auto"><strong>gdb output</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Thread 89 &quot;python3&quot; received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffbfbfff700 (LWP 7857)] 0x00007fff4372b741 in tensorflow::NonMaxSuppressionV2GPUOp::Compute(tensorflow::OpKernelContext*) () from /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so"><pre class="notranslate"><code class="notranslate">Thread 89 "python3" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffbfbfff700 (LWP 7857)] 0x00007fff4372b741 in tensorflow::NonMaxSuppressionV2GPUOp::Compute(tensorflow::OpKernelContext*) () from /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so </code></pre></div>
0
<p dir="auto">Although it's working properly on the left side, on the right side it doesn't encounter that it's close to the end of the window and a vertical scroll bar is displayed.</p> <p dir="auto">Probably it's the same with tooltip.</p> <p dir="auto"><a href="http://jsfiddle.net/PRrky/1/" rel="nofollow">http://jsfiddle.net/PRrky/1/</a></p>
<p dir="auto">I think it would be great to have some CSS for a calendar widget. It may seem pointless to have CSS without some JS to accompany it. Would it be possible to have a calendar icon appended to an input that when clicked on would display the calendar. I know jQuery UI can accomplish this, but it would great if it matched the Boostrap CSS.</p>
0
<ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>5.0.x</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>macOS 10.14.5</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Electron does not crash at exit.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The notifications are sent well, i use the close() function to avoid persistence in Notification Center.</p> <p dir="auto">By doing this every time I quit the application I have a message that warns me that the application did not stop properly.</p> <h3 dir="auto">To Reproduce</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const notif = new Notification({title: title, body: body, silent: true}) notif.on('click', () =&gt; appEvent.emit('show-window')) notif.show() setTimeout(() =&gt; notif.close(), 10000)"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">notif</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Notification</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">title</span>: <span class="pl-s1">title</span><span class="pl-kos">,</span> <span class="pl-c1">body</span>: <span class="pl-s1">body</span><span class="pl-kos">,</span> <span class="pl-c1">silent</span>: <span class="pl-c1">true</span><span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-s1">notif</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'click'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">appEvent</span><span class="pl-kos">.</span><span class="pl-en">emit</span><span class="pl-kos">(</span><span class="pl-s">'show-window'</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-s1">notif</span><span class="pl-kos">.</span><span class="pl-en">show</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">notif</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">10000</span><span class="pl-kos">)</span></pre></div> <p dir="auto">After sending notification(s), close application (app.quit()) and the error will appear.</p> <p dir="auto">To no longer have the error after quitting app, i do not use the function close () but my application generates a lot of notifications and I would have preferred to handle that.</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>6.0.0-beta3</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>macOS 10.13.6 10.14.4 / Windows 7 --&gt;</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong>: <ul dir="auto"> <li>5.0.1</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Clicked download link in renderer process, then show Save as dialog.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Clicked download link in renderer process, then Electron app creshed.</p> <h3 dir="auto">To Reproduce</h3> <ol dir="auto"> <li>Clone and start sample app</li> </ol> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/agata/crash-electron-with-download-link.git $ cd ./crash-electron-with-download-link $ npm install $ npm start"><pre class="notranslate">$ git clone https://github.com/agata/crash-electron-with-download-link.git $ <span class="pl-c1">cd</span> ./crash-electron-with-download-link $ npm install $ npm start</pre></div> <ol start="3" dir="auto"> <li>Click a download link in the app -&gt; Crash electron app</li> </ol> <h3 dir="auto">Screenshots</h3> <h4 dir="auto">Electron 5.0.1</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/40473/57963469-8adb6980-795f-11e9-8cf6-1e58b8358e5f.png"><img width="1260" alt="Electron-5 0 1" src="https://user-images.githubusercontent.com/40473/57963469-8adb6980-795f-11e9-8cf6-1e58b8358e5f.png" style="max-width: 100%;"></a></p> <h4 dir="auto">Electron 6.0.0-beta.3</h4> <p dir="auto">Screencast: <a href="https://github.com/electron/electron/files/3193560/Electron-6.0.0-beta.3.mov.zip">Electron-6.0.0-beta.3.mov.zip</a></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">If using <a href="https://github.com/sindresorhus/electron-dl">electron-dl</a>, it does not happen this problem. Electron-dl don't show Save As dialog with default mode.</p>
0
<p dir="auto">I've run into some unexpected behavior when using <code class="notranslate">numpy.matmul</code>. For shape (2,2) array <code class="notranslate">ar1</code> and shape (2,N) array <code class="notranslate">ar2</code>, the function's behavior appears to change unexpectedly with the dimension N.</p> <h3 dir="auto">Reproducing code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np ar1 = np.array([[1,0.1],[-0.1,1]]) ar2 = np.vstack([np.ones(100),np.zeros(100)]) ans1 = np.matmul(ar1,ar2[:,:7]) ans2 = np.matmul(ar1,ar2[:,:8])"><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-s1">ar1</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-c1">1</span>,<span class="pl-c1">0.1</span>],[<span class="pl-c1">-</span><span class="pl-c1">0.1</span>,<span class="pl-c1">1</span>]]) <span class="pl-s1">ar2</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">vstack</span>([<span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">100</span>),<span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">100</span>)]) <span class="pl-s1">ans1</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">matmul</span>(<span class="pl-s1">ar1</span>,<span class="pl-s1">ar2</span>[:,:<span class="pl-c1">7</span>]) <span class="pl-s1">ans2</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">matmul</span>(<span class="pl-s1">ar1</span>,<span class="pl-s1">ar2</span>[:,:<span class="pl-c1">8</span>])</pre></div> <p dir="auto">In the code above, ans1 gives the expected result of</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[ 1. , 1. , 1. , 1. , 1. , 1. , 1. ], [-0.1, -0.1, -0.1, -0.1, -0.1, -0.1, -0.1]])"><pre class="notranslate"><code class="notranslate">array([[ 1. , 1. , 1. , 1. , 1. , 1. , 1. ], [-0.1, -0.1, -0.1, -0.1, -0.1, -0.1, -0.1]]) </code></pre></div> <p dir="auto">Similarly, I get the expected result when slicing ar2 with ar2[:,:i] for any <code class="notranslate">i &lt; 8</code>. However, ans2 is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. ], [0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. ]])"><pre class="notranslate"><code class="notranslate">array([[1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. ], [0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. ]]) </code></pre></div> <p dir="auto">for other values of <code class="notranslate">i &gt; 8</code>, the behavior becomes stranger. E.g. <code class="notranslate">i = 10</code> yields:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[ 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1. , 1. ], [ 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , -0.1, -0.1]])"><pre class="notranslate"><code class="notranslate">array([[ 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1. , 1. ], [ 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , -0.1, -0.1]]) </code></pre></div> <p dir="auto">and <code class="notranslate">i=20</code> yields:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="array([[ 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1. , 1. , 1. , 1. ], [ 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , -0.1, -0.1, -0.1, -0.1]])"><pre class="notranslate"><code class="notranslate">array([[ 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1.1, 1.1, 1.1, 1.1, 0. , 0. , 0. , 0. , 1. , 1. , 1. , 1. ], [ 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , 0.9, 0.9, 0.9, 0.9, 0. , 0. , 0. , 0. , -0.1, -0.1, -0.1, -0.1]]) </code></pre></div> <p dir="auto">Have I misunderstood the intended behavior here? This is definitely not reproducing standard matrix multiplication. Thanks for any help!</p> <p dir="auto">Ben</p> <h3 dir="auto">Numpy/Python version information:</h3> <p dir="auto">1.16.4<br> 3.7.3 (default, Mar 27 2019, 22:11:17)<br> [GCC 7.3.0]</p>
<p dir="auto">If I take an array and create a view using newbyteorder, the output from <code class="notranslate">tostring</code> is not byteswapped:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [2]: import numpy as np In [3]: x = np.array([1,2,3], dtype=np.int16) ...: y = x.byteswap(False) ...: z = x.newbyteorder('S') In [4]: print(x.tostring()) b'\x01\x00\x02\x00\x03\x00' In [5]: print(y.tostring()) b'\x00\x01\x00\x02\x00\x03' In [6]: print(z.tostring()) b'\x01\x00\x02\x00\x03\x00'"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">2</span>]: <span class="pl-s1">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-v">In</span> [<span class="pl-c1">3</span>]: <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">int16</span>) ...: <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">byteswap</span>(<span class="pl-c1">False</span>) ...: <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">newbyteorder</span>(<span class="pl-s">'S'</span>) <span class="pl-v">In</span> [<span class="pl-c1">4</span>]: <span class="pl-en">print</span>(<span class="pl-s1">x</span>.<span class="pl-en">tostring</span>()) <span class="pl-s">b'<span class="pl-cce">\x01</span><span class="pl-cce">\x00</span><span class="pl-cce">\x02</span><span class="pl-cce">\x00</span><span class="pl-cce">\x03</span><span class="pl-cce">\x00</span>'</span> <span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-en">print</span>(<span class="pl-s1">y</span>.<span class="pl-en">tostring</span>()) <span class="pl-s">b'<span class="pl-cce">\x00</span><span class="pl-cce">\x01</span><span class="pl-cce">\x00</span><span class="pl-cce">\x02</span><span class="pl-cce">\x00</span><span class="pl-cce">\x03</span>'</span> <span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-en">print</span>(<span class="pl-s1">z</span>.<span class="pl-en">tostring</span>()) <span class="pl-s">b'<span class="pl-cce">\x01</span><span class="pl-cce">\x00</span><span class="pl-cce">\x02</span><span class="pl-cce">\x00</span><span class="pl-cce">\x03</span><span class="pl-cce">\x00</span>'</span></pre></div> <p dir="auto">I think <code class="notranslate">z.tostring()</code> should match <code class="notranslate">y.tostring()</code> instead?</p> <p dir="auto">I'm using Numpy 1.11.2 with Python 3.6</p> <p dir="auto">A related issue is that the <code class="notranslate">data</code> memoryview on <code class="notranslate">z</code> is also not byteswapped, i.e.:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np from io import BytesIO x = np.array([1,2,3], dtype=np.int16) y = x.byteswap(False) z = x.newbyteorder('S') for array in [x, y, z]: b1 = BytesIO() b1.write(array.data) b1.seek(0) print(b1.read())"><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">io</span> <span class="pl-k">import</span> <span class="pl-v">BytesIO</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">int16</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">byteswap</span>(<span class="pl-c1">False</span>) <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">newbyteorder</span>(<span class="pl-s">'S'</span>) <span class="pl-k">for</span> <span class="pl-s1">array</span> <span class="pl-c1">in</span> [<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">z</span>]: <span class="pl-s1">b1</span> <span class="pl-c1">=</span> <span class="pl-v">BytesIO</span>() <span class="pl-s1">b1</span>.<span class="pl-en">write</span>(<span class="pl-s1">array</span>.<span class="pl-s1">data</span>) <span class="pl-s1">b1</span>.<span class="pl-en">seek</span>(<span class="pl-c1">0</span>) <span class="pl-en">print</span>(<span class="pl-s1">b1</span>.<span class="pl-en">read</span>())</pre></div> <p dir="auto">gives:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="b'\x01\x00\x02\x00\x03\x00' b'\x00\x01\x00\x02\x00\x03' b'\x01\x00\x02\x00\x03\x00'"><pre class="notranslate"><code class="notranslate">b'\x01\x00\x02\x00\x03\x00' b'\x00\x01\x00\x02\x00\x03' b'\x01\x00\x02\x00\x03\x00' </code></pre></div>
0
<p dir="auto">Describe what you were doing when the bug occurred:</p> <ol dir="auto"> <li>Add interaction tracing with unstable_trace</li> <li>Record a profile, navigate to Profiler &gt; Profiled Interactions</li> <li>Error appears when scrolling view or immediately</li> </ol> <h2 dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/131928/80805899-3688c400-8b87-11ea-88ca-3a7ae7de3589.gif"><img src="https://user-images.githubusercontent.com/131928/80805899-3688c400-8b87-11ea-88ca-3a7ae7de3589.gif" alt="Kapture 2020-05-01 at 8 37 44" data-animated-image="" style="max-width: 100%;"></a></h2> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.6.0-6cceaeb67</p> <p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:344360<br> at Array.map ()<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:344166<br> at ci (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59620)<br> at Ll (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:109960)<br> at qc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:102381)<br> at Hc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:102306)<br> at Vc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:102171)<br> at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:98781)<br> at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:46014</p> <p dir="auto">Component stack: in Unknown<br> in Unknown<br> in div<br> in div<br> in n<br> in div<br> in bc<br> in div<br> in n<br> in div<br> in vc<br> in div<br> in div<br> in div<br> in So<br> in Unknown<br> in n<br> in Unknown<br> in div<br> in div<br> in rl<br> in Ze<br> in fn<br> in Ga<br> in _s</p>
<p dir="auto">Describe what you were doing when the bug occurred:</p> <p dir="auto">Profiled the new FB. Scrolled down to tail loads.</p> <hr> <h2 dir="auto">Please do not remove the text below this line</h2> <p dir="auto">DevTools version: 4.6.0-a2fb84beb</p> <p dir="auto">Call stack: at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:345591<br> at Array.map ()<br> at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:345397<br> at Ai (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:62580)<br> at zl (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:112694)<br> at jc (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:104789)<br> at Oc (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:104717)<br> at Tc (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:104585)<br> at gc (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:101042)<br> at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:32:47376</p> <p dir="auto">Component stack: at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:344679<br> at div<br> at div<br> at n (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:194307)<br> at div<br> at Cc (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:346311)<br> at div<br> at n (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:3:8163)<br> at div<br> at bc<br> at div<br> at div<br> at div<br> at Do (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:262081)<br> at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:364048<br> at n (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:274563)<br> at chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:277138<br> at div<br> at div<br> at ol (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:323458)<br> at Ze (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:205764)<br> at pn (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:215038)<br> at $a (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:292153)<br> at ws (chrome-extension://dnjnjgbfilfphmojnmhliehogmojhclc/build/main.js:40:369231)</p>
1
<blockquote> <p dir="auto">@ I'm running very simple server. But I have some errors. How I can solve this? I already updated to deno v1.2.1. But steel have this error.</p> </blockquote> <p dir="auto">error: TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.<br> Type 'URL' is not assignable to type 'string'.<br> return new URL(url).pathname<br> ~~~<br> at <a href="https://deno.land/[email protected]/path/win32.ts:911:18" rel="nofollow">https://deno.land/[email protected]/path/win32.ts:911:18</a></p> <p dir="auto">TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.<br> Type 'URL' is not assignable to type 'string'.<br> return new URL(url).pathname;<br> ~~~<br> at <a href="https://deno.land/[email protected]/path/posix.ts:433:18" rel="nofollow">https://deno.land/[email protected]/path/posix.ts:433:18</a></p>
<p dir="auto">For completeness, we should add <a href="https://nodejs.org/api/assert.html" rel="nofollow">Node's <code class="notranslate">assert</code> module</a>.</p> <p dir="auto">We should also decide whether we want to include its <a href="https://nodejs.org/api/assert.html#assert_legacy_assertion_mode" rel="nofollow">legacy assertion mode</a>, or if we expect that to be deprecated.</p>
0
<p dir="auto">When create a numpy array from a list of integers, if some integers are in range [2^63, 2^64) and some integers are in range [0, 2^63), we get a numpy array with <code class="notranslate">dtype=np.float64</code> instead of <code class="notranslate">dtype=np.uint64</code>.</p> <h3 dir="auto">Reproducing code example:</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import sys a = np.array([2**63, 2**63 + 1, 2**63 + 2**62]) print(a, a.dtype) # It's ok! a = np.array([2**63, 2**63 + 1, 2**63 + 2**62, 123456]) print(a, a.dtype) # In this case, a.dtype == np.float64, but we expect np.uint64 a = np.array([2**63, 2**63 + 1, 2**63 + 2**62, 123456], dtype=np.uint64) print(a, a.dtype) # It's ok! print(np.__version__, sys.version)"><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">sys</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">62</span>]) <span class="pl-en">print</span>(<span class="pl-s1">a</span>, <span class="pl-s1">a</span>.<span class="pl-s1">dtype</span>) <span class="pl-c"># It's ok!</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">62</span>, <span class="pl-c1">123456</span>]) <span class="pl-en">print</span>(<span class="pl-s1">a</span>, <span class="pl-s1">a</span>.<span class="pl-s1">dtype</span>) <span class="pl-c"># In this case, a.dtype == np.float64, but we expect np.uint64</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>, <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">63</span> <span class="pl-c1">+</span> <span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">62</span>, <span class="pl-c1">123456</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">uint64</span>) <span class="pl-en">print</span>(<span class="pl-s1">a</span>, <span class="pl-s1">a</span>.<span class="pl-s1">dtype</span>) <span class="pl-c"># It's ok!</span> <span class="pl-en">print</span>(<span class="pl-s1">np</span>.<span class="pl-s1">__version__</span>, <span class="pl-s1">sys</span>.<span class="pl-s1">version</span>)</pre></div> <h3 dir="auto">NumPy/Python version information:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.18.5 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0]"><pre class="notranslate"><code class="notranslate">1.18.5 3.6.9 (default, Jan 26 2021, 15:33:00) [GCC 8.4.0] </code></pre></div>
<p dir="auto">When <code class="notranslate">np.array()</code> or <code class="notranslate">.asarray()</code> is used to go from a list of integers, without specifying a dtype explicitly, it can pick default dtypes including int64 &amp; uint64. But there's a strange corner case where it defaults to float64 and loses precision, even though all the values could be uint64. Specfically, this occurs when some but not all values can be int64:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [11]: max_int64 = np.iinfo(np.int64).max In [12]: np.array([max_int64]).dtype Out[12]: dtype('int64') In [13]: np.array([max_int64 + 1]).dtype Out[13]: dtype('uint64') In [14]: np.array([max_int64 + 1, max_int64]).dtype Out[14]: dtype('float64')"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">11</span>]: <span class="pl-s1">max_int64</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">iinfo</span>(<span class="pl-s1">np</span>.<span class="pl-s1">int64</span>).<span class="pl-s1">max</span> <span class="pl-v">In</span> [<span class="pl-c1">12</span>]: <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">max_int64</span>]).<span class="pl-s1">dtype</span> <span class="pl-v">Out</span>[<span class="pl-c1">12</span>]: <span class="pl-en">dtype</span>(<span class="pl-s">'int64'</span>) <span class="pl-v">In</span> [<span class="pl-c1">13</span>]: <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">max_int64</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>]).<span class="pl-s1">dtype</span> <span class="pl-v">Out</span>[<span class="pl-c1">13</span>]: <span class="pl-en">dtype</span>(<span class="pl-s">'uint64'</span>) <span class="pl-v">In</span> [<span class="pl-c1">14</span>]: <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">max_int64</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>, <span class="pl-s1">max_int64</span>]).<span class="pl-s1">dtype</span> <span class="pl-v">Out</span>[<span class="pl-c1">14</span>]: <span class="pl-en">dtype</span>(<span class="pl-s">'float64'</span>)</pre></div> <p dir="auto">It doesn't depend on the order they're in, and it's not a general consequence of having two values rather than one - two values above this threshold get <code class="notranslate">uint64</code> as I'd expect.</p> <p dir="auto">Tested on Numpy 1.18.4, Python 3.8.2.</p> <p dir="auto">Sorry if this has already been discussed; it's a tricky thing to search for. This relates to an issue reported on h5py: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="619100596" data-permission-text="Title is private" data-url="https://github.com/h5py/h5py/issues/1547" data-hovercard-type="issue" data-hovercard-url="/h5py/h5py/issues/1547/hovercard" href="https://github.com/h5py/h5py/issues/1547">h5py/h5py#1547</a> .</p>
1
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dr = pd.date_range('20160101', '20161130', freq='4H', tz='America/New_York') df = pd.DataFrame({'a':np.arange(len(dr)), 'b':np.arange(len(dr))}, index=dr) dfnov_view = df.loc['2016-11'] drnov = pd.date_range('20161101', '20161130', freq='4H', tz='America/New_York') dfnov = pd.DataFrame({'a':np.arange(len(drnov)), 'b':np.arange(len(drnov))}, index=drnov) df == df # works dfnov_view == dfnov_view # works dfnov == dfnov # works dfnov.T == dfnov.T # works df.T == df.T # raises KeyError on master; works on 0.22 dfnov_view.T == dfnov_view.T # raises KeyError on master; works on 0.22 # KeyError stacktrace: In [7]: dfnov_view.T == dfnov_view.T # raises KeyError --------------------------------------------------------------------------- KeyError Traceback (most recent call last) C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 457 try: --&gt; 458 return self.mapping.get_item(val.value) 459 except KeyError: C:\projects\pandas-dk\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() 933 --&gt; 934 cpdef get_item(self, int64_t val): 935 cdef khiter_t k C:\projects\pandas-dk\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() 939 else: --&gt; 940 raise KeyError(val) 941 KeyError: 1478412000000000000 During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) C:\projects\pandas-dk\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 2635 try: -&gt; 2636 return self._engine.get_loc(key) 2637 except KeyError: C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 429 --&gt; 430 cpdef get_loc(self, object val): 431 if is_definitely_invalid_key(val): C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 459 except KeyError: --&gt; 460 raise KeyError(val) 461 except AttributeError: KeyError: Timestamp('2016-11-06 01:00:00-0500', tz='America/New_York') During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 457 try: --&gt; 458 return self.mapping.get_item(val.value) 459 except KeyError: C:\projects\pandas-dk\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() 933 --&gt; 934 cpdef get_item(self, int64_t val): 935 cdef khiter_t k C:\projects\pandas-dk\pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() 939 else: --&gt; 940 raise KeyError(val) 941 KeyError: 1478412000000000000 During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) &lt;ipython-input-7-495715640ebe&gt; in &lt;module&gt;() ----&gt; 1 dfnov_view.T == dfnov_view.T # raises KeyError C:\projects\pandas-dk\pandas\core\ops.py in f(self, other) 1558 raise ValueError('Can only compare identically-labeled ' 1559 'DataFrame objects') -&gt; 1560 return self._compare_frame(other, func, str_rep) 1561 1562 elif isinstance(other, ABCSeries): C:\projects\pandas-dk\pandas\core\frame.py in _compare_frame(self, other, func, str_rep) 4032 return {col: func(a[col], b[col]) for col in a.columns} 4033 -&gt; 4034 new_data = expressions.evaluate(_compare, str_rep, self, other) 4035 return self._constructor(data=new_data, index=self.index, 4036 columns=self.columns, copy=False) C:\projects\pandas-dk\pandas\core\computation\expressions.py in evaluate(op, op_str, a, b, use_numexpr, **eval_kwargs) 203 use_numexpr = use_numexpr and _bool_arith_check(op_str, a, b) 204 if use_numexpr: --&gt; 205 return _evaluate(op, op_str, a, b, **eval_kwargs) 206 return _evaluate_standard(op, op_str, a, b) 207 C:\projects\pandas-dk\pandas\core\computation\expressions.py in _evaluate_numexpr(op, op_str, a, b, truediv, reversed, **eval_kwargs) 118 119 if result is None: --&gt; 120 result = _evaluate_standard(op, op_str, a, b) 121 122 return result C:\projects\pandas-dk\pandas\core\computation\expressions.py in _evaluate_standard(op, op_str, a, b, **eval_kwargs) 63 _store_test_result(False) 64 with np.errstate(all='ignore'): ---&gt; 65 return op(a, b) 66 67 C:\projects\pandas-dk\pandas\core\frame.py in _compare(a, b) 4030 4031 def _compare(a, b): -&gt; 4032 return {col: func(a[col], b[col]) for col in a.columns} 4033 4034 new_data = expressions.evaluate(_compare, str_rep, self, other) C:\projects\pandas-dk\pandas\core\frame.py in &lt;dictcomp&gt;(.0) 4030 4031 def _compare(a, b): -&gt; 4032 return {col: func(a[col], b[col]) for col in a.columns} 4033 4034 new_data = expressions.evaluate(_compare, str_rep, self, other) C:\projects\pandas-dk\pandas\core\frame.py in __getitem__(self, key) 2202 return self._getitem_multilevel(key) 2203 else: -&gt; 2204 return self._getitem_column(key) 2205 2206 def _getitem_column(self, key): C:\projects\pandas-dk\pandas\core\frame.py in _getitem_column(self, key) 2209 # get column 2210 if self.columns.is_unique: -&gt; 2211 return self._get_item_cache(key) 2212 2213 # duplicate columns &amp; possible reduce dimensionality C:\projects\pandas-dk\pandas\core\generic.py in _get_item_cache(self, item) 2193 res = cache.get(item) 2194 if res is None: -&gt; 2195 values = self._data.get(item) 2196 res = self._box_item_values(item, values) 2197 cache[item] = res C:\projects\pandas-dk\pandas\core\internals.py in get(self, item, fastpath) 4070 4071 if not isna(item): -&gt; 4072 loc = self.items.get_loc(item) 4073 else: 4074 indexer = np.arange(len(self.items))[isna(self.items)] C:\projects\pandas-dk\pandas\core\indexes\datetimes.py in get_loc(self, key, method, tolerance) 1555 # needed to localize naive datetimes 1556 key = Timestamp(key, tz=self.tz) -&gt; 1557 return Index.get_loc(self, key, method, tolerance) 1558 1559 if isinstance(key, time): C:\projects\pandas-dk\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 2636 return self._engine.get_loc(key) 2637 except KeyError: -&gt; 2638 return self._engine.get_loc(self._maybe_cast_indexer(key)) 2639 2640 indexer = self.get_indexer([key], method=method, tolerance=tolerance) C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 428 return algos.is_monotonic_int64(values, timelike=True) 429 --&gt; 430 cpdef get_loc(self, object val): 431 if is_definitely_invalid_key(val): 432 raise TypeError C:\projects\pandas-dk\pandas\_libs\index.pyx in pandas._libs.index.DatetimeEngine.get_loc() 458 return self.mapping.get_item(val.value) 459 except KeyError: --&gt; 460 raise KeyError(val) 461 except AttributeError: 462 pass KeyError: Timestamp('2016-11-06 01:00:00-0500', tz='America/New_York') "><pre class="notranslate"><span class="pl-s1">dr</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'20160101'</span>, <span class="pl-s">'20161130'</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'4H'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'America/New_York'</span>) <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'a'</span>:<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">dr</span>)), <span class="pl-s">'b'</span>:<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">dr</span>))}, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">dr</span>) <span class="pl-s1">dfnov_view</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-s1">loc</span>[<span class="pl-s">'2016-11'</span>] <span class="pl-s1">drnov</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'20161101'</span>, <span class="pl-s">'20161130'</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'4H'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'America/New_York'</span>) <span class="pl-s1">dfnov</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'a'</span>:<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">drnov</span>)), <span class="pl-s">'b'</span>:<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">drnov</span>))}, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">drnov</span>) <span class="pl-s1">df</span> <span class="pl-c1">==</span> <span class="pl-s1">df</span> <span class="pl-c"># works</span> <span class="pl-s1">dfnov_view</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov_view</span> <span class="pl-c"># works</span> <span class="pl-s1">dfnov</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov</span> <span class="pl-c"># works</span> <span class="pl-s1">dfnov</span>.<span class="pl-v">T</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov</span>.<span class="pl-v">T</span> <span class="pl-c"># works</span> <span class="pl-s1">df</span>.<span class="pl-v">T</span> <span class="pl-c1">==</span> <span class="pl-s1">df</span>.<span class="pl-v">T</span> <span class="pl-c"># raises KeyError on master; works on 0.22</span> <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c"># raises KeyError on master; works on 0.22</span> <span class="pl-c"># KeyError stacktrace:</span> <span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c"># raises KeyError</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">KeyError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">457</span> <span class="pl-k">try</span>: <span class="pl-c1">-</span><span class="pl-c1">-&gt;</span> <span class="pl-c1">458</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">mapping</span>.<span class="pl-en">get_item</span>(<span class="pl-s1">val</span>.<span class="pl-s1">value</span>) <span class="pl-c1">459</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">Int64HashTable</span>.<span class="pl-en">get_item</span>() <span class="pl-c1">933</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">934</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_item</span>(<span class="pl-s1">self</span>, <span class="pl-s1">int64_t</span> <span class="pl-s1">val</span>): <span class="pl-c1">935</span> <span class="pl-s1">cdef</span> <span class="pl-s1">khiter_t</span> <span class="pl-s1">k</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">Int64HashTable</span>.<span class="pl-en">get_item</span>() <span class="pl-c1">939</span> <span class="pl-s1">else</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">940</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">941</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">1478412000000000000</span> <span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>: <span class="pl-v">KeyError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">ndexes</span>\b<span class="pl-s1">ase</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">2635</span> <span class="pl-k">try</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2636</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2637</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">429</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">430</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">431</span> <span class="pl-k">if</span> <span class="pl-en">is_definitely_invalid_key</span>(<span class="pl-s1">val</span>): <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">459</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">460</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">461</span> <span class="pl-s1">except</span> <span class="pl-v">AttributeError</span>: <span class="pl-v">KeyError</span>: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-11-06 01:00:00-0500'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'America/New_York'</span>) <span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>: <span class="pl-v">KeyError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">457</span> <span class="pl-k">try</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">458</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">mapping</span>.<span class="pl-en">get_item</span>(<span class="pl-s1">val</span>.<span class="pl-s1">value</span>) <span class="pl-c1">459</span> <span class="pl-s1">except</span> <span class="pl-v">KeyError</span>: <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">Int64HashTable</span>.<span class="pl-en">get_item</span>() <span class="pl-c1">933</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">934</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_item</span>(<span class="pl-s1">self</span>, <span class="pl-s1">int64_t</span> <span class="pl-s1">val</span>): <span class="pl-c1">935</span> <span class="pl-s1">cdef</span> <span class="pl-s1">khiter_t</span> <span class="pl-s1">k</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\h<span class="pl-s1">ashtable_class_helper</span>.<span class="pl-s1">pxi</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">hashtable</span>.<span class="pl-v">Int64HashTable</span>.<span class="pl-en">get_item</span>() <span class="pl-c1">939</span> <span class="pl-k">else</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">940</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">941</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">1478412000000000000</span> <span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>: <span class="pl-v">KeyError</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">&lt;</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">7</span><span class="pl-c1">-</span><span class="pl-c1">495715640</span><span class="pl-s1">ebe</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</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">&gt;</span> <span class="pl-c1">1</span> <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c1">==</span> <span class="pl-s1">dfnov_view</span>.<span class="pl-v">T</span> <span class="pl-c"># raises KeyError</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\o<span class="pl-s1">ps</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">f</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>) <span class="pl-c1">1558</span> <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">'Can only compare identically-labeled '</span> <span class="pl-c1">1559</span> <span class="pl-s">'DataFrame objects'</span>) <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1560</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_compare_frame</span>(<span class="pl-s1">other</span>, <span class="pl-s1">func</span>, <span class="pl-s1">str_rep</span>) <span class="pl-c1">1561</span> <span class="pl-c1">1562</span> <span class="pl-s1">elif</span> <span class="pl-s1">isinstance</span>(<span class="pl-s1">other</span>, <span class="pl-v">ABCSeries</span>): <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_compare_frame</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>, <span class="pl-s1">func</span>, <span class="pl-s1">str_rep</span>) <span class="pl-c1">4032</span> <span class="pl-k">return</span> {<span class="pl-s1">col</span>: <span class="pl-en">func</span>(<span class="pl-s1">a</span>[<span class="pl-s1">col</span>], <span class="pl-s1">b</span>[<span class="pl-s1">col</span>]) <span class="pl-k">for</span> <span class="pl-s1">col</span> <span class="pl-c1">in</span> <span class="pl-s1">a</span>.<span class="pl-s1">columns</span>} <span class="pl-c1">4033</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">4034</span> <span class="pl-s1">new_data</span> <span class="pl-c1">=</span> <span class="pl-s1">expressions</span>.<span class="pl-en">evaluate</span>(<span class="pl-s1">_compare</span>, <span class="pl-s1">str_rep</span>, <span class="pl-s1">self</span>, <span class="pl-s1">other</span>) <span class="pl-c1">4035</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_constructor</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">new_data</span>, <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">index</span>, <span class="pl-c1">4036</span> <span class="pl-s1">columns</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">columns</span>, <span class="pl-s1">copy</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\c<span class="pl-s1">omputation</span>\e<span class="pl-s1">xpressions</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">evaluate</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>, <span class="pl-s1">use_numexpr</span>, <span class="pl-c1">**</span><span class="pl-s1">eval_kwargs</span>) <span class="pl-c1">203</span> <span class="pl-s1">use_numexpr</span> <span class="pl-c1">=</span> <span class="pl-s1">use_numexpr</span> <span class="pl-c1">and</span> <span class="pl-en">_bool_arith_check</span>(<span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">204</span> <span class="pl-k">if</span> <span class="pl-s1">use_numexpr</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">205</span> <span class="pl-s1">return</span> <span class="pl-en">_evaluate</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>, <span class="pl-c1">**</span><span class="pl-s1">eval_kwargs</span>) <span class="pl-c1">206</span> <span class="pl-s1">return</span> <span class="pl-en">_evaluate_standard</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">207</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\c<span class="pl-s1">omputation</span>\e<span class="pl-s1">xpressions</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_evaluate_numexpr</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>, <span class="pl-s1">truediv</span>, <span class="pl-s1">reversed</span>, <span class="pl-c1">**</span><span class="pl-s1">eval_kwargs</span>) <span class="pl-c1">118</span> <span class="pl-c1">119</span> <span class="pl-k">if</span> <span class="pl-s1">result</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">120</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">_evaluate_standard</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">121</span> <span class="pl-c1">122</span> <span class="pl-k">return</span> <span class="pl-s1">result</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\c<span class="pl-s1">omputation</span>\e<span class="pl-s1">xpressions</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_evaluate_standard</span>(<span class="pl-s1">op</span>, <span class="pl-s1">op_str</span>, <span class="pl-s1">a</span>, <span class="pl-s1">b</span>, <span class="pl-c1">**</span><span class="pl-s1">eval_kwargs</span>) <span class="pl-c1">63</span> <span class="pl-s1">_store_test_result</span>(<span class="pl-c1">False</span>) <span class="pl-c1">64</span> <span class="pl-k">with</span> <span class="pl-s1">np</span>.<span class="pl-en">errstate</span>(<span class="pl-s1">all</span><span class="pl-c1">=</span><span class="pl-s">'ignore'</span>): <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">65</span> <span class="pl-s1">return</span> <span class="pl-en">op</span>(<span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">66</span> <span class="pl-c1">67</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_compare</span>(<span class="pl-s1">a</span>, <span class="pl-s1">b</span>) <span class="pl-c1">4030</span> <span class="pl-c1">4031</span> <span class="pl-k">def</span> <span class="pl-en">_compare</span>(<span class="pl-s1">a</span>, <span class="pl-s1">b</span>): <span class="pl-c1">-&gt;</span> <span class="pl-c1">4032</span> <span class="pl-s1">return</span> {<span class="pl-s1">col</span>: <span class="pl-en">func</span>(<span class="pl-s1">a</span>[<span class="pl-s1">col</span>], <span class="pl-s1">b</span>[<span class="pl-s1">col</span>]) <span class="pl-k">for</span> <span class="pl-s1">col</span> <span class="pl-c1">in</span> <span class="pl-s1">a</span>.<span class="pl-s1">columns</span>} <span class="pl-c1">4033</span> <span class="pl-c1">4034</span> <span class="pl-s1">new_data</span> <span class="pl-c1">=</span> <span class="pl-s1">expressions</span>.<span class="pl-en">evaluate</span>(<span class="pl-s1">_compare</span>, <span class="pl-s1">str_rep</span>, <span class="pl-s1">self</span>, <span class="pl-s1">other</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">dictcomp</span><span class="pl-c1">&gt;</span>(<span class="pl-c1">.0</span>) <span class="pl-c1">4030</span> <span class="pl-c1">4031</span> <span class="pl-k">def</span> <span class="pl-s1">_compare</span>(<span class="pl-s1">a</span>, <span class="pl-s1">b</span>): <span class="pl-c1">-&gt;</span> <span class="pl-c1">4032</span> <span class="pl-s1">return</span> {<span class="pl-s1">col</span>: <span class="pl-en">func</span>(<span class="pl-s1">a</span>[<span class="pl-s1">col</span>], <span class="pl-s1">b</span>[<span class="pl-s1">col</span>]) <span class="pl-k">for</span> <span class="pl-s1">col</span> <span class="pl-c1">in</span> <span class="pl-s1">a</span>.<span class="pl-s1">columns</span>} <span class="pl-c1">4033</span> <span class="pl-c1">4034</span> <span class="pl-s1">new_data</span> <span class="pl-c1">=</span> <span class="pl-s1">expressions</span>.<span class="pl-en">evaluate</span>(<span class="pl-s1">_compare</span>, <span class="pl-s1">str_rep</span>, <span class="pl-s1">self</span>, <span class="pl-s1">other</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">__getitem__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>) <span class="pl-c1">2202</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_multilevel</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2203</span> <span class="pl-k">else</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2204</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_column</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2205</span> <span class="pl-c1">2206</span> <span class="pl-k">def</span> <span class="pl-en">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>): <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\f<span class="pl-s1">rame</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-s1">_getitem_column</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>) <span class="pl-c1">2209</span> <span class="pl-c"># get column</span> <span class="pl-c1">2210</span> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">columns</span>.<span class="pl-s1">is_unique</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2211</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_item_cache</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2212</span> <span class="pl-c1">2213</span> <span class="pl-c"># duplicate columns &amp; possible reduce dimensionality</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\g<span class="pl-s1">eneric</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_get_item_cache</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>) <span class="pl-c1">2193</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">cache</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>) <span class="pl-c1">2194</span> <span class="pl-k">if</span> <span class="pl-s1">res</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2195</span> <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_data</span>.<span class="pl-en">get</span>(<span class="pl-s1">item</span>) <span class="pl-c1">2196</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_box_item_values</span>(<span class="pl-s1">item</span>, <span class="pl-s1">values</span>) <span class="pl-c1">2197</span> <span class="pl-s1">cache</span>[<span class="pl-s1">item</span>] <span class="pl-c1">=</span> <span class="pl-s1">res</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">nternals</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get</span>(<span class="pl-s1">self</span>, <span class="pl-s1">item</span>, <span class="pl-s1">fastpath</span>) <span class="pl-c1">4070</span> <span class="pl-c1">4071</span> <span class="pl-k">if</span> <span class="pl-c1">not</span> <span class="pl-en">isna</span>(<span class="pl-s1">item</span>): <span class="pl-c1">-&gt;</span> <span class="pl-c1">4072</span> <span class="pl-s1">loc</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">items</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">item</span>) <span class="pl-c1">4073</span> <span class="pl-k">else</span>: <span class="pl-c1">4074</span> <span class="pl-s1">indexer</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-en">len</span>(<span class="pl-s1">self</span>.<span class="pl-s1">items</span>))[<span class="pl-en">isna</span>(<span class="pl-s1">self</span>.<span class="pl-s1">items</span>)] <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">ndexes</span>\d<span class="pl-s1">atetimes</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">1555</span> <span class="pl-c"># needed to localize naive datetimes</span> <span class="pl-c1">1556</span> <span class="pl-s1">key</span> <span class="pl-c1">=</span> <span class="pl-v">Timestamp</span>(<span class="pl-s1">key</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">tz</span>) <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1557</span> <span class="pl-s1">return</span> <span class="pl-v">Index</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">1558</span> <span class="pl-c1">1559</span> <span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">key</span>, <span class="pl-s1">time</span>): <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\c<span class="pl-s1">ore</span>\i<span class="pl-s1">ndexes</span>\b<span class="pl-s1">ase</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span>) <span class="pl-c1">2636</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">key</span>) <span class="pl-c1">2637</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2638</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>.<span class="pl-en">_maybe_cast_indexer</span>(<span class="pl-s1">key</span>)) <span class="pl-c1">2639</span> <span class="pl-c1">2640</span> <span class="pl-s1">indexer</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">get_indexer</span>([<span class="pl-s1">key</span>], <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s1">method</span>, <span class="pl-s1">tolerance</span><span class="pl-c1">=</span><span class="pl-s1">tolerance</span>) <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">428</span> <span class="pl-k">return</span> <span class="pl-s1">algos</span>.<span class="pl-en">is_monotonic_int64</span>(<span class="pl-s1">values</span>, <span class="pl-s1">timelike</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c1">429</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">430</span> <span class="pl-s1">cpdef</span> <span class="pl-en">get_loc</span>(<span class="pl-s1">self</span>, <span class="pl-s1">object</span> <span class="pl-s1">val</span>): <span class="pl-c1">431</span> <span class="pl-k">if</span> <span class="pl-en">is_definitely_invalid_key</span>(<span class="pl-s1">val</span>): <span class="pl-c1">432</span> <span class="pl-s1">raise</span> <span class="pl-v">TypeError</span> <span class="pl-v">C</span>:\p<span class="pl-s1">rojects</span>\p<span class="pl-s1">andas</span><span class="pl-c1">-</span><span class="pl-s1">dk</span>\p<span class="pl-s1">andas</span>\_<span class="pl-s1">libs</span>\i<span class="pl-s1">ndex</span>.<span class="pl-s1">pyx</span> <span class="pl-c1">in</span> <span class="pl-s1">pandas</span>.<span class="pl-s1">_libs</span>.<span class="pl-s1">index</span>.<span class="pl-v">DatetimeEngine</span>.<span class="pl-en">get_loc</span>() <span class="pl-c1">458</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">mapping</span>.<span class="pl-en">get_item</span>(<span class="pl-s1">val</span>.<span class="pl-s1">value</span>) <span class="pl-c1">459</span> <span class="pl-k">except</span> <span class="pl-v">KeyError</span>: <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">460</span> <span class="pl-s1">raise</span> <span class="pl-v">KeyError</span>(<span class="pl-s1">val</span>) <span class="pl-c1">461</span> <span class="pl-s1">except</span> <span class="pl-v">AttributeError</span>: <span class="pl-c1">462</span> <span class="pl-s1">pass</span> <span class="pl-v">KeyError</span>: <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-11-06 01:00:00-0500'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'America/New_York'</span>)</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">On current master, if you have a DataFrame with a tz-aware DatetimeIndex in the columns, comparison can fail with a KeyError. Oddly, it appears this occurs only if the DatetimeIndex is the columns and not on the index.</p> <p dir="auto">Based on the KeyError it appears that for some reason .loc is looking for the pre-DST change value when it should be looking at the post-DST value. Reproducing the bug requires at least 2 DST switches in the original DataFrame. DataFrames with just a single DST switch do not seem to exhibit the behavior <i>unless</i> they are views on a larger DataFrame with two switches.</p> <p dir="auto">This is new on master; behavior doesn't occur in 0.22.</p> <h4 dir="auto">Expected Output</h4> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pandas-dev/pandas/commit/e3b87c1843ef1a2375faff737701a13ee96f4879/hovercard" href="https://github.com/pandas-dev/pandas/commit/e3b87c1843ef1a2375faff737701a13ee96f4879"><tt>e3b87c1</tt></a><br> python: 3.6.4.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 7<br> machine: AMD64<br> processor: Intel64 Family 6 Model 62 Stepping 4, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: None<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.23.0.dev0+422.ge3b87c1<br> pytest: 3.3.2<br> pip: 9.0.1<br> setuptools: 38.4.0<br> Cython: 0.27.3<br> numpy: 1.14.0<br> scipy: 1.0.0<br> pyarrow: 0.8.0<br> xarray: 0.10.0<br> IPython: 6.2.1<br> sphinx: 1.6.6<br> patsy: 0.5.0<br> dateutil: 2.6.1<br> pytz: 2017.3<br> blosc: None<br> bottleneck: 1.2.1<br> tables: 3.4.2<br> numexpr: 2.6.4<br> feather: 0.4.0<br> matplotlib: 2.1.2<br> openpyxl: 2.4.10<br> xlrd: 1.1.0<br> xlwt: 1.3.0<br> xlsxwriter: 1.0.2<br> lxml: 4.1.1<br> bs4: 4.6.0<br> html5lib: 1.0.1<br> sqlalchemy: 1.2.1<br> pymysql: 0.7.11.None<br> psycopg2: None<br> jinja2: 2.10<br> s3fs: 0.1.2<br> fastparquet: 0.1.4<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">I'm almost positive I've filed an issue about this before, but I don't find it. This is a pretty common operation when working with panel data. You want to merge in some constant values into a DataFrame that has repeated keys but unique index.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.util.testing.makeDataFrame() # yes! df[&quot;group&quot;] = 0 df.ix[range(0, 20, 2), &quot;group&quot;] = 1. df[&quot;time&quot;] = np.random.randint(5, size=len(df)) df_x = pd.DataFrame(np.c_[np.r_[np.arange(5), np.arange(5)], np.repeat([0,1], 5)], columns=[&quot;time&quot;, &quot;group&quot;]) df_x[&quot;constant_info&quot;] = np.random.randn(len(df_x)) df.merge(df_x, on=[&quot;time&quot;, &quot;group&quot;])"><pre class="notranslate"><code class="notranslate">df = pd.util.testing.makeDataFrame() # yes! df["group"] = 0 df.ix[range(0, 20, 2), "group"] = 1. df["time"] = np.random.randint(5, size=len(df)) df_x = pd.DataFrame(np.c_[np.r_[np.arange(5), np.arange(5)], np.repeat([0,1], 5)], columns=["time", "group"]) df_x["constant_info"] = np.random.randn(len(df_x)) df.merge(df_x, on=["time", "group"]) </code></pre></div> <p dir="auto">Where'd my index go? Where'd my sort go, so I could even recover the index?</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[~/] [65]: pd.version.version [65]: '0.13.1-254-g150f323'"><pre class="notranslate"><code class="notranslate">[~/] [65]: pd.version.version [65]: '0.13.1-254-g150f323' </code></pre></div>
0
<p dir="auto">I do understand that box-sizing: border-box; is perfect way to go for all box models but you guys are forgetting yourself or you are just asking Bootstrap users to drop it.</p> <p dir="auto">Instead of applying box-sizing: border-box; where you need it you went the other way around and just threw this in .</p> <div class="highlight highlight-source-css notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }"><pre class="notranslate"><span class="pl-ent"><span class="pl-c1">*</span></span> { <span class="pl-c1">-webkit-box-sizing</span><span class="pl-kos">:</span> border-box; <span class="pl-c1">-moz-box-sizing</span><span class="pl-kos">:</span> border-box; <span class="pl-c1">box-sizing</span><span class="pl-kos">:</span> border-box; } <span class="pl-ent"><span class="pl-c1">*</span></span><span class="pl-kos">:</span><span class="pl-c1">before</span><span class="pl-kos">,</span> <span class="pl-ent"><span class="pl-c1">*</span></span><span class="pl-kos">:</span><span class="pl-c1">after</span> { <span class="pl-c1">-webkit-box-sizing</span><span class="pl-kos">:</span> border-box; <span class="pl-c1">-moz-box-sizing</span><span class="pl-kos">:</span> border-box; <span class="pl-c1">box-sizing</span><span class="pl-kos">:</span> border-box; }</pre></div> <p dir="auto">You even utilize normalize.css where in fact they were very cautious where to use it.</p> <p dir="auto"><a href="https://raw.github.com/necolas/normalize.css/master/normalize.css">https://raw.github.com/necolas/normalize.css/master/normalize.css</a></p> <p dir="auto">I am not sure if you are aware how many websites are using bootstrap in conjunction with other plugins and scripts, or just as an addon for stylish buttons and forms. With this you are braking layouts left and right.</p> <p dir="auto">On Stackoverflow many posts are coming up with this exact issue.</p> <p dir="auto">OK Paul Irish<br> <a href="http://www.paulirish.com/2012/box-sizing-border-box-ftw/" rel="nofollow">http://www.paulirish.com/2012/box-sizing-border-box-ftw/</a><br> but this late in a game and as a wildcard is irresponsible. Paul suggested this as a perfect solution and it works for people who are building something from scratch. But majority of your users are implementing Bootstrap in existing web layouts.</p> <p dir="auto">You deliver a file that is over 6k lines , if you took some time and just lineup where exactly you need border-box that would be perfect way to go.</p> <p dir="auto">.row,<br> .form-group,<br> .form-control<br> .checkbox<br> and few others would save the headache for many people out-there..</p> <p dir="auto"><a href="http://stackoverflow.com/questions/19109470/twitter-bootstrap-box-sizing-ruined-my-layout" rel="nofollow">http://stackoverflow.com/questions/19109470/twitter-bootstrap-box-sizing-ruined-my-layout</a><br> <a href="http://stackoverflow.com/questions/20478498/why-is-bootstrap-css-using-box-sizing-border-box" rel="nofollow">http://stackoverflow.com/questions/20478498/why-is-bootstrap-css-using-box-sizing-border-box</a><br> <a href="http://stackoverflow.com/questions/15405837/using-box-sizing-border-box-with-twitter-bootstrap-2-x-can-we-do-it-easily-wi" rel="nofollow">http://stackoverflow.com/questions/15405837/using-box-sizing-border-box-with-twitter-bootstrap-2-x-can-we-do-it-easily-wi</a><br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19246010" data-permission-text="Title is private" data-url="https://github.com/mleibman/SlickGrid/issues/742" data-hovercard-type="issue" data-hovercard-url="/mleibman/SlickGrid/issues/742/hovercard" href="https://github.com/mleibman/SlickGrid/issues/742">mleibman/SlickGrid#742</a></p> <p dir="auto">Now this one is funny,<br> <a href="http://responsivesharepoint.codeplex.com/discussions/456314" rel="nofollow">http://responsivesharepoint.codeplex.com/discussions/456314</a></p> <p dir="auto">poor guy!</p> <p dir="auto">Sorry for my rant I hope you understand.</p>
<p dir="auto">The snippet below can be found in bootstrap.css:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }"><pre class="notranslate"><code class="notranslate">*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } </code></pre></div> <p dir="auto">Using this global css reset is fine as long as someone uses Bootstrap exclusively. Once third party scripts come into play this global reset to <code class="notranslate">border-box</code> starts messing up layouts.</p> <p dir="auto">For example, a lot of bug reports I'm getting for my (lightbox and tooltip) scripts concerning layouts being off end up being caused by this practice in Bootstrap. I'd say it's not something that belongs in a framework, unless it's meant to be used without third party scripts.</p> <p dir="auto">Foundation used to have this problem. It was fixed very elegantly in 5.0 by using a mixin to add the box-sizing reset to just the components that need it. By not defining it on <code class="notranslate">*</code> third party scripts remain unaffected and work out of the box. They can rely on the default box-sizing <code class="notranslate">content-box</code> being in place without anyone having to make css adjustments to reset things back to default.</p> <p dir="auto">I'm hoping something similar can be done in Bootstrap.</p>
1
<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135375656" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3248" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3248/hovercard" href="https://github.com/microsoft/vscode/issues/3248">#3248</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/22350/13248024/a0fa2142-da1c-11e5-95f5-6ed7513b63f7.png"><img src="https://cloud.githubusercontent.com/assets/22350/13248024/a0fa2142-da1c-11e5-95f5-6ed7513b63f7.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135375656" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3248" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3248/hovercard" href="https://github.com/microsoft/vscode/issues/3248">#3248</a></p> <p dir="auto">Suggest box is not high contrast friendly</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1926584/13248011/8601c64c-da1c-11e5-8e8b-df65e3f61b59.png"><img src="https://cloud.githubusercontent.com/assets/1926584/13248011/8601c64c-da1c-11e5-8e8b-df65e3f61b59.png" alt="screen shot 2016-02-23 at 10 59 01" style="max-width: 100%;"></a></p>
1
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.206.0<br> <strong>System</strong>: Mac OS X 10.10.3<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: EIO: i/o error, open '/Volumes/DEV - My Staff/system/core.php'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:759 Error: EIO: i/o error, open '/Volumes/DEV - My Staff/system/core.php' at Error (native) at Object.fs.openSync (fs.js:544:18) at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20) at Object.fs.writeFileSync (fs.js:1155:15) at Object.fsPlus.writeFileSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:279:17) at File.module.exports.File.writeFileSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:264:19) at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:362:21) at File.module.exports.File.writeSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:336:12) at TextBuffer.module.exports.TextBuffer.saveAs (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1016:17) at TextBuffer.module.exports.TextBuffer.save (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1002:19)"><pre class="notranslate"><code class="notranslate">At /opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/pane.js:759 Error: EIO: i/o error, open '/Volumes/DEV - My Staff/system/core.php' at Error (native) at Object.fs.openSync (fs.js:544:18) at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20) at Object.fs.writeFileSync (fs.js:1155:15) at Object.fsPlus.writeFileSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:279:17) at File.module.exports.File.writeFileSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:264:19) at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:362:21) at File.module.exports.File.writeSync (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/pathwatcher/lib/file.js:336:12) at TextBuffer.module.exports.TextBuffer.saveAs (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1016:17) at TextBuffer.module.exports.TextBuffer.save (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1002:19) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 2x -1:51.9.0 core:backspace (atom-text-editor.editor.is-focused) -1:50.7.0 core:save (atom-text-editor.editor.is-focused) -1:47.7.0 core:move-down (atom-text-editor.editor.is-focused) -1:46.8.0 core:save (atom-text-editor.editor.is-focused) 4x -1:36.5.0 core:undo (atom-text-editor.editor.is-focused) -1:32.6.0 core:move-up (atom-text-editor.editor.is-focused) 11x -1:32.4.0 core:move-right (atom-text-editor.editor.is-focused) -1:30.9.0 editor:newline (atom-text-editor.editor.is-focused) -1:30.3.0 core:paste (atom-text-editor.editor.is-focused) -1:30 core:save (atom-text-editor.editor.is-focused) -1:29.2.0 core:backspace (atom-text-editor.editor.is-focused) -1:28.6.0 core:save (atom-text-editor.editor.is-focused) -0:54.5.0 core:move-left (atom-text-editor.editor.is-focused) -0:53.1.0 core:save (atom-text-editor.editor.is-focused) -0:05.4.0 core:move-down (atom-text-editor.editor.is-focused) -0:04.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> 2x -1:51.9.0 core:backspace (atom-text-editor.editor.is-focused) -1:50.7.0 core:save (atom-text-editor.editor.is-focused) -1:47.7.0 core:move-down (atom-text-editor.editor.is-focused) -1:46.8.0 core:save (atom-text-editor.editor.is-focused) 4x -1:36.5.0 core:undo (atom-text-editor.editor.is-focused) -1:32.6.0 core:move-up (atom-text-editor.editor.is-focused) 11x -1:32.4.0 core:move-right (atom-text-editor.editor.is-focused) -1:30.9.0 editor:newline (atom-text-editor.editor.is-focused) -1:30.3.0 core:paste (atom-text-editor.editor.is-focused) -1:30 core:save (atom-text-editor.editor.is-focused) -1:29.2.0 core:backspace (atom-text-editor.editor.is-focused) -1:28.6.0 core:save (atom-text-editor.editor.is-focused) -0:54.5.0 core:move-left (atom-text-editor.editor.is-focused) -0:53.1.0 core:save (atom-text-editor.editor.is-focused) -0:05.4.0 core:move-down (atom-text-editor.editor.is-focused) -0:04.0 core:save (atom-text-editor.editor.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: {}, &quot;editor&quot;: { &quot;fontSize&quot;: 12, &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: {}, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">12</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 No installed packages # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> <span class="pl-en">No</span> <span class="pl-en">installed</span> packages <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>have SFTP Net Drive (Free version) map a remote location to drive</li> <li>opened this drive with Atom</li> <li>wrote to a file on local machine without issue</li> <li>changed permissions remotely so i could execute this file</li> <li>atom gives me the jarring red window of erroneous doom</li> <li>send report, and thank atom developers / debuggers for their awesome tool</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.190.0<br> <strong>System</strong>: Microsoft Windows 7 Ultimate<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: EIO: i/o error, open 'U:\new_p4\build'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\src\pane.js:734 Error: EIO: i/o error, open 'U:\new_p4\build' at Error (native) at Object.fs.openSync (fs.js:544:18) at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20) at Object.fs.writeFileSync (fs.js:1155:15) at Object.fsPlus.writeFileSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\fs-plus\lib\fs-plus.js:246:17) at File.module.exports.File.writeFileSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:264:19) at File.module.exports.File.writeFileWithPrivilegeEscalationSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:362:21) at File.module.exports.File.writeSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:336:12) at TextBuffer.module.exports.TextBuffer.saveAs (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\text-buffer\lib\text-buffer.js:913:17) at TextBuffer.module.exports.TextBuffer.save (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\text-buffer\lib\text-buffer.js:899:19)"><pre class="notranslate"><code class="notranslate">At C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\src\pane.js:734 Error: EIO: i/o error, open 'U:\new_p4\build' at Error (native) at Object.fs.openSync (fs.js:544:18) at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20) at Object.fs.writeFileSync (fs.js:1155:15) at Object.fsPlus.writeFileSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\fs-plus\lib\fs-plus.js:246:17) at File.module.exports.File.writeFileSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:264:19) at File.module.exports.File.writeFileWithPrivilegeEscalationSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:362:21) at File.module.exports.File.writeSync (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\pathwatcher\lib\file.js:336:12) at TextBuffer.module.exports.TextBuffer.saveAs (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\text-buffer\lib\text-buffer.js:913:17) at TextBuffer.module.exports.TextBuffer.save (C:\Users\Luke\AppData\Local\atom\app-0.190.0\resources\app\node_modules\text-buffer\lib\text-buffer.js:899:19) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -4:16.8 core:confirm (atom-text-editor.editor.mini) -3:49.7 core:backspace (atom-text-editor.editor.is-focused) -3:47.4 core:save (atom-text-editor.editor.is-focused) 15x -1:48.1 core:backspace (atom-text-editor.editor.is-focused) -1:09.5 core:copy (atom-text-editor.editor) -1:06.3 core:paste (atom-text-editor.editor.is-focused) 4x -1:04.0 core:backspace (atom-text-editor.editor.is-focused) 2x -0:15.5 core:paste (atom-text-editor.editor.is-focused) -0:06.0 core:save (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate"> -4:16.8 core:confirm (atom-text-editor.editor.mini) -3:49.7 core:backspace (atom-text-editor.editor.is-focused) -3:47.4 core:save (atom-text-editor.editor.is-focused) 15x -1:48.1 core:backspace (atom-text-editor.editor.is-focused) -1:09.5 core:copy (atom-text-editor.editor) -1:06.3 core:paste (atom-text-editor.editor.is-focused) 4x -1:04.0 core:backspace (atom-text-editor.editor.is-focused) 2x -0:15.5 core:paste (atom-text-editor.editor.is-focused) -0:06.0 core:save (atom-text-editor.editor.is-focused) </code></pre></div> <h3 dir="auto">Config</h3> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;core&quot;: { &quot;themes&quot;: [ &quot;one-dark-ui&quot;, &quot;one-dark-syntax&quot; ] }, &quot;editor&quot;: { &quot;fontSize&quot;: 16 } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"themes"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>one-dark-ui<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>one-dark-syntax<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">16</span> } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User No installed packages # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> <span class="pl-en">No</span> <span class="pl-en">installed</span> packages <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
1
<h2 dir="auto">Problem</h2> <p dir="auto">I want to some stable functions provided by <code class="notranslate">std/fs/mod.ts</code> without enabling unstable features, but it does not compile.</p> <h2 dir="auto">Proposal</h2> <p dir="auto">Separate unstable part of standard libraries from stable part. For example: <code class="notranslate">std/fs/mod.ts</code> will only include stable functions, <code class="notranslate">std/fs/unstable/mod.ts</code> will include all functions.</p>
<p dir="auto">Parts of the standard library now require the <code class="notranslate">--unstable</code> option to function. I suggest we move all things that use unstable APIs into different files which are then re-exported by multiple entry points: <code class="notranslate">mod.ts</code> and <code class="notranslate">unstable.ts</code>. <code class="notranslate">unstable.ts</code> would re export <code class="notranslate">mod.ts</code> + all unstable features.</p>
1
<p dir="auto">This issue was raised at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="205039508" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/20421" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/20421/hovercard?comment_id=99267449&amp;comment_type=review_comment" href="https://github.com/JuliaLang/julia/pull/20421#discussion_r99267449">#20421 (comment)</a>. We should define clear rules regarding when it's OK to use <code class="notranslate">@inbounds</code> in Base code. Currently the code seems to be inconsistent.</p> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JeffBezanson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JeffBezanson">@JeffBezanson</a> mentioned this: "only use <code class="notranslate">@inbounds</code> when you can be certain, from local information, that all accesses are in bounds." In a strict interpretation, that would mean <code class="notranslate">@inbounds for i in eachindex(a)</code> is not correct when <code class="notranslate">a::AbstractArray</code>, since an incorrect array implementation could return invalid indices, which would crash Julia.</p> <p dir="auto">This strict interpretation is problematic since (as <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stevengj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stevengj">@stevengj</a> noted) often a generic <code class="notranslate">AbstractArray</code> method is also used for <code class="notranslate">Array</code>: if we cannot use <code class="notranslate">@inbounds</code> there, performance suffers in the common case just to avoid possible crashes in rare cases. A mechanism to enable <code class="notranslate">@inbounds</code> only for trusted types could help, but it would still be too bad that custom array types wouldn't benefit from bounds checking removal even when they implemented everything correctly: that would defeat the goal of making user-defined type as efficient as Base types. So I would say we need to trust custom array types, or at least allow them to opt out of bounds checking by stating that they are safe. Cf. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="137267325" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/15291" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/15291/hovercard" href="https://github.com/JuliaLang/julia/pull/15291">#15291</a>.</p>
<p dir="auto">When one changes the language, it forces packages to choose between using a new feature and only working on new versions of Julia or not using the feature but supporting new and old versions. For non-syntactic changes, you can often work around this with fairly simple conditional definitions. For syntax changes (which are blessedly rare), this doesn't work. To allow code to gracefully handle new syntax while still parsing in older versions of Julia, we're going to introduce, ironically, a new syntax feature: pragmas. The first pragma will be the <code class="notranslate">feature</code> pragma, used as follows:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="%if feature conditional_modules # write code that uses the conditional_modules feature %else # fallback code that doesn't use the conditional_module feature %end"><pre class="notranslate"><span class="pl-k">%</span><span class="pl-k">if</span> feature conditional_modules <span class="pl-c"><span class="pl-c">#</span> write code that uses the conditional_modules feature</span> <span class="pl-k">%</span><span class="pl-k">else</span> <span class="pl-c"><span class="pl-c">#</span> fallback code that doesn't use the conditional_module feature</span> <span class="pl-k">%</span><span class="pl-k">end</span></pre></div> <p dir="auto">A Julia parser will have a list of feature names. If the parser recognizes a feature name, it parses the file as if the source were the code between the <code class="notranslate">%if</code> and <code class="notranslate">%else</code> or if there is no <code class="notranslate">%else</code> until the <code class="notranslate">%end</code>. If the parser doesn't recognize the feature name, it parses the file as if the source were the code between the <code class="notranslate">%else</code> and the <code class="notranslate">%end</code> or as if the source were empty if there is no <code class="notranslate">%else</code>.</p> <p dir="auto">In general, <code class="notranslate">%if</code> pragmas nest:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="%if A %if B # A and B %else # A but not B %end %else # neither A nor B %end"><pre class="notranslate"><span class="pl-k">%</span><span class="pl-k">if</span> A <span class="pl-k">%</span><span class="pl-k">if</span> B <span class="pl-c"><span class="pl-c">#</span> A and B</span> <span class="pl-k">%</span><span class="pl-k">else</span> <span class="pl-c"><span class="pl-c">#</span> A but not B</span> <span class="pl-k">%</span><span class="pl-k">end</span> <span class="pl-k">%</span><span class="pl-k">else</span> <span class="pl-c"><span class="pl-c">#</span> neither A nor B</span> <span class="pl-k">%</span><span class="pl-k">end</span></pre></div> <p dir="auto">There should probably also be a <code class="notranslate">%ifelse</code> to handle the classic ambiguity here. Other pragmas, should we introduce them are single-line.</p>
0
<p dir="auto">When opening the run-inbox by pressing the key(ctrl+space in my case) opens the run-window. But it is always prefilled with my last input.<br> In the original wox-implementation there is a option to disable this. Please merge this into this variant.</p>
<p dir="auto">Instead of the normal search, open PowerToys Run when clicking on the icon on the taskbar.</p> <p dir="auto">If you'd like to see this feature implemented, add a <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> reaction to this post.</p>
0
<p dir="auto">Hi,<br> I like typesctipt a lot and recently I updated my compiler to version 1.6.<br> I have some classes that were "abstract" and now I want to use the new keywork <code class="notranslate">abstract</code><br> My question is as follow:<br> In order to scope the ``this` variable I used the following type of methods when calling them from JQuary/Angular promise:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export class SomeClass { public handleCallback = () =&gt; { this.whatEver(); //... } }"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">SomeClass</span> <span class="pl-kos">{</span> <span class="pl-c1">public</span> <span class="pl-c1">handleCallback</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">whatEver</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">//... </span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This will make sure that if I use this callback for an async operation the <code class="notranslate">this</code> variable will be correct.<br> How do I the same with abstract classes since I can't specify an abstract property?</p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160604-1.0)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let foo:number|null = 0; switch(foo) { case null: break; case 0: console.log('bar'); }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">foo</span>:<span class="pl-smi">number</span><span class="pl-c1">|</span><span class="pl-c1">null</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">foo</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">case</span> <span class="pl-c1">null</span>: <span class="pl-k">break</span><span class="pl-kos">;</span> <span class="pl-k">case</span> <span class="pl-c1">0</span>: <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> Null check should be allowed</p> <p dir="auto"><strong>Actual behavior:</strong><br> Compiler complains "TypeScript Type 'null' is not comparable to type 'number'. (TS2678)"</p> <p dir="auto"><strong>Note:</strong><br> If I add an 'if' condition before the switch, the compiler does not complain about either the 'if' or the switch. For instance:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let foo:number|null = 0; if (foo === null) { console.log('bar'); } switch(foo) { case null: break; case 0: console.log('bar'); }"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">foo</span>:<span class="pl-smi">number</span><span class="pl-c1">|</span><span class="pl-c1">null</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">foo</span> <span class="pl-c1">===</span> <span class="pl-c1">null</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">switch</span><span class="pl-kos">(</span><span class="pl-s1">foo</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">case</span> <span class="pl-c1">null</span>: <span class="pl-k">break</span><span class="pl-kos">;</span> <span class="pl-k">case</span> <span class="pl-c1">0</span>: <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'bar'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div>
0
<p dir="auto">I like to double click words to highlight them. I find if I'm too close to some punctuation (a period or parentheses, for instance), the highlight grabs that character too.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/18ecefa50468cb7e0b7043cf7db1a21406480d475025c4c88ef95c28e40c30d8/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f32312f313039323530352f37303230313937362d313638302d313165332d383936372d6537633736616335343933322e706e67"><img src="https://camo.githubusercontent.com/18ecefa50468cb7e0b7043cf7db1a21406480d475025c4c88ef95c28e40c30d8/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f32312f313039323530352f37303230313937362d313638302d313165332d383936372d6537633736616335343933322e706e67" alt="notification center" data-canonical-src="https://f.cloud.github.com/assets/21/1092505/70201976-1680-11e3-8967-e7c76ac54932.png" style="max-width: 100%;"></a></p>
<p dir="auto">In Sublime when I click on a word, it selects <em>just that word</em>, even if the cursor is on other words. This is useful when adding a new argument in a method and replacing some other text elsewhere (which I tried to show in the gif below).</p> <p dir="auto">Related to this, it seems like double click the word in the parents is including the preceding <code class="notranslate">(</code>, which is not right.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f0485a2fc6a734b945680ddd4643937dea1818ec0ca6d91eb619cdf68d904319/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f36343035302f3433333234392f31383638326633302d616563342d313165322d383039392d3034663839356366396337322e676966"><img src="https://camo.githubusercontent.com/f0485a2fc6a734b945680ddd4643937dea1818ec0ca6d91eb619cdf68d904319/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f36343035302f3433333234392f31383638326633302d616563342d313165322d383039392d3034663839356366396337322e676966" alt="cursor_aggro" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/64050/433249/18682f30-aec4-11e2-8099-04f895cf9c72.gif" style="max-width: 100%;"></a></p>
1
<p dir="auto">MacOS supports multiple desktops. I show window when user taps on tray icon and hide it when user clicks somewhere else. Is there any way to show window on current desktop?</p> <p dir="auto">Using <code class="notranslate">setVisibleOnAllWorkspaces</code> makes window visible on all desktops but calls to <code class="notranslate">window.show</code> still cause switch to the desktop where the window was initially created/displayed.</p> <p dir="auto">I know I could re-create window each time, but that's slow. Would be awesome to have a method like <code class="notranslate">BrowserWindow.showOnCurrentDesktop()</code> or something like that. Not sure I can patch it externally without patching Electron/Atom.</p> <ul dir="auto"> <li>Electron version: 1.6.0</li> <li>Operating system: macOS Sierra</li> </ul>
<p dir="auto">All major platforms now support workspaces (virtual desktops), we should probably add a set of workspace related API, so it can:</p> <ul dir="auto"> <li>get the workspace of window;</li> <li>list available workspaces;</li> <li>choose which workspace to put the new window;</li> <li>move windows between workspaces.</li> </ul>
1
<h5 dir="auto">Description of the problem</h5> <p dir="auto">UUID generation in Math.js produces strings stored as concatenated strings in Firefox and Chrome.</p> <p dir="auto">On Chrome 40bytes are used for each component of the final string, creating heap overhead. In my application with thousands of objects this adds up.</p> <p dir="auto">For example, Heap size using Chrome</p> <p dir="auto">r89 as is: 95MB<br> r89 with uuid flattened with String().toUpper(): 66MB.</p> <p dir="auto">I see similar results using Firefox.</p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li> <li>[x ] r89</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li>[x ] Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li> </ul> <h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto">Version r75 and onwards seems to have broken being able to render multiple point lights on android devices. I have tested this on a few different devices, with the primary one being my Nexus 5.</p> <p dir="auto">As you can see on the attached images only the red light will get rendered.</p> <p dir="auto">Android:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8037927/19427770/4e35f2b2-9446-11e6-84bc-4cc9c1cc7c2e.png"><img src="https://cloud.githubusercontent.com/assets/8037927/19427770/4e35f2b2-9446-11e6-84bc-4cc9c1cc7c2e.png" alt="" style="max-width: 100%;"></a></p> <p dir="auto">Desktop:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8037927/19427812/9692a690-9446-11e6-8e78-70ce1fcf6090.png"><img src="https://cloud.githubusercontent.com/assets/8037927/19427812/9692a690-9446-11e6-8e78-70ce1fcf6090.png" alt="" style="max-width: 100%;"></a></p> <h5 dir="auto">Three.js version</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r75+</li> </ul> <h5 dir="auto">Browser</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li> </ul> <h5 dir="auto">OS</h5> <ul class="contains-task-list"> <li>[] All of them</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Android</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li> </ul>
0
<p dir="auto">L-BFGS-B does not perform the requested number of iterations for less than n&lt;25 iterations. It also calls the callback an incorrect (and different!) number of iterations.</p> <p dir="auto">A sample code,</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from itertools import count from scipy.optimize import minimize, rosen c = count() def callback(x): next(c) n=25 res = minimize(rosen, (0,0,0), options={'disp': True, 'maxiter': n}, method='L-BFGS-B', callback=callback) print(res) print(c)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">itertools</span> <span class="pl-k">import</span> <span class="pl-s1">count</span> <span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">optimize</span> <span class="pl-k">import</span> <span class="pl-s1">minimize</span>, <span class="pl-s1">rosen</span> <span class="pl-s1">c</span> <span class="pl-c1">=</span> <span class="pl-en">count</span>() <span class="pl-k">def</span> <span class="pl-en">callback</span>(<span class="pl-s1">x</span>): <span class="pl-en">next</span>(<span class="pl-s1">c</span>) <span class="pl-s1">n</span><span class="pl-c1">=</span><span class="pl-c1">25</span> <span class="pl-s1">res</span> <span class="pl-c1">=</span> <span class="pl-en">minimize</span>(<span class="pl-s1">rosen</span>, (<span class="pl-c1">0</span>,<span class="pl-c1">0</span>,<span class="pl-c1">0</span>), <span class="pl-s1">options</span><span class="pl-c1">=</span>{<span class="pl-s">'disp'</span>: <span class="pl-c1">True</span>, <span class="pl-s">'maxiter'</span>: <span class="pl-s1">n</span>}, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">'L-BFGS-B'</span>, <span class="pl-s1">callback</span><span class="pl-c1">=</span><span class="pl-s1">callback</span>) <span class="pl-en">print</span>(<span class="pl-s1">res</span>) <span class="pl-en">print</span>(<span class="pl-s1">c</span>)</pre></div> <p dir="auto">The behavior is incorrect for n&lt;25, for example n=3 produces</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" RUNNING THE L-BFGS-B CODE * * * Machine precision = 2.220D-16 N = 3 M = 10 This problem is unconstrained. At X0 0 variables are exactly at the bounds At iterate 0 f= 2.00000D+00 |proj g|= 2.00000D+00 At iterate 1 f= 1.95917D+00 |proj g|= 2.14559D+00 At iterate 2 f= 1.61222D+00 |proj g|= 4.47056D+00 At iterate 3 f= 1.57410D+00 |proj g|= 6.85382D+00 At iterate 4 f= 1.43040D+00 |proj g|= 6.93083D+00 At iterate 5 f= 1.22860D+00 |proj g|= 1.52933D+01 &lt;= 5 iters * * * Tit = total number of iterations Tnf = total number of function evaluations Tnint = total number of segments explored during Cauchy searches Skip = number of BFGS updates skipped Nact = number of active bounds at final generalized Cauchy point Projg = norm of the final projected gradient F = final function value * * * N Tit Tnf Tnint Skip Nact Projg F 3 5 12 1 0 0 1.529D+01 1.229D+00 F = 1.22859593979883 &lt;= final F STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT Cauchy time 0.000E+00 seconds. Subspace minimization time 0.000E+00 seconds. Line search time 0.000E+00 seconds. Total User time 0.000E+00 seconds. fun: 1.2285959397988266 hess_inv: &lt;3x3 LbfgsInvHessProduct with dtype=float64&gt; jac: array([ 10.82081735, -15.2932714 , 5.76619654]) message: b'STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT' nfev: 48 nit: 4 &lt;= internal profiling only counts 4 iters status: 1 success: False x: array([ 0.52583399, 0.22054671, 0.07747183]) count(4) &lt;= callback only called 4 times"><pre class="notranslate"><code class="notranslate"> RUNNING THE L-BFGS-B CODE * * * Machine precision = 2.220D-16 N = 3 M = 10 This problem is unconstrained. At X0 0 variables are exactly at the bounds At iterate 0 f= 2.00000D+00 |proj g|= 2.00000D+00 At iterate 1 f= 1.95917D+00 |proj g|= 2.14559D+00 At iterate 2 f= 1.61222D+00 |proj g|= 4.47056D+00 At iterate 3 f= 1.57410D+00 |proj g|= 6.85382D+00 At iterate 4 f= 1.43040D+00 |proj g|= 6.93083D+00 At iterate 5 f= 1.22860D+00 |proj g|= 1.52933D+01 &lt;= 5 iters * * * Tit = total number of iterations Tnf = total number of function evaluations Tnint = total number of segments explored during Cauchy searches Skip = number of BFGS updates skipped Nact = number of active bounds at final generalized Cauchy point Projg = norm of the final projected gradient F = final function value * * * N Tit Tnf Tnint Skip Nact Projg F 3 5 12 1 0 0 1.529D+01 1.229D+00 F = 1.22859593979883 &lt;= final F STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT Cauchy time 0.000E+00 seconds. Subspace minimization time 0.000E+00 seconds. Line search time 0.000E+00 seconds. Total User time 0.000E+00 seconds. fun: 1.2285959397988266 hess_inv: &lt;3x3 LbfgsInvHessProduct with dtype=float64&gt; jac: array([ 10.82081735, -15.2932714 , 5.76619654]) message: b'STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT' nfev: 48 nit: 4 &lt;= internal profiling only counts 4 iters status: 1 success: False x: array([ 0.52583399, 0.22054671, 0.07747183]) count(4) &lt;= callback only called 4 times </code></pre></div>
<p dir="auto">If the optimization does not finish early, L-BFGS-B runs 1 iteration more than requested.</p> <h3 dir="auto">Reproducing code example:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import itertools from scipy import optimize def f(x): x, y = x return (1 - x)**2 + 100 * (y - x**2)**2 # Rosenbrock function counter = itertools.count() def c(x): print next(counter), x, f(x) optimize.minimize(f, [0, 0], method='l-bfgs-b', callback=c, options={'maxiter': 5}) # Output 0 [ 1.74855120e-01 -8.73576809e-08] 0.774343468431 1 [ 0.26113558 0.04906611] 0.582499810584 2 [ 0.32394677 0.11056373] 0.460208907475 3 [ 0.4240506 0.16523825] 0.352977278528 4 [ 0.51688677 0.23667522] 0.326403357767 5 [ 0.52242281 0.26249422] 0.238961333065 &lt;-- This should be the optimized function value nit: 6 &lt;-- This is already one too many success: False message: 'STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT' x: array([ 0.60246124, 0.35628737]) fun: 0.16248886013148453 &lt;-- But this is less than reported in the last callback. jac: array([ 0.81281454, -1.33443389]) nfev: 30 status: 1"><pre class="notranslate"><code class="notranslate">import itertools from scipy import optimize def f(x): x, y = x return (1 - x)**2 + 100 * (y - x**2)**2 # Rosenbrock function counter = itertools.count() def c(x): print next(counter), x, f(x) optimize.minimize(f, [0, 0], method='l-bfgs-b', callback=c, options={'maxiter': 5}) # Output 0 [ 1.74855120e-01 -8.73576809e-08] 0.774343468431 1 [ 0.26113558 0.04906611] 0.582499810584 2 [ 0.32394677 0.11056373] 0.460208907475 3 [ 0.4240506 0.16523825] 0.352977278528 4 [ 0.51688677 0.23667522] 0.326403357767 5 [ 0.52242281 0.26249422] 0.238961333065 &lt;-- This should be the optimized function value nit: 6 &lt;-- This is already one too many success: False message: 'STOP: TOTAL NO. of ITERATIONS EXCEEDS LIMIT' x: array([ 0.60246124, 0.35628737]) fun: 0.16248886013148453 &lt;-- But this is less than reported in the last callback. jac: array([ 0.81281454, -1.33443389]) nfev: 30 status: 1 </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.15.1', '1.11.1', sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0))"><pre class="notranslate"><code class="notranslate">('0.15.1', '1.11.1', sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0)) </code></pre></div> <p dir="auto">The wrong logic is <a href="https://github.com/scipy/scipy/blob/v0.19.1/scipy/optimize/lbfgsb.py#L317">here</a>. It is probably enough to increase the <code class="notranslate">n_iterations</code> counter (and call the callback!) <strong>before</strong> checking it against <code class="notranslate">maxiter</code>. And the check should be a <code class="notranslate">&lt;=</code>, not a <code class="notranslate">&lt;</code>.</p>
1
<p dir="auto">I wonder how this one slipped through all this time</p> <p dir="auto">When I hit "format code"...</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div&gt; &lt;/div&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">becomes</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div&gt; &lt;/div&gt;"><pre class="notranslate"><span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span></pre></div> <p dir="auto">Can be seen in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124170956" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6281" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6281/hovercard" href="https://github.com/microsoft/TypeScript/issues/6281">#6281</a>. Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124032718" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/6271" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/6271/hovercard" href="https://github.com/microsoft/TypeScript/issues/6271">#6271</a>.</p>
<ul dir="auto"> <li>create a new .tsx file with content</li> </ul> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;div&gt; &lt;/div&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-smi">div</span><span class="pl-kos">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-smi">div</span><span class="pl-c1">&gt;</span></pre></div> <ul dir="auto"> <li>select all -&gt; format document</li> </ul> <p dir="auto"><strong>Expected:</strong> formatting stays the same<br> <strong>Actual:</strong> closing tag is indented</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8052307/9590717/495e58ec-4feb-11e5-9c16-da45220c76fd.gif"><img src="https://cloud.githubusercontent.com/assets/8052307/9590717/495e58ec-4feb-11e5-9c16-da45220c76fd.gif" alt="formatclosingtag" data-animated-image="" style="max-width: 100%;"></a></p>
1
<h1 dir="auto">Examples bug report</h1> <h2 dir="auto">Example name</h2> <p dir="auto">with-ant-design-less</p> <h2 dir="auto">Describe the bug</h2> <p dir="auto">Links doesn't work on production build when using Ant design in pages.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Clone repo: <a href="https://github.com/watch-janick/next-with-ant-design-less-link-issue.git">https://github.com/watch-janick/next-with-ant-design-less-link-issue.git</a></p> <ol dir="auto"> <li>Start a production build (npm run build &amp;&amp; npm run start)</li> <li>Go to localhost:3000</li> <li>Click on 'login'</li> <li>Nothing happens</li> <li>Go to localhost:3000/login</li> <li>Click on any link</li> <li>It works</li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Every links should work.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>Version of Next.js: 9.1.6</li> <li>Version of Ant Design: 3.25.2</li> </ul>
<p dir="auto">This is bug report</p> <p dir="auto">Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:<br> <a href="https://github.com/standy/next-css-error">https://github.com/standy/next-css-error</a></p> <p dir="auto">Bug appears in <code class="notranslate">[email protected]</code> + <code class="notranslate">[email protected]</code>,<br> Older <code class="notranslate">[email protected]</code> + <code class="notranslate">[email protected]</code> works fine</p>
1
<p dir="auto">I have been using v1.6.1 for a while. Recently I tried to compile the nightly built and got errors as attached. This is obviously a Fedora problem, as the nightly built can be compiled on el7 and centos 7. But I post them here, hoping it can be solved on Julia side.</p> <p dir="auto">Many thanks.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator&lt;llvm::Type*&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;unsigned int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o:/usr/include/c++/11/ext/new_allocator.h:110: more undefined references to `std::__throw_bad_array_new_length()' follow"><pre class="notranslate"><code class="notranslate">/usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator&lt;llvm::Type*&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;unsigned int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o:/usr/include/c++/11/ext/new_allocator.h:110: more undefined references to `std::__throw_bad_array_new_length()' follow </code></pre></div>
<p dir="auto">git master fails to build on Fedora 34 (with GCC 11). This happens even with a fresh clone.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ make [...] LINK usr/lib/libjulia-internal.so.1.7 /usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator&lt;llvm::Type*&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;unsigned int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o:/usr/include/c++/11/ext/new_allocator.h:110: more undefined references to `std::__throw_bad_array_new_length()' follow collect2: error: ld returned 1 exit status make[1]: *** [Makefile:300: /home/milan/julia/usr/lib/libjulia-internal.so.1.7] Error 1 make: *** [Makefile:76: julia-src-release] Error 2"><pre class="notranslate"><code class="notranslate">$ make [...] LINK usr/lib/libjulia-internal.so.1.7 /usr/bin/ld: ./codegen.o: in function `__gnu_cxx::new_allocator&lt;llvm::Type*&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;unsigned int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o: in function `__gnu_cxx::new_allocator&lt;int&gt;::allocate(unsigned long, void const*)': /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: /usr/include/c++/11/ext/new_allocator.h:110: undefined reference to `std::__throw_bad_array_new_length()' /usr/bin/ld: ./llvm-late-gc-lowering.o:/usr/include/c++/11/ext/new_allocator.h:110: more undefined references to `std::__throw_bad_array_new_length()' follow collect2: error: ld returned 1 exit status make[1]: *** [Makefile:300: /home/milan/julia/usr/lib/libjulia-internal.so.1.7] Error 1 make: *** [Makefile:76: julia-src-release] Error 2 </code></pre></div>
1
<p dir="auto">Applying the <a href="https://github.com/zeit/next.js/issues/219#issuecomment-258966784" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/219/hovercard">proposed</a> <a href="https://github.com/zeit/next.js/pull/3229" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/3229/hovercard">solutions</a> for <a href="https://github.com/zeit/next.js/issues/219" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/219/hovercard">client-only modules</a> works for initial render, but any hot reload causes the client-only module to go become undefined.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Client-only modules re-render after a change is made to a relevant source file.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Client-only modules disappear from the rendered tree (potentially throwing an error); as the module is <code class="notranslate">undefined</code>.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Render a React component (parent) that relies on an client-only module (child). (example below)</li> <li>Make a change to to the parent.</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I desire to server-render my Next.js application, sans components that require client technology (e.g. a component for a YouTube video player is not server-renderable). I also desire to hot reload changes to components while working in my development environment.</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>4.2.3</td> </tr> <tr> <td>node</td> <td>8.9.4</td> </tr> <tr> <td>OS</td> <td>macOS 10.13.3</td> </tr> <tr> <td>browser</td> <td>Chrome 64.0.3282.140</td> </tr> </tbody> </table> <h2 dir="auto">Example</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React, { Component } from 'react'; let YouTube; export default class VideoPlayer extends Component { constructor(props) { super(props); this.state = { renderYouTube: false }; } // cDM is not invoked during a hot reload; which means YouTube is undefined // on any subsequent render. componentDidMount() { YouTube = require('react-youtube').default; this.setState({ renderYouTube: true }); } render() { return ( &lt;div&gt; {this.state.renderYouTube &amp;&amp; &lt;YouTube videoId={this.props.id} /&gt;} &lt;/div&gt; ); } }"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-v">Component</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-v">YouTube</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">VideoPlayer</span> <span class="pl-k">extends</span> <span class="pl-v">Component</span> <span class="pl-kos">{</span> <span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">renderYouTube</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// cDM is not invoked during a hot reload; which means YouTube is undefined</span> <span class="pl-c">// on any subsequent render.</span> <span class="pl-en">componentDidMount</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-v">YouTube</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'react-youtube'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">setState</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">renderYouTube</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-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">.</span><span class="pl-c1">renderYouTube</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-c1">&lt;</span><span class="pl-v">YouTube</span> <span class="pl-c1">videoId</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">}</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">It is in my understanding that the <code class="notranslate">&lt;style jsx&gt;</code> tag contains an interpolated string in order allow insertion of variables that can be stored and manipulated in javascript as in the following example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const color = 'red'; return (&lt;div&gt; &lt;p&gt;Hello&lt;/p&gt; &lt;style jsx&gt; {` p { color: ${color}; } `} &lt;/style&gt; &lt;/div&gt;);"><pre class="notranslate"><code class="notranslate">const color = 'red'; return (&lt;div&gt; &lt;p&gt;Hello&lt;/p&gt; &lt;style jsx&gt; {` p { color: ${color}; } `} &lt;/style&gt; &lt;/div&gt;); </code></pre></div> <p dir="auto">I am trying to use the previous mechanism to encapsulate the media queries that I use in a single location:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" const mediaQueries = { mobile: '@ media screen and (max-width: 320 px)', ... };"><pre class="notranslate"><code class="notranslate"> const mediaQueries = { mobile: '@ media screen and (max-width: 320 px)', ... }; </code></pre></div> <p dir="auto">But when I try to use them as follows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return (&lt;div&gt; &lt;p&gt;Hello&lt;/p&gt; &lt;style jsx&gt; {` ${mediaQueries.mobile} { p { color: ${color}; } } `} &lt;/style&gt; &lt;/div&gt;);"><pre class="notranslate"><code class="notranslate">return (&lt;div&gt; &lt;p&gt;Hello&lt;/p&gt; &lt;style jsx&gt; {` ${mediaQueries.mobile} { p { color: ${color}; } } `} &lt;/style&gt; &lt;/div&gt;); </code></pre></div> <p dir="auto">I get the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Module build failed: Error: /absolute_path/MediaQueryIssueExample/pages/index.js?entry: Nesting detected at 9:21. Unfortunately nesting is not supported by styled-jsx. at Function.disableNestingPlugin (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/lib/style-transform.js:22:13) at proxy (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:1311:30) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:804:14) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:366:17) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:366:17) at stylis (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:1458:16) at transform (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/lib/style-transform.js:120:3) at processCss (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/_utils.js:461:65) at PluginPass.exit (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/babel.js:232:51) at newFn (/absolute_path/MediaQueryIssueExample/node_modules/babel-traverse/lib/visitors.js:276:21)"><pre class="notranslate"><code class="notranslate">Module build failed: Error: /absolute_path/MediaQueryIssueExample/pages/index.js?entry: Nesting detected at 9:21. Unfortunately nesting is not supported by styled-jsx. at Function.disableNestingPlugin (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/lib/style-transform.js:22:13) at proxy (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:1311:30) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:804:14) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:366:17) at compile (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:366:17) at stylis (/absolute_path/MediaQueryIssueExample/node_modules/stylis/stylis.js:1458:16) at transform (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/lib/style-transform.js:120:3) at processCss (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/_utils.js:461:65) at PluginPass.exit (/absolute_path/MediaQueryIssueExample/node_modules/styled-jsx/dist/babel.js:232:51) at newFn (/absolute_path/MediaQueryIssueExample/node_modules/babel-traverse/lib/visitors.js:276:21) </code></pre></div> <p dir="auto">The <a href="https://github.com/MissaouiChedy/MediaQueryIssueExample">MediaQueryIssue repository</a> contains <strong>a minimalistic example that demonstrates the issue</strong>.</p> <p dir="auto">The error message indicates that nested styling as been detected, this seems odd since I did use only one <code class="notranslate">&lt;style jsx&gt;</code> elements inside the rendered structure of the previous example.</p> <p dir="auto">One of the advantages of using styled jsx is the ability to substitute values that can be manipulated in JavaScript in order to kill as much duplication as possible, unfortunately the fact that it is impossible to substitute media queries limits this advantage greatly.</p> <p dir="auto">I suspect that this might be a <a href="https://github.com/zeit/styled-jsx">styled jsx</a> specific issue but I am not sure yet and I thought it would better to start the discussion here.</p> <p dir="auto">Pointers to where to debug are welcome and I would be glad to contribute fixes if possible.</p>
0
<p dir="auto">I'm finding VS Code is fairly hard to use efficiently without an integrated terminal.<br> I have to type make repeatedly in a separate bash window (remembering to hit ctrl-s every time!), and from there, I can't double-click on compile errors to go to the line+file.<br> At a minimum, it would be good to have an integrated shell, and support clicking errors to go to the source.</p> <p dir="auto">Ideally, once integrated, a macro could: save all -&gt; execute <code class="notranslate">make</code>, and productivity would increase substantially.</p>
<p dir="auto">It would be great if vscode has integrated terminal feature refer vim or atom <a href="https://atom.io/packages/term3" rel="nofollow">https://atom.io/packages/term3</a></p> <p dir="auto">I saw this suggestion pending in uservoice(<a href="https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752357-integrated-terminal" rel="nofollow">https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752357-integrated-terminal</a>) and repost here since it has specific repo</p>
1
<p dir="auto">Verified that version 4.2.0 works well, so a recent regression. Haven't tried to create a small example to reproduce, but since it's a recent bugfix version that should be fairly easy to pinpoint.</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br> Bug</p> <p dir="auto"><strong>What is the current behavior?</strong><br> Page load throws console error: <code class="notranslate">Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.null</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Chrome console 6VM598:27 Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.null window.console.error @ VM598:27 printWarning @ warning.js:36 warning @ warning.js:60 mountIndeterminateComponent @ react-dom.development.js:10488 beginWork @ react-dom.development.js:10647 performUnitOfWork @ react-dom.development.js:12621 workLoop @ react-dom.development.js:12730 callCallback @ react-dom.development.js:1319 invokeGuardedCallbackDev @ react-dom.development.js:1358 invokeGuardedCallback @ react-dom.development.js:1215 performWork @ react-dom.development.js:12848 batchedUpdates @ react-dom.development.js:13292 performFiberBatchedUpdates @ react-dom.development.js:1666 stackBatchedUpdates @ react-dom.development.js:1657 batchedUpdates @ react-dom.development.js:1671 batchedUpdatesWithControlledComponents @ react-dom.development.js:1684 dispatchEvent @ react-dom.development.js:1894"><pre class="notranslate"><code class="notranslate">// Chrome console 6VM598:27 Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail.null window.console.error @ VM598:27 printWarning @ warning.js:36 warning @ warning.js:60 mountIndeterminateComponent @ react-dom.development.js:10488 beginWork @ react-dom.development.js:10647 performUnitOfWork @ react-dom.development.js:12621 workLoop @ react-dom.development.js:12730 callCallback @ react-dom.development.js:1319 invokeGuardedCallbackDev @ react-dom.development.js:1358 invokeGuardedCallback @ react-dom.development.js:1215 performWork @ react-dom.development.js:12848 batchedUpdates @ react-dom.development.js:13292 performFiberBatchedUpdates @ react-dom.development.js:1666 stackBatchedUpdates @ react-dom.development.js:1657 batchedUpdates @ react-dom.development.js:1671 batchedUpdatesWithControlledComponents @ react-dom.development.js:1684 dispatchEvent @ react-dom.development.js:1894 </code></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong><br> No console error. Or at least some way to trace which is the stateless component that is causing the issue.</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><br> <code class="notranslate">"react": "^16.0.0-rc.3",</code><br> <code class="notranslate">Chrome Version 60.0.3112.113 (Official Build) (64-bit)</code><br> <code class="notranslate">macOS Sierra 10.12.6</code></p> <ul dir="auto"> <li>This error only started to appear after upgrading from React 15 -&gt; 16.</li> </ul>
0
<p dir="auto">Thanks for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="110547529" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/5185" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/5185/hovercard" href="https://github.com/microsoft/TypeScript/pull/5185">#5185</a> <g-emoji class="g-emoji" alias="rose" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f339.png">🌹</g-emoji>. Would be great if we could get autocomplete support for string literals</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type Foo = &quot;aReallyLong&quot; | &quot;bReallyLong&quot;; let foo:Foo; foo = &quot;aReallyLong&quot;; // allow me to autocomplete this"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">Foo</span> <span class="pl-c1">=</span> <span class="pl-s">"aReallyLong"</span> <span class="pl-c1">|</span> <span class="pl-s">"bReallyLong"</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">foo</span>:<span class="pl-smi">Foo</span><span class="pl-kos">;</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">"aReallyLong"</span><span class="pl-kos">;</span> <span class="pl-c">// allow me to autocomplete this</span></pre></div> <p dir="auto">refs <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115590019" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/5554" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/5554/hovercard?comment_id=155622379&amp;comment_type=issue_comment" href="https://github.com/microsoft/TypeScript/issues/5554#issuecomment-155622379">#5554 (comment)</a></p>
<p dir="auto">Many JavaScript frameworks are heavily based on using string values to do many things, from getting and setting attributes via the property name in string form, to defining event handlers to handle browsing to particular URLs. TypeScript added specialized signatures in overloads as one means to help mitigate the pain associated with these types of APIs. Unfortunately for a number of patterns this is insufficient and not general enough. Rather than try to design a specific type system enhancement that could handle some or all of the many ways these frameworks use string literals we could try some simple tricks in Visual Studio to help out. Namely, when typing a string literal the editor should provide a completion list based on other string literals already used in your program. Some other tools already provide similar capabilities (ex Sublime Text).</p> <p dir="auto">Consider something like this in a Backbone View class:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class TodoView extends Backbone.View&lt;TodoModel&gt; { initialize() { this.listenTo(this.model, 'change', () =&gt; this.render()); this.listenTo(this.model, 'todoDescriptionChanged', () =&gt; this.render()); this.listenTo(this.model, 'destory', () =&gt; this.remove()); }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">TodoView</span> <span class="pl-k">extends</span> <span class="pl-smi">Backbone</span><span class="pl-kos">.</span><span class="pl-c1">View</span><span class="pl-c1">&lt;</span><span class="pl-smi">TodoModel</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">initialize</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'change'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'todoDescriptionChanged'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">listenTo</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">,</span> <span class="pl-s">'destory'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">At another point I may attempt to manually trigger one of these events:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" updateTodo() { var desc = this.$input.val().trim(); var todo = this.model; if (desc) { todo.save({ title: desc }); // provide completion list inside this string literal showing // todoDescriptionChanged to avoid hard to debug typos // and speed up development todo.trigger('todoDescriptionChanged'); } }"><pre class="notranslate"> <span class="pl-en">updateTodo</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">desc</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$input</span><span class="pl-kos">.</span><span class="pl-en">val</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">trim</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">todo</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">model</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">desc</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">todo</span><span class="pl-kos">.</span><span class="pl-en">save</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">title</span>: <span class="pl-s1">desc</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// provide completion list inside this string literal showing </span> <span class="pl-c">// todoDescriptionChanged to avoid hard to debug typos </span> <span class="pl-c">// and speed up development</span> <span class="pl-s1">todo</span><span class="pl-kos">.</span><span class="pl-en">trigger</span><span class="pl-kos">(</span><span class="pl-s">'todoDescriptionChanged'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This should be a relatively cheap solution to a common set of problems that we've always hoped TypeScript can improve on over JavaScript. If you did accidentally make a typo in one use of the literal this could also help you discover that when seeing 2 completion list items that are similar but slightly different.</p>
1
<p dir="auto">I have often had to navigate to <code class="notranslate">Finder</code> in order to duplicate files while I have been working.</p> <p dir="auto">I would imagine that duplicating a file is a common way of developing.</p> <p dir="auto">Hope to see it in the future :)</p>
<p dir="auto">It's linting all of the downloaded VSCode-linux-x64 folder, .vscode-test should be ignored.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2193314/15920309/aabb9292-2dcd-11e6-8725-a4f5e3b132bb.png"><img src="https://cloud.githubusercontent.com/assets/2193314/15920309/aabb9292-2dcd-11e6-8725-a4f5e3b132bb.png" alt="image" style="max-width: 100%;"></a></p>
0
<p dir="auto">Programs can have links at multiple locations. If links at one these locations is deleted, program should be displayed using links from another locations.</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2> <ul dir="auto"> <li>PowerToys version: 0.23.0</li> <li>PowerToy Utility: Run</li> <li>Running PowerToys as Admin: no</li> <li>Windows build number: [run "winver"]</li> </ul> <p dir="auto">Steps to repro :</p> <ol dir="auto"> <li>Search <code class="notranslate">steam</code>.</li> <li>Press <code class="notranslate">ctrl+shift+e</code> to open file location. This opens up <code class="notranslate">C:\Users\divyan\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Steam</code> folder.</li> <li>Delete the shortcut.</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"><code class="notranslate">Steam</code> should still be displayed as another shortcut is present in <code class="notranslate">C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Steam</code> folder.</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">Steam is not displayed. Restarting Run fixes this issue.</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p>
<h2 dir="auto">ℹ Computer information</h2> <ul dir="auto"> <li>PowerToys version: 0.21.1</li> <li>PowerToy Utility: PT Run</li> <li>Running PowerToys as Admin: Yes</li> <li>Windows build number: 19041.508</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> <p dir="auto"><em>(Pre: have <code class="notranslate">term.cmd</code> on the path, and a <code class="notranslate">term.js</code> file. (See <a href="https://gist.github.com/TheBrenny/5a22c719c22158ed0034b849ad1c312d">this gist</a> for contents))</em></p> <ol dir="auto"> <li>Open PT Runner and enter <code class="notranslate">&gt; term</code></li> <li>Windows Terminal opens as it should.</li> <li>Open PT Runner and enter <code class="notranslate">&gt; term node</code></li> <li>No response?</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">The argument passed to the term.cmd file should forward onto the term.js file spawning a Windows Terminal process with the NodeJS profile active (as specified in the term.js file).</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">Nothing happens. Not a process hang, but the Windows Terminal doesn't appear, fullstop. Running <code class="notranslate">&gt; code tmp.js</code> correctly opens a VSCode instance with an unsaved file named <code class="notranslate">tmp.js</code>, so I don't think it's an issue with args, but maybe with how args are piped to the command - specifically with how they appear in the <code class="notranslate">%*</code> object in batch? I don't really know though...</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto">(I tried to screen record, but the Windows Gamebar doesn't record the whole screen. <g-emoji class="g-emoji" alias="worried" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f61f.png">😟</g-emoji> So sorry, nope.)</p>
0
<p dir="auto">When you <code class="notranslate">curl ip:9200/name/_mappings</code> (or <code class="notranslate">_settings</code>, for example), you get a response with the JSON object.</p> <p dir="auto">But when you do <code class="notranslate">curl -I ip:9200/name/_mappings</code>, you get 404.</p> <p dir="auto">Why? Because <code class="notranslate">-I</code> is not a GET operation, but a HEAD one, and it's not implemented.</p> <p dir="auto">I think this is strange behaviour. According to <a href="https://tools.ietf.org/html/rfc2616#section-9.4" rel="nofollow">HTTP protocol spec</a>:</p> <blockquote> <p dir="auto">The HEAD method is identical to GET except that the server MUST NOT<br> return a message-body in the response. The metainformation contained<br> in the HTTP headers in response to a HEAD request SHOULD be identical<br> to the information sent in response to a GET request.</p> </blockquote> <p dir="auto">So would be nice to have the HEAD acting the same as GET here (without body response), instead of returning 404. I wasted some time trying to figure out what was wrong until i removed <code class="notranslate">-I</code> <g-emoji class="g-emoji" alias="confused" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f615.png">😕</g-emoji></p>
<p dir="auto">Today, if a request is executed against an endpoint with a method in the request line that that endpoint does not support, Elasticsearch responds with a response like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;error&quot; : { &quot;root_cause&quot; : [ { &quot;type&quot; : &quot;illegal_argument_exception&quot;, &quot;reason&quot; : &quot;No feature for name [_forcemerge]&quot; } ], &quot;type&quot; : &quot;illegal_argument_exception&quot;, &quot;reason&quot; : &quot;No feature for name [_forcemerge]&quot; }, &quot;status&quot; : 400 }"><pre class="notranslate"><code class="notranslate">{ "error" : { "root_cause" : [ { "type" : "illegal_argument_exception", "reason" : "No feature for name [_forcemerge]" } ], "type" : "illegal_argument_exception", "reason" : "No feature for name [_forcemerge]" }, "status" : 400 } </code></pre></div> <p dir="auto">This is confusing for users*, semantically wrong, and contrary to the HTTP spec. Instead, Elasticsearch should respond with <a href="https://tools.ietf.org/html/rfc2616#section-10.4.6" rel="nofollow">HTTP status code 405</a> (Method Not Allowed) and include in the Allow header a list of methods that the endpoint does support.</p> <p dir="auto">*: <a href="https://www.google.com/search?q=no+feature+for+name+elasticsearch" rel="nofollow">Googling "no feature for name elasticsearch"</a> just leads to pages describing issues when an <a href="https://github.com/elastic/elasticsearch/blob/20bff773eda14804a77f6b76d98d8ea63ba6f4b9/core/src/main/java/org/elasticsearch/action/admin/indices/get/GetIndexRequest.java#L75-L82">index is missing</a>.</p>
1
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(unboxed_closures, unboxed_closure_sugar)] fn make_adder(a: int, b: int) -&gt; Box&lt;|&amp;:| -&gt; int&gt; { (box |&amp;:| a + b) as Box&lt;|&amp;:| -&gt; int&gt; } fn main() { println!(&quot;{}&quot;, make_adder(1, 2).call(())); }"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>unboxed_closures<span class="pl-kos">,</span> unboxed_closure_sugar<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">fn</span> <span class="pl-en">make_adder</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">:</span> <span class="pl-smi">int</span><span class="pl-kos">,</span> <span class="pl-s1">b</span><span class="pl-kos">:</span> <span class="pl-smi">int</span><span class="pl-kos">)</span> -&gt; <span class="pl-smi">Box</span><span class="pl-kos">&lt;</span>|<span class="pl-c1">&amp;</span><span class="pl-kos">:</span>| -&gt; <span class="pl-smi">int</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-kos">(</span>box |<span class="pl-c1">&amp;</span><span class="pl-kos">:</span>| a + b<span class="pl-kos">)</span> <span class="pl-k">as</span> <span class="pl-smi">Box</span>&lt;|<span class="pl-c1">&amp;</span><span class="pl-kos">:</span>| -&gt; int&gt; <span class="pl-kos">}</span> <span class="pl-k">fn</span> main<span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, make_adder<span class="pl-kos">(</span><span class="pl-c1">1</span>, <span class="pl-c1">2</span><span class="pl-kos">)</span>.call<span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This code does not compile with this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:8:42: 8:44 error: mismatched types: expected `()` but found `()` (expected tuple but found ()) &lt;anon&gt;:8 println!(&quot;{}&quot;, make_adder(1, 2).call(())); ^~ note: in expansion of format_args! &lt;std macros&gt;:2:23: 2:77 note: expansion site &lt;std macros&gt;:1:1: 3:2 note: in expansion of println! &lt;anon&gt;:8:5: 8:47 note: expansion site error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:8:42: 8:44 error: mismatched types: expected `()` but found `()` (expected tuple but found ()) &lt;anon&gt;:8 println!("{}", make_adder(1, 2).call(())); ^~ note: in expansion of format_args! &lt;std macros&gt;:2:23: 2:77 note: expansion site &lt;std macros&gt;:1:1: 3:2 note: in expansion of println! &lt;anon&gt;:8:5: 8:47 note: expansion site error: aborting due to previous error </code></pre></div> <p dir="auto">Naturally, <code class="notranslate">call()</code> without arguments does not work, but I know of no other way to pass zero argument to the closure.</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(unboxed_closures)] use std::ops::FnMut; fn main() { let mut zero = |&amp;mut:| {}; zero.call_mut(()); // let mut one = |&amp;mut: _: int| {}; one.call_mut((1,)); }"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>unboxed_closures<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">use</span> std<span class="pl-kos">::</span>ops<span class="pl-kos">::</span><span class="pl-v">FnMut</span><span class="pl-kos">;</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-k">mut</span> zero = |<span class="pl-c1">&amp;</span><span class="pl-k">mut</span><span class="pl-kos">:</span>| <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> zero<span class="pl-kos">.</span><span class="pl-en">call_mut</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// let mut one = |&amp;mut: _: int| {}; one.call_mut((1,));</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:6:46: 6:48 error: mismatched types: expected `()` but found `()` (expected tuple but found ()) &lt;anon&gt;:6 let mut zero = |&amp;mut:| {}; zero.call_mut(()); ^~"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:6:46: 6:48 error: mismatched types: expected `()` but found `()` (expected tuple but found ()) &lt;anon&gt;:6 let mut zero = |&amp;mut:| {}; zero.call_mut(()); ^~ </code></pre></div> <p dir="auto">Swapping the comments compiles fine.</p> <p dir="auto">(At a guess the compiler is looking for a tuple with no fields, which is not the same as unit <code class="notranslate">()</code>.)</p>
1
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">Matplotlib patch 3.1.1 broke imshow() heatmaps. While with version 3.1.0 the heatmap was plotted correctly, in 3.1.1 the bottom most and the top most heatmap tiles are cut off.<br> This can even be seen in the Matplotlib online documentation itself, see links below.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <p dir="auto">Taken straight from the Matplotlib online documentation:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np import matplotlib import matplotlib.pyplot as plt # sphinx_gallery_thumbnail_number = 2 vegetables = [&quot;cucumber&quot;, &quot;tomato&quot;, &quot;lettuce&quot;, &quot;asparagus&quot;, &quot;potato&quot;, &quot;wheat&quot;, &quot;barley&quot;] farmers = [&quot;Farmer Joe&quot;, &quot;Upland Bros.&quot;, &quot;Smith Gardening&quot;, &quot;Agrifun&quot;, &quot;Organiculture&quot;, &quot;BioGoods Ltd.&quot;, &quot;Cornylee Corp.&quot;] 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=&quot;right&quot;, rotation_mode=&quot;anchor&quot;) # 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=&quot;center&quot;, va=&quot;center&quot;, color=&quot;w&quot;) ax.set_title(&quot;Harvest of local farmers (in tons/year)&quot;) fig.tight_layout() 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-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></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24250824/64229597-84f79d00-ceea-11e9-99f1-0c14b4ec3603.png"><img src="https://user-images.githubusercontent.com/24250824/64229597-84f79d00-ceea-11e9-99f1-0c14b4ec3603.png" alt="heatmap_3-1-1" style="max-width: 100%;"></a><br> Copied from:<br> <a href="https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/image_annotated_heatmap.html#sphx-glr-gallery-images-contours-and-fields-image-annotated-heatmap-py" rel="nofollow">https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/image_annotated_heatmap.html#sphx-glr-gallery-images-contours-and-fields-image-annotated-heatmap-py</a></p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24250824/64229624-917bf580-ceea-11e9-9810-c2b46bd27ad7.png"><img src="https://user-images.githubusercontent.com/24250824/64229624-917bf580-ceea-11e9-9810-c2b46bd27ad7.png" alt="heatmap_3-1-0" style="max-width: 100%;"></a><br> Copied from:<br> <a href="https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html#sphx-glr-gallery-images-contours-and-fields-image-annotated-heatmap-py" rel="nofollow">https://matplotlib.org/3.1.0/gallery/images_contours_and_fields/image_annotated_heatmap.html#sphx-glr-gallery-images-contours-and-fields-image-annotated-heatmap-py</a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Windows 8.1 and Ubuntu 18.04</li> <li>Matplotlib version: 3.1.1</li> <li>Matplotlib backend: Qt5Agg</li> <li>Python version: 3.7.4 on Windows and 3.6.8 on Ubuntu</li> </ul> <p dir="auto">I am using conda on Windows and pip on Ubuntu.</p>
<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=&quot;.0f&quot;, 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
<p dir="auto">I was using Twitter Bootstrap on a recent project and had a page with a body class of "page_spanish". After a ton of troublshooting, I determined that a bootstrap selector was picking up the "span" inside of the class and it was messing up the layout of the page.</p> <p dir="auto">Can the selector for this be made more narrow so it won't pick up class names that contain "span" somewhere in them?</p>
<p dir="auto">The CSS selector <code class="notranslate">[class*="span"]</code> is targeting elements beyond its intended scope.</p> <p dir="auto">In my particular scenario, I have a Wordpress site which adds a class equal to the post slug to the <code class="notranslate">body</code> element. So, when the user creates page entitled "Spanish", a class of <code class="notranslate">spanish</code> is added to the <code class="notranslate">body</code> element. And so the entire page is floated left with a 20px negative left margin!</p>
1
<p dir="auto">If I use icons for all tabs, it's fine:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;ul class=&quot;nav nav-tabs&quot;&gt; &lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon-xxxxx&quot;&gt;&lt;/i&gt; Tab 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon-yyyyy&quot;&gt;&lt;/i&gt; Tab 2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">ul</span> <span class="pl-c1">class</span>="<span class="pl-s">nav nav-tabs</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span> <span class="pl-c1">class</span>="<span class="pl-s">active</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">icon-xxxxx</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">i</span><span class="pl-kos">&gt;</span> Tab 1<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">icon-yyyyy</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">i</span><span class="pl-kos">&gt;</span> Tab 2<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span></pre></div> <p dir="auto">However, if I only use icons on some of the tabs, then the active tab without an icon will have an offset at the bottom, resulting a border is drawn:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;ul class=&quot;nav nav-tabs&quot;&gt; &lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;#&quot;&gt;Tab 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon-yyyyy&quot;&gt;&lt;/i&gt; Tab 2&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">ul</span> <span class="pl-c1">class</span>="<span class="pl-s">nav nav-tabs</span>"<span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span> <span class="pl-c1">class</span>="<span class="pl-s">active</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span>Tab 1<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">icon-yyyyy</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">i</span><span class="pl-kos">&gt;</span> Tab 2<span class="pl-kos">&lt;/</span><span class="pl-ent">a</span><span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">li</span><span class="pl-kos">&gt;</span> <span class="pl-kos">&lt;/</span><span class="pl-ent">ul</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">If you create a tabbable navigation and add an icon to only one tab, the other tab(s) have an incorrect height and thus the bottom border is shown.</p> <p dir="auto">The following example illustrates the issue:</p> <p dir="auto"><a href="http://jsfiddle.net/ZCZev/" rel="nofollow">http://jsfiddle.net/ZCZev/</a></p> <p dir="auto">A temporary solution is to add</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;i class=&quot;icon-blank&quot;&gt;&lt;/i&gt;"><pre class="notranslate"><code class="notranslate">&lt;i class="icon-blank"&gt;&lt;/i&gt; </code></pre></div> <p dir="auto">Inside the tab's anchor element and have icon-blank be like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".icon-blank { width: 0px; }"><pre class="notranslate"><code class="notranslate">.icon-blank { width: 0px; } </code></pre></div>
1
<h1 dir="auto">Checklist</h1> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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"> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br> for similar or identical bug reports.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br> for existing proposed fixes.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br> to find out if the bug was already fixed in the master branch.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br> in this issue (If there are none, check this box anyway).</li> </ul> <h2 dir="auto">Mandatory Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br> (if you are not able to do this, then at least specify the Celery<br> version affected).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br> to reproduce this bug.</li> </ul> <h2 dir="auto">Optional Debugging Information</h2> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br> and/or implementation.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br> result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br> broker and/or result backend.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br> ETA/Countdown &amp; rate limits disabled.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br> and/or upgrading Celery and its dependencies.</li> </ul> <h2 dir="auto">Related Issues and Possible Duplicates</h2> <h4 dir="auto">Related Issues</h4> <ul dir="auto"> <li>None</li> </ul> <h4 dir="auto">Possible Duplicates</h4> <ul dir="auto"> <li>None</li> </ul> <h2 dir="auto">Environment &amp; Settings</h2> <p dir="auto"><strong>Celery version</strong>:</p> <details> <summary><b><code class="notranslate">celery report</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Steps to Reproduce</h1> <h2 dir="auto">Required Dependencies</h2> <ul dir="auto"> <li><strong>Minimal Python Version</strong>: N/A or Unknown</li> <li><strong>Minimal Celery Version</strong>: N/A or Unknown</li> <li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li> <li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li> <li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li> <li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li> </ul> <h3 dir="auto">Python Packages</h3> <details> <summary><b><code class="notranslate">pip freeze</code> Output:</b></summary> <p dir="auto"> </p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div> <p dir="auto"></p> </details> <h3 dir="auto">Other Dependencies</h3> <details> <p dir="auto"> N/A </p> </details> <h2 dir="auto">Minimally Reproducible Test Case</h2> <details> <p dir="auto"> </p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div> <p dir="auto"></p> </details> <h1 dir="auto">Expected Behavior</h1> <h1 dir="auto">Actual Behavior</h1>
<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?utf8=%E2%9C%93&amp;q=is%3Aissue+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%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 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">Description</h1> <p dir="auto">As of <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/3cf5072ee5f95744024f60e0f4a77eb2edb8959f/hovercard" href="https://github.com/celery/celery/commit/3cf5072ee5f95744024f60e0f4a77eb2edb8959f"><tt>3cf5072</tt></a>, <a href="https://docs.celeryproject.org/en/master/userguide/tasks.html#automatic-naming-and-relative-imports" rel="nofollow">Tasks § Automatic naming and relative imports</a> states:</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/3cf5072ee5f95744024f60e0f4a77eb2edb8959f/docs/userguide/tasks.rst#L260-L266">celery/docs/userguide/tasks.rst</a> </p> <p class="mb-0 color-fg-muted"> Lines 260 to 266 in <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/3cf5072ee5f95744024f60e0f4a77eb2edb8959f">3cf5072</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="L260" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="260"></td> <td id="LC260" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> Relative imports and automatic name generation don't go well together, </td> </tr> <tr class="border-0"> <td id="L261" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="261"></td> <td id="LC261" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> so if you're using relative imports you should set the name explicitly. </td> </tr> <tr class="border-0"> <td id="L262" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="262"></td> <td id="LC262" 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="L263" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="263"></td> <td id="LC263" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> For example if the client imports the module ``<span class="pl-c1">"myapp.tasks"</span>`` </td> </tr> <tr class="border-0"> <td id="L264" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="264"></td> <td id="LC264" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> as ``<span class="pl-c1">".tasks"</span>``, and the worker imports the module as ``<span class="pl-c1">"myapp.tasks"</span>``, </td> </tr> <tr class="border-0"> <td id="L265" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="265"></td> <td id="LC265" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> the generated names won't match and an <span class="pl-k">:exc:</span>`<span class="pl-s">~@NotRegistered</span>` error will </td> </tr> <tr class="border-0"> <td id="L266" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="266"></td> <td id="LC266" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> be raised by the worker. </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">However, it goes on to say:</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/3cf5072ee5f95744024f60e0f4a77eb2edb8959f/docs/userguide/tasks.rst#L309-L313">celery/docs/userguide/tasks.rst</a> </p> <p class="mb-0 color-fg-muted"> Lines 309 to 313 in <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/3cf5072ee5f95744024f60e0f4a77eb2edb8959f">3cf5072</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="L309" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="309"></td> <td id="LC309" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"></span>New-style relative imports are fine and can be used: </td> </tr> <tr class="border-0"> <td id="L310" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="310"></td> <td id="LC310" 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="L311" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="311"></td> <td id="LC311" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> .. <span class="pl-c1">code-block</span>:: <span class="pl-en">python</span><span class="pl-s1"></span> </td> </tr> <tr class="border-0"> <td id="L312" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="312"></td> <td id="LC312" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"></span> </td> </tr> <tr class="border-0"> <td id="L313" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="313"></td> <td id="LC313" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1"> <span class="pl-k">from</span> .module <span class="pl-k">import</span> foo <span class="pl-c"><span class="pl-c">#</span> GOOD!</span></span> </td> </tr> </tbody></table> </div> </div> <p></p> <p dir="auto">Hence, the documentation is inconsistent in saying whether or not new-style relative imports lead to inconsistent automatic task name generation for tasks contained within the imported module.</p> <h1 dir="auto">Suggestions</h1> <ul dir="auto"> <li> <p dir="auto"><strong>Celery 5.x</strong>: Celery 5.0 dropped support for Python 2 and only supports Python 3. Since Python 3 does not support old-style relative imports, the entire section can be dropped.</p> </li> <li> <p dir="auto"><strong>Celery 4.x</strong>: Change the description to the following:</p> <blockquote> <p dir="auto">For example if the client inside the <code class="notranslate">"myapp"</code> module imports the module <code class="notranslate">"myapp.tasks"</code> as <code class="notranslate">"tasks"</code>, and the worker imports the module as <code class="notranslate">"myapp.tasks"</code>, the generated names won't match and an :exc:<code class="notranslate">~@NotRegistered</code> error will be raised by the worker.</p> </blockquote> </li> </ul>
0
<p dir="auto">In 1.3.0,</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct PatriciaTree { data: Box&lt;u8&gt;, child_l: Box&lt;u8&gt;, } impl PatriciaTree { fn delete(&amp;mut self) { let child = Box::new(PatriciaTree { data: Box::new(5), child_l: Box::new(5) }); let PatriciaTree { data, child_l } = *child; } } fn main() {}"><pre class="notranslate"><code class="notranslate">struct PatriciaTree { data: Box&lt;u8&gt;, child_l: Box&lt;u8&gt;, } impl PatriciaTree { fn delete(&amp;mut self) { let child = Box::new(PatriciaTree { data: Box::new(5), child_l: Box::new(5) }); let PatriciaTree { data, child_l } = *child; } } fn main() {} </code></pre></div> <p dir="auto">fails with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="break3.rs:10:34: 10:41 error: use of moved value: `child` [E0382] break3.rs:10 let PatriciaTree { data, child_l } = *child; ^~~~~~~ break3.rs:10:28: 10:32 note: `child` moved here (through moving `child.data`) because it has type `Box&lt;u8&gt;`, which is moved by default break3.rs:10 let PatriciaTree { data, child_l } = *child; ^~~~ break3.rs:10:28: 10:32 help: if you would like to borrow the value instead, use a `ref` binding as shown: break3.rs: let PatriciaTree { ref data, child_l } = *child; error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">break3.rs:10:34: 10:41 error: use of moved value: `child` [E0382] break3.rs:10 let PatriciaTree { data, child_l } = *child; ^~~~~~~ break3.rs:10:28: 10:32 note: `child` moved here (through moving `child.data`) because it has type `Box&lt;u8&gt;`, which is moved by default break3.rs:10 let PatriciaTree { data, child_l } = *child; ^~~~ break3.rs:10:28: 10:32 help: if you would like to borrow the value instead, use a `ref` binding as shown: break3.rs: let PatriciaTree { ref data, child_l } = *child; error: aborting due to previous error </code></pre></div> <p dir="auto">This is a common pattern for moving all the fields at once out of a struct (since moving them one by one could introduce memory unsafety).</p> <p dir="auto"><strong>Edit:</strong> I posted the wrong error message in the first version of this bug; fixed now.</p>
<p dir="auto">The following code worked on <code class="notranslate">0.11</code> bu no longer works on <code class="notranslate">master</code>. Last known good nightly was August 1st.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct Foo { a: Vec&lt;u8&gt;, b: Vec&lt;u8&gt; } fn main() { let foo = box Foo{a: Vec::new(), b: Vec::new()}; let Foo { a: a, b: b } = *foo; }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">u8</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">u8</span><span class="pl-kos">&gt;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> foo = box <span class="pl-smi">Foo</span><span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> a<span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> b <span class="pl-kos">}</span> = <span class="pl-c1">*</span>foo<span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">This will create the following error message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:8:24: 8:25 error: use of partially moved value: `foo.b` &lt;anon&gt;:8 let Foo { a: a, b: b } = *foo; ^ &lt;anon&gt;:8:18: 8:19 note: `foo.a` moved here because it has type `collections::vec::Vec&lt;u8&gt;`, which is moved by default (use `ref` to override) &lt;anon&gt;:8 let Foo { a: a, b: b } = *foo;"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:8:24: 8:25 error: use of partially moved value: `foo.b` &lt;anon&gt;:8 let Foo { a: a, b: b } = *foo; ^ &lt;anon&gt;:8:18: 8:19 note: `foo.a` moved here because it has type `collections::vec::Vec&lt;u8&gt;`, which is moved by default (use `ref` to override) &lt;anon&gt;:8 let Foo { a: a, b: b } = *foo; </code></pre></div> <p dir="auto">If <code class="notranslate">Foo</code> is not boxed this will function correctly.</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct Foo { a: Vec&lt;u8&gt;, b: Vec&lt;u8&gt; } fn main() { let foo = Foo{a: Vec::new(), b: Vec::new()}; let Foo { a: a, b: b } = foo; }"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">u8</span><span class="pl-kos">&gt;</span><span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">&lt;</span><span class="pl-smi">u8</span><span class="pl-kos">&gt;</span> <span class="pl-kos">}</span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> foo = <span class="pl-smi">Foo</span><span class="pl-kos">{</span><span class="pl-c1">a</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> <span class="pl-smi">Vec</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-c1">a</span><span class="pl-kos">:</span> a<span class="pl-kos">,</span> <span class="pl-c1">b</span><span class="pl-kos">:</span> b <span class="pl-kos">}</span> = foo<span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div>
1
<p dir="auto">As part of the recent changes the Full Stack certificate I had previously claimed was removed, but the corresponding waypoint was still marked as done, and this waypoint was reused for the new Back End certificate. I have now completed the additional API challenges, but when I click through the waypoint again I don't get the Back End certificate added to my profile (<a href="http://www.freecodecamp.com/george-stepanek" rel="nofollow">http://www.freecodecamp.com/george-stepanek</a>).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/14052934/9697895/8b192168-53ba-11e5-9da0-372e8dbced13.png"><img src="https://cloud.githubusercontent.com/assets/14052934/9697895/8b192168-53ba-11e5-9da0-372e8dbced13.png" alt="image" style="max-width: 100%;"></a><br> Challenge <a href="http://freecodecamp.com/challenges/waypoint-size-your-images" rel="nofollow">http://freecodecamp.com/challenges/waypoint-size-your-images</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
0
<p dir="auto">With RESTART_ON_UPGRADE disabled (default for at least 1.5.2), the init script of ES 1.7.x will be unable to restart ES after a Debian package upgrade from 1.5.x or earlier.</p> <p dir="auto">This is because the pid file path changed in 1.6.0 (IIRC), so when a user invokes e.g. <code class="notranslate">/etc/init.d/elasticsearch restart</code> after the package has been upgraded no pid file is found and ES is deemed to not be running. The subsequent start will then fail since it can't bind to any ports as they're still busy by the running ES process.</p> <p dir="auto">This broke my automated upgrade from 1.5.2 to 1.7.1, requiring a manual shutdown of ES on affected machines and/or a package rollback. Could we try a little harder to find the pid file by e.g. introducing a fallback pid file in the 1.7.x series? Perhaps migrating the old pid file with something as simple as</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="LEGACY_PID_FILE=&quot;/var/run/elasticsearch.pid&quot; if [ -f &quot;$LEGACY_PID_FILE&quot; -a &quot;$LEGACY_PID_FILE&quot; != &quot;$PID_FILE&quot; ] ; then mv &quot;$LEGACY_PID_FILE&quot; &quot;$PID_FILE&quot; || exit 1 fi"><pre class="notranslate"><code class="notranslate">LEGACY_PID_FILE="/var/run/elasticsearch.pid" if [ -f "$LEGACY_PID_FILE" -a "$LEGACY_PID_FILE" != "$PID_FILE" ] ; then mv "$LEGACY_PID_FILE" "$PID_FILE" || exit 1 fi </code></pre></div> <p dir="auto">right after the PID_DIR creation in /etc/init.d/elasticsearch would do?</p>
<p dir="auto">Using repository install on Ubuntu 14.04 LTS</p> <p dir="auto">Sequence to reproduce.</p> <ul dir="auto"> <li>Install 1.5.2</li> <li>Upgrade to 1.6.0</li> <li>Run <code class="notranslate">service elasticsearch stop</code></li> </ul> <p dir="auto">init.d script returns "[ OK ]" (indicates that process has been stopped), but process list shows process is still running. If you manually kill the process, the init.d script then successfully start/stops</p>
1
<p dir="auto">hey,</p> <p dir="auto">when trying to download a customized version there is an error while creating css/less files.<br> i tried download the customized version with default settings.</p> <p dir="auto">thanks.</p> <p dir="auto">error file:</p> <p dir="auto">A less error occured trying to build your bundle. You've likely entered an invalid input into the less variable field. Check your syntax and try again!</p> <p dir="auto">thanks!</p> <p dir="auto">{"type":"Parse","message":"Syntax Error on line 792","index":25106,"filename":"bootstrap.css","line":792,"column":11,"extract":[" *margin: -5px 0 5px;"," ove rflow: hidden;"," background-color: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/top/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/top">@top</a>;"]}</p>
<p dir="auto">I tested this on the <a href="http://getbootstrap.com/javascript/#modals" rel="nofollow">docs page</a>.</p> <p dir="auto">If you open a modal, click the close button, then open it again, you (probably) will not be able to close it with the close button a second time. I was able to close it by clicking elsewhere on the screen.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ed48ae1e52585a219b81d9e5f761bb41bfd48f504f4e587d41517be36069389c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3739363633392f3936343435332f39346235383463322d303531362d313165332d383334342d3566633035353265396636652e676966"><img src="https://camo.githubusercontent.com/ed48ae1e52585a219b81d9e5f761bb41bfd48f504f4e587d41517be36069389c/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3739363633392f3936343435332f39346235383463322d303531362d313165332d383334342d3566633035353265396636652e676966" alt="modal mov" data-animated-image="" data-canonical-src="https://f.cloud.github.com/assets/796639/964453/94b584c2-0516-11e3-8344-5fc0552e9f6e.gif" style="max-width: 100%;"></a></p>
0
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <p dir="auto">No.<br> <strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <p dir="auto">"bazel"</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p> <p dir="auto">Bug report.</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <p dir="auto">master.</p> <p dir="auto"><strong>What happened</strong>:</p> <p dir="auto">golang.org/x/net/context clashed with a dependency in my project because it been vendored as source into the tree.</p> <p dir="auto"><strong>What you expected to happen</strong>:</p> <p dir="auto">I expected Kubernetes to use go_rules features for vendoring in WORKSPACE, like so</p> <p dir="auto">new_go_repository(<br> name = "org_golang_x_net",<br> importpath="golang.org/x/net",<br> commit="f4b625ec9b21d620bb5ce57f2dfc3e08ca97fce6"<br> )</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto">Build a small project that imports Kubernetes as an external dependency like this:</p> <p dir="auto">git_repository(<br> name = "io_k8s_kubernetes",<br> remote = "<a href="https://github.com/kubernetes/kubernetes">https://github.com/kubernetes/kubernetes</a>",<br> commit = "...",<br> )</p> <p dir="auto">This allows use of the Kubernetes BUILD rules in the remote project. Then, import golang.org/x/net as above and try to use it in a go_binary. The link step will fail.</p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <p dir="auto">I understand there may be concerns I'm not aware of here. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mikedanese/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mikedanese">@mikedanese</a></p>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): no</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br> I searched in the issues and asked for help multiple times on Slack.</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): FEATURE REQUEST</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): 1.5 beta</p> <p dir="auto">It is currently not possible to specify the desired FSType when using dynamically provisioned volumes. As I understand it, only a PV resource can specify the FSType. But as we don't create PVs by ourself when using dynamic provisioning, we have no chance to specify it.</p> <p dir="auto">I tried to understand the source when it comes to dynamic provisioning. As I understand it, the cloud specific VolumeSource (e.g. AzureDiskVolumeSource or AWSElasticBlockStoreVolumeSource) hold the desired FSType. For AzureDiskVolumeSource, I could not find any place where FSType is actually set. For AWSElasticBlockStoreVolumeSource, it is set to ext4 on creation and then never touched again.</p> <p dir="auto">I would suggest that FSType should be added to either StorageClass or PersistentVolumeClaim. I'm not sure however which one would best fit, or if it fits at all.</p>
0
<p dir="auto">As of PHP bug <a href="https://bugs.php.net/bug.php?id=39992" rel="nofollow">https://bugs.php.net/bug.php?id=39992</a>, proc_terminate, used in Process.php @ line 555 does not terminate children process.</p> <p dir="auto">I propose either use a fix described in <a href="http://php.net/manual/en/function.proc-terminate.php" rel="nofollow">http://php.net/manual/en/function.proc-terminate.php</a> , or grouping pids as "mast at imast dot ru" described in the php.net bug itself.</p>
<p dir="auto">Since PHP internally executes all commands using <code class="notranslate">sh -c "original cmd"</code> a call to <code class="notranslate">-&gt;stop()</code> does not actually stop our process, but instead stops <code class="notranslate">sh -c</code> while the real process can still continue running.</p> <p dir="auto">I'm not sure what the best fix is here, we could add an <code class="notranslate">exec</code> call in front of the command to remove the <code class="notranslate">sh -c</code> wrapper and directly control our process.</p> <p dir="auto">Another improvement in the stop() method would be to send a final <code class="notranslate">SIGKILL</code> signal if the process does not terminate after sending <code class="notranslate">SIGTERM</code>. But that would only make sense if we actually send this signal to the real process, not to the wrapper.</p>
1
<p dir="auto">JSON standard (<a href="http://json.org/" rel="nofollow">http://json.org/</a>) say, that any entity can be object or array.<br> When I try:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="jsonify(['a','b','c', 'd', 'e', 'f'])"><pre class="notranslate"><code class="notranslate">jsonify(['a','b','c', 'd', 'e', 'f']) </code></pre></div> <p dir="auto">I got an error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ValueError: dictionary update sequence element #0 has length 8; 2 is required"><pre class="notranslate"><code class="notranslate">ValueError: dictionary update sequence element #0 has length 8; 2 is required </code></pre></div> <p dir="auto">I think it is not a correct answer from flask. It should returns a JSON-object with array.</p>
<p dir="auto">I was suprised to find that jsonify(['hello', 'world']) will raise a TypeError even though</p> <blockquote> <p dir="auto">[<br> "hello",<br> "world"<br> ]</p> </blockquote> <p dir="auto">is valid json.</p> <p dir="auto">I think there should be a check to see if the first argument is a list instance and just do a json dump of the first argument if it is or something like that.</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.<br> Previously reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="268732075" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/8855" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/8855/hovercard" href="https://github.com/mui/material-ui/issues/8855">#8855</a>. Re-opening with reproducible example.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Selecting MenuItem in Select component connected to redux-form sets redux-form field value to MenuItem value.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Redux-form field value is briefly set to MenuItem value, but then is re-set to <code class="notranslate">0</code>. I suspect the root cause is related to Select component's onBlur propagating an <code class="notranslate">event.value.taget</code> of value <code class="notranslate">0</code> to the redux-form reducer. Overriding onBlur in Select component results in expected behavior. The current behavior appears to have been introduced in 1.0.0-beta.18.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Example of expected behavior in [email protected]: <a href="https://codesandbox.io/s/3vqn815voq" rel="nofollow">https://codesandbox.io/s/3vqn815voq</a></li> <li>Example of observed behavior in [email protected]: <a href="https://codesandbox.io/s/lrk7k607p7" rel="nofollow">https://codesandbox.io/s/lrk7k607p7</a></li> <li>Example of observed behavior in [email protected]: <a href="https://codesandbox.io/s/qy6v4jpq6" rel="nofollow">https://codesandbox.io/s/qy6v4jpq6</a></li> <li>Example of expected behavior when overriding Select component's onBlur in [email protected] (see SimpleSelect.js and console): <a href="https://codesandbox.io/s/nrlnnnm3j4" rel="nofollow">https://codesandbox.io/s/nrlnnnm3j4</a></li> </ol> <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.19</td> </tr> <tr> <td>React</td> <td>16.0.0</td> </tr> <tr> <td>browser</td> <td>Chrome 62.0.3202.75</td> </tr> <tr> <td>redux-form</td> <td>7.1.2</td> </tr> </tbody> </table>
<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"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11488886/35180880-73bb38fc-fdeb-11e7-89a3-9afb182c2315.png"><img src="https://user-images.githubusercontent.com/11488886/35180880-73bb38fc-fdeb-11e7-89a3-9afb182c2315.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">Current Behavior</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/11488886/35180941-3067cab0-fdec-11e7-8393-3ce77da5d52a.png"><img src="https://user-images.githubusercontent.com/11488886/35180941-3067cab0-fdec-11e7-8393-3ce77da5d52a.png" alt="image" style="max-width: 100%;"></a></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">This problem only occur when I use <code class="notranslate">next()</code> function, so created a <a href="https://goo.gl/KHSUF3" rel="nofollow">repo</a> for this</p> <ol dir="auto"> <li>Clone the <a href="https://goo.gl/KHSUF3" rel="nofollow">repo</a> and install npm dependencies.</li> <li>Run <code class="notranslate">npm run dev</code> then open <code class="notranslate">localhost:3000</code>, an AppBar appears as expected.</li> <li>Run <code class="notranslate">node server.js</code> then open <code class="notranslate">localhost:5000</code>, no AppBar appears.</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I'm trying to <code class="notranslate">next()</code> function to serve the site instead of running <code class="notranslate">next start</code>. File <code class="notranslate">server.js</code> contains the code.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.29</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>Next.js</td> <td>4.2.3</td> </tr> </tbody> </table>
0
<p dir="auto"><strong>System information</strong></p> <ul dir="auto"> <li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04)</li> <li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: all</li> <li>TensorFlow installed from (source or binary):source</li> <li>TensorFlow version:1.10</li> <li>Python version:.3.6</li> <li>Installed using virtualenv? pip? conda?:conda</li> <li>Bazel version (if compiling from source):1.15</li> <li>GCC/Compiler version (if compiling from source):5.4</li> <li>CUDA/cuDNN version:8.0</li> <li>GPU model and memory:16GB</li> </ul> <p dir="auto">I build the libtensorflowLite.so following the <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="327655172" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/19642" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/19642/hovercard?comment_id=422697028&amp;comment_type=issue_comment" href="https://github.com/tensorflow/tensorflow/issues/19642#issuecomment-422697028">#19642 (comment)</a>, and i can use it in the android project . But the .so of the libtensorflowLite.so is about 3.7M. From the document ,it should be hundreds of KB.<br> Here is my build commit:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bazel build -c opt //tensorflow/contrib/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=arm64-v8a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt=&quot;-std=c++11&quot; --verbose_failures "><pre class="notranslate"><code class="notranslate">bazel build -c opt //tensorflow/contrib/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=arm64-v8a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt="-std=c++11" --verbose_failures </code></pre></div> <p dir="auto">So, could someone helps me, how can I reduce the size of tflite library?</p>
<p dir="auto">Hi,<br> I'm testing the tf.contrib.learn example in the<br> <a href="https://www.tensorflow.org/get_started/tflearn" rel="nofollow">https://www.tensorflow.org/get_started/tflearn</a><br> But when I executing the statement:<br> classifier.fit(input_fn=get_train_inputs, steps=2000)<br> I get the following error logs:</p> <p dir="auto">WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.<br> Instructions for updating:<br> Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.<br> INFO:tensorflow:Create CheckpointSaverHook.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.<br> W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.<br> I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:910] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero<br> I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:<br> name: GeForce GTX 960M<br> major: 5 minor: 0 memoryClockRate (GHz) 1.176<br> pciBusID 0000:01:00.0<br> Total memory: 3.95GiB<br> Free memory: 3.24GiB<br> I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0<br> I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0: Y<br> I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -&gt; (device: 0, name: GeForce GTX 960M, pci bus id: 0000:01:00.0)<br> E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 3.95G (4240965632 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY<br> E tensorflow/stream_executor/cuda/cuda_driver.cc:1002] failed to allocate 3.55G (3816868864 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY<br> E tensorflow/stream_executor/cuda/cuda_blas.cc:372] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED<br> W tensorflow/stream_executor/stream.cc:1390] attempting to perform BLAS operation using StreamExecutor without BLAS support<br> Traceback (most recent call last):<br> File "", line 2, in <br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 280, in new_func<br> return func(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 426, in fit<br> loss = self._train_model(input_fn=input_fn, hooks=hooks)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 984, in _train_model<br> _, loss = mon_sess.run([model_fn_ops.train_op, model_fn_ops.loss])<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 462, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 786, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 744, in run<br> return self._sess.run(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 891, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 744, in run<br> return self._sess.run(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 767, in run<br> run_metadata_ptr)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 965, in _run<br> feed_dict_string, options, run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1015, in _do_run<br> target_list, options, run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1035, in _do_call<br> raise type(e)(node_def, op, message)<br> tensorflow.python.framework.errors_impl.InternalError: Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]</p> <p dir="auto">Caused by op u'dnn/hiddenlayer_0/MatMul', defined at:<br> File "", line 2, in <br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 280, in new_func<br> return func(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 426, in fit<br> loss = self._train_model(input_fn=input_fn, hooks=hooks)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 934, in _train_model<br> model_fn_ops = self._call_legacy_get_train_ops(features, labels)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1003, in _call_legacy_get_train_ops<br> train_ops = self._get_train_ops(features, labels)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1162, in _get_train_ops<br> return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1133, in _call_model_fn<br> model_fn_results = self._model_fn(features, labels, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py", line 143, in _dnn_model_fn<br> scope=scope)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 177, in func_with_args<br> return func(*args, **current_args)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1409, in fully_connected<br> outputs = layer.apply(inputs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 303, in apply<br> return self.<strong>call</strong>(inputs, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 273, in <strong>call</strong><br> outputs = self.call(inputs, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/core.py", line 145, in call<br> outputs = standard_ops.matmul(inputs, self.kernel)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 1855, in matmul<br> a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 1454, in _mat_mul<br> transpose_b=transpose_b, name=name)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op<br> op_def=op_def)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2395, in create_op<br> original_op=self._default_original_op, op_def=op_def)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1264, in <strong>init</strong><br> self._traceback = _extract_stack()</p> <p dir="auto">InternalError (see above for traceback): Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]</p> <blockquote> <blockquote> <blockquote> <h1 dir="auto">Define the test inputs</h1> </blockquote> </blockquote> </blockquote> <p dir="auto">... def get_test_inputs():<br> ... x = tf.constant(test_set.data)<br> ... y = tf.constant(test_set.target)<br> ... return x, y<br> ...</p> <blockquote> <blockquote> <blockquote> <p dir="auto">classifier.fit(input_fn=get_train_inputs, steps=2000)<br> WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.<br> Instructions for updating:<br> Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.<br> INFO:tensorflow:Create CheckpointSaverHook.<br> I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -&gt; (device: 0, name: GeForce GTX 960M, pci bus id: 0000:01:00.0)<br> INFO:tensorflow:Saving checkpoints for 1 into /tmp/iris_model/model.ckpt.<br> INFO:tensorflow:loss = 1.21915, step = 1<br> E tensorflow/stream_executor/cuda/cuda_blas.cc:472] failed to run cuBLAS routine cublasSgemm_v2: CUBLAS_STATUS_EXECUTION_FAILED<br> W tensorflow/core/framework/op_kernel.cc:993] Internal: Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]<br> W tensorflow/core/framework/op_kernel.cc:993] Internal: Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]<br> Traceback (most recent call last):<br> File "", line 1, in <br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 280, in new_func<br> return func(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 426, in fit<br> loss = self._train_model(input_fn=input_fn, hooks=hooks)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 984, in _train_model<br> _, loss = mon_sess.run([model_fn_ops.train_op, model_fn_ops.loss])<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 462, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 786, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 744, in run<br> return self._sess.run(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 891, in run<br> run_metadata=run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/monitored_session.py", line 744, in run<br> return self._sess.run(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 767, in run<br> run_metadata_ptr)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 965, in _run<br> feed_dict_string, options, run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1015, in _do_run<br> target_list, options, run_metadata)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1035, in _do_call<br> raise type(e)(node_def, op, message)<br> tensorflow.python.framework.errors_impl.InternalError: Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]<br> [[Node: train_op/dnn/train/update/_198 = _Recv<a href="">client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_175_train_op/dnn/train/update", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"</a>]]</p> </blockquote> </blockquote> </blockquote> <p dir="auto">Caused by op u'dnn/hiddenlayer_0/MatMul', defined at:<br> File "", line 1, in <br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 280, in new_func<br> return func(*args, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 426, in fit<br> loss = self._train_model(input_fn=input_fn, hooks=hooks)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 934, in _train_model<br> model_fn_ops = self._call_legacy_get_train_ops(features, labels)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1003, in _call_legacy_get_train_ops<br> train_ops = self._get_train_ops(features, labels)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1162, in _get_train_ops<br> return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1133, in _call_model_fn<br> model_fn_results = self._model_fn(features, labels, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py", line 143, in _dnn_model_fn<br> scope=scope)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 177, in func_with_args<br> return func(*args, **current_args)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1409, in fully_connected<br> outputs = layer.apply(inputs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 303, in apply<br> return self.<strong>call</strong>(inputs, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/base.py", line 273, in <strong>call</strong><br> outputs = self.call(inputs, **kwargs)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/layers/core.py", line 145, in call<br> outputs = standard_ops.matmul(inputs, self.kernel)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/math_ops.py", line 1855, in matmul<br> a, b, transpose_a=transpose_a, transpose_b=transpose_b, name=name)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_math_ops.py", line 1454, in _mat_mul<br> transpose_b=transpose_b, name=name)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 763, in apply_op<br> op_def=op_def)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2395, in create_op<br> original_op=self._default_original_op, op_def=op_def)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1264, in <strong>init</strong><br> self._traceback = _extract_stack()</p> <p dir="auto">InternalError (see above for traceback): Blas SGEMM launch failed : a.shape=(120, 4), b.shape=(4, 10), m=120, n=10, k=4<br> [[Node: dnn/hiddenlayer_0/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/gpu:0"](dnn/input_from_feature_columns/input_from_feature_columns/concat, dnn/hiddenlayer_0/weights)]]<br> [[Node: train_op/dnn/train/update/_198 = _Recv<a href="">client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_175_train_op/dnn/train/update", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"</a>]]</p> <p dir="auto">It seems some APIs are obsolete, can you update some new tf.contrib.learn examples in the website and make it workable with the latest version tensorflow?<br> And where can I get the new examples for tf.contrib.learn?</p> <p dir="auto">Thanks!</p>
0
<h2 dir="auto">Challenge at <a href="http://freecodecamp.com/challenges/waypoint-declare-javascript-variables" rel="nofollow">http://freecodecamp.com/challenges/waypoint-declare-javascript-variables</a> has an issue. If be more accurate all Basic JS exercises have that issue.</h2> <p dir="auto">Just watch screenshot: <a href="http://i.imgur.com/IZVEsPL.jpg" rel="nofollow">http://i.imgur.com/IZVEsPL.jpg</a>;<br> Browser: FF42</p>
<h4 dir="auto">Issue Description</h4> <p dir="auto">Upon login, the user is brought back to the next challenge. If the challenge happens to be a project, the page layout is broken and clicking on Map has no effect.</p> <p dir="auto">Steps to reproduce: log out of the beta site, close browser window, and log in again using email and password.</p> <h4 dir="auto">Browser Information</h4> <ul dir="auto"> <li>Browser Name, Version: Google Chrome v55.0.2883.95</li> <li>Operating System: macOS 10.12.2</li> <li>Mobile, Desktop, or Tablet: Desktop</li> </ul> <h4 dir="auto">Screenshot</h4> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/241553/22171677/8d69470c-dfac-11e6-894d-c8856df0aded.png"><img src="https://cloud.githubusercontent.com/assets/241553/22171677/8d69470c-dfac-11e6-894d-c8856df0aded.png" alt="screen shot 2017-01-21 at 07 24 46" style="max-width: 100%;"></a></p>
0
<p dir="auto">I'm not sure if this is an issue or whether there is an expected performance problem with forwarding functions with varargs (or something else). As suggested in a <a href="https://discourse.julialang.org/t/varargs-performance/13578" rel="nofollow">discourse thread</a> I'm submitting it here as an issue.</p> <p dir="auto">The following code run as a script with <code class="notranslate">-O3</code></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="using InteractiveUtils function foo(f::F, m::Int64, args...) where F&lt;:Function for i in 1:m z = f(args...) end return true end function g(x::Float64, y::Float64) return rand() &lt; 0.5, 1 end function bar(f::F, m::Int64, x::Float64, y::Float64) where F&lt;:Function for i in 1:m z = f(x, y) end return true end versioninfo() @btime foo(g, 1000, 1.0, 2.0) @btime bar(g, 1000, 1.0, 2.0)"><pre lang="using" class="notranslate"><code class="notranslate">using InteractiveUtils function foo(f::F, m::Int64, args...) where F&lt;:Function for i in 1:m z = f(args...) end return true end function g(x::Float64, y::Float64) return rand() &lt; 0.5, 1 end function bar(f::F, m::Int64, x::Float64, y::Float64) where F&lt;:Function for i in 1:m z = f(x, y) end return true end versioninfo() @btime foo(g, 1000, 1.0, 2.0) @btime bar(g, 1000, 1.0, 2.0) </code></pre></div> <p dir="auto">gives as output</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Julia Version 1.0.0 Commit 5d4eaca0c9 (2018-08-08 20:58 UTC) Platform Info: OS: macOS (x86_64-apple-darwin14.5.0) CPU: Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, haswell) Environment: JULIA_NUM_THREADS = 4 38.486 μs (1000 allocations: 31.25 KiB) 1.260 μs (0 allocations: 0 bytes"><pre class="notranslate"><code class="notranslate">Julia Version 1.0.0 Commit 5d4eaca0c9 (2018-08-08 20:58 UTC) Platform Info: OS: macOS (x86_64-apple-darwin14.5.0) CPU: Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, haswell) Environment: JULIA_NUM_THREADS = 4 38.486 μs (1000 allocations: 31.25 KiB) 1.260 μs (0 allocations: 0 bytes </code></pre></div> <p dir="auto">This suggests there could be an issue with forwarding arguments with varargs.</p> <p dir="auto">Changing many things in isolation eliminates the allocations, e.g. if</p> <ol dir="auto"> <li><code class="notranslate">g</code> returns <code class="notranslate">rand() &lt; 0.5</code></li> <li><code class="notranslate">g</code> returns <code class="notranslate">x &lt; y, 1</code></li> </ol>
<p dir="auto">As This worked fine when I downloaded and built Julia 1.0 from source. However, when I download the julia-1.2.0-full.tar.gz file from <a href="https://github.com/JuliaLang/julia/releases/download/v1.2.0/julia-1.2.0-full.tar.gz">https://github.com/JuliaLang/julia/releases/download/v1.2.0/julia-1.2.0-full.tar.gz</a>, I can't get it to build on an isolated network. Currently the steps I follow are:</p> <p dir="auto">% tar -xvf julia-1.2.0-full.tar.gz<br> % make<br> Warning: git information unavailable; versioning information limited<br> Warning: git information unavailable; versioning information limited<br> Warning: git information unavailable; versioning information limited<br> % Total % Received % Xferd Average Speed Time Time Time Current<br> Dload Upload Total Spent Left Speed<br> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to cache.julialang.org:443; Connection refused<br> % Total % Received % Xferd Average Speed Time Time Time Current<br> Dload Upload Total Spent Left Speed<br> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to github.com:443; Connection refused<br> make[1]: *** [/home/user1/julia-1.2.0/deps/srccache/SuiteSparse.v5.4.0-2.x86_64-linux-gnu-gcc4.tar.gz] Error 7<br> make: *** [julia-deps] Error 2</p> <p dir="auto">OS: RHEL 7.6 fully patched.</p> <p dir="auto">Any help would be greatly appreciated.</p>
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>: Yes.</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Windows 10 and macOS High Sierra 10.13.4</li> <li><strong>TensorFlow installed from (source or binary)</strong>: <code class="notranslate">pip3 install --upgrade tensorflow</code></li> <li><strong>TensorFlow version (use command below)</strong>: 1.8.0</li> <li><strong>Python version</strong>: 3.6.5</li> <li><strong>Bazel version</strong>: N/A</li> <li><strong>CUDA/cuDNN version</strong>: N/A</li> <li><strong>GPU model and memory</strong>: N/A</li> <li><strong>Exact command to reproduce</strong>: In source code</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">gfile.Glob() works recursively in Windows, but not in Unix-based systems.<br> Ideally, they should work the same way.</p> <h3 dir="auto">Source code</h3> <p dir="auto">Stand in a root folder, create subfolder and add a image.jpg in the subfolder.<br> Then start python and run:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from tensorflow.python.platform import gfile print(gfile.Glob(&quot;./*.jpg&quot;))"><pre class="notranslate"><code class="notranslate">from tensorflow.python.platform import gfile print(gfile.Glob("./*.jpg")) </code></pre></div> <p dir="auto">In Windows, you will get <code class="notranslate">[".\\subfolder\\image.jpg"]</code>.<br> In Unix, you will get <code class="notranslate">[]</code>.</p>
<h3 dir="auto">System information</h3> <p dir="auto">Environment:</p> <ul dir="auto"> <li> <p dir="auto"><strong>Python 3.6.2</strong></p> </li> <li> <p dir="auto"><strong>Tensorflow 'v1.8.0-0-g93bc2e2072' 1.8.0</strong></p> </li> <li> <p dir="auto"><strong>OS : Windows 7</strong></p> </li> <li> <p dir="auto"><strong>Exact command to reproduce</strong>:</p> </li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &gt; ls -R .: example/ ./example: subdir/ ./example/subdir: file1 file2 &gt; python Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import tensorflow as tf &gt;&gt;&gt; tf.gfile.Glob(&quot;example/*&quot;) ['example\\subdir', 'example\\subdir\\file1', 'example\\subdir\\file2'] "><pre class="notranslate"><code class="notranslate"> &gt; ls -R .: example/ ./example: subdir/ ./example/subdir: file1 file2 &gt; python Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import tensorflow as tf &gt;&gt;&gt; tf.gfile.Glob("example/*") ['example\\subdir', 'example\\subdir\\file1', 'example\\subdir\\file2'] </code></pre></div> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Behaviour of <em>tf.gfile.Glob</em> is different on Windows and Linux-based (POSIX) systems.<br> On Windows, the result includes all files and sub-directories of the matching pattern (=&gt; recursive)<br> On Linux, the result includes only files and directories matched by the pattern (=&gt; not recursive)</p> <p dir="auto">As an example, given the directory structure above, I have the following result:</p> <ul dir="auto"> <li>Windows</li> </ul> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; tf.gfile.Glob(&quot;example/*&quot;) ['example\\subdir', 'example\\subdir\\file1', 'example\\subdir\\file2']"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">tf</span>.<span class="pl-s1">gfile</span>.<span class="pl-v">Glob</span>(<span class="pl-s">"example/*"</span>) [<span class="pl-s">'example<span class="pl-cce">\\</span>subdir'</span>, <span class="pl-s">'example<span class="pl-cce">\\</span>subdir<span class="pl-cce">\\</span>file1'</span>, <span class="pl-s">'example<span class="pl-cce">\\</span>subdir<span class="pl-cce">\\</span>file2'</span>]</pre></div> <ul dir="auto"> <li>Linux-based systems</li> </ul> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; tf.gfile.Glob(&quot;example/*&quot;) ['example/subdir']"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">tf</span>.<span class="pl-s1">gfile</span>.<span class="pl-v">Glob</span>(<span class="pl-s">"example/*"</span>) [<span class="pl-s">'example/subdir'</span>]</pre></div> <p dir="auto">The result returned on Windows platform is clearly wrong.</p> <p dir="auto">This has an impact on my application because I do something like <code class="notranslate">[my_list]=tf.gfile.Glob(pattern)</code> and it doesn't work on Windows whereas it works on Linux.<br> Error on Windows is <code class="notranslate">ValueError: too many values to unpack </code></p> <h3 dir="auto">Source code</h3> <p dir="auto">I tracked down the issue in TF code and it is related to how <em>GetMatchingPaths</em> works. See difference between <a href="https://github.com/tensorflow/tensorflow/blob/e7f158858479400f17a1b6351e9827e3aa83e7ff/tensorflow/core/platform/windows/windows_file_system.cc">Windows implementation</a> and <a href="https://github.com/tensorflow/tensorflow/blob/e7f158858479400f17a1b6351e9827e3aa83e7ff/tensorflow/core/platform/posix/posix_file_system.cc">POSIX implementation</a>.<br> Both of them refer to <a href="https://github.com/tensorflow/tensorflow/blob/6ba9573a702ea9e1290517cce4e5f73a14552ad9/tensorflow/core/platform/file_system_helper.cc">internal::GetMatchingPaths</a> which seems to be the root cause of the issue.</p>
1
<p dir="auto">Allow to map a shortcut to nothing. So I could remove some of default Windows shortcuts as for example: win+space.</p>
<h1 dir="auto">Summary of the new feature/enhancement</h1> <p dir="auto">I want to be able to start a web search from the launcher.<br> Ideally, I'd type <code class="notranslate">bing power toys</code> and it would navigate to <code class="notranslate">https://www.bing.com/search?q=power+toys</code> in my default browser.<br> <code class="notranslate">google power toys</code> would go to the equivalent.</p> <p dir="auto">The ability to specify the keyword/search engine to use and the domain it goes to would also be necessary. Not only would this enable supporting other search engines, but it would also allow for people to adjust for different TLD versions of search engines.</p> <p dir="auto"><em>This would be similar to functionality that used to be available in Enso launcher.</em></p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">This would presumably require some settings for determining which words are identified as initiating the search and the URL to submit the query to.<br> This could also be the base for similar functionality where a keyword could launch an app and pass other values as command-line arguments. Without additional arguments, this could also serve as a way to create aliases for apps so they could be launched with a small number of keystrokes.</p> <p dir="auto"><strong>crutkas:</strong> possible solution to this issue in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="851600669" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/10619" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/10619/hovercard" href="https://github.com/microsoft/PowerToys/issues/10619">#10619</a>. It defers to default browser + user's search engine. Lets PT Run be generic</p>
0
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options 👆</li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#dummy list for posts my_posts=[{&quot;title&quot;:&quot;Post 1&quot;,&quot;content&quot;:&quot;Content of Post 1&quot;,&quot;id&quot;:1 }, {&quot;title&quot;:&quot;Post 2&quot;,&quot;content&quot;:&quot;Content of Post 2&quot;,&quot;id&quot;:2 }, {&quot;title&quot;:&quot;Post 3&quot;,&quot;content&quot;:&quot;Content of Post 3&quot;,&quot;id&quot;:3 } ] #function to get the index of the post which I am looking to delete by matching the ID def find_index_post(id): for i, p in enumerate(my_posts): if p['id']==id: return i #delete request created using FastApi @app.delete(&quot;/posts/{id}&quot;,status_code=status.HTTP_204_NO_CONTENT) def delete_post(id:int): index=find_index_post(id) if index==None: raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail=f&quot;Post with Id {id} does not exist!&quot;) my_posts.pop(index) return Response(status_code=status.HTTP_404_NOT_FOUND)"><pre class="notranslate"><span class="pl-c">#dummy list for posts</span> <span class="pl-s1">my_posts</span><span class="pl-c1">=</span>[{<span class="pl-s">"title"</span>:<span class="pl-s">"Post 1"</span>,<span class="pl-s">"content"</span>:<span class="pl-s">"Content of Post 1"</span>,<span class="pl-s">"id"</span>:<span class="pl-c1">1</span> }, {<span class="pl-s">"title"</span>:<span class="pl-s">"Post 2"</span>,<span class="pl-s">"content"</span>:<span class="pl-s">"Content of Post 2"</span>,<span class="pl-s">"id"</span>:<span class="pl-c1">2</span> }, {<span class="pl-s">"title"</span>:<span class="pl-s">"Post 3"</span>,<span class="pl-s">"content"</span>:<span class="pl-s">"Content of Post 3"</span>,<span class="pl-s">"id"</span>:<span class="pl-c1">3</span> } ] <span class="pl-c">#function to get the index of the post which I am looking to delete by matching the ID</span> <span class="pl-k">def</span> <span class="pl-en">find_index_post</span>(<span class="pl-s1">id</span>): <span class="pl-k">for</span> <span class="pl-s1">i</span>, <span class="pl-s1">p</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>(<span class="pl-s1">my_posts</span>): <span class="pl-k">if</span> <span class="pl-s1">p</span>[<span class="pl-s">'id'</span>]<span class="pl-c1">==</span><span class="pl-s1">id</span>: <span class="pl-k">return</span> <span class="pl-s1">i</span> <span class="pl-c">#delete request created using FastApi</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">delete</span>(<span class="pl-s">"/posts/{id}"</span>,<span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-s1">status</span>.<span class="pl-v">HTTP_204_NO_CONTENT</span>)</span> <span class="pl-k">def</span> <span class="pl-en">delete_post</span>(<span class="pl-s1">id</span>:<span class="pl-s1">int</span>): <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-en">find_index_post</span>(<span class="pl-s1">id</span>) <span class="pl-k">if</span> <span class="pl-s1">index</span><span class="pl-c1">==</span><span class="pl-c1">None</span>: <span class="pl-k">raise</span> <span class="pl-v">HTTPException</span>(<span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-s1">status</span>.<span class="pl-v">HTTP_404_NOT_FOUND</span>, <span class="pl-s1">detail</span><span class="pl-c1">=</span>f"Post with Id <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">id</span><span class="pl-kos">}</span></span> <span class="pl-s1">does</span> <span class="pl-c1">not</span> <span class="pl-s1">exist</span>!<span class="pl-s">"</span>) <span class="pl-s1">my_posts</span>.<span class="pl-en">pop</span>(<span class="pl-s1">index</span>) <span class="pl-k">return</span> <span class="pl-v">Response</span>(<span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-s1">status</span>.<span class="pl-v">HTTP_404_NOT_FOUND</span>)</pre></div> <h3 dir="auto">Description</h3> <p dir="auto">I have started learning FastApi recently and have been following one youtube tutorial for lessons.</p> <p dir="auto">The issue i have been facing with this code is whenever I run delete_post request on Postman I get below error on uvicorn server:<br> "return Response(status_code=status.HTTP_204_NO_CONTENT)<br> TypeError: Response.<strong>init</strong>() got an unexpected keyword argument 'status_code'"<br> However, in the instructors video, this is working fine without any errors.</p> <p dir="auto">I searched and found few issues related to this on here which I tried to follow but couldn't get myself to resolve the error. I tried following few solutions as provided inside below ISSUE ID but to no avail-<br> " Response content longer than Content-Length error for DELETE and NoContent <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1244915501" data-permission-text="Title is private" data-url="https://github.com/tiangolo/fastapi/issues/4939" data-hovercard-type="issue" data-hovercard-url="/tiangolo/fastapi/issues/4939/hovercard" href="https://github.com/tiangolo/fastapi/issues/4939">#4939</a>"</p> <p dir="auto">The two prominent errors I am getting are:</p> <ul dir="auto"> <li> <p dir="auto">"return Response(status_code=status.HTTP_204_NO_CONTENT)<br> TypeError: Response.<strong>init</strong>() got an unexpected keyword argument 'status_code'<br> ***This is the original code which i am following from the youtube lesson</p> </li> <li> <p dir="auto">raise RuntimeError("Response content longer than Content-Length")<br> RuntimeError: Response content longer than Content-Length<br> ***This is the error i am getting when I try to follow the solution provided in Issue id "4939".</p> </li> </ul> <p dir="auto">Kindly assist, Thanks!</p> <h3 dir="auto">Operating System</h3> <p dir="auto">Windows</p> <h3 dir="auto">Operating System Details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">FastAPI Version</h3> <p dir="auto">0.78.0</p> <h3 dir="auto">Python Version</h3> <p dir="auto">Python 3.10.4</p> <h3 dir="auto">Additional Context</h3> <p dir="auto">NA</p>
<h3 dir="auto">First Check</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li> </ul> <h3 dir="auto">Commit to Help</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li> </ul> <h3 dir="auto">Example Code</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from fastapi import FastAPI, status app = FastAPI() @app.delete(&quot;/&quot;, status_code=status.HTTP_204_NO_CONTENT) def read_root(): return None"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>, <span class="pl-s1">status</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">delete</span>(<span class="pl-s">"/"</span>, <span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-s1">status</span>.<span class="pl-v">HTTP_204_NO_CONTENT</span>)</span> <span class="pl-k">def</span> <span class="pl-en">read_root</span>(): <span class="pl-k">return</span> <span class="pl-c1">None</span></pre></div> <h3 dir="auto">Description</h3> <p dir="auto">Upon requesting above code I got expected response but my logs shows that there is an error in uvicorn. The problem exists for DELETE method and NoContent response status code (for HEAD there is no such problem)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: Exception in ASGI application Traceback (most recent call last): File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py&quot;, line 372, in run_asgi result = await app(self.scope, self.receive, self.send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py&quot;, line 75, in __call__ return await self.app(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/applications.py&quot;, line 269, in __call__ await super().__call__(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/applications.py&quot;, line 124, in __call__ await self.middleware_stack(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py&quot;, line 184, in __call__ raise exc File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py&quot;, line 162, in __call__ await self.app(scope, receive, _send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py&quot;, line 93, in __call__ raise exc File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py&quot;, line 82, in __call__ await self.app(scope, receive, sender) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py&quot;, line 21, in __call__ raise e File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py&quot;, line 18, in __call__ await self.app(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py&quot;, line 670, in __call__ await route.handle(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py&quot;, line 266, in handle await self.app(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py&quot;, line 68, in app await response(scope, receive, send) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/responses.py&quot;, line 162, in __call__ await send({&quot;type&quot;: &quot;http.response.body&quot;, &quot;body&quot;: self.body}) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py&quot;, line 79, in sender await send(message) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py&quot;, line 159, in _send await send(message) File &quot;/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py&quot;, line 501, in send raise RuntimeError(&quot;Response content longer than Content-Length&quot;) RuntimeError: Response content longer than Content-Length``` ### Operating System Linux ### Operating System Details _No response_ ### FastAPI Version 0.78.0 ### Python Version 3.10 ### Additional Context _No response_"><pre lang="INFO:" class="notranslate"><code class="notranslate">ERROR: Exception in ASGI application Traceback (most recent call last): File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 372, in run_asgi result = await app(self.scope, self.receive, self.send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__ return await self.app(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/applications.py", line 269, in __call__ await super().__call__(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/applications.py", line 124, in __call__ await self.middleware_stack(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py", line 93, in __call__ raise exc File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__ await self.app(scope, receive, sender) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__ raise e File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__ await self.app(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py", line 670, in __call__ await route.handle(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py", line 266, in handle await self.app(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/routing.py", line 68, in app await response(scope, receive, send) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/responses.py", line 162, in __call__ await send({"type": "http.response.body", "body": self.body}) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/exceptions.py", line 79, in sender await send(message) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in _send await send(message) File "/home/user/PycharmProjects/sample_app/venv/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 501, in send raise RuntimeError("Response content longer than Content-Length") RuntimeError: Response content longer than Content-Length``` ### Operating System Linux ### Operating System Details _No response_ ### FastAPI Version 0.78.0 ### Python Version 3.10 ### Additional Context _No response_ </code></pre></div>
1