text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto">Please see the following error messages regarding the error during the build. The error disappears and the build is successful after manually fixing the BUILD file.</p> <p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li> </ul> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="python build/build.py --enable_cuda"><pre class="notranslate">python build/build.py --enable_cuda</pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(build_jax) /export/share/software/jax&gt; python build/build.py --enable_cuda _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: /workspace/anaconda3/envs/build_jax/bin/bazel Bazel version: 5.0.0 Python binary path: /workspace/anaconda3/envs/build_jax/bin/python Python version: 3.8 NumPy version: 1.20.3 MKL-DNN enabled: yes Target CPU: ppc64le Target CPU features: release CUDA enabled: yes CUDA compute capabilities: 3.5,5.2,6.0,7.0,8.0 NCCL enabled: yes TPU enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... /workspace/anaconda3/envs/build_jax/bin/bazel run --verbose_failures=true --config=mkl_open_source_only --config=cuda :build_wheel -- --output_path=/export/share/software/jax/dist --cpu=ppc64le Starting local Bazel server and connecting to it... INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /export/share/software/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /export/share/software/jax/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. INFO: Reading rc options for 'run' from /export/share/software/jax/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/workspace/anaconda3/envs/build_jax/bin/python --action_env=PYENV_ROOT --python_path=/workspace/anaconda3/envs/build_jax/bin/python --distinct_host_configuration=false INFO: Found applicable config definition build:short_logs in file /export/share/software/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file /export/share/software/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:cuda in file /export/share/software/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true INFO: Found applicable config definition build:cuda in file /export/share/software/jax/.jax_configure.bazelrc: --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,7.0,8.0 INFO: Found applicable config definition build:linux in file /export/share/software/jax/.bazelrc: --config=posix --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter INFO: Found applicable config definition build:posix in file /export/share/software/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/102f5befef27a33dec2cab2600f9b2b4bf3e5036.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found DEBUG: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:118:10: Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default Loading: Loading: 1 packages loaded Analyzing: target //build:build_wheel (2 packages loaded, 0 targets configured) DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = &quot;1596824487 -0400&quot; DEBUG: Repository io_bazel_rules_docker instantiated at: /export/share/software/jax/WORKSPACE:37:14: in &lt;toplevel&gt; /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/org_tensorflow/tensorflow/workspace0.bzl:108:34: in workspace /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_toolchains/repositories/repositories.bzl:35:23: in repositories Repository rule git_repository defined at: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in &lt;toplevel&gt; ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:11:1: indentation error ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:14:2: Trailing comma is allowed only in parenthesized tuples. ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:14:3: syntax error at 'outdent': expected expression ERROR: /export/share/software/jax/build/BUILD.bazel:25:10: every rule of type py_binary implicitly depends upon the target '@bazel_tools//tools/zip:zipper', but this target could not be found because of: no such target '@bazel_tools//tools/zip:zipper': target 'zipper' not declared in package 'tools/zip' defined by /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD ERROR: Analysis of target '//build:build_wheel' failed; build aborted: Analysis failed INFO: Elapsed time: 212.845s INFO: 0 processes. FAILED: Build did NOT complete successfully (52 packages loaded, 212 targets configured) ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully (52 packages loaded, 212 targets configured) b'' Traceback (most recent call last): File &quot;build/build.py&quot;, line 524, in &lt;module&gt; main() File &quot;build/build.py&quot;, line 519, in main shell(command) File &quot;build/build.py&quot;, line 53, in shell output = subprocess.check_output(cmd) File &quot;/workspace/anaconda3/envs/build_jax/lib/python3.8/subprocess.py&quot;, line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File &quot;/workspace/anaconda3/envs/build_jax/lib/python3.8/subprocess.py&quot;, line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/workspace/anaconda3/envs/build_jax/bin/bazel', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', '--config=cuda', ':build_wheel', '--', '--output_path=/export/share/software/jax/dist', '--cpu=ppc64le']' returned non-zero exit status 1."><pre class="notranslate"><code class="notranslate">(build_jax) /export/share/software/jax&gt; python build/build.py --enable_cuda _ _ __ __ | | / \ \ \/ / _ | |/ _ \ \ / | |_| / ___ \/ \ \___/_/ \/_/\_\ Bazel binary path: /workspace/anaconda3/envs/build_jax/bin/bazel Bazel version: 5.0.0 Python binary path: /workspace/anaconda3/envs/build_jax/bin/python Python version: 3.8 NumPy version: 1.20.3 MKL-DNN enabled: yes Target CPU: ppc64le Target CPU features: release CUDA enabled: yes CUDA compute capabilities: 3.5,5.2,6.0,7.0,8.0 NCCL enabled: yes TPU enabled: no ROCm enabled: no Building XLA and installing it in the jaxlib source tree... /workspace/anaconda3/envs/build_jax/bin/bazel run --verbose_failures=true --config=mkl_open_source_only --config=cuda :build_wheel -- --output_path=/export/share/software/jax/dist --cpu=ppc64le Starting local Bazel server and connecting to it... INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /export/share/software/jax/.bazelrc: Inherited 'common' options: --experimental_repo_remote_exec INFO: Reading rc options for 'run' from /export/share/software/jax/.bazelrc: Inherited 'build' options: --apple_platform_type=macos --macos_minimum_os=10.9 --announce_rc --define open_source_build=true --spawn_strategy=standalone --enable_platform_specific_config --define=no_aws_support=true --define=no_gcp_support=true --define=no_hdfs_support=true --define=no_kafka_support=true --define=no_ignite_support=true --define=grpc_no_ares=true -c opt --config=short_logs --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir. INFO: Reading rc options for 'run' from /export/share/software/jax/.jax_configure.bazelrc: Inherited 'build' options: --strategy=Genrule=standalone --repo_env PYTHON_BIN_PATH=/workspace/anaconda3/envs/build_jax/bin/python --action_env=PYENV_ROOT --python_path=/workspace/anaconda3/envs/build_jax/bin/python --distinct_host_configuration=false INFO: Found applicable config definition build:short_logs in file /export/share/software/jax/.bazelrc: --output_filter=DONT_MATCH_ANYTHING INFO: Found applicable config definition build:mkl_open_source_only in file /export/share/software/jax/.bazelrc: --define=tensorflow_mkldnn_contraction_kernel=1 INFO: Found applicable config definition build:cuda in file /export/share/software/jax/.bazelrc: --repo_env TF_NEED_CUDA=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,6.1,7.0 --crosstool_top=@local_config_cuda//crosstool:toolchain --@local_config_cuda//:enable_cuda --define=xla_python_enable_gpu=true INFO: Found applicable config definition build:cuda in file /export/share/software/jax/.jax_configure.bazelrc: --action_env TF_CUDA_COMPUTE_CAPABILITIES=3.5,5.2,6.0,7.0,8.0 INFO: Found applicable config definition build:linux in file /export/share/software/jax/.bazelrc: --config=posix --copt=-Wno-stringop-truncation --copt=-Wno-array-parameter INFO: Found applicable config definition build:posix in file /export/share/software/jax/.bazelrc: --copt=-fvisibility=hidden --copt=-Wno-sign-compare --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/102f5befef27a33dec2cab2600f9b2b4bf3e5036.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found DEBUG: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:118:10: Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default Loading: Loading: 1 packages loaded Analyzing: target //build:build_wheel (2 packages loaded, 0 targets configured) DEBUG: Rule 'io_bazel_rules_docker' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1596824487 -0400" DEBUG: Repository io_bazel_rules_docker instantiated at: /export/share/software/jax/WORKSPACE:37:14: in &lt;toplevel&gt; /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/org_tensorflow/tensorflow/workspace0.bzl:108:34: in workspace /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_toolchains/repositories/repositories.bzl:35:23: in repositories Repository rule git_repository defined at: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in &lt;toplevel&gt; ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:11:1: indentation error ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:14:2: Trailing comma is allowed only in parenthesized tuples. ERROR: /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD:14:3: syntax error at 'outdent': expected expression ERROR: /export/share/software/jax/build/BUILD.bazel:25:10: every rule of type py_binary implicitly depends upon the target '@bazel_tools//tools/zip:zipper', but this target could not be found because of: no such target '@bazel_tools//tools/zip:zipper': target 'zipper' not declared in package 'tools/zip' defined by /workspace/anaconda3/envs/build_jax/share/bazel/66cc389786f6f90c4be41c4758c2d3a1/external/bazel_tools/tools/zip/BUILD ERROR: Analysis of target '//build:build_wheel' failed; build aborted: Analysis failed INFO: Elapsed time: 212.845s INFO: 0 processes. FAILED: Build did NOT complete successfully (52 packages loaded, 212 targets configured) ERROR: Build failed. Not running target FAILED: Build did NOT complete successfully (52 packages loaded, 212 targets configured) b'' Traceback (most recent call last): File "build/build.py", line 524, in &lt;module&gt; main() File "build/build.py", line 519, in main shell(command) File "build/build.py", line 53, in shell output = subprocess.check_output(cmd) File "/workspace/anaconda3/envs/build_jax/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/workspace/anaconda3/envs/build_jax/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/workspace/anaconda3/envs/build_jax/bin/bazel', 'run', '--verbose_failures=true', '--config=mkl_open_source_only', '--config=cuda', ':build_wheel', '--', '--output_path=/export/share/software/jax/dist', '--cpu=ppc64le']' returned non-zero exit status 1. </code></pre></div>
<h3 dir="auto">Description</h3> <p dir="auto">The code below computes an element on the diagonal of a pairwise distance matrix, with a modified <code class="notranslate">sqrt</code> function that has finite gradients at 0. Without JIT, the gradients wrt inputs are 0., as expected. With JIT, the gradients are ~1e12.</p> <p dir="auto">This shows up in TFP-on-JAX's GaussianProcess. As a workaround, we can set the diagonal of the distance matrix to 0 (which zeros out the gradients), but that doesn't account for the case where the input array has duplicate points (so zeros can appear elsewhere in the distance matrix). This is blocking Vizier's use of TFP-on-JAX's GP.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import jax from jax import numpy as jnp import numpy as np x = jnp.array( [-1.152883 , -1.229587 , -0.7161828, 1.6050261, -0.9966271, 1.0175147]) @jax.custom_gradient def sqrt_with_finite_grads(x): &quot;&quot;&quot;Avoid NaN gradients when `x == 0`.&quot;&quot;&quot; def grad(grad_ys): large_float_like_x = np.sqrt(np.finfo(x.dtype).max) # In this repro, x == 0, so safe_grads = large_float_like_x. safe_grads = jnp.where( jnp.equal(x, 0.), large_float_like_x, 0.5 / jnp.sqrt(x)) return grad_ys * safe_grads return jnp.sqrt(x), grad def dist(x): &quot;&quot;&quot;Stripped down from https://github.com/tensorflow/probability/blob/main/tensorflow_probability/python/math/psd_kernels/internal/util.py#L191&quot;&quot;&quot; # These two terms are equal. If we compute them differently (`sum(x*x)`, `dot(x, x)`, `sum(x**2)`) the issue persists. If we compute them the same way, the issue disappears. # (This is how we compute the diagonal of a squared distance matrix, when both inputs are the same.) row_norm_x = 2. * jnp.sum(x**2, axis=-1) middle_term = 2. * jnp.dot(x, x) # Their difference is 0. out = row_norm_x - middle_term d = jnp.clip(out, 0., jnp.inf) # Clipping at a very small value, instead of 0., appears to fix it. (Because `clip` zeros out the gradient when the value is outside the interval?) # d = jnp.clip(out, 1e-30, jnp.inf) return sqrt_with_finite_grads(d) print('No jit grads: ', jax.grad(dist)(x)) # =&gt; [0., 0., ...] print('Jit grads: ', jax.jit(jax.grad(dist))(x)) # =&gt; [-1.9e12, -1.7e12, ...]"><pre class="notranslate"><code class="notranslate">import jax from jax import numpy as jnp import numpy as np x = jnp.array( [-1.152883 , -1.229587 , -0.7161828, 1.6050261, -0.9966271, 1.0175147]) @jax.custom_gradient def sqrt_with_finite_grads(x): """Avoid NaN gradients when `x == 0`.""" def grad(grad_ys): large_float_like_x = np.sqrt(np.finfo(x.dtype).max) # In this repro, x == 0, so safe_grads = large_float_like_x. safe_grads = jnp.where( jnp.equal(x, 0.), large_float_like_x, 0.5 / jnp.sqrt(x)) return grad_ys * safe_grads return jnp.sqrt(x), grad def dist(x): """Stripped down from https://github.com/tensorflow/probability/blob/main/tensorflow_probability/python/math/psd_kernels/internal/util.py#L191""" # These two terms are equal. If we compute them differently (`sum(x*x)`, `dot(x, x)`, `sum(x**2)`) the issue persists. If we compute them the same way, the issue disappears. # (This is how we compute the diagonal of a squared distance matrix, when both inputs are the same.) row_norm_x = 2. * jnp.sum(x**2, axis=-1) middle_term = 2. * jnp.dot(x, x) # Their difference is 0. out = row_norm_x - middle_term d = jnp.clip(out, 0., jnp.inf) # Clipping at a very small value, instead of 0., appears to fix it. (Because `clip` zeros out the gradient when the value is outside the interval?) # d = jnp.clip(out, 1e-30, jnp.inf) return sqrt_with_finite_grads(d) print('No jit grads: ', jax.grad(dist)(x)) # =&gt; [0., 0., ...] print('Jit grads: ', jax.jit(jax.grad(dist))(x)) # =&gt; [-1.9e12, -1.7e12, ...] </code></pre></div> <p dir="auto"><a href="https://colab.sandbox.google.com/drive/1JSYnmaHWReXjYj55qsejDa8I-7lhPuCK#scrollTo=LfXHbn9vd3lb" rel="nofollow">Colab</a> with the same repro.</p> <h3 dir="auto">What jax/jaxlib version are you using?</h3> <p dir="auto">jax v0.3.17</p> <h3 dir="auto">Which accelerator(s) are you using?</h3> <p dir="auto">CPU</p> <h3 dir="auto">Additional System Info</h3> <p dir="auto">py3.7</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.3.0</li> <li>Operating System / Platform =&gt; Arch Linux 64-bit</li> <li>Compiler =&gt; g++ 7.1.1</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I am trying to load a tensorflow model in OpenCV, but it fails on <code class="notranslate">populateNet</code> with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dropout/Shape:Shape(Relu_2) T:0 out_type:[ ] OpenCV Error: Unspecified error (Unknown layer type Shape in op dropout/Shape) in populateNet, file /build/opencv/src/opencv-3.3.0/modules/dnn/src/tensorflow/tf_importer.cpp, line 883 terminate called after throwing an instance of 'cv::Exception' what(): /build/opencv/src/opencv-3.3.0/modules/dnn/src/tensorflow/tf_importer.cpp:883: error: (-2) Unknown layer type Shape in op dropout/Shape in function populateNet"><pre class="notranslate"><code class="notranslate">dropout/Shape:Shape(Relu_2) T:0 out_type:[ ] OpenCV Error: Unspecified error (Unknown layer type Shape in op dropout/Shape) in populateNet, file /build/opencv/src/opencv-3.3.0/modules/dnn/src/tensorflow/tf_importer.cpp, line 883 terminate called after throwing an instance of 'cv::Exception' what(): /build/opencv/src/opencv-3.3.0/modules/dnn/src/tensorflow/tf_importer.cpp:883: error: (-2) Unknown layer type Shape in op dropout/Shape in function populateNet </code></pre></div> <p dir="auto">I think this is related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="237401032" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv_contrib/issues/1241" data-hovercard-type="issue" data-hovercard-url="/opencv/opencv_contrib/issues/1241/hovercard" href="https://github.com/opencv/opencv_contrib/issues/1241">opencv/opencv_contrib#1241</a></p> <p dir="auto">Are there any plans for supporting <code class="notranslate">shape</code> layers?</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 3.3.0</li> <li>Operating System / Platform =&gt; Ubuntu 16</li> <li>Compiler =&gt; <g-emoji class="g-emoji" alias="grey_question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2754.png">❔</g-emoji></li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">I had trained a model for MNIST with tensorflow1.3.0, the model contains a dropout layout.</p> <p dir="auto"><code class="notranslate">keep_prob = tf.placeholder(tf.float32, name='keep_prob');</code><br> <code class="notranslate">h_fc1 = tf.nn.dropout(h_fc1, keep_prob);</code></p> <p dir="auto">Then I use the model like below</p> <p dir="auto"><code class="notranslate">mNet = cv2.dnn.readNetFromTensorflow(model)</code></p> <p dir="auto">The error is:</p> <p dir="auto">OpenCV Error: Unspecified error (Unknown layer type Shape in op dropout/Shape) in populateNet</p> <p dir="auto">=========</p> <p dir="auto">If the model not contain dropout layer, everything is ok.</p> <h5 dir="auto">Steps to reproduce</h5>
1
<p dir="auto">We should make it possible to update some parts of sysimg (e.g. different stdlibs) to let all Julia versions use bug fixes without the need to update Julia.</p> <p dir="auto">One solution may be to use separate files for each stdlib, which Pkg can update them.</p> <p dir="auto">I have seen this issue a lot in the pull requests and issues. People avoid adding a feature to Julia because they are afraid they cannot update it later in case some change is needed. Some examples: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="640578175" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/36326" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/36326/hovercard" href="https://github.com/JuliaLang/julia/issues/36326">#36326</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="636244132" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/36223" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/36223/hovercard" href="https://github.com/JuliaLang/julia/pull/36223">#36223</a>, Pkg's artifacts system, etc.</p>
<p dir="auto">This is mostly just a meta issue attempting to summarize several existing discussions (issues). I'll try to include links to existing issues I've found whenever possible, but if I miss something please feel free to post a suggestion.</p> <h1 dir="auto">Problem</h1> <p dir="auto">I think the general problem is best summarized by the following statement:</p> <blockquote> <p dir="auto">stdlibs are the place code goes to die</p> </blockquote> <p dir="auto">I don't think this statement is entirely fair, but folks do seem to avoid contributing new stdlibs, fixes or updates (myself included). From my experience this is mostly because the stdlib dev workflow is closer to working on the core language rather than working on an external package (Pkg.jl and Statistics.jl sit in the middle).</p> <h1 dir="auto">Solutions</h1> <p dir="auto">Here are some things that might make this better from a user standpoint.</p> <ul dir="auto"> <li>Developing a stdlib: <code class="notranslate">] dev Statistics</code> (current solution is pretty manual)</li> <li>Using the latest version of a stdlib: <code class="notranslate">] free Statistics</code> (so stdlibs are basically just pinned default packages that can be unpinned and updated).</li> <li>Clearer documentation around what should be in <code class="notranslate">Base</code>, stdlibs or an external package. I think folks jump to wanting things in <code class="notranslate">Base</code> that could often be an independent stdlib or even an external package?</li> </ul> <h1 dir="auto">Technical Challenges</h1> <p dir="auto">A couple technical problems that I've seen from other issues include:</p> <ul dir="auto"> <li><em>stdlib load times</em>: We can include stdlibs in the system image by default, but what happens if you dev a stdlib? Do we rebuild the sysimg or just take the load time hit? What happens for downstream stdlib dependencies?</li> <li><em>stdlib artifacts</em>: Should changing a stdlib version trigger re-downloading any required build artifacts?</li> <li><em>Pkg dependencies</em>: More of a question, but would it be possible for Pkg.jl to handle replacing itself or its dependencies (similar to <code class="notranslate">pip install -U pip</code>) and just requiring a restart? Currently, Pkg.jl doesn't need to define a <code class="notranslate">compat</code> because all dependencies are baked stdlibs, but if all stdlibs could be updated then I assume we'd need to handle potential incompatibilities appropriately?</li> </ul> <h1 dir="auto">Links</h1> <ul dir="auto"> <li><a href="https://github.com/JuliaLang/julia/issues/27197" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/27197/hovercard">stdlibs as packages</a></li> <li><a href="https://github.com/JuliaLang/julia/issues/33973" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/33973/hovercard">stdlib artifacts</a></li> <li><a href="https://github.com/JuliaLang/Pkg.jl#using-the-development-version-of-pkgjl">Steps for <code class="notranslate">dev</code>ing a stdlib</a></li> </ul>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1321834/89729972-beaa1f80-da3a-11ea-9c9d-48eefbdf2f52.png"><img src="https://user-images.githubusercontent.com/1321834/89729972-beaa1f80-da3a-11ea-9c9d-48eefbdf2f52.png" alt="image" style="max-width: 100%;"></a></p> <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">Run "Power Toys (Preview)" from start menu.</p> <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">Launch the Power Toys application</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">Get an error message</p> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5047168/2020-08-09.txt">2020-08-09.txt</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1321834/89729941-8c002700-da3a-11ea-9553-e7cd3840dd15.png"><img src="https://user-images.githubusercontent.com/1321834/89729941-8c002700-da3a-11ea-9553-e7cd3840dd15.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Popup tells me to give y'all this.</p> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p> <p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.19041.0<br> IntPtr Length: 8<br> x64: True<br> Date: 07/31/2020 17:29:59<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
1
<ul dir="auto"> <li> <p dir="auto">VSCode Version: 0.10.11</p> </li> <li> <p dir="auto">OS Version: Windows 10 pro</p> <p dir="auto">In HTML document the functions in JavaScript are not displayed when using operator "." inside of <code class="notranslate">&lt;script&gt; &lt;/script&gt;</code> label. For example, in version 0.10.6 I can use:</p> </li> </ul> <p dir="auto"><code class="notranslate">&lt;script&gt;</code><br> <code class="notranslate">var myVar = document.(all functions appear listed here);</code><br> <code class="notranslate">&lt;/script&gt;</code></p> <p dir="auto">However, in the current version, the functions are not shown. I have tried to install extensions to try to mitigate it, but the problem persists.</p> <p dir="auto">Any of you have the same problem?</p> <p dir="auto">Update:</p> <p dir="auto">When working in HTML within the <code class="notranslate">&lt;script&gt;</code> tag functions do not appear, but. if the language is changed to JavaScript on the bottom right, the functions appear correctly, but marks syntax errors throughout the document, the solution to this is to set the language HTML and restart VS Code.</p>
<p dir="auto">I build vscode from the master branch.(0.10.10)<br> Found that intellisense doesn't work,no auto completion with inline js code in the .html file.<br> The previous version(0.10.8) support<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8966236/13330917/127a6596-dc36-11e5-9796-70d1c0dda3ef.jpg"><img src="https://cloud.githubusercontent.com/assets/8966236/13330917/127a6596-dc36-11e5-9796-70d1c0dda3ef.jpg" alt="default" style="max-width: 100%;"></a></p>
1
<p dir="auto">Related to: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="59153240" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/9910" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/9910/hovercard" href="https://github.com/elastic/elasticsearch/issues/9910">#9910</a></p> <p dir="auto">If you use JSON string as the query and set it by calling <code class="notranslate">setSource()</code> method, before executing the query if you call <code class="notranslate">requestBuilder.toString()</code> and then execute the query, you will get incorrect response, because <code class="notranslate">toString()</code> modified the internal state of <code class="notranslate">SearchRequestBuilder</code> object.</p> <p dir="auto">Try this code:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@GrabResolver(name='maven', root='http://repo1.maven.org/maven2/') @Grab(group='org.elasticsearch', module='elasticsearch', version='1.4.4') import org.elasticsearch.common.settings.Settings import org.elasticsearch.common.settings.ImmutableSettings import org.elasticsearch.common.transport.InetSocketTransportAddress import org.elasticsearch.client.Client import org.elasticsearch.client.transport.TransportClient import org.elasticsearch.action.index.IndexRequestBuilder import org.elasticsearch.action.index.IndexResponse import org.elasticsearch.action.search.SearchRequestBuilder import org.elasticsearch.action.search.SearchResponse Settings settings = ImmutableSettings.settingsBuilder().put(&quot;cluster.name&quot;, &quot;elasticsearch&quot;).build(); Client client = new TransportClient(settings).addTransportAddress(new InetSocketTransportAddress(&quot;localhost&quot;, 9300)); [1,2,3,4].each() { String body = &quot;&quot;&quot;{&quot;name&quot;:&quot;Hello world ${it}&quot;}&quot;&quot;&quot; IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, &quot;twitter&quot;) .setType(&quot;data&quot;) .setId(it.toString()) .setSource(body) .setRefresh(true) IndexResponse indexResponse = indexRequestBuilder.execute().actionGet() } String jsonQuery = &quot;&quot;&quot;{&quot;query&quot;:{&quot;filtered&quot;:{&quot;filter&quot;:{&quot;term&quot;:{&quot;_id&quot;:&quot;1&quot;}}}}}&quot;&quot;&quot; SearchRequestBuilder requestBuilder = client.prepareSearch(&quot;twitter&quot;) .setTypes(&quot;data&quot;) .setSource(jsonQuery) // This is the bug println requestBuilder.toString() SearchResponse response = requestBuilder.execute().actionGet() println response.toString()"><pre class="notranslate"><code class="notranslate">@GrabResolver(name='maven', root='http://repo1.maven.org/maven2/') @Grab(group='org.elasticsearch', module='elasticsearch', version='1.4.4') import org.elasticsearch.common.settings.Settings import org.elasticsearch.common.settings.ImmutableSettings import org.elasticsearch.common.transport.InetSocketTransportAddress import org.elasticsearch.client.Client import org.elasticsearch.client.transport.TransportClient import org.elasticsearch.action.index.IndexRequestBuilder import org.elasticsearch.action.index.IndexResponse import org.elasticsearch.action.search.SearchRequestBuilder import org.elasticsearch.action.search.SearchResponse Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name", "elasticsearch").build(); Client client = new TransportClient(settings).addTransportAddress(new InetSocketTransportAddress("localhost", 9300)); [1,2,3,4].each() { String body = """{"name":"Hello world ${it}"}""" IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, "twitter") .setType("data") .setId(it.toString()) .setSource(body) .setRefresh(true) IndexResponse indexResponse = indexRequestBuilder.execute().actionGet() } String jsonQuery = """{"query":{"filtered":{"filter":{"term":{"_id":"1"}}}}}""" SearchRequestBuilder requestBuilder = client.prepareSearch("twitter") .setTypes("data") .setSource(jsonQuery) // This is the bug println requestBuilder.toString() SearchResponse response = requestBuilder.execute().actionGet() println response.toString() </code></pre></div> <p dir="auto">The expected response is one document with <code class="notranslate">id=1</code>, however, the actual response is all documents inside the index.</p> <p dir="auto">But if you remove the bug line, the response will be correct.</p>
<p dir="auto">Using the Java API, If one sets the content of a search request through <code class="notranslate">SearchRequestBuilder#setSource</code> methods and then calls <code class="notranslate">toString</code> to see the result, not only the content of the request is not returned as it wasn't set through <code class="notranslate">sourceBuilder()</code>, the content of the request gets also reset due to the <code class="notranslate">internalBuilder()</code> call in <code class="notranslate">toString</code>.</p> <p dir="auto">Here is a small failing test that demontrates it:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SearchRequestBuilder searchRequestBuilder = new SearchRequestBuilder(client()).setSource(&quot;{\n&quot; + &quot; \&quot;query\&quot; : {\n&quot; + &quot; \&quot;match\&quot; : {\n&quot; + &quot; \&quot;field\&quot; : {\n&quot; + &quot; \&quot;query\&quot; : \&quot;value\&quot;&quot; + &quot; }\n&quot; + &quot; }\n&quot; + &quot; }\n&quot; + &quot; }&quot;); String preToString = searchRequestBuilder.request().source().toUtf8(); searchRequestBuilder.toString(); String postToString = searchRequestBuilder.request().source().toUtf8(); assertThat(preToString, equalTo(postToString));"><pre class="notranslate"><code class="notranslate">SearchRequestBuilder searchRequestBuilder = new SearchRequestBuilder(client()).setSource("{\n" + " \"query\" : {\n" + " \"match\" : {\n" + " \"field\" : {\n" + " \"query\" : \"value\"" + " }\n" + " }\n" + " }\n" + " }"); String preToString = searchRequestBuilder.request().source().toUtf8(); searchRequestBuilder.toString(); String postToString = searchRequestBuilder.request().source().toUtf8(); assertThat(preToString, equalTo(postToString)); </code></pre></div>
1
<p dir="auto">Currently if you set <code class="notranslate">node.data=false</code> and <code class="notranslate">node.master=false</code> you can set up a load-balancer-ish node that just routes queries to other boxes, but the problem for some setups is that those nodes do the aggregation phase as well.</p> <p dir="auto">I'd like to have the ability to set up a local ES node that <em>only</em> does proxying to other nodes in the cluster. I.e. it would pick some node, run a query on it, and then that node would ask other machines for data if needed, do the aggregation, and only return results.</p> <p dir="auto">This would enable me to use ElasticSearch as a daemon on webserving boxes that keeps track of what nodes are currently active / OK, I could make queries to it on localhost:9200, but because it wouldn't do any aggregation the resources it would eat would be very predictable.</p>
<p dir="auto">We would like an option to have client nodes only do the smart load balancing, not reduce/gathering.</p> <p dir="auto">We run client nodes on each app server so app servers only talk to ES via the client node on localhost, so we avoid having to use a HTTP load balancer (since it's a single point of failure), and also avoid the extra hop.</p> <p dir="auto">An option to be able to turn off the reduce/gather phase for a client node would let us decrease memory usage and CPU burn.</p> <p dir="auto">Thanks!</p>
1
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/telbizov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/telbizov">@telbizov</a> on 2016-09-06T18:02:16Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <ul dir="auto"> <li>apt</li> </ul> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">Any, but most likely 2.x branch</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">N/A</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Debian family Linux running apt package management</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">This is a feature request but also works around a problem that is very common when manipulating apt packages/repositories on a given host from multiple instances of apt.</p> <p dir="auto">Currently if there is an instance working with apt (via ansible apt module or not) there is a lock which is being held exclusively and as such no other apt instance can get a hold of. The result is that if there's a second instance of apt which tries to acquire the lock it gets an instant failure. In the case of doing this via ansible the result is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="msg: Failed to lock apt for exclusive operation"><pre class="notranslate"><code class="notranslate">msg: Failed to lock apt for exclusive operation </code></pre></div> <p dir="auto">This is the default apt behavior and as far as I can tell there is not way to pass a flag to apt command line, or apt configuraion, to tell it to <strong>wait</strong> for the lock to be released and then only timeout after a certain period of time.</p> <p dir="auto">It would be very useful if ansible's apt module itself was to provide such a feature. Say an optional flag - for example <code class="notranslate">lock_wait=60</code> which would make ansible try to acquire the lock every second for X seconds and eventually timing out. This way if two ansible playbooks running at the same time are trying to use the apt repository they will have much higher chance of succeeding.</p> <p dir="auto">Currently one of them errors out only so that the user retry the entire playbook .</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Run two ansible instances each utilizing the apt module at the very same time - one of them will fail with the above error.</p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">If we have this feature in ansible then we don't need to wrap each individual playbook's apt calls with retries and have it built-in the apt module itself.</p> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175311582" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4717" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/4717/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/4717">ansible/ansible-modules-core#4717</a></p>
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Feature Idea<br> This is a copy of the issue on the old repository: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175311582" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4717" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/4717/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/4717">ansible/ansible-modules-core#4717</a><br> There was some work on it, I don't know why it's not added: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176947454" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4842" data-hovercard-type="pull_request" data-hovercard-url="/ansible/ansible-modules-core/pull/4842/hovercard" href="https://github.com/ansible/ansible-modules-core/pull/4842">ansible/ansible-modules-core#4842</a></li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">apt</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">This is a feature request but also works around a problem that is very common when manipulating apt packages/repositories on a given host from multiple instances of apt.</p> <p dir="auto">Currently if there is an instance working with apt (via ansible apt module or not) there is a lock which is being held exclusively and as such no other apt instance can get a hold of. The result is that if there's a second instance of apt which tries to acquire the lock it gets an instant failure. In the case of doing this via ansible the result is:</p> <p dir="auto">msg: Failed to lock apt for exclusive operation</p> <p dir="auto">This is the default apt behavior and as far as I can tell there is not way to pass a flag to apt command line, or apt configuraion, to tell it to wait for the lock to be released and then only timeout after a certain period of time.</p> <p dir="auto">It would be very useful if ansible's apt module itself was to provide such a feature. Say an optional flag - for example lock_wait=60 which would make ansible try to acquire the lock every second for X seconds and eventually timing out. This way if two ansible playbooks running at the same time are trying to use the apt repository they will have much higher chance of succeeding.</p> <p dir="auto">Currently one of them errors out only so that the user retry the entire playbook .</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">Run two ansible instances each utilizing the apt module at the very same time - one of them will fail with the above error.</p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">If we have this feature in ansible then we don't need to wrap each individual playbook's apt calls with retries and have it built-in the apt module itself.</p>
1
<p dir="auto">I recently upgraded to the latest version of numpy (1.18.1) and matplotlib (3.2.1). My python script was performing fine prior to the upgrade and now, it's hit with error messages. I'm running on python version 3.7.7. Below is the error message.</p> <h3 dir="auto">Error message:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\function_base.py&quot;, line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;work5.py&quot;, line 435, in &lt;module&gt; readdata() File &quot;work5.py&quot;, line 92, in readdata h, xh, yh = np.histogram2d(totals, psd, (NGbinNum,PSDbinNum), range = [ x_range, y_range ] ) File &quot;&lt;__array_function__ internals&gt;&quot;, line 6, in histogram2d File &quot;C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\lib\twodim_base.py&quot;, line 715, in histogram2d hist, edges = histogramdd([x, y], bins, range, normed, weights, density) File &quot;&lt;__array_function__ internals&gt;&quot;, line 6, in histogramdd File &quot;C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\lib\histograms.py&quot;, line 1053, in histogramdd edges[i] = np.linspace(smin, smax, bins[i] + 1) File &quot;&lt;__array_function__ internals&gt;&quot;, line 6, in linspace File &quot;C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\function_base.py&quot;, line 121, in linspace .format(type(num))) TypeError: object of type &lt;class 'float'&gt; cannot be safely interpreted as an integer."><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "work5.py", line 435, in &lt;module&gt; readdata() File "work5.py", line 92, in readdata h, xh, yh = np.histogram2d(totals, psd, (NGbinNum,PSDbinNum), range = [ x_range, y_range ] ) File "&lt;__array_function__ internals&gt;", line 6, in histogram2d File "C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\lib\twodim_base.py", line 715, in histogram2d hist, edges = histogramdd([x, y], bins, range, normed, weights, density) File "&lt;__array_function__ internals&gt;", line 6, in histogramdd File "C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\lib\histograms.py", line 1053, in histogramdd edges[i] = np.linspace(smin, smax, bins[i] + 1) File "&lt;__array_function__ internals&gt;", line 6, in linspace File "C:\AppData\Local\Continuum\anaconda3\lib\site-packages\numpy\core\function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type &lt;class 'float'&gt; cannot be safely interpreted as an integer. </code></pre></div>
<p dir="auto"><code class="notranslate">linspace()</code> has always converted floats to integers for the <code class="notranslate">num=</code> kwarg (for as long as I can remember). But now I'm getting a TypeError with 1.18.1. This is breaking lots of downstream code and isn't too hard to fix but is rather annoying. I'm submitting this because there seemed to be no deprecation warning for this change. Ideally things like this would have year long deprecation cycles (at least).</p> <h3 dir="auto">Reproducing code example:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(numpy1.17) moorepants@garuda:four_bar_linkage(master)$ python Python 3.8.2 | packaged by conda-forge | (default, Mar 23 2020, 18:16:37) [GCC 7.3.0] on linux Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.__version__ '1.17.5' &gt;&gt;&gt; np.linspace(0.0, 1.0, num=10.0) array([0. , 0.11111111, 0.22222222, 0.33333333, 0.44444444, 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ]) &gt;&gt;&gt; (numpy1.17) moorepants@garuda:four_bar_linkage(master)$ (numpy1.17) moorepants@garuda:four_bar_linkage(master)$ deact DeprecationWarning: 'source deactivate' is deprecated. Use 'conda deactivate'. moorepants@garuda:four_bar_linkage(master)$ python Python 3.6.10 | packaged by conda-forge | (default, Mar 5 2020, 10:05:08) [GCC 7.3.0] on linux Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.__version__ '1.18.1' &gt;&gt;&gt; np.linspace(0.0, 1.0, num=10.0) Traceback (most recent call last): File &quot;/home/moorepants/miniconda3/lib/python3.6/site-packages/numpy/core/function_base.py&quot;, line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;&lt;__array_function__ internals&gt;&quot;, line 6, in linspace File &quot;/home/moorepants/miniconda3/lib/python3.6/site-packages/numpy/core/function_base.py&quot;, line 121, in linspace .format(type(num))) TypeError: object of type &lt;class 'float'&gt; cannot be safely interpreted as an integer. "><pre class="notranslate"><code class="notranslate">(numpy1.17) moorepants@garuda:four_bar_linkage(master)$ python Python 3.8.2 | packaged by conda-forge | (default, Mar 23 2020, 18:16:37) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.__version__ '1.17.5' &gt;&gt;&gt; np.linspace(0.0, 1.0, num=10.0) array([0. , 0.11111111, 0.22222222, 0.33333333, 0.44444444, 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ]) &gt;&gt;&gt; (numpy1.17) moorepants@garuda:four_bar_linkage(master)$ (numpy1.17) moorepants@garuda:four_bar_linkage(master)$ deact DeprecationWarning: 'source deactivate' is deprecated. Use 'conda deactivate'. moorepants@garuda:four_bar_linkage(master)$ python Python 3.6.10 | packaged by conda-forge | (default, Mar 5 2020, 10:05:08) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import numpy as np &gt;&gt;&gt; np.__version__ '1.18.1' &gt;&gt;&gt; np.linspace(0.0, 1.0, num=10.0) Traceback (most recent call last): File "/home/moorepants/miniconda3/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "&lt;__array_function__ internals&gt;", line 6, in linspace File "/home/moorepants/miniconda3/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type &lt;class 'float'&gt; cannot be safely interpreted as an integer. </code></pre></div> <h3 dir="auto">Error message:</h3> <h3 dir="auto">Numpy/Python version information:</h3>
1
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="40075849" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/7241" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/7241/hovercard?comment_id=52343350&amp;comment_type=issue_comment" href="https://github.com/elastic/elasticsearch/pull/7241#issuecomment-52343350">#7241 (comment)</a></p>
<p dir="auto">After <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163898513" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/19272" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/19272/hovercard" href="https://github.com/elastic/elasticsearch/pull/19272">#19272</a>, Elasticsearch instances will now die after hitting a fatal error (e.g., out of memory error). The breaking changes documentation associated with this change includes the note:</p> <blockquote> <p dir="auto">Operators should consider configuring their Elasticsearch services so that they respawn automatically in the case of such a fatal crash.</p> </blockquote> <p dir="auto">The question put forth here is: should the Elasticsearch packages attempt to configure this? The challenge here is that this is not straightforward on System V init-based systems (<code class="notranslate">/etc/inittab</code>) but it is straightforward on systemd-based systems.</p> <p dir="auto">Marking this as <a href="https://github.com/elastic/elasticsearch/labels/discuss">discuss</a>.</p>
0
<p dir="auto">• Failure [1033.846 seconds]<br> Pod Disks<br> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:267<br> should schedule a pod w/ a readonly PD on two hosts, then remove both. [It]<br> /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:164</p> <p dir="auto">Expected error:<br> &lt;*errors.errorString | 0xc209d73110&gt;: {<br> s: "gave up waiting for pod 'pd-test-a830c21c-da6b-11e5-8b3e-7831c1b8a4a8' to be 'running' after 15m0s",<br> }<br> gave up waiting for pod 'pd-test-a830c21c-da6b-11e5-8b3e-7831c1b8a4a8' to be 'running' after 15m0s<br> not to have occurred</p> <p dir="auto">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:157</p>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <p dir="auto"><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> <strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.0&quot;, GitCommit:&quot;a16c0a7f71a6f93c7e0f222d961f4675cd97a46b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-09-26T18:10:32Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;} "><pre lang="Client" class="notranslate"><code class="notranslate">Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Azure</strong>:</li> <li><strong>Ubuntu 14.04</strong></li> </ul> <p dir="auto"><strong>What happened</strong>:<br> When I try to <code class="notranslate">kubectl apply -f servicefile.yaml</code> I get this error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="metadata.resourceVersion: Invalid value: &quot;&quot;: must be specified for an update spec.clusterIP: Invalid value: &quot;&quot;: field is immutable "><pre lang="The" class="notranslate"><code class="notranslate">metadata.resourceVersion: Invalid value: "": must be specified for an update spec.clusterIP: Invalid value: "": field is immutable </code></pre></div> <p dir="auto"><strong>What you expected to happen</strong>:<br> Update the service</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> Name the service to have a dash in it e.g "foo-bar"<br> and <code class="notranslate">kubectl apply -f &lt;filename&gt;</code></p> <p dir="auto"><strong>yaml configs</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1 kind: Service metadata: name: api-testing labels: app: api-testing spec: type: NodePort ports: - port: 80 targetPort: 5000 nodePort : 30092 selector: app: api-testing"><pre class="notranslate"><code class="notranslate">apiVersion: v1 kind: Service metadata: name: api-testing labels: app: api-testing spec: type: NodePort ports: - port: 80 targetPort: 5000 nodePort : 30092 selector: app: api-testing </code></pre></div>
0
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">1.8.10</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" class ClassWithStaticProp { static prop = {}; } const instance = new ClassWithStaticProp(); // instance.constructor has no type information "><pre class="notranslate"> <span class="pl-k">class</span> <span class="pl-smi">ClassWithStaticProp</span> <span class="pl-kos">{</span> <span class="pl-k">static</span> <span class="pl-c1">prop</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">instance</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">ClassWithStaticProp</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// instance.constructor has no type information</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto"><code class="notranslate">instance.constructor</code> should have the same type as the <code class="notranslate">ClassWithStaticProp</code> constructor function.</p> <p dir="auto"><strong>Actual behavior:</strong></p> <p dir="auto"><code class="notranslate">instance.constructor</code> has no type information</p>
<p dir="auto">TypeScript allows to return <code class="notranslate">this</code> from instance methods, which is to say the least, is great. It would be even better if it allowed doing the same with static methods. The rationale is consistency and feature.</p> <p dir="auto">Line <code class="notranslate">public static construct():this</code> below will report <code class="notranslate">error TS2526: A 'this' type is available only in a non-static member of a class or interface.</code>, the line below uses <code class="notranslate">this</code> inside static method to create a new instance of the class, the line below that also uses <code class="notranslate">this</code> to return static property. The error message is misleading, <code class="notranslate">this</code> can be and should be used inside static methods whenever appropriate.</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Foo { public static x:any; protected y:any; public static construct():this { return new this(); } public static getX():any { return this.x; } public getY():any{ return this.y; } public setY(value:any):this{ this.y = value; return this; } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-c1">x</span>:<span class="pl-smi">any</span><span class="pl-kos">;</span> <span class="pl-k">protected</span> <span class="pl-c1">y</span>:<span class="pl-smi">any</span><span class="pl-kos">;</span> <span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-en">construct</span><span class="pl-kos">(</span><span class="pl-kos">)</span>:this <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">this</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">public</span> <span class="pl-k">static</span> <span class="pl-en">getX</span><span class="pl-kos">(</span><span class="pl-kos">)</span>:<span class="pl-smi">any</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">x</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">public</span> <span class="pl-en">getY</span><span class="pl-kos">(</span><span class="pl-kos">)</span>:<span class="pl-smi">any</span><span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">y</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">public</span> <span class="pl-en">setY</span><span class="pl-kos">(</span><span class="pl-s1">value</span>:<span class="pl-smi">any</span><span class="pl-kos">)</span>:this<span class="pl-kos">{</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">value</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">I'd like to inherit <code class="notranslate">Foo</code> and use <code class="notranslate">construct</code> on child classes, the only way I can do this by specifying <code class="notranslate">Foo</code> as return type, however, this will require to cast the result to <code class="notranslate">Bar</code> and <code class="notranslate">Baz</code> whenever called from those classes – inconvenient and inconsistent with instance method behaviour.</p> <p dir="auto">This seems to be common sense, since this already done for instance methods, shouldn't be much pain doing this for static methods either? What are your thoughts?</p>
0
<hr> <h3 dir="auto">System information</h3> <ul dir="auto"> <li> <p dir="auto"><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br> No, but have added images and used TOCO to make it an android app.</p> </li> <li> <p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br> MacOS 10.12.6</p> </li> <li> <p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br> anaconda3</p> </li> <li> <p dir="auto"><strong>TensorFlow version (use command below)</strong>:<br> v1.7.1-0-gc8137f3a8e 1.7.1, as TOCO wouldn't work on 1.8</p> </li> <li> <p dir="auto"><strong>Python version</strong>:<br> Python 3.6.5 :: Anaconda, Inc.</p> </li> <li> <p dir="auto"><strong>Bazel version (if compiling from source)</strong>:<br> N/A</p> </li> <li> <p dir="auto"><strong>GCC/Compiler version (if compiling from source)</strong>:<br> N/A</p> </li> <li> <p dir="auto"><strong>CUDA/cuDNN version</strong>:<br> N/A</p> </li> <li> <p dir="auto"><strong>GPU model and memory</strong>:<br> Intel HD 6000<br> 8GB DDR3</p> </li> <li> <p dir="auto"><strong>Exact command to reproduce</strong>:<br> N/A</p> </li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">When trying to build the "tflite" app from tensorflow-for-poets2, I encounter an error; <code class="notranslate">Multiple dex files define Lorg/tensorflow/lite/NativeInterpreterWrapper;</code>. I have tried updating the SDK and finding a duplicate of the file defining NativeInterpreterWrapper (with no luck).</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">Error log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1431) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinTask.externalAwaitDone(ForkJoinTask.java:326) at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:391) at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.android.builder.dexing.DxDexArchiveMerger.mergeMultidex(DxDexArchiveMerger.java:266) at com.android.builder.dexing.DxDexArchiveMerger.mergeDexArchives(DxDexArchiveMerger.java:133) at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:97) at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:121) at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:222) at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:218) at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102) at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:213) at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92) ... 30 more Caused by: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:72) at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36) at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424) ... 57 more Caused by: com.android.dex.DexException: Multiple dex files define Lorg/tensorflow/lite/NativeInterpreterWrapper; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661) at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616) at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171) at com.android.dx.merge.DexMerger.merge(DexMerger.java:198) at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61) ... 59 more"><pre class="notranslate"><code class="notranslate">org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1431) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinTask.externalAwaitDone(ForkJoinTask.java:326) at java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:391) at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:719) at java.util.ArrayList.forEach(ArrayList.java:1249) at com.android.builder.dexing.DxDexArchiveMerger.mergeMultidex(DxDexArchiveMerger.java:266) at com.android.builder.dexing.DxDexArchiveMerger.mergeDexArchives(DxDexArchiveMerger.java:133) at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:97) at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:121) at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:222) at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:218) at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102) at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:213) at sun.reflect.GeneratedMethodAccessor524.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92) ... 30 more Caused by: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:72) at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:36) at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424) ... 57 more Caused by: com.android.dex.DexException: Multiple dex files define Lorg/tensorflow/lite/NativeInterpreterWrapper; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:661) at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:616) at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:598) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171) at com.android.dx.merge.DexMerger.merge(DexMerger.java:198) at com.android.builder.dexing.DexArchiveMergerCallable.call(DexArchiveMergerCallable.java:61) ... 59 more </code></pre></div>
<h3 dir="auto">What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?</h3> <p dir="auto">None</p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System: Ubuntu 16.04.1 LTS<br> Installed version of CUDA and cuDNN: none<br> pip package: <a href="https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl</a><br> $ python -c "import tensorflow; print(tensorflow.<strong>version</strong>)"<br> 0.10.0</p> <h3 dir="auto">If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)</h3> <p dir="auto">Using commands from <a href="https://www.tensorflow.org/versions/r0.9/get_started/index.html" rel="nofollow">https://www.tensorflow.org/versions/r0.9/get_started/index.html</a> to create a model:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf import numpy as np x_data = np.random.rand(100).astype(np.float32) y_data = x_data * 0.1 + 0.3 W = tf.Variable(tf.random_uniform([1], -1.0, 1.0)) b = tf.Variable(tf.zeros([1])) y = W * x_data + b loss = tf.reduce_mean(tf.square(y - y_data)) optimizer = tf.train.GradientDescentOptimizer(0.5) train = optimizer.minimize(loss) init = tf.initialize_all_variables() sess = tf.Session() sess.run(init) sess.run(train)"><pre class="notranslate"><code class="notranslate">import tensorflow as tf import numpy as np x_data = np.random.rand(100).astype(np.float32) y_data = x_data * 0.1 + 0.3 W = tf.Variable(tf.random_uniform([1], -1.0, 1.0)) b = tf.Variable(tf.zeros([1])) y = W * x_data + b loss = tf.reduce_mean(tf.square(y - y_data)) optimizer = tf.train.GradientDescentOptimizer(0.5) train = optimizer.minimize(loss) init = tf.initialize_all_variables() sess = tf.Session() sess.run(init) sess.run(train) </code></pre></div> <p dir="auto">Then this works:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="saver = tf.train.Saver() saver.save(sess, 'my-model') sess = tf.Session() new_saver = tf.train.import_meta_graph('my-model.meta')"><pre class="notranslate"><code class="notranslate">saver = tf.train.Saver() saver.save(sess, 'my-model') sess = tf.Session() new_saver = tf.train.import_meta_graph('my-model.meta') </code></pre></div> <p dir="auto">But this doesn't:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tf.train.export_meta_graph(filename='my-model.meta') new_saver = tf.train.import_meta_graph('my-model.meta')"><pre class="notranslate"><code class="notranslate">tf.train.export_meta_graph(filename='my-model.meta') new_saver = tf.train.import_meta_graph('my-model.meta') </code></pre></div> <p dir="auto">Traceback (most recent call last):<br> File "", line 1, in <br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1458, in import_meta_graph<br> return _import_meta_graph_def(read_meta_graph_file(meta_graph_or_file))<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1386, in _import_meta_graph_def<br> return Saver()<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 861, in <strong>init</strong><br> restore_sequentially=restore_sequentially)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 502, in build<br> vars_to_save = self._ValidateAndSliceInputs(names_to_variables)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 399, in _ValidateAndSliceInputs<br> names_to_variables = self._VarListToDict(names_to_variables)<br> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 377, in _VarListToDict<br> name)<br> ValueError: At least two variables have the same name: Variable_1</p> <p dir="auto">What I actually want to use is this, which also does not work (same error):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="meta_graph_def = tf.train.export_meta_graph() saver = tf.train.import_meta_graph(meta_graph_def)"><pre class="notranslate"><code class="notranslate">meta_graph_def = tf.train.export_meta_graph() saver = tf.train.import_meta_graph(meta_graph_def) </code></pre></div> <p dir="auto">I need a solution that does not rely on the file system.<br> Am I doing something wrong?</p> <h3 dir="auto">What other attempted solutions have you tried?</h3> <p dir="auto">I tried to look at the files to see where these duplicated names occur but did not find any.</p>
0
<ul dir="auto"> <li>[ x] I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">I cannot install the latest beta version (20) via npm.</p>
<p dir="auto">Hi,</p> <p dir="auto">start off saying that i really respect the work done here. great job!<br> Now i've to say :) that the inline style approach used here might be something you should re-think or at least add a little tweak. Well, i say this because It slows down all the UI loading when you start to place elements all over the place that have be render a lot of times. And in my case, the amount of html to send via server to the browser (isomorphic approach) it's an overload of data not really necessary.</p> <p dir="auto">So my suggestion would be, adding a config param for whether the developer wants or not inline styles. This way, if i choose not to use i can simply add the materials assets files on the page.<br> I know that probably the assets files could be even bigger than the generated html, but we all know too that those are cached and we can live with that.<br> Well, hope you'll not respond me that their is a way to achieve this and i was to lazy too get that info ;).</p> <p dir="auto">Does this make sense to you?</p> <p dir="auto">thanks</p>
0
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">I plotted a 3D curve on Jupyter Notebook. I rotated the produced image using my mouse, and I wanted to use the Home button to reset it, because Home's comment says <em>Reset the original view</em>. However, after clicking Home button, there was nothing happened.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Paste your code here # # %matplotlib notebook # %matplotlib inline import matplotlib.pyplot as plt import numpy as np from sklearn.linear_model import Ridge from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = fig.gca(projection='3d') # 如果不加这句话,图形就无法显示 model = Ridge(alpha=0.3) model.fit([[0,0],[0,0],[1,1],[2,2]],[0,0.1,1,2]) print(model.coef_) print(model.intercept_) x = np.linspace(-10, 10, 1000) y = np.linspace(-10, 10, 1000) z = np.add(x, y) ax.plot(x, y, z) plt.show()"><pre class="notranslate"><span class="pl-c"># Paste your code here</span> <span class="pl-c">#</span> <span class="pl-c">#</span> <span class="pl-c1">%</span><span class="pl-s1">matplotlib</span> <span class="pl-s1">notebook</span> <span class="pl-c"># %matplotlib inline</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-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">linear_model</span> <span class="pl-k">import</span> <span class="pl-v">Ridge</span> <span class="pl-k">from</span> <span class="pl-s1">mpl_toolkits</span>.<span class="pl-s1">mplot3d</span> <span class="pl-k">import</span> <span class="pl-v">Axes3D</span> <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">gca</span>(<span class="pl-s1">projection</span><span class="pl-c1">=</span><span class="pl-s">'3d'</span>) <span class="pl-c"># 如果不加这句话,图形就无法显示</span> <span class="pl-s1">model</span> <span class="pl-c1">=</span> <span class="pl-v">Ridge</span>(<span class="pl-s1">alpha</span><span class="pl-c1">=</span><span class="pl-c1">0.3</span>) <span class="pl-s1">model</span>.<span class="pl-en">fit</span>([[<span class="pl-c1">0</span>,<span class="pl-c1">0</span>],[<span class="pl-c1">0</span>,<span class="pl-c1">0</span>],[<span class="pl-c1">1</span>,<span class="pl-c1">1</span>],[<span class="pl-c1">2</span>,<span class="pl-c1">2</span>]],[<span class="pl-c1">0</span>,<span class="pl-c1">0.1</span>,<span class="pl-c1">1</span>,<span class="pl-c1">2</span>]) <span class="pl-en">print</span>(<span class="pl-s1">model</span>.<span class="pl-s1">coef_</span>) <span class="pl-en">print</span>(<span class="pl-s1">model</span>.<span class="pl-s1">intercept_</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">-</span><span class="pl-c1">10</span>, <span class="pl-c1">10</span>, <span class="pl-c1">1000</span>) <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">linspace</span>(<span class="pl-c1">-</span><span class="pl-c1">10</span>, <span class="pl-c1">10</span>, <span class="pl-c1">1000</span>) <span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">add</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>) <span class="pl-s1">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>, <span class="pl-s1">z</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto">(Please ignore the comment in Chinese, because I am a Chinese student)</p> <p dir="auto"><strong>Actual outcome</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# If applicable, paste the console output here # #"><pre class="notranslate"><code class="notranslate"># If applicable, paste the console output here # # </code></pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/27288110/69009062-d1506600-098c-11ea-9053-45dae3013551.png"><img src="https://user-images.githubusercontent.com/27288110/69009062-d1506600-098c-11ea-9053-45dae3013551.png" alt="图片" style="max-width: 100%;"></a><br> (I have rotated the image with my mouse)</p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">I want to use Home button to reset the image to the initial view, but Home button did not work.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Win10</li> <li>Matplotlib version: 3.0.0</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): nbAgg</li> <li>Python version: 3.7.3</li> <li>Jupyter version (if applicable): 5.7.8</li> <li>Other libraries:</li> </ul> <p dir="auto">I installed matplotlib by Anaconda.</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">The home, backward, and forward buttons in the UI do nothing when the plot is three dimensional. Also the zoom button does not work at all. It simply rotates the plot.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <p dir="auto">From the examples,</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from mpl_toolkits.mplot3d import axes3d import matplotlib.pyplot as plt from matplotlib import cm fig = plt.figure() ax = fig.gca(projection='3d') X, Y, Z = axes3d.get_test_data(0.05) cset = ax.contourf(X, Y, Z, cmap=cm.coolwarm) ax.clabel(cset, fontsize=9, inline=1) plt.show()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">mpl_toolkits</span>.<span class="pl-s1">mplot3d</span> <span class="pl-k">import</span> <span class="pl-s1">axes3d</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-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">cm</span> <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>() <span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">gca</span>(<span class="pl-s1">projection</span><span class="pl-c1">=</span><span class="pl-s">'3d'</span>) <span class="pl-v">X</span>, <span class="pl-v">Y</span>, <span class="pl-v">Z</span> <span class="pl-c1">=</span> <span class="pl-s1">axes3d</span>.<span class="pl-en">get_test_data</span>(<span class="pl-c1">0.05</span>) <span class="pl-s1">cset</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">contourf</span>(<span class="pl-v">X</span>, <span class="pl-v">Y</span>, <span class="pl-v">Z</span>, <span class="pl-s1">cmap</span><span class="pl-c1">=</span><span class="pl-s1">cm</span>.<span class="pl-s1">coolwarm</span>) <span class="pl-s1">ax</span>.<span class="pl-en">clabel</span>(<span class="pl-s1">cset</span>, <span class="pl-s1">fontsize</span><span class="pl-c1">=</span><span class="pl-c1">9</span>, <span class="pl-s1">inline</span><span class="pl-c1">=</span><span class="pl-c1">1</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">Buttons don't work.</p> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto">Buttons would work.</p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: macOS 10.13.4</li> <li>Matplotlib version: 2.2.2</li> <li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): Qt5Agg</li> <li>Python version: 3.6</li> <li>Jupyter version (if applicable): n/a</li> <li>Other libraries: n/a</li> </ul> <p dir="auto">Python and matplotlib installed via pip in a virtualenv.</p>
1
<p dir="auto">This is happening after a fresh install:<br> I am running Debian 8</p> <p dir="auto">[Enter steps to reproduce below:]</p> <ol dir="auto"> <li>Installed deb file atom-amd64.deb v0.186.0</li> <li>Run the Program</li> </ol> <p dir="auto"><strong>Atom Version</strong>: 0.184.0<br> <strong>System</strong>: linux 3.12-1-amd64<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Stack Trace</h3> <p dir="auto">Uncaught Error: spawn /usr/share/atom/atom (deleted) ENOENT</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:94 Error: spawn /usr/share/atom/atom (deleted) ENOENT at exports._errnoException (util.js:753:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:364:11)"><pre class="notranslate"><code class="notranslate">At events.js:94 Error: spawn /usr/share/atom/atom (deleted) ENOENT at exports._errnoException (util.js:753:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:364:11) </code></pre></div> <h3 dir="auto">Commands</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></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;disabledPackages&quot;: [ &quot;autocomplete-clang&quot;, &quot;web-browser&quot;, &quot;deprecation-cop&quot; ] }, &quot;editor&quot;: { &quot;invisibles&quot;: {} } }"><pre class="notranslate">{ <span class="pl-ent">"core"</span>: { <span class="pl-ent">"disabledPackages"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>autocomplete-clang<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>web-browser<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>deprecation-cop<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"editor"</span>: { <span class="pl-ent">"invisibles"</span>: {} } }</pre></div> <h3 dir="auto">Installed Packages</h3> <div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User html2haml, v0.6.0 language-haml, v0.15.0 linter, v0.12.0 linter-clang, v2.25.1 # Dev No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span> html2haml, v0.<span class="pl-ii">6</span>.<span class="pl-ii">0</span> language<span class="pl-k">-</span>haml, v0.<span class="pl-ii">15</span>.<span class="pl-ii">0</span> linter, v0.<span class="pl-ii">12</span>.<span class="pl-ii">0</span> linter<span class="pl-k">-</span>clang, v2.<span class="pl-ii">25</span>.<span class="pl-ii">1</span> <span class="pl-c"><span class="pl-c">#</span> Dev</span> <span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto"><strong>TEMPORARY WORKAROUND</strong>: <code class="notranslate">ln -s /usr/share/atom/atom "/usr/share/atom/atom (deleted)"</code></p> <p dir="auto">Uncaught Error: spawn /opt/atom/atom (deleted) ENOENT</p> <p dir="auto"><strong>Atom Version</strong>: 0.152.0<br> <strong>System</strong>: linux 3.13.0-40-generic<br> <strong>Thrown From</strong>: Atom Core</p> <h3 dir="auto">Steps To Reproduce</h3> <ol dir="auto"> <li>...</li> <li>...</li> </ol> <h3 dir="auto">Stack Trace</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85 Error: spawn /opt/atom/atom (deleted) ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) "><pre class="notranslate"><code class="notranslate">At events.js:85 Error: spawn /opt/atom/atom (deleted) ENOENT at exports._errnoException (util.js:742:11) at Process.ChildProcess._handle.onexit (child_process.js:1051:32) at child_process.js:1142:20 at process._tickCallback (node.js:378:11) </code></pre></div>
1
<p dir="auto">Let us know what functionality you'd like to see in Playwright and what your use case is.<br> Do you think others might benefit from this as well?</p>
<p dir="auto">can you add more features to html reporter in playwright. eg: allure report <strong>over view page</strong>. and <strong>send report as a email</strong> functionality. Most of top management like to see consolidate report.<br> allure report is good but it is not a inbuild report due to that we need face data sync issues most of the time</p>
1
<p dir="auto">Hi guys, when i remove neo4j 2.2.3 and installed 3.0.1 neo4j server is failing to start.<br> here is my log</p> <p dir="auto">tail -l /var/log/neo4j/neo4j.log<br> at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:207)<br> at org.neo4j.bolt.BoltKernelExtension.createSslContext(BoltKernelExtension.java:200)<br> ... 32 more<br> Caused by: java.security.KeyException: found no private key: /var/lib/neo4j/certificates/neo4j.key<br> at io.netty.handler.ssl.PemReader.readPrivateKey(PemReader.java:99)<br> at io.netty.handler.ssl.SslContext.buildKeyStore(SslContext.java:890)<br> at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:313)<br> at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:291)<br> at io.netty.handler.ssl.JdkSslServerContext.(JdkSslServerContext.java:205)<br> ... 36 more</p>
<p dir="auto">Hi guys, when i remove neo4j 2.2.3 and installed 3.0.1 neo4j server is failing to start.<br> here is my log</p> <p dir="auto">tail -l /var/log/neo4j/neo4j.log<br> at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:207)<br> at org.neo4j.bolt.BoltKernelExtension.createSslContext(BoltKernelExtension.java:200)<br> ... 32 more<br> Caused by: java.security.KeyException: found no private key: /var/lib/neo4j/certificates/neo4j.key<br> at io.netty.handler.ssl.PemReader.readPrivateKey(PemReader.java:99)<br> at io.netty.handler.ssl.SslContext.buildKeyStore(SslContext.java:890)<br> at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:313)<br> at io.netty.handler.ssl.JdkSslContext.buildKeyManagerFactory(JdkSslContext.java:291)<br> at io.netty.handler.ssl.JdkSslServerContext.(JdkSslServerContext.java:205)<br> ... 36 more</p>
1
<h2 dir="auto">Environment info</h2> <ul dir="auto"> <li><code class="notranslate">transformers</code> version: 4.1.1</li> <li>Python version: 3.8.5</li> <li>PyTorch version (GPU?): 1.7.1</li> <li>tokenizers: 0.9.4</li> <li>Using GPU in script?: No</li> <li>Using distributed or parallel set-up in script?: No</li> </ul> <h2 dir="auto">Information</h2> <p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patrickvonplaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patrickvonplaten">@patrickvonplaten</a><br> I am trying to train a "t5-base" model and I directly use from_pretrained tokenizer, config and model. However, I found the vocabulary size given by the tokenizer and config is different (see to reproduce). Does this is expected?</p> <p dir="auto">If I use the model <code class="notranslate">T5ForConditionalGeneration.from_pretrained('t5-base', config=config)</code> to do predictions, this will result in the last dimension of lm_logits is different from <code class="notranslate">tokenizer.vocab_size</code>.</p> <h2 dir="auto">To reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; from transformers import T5Tokenizer, T5Config &gt;&gt;&gt; tokenizer = T5Tokenizer.from_pretrained(&quot;t5-base&quot;) &gt;&gt;&gt; config = T5Config.from_pretrained(&quot;t5-base&quot;) &gt;&gt;&gt; print(tokenizer.vocab_size) 32100 &gt;&gt;&gt; print(config.vocab_size) 32128"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; from transformers import T5Tokenizer, T5Config &gt;&gt;&gt; tokenizer = T5Tokenizer.from_pretrained("t5-base") &gt;&gt;&gt; config = T5Config.from_pretrained("t5-base") &gt;&gt;&gt; print(tokenizer.vocab_size) 32100 &gt;&gt;&gt; print(config.vocab_size) 32128 </code></pre></div> <h2 dir="auto">Expected behavior</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; print(tokenizer.vocab_size) 32128 &gt;&gt;&gt; print(config.vocab_size) 32128"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; print(tokenizer.vocab_size) 32128 &gt;&gt;&gt; print(config.vocab_size) 32128 </code></pre></div>
<h1 dir="auto"><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji> Questions &amp; Help</h1> <p dir="auto">Pretrained <code class="notranslate">T5Tokenizer </code> has vocab size of 32100 (32000 tokens plus 100 extra_ids) but the shared embedding layer of <code class="notranslate">T5ForConditionalGeneration</code> has size of (32128, 768). I checked the google-research implementation of T5 and also found that they have vocab size of 32100 also.</p> <p dir="auto">Where did the extra 28 embeddings come from and how can we map it to the tokenizer?</p> <h2 dir="auto">To reproduce</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from transformers import ( T5Tokenizer, T5ForConditionalGeneration, ) tokenizer_pretrained = T5Tokenizer.from_pretrained('t5-base') model_pretrained = T5ForConditionalGeneration.from_pretrained('t5-base') len(tokenizer_pretrained.get_vocab()), model_pretrained.state_dict()['shared.weight'].shape"><pre class="notranslate"><code class="notranslate">from transformers import ( T5Tokenizer, T5ForConditionalGeneration, ) tokenizer_pretrained = T5Tokenizer.from_pretrained('t5-base') model_pretrained = T5ForConditionalGeneration.from_pretrained('t5-base') len(tokenizer_pretrained.get_vocab()), model_pretrained.state_dict()['shared.weight'].shape </code></pre></div> <p dir="auto">Output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(32100, torch.Size([32128, 768]))"><pre class="notranslate"><code class="notranslate">(32100, torch.Size([32128, 768])) </code></pre></div>
1
<p dir="auto">So I have this in my app/config/routing.yml:<br> acme_store_dev:<br> resource: "@AcmeStoreBundle/Resources/config/routing.yml"<br> host: acme.{tld}<br> requirements:<br> tld: dev|org</p> <p dir="auto">and something like this in the bundles routing.yml:<br> acme_store_homepage:<br> pattern: /hello/{name}<br> defaults: { _controller: AcmeStoreBundle:Default:index }<br> acme_store_product:<br> resource: "@AcmeStoreBundle/Resources/config/routing/product.yml"<br> prefix: /product</p> <p dir="auto">and the product.yml contains several auto generated routes like that:<br> product_show:<br> pattern: /{id}/show<br> defaults: { _controller: "AcmeStoreBundle:Product:show" }</p> <p dir="auto">The problem is within the first configuration. If I only use one host and no tld matching (and any other form of regex matching in hosts) itll lead to this kind of error:</p> <p dir="auto">An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("tld") to generate a URL for route "category_new".") in AcmeStoreBundle:Category:index.html.twig at line 36.</p> <p dir="auto">I could now start rewriting all that the crud generator made for me or stop using that form of host matching, but Id really like to use those two features - any suggestions? is this a bug that can be fixed? from what I understand the /prefix is supposed to map route extensions dynamically, and independent of any prior routes, which is also quite nifty to have.</p>
<p dir="auto">Currently running into an issue with the new host matching when I'm trying to generate urls that requires me to pass in a host parameter.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="InternalUserController: resource: &quot;@ApiBundle/Controller/Internal/UserController.php&quot; type: annotation host: &quot;api.{domain}&quot; DashboardController: resource: &quot;@DashboardBundle/Controller/DashboardController.php&quot; type: annotation host: &quot;{domain}&quot;"><pre lang="ymal" class="notranslate"><code class="notranslate">InternalUserController: resource: "@ApiBundle/Controller/Internal/UserController.php" type: annotation host: "api.{domain}" DashboardController: resource: "@DashboardBundle/Controller/DashboardController.php" type: annotation host: "{domain}" </code></pre></div> <p dir="auto">The examples above work perfectly with the url matcher, but when needing to generate the url, it will require me to provide the domain parameter each time. I know this is how it's suppose to function, but it seems a bit annoying to require putting in the domain each time.</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="df = pd.DataFrame([['A', 1], ['B', 2], ['B', 3], ['A', 4]], columns=['Col1', 'Col2']) df['Col1'] = pd.Categorical(df.Col1)"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([[<span class="pl-s">'A'</span>, <span class="pl-c1">1</span>], [<span class="pl-s">'B'</span>, <span class="pl-c1">2</span>], [<span class="pl-s">'B'</span>, <span class="pl-c1">3</span>], [<span class="pl-s">'A'</span>, <span class="pl-c1">4</span>]], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'Col1'</span>, <span class="pl-s">'Col2'</span>]) <span class="pl-s1">df</span>[<span class="pl-s">'Col1'</span>] <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Categorical</span>(<span class="pl-s1">df</span>.<span class="pl-v">Col1</span>)</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/ef229ae40aa2db2b89e737d36c6a68dcb4126229520f40dab8d0c3ba7a61ec4c/68747470733a2f2f692e696d6775722e636f6d2f33696e75674c512e706e67"><img src="https://camo.githubusercontent.com/ef229ae40aa2db2b89e737d36c6a68dcb4126229520f40dab8d0c3ba7a61ec4c/68747470733a2f2f692e696d6775722e636f6d2f33696e75674c512e706e67" alt="df" data-canonical-src="https://i.imgur.com/3inugLQ.png" style="max-width: 100%;"></a></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.merge(df, df, on='Col1', how='inner') "><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-en">merge</span>(<span class="pl-s1">df</span>, <span class="pl-s1">df</span>, <span class="pl-s1">on</span><span class="pl-c1">=</span><span class="pl-s">'Col1'</span>, <span class="pl-s1">how</span><span class="pl-c1">=</span><span class="pl-s">'inner'</span>)</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">According to Pandas 0.23.0 doc :</p> <p dir="auto">for the keyword "how", the especially "inner" config (bolded part):</p> <blockquote> <p dir="auto">how : {‘left’, ‘right’, ‘outer’, ‘inner’}, default ‘inner’</p> <ul dir="auto"> <li>left: use only keys from left frame, similar to a SQL left outer join; preserve key order</li> <li>right: use only keys from right frame, similar to a SQL right outer join; preserve key order</li> <li>outer: use union of keys from both frames, similar to a SQL full outer join; sort keys lexicographically</li> <li>inner: use intersection of keys from both frames, similar to a SQL inner join; <strong>preserve the order of the left keys</strong></li> </ul> </blockquote> <p dir="auto">So the merge is supposed to preserve the order of the left keys.<br> However, if Categorical Data is used as the key to merge, the order is not preserved.</p> <p dir="auto">The output dataframe has been sorted as per the join key, and the index has been reseted.<br> Which obviously provoke some unwanted results.</p> <p dir="auto">Note that <em>how='left'</em> does provide the correct results (regarding key ordering).</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">Expected Output :<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6874ba4fd903ecc54cb1bb0895ca7c424f4193ce4a7a686250a4178efd2cf75d/68747470733a2f2f692e696d6775722e636f6d2f476e74525770452e706e67"><img src="https://camo.githubusercontent.com/6874ba4fd903ecc54cb1bb0895ca7c424f4193ce4a7a686250a4178efd2cf75d/68747470733a2f2f692e696d6775722e636f6d2f476e74525770452e706e67" alt="Expected Output" data-canonical-src="https://i.imgur.com/GntRWpE.png" style="max-width: 100%;"></a></p> <p dir="auto">Actual Output :<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/0d5e5bc9780b6b933e3392a0cdbbcc0cb0b33aee28a053e3f4fa4599ea0a4fe4/68747470733a2f2f692e696d6775722e636f6d2f4e4e5a666871312e706e67"><img src="https://camo.githubusercontent.com/0d5e5bc9780b6b933e3392a0cdbbcc0cb0b33aee28a053e3f4fa4599ea0a4fe4/68747470733a2f2f692e696d6775722e636f6d2f4e4e5a666871312e706e67" alt="Actual Output" data-canonical-src="https://i.imgur.com/NNZfhq1.png" style="max-width: 100%;"></a></p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.14.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 4.13.0-38-generic<br> machine: x86_64<br> processor: x86_64<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.23.0<br> pytest: None<br> pip: 9.0.1<br> setuptools: 36.5.0.post20170921<br> Cython: None<br> numpy: 1.14.3<br> scipy: 1.1.0<br> pyarrow: None<br> xarray: None<br> IPython: 5.4.1<br> sphinx: None<br> patsy: None<br> dateutil: 2.6.1<br> pytz: 2018.4<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> feather: None<br> matplotlib: None<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: 0.9999999<br> sqlalchemy: None<br> pymysql: None<br> psycopg2: None<br> jinja2: 2.9.6<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/chrish42/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/chrish42">@chrish42</a></p>
<p dir="auto">see also:<br> <a href="https://stackoverflow.com/questions/47793302/python-pandas-dataframe-merge-strange-sort-order-for-how-inner" rel="nofollow">https://stackoverflow.com/questions/47793302/python-pandas-dataframe-merge-strange-sort-order-for-how-inner</a></p> <p dir="auto">I do not understand the sort order for Python Pandas DataFrame <code class="notranslate">merge</code> function with <code class="notranslate">how="inner"</code>. Example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd df2 = pd.DataFrame({'a': (6, 7, 8, 6), 'b': (&quot;w&quot;, &quot;x&quot;, &quot;y&quot;, &quot;z&quot;)}) print(df2) print(&quot;left:&quot;) dfMerge2 = pd.merge(df2, df2, on='a', how=&quot;left&quot;) print(dfMerge2) dfMerge = pd.merge(df2, df2, on='a', how=&quot;inner&quot;) print(&quot;inner:&quot;) print(dfMerge)"><pre class="notranslate"><code class="notranslate">import pandas as pd df2 = pd.DataFrame({'a': (6, 7, 8, 6), 'b': ("w", "x", "y", "z")}) print(df2) print("left:") dfMerge2 = pd.merge(df2, df2, on='a', how="left") print(dfMerge2) dfMerge = pd.merge(df2, df2, on='a', how="inner") print("inner:") print(dfMerge) </code></pre></div> <p dir="auto">Result:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" a b 0 6 w 1 7 x 2 8 y 3 6 z left: a b_x b_y 0 6 w w 1 6 w z 2 7 x x 3 8 y y 4 6 z w 5 6 z z inner: a b_x b_y 0 6 w w 1 6 w z 2 6 z w 3 6 z z 4 7 x x 5 8 y y"><pre class="notranslate"><code class="notranslate"> a b 0 6 w 1 7 x 2 8 y 3 6 z left: a b_x b_y 0 6 w w 1 6 w z 2 7 x x 3 8 y y 4 6 z w 5 6 z z inner: a b_x b_y 0 6 w w 1 6 w z 2 6 z w 3 6 z z 4 7 x x 5 8 y y </code></pre></div> <p dir="auto">I would expect that for <code class="notranslate">how="inner"</code> the order of the resulting rows with</p> <p dir="auto"><code class="notranslate">6 z w</code> and</p> <p dir="auto"><code class="notranslate">6 z z</code></p> <p dir="auto">would be the same as with <code class="notranslate">how="left"</code>, as the documentation <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.merge.html" rel="nofollow">https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.merge.html</a> says:</p> <ul dir="auto"> <li>left: use only keys from left frame, similar to a SQL left outer join; <em><strong>preserve key order</strong></em></li> <li>inner: use intersection of keys from both frames, similar to a SQL inner join; <em><strong>preserve the order of the left keys</strong></em></li> </ul> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]<br> INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 3.6.2.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 4.4.0-103-generic<br> machine: x86_64<br> processor: x86_64<br> byteorder: little<br> LC_ALL: None<br> LANG: en_US.UTF-8<br> LOCALE: en_US.UTF-8<br> pandas: 0.20.3<br> pytest: None<br> pip: 9.0.1<br> setuptools: 36.4.0<br> Cython: None<br> numpy: 1.13.1<br> scipy: 0.19.1<br> xarray: None<br> IPython: None<br> sphinx: None<br> patsy: 0.4.1<br> dateutil: 2.6.1<br> pytz: 2017.2<br> blosc: None<br> bottleneck: None<br> tables: None<br> numexpr: None<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: None<br> xlrd: None<br> xlwt: None<br> xlsxwriter: None<br> lxml: None<br> bs4: None<br> html5lib: None<br> sqlalchemy: 1.1.13<br> pymysql: 0.7.9.None<br> psycopg2: None<br> jinja2: None<br> s3fs: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
1
<h1 dir="auto">Feature request</h1> <p dir="auto">This one is simple, expose 'createElement' on the <code class="notranslate">Vue</code> object, so that <code class="notranslate">h</code> can be omitted from the <code class="notranslate">render</code> function. So that when JSX is typed, we can lower the error margin, by excluding one step.</p>
<h3 dir="auto">What problem does this feature solve?</h3> <p dir="auto">Hello Vue community,<br> I searched the issues but couldn't find anything related to this, hope it's not a duplicate.</p> <p dir="auto">Recently Realworld.io is collecting a real world example of a blogging app written in different frameworks. There are already projects for react, angular, elm etc. It would be nice if the vue community helped to make the vue example.</p> <p dir="auto">Please take a look:</p> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="222885267" data-permission-text="Title is private" data-url="https://github.com/gothinkster/realworld/issues/7" data-hovercard-type="issue" data-hovercard-url="/gothinkster/realworld/issues/7/hovercard" href="https://github.com/gothinkster/realworld/issues/7">gothinkster/realworld#7</a></p> <h3 dir="auto">What does the proposed API look like?</h3> <p dir="auto">A full example of creating a blog using Vuejs, based on the spec of realworld.io</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.34]</li> <li>Operating System: [macOS 13.2]</li> <li>Browser: [Chromium]</li> <li>Other info:</li> </ul> <p dir="auto">the uta site is:</p> <p dir="auto">[https://github.com/your_profile/playwright_issue_title]](<a href="https://bonigarcia.dev/selenium-webdriver-java/drag-and-drop.html" rel="nofollow">https://bonigarcia.dev/selenium-webdriver-java/drag-and-drop.html</a>)</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.33</li> <li>Operating System: Windows 10</li> <li>Browser: Chromium</li> <li>Other info:</li> </ul> <h3 dir="auto">Issue Description</h3> <p dir="auto">I want to verify the contents of tips when hovers over some locators.</p> <ul dir="auto"> <li>Headed Mode <ul dir="auto"> <li>Locator is visible without scrolling: √</li> <li>Locator needs scrolling &amp; depends on hover() itself to <code class="notranslate">scrollIntoView</code>: ×</li> <li>Locator needs scrolling &amp; manually trigger <code class="notranslate">scrollIntoView</code> in advance: √</li> </ul> </li> <li>Headless Mode <ul dir="auto"> <li>First condition above: √</li> <li>Last two items above: ×</li> </ul> </li> </ul> <p dir="auto">Why the 3rd condition worked in Headed while not worked in Headless? How the <code class="notranslate">scrollIntoVieW</code> method works?</p> <p dir="auto">The element needs to be hovered is <strong>a bit special</strong>, it may not depend on :hover, having tested in Chrome DevTools: added force state to it but the content didn't appeared too, so it maybe binds to other listeners.</p> <p dir="auto">I wonder if there is a solution to deal with such condition? Could <code class="notranslate">locator.hover()</code>continuously triggers until <code class="notranslate">expect()</code> statements to be done?</p> <h3 dir="auto">Source code</h3> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="await page.getBytext('other locator nearby to trigger scrollIntoView').click(); await expect(page.getByText('${tip}')).toHaveCount(0); await page.locator('xxx-label:visible').locator('.tool-tip').hover(); await expect(page.getByText('${tip}')).toHaveCount(1);"><pre class="notranslate"><span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getBytext</span><span class="pl-kos">(</span><span class="pl-s">'other locator nearby to trigger scrollIntoView'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">click</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByText</span><span class="pl-kos">(</span><span class="pl-s">'${tip}'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'xxx-label:visible'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'.tool-tip'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">hover</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">getByText</span><span class="pl-kos">(</span><span class="pl-s">'${tip}'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveCount</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run the test</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">All passed</p> <p dir="auto"><strong>Actual</strong></p> <ul dir="auto"> <li>Headed Mode <ul dir="auto"> <li>Locator is visible without scrolling: √</li> <li>Locator needs scrolling &amp; depends on hover() itself to <code class="notranslate">scrollIntoView</code>: ×</li> <li>Locator needs scrolling &amp; manually trigger <code class="notranslate">scrollIntoView</code> in advance: √</li> </ul> </li> <li>Headless Mode <ul dir="auto"> <li>First condition above: √</li> <li>Last two items above: ×</li> </ul> </li> </ul>
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>.):<br> 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> kubectl defaultMode</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br> Bug</p> <p dir="auto">Doing a <code class="notranslate">kubectl edit deployment &lt;deployment&gt;</code> fails with the error unless the <code class="notranslate">defaultMode</code> line is deleted :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre lang="error:" class="notranslate"><code class="notranslate"> </code></pre></div> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;2&quot;, GitVersion:&quot;v1.2.1&quot;, GitCommit:&quot;50809107cd47a1f62da362bccefdd9e6f7076145&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;&quot;, GoVersion:&quot;&quot;, Compiler:&quot;&quot;, Platform:&quot;&quot;}"><pre lang="Client" class="notranslate"><code class="notranslate">Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.1", GitCommit:"50809107cd47a1f62da362bccefdd9e6f7076145", GitTreeState:"clean", BuildDate:"", GoVersion:"", Compiler:"", Platform:""} </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: aws</li> <li><strong>OS</strong> (e.g. from /etc/os-release): debian/jessie</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): n/a</li> <li><strong>Install tools</strong>: kube-up.sh</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> kubectl edit failed<br> <code class="notranslate">error: found invalid field defaultMode for v1.DownwardAPIVolumeSource</code></p> <p dir="auto"><strong>What you expected to happen</strong>:<br> kubectl edit succeeded.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> use <code class="notranslate">kubectl edit deployment &lt;deployment&gt;</code> with kubectl version 1.4 talking to a kubernetes 1.2 cluster for a deployment that is using the Downward API eg.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nginx spec: template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: # name must match the volume name below - name: podinfo mountPath: /mnt readOnly: false volumes: - name: podinfo downwardAPI: items: - path: &quot;annotations&quot; fieldRef: fieldPath: metadata.annotations"><pre class="notranslate"><code class="notranslate">apiVersion: extensions/v1beta1 kind: Deployment metadata: name: nginx spec: template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerPort: 80 volumeMounts: # name must match the volume name below - name: podinfo mountPath: /mnt readOnly: false volumes: - name: podinfo downwardAPI: items: - path: "annotations" fieldRef: fieldPath: metadata.annotations </code></pre></div> <p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <p dir="auto"><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> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): 1.3.8 custom build - the code seems to still be in place in master.</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: OpenStack</li> <li><strong>OS</strong> (e.g. from /etc/os-release): VERSION="14.04.5 LTS, Trusty Tahr"</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.4.0-38-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35453339" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/57" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/57/hovercard" href="https://github.com/kubernetes/kubernetes/pull/57">#57</a>~14.04.1-Ubuntu SMP Tue Sep 6 17:20:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li> <li><strong>Install tools</strong>: Custom</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> When the OpenStack Nova API is not accessible Nodes are marked as "NotReady"</p> <p dir="auto">The OpenStack cloud providers seems to call Nova on a schedule to get information.<br> If the API is not contactable, kubelet fails to call back to the masters, and gets marked as NotReady.</p> <p dir="auto">Masters also call the Nova API, and when it fails, it can mark all nodes as NotReady.</p> <p dir="auto"><strong>What you expected to happen</strong>:</p> <p dir="auto">Nothing - the cluster should still work, regardless of Nova's API</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto">Install Kubernetes using the OpenStack provider.</p> <p dir="auto">On the OpenStack controller stop the nova-api process.</p>
0
<p dir="auto">i tryin to build a port scanner with Deno<br> Deno.connect() need timeout for close tcp connection<br> i want when create connection after few seconds If did not get an answer do abort</p> <p dir="auto">like a nodejs:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const { Socket } = require(&quot;net&quot;); const socket = new Socket(); socket.on(&quot;timeout&quot;, () =&gt; { socket.destroy(); }); socket.setTimeout(200); socket.connect(80, '8.8.8.8');"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> Socket <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"net"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">socket</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Socket</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">"timeout"</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-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">destroy</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">socket</span><span class="pl-kos">.</span><span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-c1">200</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-c1">80</span><span class="pl-kos">,</span> <span class="pl-s">'8.8.8.8'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">thanks</p>
<p dir="auto">Hey,</p> <p dir="auto">It would be really cool if Deno aligned with the web platform's cancellation primitive AbortSignal/AbortController which Deno already supports but not in most of its APIs.</p> <p dir="auto">Myself and a few others have been adding support for AbortSignal to all of the APIs it fits in Node.js to make it easier for people to write universal JavaScript code. For example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Deno.readTextFile('./someFile', { signal }); Deno.writeTextFile('./someFile', { signal });"><pre class="notranslate"><span class="pl-v">Deno</span><span class="pl-kos">.</span><span class="pl-en">readTextFile</span><span class="pl-kos">(</span><span class="pl-s">'./someFile'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> signal <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-v">Deno</span><span class="pl-kos">.</span><span class="pl-en">writeTextFile</span><span class="pl-kos">(</span><span class="pl-s">'./someFile'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> signal <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">And more generally - in Deno's stream abstractions. Would you be open to adding this?</p> <p dir="auto">(Sorry for not being too available on Discord with the baby/health stuff/new job :))</p>
1
<p dir="auto">When I change app code, vendors.js will have a slight change as following image shows, this prevents me from doing long term caching.<br> It seems that chunk 0 refers to my app chunk, but it's unnecessary to have this in my vendors file.<br> How am I supposed to do to keep my vendors content same when I just change my app code?<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4210829/11013456/79624da8-8549-11e5-969c-30ae58083f9d.png"><img src="https://cloud.githubusercontent.com/assets/4210829/11013456/79624da8-8549-11e5-969c-30ae58083f9d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I'm trying to split my vendor code from my app code and got it all working. However, every time I change some code in my app and create a new build, the vendor file gets a new chunkhash and thus is downloaded by the clients again. The contents are exactly the same though.</p> <p dir="auto">Here is a fully working small example showing the problem: <a href="https://github.com/kevinrenskers/chunkhash-problem">https://github.com/kevinrenskers/chunkhash-problem</a></p> <p dir="auto">And as you can see, the contents of these files are 100% identical even though the chunkhash keeps changing:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/229384/8997650/7d59d360-3713-11e5-9ea6-691012429126.png"><img src="https://cloud.githubusercontent.com/assets/229384/8997650/7d59d360-3713-11e5-9ea6-691012429126.png" alt="screen shot 2015-07-30 at 22 47 59" style="max-width: 100%;"></a></p>
1
<p dir="auto">Hi,</p> <p dir="auto">I was wondering if there are plans to release tensorflow for Python 3.6 and if so is there ETA?</p> <p dir="auto">Thank you.</p>
<p dir="auto">The current .whl does not support python 3.6. Please update to support the latest version of python. Thanks!</p> <p dir="auto">C:\WINDOWS\system32&gt;python --version<br> Python 3.6.0</p> <p dir="auto">C:\WINDOWS\system32&gt;pip install --upgrade <a href="https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl" rel="nofollow">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl</a><br> tensorflow-0.12.1-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.</p>
1
<p dir="auto"><a href="https://github.com/scipy/scipy/blob/v0.17.0/scipy/signal/ltisys.py#L352"><code class="notranslate">ss2zpk</code> is implemented as</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="return tf2zpk(*ss2tf(A, B, C, D, input=input))"><pre class="notranslate"><code class="notranslate">return tf2zpk(*ss2tf(A, B, C, D, input=input)) </code></pre></div> <p dir="auto">Please don't go through transfer-function form as it throws away numerical accuracy.</p> <p dir="auto">I am not sure of the best way to implement ss2zpk. The poles are easy: get the eigenvalues. Not sure about the zeros.</p> <p dir="auto">Related to the inverse function <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="137647139" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/5912" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/5912/hovercard" href="https://github.com/scipy/scipy/issues/5912">#5912</a>.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def ss2zpk(A, B, C, D, input=0): return tf2zpk(*ss2tf(A, B, C, D, input=input))"><pre class="notranslate"><code class="notranslate">def ss2zpk(A, B, C, D, input=0): return tf2zpk(*ss2tf(A, B, C, D, input=input)) </code></pre></div> <p dir="auto">I believe this has numerical stability problems, same as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="22972382" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/3085" data-hovercard-type="pull_request" data-hovercard-url="/scipy/scipy/pull/3085/hovercard" href="https://github.com/scipy/scipy/pull/3085">#3085</a></p>
1
<p dir="auto">Usually a mouse has 2 buttons but now a days many mice comes with more than 2 buttons and sometimes I need to remap those buttons.<br> Like the wheel button I want it to open the windows menu or the windows search, etc</p> <p dir="auto">And the next feature is the remapping of keys for multiple keyboards.Like if I have Two keyboards the the secondary keyboard can be completely remapped .</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.19041.329 PowerToys version: 0.19.1 PowerToy module for which you are reporting the bug (if applicable): PT Run"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.19041.329 PowerToys version: 0.19.1 PowerToy module for which you are reporting the bug (if applicable): PT Run </code></pre></div> <p dir="auto">Run at Startup and Always Run as Administrator are both on. PowerToys Runner shows up in Task Manager.</p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>Make sure your keyboard shortcut to open PT run is <code class="notranslate">Alt</code>+<code class="notranslate">Space</code></li> <li>Press <code class="notranslate">Alt</code>+<code class="notranslate">Space</code></li> </ol> <h1 dir="auto">Expected behaviour</h1> <p dir="auto">PT run opens</p> <h1 dir="auto">Actual behaviour</h1> <p dir="auto">Nothing</p>
0
<p dir="auto">Hey,<br> Is there any way point my route to allow "www.domain.com" or "domain.com" without duplicate the route?</p>
<p dir="auto">Optional placeholders are not implemented yet for the host (unlike the path).<br> So given <code class="notranslate">{subdomain}.domain.com</code> it cannot match <code class="notranslate">domain.com</code> because the dot is statically required.</p> <p dir="auto">Ref. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="10153046" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/6821" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/6821/hovercard" href="https://github.com/symfony/symfony/issues/6821">#6821</a></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: Microsoft Windows [Versione 10.0.18362.836] PowerToys version: 0.18.1 PowerToy module for which you are reporting the bug (if applicable):"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Versione 10.0.18362.836] PowerToys version: 0.18.1 PowerToy module for which you are reporting the bug (if applicable): </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Simply search</p> <h1 dir="auto">Expected behavior</h1> <h1 dir="auto">Actual behavior</h1> <p dir="auto">When used it does not search the files and the folders, only the programs.</p> <h1 dir="auto">Screenshots</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4964552/82926518-9bb1b880-9f7f-11ea-9c3b-571525187b62.png"><img src="https://user-images.githubusercontent.com/4964552/82926518-9bb1b880-9f7f-11ea-9c3b-571525187b62.png" alt="No folder-files search" style="max-width: 100%;"></a><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4964552/82926675-d6b3ec00-9f7f-11ea-9e67-259332946961.png"><img src="https://user-images.githubusercontent.com/4964552/82926675-d6b3ec00-9f7f-11ea-9e67-259332946961.png" alt="No folder-files search2" style="max-width: 100%;"></a></p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Windows 10 Home Single Language 1909 PowerToys version: 0.18.1 PowerToy module for which you are reporting the bug (if applicable): Run"><pre class="notranslate"><code class="notranslate">Windows build number: Windows 10 Home Single Language 1909 PowerToys version: 0.18.1 PowerToy module for which you are reporting the bug (if applicable): Run </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">The v0.18.1 is only able to search for programs but not individual files, even when running in administrator mode.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The v0.18.0 could search for all files and programs. The same was expected of the update.<br> For the sake of complete reporting, I went back and installed v0.18.0 and did not experience the issue, which would rule out any problem caused by settings on the device.</p> <h1 dir="auto">Actual behavior</h1> <h1 dir="auto">Screenshots</h1>
1
<p dir="auto">Let and var parameters of Javascript are not being colorized properly when used as part of a longer word/parameter inside a function.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12900364/13649641/7e700b2c-e5f3-11e5-9427-eacbcde85757.JPG"><img src="https://cloud.githubusercontent.com/assets/12900364/13649641/7e700b2c-e5f3-11e5-9427-eacbcde85757.JPG" alt="parametercolor" style="max-width: 100%;"></a></p> <p dir="auto"><code class="notranslate">fcamelCase = function( all, letter, lettuce, constest ) { var variance = letter.toUpperCase(); return variance; };</code></p> <p dir="auto">This is effecting the latest Alpha build (0.10.12-alpha)</p>
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/f111fei/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/f111fei">@f111fei</a> on February 23, 2016 6:14</em></p> <p dir="auto">version: 0.10.10<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7069719/13243197/80630302-da37-11e5-9ccf-a63d6f23433d.png"><img src="https://cloud.githubusercontent.com/assets/7069719/13243197/80630302-da37-11e5-9ccf-a63d6f23433d.png" alt="2" style="max-width: 100%;"></a></p> <p dir="auto"><code class="notranslate">letter</code></p> <p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="135646950" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3270" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3270/hovercard" href="https://github.com/microsoft/vscode/issues/3270">microsoft/vscode#3270</a></em></p>
1
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li> 6.0.8 </li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li> Windows 10 (Build 18362) </li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li> 6.0.2 </li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">For the node-gyp to properly compile my native add on.</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Getting a compiler error:</p> <p dir="auto"><code class="notranslate">node.lib(node.exe) : fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x64'</code> (this file comes from <a href="https://atom.io/download/electron" rel="nofollow">https://atom.io/download/electron</a>)</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto">Run node-gyp for a native add on...</p> <p dir="auto"><code class="notranslate">node-gyp build --target=6.0.8 --arch=x64 --dist-url=https://atom.io/download/electron</code></p> <h3 dir="auto">Screenshots</h3> <h3 dir="auto">Additional Information</h3> <p dir="auto">This is only happening on x64, ia32 is still working as intended.</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.8</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>Windows Server 2016 and 2019</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>6.0.7</li> </ul> </li> </ul> <p dir="auto">With the 6.0.8 binaries, native module builds are now failing with:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="node.lib(node.exe) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions "><pre class="notranslate"><code class="notranslate">node.lib(node.exe) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions </code></pre></div>
1
<p dir="auto">Viewing page in chrome with basic fluid layout. After resizing browser window to minimum in width and resizing back to normal size the dropdown in nav-bar doesn't open.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/cd28b3aa5682b3884cd93365d2da9ebf5b77f22baabd3d27af50bf0e852f98f8/687474703a2f2f6661726d382e737461746963666c69636b722e636f6d2f373230312f363739393936373539385f666239646135636234315f7a2e6a7067"><img src="https://camo.githubusercontent.com/cd28b3aa5682b3884cd93365d2da9ebf5b77f22baabd3d27af50bf0e852f98f8/687474703a2f2f6661726d382e737461746963666c69636b722e636f6d2f373230312f363739393936373539385f666239646135636234315f7a2e6a7067" alt="Image" data-canonical-src="http://farm8.staticflickr.com/7201/6799967598_fb9da5cb41_z.jpg" style="max-width: 100%;"></a></p>
<p dir="auto">Minor issue but...</p> <p dir="auto">If you have a responsive page with navbar and a dropdown in the navbar, and you make your browser small, then click the responsive menu button to uncollapse the menu, then open your browser large again, the navbar dropdown no longer works.</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: [versão 10.0.19631.1] PowerToys version: v0.18.1 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run"><pre class="notranslate"><code class="notranslate">Windows build number: [versão 10.0.19631.1] PowerToys version: v0.18.1 PowerToy module for which you are reporting the bug (if applicable): PowerToys Run </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">By checking Task Manager</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The PowerToy Run service called PowerLuncher is consuming almost half of the device's CPU and memory when running. After disabling the function, the consumption dropped to 6%, even while running IntelliJ, VSCode, Edge, and Groove at the same time. Please check the screenshots below:</p> <h1 dir="auto">Actual behavior</h1> <h1 dir="auto">Screenshots</h1> <p dir="auto">With PowerToy Run enabled:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/53407126/82845659-c5091080-9ebb-11ea-96dd-15bdd3d57053.PNG"><img src="https://user-images.githubusercontent.com/53407126/82845659-c5091080-9ebb-11ea-96dd-15bdd3d57053.PNG" alt="PowerLauncher" style="max-width: 100%;"></a></p> <p dir="auto">With PowerToy disabled:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/53407126/82845660-c63a3d80-9ebb-11ea-926b-392fb801f8e3.PNG"><img src="https://user-images.githubusercontent.com/53407126/82845660-c63a3d80-9ebb-11ea-926b-392fb801f8e3.PNG" alt="PowerLauncherDisabled" style="max-width: 100%;"></a></p>
<p dir="auto">PowerLauncher.exe keeps ramping up to ~60% CPU usage in task manager and then back down to 0%. It happens about every 2 seconds or so.</p> <h1 dir="auto">Environment</h1> <p dir="auto">Windows [Version 10.0.18363.720]<br> PowerToys 0.18<br> PowerLauncher</p> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">Start PowerToys.</p> <h1 dir="auto">Screenshots</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22208037/82373276-5b849000-99eb-11ea-800e-42316513dec2.png"><img src="https://user-images.githubusercontent.com/22208037/82373276-5b849000-99eb-11ea-800e-42316513dec2.png" alt="Taskmgr_2020-05-19_16-10-54" style="max-width: 100%;"></a></p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=narada" rel="nofollow">Narada Sage</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6652?redirect=false" rel="nofollow">SPR-6652</a></strong> and commented</p> <p dir="auto">Hi,</p> <p dir="auto">As mentioned in forum post there is a bug in the spel documentation where a method is used on the interface that in fact only exists on the concrete class. More details on the forum post.</p> <p dir="auto">Many thanks.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.0 GA</p> <p dir="auto"><strong>Reference URL:</strong> <a href="http://forum.springsource.org/showthread.php?t=82258" rel="nofollow">http://forum.springsource.org/showthread.php?t=82258</a></p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398102044" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11380" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11380/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11380">#11380</a> Wrong example of SpEL in chapter 6.3 in reference documentation (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=anders" rel="nofollow">Anders Wallgren</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-5275?redirect=false" rel="nofollow">SPR-5275</a></strong> and commented</p> <p dir="auto">This method throws an exception if the linked exception's message is null. I've patched it locally as follow:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/** * Build a descriptive exception message for the given JMSException, * incorporating a linked exception's message if appropriate. * @param ex the JMSException to build a message for * @return the descriptive message String * @see javax.jms.JMSException#getLinkedException() */ public static String buildExceptionMessage(JMSException ex) { String message = ex.getMessage(); Exception linkedEx = ex.getLinkedException(); if (linkedEx != null &amp;&amp; (linkedEx.getMessage() == null || message.indexOf(linkedEx.getMessage()) == -1)) { message = message + &quot;; nested exception is &quot; + linkedEx; } return message; }"><pre class="notranslate"><code class="notranslate">/** * Build a descriptive exception message for the given JMSException, * incorporating a linked exception's message if appropriate. * @param ex the JMSException to build a message for * @return the descriptive message String * @see javax.jms.JMSException#getLinkedException() */ public static String buildExceptionMessage(JMSException ex) { String message = ex.getMessage(); Exception linkedEx = ex.getLinkedException(); if (linkedEx != null &amp;&amp; (linkedEx.getMessage() == null || message.indexOf(linkedEx.getMessage()) == -1)) { message = message + "; nested exception is " + linkedEx; } return message; } </code></pre></div> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.6</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398092193" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10005" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10005/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10005">#10005</a> JmsException.getMessage throws NPE if a cause doesn't have a message (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398092677" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10075" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10075/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10075">#10075</a> NullPointerException in JmsException (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398095277" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10455" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10455/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10455">#10455</a> NullPointerException in JmsUtils.buildExceptionMessage (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398096435" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10626" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10626/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10626">#10626</a> NullPointerException in JmsUtils.buildExceptionMessage() (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398097159" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10721" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10721/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10721">#10721</a> NullPointerException can occur from JmsUtils.buildException (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398093140" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10143" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10143/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10143">#10143</a> Possible NPE in JmsUtils.buildExceptionMessage and JmsException.getMessage (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
0
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging/102/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging/102/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 0 pods per node {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 05:34:50.005: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 89128960; got 90804224 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 89128960; got 94658560"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 05:34:50.005: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container "runtime": expected RSS memory (MB) &lt; 89128960; got 90804224 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container "runtime": expected RSS memory (MB) &lt; 89128960; got 94658560 </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="158397793" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26784" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26784/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26784">#26784</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163478516" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28384" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28384/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28384">#28384</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177833576" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33023" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33023/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33023">#33023</a></p> <p dir="auto">Failed: [k8s.io] Services should be able to up and down 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/service.go:279 Expected error: &lt;*errors.errorString | 0xc821baaa10&gt;: { s: &quot;service verification failed for: 10.183.250.211\nexpected [service3-28pod service3-5ucxe service3-xrm2i]\nreceived [service3-28pod service3-xrm2i]&quot;, } service verification failed for: 10.183.250.211 expected [service3-28pod service3-5ucxe service3-xrm2i] received [service3-28pod service3-xrm2i] 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.go:279 Expected error: &lt;*errors.errorString | 0xc821baaa10&gt;: { s: "service verification failed for: 10.183.250.211\nexpected [service3-28pod service3-5ucxe service3-xrm2i]\nreceived [service3-28pod service3-xrm2i]", } service verification failed for: 10.183.250.211 expected [service3-28pod service3-5ucxe service3-xrm2i] received [service3-28pod service3-xrm2i] 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="156404688" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26128" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26128/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26128">#26128</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158070247" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26685" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26685/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26685">#26685</a></p> <p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 04:21:50.303: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 314572800; got 522530816 node gke-jenkins-e2e-default-pool-5ae4c0ed-q0jk: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 314572800; got 517349376 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 314572800; got 531079168"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 04:21:50.303: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container "runtime": expected RSS memory (MB) &lt; 314572800; got 522530816 node gke-jenkins-e2e-default-pool-5ae4c0ed-q0jk: container "runtime": expected RSS memory (MB) &lt; 314572800; got 517349376 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container "runtime": expected RSS memory (MB) &lt; 314572800; got 531079168 </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="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34035" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34035/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34035">#34035</a></p> <p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 35 pods per node {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 04:45:37.011: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-q0jk: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 157286400; got 233512960 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 157286400; got 248258560 node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container &quot;runtime&quot;: expected RSS memory (MB) &lt; 157286400; got 241520640"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:277 Oct 21 04:45:37.011: Memory usage exceeding limits: node gke-jenkins-e2e-default-pool-5ae4c0ed-q0jk: container "runtime": expected RSS memory (MB) &lt; 157286400; got 233512960 node gke-jenkins-e2e-default-pool-5ae4c0ed-rk9d: container "runtime": expected RSS memory (MB) &lt; 157286400; got 248258560 node gke-jenkins-e2e-default-pool-5ae4c0ed-6cql: container "runtime": expected RSS memory (MB) &lt; 157286400; got 241520640 </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="162928137" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28220" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28220/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28220">#28220</a></p> <p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178984957" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33403" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33403/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33403">#33403</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962359" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34034" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34034/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34034">#34034</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181036611" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34065" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34065/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34065">#34065</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging/80/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gci-gke-staging/80/</a></p> <p dir="auto">Multiple broken tests:</p> <p dir="auto">Failed: [k8s.io] DaemonRestart [Disruptive] Kubelet should not restart containers across restart {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/daemon_restart.go:245 Expected error: &lt;*errors.errorString | 0xc8216f5ac0&gt;: { s: &quot;Only 8 pods started out of 10&quot;, } Only 8 pods started out of 10 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/daemon_restart.go:214"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/daemon_restart.go:245 Expected error: &lt;*errors.errorString | 0xc8216f5ac0&gt;: { s: "Only 8 pods started out of 10", } Only 8 pods started out of 10 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/daemon_restart.go:214 </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="160550846" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27502" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27502/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27502">#27502</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164645380" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28722" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28722/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28722">#28722</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174924311" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32037" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32037/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32037">#32037</a></p> <p dir="auto">Failed: [k8s.io] Pod Disks Should schedule a pod w/ a RW PD, gracefully remove it, then schedule it on another host [Slow] {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/pd.go:203 Expected error: &lt;*errors.errorString | 0xc8201a6b80&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/pd.go:184"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:203 Expected error: &lt;*errors.errorString | 0xc8201a6b80&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/pd.go:184 </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="163133487" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28283" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28283/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28283">#28283</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/horizontal_pod_autoscaling.go:88 Oct 15 06:09:42.714: timeout waiting 15m0s for pods size to be 2 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/autoscaling_utils.go:284"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/horizontal_pod_autoscaling.go:88 Oct 15 06:09:42.714: timeout waiting 15m0s for pods size to be 2 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/autoscaling_utils.go:284 </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] Nodes [Disruptive] [k8s.io] Resize [Slow] should be able to add nodes {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/resize_nodes.go:478 Expected error: &lt;*errors.errorString | 0xc821808070&gt;: { s: &quot;failed to wait for pods running: [timed out waiting for the condition]&quot;, } failed to wait for pods running: [timed out waiting for the condition] not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:463"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:478 Expected error: &lt;*errors.errorString | 0xc821808070&gt;: { s: "failed to wait for pods running: [timed out waiting for the condition]", } failed to wait for pods running: [timed out waiting for the condition] not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:463 </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="160513595" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27470" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27470/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27470">#27470</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169668085" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30156" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30156/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30156">#30156</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181600319" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34304" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34304/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34304">#34304</a></p> <p dir="auto">Failed: [k8s.io] DNS should provide DNS for the cluster [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/dns.go:352 Expected error: &lt;*errors.errorString | 0xc8201a6b80&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/dns.go:236"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/dns.go:352 Expected error: &lt;*errors.errorString | 0xc8201a6b80&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/dns.go:236 </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="156581190" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26194" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26194/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26194">#26194</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156905148" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26338" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26338/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26338">#26338</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170359954" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30345" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30345/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30345">#30345</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="182368043" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34571" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34571/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34571">#34571</a></p> <p dir="auto">Failed: [k8s.io] Nodes [Disruptive] [k8s.io] Network when a node becomes unreachable All pods on the unreachable node should be marked as NotReady upon the node turn NotReady AND all pods should be mark back to Ready when the node get back to Ready before pod eviction timeout {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/resize_nodes.go:638 Oct 15 01:49:27.668: Failed to observe node ready status change to false /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:360"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:638 Oct 15 01:49:27.668: Failed to observe node ready status change to false /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:360 </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="169757626" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30187" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30187/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30187">#30187</a></p> <p dir="auto">Failed: [k8s.io] Nodes [Disruptive] [k8s.io] Resize [Slow] should be able to delete nodes {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/resize_nodes.go:452 Expected error: &lt;*errors.errorString | 0xc821583170&gt;: { s: &quot;timeout waiting 10m0s for cluster size to be 2&quot;, } timeout waiting 10m0s for cluster size to be 2 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:447"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:452 Expected error: &lt;*errors.errorString | 0xc821583170&gt;: { s: "timeout waiting 10m0s for cluster size to be 2", } timeout waiting 10m0s for cluster size to be 2 not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:447 </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="159761815" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27233" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27233/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27233">#27233</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/networking.go:55 Expected error: &lt;*errors.errorString | 0xc820b3bda0&gt;: { s: &quot;pod 'wget-test' terminated with failure: &amp;{ExitCode:1 Signal:0 Reason:Error Message: StartedAt:2016-10-15 05:31:01 -0700 PDT FinishedAt:2016-10-15 05:31:31 -0700 PDT ContainerID:docker://175c03f59cc9592909fec069648d8c5862dc017b9bee583d1b17b79d51756d39}&quot;, } pod 'wget-test' terminated with failure: &amp;{ExitCode:1 Signal:0 Reason:Error Message: StartedAt:2016-10-15 05:31:01 -0700 PDT FinishedAt:2016-10-15 05:31:31 -0700 PDT ContainerID:docker://175c03f59cc9592909fec069648d8c5862dc017b9bee583d1b17b79d51756d39} not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:54"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:55 Expected error: &lt;*errors.errorString | 0xc820b3bda0&gt;: { s: "pod 'wget-test' terminated with failure: &amp;{ExitCode:1 Signal:0 Reason:Error Message: StartedAt:2016-10-15 05:31:01 -0700 PDT FinishedAt:2016-10-15 05:31:31 -0700 PDT ContainerID:docker://175c03f59cc9592909fec069648d8c5862dc017b9bee583d1b17b79d51756d39}", } pod 'wget-test' terminated with failure: &amp;{ExitCode:1 Signal:0 Reason:Error Message: StartedAt:2016-10-15 05:31:01 -0700 PDT FinishedAt:2016-10-15 05:31:31 -0700 PDT ContainerID:docker://175c03f59cc9592909fec069648d8c5862dc017b9bee583d1b17b79d51756d39} not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:54 </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] Networking [k8s.io] Granular Checks should function for pod communication between nodes {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/networking.go:271 Expected error: &lt;*errors.errorString | 0xc8222246b0&gt;: { s: &quot;gave up waiting for pod 'different-node-wget' to be 'success or failure' after 5m0s&quot;, } gave up waiting for pod 'different-node-wget' to be 'success or failure' after 5m0s not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:270"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:271 Expected error: &lt;*errors.errorString | 0xc8222246b0&gt;: { s: "gave up waiting for pod 'different-node-wget' to be 'success or failure' after 5m0s", } gave up waiting for pod 'different-node-wget' to be 'success or failure' after 5m0s not to have occurred /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:270 </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="169558821" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30131" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30131/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30131">#30131</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173098090" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31402" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/31402/hovercard" href="https://github.com/kubernetes/kubernetes/issues/31402">#31402</a></p> <p dir="auto">Failed: [k8s.io] Nodes [Disruptive] [k8s.io] Network when a node becomes unreachable [replication controller] recreates pods scheduled on the unreachable node AND allows scheduling of pods on a node after it rejoins the cluster {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/resize_nodes.go:543 Oct 15 03:50:51.613: Node gke-jenkins-e2e-default-pool-5ad68faa-u1fj did not become not-ready within 2m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:329"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:543 Oct 15 03:50:51.613: Node gke-jenkins-e2e-default-pool-5ad68faa-u1fj did not become not-ready within 2m0s /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/resize_nodes.go:329 </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="160068754" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27324" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27324/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27324">#27324</a></p> <p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178984957" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33403" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33403/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33403">#33403</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962359" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34034" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34034/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34034">#34034</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181036611" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34065" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34065/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34065">#34065</a></p>
1
<p dir="auto">I really like the new callouts in the docs, but ask myself why they are reserved for the docs?<br> They look way better than the default alerts, imo they can be replaced by callouts.</p>
<h3 dir="auto">What about modularity in bootstrap 4?</h3> <p dir="auto">I mean separation bootstrap into modules, for example: bootstrap-buttons, bootstrap-navbar, bootstrap-grid etc</p> <h4 dir="auto">Motivation</h4> <p dir="auto">I have worked on some not big projects which needed customized subset of bootstrap: grid, bottons, icons.</p> <p dir="auto">I solved this problem in different ways:</p> <ol dir="auto"> <li>Downloading "compiled" bootstrap (css, one js file) and customizing by my scripts - very hacky =(</li> <li>Building custom bootstrap (by customizing variables). It requires to keep own fork of bootstrap or integrate build stage of bootstrap into build stage of project. It did not solve the problem that custom bootstrap had unnecessary modules.</li> <li>Building necessary part of bootstrap in build stage of project (only necessary less and js files). I faced with errors when mixins was moved to subdirectory.</li> </ol> <p dir="auto">I think that separation bootstrap into modules will make easier the creation of custom builds without unnecessary parts and without unnecessary hacks.</p> <p dir="auto">Bootstrap itself can depend on all its "modules" (bower have "devDependencies" feeld) and I think that bootstrap should have compiled (css, one js) version of all its modules in "dist" folder. It allows to prototype something without build tool.</p>
0
<p dir="auto">Found an error:</p> <p dir="auto"><a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=%0Afunction%20safeAsync%28fn%29%20%7B%0A%20%20return%20async%20%28...args%29%20%3D%3E%20%7B%0A%20%20%20%20try%20%7B%0A%20%20%20%20%20%20await%20fn%28...args%29%0A%20%20%20%20%7D%20catch%20%28err%29%20%7B%0A%20%20%20%20%20%20handleError%28err%29%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Aasync%20function%20a%20%28q%29%20%7B%0A%20%20console.log%28q%29%0A%7D%0A%0Aasync%20function%20m%28%29%20%7B%0A%20%20await%20safeAsync%28a%29%28123%29%0A%7D%0A%0Am%28%29%0A" rel="nofollow">Example 1</a></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function safeAsync(fn) { return async (...args) =&gt; { try { await fn(...args) } catch (err) { handleError(err) } } } async function a(q) { console.log(q) } async function m() { await safeAsync(a)(123) } // should print 123, but prints [Function a] m()"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">safeAsync</span><span class="pl-kos">(</span><span class="pl-s1">fn</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">async</span> <span class="pl-kos">(</span>...<span class="pl-s1">args</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-k">await</span> <span class="pl-s1">fn</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">handleError</span><span class="pl-kos">(</span><span class="pl-s1">err</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">async</span> <span class="pl-k">function</span> <span class="pl-en">a</span><span class="pl-kos">(</span><span class="pl-s1">q</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">q</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">m</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-en">safeAsync</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">123</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-c">// should print 123, but prints [Function a]</span> <span class="pl-en">m</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div> <p dir="auto">But if I add <code class="notranslate">console.log(args)</code>, it's working:</p> <p dir="auto"><a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=%0Afunction%20safeAsync%28fn%29%20%7B%0A%20%20return%20async%20%28...args%29%20%3D%3E%20%7B%0A%20%20%20%20try%20%7B%0A%20%20%20%20%20%20console.log%28args%29%0A%20%20%20%20%20%20await%20fn%28...args%29%0A%20%20%20%20%7D%20catch%20%28err%29%20%7B%0A%20%20%20%20%20%20handleError%28err%29%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Aasync%20function%20a%20%28q%29%20%7B%0A%20%20console.log%28q%29%0A%7D%0A%0Aasync%20function%20m%28%29%20%7B%0A%20%20await%20safeAsync%28a%29%28123%29%0A%7D%0A%0Am%28%29%0A" rel="nofollow">Example 2</a></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function safeAsync(fn) { return async (...args) =&gt; { try { console.log(args) await fn(...args) } catch (err) { handleError(err) } } } async function a (q) { console.log(q) } async function m() { await safeAsync(a)(123) } // prints [123] 123 as expected m()"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">safeAsync</span><span class="pl-kos">(</span><span class="pl-s1">fn</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">async</span> <span class="pl-kos">(</span>...<span class="pl-s1">args</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-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">fn</span><span class="pl-kos">(</span>...<span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">handleError</span><span class="pl-kos">(</span><span class="pl-s1">err</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">async</span> <span class="pl-k">function</span> <span class="pl-en">a</span> <span class="pl-kos">(</span><span class="pl-s1">q</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">q</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-k">async</span> <span class="pl-k">function</span> <span class="pl-en">m</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-en">safeAsync</span><span class="pl-kos">(</span><span class="pl-s1">a</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-c1">123</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-c">// prints [123] 123 as expected</span> <span class="pl-en">m</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Hi,</p> <p dir="auto">It seems there is a bug when combining async + rest parameters syntax.<br> Here is a simplified version that reproduces the case with a simple async of value.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const foo = async (...msgs) =&gt; { let t = await msgs[0]; console.log(t); } foo('a'); // displays &quot;{}&quot; instead of &quot;a&quot; value"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">foo</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span>...<span class="pl-s1">msgs</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> <span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">msgs</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">t</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// displays "{}" instead of "a" value</span></pre></div> <p dir="auto">Just by adding <code class="notranslate">console.log(msgs)</code>, it makes it work.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const foo = async (...msgs) =&gt; { console.log(msgs); let t = await msgs[0]; console.log(t); } foo('a'); // displays &quot;a&quot; "><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-en">foo</span> <span class="pl-c1">=</span> <span class="pl-k">async</span> <span class="pl-kos">(</span>...<span class="pl-s1">msgs</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">msgs</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">msgs</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">t</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-s">'a'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// displays "a" </span></pre></div> <p dir="auto">Basically, adding <code class="notranslate">console.log(msgs)</code> moves the args to a distinct array:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="for (var _len = arguments.length, msgs = Array(_len), _key = 0; _key &lt; _len; _key++) { msgs[_key] = arguments[_key]; }"><pre class="notranslate"><code class="notranslate">for (var _len = arguments.length, msgs = Array(_len), _key = 0; _key &lt; _len; _key++) { msgs[_key] = arguments[_key]; } </code></pre></div> <p dir="auto">In the repl:<br> <a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=const%20asyncArg%20%3D%20async%20(msg)%20%3D%3E%20%7B%0D%0A%20%20let%20t%20%3D%20await%20msg%3B%0D%0A%20%20console.log(t)%3B%0D%0A%7D%0D%0A%0D%0Aconst%20asyncArgs%20%3D%20async%20(...msgs)%20%3D%3E%20%7B%0D%0A%20%20let%20t%20%3D%20await%20msgs%5B0%5D%3B%0D%0A%20%20console.log(t)%3B%0D%0A%7D%0D%0A%0D%0AasyncArg('1')%3B%0D%0AasyncArgs('2')%3B%0D%0A" rel="nofollow">https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;code=const%20asyncArg%20%3D%20async%20(msg)%20%3D%3E%20%7B%0D%0A%20%20let%20t%20%3D%20await%20msg%3B%0D%0A%20%20console.log(t)%3B%0D%0A%7D%0D%0A%0D%0Aconst%20asyncArgs%20%3D%20async%20(...msgs)%20%3D%3E%20%7B%0D%0A%20%20let%20t%20%3D%20await%20msgs%5B0%5D%3B%0D%0A%20%20console.log(t)%3B%0D%0A%7D%0D%0A%0D%0AasyncArg('1')%3B%0D%0AasyncArgs('2')%3B%0D%0A</a></p>
1
<p dir="auto">This is reproducible by deleting an index, not waiting for the response, then trying to bulk index into that index, (ie the requests were run in parallel):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2014-01-11 14:34:30,541][INFO ][cluster.metadata ] [Justin Hammer] [test_index] creating index, cause [auto(bulk api)], shards [5]/[1], mappings [] [2014-01-11 14:34:31,007][INFO ][cluster.metadata ] [Justin Hammer] [test_index] update_mapping [test_type] (dynamic) [2014-01-11 14:34:33,131][INFO ][cluster.metadata ] [Justin Hammer] [test_index] deleting index [2014-01-11 14:34:33,156][DEBUG][action.bulk ] [Justin Hammer] [test_index][0], node[LthVQsuVRsyVgKZZr8_gpA], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.bulk.BulkShardRequest@cfd5855] java.lang.NullPointerException at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:136) at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:73) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performReplicas(TransportShardReplicationOperationAction.java:610) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:557) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)"><pre class="notranslate"><code class="notranslate">[2014-01-11 14:34:30,541][INFO ][cluster.metadata ] [Justin Hammer] [test_index] creating index, cause [auto(bulk api)], shards [5]/[1], mappings [] [2014-01-11 14:34:31,007][INFO ][cluster.metadata ] [Justin Hammer] [test_index] update_mapping [test_type] (dynamic) [2014-01-11 14:34:33,131][INFO ][cluster.metadata ] [Justin Hammer] [test_index] deleting index [2014-01-11 14:34:33,156][DEBUG][action.bulk ] [Justin Hammer] [test_index][0], node[LthVQsuVRsyVgKZZr8_gpA], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.bulk.BulkShardRequest@cfd5855] java.lang.NullPointerException at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:136) at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:73) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performReplicas(TransportShardReplicationOperationAction.java:610) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:557) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) </code></pre></div>
<p dir="auto">This happened on elasticsearch 0.90.6 with JVM 1.7.0_25</p> <p dir="auto">Found this in logs, cannot tell what triggered this. The only thing I know is, there are lots of index/search operations going and there seems to be some cluster instability.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2013-XX-YY 08:45:22,518][DEBUG][action.bulk ] [myNode] [logstash-2013.XX.YY][3], node[vXE6ojncQUG-foPsMjVY_w], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.bulk.BulkShardRequest@28c7fa4f] java.lang.NullPointerException at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:138) at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:75) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performReplicas(TransportShardReplicationOperationAction.java:610) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:557) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)"><pre class="notranslate"><code class="notranslate">[2013-XX-YY 08:45:22,518][DEBUG][action.bulk ] [myNode] [logstash-2013.XX.YY][3], node[vXE6ojncQUG-foPsMjVY_w], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.bulk.BulkShardRequest@28c7fa4f] java.lang.NullPointerException at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:138) at org.elasticsearch.action.bulk.TransportShardBulkAction.shards(TransportShardBulkAction.java:75) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performReplicas(TransportShardReplicationOperationAction.java:610) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:557) at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) </code></pre></div>
1
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <p dir="auto">When <code class="notranslate">ELECTRON_RUN_AS_NODE</code> is enabled, <code class="notranslate">setTimeout</code> is basically broken. It works the first time it's used, not the second time.</p> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>Every version between 6.0.0 &amp; 9.0.0-beta12</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>macOS 10.14.6 &amp; Ubuntu 18.04</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>None</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">setTimeout should work consistently</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">When <code class="notranslate">ELECTRON_RUN_AS_NODE</code> is enabled, <code class="notranslate">setTimeout</code> is basically broken. It works the first time it's used, not the second time.</p> <h3 dir="auto">To Reproduce</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/arantes555/electron-bug-settimeout.git $ npm install $ npm start"><pre class="notranslate">$ git clone https://github.com/arantes555/electron-bug-settimeout.git $ npm install $ npm start</pre></div> <p dir="auto">This runs multiple times, with the current node &amp; with versions of electron from 6 to 9.<br> For a given run, it prints <code class="notranslate">IT WORKED!</code> when <code class="notranslate">setTimeout</code> works normally, and nothing otherwise.</p> <h3 dir="auto">Additional Information</h3> <p dir="auto">Somehow, when wrapping the <code class="notranslate">setTimeout</code> in a <code class="notranslate">process.nextTick</code>, or a <code class="notranslate">setImmediate</code>, it works.</p> <p dir="auto">This makes me thing that it's linked to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="174867157" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/7079" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/7079/hovercard" href="https://github.com/electron/electron/issues/7079">#7079</a> and to the activation of the uv loop in lib/common/init.ts .</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 <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">13.1.9</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">Ubuntu</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">Ubuntu 20.04</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto">11.0.5</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Prints the webpage</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Not printing, no error.</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">I found issue tracker with same problem for version 5 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="439703769" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/18123" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/18123/hovercard" href="https://github.com/electron/electron/issues/18123">#18123</a> It is working fine in 11.0.5 but no success with 12 or 13 branch.</p> <p dir="auto">Example:<br> `let printersInfo = printWindow.webContents.getPrinters();<br> let printer = printersInfo.filter(printer =&gt; printer.isDefault === true)[0];<br> const options = {<br> silent: true,<br> deviceName: printer.name<br> }</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" printWindow.webContents.print(options, () =&gt; { printWindow = null; });`"><pre class="notranslate"><code class="notranslate"> printWindow.webContents.print(options, () =&gt; { printWindow = null; });` </code></pre></div>
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>: Linux Ubuntu 16.04.5</li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: N/A</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Issue occurs on both pip binary and compiled from source</li> <li><strong>TensorFlow version (use command below)</strong>: 'v1.8.0-8-g23c2187' 1.8.0</li> <li><strong>Python version</strong>: 3.5.2</li> <li><strong>Bazel version (if compiling from source)</strong>: 0.16.1</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609</li> <li><strong>CUDA/cuDNN version</strong>: CUDA 9.0, cuDNN 7.2.1.38</li> <li><strong>GPU model and memory</strong>: GeForce GTX 1080, 11178MiB</li> <li><strong>Exact command to reproduce</strong>: Cannot share the exact codebase</li> </ul> <h3 dir="auto">Describe the problem</h3> <p dir="auto">Tensorflow attempts to swap-out a node to the CPU to save memory, even when the node is already on CPU.</p> <p dir="auto">This happens in <code class="notranslate">core/grappler/optimizers/memory_optimizers.cc</code> with the op <code class="notranslate">_CopyFromGpuToHost</code>.<br> But since this swapping is intended to save GPU memory by swapping temporarily nodes from GPU to the the CPU, the kernel for that op in <code class="notranslate">core/grappler/optimizers/gpu_swapping_kernels.cc</code> is only for GPU devices.</p> <p dir="auto">A suggested fix will be to simply check if the node to be swapped out is already in CPU before making it eligible for swap_out/swap_in. Note that on reducing the model size this error disappears as more memory becomes free.</p> <h4 dir="auto">Some more information confirming the issue -</h4> <p dir="auto">The op is correctly registered in OpRegistry as shown by <code class="notranslate">tensorflow::OpRegistry::Global()-&gt;DebugString(false)</code>.<br> The OpKernel <code class="notranslate">CopyFromGpuToHostKernel</code> is built according to bazel logs.<br> The OpKernel is loaded on importing tensorflow in python, verified by adding a print in that file using <code class="notranslate">__attribute__((constructor)) )</code></p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">The relevant error is -</p> <p dir="auto">tensorflow.python.framework.errors_impl.NotFoundError: No registered '_CopyFromGpuToHost' OpKernel for CPU devices compatible with node swap_out_context_zoom/GatherNd_2_0 = _CopyFromGpuToHost<a href="_arg_context_sents_len_0_10">T=DT_INT32, _class=["loc@context_zoom/GatherNd_2_0"], _device="/job:localhost/replica:0/task:0/device:CPU:0"</a><br> . Registered: device='GPU'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: swap_out_context_zoom/GatherNd_2_0 = _CopyFromGpuToHost[T=DT_INT32, _class=[&quot;loc@context_zoom/GatherNd_2_0&quot;], _device=&quot;/job:localhost/replica:0/task:0/device:CPU:0&quot;](_arg_context_sents_len_0_10)"><pre class="notranslate"><code class="notranslate"> [[Node: swap_out_context_zoom/GatherNd_2_0 = _CopyFromGpuToHost[T=DT_INT32, _class=["loc@context_zoom/GatherNd_2_0"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_context_sents_len_0_10) </code></pre></div> <p dir="auto">I have attached the full log here -<br> <a href="https://gist.github.com/akhilkedia/c13ff191e08b4462a3870a0b3a091e93">https://gist.github.com/akhilkedia/c13ff191e08b4462a3870a0b3a091e93</a></p>
<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>: Yes. Added some custom TF operators.</li> <li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Ubuntu 18.04</li> <li><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>: N/A</li> <li><strong>TensorFlow installed from (source or binary)</strong>: Binary</li> <li><strong>TensorFlow version (use command below)</strong>:1.10.1</li> <li><strong>Python version</strong>:3</li> <li><strong>Bazel version (if compiling from source)</strong>:</li> <li><strong>GCC/Compiler version (if compiling from source)</strong>:</li> <li><strong>CUDA/cuDNN version</strong>:9.2</li> <li><strong>GPU model and memory</strong>: GeForce GTX 970</li> <li><strong>Exact command to reproduce</strong>:python3 train/train.py --gpu 0 --model frustum_pointnets_v2 --log_dir train/log_v2 --num_point 1024 --max_epoch 201 --batch_size 24 --decay_step 800000 --decay_rate 0.5</li> </ul> <p dir="auto">You can collect some of this information using our environment capture script:</p> <p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p> <p dir="auto">You can obtain the TensorFlow version with</p> <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">Getting an error that "No registered '_CopyFromGpuToHost' OpKernel". Not able to find the refernce to this OpKernel anywhere.</p> <h3 dir="auto">Source code / logs</h3> <p dir="auto">pid: 16638<br> WARNING:tensorflow:From /home/rishi/sw/frustum-pointnets/models/pointnet_util.py:126: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.<br> Instructions for updating:<br> keep_dims is deprecated, use keepdims instead<br> WARNING:tensorflow:From /home/rishi/sw/frustum-pointnets/models/pointnet_util.py:212: calling reduce_sum (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.<br> Instructions for updating:<br> keep_dims is deprecated, use keepdims instead<br> WARNING:tensorflow:From /home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py:519: calling conv1d (from tensorflow.python.ops.nn_ops) with data_format=NHWC is deprecated and will be removed in a future version.<br> Instructions for updating:<br> <code class="notranslate">NHWC</code> for data_format is deprecated, use <code class="notranslate">NWC</code> instead<br> 2018-09-06 19:00:38.848283: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA<br> 2018-09-06 19:00:38.920714: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:897] 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> 2018-09-06 19:00:38.921052: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1405] Found device 0 with properties:<br> name: GeForce GTX 970 major: 5 minor: 2 memoryClockRate(GHz): 1.1775<br> pciBusID: 0000:01:00.0<br> totalMemory: 3.94GiB freeMemory: 3.56GiB<br> 2018-09-06 19:00:38.921067: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1484] Adding visible gpu devices: 0<br> 2018-09-06 19:00:39.115930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:965] Device interconnect StreamExecutor with strength 1 edge matrix:<br> 2018-09-06 19:00:39.115958: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0<br> 2018-09-06 19:00:39.115967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] 0: N<br> 2018-09-06 19:00:39.116154: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1097] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3282 MB memory) -&gt; physical GPU (device: 0, name: GeForce GTX 970, pci bus id: 0000:01:00.0, compute capability: 5.2)<br> **** EPOCH 000 ****<br> 2018-09-06 19:00:42.022472<br> 2018-09-06 19:00:42.305938: W tensorflow/core/framework/allocator.cc:108] Allocation of 50331648 exceeds 10% of system memory.<br> 2018-09-06 19:00:42.322253: W tensorflow/core/framework/allocator.cc:108] Allocation of 50331648 exceeds 10% of system memory.<br> 2018-09-06 19:00:42.337831: W tensorflow/core/framework/allocator.cc:108] Allocation of 100663296 exceeds 10% of system memory.<br> 2018-09-06 19:00:42.368540: W tensorflow/core/framework/allocator.cc:108] Allocation of 100663296 exceeds 10% of system memory.<br> 2018-09-06 19:00:42.401274: W tensorflow/core/framework/allocator.cc:108] Allocation of 50331648 exceeds 10% of system memory.<br> 2018-09-06 19:00:52.106763: E tensorflow/core/common_runtime/executor.cc:697] Executor failed to create kernel. Not found: No registered '_CopyFromGpuToHost' OpKernel for CPU devices compatible with node swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost<a href="fa_layer3/truediv_2/_91">T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"</a><br> . Registered: device='GPU'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=[&quot;loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2&quot;], _device=&quot;/job:localhost/replica:0/task:0/device:CPU:0&quot;](fa_layer3/truediv_2/_91)]]"><pre class="notranslate"><code class="notranslate"> [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](fa_layer3/truediv_2/_91)]] </code></pre></div> <p dir="auto">Traceback (most recent call last):<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1278, in _do_call<br> return fn(*args)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1263, in _run_fn<br> options, feed_dict, fetch_list, target_list, run_metadata)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _call_tf_sessionrun<br> run_metadata)<br> tensorflow.python.framework.errors_impl.NotFoundError: No registered '_CopyFromGpuToHost' OpKernel for CPU devices compatible with node swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost<a href="fa_layer3/truediv_2/_91">T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"</a><br> . Registered: device='GPU'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=[&quot;loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2&quot;], _device=&quot;/job:localhost/replica:0/task:0/device:CPU:0&quot;](fa_layer3/truediv_2/_91)]]"><pre class="notranslate"><code class="notranslate"> [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](fa_layer3/truediv_2/_91)]] </code></pre></div> <p dir="auto">During handling of the above exception, another exception occurred:</p> <p dir="auto">Traceback (most recent call last):<br> File "train/train.py", line 376, in <br> train()<br> File "train/train.py", line 201, in train<br> train_one_epoch(sess, ops, train_writer)<br> File "train/train.py", line 256, in train_one_epoch<br> feed_dict=feed_dict)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 877, in run<br> run_metadata_ptr)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1100, in _run<br> feed_dict_tensor, options, run_metadata)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1272, in _do_run<br> run_metadata)<br> File "/home/rishi/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1291, in _do_call<br> raise type(e)(node_def, op, message)<br> tensorflow.python.framework.errors_impl.NotFoundError: No registered '_CopyFromGpuToHost' OpKernel for CPU devices compatible with node swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost<a href="fa_layer3/truediv_2/_91">T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"</a><br> . Registered: device='GPU'</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=[&quot;loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2&quot;], _device=&quot;/job:localhost/replica:0/task:0/device:CPU:0&quot;](fa_layer3/truediv_2/_91)]]"><pre class="notranslate"><code class="notranslate"> [[Node: swap_out_gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2 = _CopyFromGpuToHost[T=DT_FLOAT, _class=["loc@gradients/fa_layer3/ThreeInterpolate_grad/ThreeInterpolateGrad_2"], _device="/job:localhost/replica:0/task:0/device:CPU:0"](fa_layer3/truediv_2/_91)]] </code></pre></div>
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1884376/15769566/e93d75ba-2979-11e6-9744-4f4a61e09527.png"><img src="https://cloud.githubusercontent.com/assets/1884376/15769566/e93d75ba-2979-11e6-9744-4f4a61e09527.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">The above is a know issue that has crept in with our recent upgrade for email verification process.<br> Please ignore this error and we are coming up with a fix ASAP.<br> While that happens you will not be able to update your email.<br> Rest assured we are doing our best to address this.<br> Sincere apologies for the inconvenience.</p>
1
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Bug</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">Webpack file watcher ignores changes in symlinked files if <code class="notranslate">resolve &gt; symlinks</code> options is set to <code class="notranslate">false</code>.</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p> <p dir="auto">I have created <a href="https://github.com/TomSssM/webpack-test">a minimal reproducible repo</a> to test the issue:</p> <ul dir="auto"> <li>go to <code class="notranslate">./project</code></li> <li>do <code class="notranslate">npm ci</code></li> <li>then start local server by running <code class="notranslate">npm run server</code></li> <li>start Webpack file watcher by running <code class="notranslate">npm run watch</code></li> <li>change the file in <code class="notranslate">./package/Logger</code> (you could try changing the message getter for example, this way the changes are easy to see)</li> </ul> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">The changes made in <code class="notranslate">Logger</code> module should appear on the page (e.g. <code class="notranslate">Logger</code> should append a different message). Instead Webpack doesn't re-build the <code class="notranslate">Logger</code> module.</p> <p dir="auto">I found a similar issue <a href="https://github.com/webpack/watchpack/issues/60" data-hovercard-type="issue" data-hovercard-url="/webpack/watchpack/issues/60/hovercard">here</a>.</p> <p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p> <p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.</strong></p> <p dir="auto"><strong>Node.js version</strong> 12.19.0</p> <p dir="auto"><strong>Webpack version</strong> 5.10.3</p>
<p dir="auto"><strong>I'm submitting a bug report</strong></p> <p dir="auto">passing an Array of paths causes a webpack validation error</p> <p dir="auto"><strong>Webpack version:</strong><br> 2.1.0-beta.25</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> macOS Sierra</p> <p dir="auto"><strong>Current behavior:</strong></p> <p dir="auto">passing an Array of paths outputs a WebpackOptionsValidationError</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" entry: [ 'webpack/hot/dev-server', `webpack-dev-server/client?http://127.0.0.1:${port}`, './src/js/script.js', './src/css/style.css', './src/index.html' ], "><pre class="notranslate"> <span class="pl-s1">entry</span>: <span class="pl-kos">[</span> <span class="pl-s">'webpack/hot/dev-server'</span><span class="pl-kos">,</span> <span class="pl-s">`webpack-dev-server/client?http://127.0.0.1:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span> <span class="pl-s">'./src/js/script.js'</span><span class="pl-kos">,</span> <span class="pl-s">'./src/css/style.css'</span><span class="pl-kos">,</span> <span class="pl-s">'./src/index.html'</span> <span class="pl-kos">]</span><span class="pl-kos">,</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="configuration.entry should be one of these: object { &lt;key&gt;: string | [string] } | string | [string]"><pre class="notranslate"><code class="notranslate">configuration.entry should be one of these: object { &lt;key&gt;: string | [string] } | string | [string] </code></pre></div> <p dir="auto"><strong>Expected/desired behavior:</strong></p> <p dir="auto">passing an Array of strings should work? ([string])</p>
0
<h1 dir="auto">Environment</h1> <p dir="auto">master at <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/terminal/commit/b9233c03d12bc7addab16647dba07196bd554f6f/hovercard" href="https://github.com/microsoft/terminal/commit/b9233c03d12bc7addab16647dba07196bd554f6f"><tt>b9233c0</tt></a> (I haven't sought for faulting commit though)<br> Windows version: <code class="notranslate">10.0.18362.388</code></p> <h1 dir="auto">Steps to reproduce</h1> <ol dir="auto"> <li>open wsl</li> <li>open tmux/mc/htop/similar program</li> </ol> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Taken from v0.5.2762.0 release (commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/terminal/commit/7faf3342e0187841d590fd018452c5c69fd52271/hovercard" href="https://github.com/microsoft/terminal/commit/7faf3342e0187841d590fd018452c5c69fd52271"><tt>7faf334</tt></a>)</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/38111589/66715208-b81e2d80-edc0-11e9-95c0-ecc450871f66.gif"><img src="https://user-images.githubusercontent.com/38111589/66715208-b81e2d80-edc0-11e9-95c0-ecc450871f66.gif" alt="term_ok" data-animated-image="" style="max-width: 100%;"></a></p> <h1 dir="auto">Actual behavior</h1> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/38111589/66715577-32e94780-edc5-11e9-9231-6d7d81e8d6e7.gif"><img src="https://user-images.githubusercontent.com/38111589/66715577-32e94780-edc5-11e9-9231-6d7d81e8d6e7.gif" alt="term_glitchy" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">When you get to the end of a line in Terminal, it now disagrees with conhost as to where the next line goes.</p> <p dir="auto">Terminal:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="aaaaaaaaaa| | aaaa |"><pre class="notranslate"><code class="notranslate">aaaaaaaaaa| | aaaa | </code></pre></div> <p dir="auto">Conhost:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="aaaaaaaaaa| aaaa |"><pre class="notranslate"><code class="notranslate">aaaaaaaaaa| aaaa | </code></pre></div> <p dir="auto">Possible regression from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499151621" data-permission-text="Title is private" data-url="https://github.com/microsoft/terminal/issues/2924" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/terminal/pull/2924/hovercard" href="https://github.com/microsoft/terminal/pull/2924">#2924</a>.</p>
1
<p dir="auto">Hi</p> <p dir="auto">My env is Linux 2.6.32 cuda 8.0 python 2.7. Install pytorch by pip install <a href="https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.8.post1-cp27-none-linux_x86_64.whl" rel="nofollow">https://s3.amazonaws.com/pytorch/whl/cu80/torch-0.1.8.post1-cp27-none-linux_x86_64.whl</a></p> <p dir="auto">The installation is successful However I got the error by import torch.</p> <p dir="auto">Best Regards,</p>
<p dir="auto">on linux, python-2.7, cuda-7.5, installed using pip.</p> <p dir="auto"><code class="notranslate">import torch</code> it gives the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import torch Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/jingleng/.local/lib/python2.7/site-packages/torch/__init__.py&quot;, line 45, in &lt;module&gt; from torch._C import * ImportError: /home/jingleng/.local/lib/python2.7/site-packages/torch/_C.so: undefined symbol: PyUnicodeUCS4_AsUTF8String"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import torch Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "/home/jingleng/.local/lib/python2.7/site-packages/torch/__init__.py", line 45, in &lt;module&gt; from torch._C import * ImportError: /home/jingleng/.local/lib/python2.7/site-packages/torch/_C.so: undefined symbol: PyUnicodeUCS4_AsUTF8String </code></pre></div>
1
<h3 dir="auto">Input Code</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function Target(target){ var errMsg = ''; if (typeof target != 'object'){ errMsg = 'target error - target itself must be window object'; } if(errMsg){ throw new Error(errMsg); } this.target = target; } // get iframe var ifr = document.getElementsByTagName('iframe')[0]; // create messager target var msg = new Target(ifr.contentWindow);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-v">Target</span><span class="pl-kos">(</span><span class="pl-s1">target</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">errMsg</span> <span class="pl-c1">=</span> <span class="pl-s">''</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">target</span> <span class="pl-c1">!=</span> <span class="pl-s">'object'</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-s1">errMsg</span> <span class="pl-c1">=</span> <span class="pl-s">'target error - target itself must be window object'</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">errMsg</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s1">errMsg</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">target</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// get iframe</span> <span class="pl-k">var</span> <span class="pl-s1">ifr</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementsByTagName</span><span class="pl-kos">(</span><span class="pl-s">'iframe'</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-c">// create messager target</span> <span class="pl-k">var</span> <span class="pl-s1">msg</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Target</span><span class="pl-kos">(</span><span class="pl-s1">ifr</span><span class="pl-kos">.</span><span class="pl-c1">contentWindow</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">after babel transform</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var _typeof = typeof Symbol === &quot;function&quot; &amp;&amp; typeof Symbol.iterator === &quot;symbol&quot; ? function (obj) { return typeof obj; } : function (obj) { return obj &amp;&amp; typeof Symbol === &quot;function&quot; &amp;&amp; obj.constructor === Symbol &amp;&amp; obj !== Symbol.prototype ? &quot;symbol&quot; : typeof obj; }; function Target(target) { var errMsg = ''; if ((typeof target === 'undefined' ? 'undefined' : _typeof(target)) != 'object') { errMsg = 'target error - target itself must be window object'; } if (errMsg) { throw new Error(errMsg); } this.target = target; }"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">_typeof</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">iterator</span> <span class="pl-c1">===</span> <span class="pl-s">"symbol"</span> ? <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> : <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">obj</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span> <span class="pl-c1">===</span> <span class="pl-v">Symbol</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">obj</span> <span class="pl-c1">!==</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> ? <span class="pl-s">"symbol"</span> : <span class="pl-k">typeof</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-v">Target</span><span class="pl-kos">(</span><span class="pl-s1">target</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">errMsg</span> <span class="pl-c1">=</span> <span class="pl-s">''</span><span class="pl-kos">;</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-k">typeof</span> <span class="pl-s1">target</span> <span class="pl-c1">===</span> <span class="pl-s">'undefined'</span> ? <span class="pl-s">'undefined'</span> : <span class="pl-s1">_typeof</span><span class="pl-kos">(</span><span class="pl-s1">target</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-c1">!=</span> <span class="pl-s">'object'</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">errMsg</span> <span class="pl-c1">=</span> <span class="pl-s">'target error - target itself must be window object'</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">errMsg</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">Error</span><span class="pl-kos">(</span><span class="pl-s1">errMsg</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">target</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Current Behavior</h3> <p dir="auto">when i use IE11.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SCRIPT5:Access is denied // iframe.contentWindow.constructor"><pre class="notranslate"><code class="notranslate">SCRIPT5:Access is denied // iframe.contentWindow.constructor </code></pre></div> <h3 dir="auto">Possible Solution</h3> <p dir="auto">fixe <a href="https://github.com/babel/babel/blob/master/packages/babel-helpers/src/helpers.js#L8">helpers.typeof</a>.</p> <h3 dir="auto">Your Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version(s)</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>6.10.4</td> </tr> <tr> <td>node</td> <td>6.10.0</td> </tr> <tr> <td>npm</td> <td>3.10.10</td> </tr> <tr> <td>Operating System</td> <td>macOS 10.12.4</td> </tr> </tbody> </table>
<p dir="auto"><code class="notranslate">transform-es2015-typeof-symbol</code> converts <code class="notranslate">typeof foo</code> to <code class="notranslate">_typeof(foo)</code> when <code class="notranslate">typeof Symbol.iterator !== "symbol"</code>. <code class="notranslate">_typeof</code> is implemented as follows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function(obj) { return obj &amp;&amp; typeof Symbol === &quot;function&quot; &amp;&amp; obj.constructor === Symbol &amp;&amp; obj !== Symbol.prototype ? &quot;symbol&quot; : typeof obj; }"><pre class="notranslate"><code class="notranslate">function(obj) { return obj &amp;&amp; typeof Symbol === "function" &amp;&amp; obj.constructor === Symbol &amp;&amp; obj !== Symbol.prototype ? "symbol" : typeof obj; } </code></pre></div> <p dir="auto">That <code class="notranslate">obj.constructor</code> property lookup throws an error when it's applied to a cross-domain window object. For example, <code class="notranslate">typeof window.frames[0]</code> transpiles to <code class="notranslate">_typeof(window.frames[0])</code> which ends up calling <code class="notranslate">window.frames[0].constructor</code>, which triggers a cross-domain permission error.</p> <h3 dir="auto">Input Code</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="typeof window.frames[0];"><pre class="notranslate"><span class="pl-k">typeof</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">frames</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; var _typeof = typeof Symbol === &quot;function&quot; &amp;&amp; typeof Symbol.iterator === &quot;symbol&quot; ? function (obj) { return typeof obj; } : function (obj) { return obj &amp;&amp; typeof Symbol === &quot;function&quot; &amp;&amp; obj.constructor === Symbol &amp;&amp; obj !== Symbol.prototype ? &quot;symbol&quot; : typeof obj; }; _typeof(window.frames[0]);"><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">_typeof</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">iterator</span> <span class="pl-c1">===</span> <span class="pl-s">"symbol"</span> ? <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-k">typeof</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> : <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">obj</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">obj</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-k">typeof</span> <span class="pl-v">Symbol</span> <span class="pl-c1">===</span> <span class="pl-s">"function"</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">constructor</span> <span class="pl-c1">===</span> <span class="pl-v">Symbol</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-s1">obj</span> <span class="pl-c1">!==</span> <span class="pl-v">Symbol</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span> ? <span class="pl-s">"symbol"</span> : <span class="pl-k">typeof</span> <span class="pl-s1">obj</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">_typeof</span><span class="pl-kos">(</span><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">frames</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <h3 dir="auto">Babel Configuration (.babelrc, package.json, cli command)</h3> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;presets&quot;: [ &quot;es2015&quot; ] }"><pre class="notranslate"><span class="pl-kos">{</span> <span class="pl-s">"presets"</span>: <span class="pl-kos">[</span> <span class="pl-s">"es2015"</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span></pre></div> <h3 dir="auto">Expected Behavior</h3> <p dir="auto"><code class="notranslate">_typeof</code> should not try to access privileged properties on a cross-domain window object.</p> <h3 dir="auto">Current Behavior</h3> <p dir="auto"><code class="notranslate">_typeof</code> tries to access privileged properties on a cross-domain window object.</p> <h3 dir="auto">Possible Solution</h3> <p dir="auto"><code class="notranslate">try/catch</code> and fall-back to <code class="notranslate">typeof</code>?</p> <h3 dir="auto">Context</h3> <p dir="auto">Broke the following addition to <code class="notranslate">post-robot</code>, which allows sending messages to remote windows. We validate the passed window using <code class="notranslate">typeof</code> to ensure it's at least an <code class="notranslate">"object"</code></p> <h3 dir="auto">Your Environment</h3> <table role="table"> <thead> <tr> <th>software</th> <th>version</th> </tr> </thead> <tbody> <tr> <td>Babel</td> <td>6</td> </tr> <tr> <td>node</td> <td>4</td> </tr> <tr> <td>npm</td> <td>3</td> </tr> <tr> <td>Operating System</td> <td>Windows 7 / IE9-11</td> </tr> </tbody> </table>
1
<p dir="auto">Same as issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="23295700" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11615" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/11615/hovercard" href="https://github.com/twbs/bootstrap/issues/11615">#11615</a></p> <p dir="auto">The glyphicon-th-list icon looks strange when in a button of normal size.</p> <p dir="auto">Please, check here: <a href="http://jsfiddle.net/2bxapnts/" rel="nofollow">http://jsfiddle.net/2bxapnts/</a><br> Bootstrap version: 3.2.0</p> <p dir="auto">Can be reproduced on: Chrome, Firefox and IE (Windows 8)<br> In case it's significant, the default font size in my browser is 16px.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7089997/3841914/78faa1c8-1e32-11e4-9b54-2a82800940d5.png"><img src="https://cloud.githubusercontent.com/assets/7089997/3841914/78faa1c8-1e32-11e4-9b54-2a82800940d5.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto">After playing around with the chrome console, it looks like it's not just the fact that it is in a button but that this particular icon, when in font-size 14px (which is the font size in a normal button), looks different (with other font sizes, it looks normal).</p> <p dir="auto">Strangely, on my tablet and also on my phone, the icon looks correct.<br> I also tried on a Virtual machine with windows 7 and the issue can be reproduced there.</p> <p dir="auto">It looks like it's Windows related but I cannot find the reason.</p>
<p dir="auto">There are some false displayed glyphicons</p> <p dir="auto"><a href="http://jsfiddle.net/sn8h2/" rel="nofollow">http://jsfiddle.net/sn8h2/</a></p>
1
<p dir="auto">I am using <code class="notranslate">withRouter</code> HoC as described in this <a href="https://github.com/zeit/next.js/blob/master/errors/url-deprecated.md">snippet</a>, however, I am still getting the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" utils.js:26 Warning: the 'url' property is deprecated. https://err.sh/next.js/url-deprecated"><pre class="notranslate"><code class="notranslate"> utils.js:26 Warning: the 'url' property is deprecated. https://err.sh/next.js/url-deprecated </code></pre></div> <ul dir="auto"> <li>[x ] I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Code executes without the deprecation warning.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The error mentioned above appears.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Import <code class="notranslate">withRouter</code> to your component</li> <li>Refer any field from <code class="notranslate">this.props.router</code></li> <li>Export your component wrapped in <code class="notranslate">withRouter</code> HoC</li> <li>When component is rendered, the deprecation error appears in console</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">I am implementing Navigation component that is aware of the current route (to highlight the NavItem).</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>6.0.0</td> </tr> <tr> <td>node</td> <td>9.11.1</td> </tr> <tr> <td>OS</td> <td>OSX 10.13.4</td> </tr> <tr> <td>browser</td> <td>Chrome Version 66.0.3359.139</td> </tr> </tbody> </table>
<h2 dir="auto">Expected Behavior</h2> <p dir="auto">Works without problem.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Errors with "material-ui": "^1.0.0-beta.44" and "next": "^6.0.0" tried a lot of configuration with .babelrc doesn't work as expected.<br> When I'm using material-ui component <code class="notranslate">MuiThemeProvider</code> and refresh page using browser refresh not all component are rendered properly and in console there is next warning:<br> <code class="notranslate">Warning: Prop 'className' did not match. Server: "MuiTypography-root-246 MuiTypography-title-252 MuiTypography-colorInherit-265 PageComponent-flex-207" Client: "MuiTypography-root-44 MuiTypography-title-50 MuiTypography-colorInherit-63 PageComponent-flex-5"</code></p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">Page component wich is container for whole app:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import React from 'react' import PropTypes from 'prop-types' import Head from 'next/head' import Document from 'next/document' import NavigationBottom from './navigation/bottom' import { MuiThemeProvider, createMuiTheme, withStyles } from 'material-ui/styles' import { Hidden } from 'material-ui' import AppBar from 'material-ui/AppBar' import Toolbar from 'material-ui/Toolbar' import Typography from 'material-ui/Typography' import IconButton from 'material-ui/IconButton' import Link from 'next/link' import Drawer from 'material-ui/Drawer' import Divider from 'material-ui/Divider' import List, { ListItem, ListItemIcon, ListItemText } from 'material-ui/List'; import { inherits } from 'util' import { MenuList, MenuItem } from 'material-ui/Menu'; import PeopleIcon from '@material-ui/icons/People' import FavoriteIcon from '@material-ui/icons/Favorite' import Help from '@material-ui/icons/Help' import blue from 'material-ui/colors/blue'; const muiTheme = createMuiTheme({ palette: { primary: { main: '#32be9e' } } }) const drawerWidth = 210 const styles = theme =&gt; ({ root: { flexGrow: 1, zIndex: 1, overflow: 'hidden', position: 'relative', display: 'flex', }, appBar: { zIndex: theme.zIndex.drawer + 1, color: '#32be9e', backgroundColor: 'white' }, drawerPaper: { position: 'relative', width: drawerWidth, }, content: { flexGrow: 1, backgroundColor: theme.palette.background.default, padding: theme.spacing.unit * 3, minWidth: 0, // So the Typography noWrap works }, flex: { flex: 1 }, toolbar: theme.mixins.toolbar, }); class PageComponent extends Document { static propTypes = { isServer: PropTypes.bool, title: PropTypes.string.isRequired, children: PropTypes.element.isRequired, classes: PropTypes.object.isRequired } static defaultProps = { navigationVisible: true } computedHeadTitle() { return this.props.title ? `${this.props.title} | Cureety` : 'Cureety' } render() { let { classes, navigationVisible } = this.props return ( &lt;MuiThemeProvider theme={createMuiTheme({ palette: { primary: blue, }, })} &gt; &lt;Head&gt; &lt;link rel=&quot;stylesheet&quot; href=&quot;https://fonts.googleapis.com/css?family=Roboto:300,400,500&quot; /&gt; &lt;meta name=&quot;viewport&quot; content=&quot;initial-scale=1.0, width=device-width&quot; /&gt; &lt;title&gt;{this.computedHeadTitle()}&lt;/title&gt; &lt;link rel='stylesheet' href='/static/custom.css' /&gt; &lt;/Head&gt; &lt;div className={classes.root}&gt; &lt;AppBar position=&quot;absolute&quot; className={classes.appBar}&gt; &lt;Toolbar&gt; &lt;Typography variant=&quot;title&quot; color=&quot;inherit&quot; className={classes.flex}&gt; &lt;Link href=&quot;/&quot;&gt; &lt;a className=&quot;link-styleless&quot;&gt;Cureety&lt;/a&gt; &lt;/Link&gt; &lt;/Typography&gt; &lt;Link href=&quot;/help&quot;&gt; &lt;IconButton aria-haspopup=&quot;true&quot; color=&quot;inherit&quot; tooltip=&quot;Assistance&quot;&gt; &lt;Help /&gt; &lt;/IconButton&gt; &lt;/Link&gt; &lt;/Toolbar&gt; &lt;/AppBar&gt; &lt;Hidden only={['xs']}&gt; {navigationVisible &gt; 0 &amp;&amp; &lt;Drawer variant=&quot;permanent&quot; classes={{ paper: classes.drawerPaper, }}&gt; &lt;div className={classes.toolbar} /&gt; &lt;MenuList&gt; &lt;Link href=&quot;/suivi&quot;&gt; &lt;MenuItem&gt; &lt;ListItemIcon&gt; &lt;FavoriteIcon /&gt; &lt;/ListItemIcon&gt; &lt;ListItemText inset primary=&quot;Mon suivi&quot; /&gt; &lt;/MenuItem&gt; &lt;/Link&gt; &lt;Link href=&quot;/profile&quot;&gt; &lt;MenuItem&gt; &lt;ListItemIcon&gt; &lt;PeopleIcon /&gt; &lt;/ListItemIcon&gt; &lt;ListItemText inset primary=&quot;Mon profile&quot; /&gt; &lt;/MenuItem&gt; &lt;/Link&gt; &lt;/MenuList&gt; &lt;Divider /&gt; &lt;List&gt;&lt;/List&gt; &lt;/Drawer&gt; } &lt;/Hidden&gt; &lt;main className={classes.content}&gt; &lt;div className={classes.toolbar} /&gt; &lt;Typography noWrap component=&quot;div&quot;&gt; &lt;div&gt; {this.props.children} &lt;/div&gt; &lt;/Typography&gt; &lt;/main&gt; {navigationVisible &gt; 0 &amp;&amp; &lt;Hidden only={['sm', 'md', 'lg', 'xl']}&gt; &lt;NavigationBottom /&gt; &lt;/Hidden&gt; } &lt;/div&gt; &lt;/MuiThemeProvider&gt; ) } } const Page = withStyles(styles)(PageComponent) export default Page"><pre class="notranslate"><code class="notranslate">import React from 'react' import PropTypes from 'prop-types' import Head from 'next/head' import Document from 'next/document' import NavigationBottom from './navigation/bottom' import { MuiThemeProvider, createMuiTheme, withStyles } from 'material-ui/styles' import { Hidden } from 'material-ui' import AppBar from 'material-ui/AppBar' import Toolbar from 'material-ui/Toolbar' import Typography from 'material-ui/Typography' import IconButton from 'material-ui/IconButton' import Link from 'next/link' import Drawer from 'material-ui/Drawer' import Divider from 'material-ui/Divider' import List, { ListItem, ListItemIcon, ListItemText } from 'material-ui/List'; import { inherits } from 'util' import { MenuList, MenuItem } from 'material-ui/Menu'; import PeopleIcon from '@material-ui/icons/People' import FavoriteIcon from '@material-ui/icons/Favorite' import Help from '@material-ui/icons/Help' import blue from 'material-ui/colors/blue'; const muiTheme = createMuiTheme({ palette: { primary: { main: '#32be9e' } } }) const drawerWidth = 210 const styles = theme =&gt; ({ root: { flexGrow: 1, zIndex: 1, overflow: 'hidden', position: 'relative', display: 'flex', }, appBar: { zIndex: theme.zIndex.drawer + 1, color: '#32be9e', backgroundColor: 'white' }, drawerPaper: { position: 'relative', width: drawerWidth, }, content: { flexGrow: 1, backgroundColor: theme.palette.background.default, padding: theme.spacing.unit * 3, minWidth: 0, // So the Typography noWrap works }, flex: { flex: 1 }, toolbar: theme.mixins.toolbar, }); class PageComponent extends Document { static propTypes = { isServer: PropTypes.bool, title: PropTypes.string.isRequired, children: PropTypes.element.isRequired, classes: PropTypes.object.isRequired } static defaultProps = { navigationVisible: true } computedHeadTitle() { return this.props.title ? `${this.props.title} | Cureety` : 'Cureety' } render() { let { classes, navigationVisible } = this.props return ( &lt;MuiThemeProvider theme={createMuiTheme({ palette: { primary: blue, }, })} &gt; &lt;Head&gt; &lt;link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" /&gt; &lt;meta name="viewport" content="initial-scale=1.0, width=device-width" /&gt; &lt;title&gt;{this.computedHeadTitle()}&lt;/title&gt; &lt;link rel='stylesheet' href='/static/custom.css' /&gt; &lt;/Head&gt; &lt;div className={classes.root}&gt; &lt;AppBar position="absolute" className={classes.appBar}&gt; &lt;Toolbar&gt; &lt;Typography variant="title" color="inherit" className={classes.flex}&gt; &lt;Link href="/"&gt; &lt;a className="link-styleless"&gt;Cureety&lt;/a&gt; &lt;/Link&gt; &lt;/Typography&gt; &lt;Link href="/help"&gt; &lt;IconButton aria-haspopup="true" color="inherit" tooltip="Assistance"&gt; &lt;Help /&gt; &lt;/IconButton&gt; &lt;/Link&gt; &lt;/Toolbar&gt; &lt;/AppBar&gt; &lt;Hidden only={['xs']}&gt; {navigationVisible &gt; 0 &amp;&amp; &lt;Drawer variant="permanent" classes={{ paper: classes.drawerPaper, }}&gt; &lt;div className={classes.toolbar} /&gt; &lt;MenuList&gt; &lt;Link href="/suivi"&gt; &lt;MenuItem&gt; &lt;ListItemIcon&gt; &lt;FavoriteIcon /&gt; &lt;/ListItemIcon&gt; &lt;ListItemText inset primary="Mon suivi" /&gt; &lt;/MenuItem&gt; &lt;/Link&gt; &lt;Link href="/profile"&gt; &lt;MenuItem&gt; &lt;ListItemIcon&gt; &lt;PeopleIcon /&gt; &lt;/ListItemIcon&gt; &lt;ListItemText inset primary="Mon profile" /&gt; &lt;/MenuItem&gt; &lt;/Link&gt; &lt;/MenuList&gt; &lt;Divider /&gt; &lt;List&gt;&lt;/List&gt; &lt;/Drawer&gt; } &lt;/Hidden&gt; &lt;main className={classes.content}&gt; &lt;div className={classes.toolbar} /&gt; &lt;Typography noWrap component="div"&gt; &lt;div&gt; {this.props.children} &lt;/div&gt; &lt;/Typography&gt; &lt;/main&gt; {navigationVisible &gt; 0 &amp;&amp; &lt;Hidden only={['sm', 'md', 'lg', 'xl']}&gt; &lt;NavigationBottom /&gt; &lt;/Hidden&gt; } &lt;/div&gt; &lt;/MuiThemeProvider&gt; ) } } const Page = withStyles(styles)(PageComponent) export default Page </code></pre></div> <h2 dir="auto">Context</h2> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>^6.0.0</td> </tr> <tr> <td>node</td> <td>v8.9.3</td> </tr> <tr> <td>OS</td> <td>Windows 10</td> </tr> <tr> <td>browser</td> <td>Chrome Version 66.0.3359.139 (Build officiel) (64 bits)</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table> <p dir="auto">Connected issue, said to move question to another issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="304069782" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/3983" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/3983/hovercard" href="https://github.com/vercel/next.js/issues/3983">#3983</a></p>
0
<h4 dir="auto">Code</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [33]: df = pd.DataFrame({'date1': [Timestamp('2017-05-25 14:02:23'), NaT], 'date2': [Timestamp('2017-05-25 14:34:43'), Timestamp('2017-05-16 19:37:43')]}) In [34]: df2 = df.apply(lambda x: x.dt.tz_localize('UTC'), axis=0) In [35]: df3 = df2.assign(date1=df2.date2) In [36]: df Out[36]: date1 date2 0 2017-05-25 14:02:23 2017-05-25 14:34:43 1 NaT 2017-05-16 19:37:43 In [37]: df2 Out[37]: date1 date2 0 2017-05-25 14:02:23+00:00 2017-05-25 14:34:43+00:00 1 NaT 2017-05-16 19:37:43+00:00 In [38]: df3 Out[38]: date1 date2 0 2017-05-25 14:34:43+00:00 2017-05-25 14:34:43+00:00 1 2017-05-16 19:37:43+00:00 2017-05-16 19:37:43+00:00 In [39]: df.dtypes Out[39]: date1 datetime64[ns] date2 datetime64[ns] dtype: object In [40]: df2.dtypes Out[40]: date1 datetime64[ns, UTC] date2 datetime64[ns, UTC] dtype: object In [41]: df3.dtypes Out[41]: date1 datetime64[ns, UTC] date2 datetime64[ns, UTC] dtype: object In [42]: df.T Out[42]: 0 1 date1 2017-05-25 14:02:23 NaT date2 2017-05-25 14:34:43 2017-05-16 19:37:43 In [43]: df2.T --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) &lt;ipython-input-43-7d2317a1beae&gt; in &lt;module&gt;() ----&gt; 1 df2.T e:\github\pandas\pandas\core\frame.pyc in transpose(self, *args, **kwargs) 1876 &quot;&quot;&quot;Transpose index and columns&quot;&quot;&quot; 1877 nv.validate_transpose(args, dict()) -&gt; 1878 return super(DataFrame, self).transpose(1, 0, **kwargs) 1879 1880 T = property(transpose) e:\github\pandas\pandas\core\generic.pyc in transpose(self, *args, **kwargs) 600 601 nv.validate_transpose_for_generic(self, kwargs) --&gt; 602 return self._constructor(new_values, **new_axes).__finalize__(self) 603 604 def swapaxes(self, axis1, axis2, copy=True): e:\github\pandas\pandas\core\frame.pyc in __init__(self, data, index, columns, dtype, copy) 350 else: 351 mgr = self._init_ndarray(data, index, columns, dtype=dtype, --&gt; 352 copy=copy) 353 elif isinstance(data, (list, types.GeneratorType)): 354 if isinstance(data, types.GeneratorType): e:\github\pandas\pandas\core\frame.pyc in _init_ndarray(self, values, index, columns, dtype, copy) 522 values = maybe_infer_to_datetimelike(values) 523 --&gt; 524 return create_block_manager_from_blocks([values], [columns, index]) 525 526 @property e:\github\pandas\pandas\core\internals.pyc in create_block_manager_from_blocks(blocks, axes) 4378 placement=slice(0, len(axes[0])))] 4379 -&gt; 4380 mgr = BlockManager(blocks, axes) 4381 mgr._consolidate_inplace() 4382 return mgr e:\github\pandas\pandas\core\internals.pyc in __init__(self, blocks, axes, do_integrity_check, fastpath) 2880 raise AssertionError('Number of Block dimensions (%d) ' 2881 'must equal number of axes (%d)' % -&gt; 2882 (block.ndim, self.ndim)) 2883 2884 if do_integrity_check: AssertionError: Number of Block dimensions (1) must equal number of axes (2)"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">33</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">'date1'</span>: [<span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-05-25 14:02:23'</span>), <span class="pl-v">NaT</span>], <span class="pl-s">'date2'</span>: [<span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-05-25 14:34:43'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2017-05-16 19:37:43'</span>)]}) <span class="pl-v">In</span> [<span class="pl-c1">34</span>]: <span class="pl-s1">df2</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">apply</span>(<span class="pl-k">lambda</span> <span class="pl-s1">x</span>: <span class="pl-s1">x</span>.<span class="pl-s1">dt</span>.<span class="pl-en">tz_localize</span>(<span class="pl-s">'UTC'</span>), <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-v">In</span> [<span class="pl-c1">35</span>]: <span class="pl-s1">df3</span> <span class="pl-c1">=</span> <span class="pl-s1">df2</span>.<span class="pl-en">assign</span>(<span class="pl-s1">date1</span><span class="pl-c1">=</span><span class="pl-s1">df2</span>.<span class="pl-s1">date2</span>) <span class="pl-v">In</span> [<span class="pl-c1">36</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">36</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">date2</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">02</span>:<span class="pl-c1">23</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">34</span>:<span class="pl-c1">43</span> <span class="pl-c1">1</span> <span class="pl-v">NaT</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">19</span>:<span class="pl-c1">37</span>:<span class="pl-c1">43</span> <span class="pl-v">In</span> [<span class="pl-c1">37</span>]: <span class="pl-s1">df2</span> <span class="pl-v">Out</span>[<span class="pl-c1">37</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">date2</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">02</span>:<span class="pl-c1">23</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">34</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-c1">1</span> <span class="pl-v">NaT</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">19</span>:<span class="pl-c1">37</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-v">In</span> [<span class="pl-c1">38</span>]: <span class="pl-s1">df3</span> <span class="pl-v">Out</span>[<span class="pl-c1">38</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">date2</span> <span class="pl-c1">0</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">34</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">34</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-c1">1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">19</span>:<span class="pl-c1">37</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">19</span>:<span class="pl-c1">37</span>:<span class="pl-c1">43</span><span class="pl-c1">+</span><span class="pl-c1">00</span>:<span class="pl-c1">00</span> <span class="pl-v">In</span> [<span class="pl-c1">39</span>]: <span class="pl-s1">df</span>.<span class="pl-s1">dtypes</span> <span class="pl-v">Out</span>[<span class="pl-c1">39</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>] <span class="pl-s1">date2</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>] <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span> <span class="pl-v">In</span> [<span class="pl-c1">40</span>]: <span class="pl-s1">df2</span>.<span class="pl-s1">dtypes</span> <span class="pl-v">Out</span>[<span class="pl-c1">40</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>, <span class="pl-v">UTC</span>] <span class="pl-s1">date2</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>, <span class="pl-v">UTC</span>] <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span> <span class="pl-v">In</span> [<span class="pl-c1">41</span>]: <span class="pl-s1">df3</span>.<span class="pl-s1">dtypes</span> <span class="pl-v">Out</span>[<span class="pl-c1">41</span>]: <span class="pl-s1">date1</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>, <span class="pl-v">UTC</span>] <span class="pl-s1">date2</span> <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>, <span class="pl-v">UTC</span>] <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span> <span class="pl-v">In</span> [<span class="pl-c1">42</span>]: <span class="pl-s1">df</span>.<span class="pl-v">T</span> <span class="pl-v">Out</span>[<span class="pl-c1">42</span>]: <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-s1">date1</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">02</span>:<span class="pl-c1">23</span> <span class="pl-v">NaT</span> <span class="pl-s1">date2</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">14</span>:<span class="pl-c1">34</span>:<span class="pl-c1">43</span> <span class="pl-c1">2017</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">16</span> <span class="pl-c1">19</span>:<span class="pl-c1">37</span>:<span class="pl-c1">43</span> <span class="pl-v">In</span> [<span class="pl-c1">43</span>]: <span class="pl-s1">df2</span>.<span class="pl-v">T</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">AssertionError</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">43</span><span class="pl-c1">-</span><span class="pl-c1">7</span><span class="pl-s1">d2317a1beae</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">df2</span>.<span class="pl-v">T</span> <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">transpose</span>(<span class="pl-s1">self</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">1876</span> <span class="pl-s">"""Transpose index and columns"""</span> <span class="pl-c1">1877</span> <span class="pl-s1">nv</span>.<span class="pl-en">validate_transpose</span>(<span class="pl-s1">args</span>, <span class="pl-en">dict</span>()) <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1878</span> <span class="pl-s1">return</span> <span class="pl-en">super</span>(<span class="pl-v">DataFrame</span>, <span class="pl-s1">self</span>).<span class="pl-en">transpose</span>(<span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">1879</span> <span class="pl-c1">1880</span> <span class="pl-v">T</span> <span class="pl-c1">=</span> <span class="pl-en">property</span>(<span class="pl-s1">transpose</span>) <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">transpose</span>(<span class="pl-s1">self</span>, <span class="pl-c1">*</span><span class="pl-s1">args</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>) <span class="pl-c1">600</span> <span class="pl-c1">601</span> <span class="pl-s1">nv</span>.<span class="pl-en">validate_transpose_for_generic</span>(<span class="pl-s1">self</span>, <span class="pl-s1">kwargs</span>) <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">602</span> <span class="pl-s1">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_constructor</span>(<span class="pl-s1">new_values</span>, <span class="pl-c1">**</span><span class="pl-s1">new_axes</span>).<span class="pl-en">__finalize__</span>(<span class="pl-s1">self</span>) <span class="pl-c1">603</span> <span class="pl-c1">604</span> <span class="pl-k">def</span> <span class="pl-en">swapaxes</span>(<span class="pl-s1">self</span>, <span class="pl-s1">axis1</span>, <span class="pl-s1">axis2</span>, <span class="pl-s1">copy</span><span class="pl-c1">=</span><span class="pl-c1">True</span>): <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">data</span>, <span class="pl-s1">index</span>, <span class="pl-s1">columns</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">copy</span>) <span class="pl-c1">350</span> <span class="pl-s1">else</span>: <span class="pl-c1">351</span> <span class="pl-s1">mgr</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_init_ndarray</span>(<span class="pl-s1">data</span>, <span class="pl-s1">index</span>, <span class="pl-s1">columns</span>, <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">dtype</span>, <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">352</span> <span class="pl-s1">copy</span><span class="pl-c1">=</span><span class="pl-s1">copy</span>) <span class="pl-c1">353</span> <span class="pl-s1">elif</span> <span class="pl-s1">isinstance</span>(<span class="pl-s1">data</span>, (<span class="pl-s1">list</span>, <span class="pl-s1">types</span>.<span class="pl-v">GeneratorType</span>)): <span class="pl-c1">354</span> <span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">data</span>, <span class="pl-s1">types</span>.<span class="pl-v">GeneratorType</span>): <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_init_ndarray</span>(<span class="pl-s1">self</span>, <span class="pl-s1">values</span>, <span class="pl-s1">index</span>, <span class="pl-s1">columns</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">copy</span>) <span class="pl-c1">522</span> <span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-en">maybe_infer_to_datetimelike</span>(<span class="pl-s1">values</span>) <span class="pl-c1">523</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">524</span> <span class="pl-s1">return</span> <span class="pl-en">create_block_manager_from_blocks</span>([<span class="pl-s1">values</span>], [<span class="pl-s1">columns</span>, <span class="pl-s1">index</span>]) <span class="pl-c1">525</span> <span class="pl-c1">526</span> @<span class="pl-s1">property</span> <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">create_block_manager_from_blocks</span>(<span class="pl-s1">blocks</span>, <span class="pl-s1">axes</span>) <span class="pl-c1">4378</span> <span class="pl-s1">placement</span><span class="pl-c1">=</span><span class="pl-en">slice</span>(<span class="pl-c1">0</span>, <span class="pl-en">len</span>(<span class="pl-s1">axes</span>[<span class="pl-c1">0</span>])))] <span class="pl-c1">4379</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">4380</span> <span class="pl-s1">mgr</span> <span class="pl-c1">=</span> <span class="pl-v">BlockManager</span>(<span class="pl-s1">blocks</span>, <span class="pl-s1">axes</span>) <span class="pl-c1">4381</span> <span class="pl-s1">mgr</span>.<span class="pl-en">_consolidate_inplace</span>() <span class="pl-c1">4382</span> <span class="pl-k">return</span> <span class="pl-s1">mgr</span> <span class="pl-s1">e</span>:\g<span class="pl-s1">ithub</span>\p<span class="pl-s1">andas</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">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">blocks</span>, <span class="pl-s1">axes</span>, <span class="pl-s1">do_integrity_check</span>, <span class="pl-s1">fastpath</span>) <span class="pl-c1">2880</span> <span class="pl-k">raise</span> <span class="pl-v">AssertionError</span>(<span class="pl-s">'Number of Block dimensions (%d) '</span> <span class="pl-c1">2881</span> <span class="pl-s">'must equal number of axes (%d)'</span> <span class="pl-c1">%</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2882</span> (<span class="pl-s1">block</span>.<span class="pl-s1">ndim</span>, <span class="pl-s1">self</span>.<span class="pl-s1">ndim</span>)) <span class="pl-c1">2883</span> <span class="pl-c1">2884</span> <span class="pl-k">if</span> <span class="pl-s1">do_integrity_check</span>: <span class="pl-v">AssertionError</span>: <span class="pl-v">Number</span> <span class="pl-s1">of</span> <span class="pl-v">Block</span> <span class="pl-en">dimensions</span> (<span class="pl-c1">1</span>) <span class="pl-s1">must</span> <span class="pl-s1">equal</span> <span class="pl-s1">number</span> <span class="pl-s1">of</span> <span class="pl-en">axes</span> (<span class="pl-c1">2</span>)</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">Transpose on dataframe with timestamps columns work. But, if columns consist of timestamps with time-zone, it fails.</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> INSTALLED VERSIONS ------------------ commit: None python: 2.7.12.final.0 python-bits: 64 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None <p dir="auto">pandas: 0.21.0.dev+413.g7f93d2d<br> pytest: 3.2.0<br> pip: 9.0.1<br> setuptools: 36.2.7<br> Cython: 0.24.1<br> numpy: 1.12.1<br> scipy: 0.19.1<br> pyarrow: None<br> xarray: None<br> IPython: 5.1.0<br> sphinx: 1.4.6<br> patsy: 0.4.1<br> dateutil: 2.5.3<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.0<br> tables: 3.2.2<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: 2.3.2<br> xlrd: 1.0.0<br> xlwt: 1.1.2<br> xlsxwriter: 0.9.3<br> lxml: 3.6.4<br> bs4: 4.5.1<br> html5lib: 0.999999999<br> sqlalchemy: 1.0.13<br> pymysql: 0.7.9.None<br> psycopg2: 2.7.3.1 (dt dec pq3 ext lo64)<br> jinja2: 2.8<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
<p dir="auto">I have the following array of Timestamps:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ts_array = np.array([[Timestamp('2016-05-02 15:50:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 15:50:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 15:50:00+0000', tz='UTC', offset='5T')], [Timestamp('2016-05-02 17:10:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 17:10:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 17:10:00+0000', tz='UTC', offset='5T')], [Timestamp('2016-05-02 20:25:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 20:25:00+0000', tz='UTC', offset='5T'), Timestamp('2016-05-02 20:25:00+0000', tz='UTC', offset='5T')]], dtype=object)"><pre class="notranslate"><span class="pl-s1">ts_array</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 15:50:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 15:50:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 15:50:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>)], [<span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 17:10:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 17:10:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 17:10:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>)], [<span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 20:25:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 20:25:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>), <span class="pl-v">Timestamp</span>(<span class="pl-s">'2016-05-02 20:25:00+0000'</span>, <span class="pl-s1">tz</span><span class="pl-c1">=</span><span class="pl-s">'UTC'</span>, <span class="pl-s1">offset</span><span class="pl-c1">=</span><span class="pl-s">'5T'</span>)]], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">object</span>)</pre></div> <p dir="auto">I can't create a DataFrame from this array using the DataFrame constructor:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.DataFrame(ts_array)"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">ts_array</span>)</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/Users/jkelleher/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.py&quot;, line 2885, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File &quot;&lt;ipython-input-46-ae20c6b6248f&gt;&quot;, line 1, in &lt;module&gt; pd.DataFrame(ts_array) File &quot;/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/frame.py&quot;, line 255, in __init__ copy=copy) File &quot;/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/frame.py&quot;, line 432, in _init_ndarray return create_block_manager_from_blocks([values], [columns, index]) File &quot;/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/internals.py&quot;, line 3986, in create_block_manager_from_blocks mgr = BlockManager(blocks, axes) File &quot;/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/internals.py&quot;, line 2591, in __init__ (block.ndim, self.ndim)) AssertionError: Number of Block dimensions (1) must equal number of axes (2)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/Users/jkelleher/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2885, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "&lt;ipython-input-46-ae20c6b6248f&gt;", line 1, in &lt;module&gt; pd.DataFrame(ts_array) File "/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 255, in __init__ copy=copy) File "/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/frame.py", line 432, in _init_ndarray return create_block_manager_from_blocks([values], [columns, index]) File "/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/internals.py", line 3986, in create_block_manager_from_blocks mgr = BlockManager(blocks, axes) File "/Users/jkelleher/anaconda/lib/python2.7/site-packages/pandas/core/internals.py", line 2591, in __init__ (block.ndim, self.ndim)) AssertionError: Number of Block dimensions (1) must equal number of axes (2) </code></pre></div> <p dir="auto">I can create the DataFrame from the array using <code class="notranslate">from_records</code>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ts_df = pd.DataFrame.from_records(ts_array)"><pre class="notranslate"><span class="pl-s1">ts_df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>.<span class="pl-en">from_records</span>(<span class="pl-s1">ts_array</span>)</pre></div> <p dir="auto">However, when I attempt to transpose this DataFrame, I wind up with the same <code class="notranslate">AssertionError</code> as before.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="AssertionError: Number of Block dimensions (1) must equal number of axes (2)"><pre class="notranslate"><code class="notranslate">AssertionError: Number of Block dimensions (1) must equal number of axes (2) </code></pre></div> <p dir="auto">If I convert the Timestamps to Datetimes, the error persists. I can, however, convert the Timestamps to Datetime64 objects, and this fixes the problem.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dt64_array = np.array([[ts.to_datetime64() for ts in sublist] for sublist in ts_array]) pd.DataFrame(dt64_array)"><pre class="notranslate"><span class="pl-s1">dt64_array</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([[<span class="pl-s1">ts</span>.<span class="pl-en">to_datetime64</span>() <span class="pl-k">for</span> <span class="pl-s1">ts</span> <span class="pl-c1">in</span> <span class="pl-s1">sublist</span>] <span class="pl-k">for</span> <span class="pl-s1">sublist</span> <span class="pl-c1">in</span> <span class="pl-s1">ts_array</span>]) <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">dt64_array</span>)</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Out[56]: 0 1 2 0 2016-05-02 15:50:00 2016-05-02 15:50:00 2016-05-02 15:50:00 1 2016-05-02 17:10:00 2016-05-02 17:10:00 2016-05-02 17:10:00 2 2016-05-02 20:25:00 2016-05-02 20:25:00 2016-05-02 20:25:00"><pre class="notranslate"><code class="notranslate">Out[56]: 0 1 2 0 2016-05-02 15:50:00 2016-05-02 15:50:00 2016-05-02 15:50:00 1 2016-05-02 17:10:00 2016-05-02 17:10:00 2016-05-02 17:10:00 2 2016-05-02 20:25:00 2016-05-02 20:25:00 2016-05-02 20:25:00 </code></pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.DataFrame(dt64_array).transpose()"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">dt64_array</span>).<span class="pl-en">transpose</span>()</pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Out[57]: 0 1 2 0 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00 1 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00 2 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00"><pre class="notranslate"><code class="notranslate">Out[57]: 0 1 2 0 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00 1 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00 2 2016-05-02 15:50:00 2016-05-02 17:10:00 2016-05-02 20:25:00 </code></pre></div> <p dir="auto">Though I found a suitable workaround, I feel like pandas should be able to construct and operate on DataFrames of Timestamps as easily as other other objects.</p> <h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 20.3 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: 0.8.0.dev0+970e99e xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS ------------------ commit: None python: 2.7.11.final.0 python-bits: 64 OS: Darwin OS-release: 15.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.18.1 nose: 1.3.7 pip: 8.1.2 setuptools: 20.3 Cython: 0.24 numpy: 1.11.0 scipy: 0.17.1 statsmodels: 0.8.0.dev0+970e99e xarray: None IPython: 4.1.2 sphinx: 1.3.5 patsy: 0.4.0 dateutil: 2.5.3 pytz: 2016.4 blosc: None bottleneck: 1.0.0 tables: 3.2.2 numexpr: 2.5 matplotlib: 1.5.1 openpyxl: 2.3.2 xlrd: 0.9.4 xlwt: 1.0.0 xlsxwriter: 0.8.4 lxml: 3.6.0 bs4: 4.4.1 html5lib: None httplib2: None apiclient: None sqlalchemy: 1.0.12 pymysql: None psycopg2: None jinja2: 2.8 boto: 2.39.0 pandas_datareader: None </code></pre></div>
1
<p dir="auto">Hi,</p> <p dir="auto">Date form type could provide support for partial dates (eg. allow for "yyyy-MM" format), even if limited to inputs type "array" or "string" on such cases</p> <p dir="auto">cheers</p>
<p dir="auto">DateField should support formats that don't contain the letters "y", "M" or "d" in order to select partial dates (e.g. months). The default values of the fields, when left away, should be the corresponding parts of the UNIX base timestamp 1970-01-01.</p> <p dir="auto">Example:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$builder-&gt;add('expires_at', 'date', array( 'format' =&gt; 'MMyyyy', ));"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>builder</span>-&gt;<span class="pl-en">add</span>(<span class="pl-s">'expires_at'</span>, <span class="pl-s">'date'</span>, <span class="pl-en">array</span>( <span class="pl-s">'format'</span> =&gt; <span class="pl-s">'MMyyyy'</span>, ));</pre></div> <p dir="auto">A date submitted here will always have day "1", e.g. "2013-02-01".</p> <p dir="auto">Further related work:</p> <p dir="auto">TimeType currently supports the "with__" options for achieving this functionality (including or excluding single parts of the time). We should think about deprecating the "with__" options and supporting a "format" option instead, if this improves consistency.</p>
1
<p dir="auto">from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="8056737" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/5895" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/5895/hovercard" href="https://github.com/symfony/symfony/pull/5895">#5895</a>:</p> <p dir="auto">"<br> After discussion with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Crell/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Crell">@Crell</a>, we agreed that the RequestContext is a burden in reusing the routing component. That's because it only duplicates information of the Request and is not really useful without it anyway. Since we probably cannot remove it fully as it would be a big BC break, my idea is to make it optional. So the symfony generator and matcher both work with a RequestContext and a Request. I removed the RequestContextAwareInterface from the interfaces so a custom router does not need a RequestContext anymore. The default symfony generator/matcher still implements RequestContextAwareInterface but can also work with a Request. So UrlMatcher::match(Request) is now also possible. And the generator can use UrlGenerator::setRequest() instead of setContext().</p> <p dir="auto">I think it makes the routing more useable in symfony and more reusable for other libraries.<br> And it will probably make it easier to integrate content negotiation as matching a request directly with all it's metadata (like Accept header) is now possible.</p> <p dir="auto">One more point: symfony allowed to use matching a Request with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4676965" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4363" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/4363/hovercard" href="https://github.com/symfony/symfony/pull/4363">#4363</a>. But it's not integrated in symfony as symfonys router does not use it at all. And the important interfaces like the RouterInterface required the RequestContext anyway. So there was no way to use Request matching without RequestContext. This PR replaces the other extension point.</p> <p dir="auto">The only bc break is in terms of interfaces. People should be aware that RequestContextAwareInterface is not part of UrlGeneratorInterface/UrlMatcherInterface/RouterInterface anymore. And the RequestMatcherInterface was changed.<br> "</p>
<p dir="auto">Hi,</p> <p dir="auto">I use a <code class="notranslate">collection</code> type with <em>prototype = true</em> to add/remove items.<br> It works pretty fine but I got a notice error when I add a new item and I save the whole form :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Notice: Undefined index: 2 .../PropertyPath.php on line 283"><pre class="notranslate"><code class="notranslate">Notice: Undefined index: 2 .../PropertyPath.php on line 283 </code></pre></div> <p dir="auto">This index is the index of the added item. I fixed this notice by addding a test in the <code class="notranslate">readProperty()</code> method (line 283) as <code class="notranslate">$object</code> should be an <code class="notranslate">ArrayAccess</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if ($object-&gt;offsetExists($property)) { return $object[$property]; }"><pre class="notranslate"><code class="notranslate">if ($object-&gt;offsetExists($property)) { return $object[$property]; } </code></pre></div> <p dir="auto">I don't get any side effects for the moment.</p> <p dir="auto"><strong>Note:</strong> I'm using Propel.<br> The <code class="notranslate">PropelCollection</code> implements <code class="notranslate">ArrayAccess</code> so I don't know why I get this notice (which only appears when I add a new item).</p> <p dir="auto">Regards,<br> William.</p>
0
<p dir="auto">I have the following code for a convolutional layer. This layer is part a larger computational graph.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Define the shape of the filter filter_shape = [1, config.char_filter_size, config.dim_char, config.dim_char] # Define the convolutional layer weights and biases W_conv = tf.Variable(tf.truncated_normal(filter_shape, stddev=0.1), name=&quot;W_conv&quot;) b_conv = tf.Variable(tf.constant(0.1, shape=[config.dim_char]), name=&quot;b_conv&quot;) # Do 2d convolution conv = tf.nn.conv2d(char_embeddings, W_conv, strides=[1, 1, 1, 1], padding=&quot;VALID&quot;, name=&quot;conv&quot;) # Apply nonlinearity # h_conv has the same shape as conv h_conv = tf.nn.relu(tf.nn.bias_add(conv, b_conv), name=&quot;conv_relu&quot;) # Maxpooling h_conv over dim 2 (char dim) # ERROR HERE conv_pooled = tf.nn.max_pool(h_conv, ksize=[1, 1, tf.shape(h_conv)[-2], 1], strides=[1, 1, 1, 1], padding='VALID', name=&quot;conv_max_pool&quot;)"><pre class="notranslate"><code class="notranslate"># Define the shape of the filter filter_shape = [1, config.char_filter_size, config.dim_char, config.dim_char] # Define the convolutional layer weights and biases W_conv = tf.Variable(tf.truncated_normal(filter_shape, stddev=0.1), name="W_conv") b_conv = tf.Variable(tf.constant(0.1, shape=[config.dim_char]), name="b_conv") # Do 2d convolution conv = tf.nn.conv2d(char_embeddings, W_conv, strides=[1, 1, 1, 1], padding="VALID", name="conv") # Apply nonlinearity # h_conv has the same shape as conv h_conv = tf.nn.relu(tf.nn.bias_add(conv, b_conv), name="conv_relu") # Maxpooling h_conv over dim 2 (char dim) # ERROR HERE conv_pooled = tf.nn.max_pool(h_conv, ksize=[1, 1, tf.shape(h_conv)[-2], 1], strides=[1, 1, 1, 1], padding='VALID', name="conv_max_pool") </code></pre></div> <p dir="auto">When trying to run, I get the error:</p> <blockquote> <p dir="auto">TypeError: Expected int for argument 'ksize' not tf.Tensor shape=() dtype=int32.</p> </blockquote> <p dir="auto">is tf.nn.max_pool unable to handle dynamic ksize?</p>
<p dir="auto">I am trying to build a convolution (followed by max_pool) for variable length input size. Since the length of the input in a batch should be the same, I set the batch size to 1. However, for some reason ksize in tf.nn.max_pool is a list attribute required at run-time. This would prevent any neural network that uses variable input size to apply max pool. Is there a workaround for this? Should ksize be an input tensor otherwise?</p>
1
<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</h1> <p dir="auto">We would like Pytorch to support the automatic mixed precision training recipe: auto-casting of Cuda operations to FP16 or FP32 based on a whitelist-blacklist model of what precision is best for each operation, as well as gradient scaling to avoid underflow during the backward pass.</p> <h1 dir="auto">Work in progress</h1> <ul dir="auto"> <li><a href="https://github.com/pytorch/pytorch/pull/33366" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/33366/hovercard">PR #33366</a> for the gradient scaling API (merged!)</li> <li><a href="https://github.com/pytorch/pytorch/pull/35102" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/35102/hovercard">PR #35102</a> for the autocasting API and eager-mode backend (merged!)</li> <li><a href="https://github.com/pytorch/pytorch/issues/25387" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/25387/hovercard">Dedicated issue tracking jit support</a> (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjsjann123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjsjann123">@jjsjann123</a> is driving this on our side)</li> <li><a href="https://github.com/pytorch/pytorch/issues/28762" data-hovercard-type="issue" data-hovercard-url="/pytorch/pytorch/issues/28762/hovercard">Jit scripting for context managers (<code class="notranslate">with</code> statements)</a></li> </ul> <h1 dir="auto">Motivation</h1> <p dir="auto">Mixed precision is essential to achieve good performance on Tensor Core GPUs (Volta + Turing). We've been trying to educate and evangelize for it since Volta's release. We have <a href="https://github.com/nvidia/apex">Apex</a>, our own repository of tools for mixed precision training, which has seen moderate adoption. However, forcing users to install a separate toolkit is burdensome, especially if their environments aren't set up to build extensions, and we'll never be able to achieve the same performance as a native integration. Native, well documented support in Pytorch core is certainly the most convenient way to enable mixed precision training for the largest number of users.</p> <h1 dir="auto">Pitch</h1> <p dir="auto">After initial discussions with <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mruberry/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mruberry">@mruberry</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zdevito/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zdevito">@zdevito</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jamesr66a/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jamesr66a">@jamesr66a</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a>, and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jjsjann123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jjsjann123">@jjsjann123</a> we believe the UX should permit auto-casting and gradient scaling as modular and independent components.</p> <h2 dir="auto">Auto-casting</h2> <h3 dir="auto">Background</h3> <p dir="auto">The current philosophy of Apex's Automatic Mixed Precision (Amp, in recommended mode "O1") is that when training with mixed precision, the user never needs to manually alter the precision of their model or data. The user declares their model in default (FP32) precision. <strong>The model parameters (leaves) are and remain FP32 for the duration of training. These leaves are also directly owned and stepped by the optimizer,</strong> which is identical to the ordinary behavior of Pytorch in the absence of mixed precision.</p> <p dir="auto">To ensure that FP16 is used for operations that benefit from it, <code class="notranslate">Tensor.*</code> methods and <code class="notranslate">torch.*</code> and <code class="notranslate">torch.nn.functional.*</code> functions are patched to cast data to a certain type before running the actual op. Which type depends on what precision is best for that op. For example, <code class="notranslate">torch.mm</code> is patched to cast the incoming input and weight to FP16, which enables Tensor Cores. <code class="notranslate">torch.log</code> is patched to cast input to fp32, because log's forward and backward may require a large dynamic range. This casting-as-data-flows-through-functions is the strategy used by Amp in Apex today, and achieves accuracy comparable to pure FP32 training on a wide range of networks. It is also the strategy used by MXNet and Tensorflow's Amp integrations. However, Apex's Amp is implemented by Python-side monkey-patching of <code class="notranslate">torch.*</code> and <code class="notranslate">torch.nn.functional.*</code> functions, which is invasive and not ideal for performance.</p> <h3 dir="auto">Proposed Implementation</h3> <p dir="auto">For eager execution, we propose to integrate the same casting-as-data-flows-through-functions strategy that Apex's Amp uses. We propose to implement this by inserting the casts in some of the autogenerated C++ functions on the Cuda dispatch path. Each such function will be given a few additional lines by the autogeneration script. For example, a whilelist function with 1 argument would be given something like</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if(autocasting_is_enabled()) input = input.half()"><pre class="notranslate"><span class="pl-k">if</span>(<span class="pl-en">autocasting_is_enabled</span>()) <span class="pl-s1">input</span> <span class="pl-c1">=</span> <span class="pl-s1">input</span>.<span class="pl-en">half</span>()</pre></div> <p dir="auto">These casts should be autograd-exposed, so they will be reversed in backward(). They should also precede the autograd-exposed call of the whitelist or blacklist op itself, so if the op saves its inputs for backward, the inputs are saved as the correct (post-cast) type.</p> <p dir="auto">On the Python side, the user shall request auto-casting by running the forward pass (or any portions of the forward pass where auto-casting is desired) under a nestable context manager, for example</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@contextlib.contextmanager def autocast(whitelist_type=torch.float16, enabled=True): old_whitelist_type, old_status = torch.get_autocasting_state() torch.set_autocasting_state(whitelist_type, enabled) try: yield finally: torch.set_autocasting_state(original_whitelist_type, old_status)"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">contextlib</span>.<span class="pl-s1">contextmanager</span></span> <span class="pl-k">def</span> <span class="pl-en">autocast</span>(<span class="pl-s1">whitelist_type</span><span class="pl-c1">=</span><span class="pl-s1">torch</span>.<span class="pl-s1">float16</span>, <span class="pl-s1">enabled</span><span class="pl-c1">=</span><span class="pl-c1">True</span>): <span class="pl-s1">old_whitelist_type</span>, <span class="pl-s1">old_status</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">get_autocasting_state</span>() <span class="pl-s1">torch</span>.<span class="pl-en">set_autocasting_state</span>(<span class="pl-s1">whitelist_type</span>, <span class="pl-s1">enabled</span>) <span class="pl-k">try</span>: <span class="pl-k">yield</span> <span class="pl-k">finally</span>: <span class="pl-s1">torch</span>.<span class="pl-en">set_autocasting_state</span>(<span class="pl-s1">original_whitelist_type</span>, <span class="pl-s1">old_status</span>)</pre></div> <p dir="auto"><code class="notranslate">torch.get_</code> and <code class="notranslate">set_autocasting_state</code> will get/set a backend state that is queryable within C++ dispatch functions.</p> <p dir="auto"><code class="notranslate">whitelist_type</code> can be changed to request that whitelist functions be autocast to types other than FP16. The <code class="notranslate">enabled</code> argument can be used to locally disable autocasting if the user wishes to have manual control over the types that are used in some regions of their model, while permitting autocasting in others.</p> <p dir="auto">My initial thought is that <code class="notranslate">with autocast()</code> may be used to wrap any regions of code where a graph is being constructed via explicit Python invocations of Pytorch ops (ie, the forward pass), but shall not wrap any region where a previously constructed graph is being backwarded through. All desired casting will have been recorded as part of the graph construction, and will be correctly reversed by a bare backward call without needing to be under an <code class="notranslate">autocast</code> context. Backward passes with <code class="notranslate">create_graph=True</code> also belong to the latter category (ie, they should not be under a <code class="notranslate">with autocast()</code> context). <a href="#gradient-penalty">Gradient Penalty</a> under End to End Examples below shows this philosophy more clearly.</p> <p dir="auto">It's possible that running both forward and backward under the context manager won't do any harm (ie, any resulting casts requested during backward will be no-ops, because the type flow is already being properly/faithfully reversed by autograd) and it can be permissible (but not required) to also allow the backward pass to take place under the context manager.</p> <p dir="auto">When training with FP16, gradient scaling and auto-casting must both be requested by the user. We envision that when autocasting to formats other than FP16, gradient scaling will not be necessary, and the auto-casting context manager can be used without any gradient scaling.</p> <h3 dir="auto">Example Usage</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="with autocast(): output = model(input) loss = loss_fn(output, target) # The backward pass should be invoked outside the context manager. All casting has been appropriately recorded as part of the forward pass."><pre class="notranslate"><span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-c"># The backward pass should be invoked outside the context manager. All casting has been appropriately recorded as part of the forward pass.</span></pre></div> <p dir="auto">Within <code class="notranslate">model.forward</code>, if the user has regions where they wish explicit control over the precision, they may nest an invocation of <code class="notranslate">with autocast(enabled=False)</code>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def forward(self, x): x = self.layer_permitting_autocasting(x) with autocast(enabled=False): x = x.float() x = self.explicitly_float_layer(x) x = self.another_layer_permitting_autocasting(x) return x"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">forward</span>(<span class="pl-s1">self</span>, <span class="pl-s1">x</span>): <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">layer_permitting_autocasting</span>(<span class="pl-s1">x</span>) <span class="pl-k">with</span> <span class="pl-en">autocast</span>(<span class="pl-s1">enabled</span><span class="pl-c1">=</span><span class="pl-c1">False</span>): <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">x</span>.<span class="pl-en">float</span>() <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">explicitly_float_layer</span>(<span class="pl-s1">x</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">another_layer_permitting_autocasting</span>(<span class="pl-s1">x</span>) <span class="pl-k">return</span> <span class="pl-s1">x</span></pre></div> <h3 dir="auto">Gotchas/Challenges</h3> <p dir="auto">The Amp casts need to be recorded by autograd, so they'll be properly reversed in backward. Unfortunately, for many ops, dispatch into an autograd-disabled region currently occurs in <code class="notranslate">VariableType*.cpp</code>, at a higher level of the call chain than the Cuda-specific dispatch functions. <code class="notranslate">VariableType*.cpp</code> is also the level at which necessary data is saved for backward. In other words, by the time we've reached the Cuda-specific dispatch functions, it's too late to invoke autograd-exposed casts. The alternative is to insert the</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if(autocasting_is_enabled()) input = input.half() or float()"><pre class="notranslate"><span class="pl-k">if</span>(<span class="pl-en">autocasting_is_enabled</span>()) <span class="pl-s1">input</span> <span class="pl-c1">=</span> <span class="pl-s1">input</span>.<span class="pl-en">half</span>() <span class="pl-c1">or</span> <span class="pl-en">float</span>()</pre></div> <p dir="auto">snippets at the level of <code class="notranslate">VariableType*.cpp</code>, before we dive into autograd-disabled regions, but then these if statements will be on the hot path taken by all dispatches (Cuda and non-Cuda). I'd like to avoid having the if statement on any non-Cuda code path. This is a tricky problem and I need to think hard about it.</p> <h2 dir="auto">Gradient scaling</h2> <h3 dir="auto">Background</h3> <p dir="auto">Late in training, FP16 gradients can underflow, halting convergence and in some cases causing destabilization. Apex's Amp mitigates underflow via "dynamic gradient scaling." The implementation creates scaled gradients by handing the user <code class="notranslate">scaled_loss = loss*scale_factor</code>, then requiring that the user invoke <code class="notranslate">scaled_loss.backward()</code>. By the chain rule, all gradients flowing backward through the network are then scaled by <code class="notranslate">scale_factor</code>. Apex's Amp attempts to maximize use of FP16's full dynamic range by choosing the highest <code class="notranslate">scale_factor</code> that can be used without incurring inf/nan gradients, which is accomplished as follows: Initially, a high <code class="notranslate">scale_factor</code> is chosen. Each iteration, after backward() returns, gradients are checked for infs/nans. If any infs/nans are found, the optimizer skips the step, and the scale factor is reduced. The scale factor is also periodically increased if a streak of successful (inf/nan free) iterations occurs. Gradients are unscaled in FP32 before being applied to FP32 model parameters.</p> <h3 dir="auto">Proposed API</h3> <p dir="auto">User scripts will implement gradient scaling with an instance of a helper class. Typical use would look like</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = torch.cuda.amp.AmpScaler() for input, target in data: optimizer.zero_grad() output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-s1">amp</span>.<span class="pl-v">AmpScaler</span>() <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <p dir="auto">Creating scaled gradients with <code class="notranslate">torch.autograd.backward</code> would look like</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="torch.autograd.backward(scaler.scale((output0, output1)), grad_tensors=(grad0, grad1))"><pre class="notranslate"><span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span>.<span class="pl-en">backward</span>(<span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>((<span class="pl-s1">output0</span>, <span class="pl-s1">output1</span>)), <span class="pl-s1">grad_tensors</span><span class="pl-c1">=</span>(<span class="pl-s1">grad0</span>, <span class="pl-s1">grad1</span>))</pre></div> <p dir="auto">Creating scaled gradients with <code class="notranslate">torch.autograd.grad</code> would look like</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="torch.autograd.grad(scaler.scale((output0, output1)), model.parameters(), grad_outputs=(grad0, grad1))"><pre class="notranslate"><span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span>.<span class="pl-en">grad</span>(<span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>((<span class="pl-s1">output0</span>, <span class="pl-s1">output1</span>)), <span class="pl-s1">model</span>.<span class="pl-en">parameters</span>(), <span class="pl-s1">grad_outputs</span><span class="pl-c1">=</span>(<span class="pl-s1">grad0</span>, <span class="pl-s1">grad1</span>))</pre></div> <p dir="auto"><a href="https://github.com/pytorch/pytorch/blob/35829f24ef2a71eacedcd6307b2fe9325e4a6a94/torch/cuda/amp/amp_scaler.py#L6">The best explanation for <code class="notranslate">AmpScaler</code> is the class itself, as found in the gradient scaling PR</a>. It's lightweight and each function is documented.</p> <p dir="auto"><code class="notranslate">scaler</code> internally initializes and maintains the scale value, and updates it each iteration based on whether <code class="notranslate">optimizer</code>'s gradients contained infs or NaNs. If infs/NaN gradients are encountered in a given iteration, <code class="notranslate">scaler.update</code> reduces the scale. If no inf/NaN gradients are encountered, <code class="notranslate">scaler.update</code> increases the scale slightly. This approach achieves what dynamic gradient scaling intends: over time, riding the edge of the highest gradient scale that can be used without incurring overflow.</p> <p dir="auto">The user also has the freedom to manually reset the scale value at the end of any iteration, by passing a new scale to <code class="notranslate">scaler.update</code> as a Tensor or Python float.</p> <p dir="auto"><code class="notranslate">AmpScaler</code> instances contain at most a few Tensors and Python scalars. When checkpointing, the user can easily save an <code class="notranslate">AmpScaler</code> instance as part of the checkpoint, alongside <code class="notranslate">model.state_dict()</code> and <code class="notranslate">optimizer.state_dict()</code>. The model and optimizer instance(s) are not affected by AmpScaler, and remain exactly what they would be in the absence of mixed precision. Therefore, behaviors and invocations of <code class="notranslate">model.state_dict()</code> and <code class="notranslate">optimizer.state_dict()</code> themselves may remain unaltered.</p> <h3 dir="auto">Interaction with Existing Optimizers</h3> <p dir="auto">As long as training scripts adhere to the proposed API, existing optimizers (whether native or custom) will immediately work with mixed precision. In particular, the gradient scaling API does not rely on changes to the Python source of <code class="notranslate">step()</code> in any existing optimizers.</p> <p dir="auto"><code class="notranslate">scaler.step(optimizer)</code> <a href="https://github.com/pytorch/pytorch/blob/35829f24ef2a71eacedcd6307b2fe9325e4a6a94/torch/cuda/amp/amp_scaler.py#L146-L192">wraps <code class="notranslate">optimizer.step()</code> with logic to make it scaling-safe</a>. Specifically, <code class="notranslate">scaler.step(optimizer)</code></p> <ul dir="auto"> <li>makes sure gradients are unscaled before <code class="notranslate">optimizer.step()</code></li> <li>skips <code class="notranslate">optimizer.step()</code> if inf/nan gradients are found.</li> </ul> <p dir="auto"><code class="notranslate">optimizer.step()</code> itself is untouched, and again, does not need to change for existing optimizers.</p> <h3 dir="auto">Interaction with New Custom Optimizers</h3> <p dir="auto"><code class="notranslate">AmpScaler</code> defines a contract such that custom optimizers <em>may</em> implement their own scaling-safe <code class="notranslate">step</code> methods if they choose to. If an optimizer obeys this contract, <a href="https://github.com/pytorch/pytorch/blob/35829f24ef2a71eacedcd6307b2fe9325e4a6a94/torch/cuda/amp/amp_scaler.py#L179-L184"><code class="notranslate">AmpScaler.step</code> will call the optimizer's <code class="notranslate">step</code> method directly</a>. This gives custom optimizer authors a control point to implement ninja optimizations like sync-free dynamic gradient scaling.</p> <h3 dir="auto">Gotchas/Challenges</h3> <p dir="auto">When the user invokes a backward pass with a scale factor, all gradients produced by this backward pass (leaf gradients produced by <code class="notranslate">loss.backward</code> or <code class="notranslate">torch.autograd.backward</code>, or out-of-place gradients produced by <code class="notranslate">torch.autograd.grad</code>) will be scaled. Therefore, anything that manipulates the gradients between <code class="notranslate">scaler.scale(loss).backward()</code> and the <code class="notranslate">scaler.step(optimizer)</code> will require proper awareness of the scale factor. Examples of operations that require scale-factor-aware treatment are</p> <ul dir="auto"> <li>gradient clipping</li> <li>gradient penalty computations.</li> </ul> <p dir="auto">In our opinion, requiring the user be aware of the scale factor when making direct use of the gradients is not terribly burdensome. The user has explicitly requested gradient scaling; they should not be surprised when they end up with scaled gradients on their hands. The treatment of such cases is also not difficult from a code-change perspective, as long as it is clearly documented.</p> <p dir="auto">Closures are also a challenge. Do we need to support explicit closure use? Based on the scripts and issues I've seen, closure use is not terribly common, and LBFGS is the only native optimizer that requires a closure. However, I think I can torture the proposed API into supporting closures if it turns out to be in high demand.</p> <h2 dir="auto">End to End Examples (Auto-Casting + Gradient Scaling)</h2> <h3 dir="auto">Typical Use (1 loss, 1 optimizer)</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for input, target in data: optimizer.zero_grad() with autocast(): output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <h3 dir="auto">Gradient Clipping</h3> <p dir="auto">Gradient clipping requires awareness that the gradients resulting from <code class="notranslate">scaler.scale(loss).backward()</code> are scaled. One simple way to account for the scale factor is by clipping to <code class="notranslate">max_norm*scaler.get_scale()</code> instead of max_norm:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for input, target in data: optimizer.zero_grad() with autocast(): output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() # Gradients are scaled, so we clip to max_norm*scale torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm*scaler.get_scale()) scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-c"># Gradients are scaled, so we clip to max_norm*scale</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">utils</span>.<span class="pl-en">clip_grad_norm_</span>(<span class="pl-s1">model</span>.<span class="pl-en">parameters</span>(), <span class="pl-s1">max_norm</span><span class="pl-c1">*</span><span class="pl-s1">scaler</span>.<span class="pl-en">get_scale</span>()) <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <p dir="auto">Here the scaled gradients are clipped. <code class="notranslate">scaler.step(optimizer)</code> is aware that gradients have not yet been unscaled, and unscales them under the hood before calling <code class="notranslate">optimizer.step()</code>.</p> <h3 dir="auto">Gradient Clipping with Explicit Unscaling</h3> <p dir="auto">The specific case of clipping scaled gradients isn’t so hard (all you have to do is clip to <code class="notranslate">max_norm*scaler.get_scale()</code>). However, in general, between the backward pass and the optimizer step you may wish to manipulate gradients in some way that’s not so easy to translate to scaled gradients. In such cases, you can unscale and step separately. Here’s how that looks, using gradient clipping as an example once more:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for input, target in data: optimizer.zero_grad() with autocast(): output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() scaler.unscale(optimizer) # Since the optimizer's owned gradients are unscaled, we can clip to max_norm directly: torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm) scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">unscale</span>(<span class="pl-s1">optimizer</span>) <span class="pl-c"># Since the optimizer's owned gradients are unscaled, we can clip to max_norm directly:</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">utils</span>.<span class="pl-en">clip_grad_norm_</span>(<span class="pl-s1">model</span>.<span class="pl-en">parameters</span>(), <span class="pl-s1">max_norm</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <h3 dir="auto">Gradient Penalty</h3> <p dir="auto">(based on <strong>Higher order gradients</strong> from the <a href="https://github.com/pytorch/pytorch/releases?after=v0.3.0">release notes</a>)</p> <p dir="auto">Gradient penalty also requires awareness that the gradients are scaled in certain places. Additionally, gradient penalty demonstrates:</p> <ul dir="auto"> <li><code class="notranslate">torch.autograd.grad</code></li> <li>Double-backward</li> <li>Some clarification of what counts as a "forward pass" for the purpose of using <code class="notranslate">with autocast</code> (in other words, when exactly it's appropriate to use <code class="notranslate">with autocast</code>).</li> </ul> <p dir="auto">The following shows an implementation of gradient penalty under the proposed API.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for input, target in data: optimizer.zero_grad() with autocast(): output = model(input) loss = loss_fn(output, target) # We should scale outputs for the out-of-place backward pass grad_params = torch.autograd.grad(scaler.scale(loss), model.parameters(), create_graph=True) # In general, the penalty term may depend nonlinearly on the out-of-place gradients, so to be safe, # manually unscale them before computing the penalty. This unscale should be autograd-exposed. grad_params = [p*(1./scaler.get_scale()) for p in grad_params] # Compute the penalty term and add it to the loss. # The penalty term computation is effectively another snippet of forward pass, so it makes # sense to enable autocasting for this section as well: with autocast(): grad_norm = 0 for grad in grad_params: grad_norm += grad.pow(2).sum() grad_norm = grad_norm.sqrt() loss = loss + grad_norm # The usual scaling for backward will now accumulate leaf gradients that are appropriately scaled. scaler.scale(loss).backward() scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-c"># We should scale outputs for the out-of-place backward pass</span> <span class="pl-s1">grad_params</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">autograd</span>.<span class="pl-en">grad</span>(<span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>), <span class="pl-s1">model</span>.<span class="pl-en">parameters</span>(), <span class="pl-s1">create_graph</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-c"># In general, the penalty term may depend nonlinearly on the out-of-place gradients, so to be safe,</span> <span class="pl-c"># manually unscale them before computing the penalty. This unscale should be autograd-exposed.</span> <span class="pl-s1">grad_params</span> <span class="pl-c1">=</span> [<span class="pl-s1">p</span><span class="pl-c1">*</span>(<span class="pl-c1">1.</span><span class="pl-c1">/</span><span class="pl-s1">scaler</span>.<span class="pl-en">get_scale</span>()) <span class="pl-k">for</span> <span class="pl-s1">p</span> <span class="pl-c1">in</span> <span class="pl-s1">grad_params</span>] <span class="pl-c"># Compute the penalty term and add it to the loss.</span> <span class="pl-c"># The penalty term computation is effectively another snippet of forward pass, so it makes</span> <span class="pl-c"># sense to enable autocasting for this section as well:</span> <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">grad_norm</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span> <span class="pl-k">for</span> <span class="pl-s1">grad</span> <span class="pl-c1">in</span> <span class="pl-s1">grad_params</span>: <span class="pl-s1">grad_norm</span> <span class="pl-c1">+=</span> <span class="pl-s1">grad</span>.<span class="pl-en">pow</span>(<span class="pl-c1">2</span>).<span class="pl-en">sum</span>() <span class="pl-s1">grad_norm</span> <span class="pl-c1">=</span> <span class="pl-s1">grad_norm</span>.<span class="pl-en">sqrt</span>() <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-s1">loss</span> <span class="pl-c1">+</span> <span class="pl-s1">grad_norm</span> <span class="pl-c"># The usual scaling for backward will now accumulate leaf gradients that are appropriately scaled.</span> <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <p dir="auto">Gradient penalty is a tricky case to think about but writing the code is simple once the right pattern is established. Compared to the <a href="https://github.com/pytorch/pytorch/releases?after=v0.3.0">example in the release notes</a>, the only extra line for gradient penalty computation is the unscaling <code class="notranslate">grad_params = [p*(1./scaler.get_scale()) for p in grad_params]</code>. I think this can be considered a documentation problem, and addressed by providing clear examples.</p> <h3 dir="auto">Multiple Models/Optimizers/Losses</h3> <p dir="auto">Networks must use the same <code class="notranslate">AmpScaler</code> instance (and therefore the same scale) to create gradients for all backward passes in a given iteration, otherwise we open the door to nasty corner cases. For example, if two different losses, with different gradient scales, accumulate into the same parameters' .grads, the accumulation math breaks. If two different losses, with different gradient scales, accumulate into different parameters owned by the same optimizer, then when you invoke <code class="notranslate">scaler.unscale(optimizer)</code>, there's no single correct value that can be used to unscale all the gradients owned by that optimizer, and handling multiple scale factors for different parameters within the same optimizer would get ugly fast. Requiring that networks use the same <code class="notranslate">AmpScaler</code> instance for all backward passes avoids all such control flow difficulties, while still achieving what loss scaling is meant to achieve.</p> <p dir="auto"><code class="notranslate">scaler.update()</code> must be called only at the end of the iteration, after <code class="notranslate">scaler.step(optimizer)</code> has been called for all optimizers used this iteration. This requirement allows <code class="notranslate">update</code> to account for infs/nans found among any of the optimizers' gradients.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = torch.cuda.amp.AmpScaler() ... for input, target in data: optimizer0.zero_grad() optimizer1.zero_grad() with autocast(): output0 = model0(input) output1 = model1(input) loss0 = loss_fn(2 * output0 + 3 * output1, target) loss1 = loss_fn(3 * output0 - 5 * output1, target) scaler.scale(loss0).backward(retain_graph=True) scaler.scale(loss1).backward() # Users can choose which optimizers receive explicit unscaling scaler.unscale(optimizer0) scaler.step(optimizer0) scaler.step(optimizer1) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-s1">amp</span>.<span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer0</span>.<span class="pl-en">zero_grad</span>() <span class="pl-s1">optimizer1</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output0</span> <span class="pl-c1">=</span> <span class="pl-en">model0</span>(<span class="pl-s1">input</span>) <span class="pl-s1">output1</span> <span class="pl-c1">=</span> <span class="pl-en">model1</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss0</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-c1">2</span> <span class="pl-c1">*</span> <span class="pl-s1">output0</span> <span class="pl-c1">+</span> <span class="pl-c1">3</span> <span class="pl-c1">*</span> <span class="pl-s1">output1</span>, <span class="pl-s1">target</span>) <span class="pl-s1">loss1</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-c1">3</span> <span class="pl-c1">*</span> <span class="pl-s1">output0</span> <span class="pl-c1">-</span> <span class="pl-c1">5</span> <span class="pl-c1">*</span> <span class="pl-s1">output1</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss0</span>).<span class="pl-en">backward</span>(<span class="pl-s1">retain_graph</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss1</span>).<span class="pl-en">backward</span>() <span class="pl-c"># Users can choose which optimizers receive explicit unscaling</span> <span class="pl-s1">scaler</span>.<span class="pl-en">unscale</span>(<span class="pl-s1">optimizer0</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer0</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer1</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <p dir="auto">I had to write Apex's Amp to handle arbitrary combinations of multiple models/optimizers/losses. I'm painfully aware of the complicated combinations of models/optimizers/losses people want to implement. In my opinion, the proposed interface permits a great deal of flexibility in network design.</p> <h3 dir="auto">Gradient accumulation</h3> <p dir="auto">Gradient accumulation across iterations (between steps) is a common use case. The proposed API accommodates gradient accumulation without trouble:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for i, (input, target) in enumerate(data): with autocast(): output = model(input) loss = loss_fn(output, target) loss = loss/iters_to_accumulate scaler.scale(loss).backward() if (i + 1) % iters_to_accumulate == 0: scaler.step(optimizer) scaler.update() optimizer.zero_grad()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">i</span>, (<span class="pl-s1">input</span>, <span class="pl-s1">target</span>) <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>(<span class="pl-s1">data</span>): <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-s1">loss</span><span class="pl-c1">/</span><span class="pl-s1">iters_to_accumulate</span> <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-k">if</span> (<span class="pl-s1">i</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>) <span class="pl-c1">%</span> <span class="pl-s1">iters_to_accumulate</span> <span class="pl-c1">==</span> <span class="pl-c1">0</span>: <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>() <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>()</pre></div> <h3 dir="auto">Switching automatic mixed precision on and off</h3> <p dir="auto">If users want to run with or without autocasting+gradient scaling, they shouldn't have to litter their code with if statements. The API should allow one code path that accommodates easily switching autocasting+gradient scaling on and off.</p> <p dir="auto">The autocasting context manager and <code class="notranslate">AmpScaler</code> constructor provide such convenience by accepting an <code class="notranslate">enabled=False</code> argument.</p> <p dir="auto">In the following example, autocasting and gradient scaling can be switched on and off by flipping <code class="notranslate">args.use_mixed_precision</code> with no additional control flow required.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler(enabled=args.use_mixed_precision) ... for input, target in data: optimizer.zero_grad() with autocast(enabled=args.use_mixed_precision): output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>(<span class="pl-s1">enabled</span><span class="pl-c1">=</span><span class="pl-s1">args</span>.<span class="pl-s1">use_mixed_precision</span>) ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(<span class="pl-s1">enabled</span><span class="pl-c1">=</span><span class="pl-s1">args</span>.<span class="pl-s1">use_mixed_precision</span>): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <h3 dir="auto">Batch replay</h3> <p dir="auto">Sometimes every iteration/batch is valuable enough that users don't want to skip any. Instead, it's preferable to replay the batch with a reduced loss scale until gradients do not contain infs/nans. Batch replay control flow is not provided by the API alone, but with the proposed gradient scaling PR, it would be easy to rig:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="scaler = AmpScaler() ... for input, target in data: # Replay the batch, updating the scale if necessary, until we receive gradients that aren't inf/nan. while True: optimizer.zero_grad() with autocast(): output = model(input) loss = loss_fn(output, target) scaler.scale(loss).backward() scaler.unscale(optimizer) if scaler._found_inf(optimizer).item(): scaler.update() else: break scaler.step(optimizer) scaler.update()"><pre class="notranslate"><span class="pl-s1">scaler</span> <span class="pl-c1">=</span> <span class="pl-v">AmpScaler</span>() ... <span class="pl-k">for</span> <span class="pl-s1">input</span>, <span class="pl-s1">target</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>: <span class="pl-c"># Replay the batch, updating the scale if necessary, until we receive gradients that aren't inf/nan.</span> <span class="pl-k">while</span> <span class="pl-c1">True</span>: <span class="pl-s1">optimizer</span>.<span class="pl-en">zero_grad</span>() <span class="pl-k">with</span> <span class="pl-en">autocast</span>(): <span class="pl-s1">output</span> <span class="pl-c1">=</span> <span class="pl-en">model</span>(<span class="pl-s1">input</span>) <span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">loss_fn</span>(<span class="pl-s1">output</span>, <span class="pl-s1">target</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">scale</span>(<span class="pl-s1">loss</span>).<span class="pl-en">backward</span>() <span class="pl-s1">scaler</span>.<span class="pl-en">unscale</span>(<span class="pl-s1">optimizer</span>) <span class="pl-k">if</span> <span class="pl-s1">scaler</span>.<span class="pl-en">_found_inf</span>(<span class="pl-s1">optimizer</span>).<span class="pl-en">item</span>(): <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>() <span class="pl-k">else</span>: <span class="pl-k">break</span> <span class="pl-s1">scaler</span>.<span class="pl-en">step</span>(<span class="pl-s1">optimizer</span>) <span class="pl-s1">scaler</span>.<span class="pl-en">update</span>()</pre></div> <h1 dir="auto">Alternatives</h1> <h3 dir="auto">Python-side alternatives for gradient scaling and unscaling</h3> <p dir="auto">The supplementary information contains an in-depth discussion of some alternatives I considered for the <a href="https://gist.github.com/mcarilli/43445260404c8d7cd79d84439808250e#file-scaling_apis_considered-md">gradient scaling</a> and <a href="https://gist.github.com/mcarilli/43445260404c8d7cd79d84439808250e#file-unscaling_apis_considered-md">gradient unscaling</a> API.</p> <h3 dir="auto">Gradient scaling in the autograd backend</h3> <p dir="auto">I recently submitted <a href="https://github.com/pytorch/pytorch/pull/24893" data-hovercard-type="pull_request" data-hovercard-url="/pytorch/pytorch/pull/24893/hovercard">a PR</a> that implemented gradient scaling directly in the autograd engine (Engine::execute).</p> <p dir="auto">Benefits:</p> <ul dir="auto"> <li>It automatically enabled gradient scaling for all typical single- and double-backward use cases (including complex cases like gradient penalties) without requiring any change to user scripts.</li> <li>Gradients returned visibly to the user, either in-place via <code class="notranslate">.grad</code> attributes or out-of-place via a call to <code class="notranslate">torch.autograd.grad</code>, were only ever unscaled, eliminating the need to change gradient clipping or manually unscale before computing gradient penalties.</li> </ul> <p dir="auto">Drawbacks:</p> <ul dir="auto"> <li>Modifying engine.cpp, especially for a GPU-specific purpose, is not to be done lightly (ie, not until alternatives are exhausted).</li> <li>It's unclear what the user-facing API would look like. I figured the implementation was general enough to permit many options, and the exact API could be nailed down later. It certainly requires maintaining a global "amp state."</li> <li>Altering the backend to do black-box gradient scaling and require no change to user scripts is a double-edged sword. Explicit Python-side control and visibility of gradient scaling, as we propose above, is not a bad thing. <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cbcase/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cbcase">@cbcase</a>, this seems like an instance of the <a href="https://www.jwz.org/doc/worse-is-better.html" rel="nofollow">https://www.jwz.org/doc/worse-is-better.html</a> thing you told me about...</li> </ul> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vincentqb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vincentqb">@vincentqb</a></p>
<p dir="auto">Hello I have an error with the command<br> MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install<br> I'm trying to install Pytorch for Mac I’m following this tutorial :<br> <a href="https://www.cs.rochester.edu/u/kautz/Installing-Pytorch-Cuda-on-Macbook.html" rel="nofollow">https://www.cs.rochester.edu/u/kautz/Installing-Pytorch-Cuda-on-Macbook.html</a></p> <p dir="auto">I’m using macOS 10.13.4<br> I have installed:</p> <ul dir="auto"> <li>xcode 8.3.3</li> <li>Python 3.6.7 with anaconda</li> <li>Cuda 9.0</li> <li>Install Cuda driver 396<br> I was supposed to install cuDNN v7.1.4 for cuda 9.0 but this is no longer available for Mac so I took cuDNN v7.0.4 Library for OSX</li> </ul> <p dir="auto">I installed pytorch with the following command:<br> conda install pytorch=0.4.1 -c pytorch<br> I did that because conda install pytorch=0.4.1 cuda90 -c pytorch did not work. I think the whl file is not longer available on <a href="https://pytorch.org/get-started/previous-versions/" rel="nofollow">https://pytorch.org/get-started/previous-versions/</a><br> So after I did that, I ran the command line MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py install<br> Now I get this :</p> <p dir="auto">running install<br> running build_deps</p> <ul dir="auto"> <li>USE_CUDA=0</li> <li>USE_ROCM=0</li> <li>USE_NNPACK=0</li> <li>USE_MKLDNN=0</li> <li>USE_GLOO_IBVERBS=0</li> <li>USE_DISTRIBUTED_MW=0</li> <li>FULL_CAFFE2=0</li> <li>[[ 6 -gt 0 ]]</li> <li>case "$1" in</li> <li>USE_CUDA=1</li> <li>shift</li> <li>[[ 5 -gt 0 ]]</li> <li>case "$1" in</li> <li>USE_NNPACK=1</li> <li>shift</li> <li>[[ 4 -gt 0 ]]</li> <li>case "$1" in</li> <li>break</li> <li>CMAKE_INSTALL='make install'</li> <li>USER_CFLAGS=</li> <li>USER_LDFLAGS=</li> <li>[[ -n '' ]]</li> <li>[[ -n '' ]]</li> <li>[[ -n '' ]]<br> ++ uname</li> <li>'[' Darwin == Darwin ']'</li> <li>'[' -d /usr/local/opt/ccache/libexec ']'<br> ++ dirname tools/build_pytorch_libs.sh</li> <li>cd tools/..<br> +++ pwd<br> ++ printf '%q\n' /Users/demanouwamo/Downloads/pytorch</li> <li>PWD=/Users/demanouwamo/Downloads/pytorch</li> <li>BASE_DIR=/Users/demanouwamo/Downloads/pytorch</li> <li>TORCH_LIB_DIR=/Users/demanouwamo/Downloads/pytorch/torch/lib</li> <li>INSTALL_DIR=/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install</li> <li>THIRD_PARTY_DIR=/Users/demanouwamo/Downloads/pytorch/third_party</li> <li>CMAKE_VERSION=cmake</li> <li>C_FLAGS=' -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/TH" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THC" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THNN" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCUNN"'</li> <li>C_FLAGS=' -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/TH" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THC" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THNN" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'</li> <li>LDFLAGS='-L"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/lib" '</li> <li>LD_POSTFIX=.so<br> ++ uname</li> <li>[[ Darwin == \D\a\r\w\i\n ]]</li> <li>LDFLAGS='-L"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,@loader_path'</li> <li>LD_POSTFIX=.dylib</li> <li>CPP_FLAGS=' -std=c++11 '</li> <li>GLOO_FLAGS=</li> <li>THD_FLAGS=</li> <li>NCCL_ROOT_DIR=/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install</li> <li>[[ 1 -eq 1 ]]</li> <li>GLOO_FLAGS='-DUSE_CUDA=1 -DNCCL_ROOT_DIR=/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install'</li> <li>[[ 0 -eq 1 ]]</li> <li>[[ 0 -eq 1 ]]</li> <li>CWRAP_FILES='/Users/demanouwamo/Downloads/pytorch/torch/lib/ATen/Declarations.cwrap;/Users/demanouwamo/Downloads/pytorch/torch/lib/THNN/generic/THNN.h;/Users/demanouwamo/Downloads/pytorch/torch/lib/THCUNN/generic/THCUNN.h;/Users/demanouwamo/Downloads/pytorch/torch/lib/ATen/nn.yaml'</li> <li>CUDA_NVCC_FLAGS=' -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/TH" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THC" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCS" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THNN" -I"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/include/THCUNN" -DOMPI_SKIP_MPICXX=1'</li> <li>[[ -z '' ]]</li> <li>CUDA_DEVICE_DEBUG=0</li> <li>'[' -z 4 ']'</li> <li>BUILD_TYPE=Release</li> <li>[[ -n '' ]]</li> <li>[[ -n '' ]]</li> <li>echo 'Building in Release mode'<br> Building in Release mode</li> <li>mkdir -p torch/lib/tmp_install</li> <li>for arg in '"$@"'</li> <li>[[ caffe2 == \n\c\c\l ]]</li> <li>[[ caffe2 == \g\l\o\o ]]</li> <li>[[ caffe2 == \c\a\f\f\e\2 ]]</li> <li>pushd /Users/demanouwamo/Downloads/pytorch<br> ~/Downloads/pytorch ~/Downloads/pytorch</li> <li>build_caffe2</li> <li>[[ -z '' ]]</li> <li>EXTRA_CAFFE2_CMAKE_FLAGS=()</li> <li>[[ -n '' ]]</li> <li>[[ -n /anaconda3/envs/ptc/lib/python3.6/site-packages ]]</li> <li>EXTRA_CAFFE2_CMAKE_FLAGS+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")</li> <li>mkdir -p build</li> <li>pushd build<br> ~/Downloads/pytorch/build ~/Downloads/pytorch ~/Downloads/pytorch</li> <li>cmake .. -DBUILDING_WITH_TORCH_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_CAFFE2=0 -DBUILD_ATEN=ON -DBUILD_PYTHON=0 -DBUILD_BINARY=OFF -DBUILD_SHARED_LIBS=ON -DONNX_NAMESPACE=onnx_torch -DUSE_CUDA=1 -DCAFFE2_STATIC_LINK_CUDA= -DUSE_ROCM=0 -DUSE_NNPACK=1 -DCUDNN_INCLUDE_DIR=/usr/local/cuda/include -DCUDNN_LIB_DIR=/usr/local/cuda/lib -DCUDNN_LIBRARY=/usr/local/cuda/lib/libcudnn.7.dylib -DUSE_MKLDNN=0 -DMKLDNN_INCLUDE_DIR= -DMKLDNN_LIB_DIR= -DMKLDNN_LIBRARY= -DCMAKE_INSTALL_PREFIX=/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= '-DCMAKE_EXE_LINKER_FLAGS=-L"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,@loader_path ' '-DCMAKE_SHARED_LINKER_FLAGS=-L"/Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install/lib" -Wl,-rpath,@loader_path ' -DCMAKE_PREFIX_PATH=/anaconda3/envs/ptc/lib/python3.6/site-packages<br> -- CLANG_VERSION_STRING: 8.1<br> -- Need to define long as a separate typeid.<br> -- std::exception_ptr is supported.<br> -- NUMA is not available<br> -- Turning off deprecation warning due to glog.<br> -- Current compiler supports avx2 extention. Will build perfkernels.<br> -- Building using own protobuf under third_party per request.<br> -- Use custom protobuf build.<br> -- Caffe2 protobuf include directory: <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="c5471ae686d1da39757efcc18e350543">$&amp;lt;BUILD_INTERFACE:/Users/demanouwamo/Downloads/pytorch/third_party/protobuf/src&amp;gt;$</math-renderer>&amp;lt;INSTALL_INTERFACE:include&gt;<br> -- The BLAS backend of choice:MKL<br> -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m]<br> -- Library mkl_intel_lp64: /anaconda3/envs/ptc/lib/libmkl_intel_lp64.dylib<br> -- Library mkl_intel_thread: /anaconda3/envs/ptc/lib/libmkl_intel_thread.dylib<br> -- Library mkl_core: /anaconda3/envs/ptc/lib/libmkl_core.dylib<br> -- Library iomp5: /anaconda3/envs/ptc/lib/libiomp5.dylib<br> -- Library pthread: /usr/lib/libpthread.dylib<br> -- Library m: /usr/lib/libm.dylib<br> -- Brace yourself, we are building NNPACK<br> -- Found system Eigen at /usr/local/include/eigen3<br> -- Could NOT find pybind11 (missing: pybind11_INCLUDE_DIR)<br> -- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "7.0")<br> -- Caffe2: CUDA detected: 9.0<br> -- Caffe2: CUDA nvcc is: /usr/local/cuda/bin/nvcc<br> -- Caffe2: CUDA toolkit directory: /usr/local/cuda<br> -- Caffe2: Header version is: 9.0<br> -- Found cuDNN: v7.0.4 (include: /usr/local/cuda/include, library: /usr/local/cuda/lib/libcudnn.7.dylib)<br> -- Automatic GPU detection failed. Building for common architectures.<br> -- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX<br> -- Added CUDA NVCC flags for: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_70,code=compute_70<br> -- Could NOT find CUB (missing: CUB_INCLUDE_DIR)<br> -- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor<br> -- Removing -DNDEBUG from compile flags<br> -- MAGMA not found. Compiling without MAGMA support<br> -- Could not find hardware support for NEON on this machine.<br> -- No OMAP3 processor on this machine.<br> -- No OMAP4 processor on this machine.<br> -- SSE2 Found<br> -- SSE3 Found<br> -- AVX Found<br> -- AVX2 Found<br> -- Atomics: using GCC intrinsics<br> -- Found a library with BLAS API (mkl).<br> -- Found a library with LAPACK API. (mkl)<br> -- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "5.5")<br> -- Could NOT find MKLDNN (missing: MKLDNN_INCLUDE_DIR MKLDNN_LIBRARY)<br> -- MKLDNN not found. Compiling without MKLDNN support<br> -- Using python found in /anaconda3/envs/ptc/bin/python<br> -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)<br> -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)<br> -- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)<br> -- Configuring build for SLEEF-v3.2<br> Target system: Darwin-17.6.0<br> Target processor: x86_64<br> Host system: Darwin-17.6.0<br> Host processor: x86_64<br> Detected C compiler: AppleClang @ /Users/demanouwamo/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br> -- Using option <code class="notranslate">-Wall -Wno-unused -Wno-attributes -Wno-unused-result -ffp-contract=off -fno-math-errno -fno-trapping-math</code> to compile libsleef<br> -- Building shared libs : OFF<br> -- MPFR : /usr/local/lib/libmpfr.dylib<br> -- MPFR header file in /usr/local/include<br> -- GMP : /usr/local/lib/libgmp.dylib<br> -- RUNNING_ON_TRAVIS : 0<br> -- COMPILER_SUPPORTS_OPENMP :<br> CMake Warning at CMakeLists.txt:346 (message):<br> Generated cmake files are only fully tested if one builds with system glog,<br> gflags, and protobuf. Other settings may generate files that are not well<br> tested.</li> </ul> <h2 dir="auto">--<br> -- ******** Summary ********<br> -- General:<br> -- CMake version : 3.12.2<br> -- CMake command : /anaconda3/envs/ptc/bin/cmake<br> -- Git version :<br> -- System : Darwin<br> -- C++ compiler : /Users/demanouwamo/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++<br> -- C++ compiler version : 8.1.0.8020042<br> -- BLAS : MKL<br> -- CXX flags : -msse4.1 -msse4.2 --std=c++11 -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations -DONNX_NAMESPACE=onnx_torch -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-aliasing -Wno-error=deprecated-declarations<br> -- Build type : Release<br> -- Compile definitions : USE_GCC_ATOMICS=1;TH_BLAS_MKL;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1<br> -- CMAKE_PREFIX_PATH : /anaconda3/envs/ptc/lib/python3.6/site-packages<br> -- CMAKE_INSTALL_PREFIX : /Users/demanouwamo/Downloads/pytorch/torch/lib/tmp_install</h2> <p dir="auto">-- BUILD_CAFFE2 : 0<br> -- BUILD_ATEN : ON<br> -- BUILD_BINARY : OFF<br> -- BUILD_CUSTOM_PROTOBUF : ON<br> -- Link local protobuf : ON<br> -- BUILD_PYTHON : 0<br> -- BUILD_SHARED_LIBS : ON<br> -- BUILD_TEST : OFF<br> -- USE_ASAN : OFF<br> -- USE_ATEN : OFF<br> -- USE_CUDA : 1<br> -- CUDA static link :<br> -- USE_CUDNN : ON<br> -- CUDA version : 9.0<br> -- cuDNN version : 7.0.4<br> -- CUDA root directory : /usr/local/cuda<br> -- CUDA library : /usr/local/cuda/lib/libcuda.dylib<br> -- cudart library : /usr/local/cuda/lib/libcudart_static.a;-Wl,-rpath,/usr/local/cuda/lib<br> -- cublas library : /usr/local/cuda/lib/libcublas.dylib;/usr/local/cuda/lib/libcublas_device.a<br> -- cufft library : /usr/local/cuda/lib/libcufft.dylib<br> -- curand library : /usr/local/cuda/lib/libcurand.dylib<br> -- cuDNN library : /usr/local/cuda/lib/libcudnn.7.dylib<br> -- nvrtc : /usr/local/cuda/lib/libnvrtc.dylib<br> -- CUDA include path : /usr/local/cuda/include<br> -- NVCC executable : /usr/local/cuda/bin/nvcc<br> -- CUDA host compiler : /Users/demanouwamo/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br> -- USE_TENSORRT : OFF<br> -- USE_ROCM : OFF<br> -- USE_EIGEN_FOR_BLAS :<br> -- USE_FFMPEG : OFF<br> -- USE_GFLAGS : OFF<br> -- USE_GLOG : OFF<br> -- USE_GLOO : OFF<br> -- USE_LEVELDB : OFF<br> -- USE_LITE_PROTO : OFF<br> -- USE_LMDB : OFF<br> -- USE_METAL : OFF<br> -- USE_MKL :<br> -- USE_MOBILE_OPENGL : OFF<br> -- USE_MPI : OFF<br> -- USE_NCCL : OFF<br> -- USE_NERVANA_GPU : OFF<br> -- USE_NNPACK : 1<br> -- USE_OBSERVERS : OFF<br> -- USE_OPENCL : OFF<br> -- USE_OPENCV : OFF<br> -- USE_OPENMP : OFF<br> -- USE_PROF : OFF<br> -- USE_REDIS : OFF<br> -- USE_ROCKSDB : OFF<br> -- USE_ZMQ : OFF<br> -- USE_DISTRIBUTED : OFF<br> -- Public Dependencies : /anaconda3/envs/ptc/lib/libmkl_intel_lp64.dylib;/anaconda3/envs/ptc/lib/libmkl_intel_thread.dylib;/anaconda3/envs/ptc/lib/libmkl_core.dylib;/anaconda3/envs/ptc/lib/libiomp5.dylib;/usr/lib/libpthread.dylib;/usr/lib/libm.dylib<br> -- Private Dependencies : nnpack;cpuinfo;onnxifi_loader<br> -- Configuring done<br> -- Generating done<br> -- Build files have been written to: /Users/demanouwamo/Downloads/pytorch/build</p> <ul dir="auto"> <li>make install -j4<br> [ 1%] Built target js_embed<br> [ 2%] Built target pthreadpool<br> [ 6%] Built target libprotobuf-lite<br> [ 8%] Built target cpuinfo<br> [ 8%] Built target onnxifi_loader<br> [ 9%] Built target common<br> [ 9%] Built target mkrename<br> [ 20%] Built target libprotobuf<br> [ 21%] Built target mkdisp<br> [ 21%] Built target mkalias<br> [ 21%] Built target ATEN_CPU_FILES_GEN_TARGET<br> [ 21%] Built target ATEN_CUDA_FILES_GEN_TARGET<br> [ 21%] Built target mkmasked_gnuabi<br> [ 21%] Built target mkrename_gnuabi<br> [ 21%] Built target arraymap<br> [ 22%] Built target nnpack_reference_layers<br> [ 26%] Built target nnpack<br> [ 27%] Built target headers<br> [ 27%] Built target renamedsp256.h_generated<br> [ 27%] Built target dispavx.c_generated<br> [ 28%] Built target renameSSE2.h_generated<br> [ 28%] Built target renameAVX.h_generated<br> [ 28%] Built target renameFMA4.h_generated<br> [ 28%] Built target renameSSE4.h_generated<br> [ 28%] Built target renameAVX2128.h_generated<br> [ 41%] Built target libprotoc<br> [ 41%] Built target renameAVX2.h_generated<br> [ 41%] Built target dispsse.c_generated<br> [ 41%] Built target renamedsp128.h_generated<br> [ 41%] Built target renameAVX512F.h_generated<br> [ 41%] Generating alias_avx512f.h<br> [ 41%] Built target caffe2_protos<br> [ 41%] Built target protoc<br> [ 41%] Built target dispavx_obj<br> [ 41%] Built target alias_avx512f.h_generated<br> [ 41%] Built target sleefsse2<br> [ 41%] Built target sleefavx<br> [ 42%] Built target sleeffma4<br> [ 43%] Built target sleefsse4<br> [ 44%] Built target sleefavx2128<br> [ 44%] Built target sleefavx2<br> [ 45%] Built target dispsse_obj<br> [ 45%] Built target sleefavx512f<br> [ 45%] Built target gen_onnx_proto<br> [ 46%] Built target sleef<br> [ 47%] Built target onnx_proto<br> [ 51%] Built target onnx<br> [ 69%] Built target caffe2<br> [ 69%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/<strong>/aten/src/THC/caffe2_gpu_generated_THCSleep.cu.o<br> [ 69%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/</strong>/aten/src/THC/caffe2_gpu_generated_THCReduceApplyUtils.cu.o<br> [ 69%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/<strong>/aten/src/THC/caffe2_gpu_generated_THCBlas.cu.o<br> [ 69%] Building NVCC (Device) object caffe2/CMakeFiles/caffe2_gpu.dir/</strong>/aten/src/THC/caffe2_gpu_generated_THCStorage.cu.o<br> nvcc fatal : Unsupported gpu architecture 'compute_70'<br> nvcc fatal : Unsupported gpu architecture 'compute_70'<br> CMake Error at caffe2_gpu_generated_THCSleep.cu.o.Release.cmake:219 (message):<br> Error generating<br> /Users/demanouwamo/Downloads/pytorch/build/caffe2/CMakeFiles/caffe2_gpu.dir/__/aten/src/THC/./caffe2_gpu_generated_THCSleep.cu.o</li> </ul> <p dir="auto">nvcc fatal : Unsupported gpu architecture 'compute_70'<br> CMake Error at caffe2_gpu_generated_THCBlas.cu.o.Release.cmake:219 (message):<br> Error generating<br> /Users/demanouwamo/Downloads/pytorch/build/caffe2/CMakeFiles/caffe2_gpu.dir/__/aten/src/THC/./caffe2_gpu_generated_THCBlas.cu.o</p> <p dir="auto">CMake Error at caffe2_gpu_generated_THCReduceApplyUtils.cu.o.Release.cmake:219 (message):<br> Error generating<br> /Users/demanouwamo/Downloads/pytorch/build/caffe2/CMakeFiles/caffe2_gpu.dir/__/aten/src/THC/./caffe2_gpu_generated_THCReduceApplyUtils.cu.o</p> <p dir="auto">make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/<strong>/aten/src/THC/caffe2_gpu_generated_THCSleep.cu.o] Error 1<br> make[2]: *** Waiting for unfinished jobs....<br> make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/</strong>/aten/src/THC/caffe2_gpu_generated_THCBlas.cu.o] Error 1<br> make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/<strong>/aten/src/THC/caffe2_gpu_generated_THCReduceApplyUtils.cu.o] Error 1<br> nvcc fatal : Unsupported gpu architecture 'compute_70'<br> CMake Error at caffe2_gpu_generated_THCStorage.cu.o.Release.cmake:219 (message):<br> Error generating<br> /Users/demanouwamo/Downloads/pytorch/build/caffe2/CMakeFiles/caffe2_gpu.dir/</strong>/aten/src/THC/./caffe2_gpu_generated_THCStorage.cu.o</p> <p dir="auto">make[2]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/__/aten/src/THC/caffe2_gpu_generated_THCStorage.cu.o] Error 1<br> make[1]: *** [caffe2/CMakeFiles/caffe2_gpu.dir/all] Error 2<br> make: *** [all] Error 2<br> Failed to run 'bash tools/build_pytorch_libs.sh --use-cuda --use-nnpack caffe2 nanopb libshm THD</p> <p dir="auto">Could you help me please.</p>
0
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/minac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/minac">@minac</a> on 2016-07-22T15:22:54Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">meta</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="enansible 2.1.0.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">enansible 2.1.0.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides </code></pre></div> <p dir="auto">Ansible installed via pip and not git.</p> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">[defaults]<br> gathering = explicit<br> host_key_checking = False<br> callback_whitelist = profile_tasks<br> remote_user = ec2-user<br> private_key_file = /Users/migueldavid/.ssh/aws-vigie.pem<br> ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}<br> display_skipped_hosts = False<br> command_warnings = True<br> retry_files_enabled = False<br> squash_actions = apk,apt,dnf,package,pacman,pkgng,yum,zypper</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">Mac OS X El Capitan</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">"meta: refresh_inventory" task fails when set as handler with "The module meta was not found in configured module paths"</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">tasks.yml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Add listener instances to all inventory add_host: name={{ item.public_ip }} groups=all with_items: - &quot;{{ ec2_listener.instances }}&quot; notify: Refresh inventory"><pre class="notranslate"><code class="notranslate">- name: Add listener instances to all inventory add_host: name={{ item.public_ip }} groups=all with_items: - "{{ ec2_listener.instances }}" notify: Refresh inventory </code></pre></div> <p dir="auto">handler.yml</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: Refresh inventory meta: refresh_inventory"><pre class="notranslate"><code class="notranslate">- name: Refresh inventory meta: refresh_inventory </code></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">That the play would refresh the inventory and continue.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RUNNING HANDLER [myplaybook : Refresh inventory] ************ Friday 22 July 2016 15:57:25 +0100 (0:00:31.448) 0:05:22.537 *********** fatal: [localhost]: FAILED! =&gt; {&quot;failed&quot;: true, &quot;msg&quot;: &quot;The module meta was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem.&quot;}"><pre class="notranslate"><code class="notranslate">RUNNING HANDLER [myplaybook : Refresh inventory] ************ Friday 22 July 2016 15:57:25 +0100 (0:00:31.448) 0:05:22.537 *********** fatal: [localhost]: FAILED! =&gt; {"failed": true, "msg": "The module meta was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem."} </code></pre></div> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="167069737" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/4240" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/4240/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/4240">ansible/ansible-modules-core#4240</a></p>
<h5 dir="auto">SUMMARY</h5> <p dir="auto">meta: reset_connection is failing</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">meta</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.7.2"><pre lang="paste" class="notranslate"><code class="notranslate">2.7.2 </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre lang="paste" class="notranslate"><code class="notranslate"> </code></pre></div> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">ubuntu 14.04 on controller</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" handlers: - name: Reset meta: reset_connection tasks: - shell: echo &quot;test&quot; notify: &quot;Reset&quot; "><pre class="notranslate"> <span class="pl-ent">handlers</span>: - <span class="pl-ent">name</span>: <span class="pl-s">Reset</span> <span class="pl-ent">meta</span>: <span class="pl-s">reset_connection</span> <span class="pl-ent">tasks</span>: - <span class="pl-ent">shell</span>: <span class="pl-s">echo "test"</span> <span class="pl-ent">notify</span>: <span class="pl-s"><span class="pl-pds">"</span>Reset<span class="pl-pds">"</span></span> </pre></div> <p dir="auto">Note that with a simple task it doesn't output anything:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" tasks: - name: Reset meta: reset_connection"><pre class="notranslate"><code class="notranslate"> tasks: - name: Reset meta: reset_connection </code></pre></div> <p dir="auto">Nothing is shown</p> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">It should say "success" or "changed"</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">It fails. Also not sure it actually reset the connection or not</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Result =&gt; &quot;connection closed&quot; but it's a failure (in red) so it can break playbooks when &quot;stop as first error&quot; parameter is set up"><pre lang="paste" class="notranslate"><code class="notranslate">Result =&gt; "connection closed" but it's a failure (in red) so it can break playbooks when "stop as first error" parameter is set up </code></pre></div>
1
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">Other Airflow 2 version (please specify below)</p> <h3 dir="auto">What happened</h3> <p dir="auto">Maybe similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="849655118" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/15174" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/15174/hovercard" href="https://github.com/apache/airflow/pull/15174">#15174</a></p> <p dir="auto">Trying to trigger the same dag_id within the same second. I get:</p> <h2 dir="auto">Traceback (most recent call last):</h2> <p dir="auto">File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context<br> self.dialect.do_execute(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 719, in do_execute<br> cursor.execute(statement, parameters)<br> psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "dag_run_dag_id_execution_date_key"<br> DETAIL: Key (dag_id, execution_date)=(shawn-shotgun3-shotgun, 2023-02-16 22:47:21+00) already exists.<br> The above exception was the direct cause of the following exception:<br> Traceback (most recent call last):<br> File "/usr/local/airflow/.local/bin/airflow", line 8, in <br> sys.exit(main())<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/<strong>main</strong>.py", line 39, in main<br> args.func(args)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/cli/cli_parser.py", line 52, in command<br> return func(*args, **kwargs)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/utils/cli.py", line 103, in wrapper<br> return f(*args, **kwargs)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/cli/commands/dag_command.py", line 145, in dag_trigger<br> message = api_client.trigger_dag(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/api/client/local_client.py", line 32, in trigger_dag<br> dag_run = trigger_dag.trigger_dag(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/api/common/trigger_dag.py", line 124, in trigger_dag<br> triggers = _trigger_dag(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/api/common/trigger_dag.py", line 89, in _trigger_dag<br> dag_run = _dag.create_dagrun(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/utils/session.py", line 75, in wrapper<br> return func(*args, session=session, **kwargs)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/airflow/models/dag.py", line 2540, in create_dagrun<br> session.flush()<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 3345, in flush<br> self.<em>flush(objects)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 3484, in <em>flush<br> with util.safe_reraise():<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in <strong>exit</strong><br> compat.raise</em>(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 207, in raise</em><br> raise exception<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 3445, in _flush<br> flush_context.execute()<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/unitofwork.py", line 456, in execute<br> rec.execute(self)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/unitofwork.py", line 630, in execute<br> util.preloaded.orm_persistence.save_obj(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/persistence.py", line 244, in save_obj<br> _emit_insert_statements(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/persistence.py", line 1221, in _emit_insert_statements<br> result = connection._execute_20(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1614, in _execute_20<br> return meth(self, args_10style, kwargs_10style, execution_options)<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 325, in _execute_on_connection<br> return connection._execute_clauseelement(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1481, in _execute_clauseelement<br> ret = self._execute_context(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1845, in _execute_context<br> self.<em>handle_dbapi_exception(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2026, in <em>handle_dbapi_exception<br> util.raise</em>(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 207, in raise</em><br> raise exception<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1802, in _execute_context<br> self.dialect.do_execute(<br> File "/usr/local/airflow/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 719, in do_execute<br> cursor.execute(statement, parameters)<br> sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "dag_run_dag_id_execution_date_key"<br> DETAIL: Key (dag_id, execution_date)=(shawn-shotgun3-shotgun, 2023-02-16 22:47:21+00) already exists.<br> [SQL: INSERT INTO dag_run (dag_id, queued_at, execution_date, start_date, end_date, state, run_id, creating_job_id, external_trigger, run_type, conf, data_interval_start, data_interval_end, last_scheduling_decision, dag_hash, log_template_id) VALUES (%(dag_id)s, %(queued_at)s, %(execution_date)s, %(start_date)s, %(end_date)s, %(state)s, %(run_id)s, %(creating_job_id)s, %(external_trigger)s, %(run_type)s, %(conf)s, %(data_interval_start)s, %(data_interval_end)s, %(last_scheduling_decision)s, %(dag_hash)s, (SELECT max(log_template.id) AS max_1<br> FROM log_template)) RETURNING dag_run.id]<br> [parameters: {'dag_id': 'shawn-shotgun3-shotgun', 'queued_at': datetime.datetime(2023, 2, 16, 22, 47, 22, 43099, tzinfo=Timezone('UTC')), 'execution_date': DateTime(2023, 2, 16, 22, 47, 21, tzinfo=Timezone('UTC')), 'start_date': None, 'end_date': None, 'state': &lt;DagRunState.QUEUED: 'queued'&gt;, 'run_id': 'shotgun3_20230216224703986721', 'creating_job_id': None, 'external_trigger': True, 'run_type': &lt;DagRunType.MANUAL: 'manual'&gt;, 'conf': &lt;psycopg2.extensions.Binary object at 0x7fab34ddb840&gt;, 'data_interval_start': DateTime(2023, 2, 16, 22, 47, 21, tzinfo=Timezone('UTC')), 'data_interval_end': DateTime(2023, 2, 16, 22, 47, 21, tzinfo=Timezone('UTC')), 'last_scheduling_decision': None, 'dag_hash': '7ab0e818c048cc52d84ba94f0df44258'}]<br> (Background on this error at: <a href="https://sqlalche.me/e/14/gkpj" rel="nofollow">https://sqlalche.me/e/14/gkpj</a>)</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">It should be allowed to run the same dag many times without any issue of how fast it is being run. The error message above seems to suggest that there is a unique key constraint with columns:</p> <p dir="auto">dag_id, execution_date</p> <p dir="auto">which prevent this since the execution_date only has resolution to the second. I would have thought dag_id and run_id should be the unique key constraint and leave it up to the caller to guarantee unique run_ids.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating System</h3> <p dir="auto">AWS MWAA 2.4.3</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Deployment</h3> <p dir="auto">MWAA</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<h3 dir="auto">Description</h3> <p dir="auto">I would like to build a graph like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ┌───► task_2_1 ─────► task_2_1 │ │ │ task 1 ───────► task_2_2 ─────► task_3_2 │ │ │ │ └──► task_2_N ─────► task_3_N"><pre class="notranslate"><code class="notranslate"> ┌───► task_2_1 ─────► task_2_1 │ │ │ task 1 ───────► task_2_2 ─────► task_3_2 │ │ │ │ └──► task_2_N ─────► task_3_N </code></pre></div> <p dir="auto">Where the number of vertical tasks (N) is controlled dynamically by the first step computation. A possible solution would be:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from airflow import DAG from airflow.decorators import task, task_group from pendulum import datetime, now @task def task_1(): return list(range(5)) @task def task_2(task_num): return task_num @task def task_3(task_num): return task_num with DAG(dag_id=&quot;my_dag&quot;, start_date=now(), schedule_interval=None) as dag: task_3.expand(task_num=task_2.expand(task_num=task_1()))"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">airflow</span> <span class="pl-k">import</span> <span class="pl-v">DAG</span> <span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">decorators</span> <span class="pl-k">import</span> <span class="pl-s1">task</span>, <span class="pl-s1">task_group</span> <span class="pl-k">from</span> <span class="pl-s1">pendulum</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</span>, <span class="pl-s1">now</span> <span class="pl-en">@<span class="pl-s1">task</span></span> <span class="pl-k">def</span> <span class="pl-en">task_1</span>(): <span class="pl-k">return</span> <span class="pl-en">list</span>(<span class="pl-en">range</span>(<span class="pl-c1">5</span>)) <span class="pl-en">@<span class="pl-s1">task</span></span> <span class="pl-k">def</span> <span class="pl-en">task_2</span>(<span class="pl-s1">task_num</span>): <span class="pl-k">return</span> <span class="pl-s1">task_num</span> <span class="pl-en">@<span class="pl-s1">task</span></span> <span class="pl-k">def</span> <span class="pl-en">task_3</span>(<span class="pl-s1">task_num</span>): <span class="pl-k">return</span> <span class="pl-s1">task_num</span> <span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-s">"my_dag"</span>, <span class="pl-s1">start_date</span><span class="pl-c1">=</span><span class="pl-en">now</span>(), <span class="pl-s1">schedule_interval</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-k">as</span> <span class="pl-s1">dag</span>: <span class="pl-s1">task_3</span>.<span class="pl-en">expand</span>(<span class="pl-s1">task_num</span><span class="pl-c1">=</span><span class="pl-s1">task_2</span>.<span class="pl-en">expand</span>(<span class="pl-s1">task_num</span><span class="pl-c1">=</span><span class="pl-en">task_1</span>()))</pre></div> <p dir="auto">But the task_3 instances start to run only when all the task_2 instance have finished. I would rather group tasks by instances of task_2 and task_3 sharing the same task_num.<br> An intuitive solution would have been to use a taskgroup, but these do not have the expand method.</p> <h3 dir="auto">Use case/motivation</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Related issues</h3> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1303831971" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/25032" data-hovercard-type="issue" data-hovercard-url="/apache/airflow/issues/25032/hovercard" href="https://github.com/apache/airflow/issues/25032">#25032</a></p> <h3 dir="auto">Are you willing to submit a PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
0
<p dir="auto">while i can easily fix this in my code, this seems a bug, What happens is that this leaves Object.items as an empty list, whatever it was before. It happens in "sqlalchemy\orm\collections.py" on lines 1157-1163:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if step == 1: for i in range(start, stop, step): if len(self) &gt; start: del self[start] for i, item in enumerate(value): self.insert(i + start, item)"><pre class="notranslate"><code class="notranslate"> if step == 1: for i in range(start, stop, step): if len(self) &gt; start: del self[start] for i, item in enumerate(value): self.insert(i + start, item) </code></pre></div> <p dir="auto">Basically if self is the same InstrumentedList as value, then 'del self[start]' also removes value[start], leaving an empty list to be inserted. This would (unverified) also go wrong with any other slice, as long as self and value are the same object.</p> <p dir="auto">This is not the same behavior is in python itself:</p> <p dir="auto">L = [1,2,3]<br> L[:] = L<br> print(L)</p>
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">Hi,</p> <p dir="auto">Imagine the following test-case:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" A | \ B C | D"><pre class="notranslate"><code class="notranslate"> A | \ B C | D </code></pre></div> <p dir="auto">so A is the "root" mapper, B and C inherit from A and D inherits from B (B is a kind of "virtual" class/table), in SQLAlchemy I have something like (not sure for mapper_B):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mapper_A = mapper(A, table_a, polymorphic_on=table_a.c.type_id) mapper_C = mapper(C, table_c, inherits=A, polymorphic_identity='c') mapper_B = mapper(B, table_b, inherits=A) mapper_D = mapper(D, table_d, inherits=B, polymorphic_identity='d')"><pre class="notranslate"><code class="notranslate">mapper_A = mapper(A, table_a, polymorphic_on=table_a.c.type_id) mapper_C = mapper(C, table_c, inherits=A, polymorphic_identity='c') mapper_B = mapper(B, table_b, inherits=A) mapper_D = mapper(D, table_d, inherits=B, polymorphic_identity='d') </code></pre></div> <ul dir="auto"> <li>A.query.with_polymorphic(<a href="B,">D</a>) works as expected</li> <li>A.query.with_polymorphic(<a href="D,">B</a>) doesn't work because the tables are joined in the wrong order (ProgrammingError: (ProgrammingError) missing FROM-clause entry for table b). I think SQLAlchemy should detect that.</li> <li>A.query.with_polymorphic(<a href="D">D</a>) doesn't work because of a missing table (ProgrammingError: (ProgrammingError) missing FROM-clause entry for table b).</li> </ul> <p dir="auto">It would be fantastic if we could do something like:<br> A.query.with_polymorphic(<a href="D,">E, F, G, ...</a>) regardless of the order of tables/inheritance ...<br> Now I'm using .iterate_to_root() to bypass that, but it's a little "hackish" because I have to do it for each mapped object .. and merge the whole thing at the end :(</p> <p dir="auto">Thanks,<br> Julien</p>
0
<p dir="auto">Argsort does not return indices that sort the input array</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 x = np.array([ 3 ,1, 2]) np.argsort(x)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([ <span class="pl-c1">3</span> ,<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]) <span class="pl-s1">np</span>.<span class="pl-en">argsort</span>(<span class="pl-s1">x</span>)</pre></div> <p dir="auto">The output is array([1, 2, 0]). Shouldn't it be [2,0,1]</p> <h3 dir="auto">NumPy/Python version information:</h3> <p dir="auto">v1.21</p>
<p dir="auto">The argsort function seems to be broken. Looking at the code provided, the argsort for rows [0, 1] is correct but it's messed up for rows [2, 3].<br> I tested this on different NumPy installations and versions 1.11.0 and 1.12.0</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np vec = np.array([ [-1.4, -1.2, 1.3], [-3.6, 3.9, -3.7], [-2.3, 1.5, -2. ], [-2.6, 2.4, -1.6] ]) In [1]: np.argsort(-vec, axis=1) Out[1]: array([[2, 1, 0], [1, 0, 2], [1, 2, 0], [1, 2, 0]])"><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">vec</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([ [<span class="pl-c1">-</span><span class="pl-c1">1.4</span>, <span class="pl-c1">-</span><span class="pl-c1">1.2</span>, <span class="pl-c1">1.3</span>], [<span class="pl-c1">-</span><span class="pl-c1">3.6</span>, <span class="pl-c1">3.9</span>, <span class="pl-c1">-</span><span class="pl-c1">3.7</span>], [<span class="pl-c1">-</span><span class="pl-c1">2.3</span>, <span class="pl-c1">1.5</span>, <span class="pl-c1">-</span><span class="pl-c1">2.</span> ], [<span class="pl-c1">-</span><span class="pl-c1">2.6</span>, <span class="pl-c1">2.4</span>, <span class="pl-c1">-</span><span class="pl-c1">1.6</span>] ]) <span class="pl-v">In</span> [<span class="pl-c1">1</span>]: <span class="pl-s1">np</span>.<span class="pl-en">argsort</span>(<span class="pl-c1">-</span><span class="pl-s1">vec</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">1</span>) <span class="pl-v">Out</span>[<span class="pl-c1">1</span>]: <span class="pl-en">array</span>([[<span class="pl-c1">2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">2</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>]])</pre></div>
1
<h4 dir="auto">Expected Behaviour</h4> <p dir="auto">deno lsp should support and format files with emojis inside.</p> <h4 dir="auto">Actual Behaviour</h4> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Starting Deno language server... version: 1.6.3 (release, x86_64-unknown-linux-gnu) Connected to &quot;vscode&quot; 1.52.1 language server initialized Server ready. thread 'main' panicked at 'assertion failed: self.is_char_boundary(n)', /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/alloc/src/string.rs:1555:29 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [Error - 10:46:37 PM] Connection to server got closed. Server will not be restarted. [Error - 10:46:37 PM] Request textDocument/formatting failed. Error: Connection got disposed. at Object.dispose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/main.js:904:25) at Object.dispose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:74:35) at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:2309:42) at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/main.js:155:15) at closeHandler (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:2296:18) at CallbackList.invoke (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:62:39) at Emitter.fire (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:121:36) at closeHandler (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/main.js:240:26) at CallbackList.invoke (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:62:39) at Emitter.fire (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:121:36) at StreamMessageReader.fireClose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27) at Socket.&lt;anonymous&gt; (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/messageReader.js:151:46) at Socket.emit (events.js:228:7) at Pipe.&lt;anonymous&gt; (net.js:664:12)"><pre class="notranslate"><code class="notranslate">Starting Deno language server... version: 1.6.3 (release, x86_64-unknown-linux-gnu) Connected to "vscode" 1.52.1 language server initialized Server ready. thread 'main' panicked at 'assertion failed: self.is_char_boundary(n)', /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/alloc/src/string.rs:1555:29 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [Error - 10:46:37 PM] Connection to server got closed. Server will not be restarted. [Error - 10:46:37 PM] Request textDocument/formatting failed. Error: Connection got disposed. at Object.dispose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/main.js:904:25) at Object.dispose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:74:35) at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:2309:42) at LanguageClient.handleConnectionClosed (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/main.js:155:15) at closeHandler (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-languageclient/lib/client.js:2296:18) at CallbackList.invoke (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:62:39) at Emitter.fire (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:121:36) at closeHandler (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/main.js:240:26) at CallbackList.invoke (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:62:39) at Emitter.fire (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/events.js:121:36) at StreamMessageReader.fireClose (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27) at Socket.&lt;anonymous&gt; (/root/.vscode-server/extensions/denoland.vscode-deno-canary-0.0.6/client/node_modules/vscode-jsonrpc/lib/messageReader.js:151:46) at Socket.emit (events.js:228:7) at Pipe.&lt;anonymous&gt; (net.js:664:12) </code></pre></div> <h4 dir="auto">Steps to Reproduce</h4> <ol dir="auto"> <li>Create a file with <code class="notranslate">globalThis.console.log(</code><g-emoji class="g-emoji" alias="hankey" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a9.png">💩</g-emoji><code class="notranslate">)</code></li> <li>Try to format it with vscode-deno-canary</li> </ol> <h4 dir="auto">Using</h4> <ul dir="auto"> <li>deno 1.6.3 (release, x86_64-unknown-linux-gnu)</li> <li>v8 8.8.294</li> <li>typescript 4.1.3</li> <li>vscode 1.52.1</li> <li>denoland.vscode-deno-canary</li> </ul>
<p dir="auto">Editing, or creating a document with the following text causes all sorts of issues and lsp server crashes:</p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const foo = `编写软件很难`; console.log(foo);"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-s">`编写软件很难`</span><span class="pl-kos">;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">foo</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">For example, changing <code class="notranslate">.log</code> to <code class="notranslate">.warn</code> will result in bad diagnostics like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Unterminated template literal."><pre class="notranslate"><code class="notranslate">Unterminated template literal. </code></pre></div> <p dir="auto">This is because characters are not being counted the same between what is being sent by the lsp and how the lsp internally calculates them, causing the internal file to be updated in the wrong location.</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.4</li> <li>Operating System version: Mac OS/X</li> <li>Java version: 1.8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>checkout dubbo 2.6.2, see as below in the ServiceConfig.java<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1165129/47626728-89835480-db67-11e8-9c5d-73c3f3dfe2a1.jpg"><img src="https://user-images.githubusercontent.com/1165129/47626728-89835480-db67-11e8-9c5d-73c3f3dfe2a1.jpg" alt="51540780365_ pic" style="max-width: 100%;"></a></li> <li>checkout dubbo 2.6.4,<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1165129/47626757-a586f600-db67-11e8-959a-2a546453dcb7.jpg"><img src="https://user-images.githubusercontent.com/1165129/47626757-a586f600-db67-11e8-959a-2a546453dcb7.jpg" alt="71540780398_ pic" style="max-width: 100%;"></a></li> <li>which one is correct for aboves?</li> </ol> <p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p> <h3 dir="auto">Expected Result</h3> <p dir="auto">I think correct result is looks like version 2.6.2</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">If there is an exception, please attach the exception trace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here! </code></pre></div>
<h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.3</li> <li>Operating System version: win</li> <li>Java version: 1.8.0_73</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <ol dir="auto"> <li>starting provider</li> </ol> <h3 dir="auto">Expected Result</h3> <p dir="auto">regist 2.6.3 version</p> <h3 dir="auto">Actual Result</h3> <p dir="auto">the actual regiser url is: dubbo://XXXX?<strong>dubbo=2.0.2</strong> ...</p> <h4 dir="auto">备注</h4> <p dir="auto">当provider注册service时,注册url中传的dubbo 版本号不正确,在注册中心里看到的版本号也不对,传了错误的2.0.2</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p> <p dir="auto">table.c.name.startswith( table.c.alias) currently fails:</p> <p dir="auto">File "/usr/lib/python2.4/site-packages/sqlalchemy/sql.py", line 568, in endswith<br> return self._compare('LIKE', "%" + other)<br> TypeError: cannot concatenate 'str' and 'Column' objects</p> <p dir="auto">here a possible patch.</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/470/colexpr.py">colexpr.py</a> | <a href="../wiki/imported_issue_attachments/470/like-endswith-startwith-in.tbz">like-endswith-startwith-in.tbz</a> | <a href="../wiki/imported_issue_attachments/470/like-endswith-startwith.py">like-endswith-startwith.py</a> | <a href="../wiki/imported_issue_attachments/470/like-endswith-startwith-in.py">like-endswith-startwith-in.py</a> | <a href="../wiki/imported_issue_attachments/470/literal4starts-ends-with.4.diff">literal4starts-ends-with.4.diff</a> | <a href="../wiki/imported_issue_attachments/470/literal4starts-ends-with-in.diff">literal4starts-ends-with-in.diff</a> | <a href="../wiki/imported_issue_attachments/470/literal4starts-ends-with.2.diff">literal4starts-ends-with.2.diff</a> | <a href="../wiki/imported_issue_attachments/470/literal4starts-ends-with.diff">literal4starts-ends-with.diff</a> | <a href="../wiki/imported_issue_attachments/470/literal4starts-ends-with.3.diff">literal4starts-ends-with.3.diff</a></p>
<p dir="auto"><strong>Migrated issue, originally created by Jack Zhou (<a href="https://github.com/univerio">@univerio</a>)</strong></p> <p dir="auto">When using the <code class="notranslate">ON DUPLICATE KEY UPDATE</code> support for MySQL, the <code class="notranslate">.values()</code> generative function is not available, contrary to the claims made by the <a href="http://docs.sqlalchemy.org/en/latest/dialects/mysql.html#mysql-insert-on-duplicate-key-update" rel="nofollow">documentation</a>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/usr/lib/python3.5/runpy.py&quot;, line 184, in _run_module_as_main &quot;__main__&quot;, mod_spec) File &quot;/usr/lib/python3.5/runpy.py&quot;, line 85, in _run_code exec(code, run_globals) File &quot;kronos/__main__.py&quot;, line 97, in &lt;module&gt; cli() File &quot;/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py&quot;, line 722, in __call__ return self.main(*args, **kwargs) File &quot;/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py&quot;, line 697, in main rv = self.invoke(ctx) File &quot;kronos/__main__.py&quot;, line 31, in invoke return super(CLI, self).invoke(ctx) File &quot;/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py&quot;, line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File &quot;/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py&quot;, line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File &quot;/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py&quot;, line 535, in invoke return callback(*args, **kwargs) File &quot;/home/ashu/Documents/kronos/scripts/gilmore_from_scratch.py&quot;, line 46, in gilmore_from_scratch stmt = insert(GilmoreItem.__table__).values(**to_insert) TypeError: 'ImmutableColumnCollection' object is not callable"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File "kronos/__main__.py", line 97, in &lt;module&gt; cli() File "/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "kronos/__main__.py", line 31, in invoke return super(CLI, self).invoke(ctx) File "/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py", line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/ashu/Documents/kronos/venv/lib/python3.5/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/ashu/Documents/kronos/scripts/gilmore_from_scratch.py", line 46, in gilmore_from_scratch stmt = insert(GilmoreItem.__table__).values(**to_insert) TypeError: 'ImmutableColumnCollection' object is not callable </code></pre></div> <p dir="auto">It appears to be shadowed by the <code class="notranslate">.values</code> property intended to support the <code class="notranslate">VALUES(...)</code> construct. Perhaps the column collection could be named <code class="notranslate">values_</code> instead?</p> <p dir="auto">The workaround is to specify <code class="notranslate">values</code> with the <code class="notranslate">insert</code> constructor:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="stmt = insert(GilmoreItem.__table__, values=to_insert)"><pre class="notranslate"><code class="notranslate">stmt = insert(GilmoreItem.__table__, values=to_insert) </code></pre></div>
0
<p dir="auto">Hello,</p> <p dir="auto">I've got an application which uses match_phrase queries to look for, and highlight, exact matches within file texts. It worked fantastically on ElasticSearch version 2.0.0 and 2.0.1, but breaks on 2.1.0.</p> <p dir="auto">The query appears to run correctly but the highlighter highlights ALL instances of terms in the query instead of just those that appear within matched phrases. For example, if the query contains the word "is", then every instance of the word "is" - throughout the entire document - is highlighted.</p> <h1 dir="auto">Example:</h1> <p dir="auto">As an example, I've prepared a series of commands in the Sense chrome plugin to replicate the problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="POST /test_index { &quot;settings&quot;: { &quot;number_of_shards&quot;: 1, &quot;number_of_replicas&quot;: 0 }, &quot;mappings&quot; : { &quot;file&quot; : { &quot;properties&quot; : { &quot;text&quot; : { &quot;type&quot; : &quot;string&quot;} } } } } POST /test_index/file { &quot;text&quot;: &quot;The quick brown fox jumped over the other, lazier, fox.&quot; } POST /test_index/file { &quot;text&quot;: &quot;Doc Brown is one quick fox.&quot; } POST /test_index/file/_search { &quot;query&quot;: { &quot;match_phrase&quot;: { &quot;text&quot;: &quot;quick brown fox&quot; } }, &quot;highlight&quot;: { &quot;fields&quot;: { &quot;text&quot;: { &quot;number_of_fragments&quot;: 0 } } } }"><pre class="notranslate"><code class="notranslate">POST /test_index { "settings": { "number_of_shards": 1, "number_of_replicas": 0 }, "mappings" : { "file" : { "properties" : { "text" : { "type" : "string"} } } } } POST /test_index/file { "text": "The quick brown fox jumped over the other, lazier, fox." } POST /test_index/file { "text": "Doc Brown is one quick fox." } POST /test_index/file/_search { "query": { "match_phrase": { "text": "quick brown fox" } }, "highlight": { "fields": { "text": { "number_of_fragments": 0 } } } } </code></pre></div> <h2 dir="auto">Version 2.0.1 results</h2> <p dir="auto">Under version 2.0.1, the search call returns the following hits array:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;hits&quot;: [ { &quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;file&quot;, &quot;_id&quot;: &quot;AVF-PCoeysoVw9xNBYa3&quot;, &quot;_score&quot;: 0.55737644, &quot;_source&quot;:{ &quot;text&quot;: &quot;The quick brown fox jumped over the other, lazier, fox.&quot; }, &quot;highlight&quot;: { &quot;text&quot;: [ &quot;The &lt;em&gt;quick&lt;/em&gt; &lt;em&gt;brown&lt;/em&gt; &lt;em&gt;fox&lt;/em&gt; jumped over the other, lazier, fox.&quot; ] } } ]"><pre class="notranslate"><span class="pl-ent">"hits"</span>: [ { <span class="pl-ent">"_index"</span>: <span class="pl-s"><span class="pl-pds">"</span>test_index<span class="pl-pds">"</span></span>, <span class="pl-ent">"_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>file<span class="pl-pds">"</span></span>, <span class="pl-ent">"_id"</span>: <span class="pl-s"><span class="pl-pds">"</span>AVF-PCoeysoVw9xNBYa3<span class="pl-pds">"</span></span>, <span class="pl-ent">"_score"</span>: <span class="pl-c1">0.55737644</span>, <span class="pl-ent">"_source"</span>:{ <span class="pl-ent">"text"</span>: <span class="pl-s"><span class="pl-pds">"</span>The quick brown fox jumped over the other, lazier, fox.<span class="pl-pds">"</span></span> }, <span class="pl-ent">"highlight"</span>: { <span class="pl-ent">"text"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>The &lt;em&gt;quick&lt;/em&gt; &lt;em&gt;brown&lt;/em&gt; &lt;em&gt;fox&lt;/em&gt; jumped over the other, lazier, fox.<span class="pl-pds">"</span></span> ] } } ]</pre></div> <p dir="auto">This is the expected and desired output.</p> <h2 dir="auto">Version 2.1.0 results</h2> <p dir="auto">Under version 2.1.0, the search call returns the following hits array:</p> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;hits&quot;: [ { &quot;_index&quot;: &quot;test_index&quot;, &quot;_type&quot;: &quot;file&quot;, &quot;_id&quot;: &quot;AVF-MdXsEcdhEnh7dUcO&quot;, &quot;_score&quot;: 0.55737644, &quot;_source&quot;: { &quot;text&quot;: &quot;The quick brown fox jumped over the other, lazier, fox.&quot; }, &quot;highlight&quot;: { &quot;text&quot;: [ &quot;The &lt;em&gt;quick&lt;/em&gt; &lt;em&gt;brown&lt;/em&gt; &lt;em&gt;fox&lt;/em&gt; jumped over the other, lazier, &lt;em&gt;fox&lt;/em&gt;.&quot; ] } } ]"><pre class="notranslate"><span class="pl-ent">"hits"</span>: [ { <span class="pl-ent">"_index"</span>: <span class="pl-s"><span class="pl-pds">"</span>test_index<span class="pl-pds">"</span></span>, <span class="pl-ent">"_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>file<span class="pl-pds">"</span></span>, <span class="pl-ent">"_id"</span>: <span class="pl-s"><span class="pl-pds">"</span>AVF-MdXsEcdhEnh7dUcO<span class="pl-pds">"</span></span>, <span class="pl-ent">"_score"</span>: <span class="pl-c1">0.55737644</span>, <span class="pl-ent">"_source"</span>: { <span class="pl-ent">"text"</span>: <span class="pl-s"><span class="pl-pds">"</span>The quick brown fox jumped over the other, lazier, fox.<span class="pl-pds">"</span></span> }, <span class="pl-ent">"highlight"</span>: { <span class="pl-ent">"text"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>The &lt;em&gt;quick&lt;/em&gt; &lt;em&gt;brown&lt;/em&gt; &lt;em&gt;fox&lt;/em&gt; jumped over the other, lazier, &lt;em&gt;fox&lt;/em&gt;.<span class="pl-pds">"</span></span> ] } } ]</pre></div> <p dir="auto">This is the same match, and even has the same score, but the word "fox" is incorrectly highlighted when it occurs without the rest of the phrase.</p> <h2 dir="auto">Tested solutions</h2> <p dir="auto">In attempt to rectify this problem, I attempted two things:</p> <ol dir="auto"> <li>First, on the theory that perhaps it had switched to the postings highlighter rather than the plain highlighter, I attempted to force the use of the plain version with the <code class="notranslate">"type": "plain"</code> flag. Unfortunately, this had no visible effect.</li> <li>Second, duplicated the original query within a <code class="notranslate">"highlight_query"</code> block. This too, unfortunately, had no visible effect.</li> </ol> <h1 dir="auto">Theory</h1> <p dir="auto">Currently, my theory is that this problem is related to the upgrade to lucene-5.3.0. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="104231337" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/13239" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/13239/hovercard" href="https://github.com/elastic/elasticsearch/pull/13239">#13239</a>)<br> Specifically, I wonder if it has to do with how NearSpansOrdered are processed. (<a href="https://issues.apache.org/jira/browse/LUCENE-6537" rel="nofollow">https://issues.apache.org/jira/browse/LUCENE-6537</a>)</p> <p dir="auto">That said, this is purely conjecture. It's quite possible - or even likely - that the problem lies elsewhere.<br> I'm hoping that an elasticsearch expert might have a better idea.</p> <p dir="auto">Thank you.</p>
<p dir="auto">Hello,</p> <p dir="auto">After upgrading our Production cluster to Version 1.3.5 , the cluster is constantly in red state with :<br> {<br> "cluster_name" : "totango_prod_hist",<br> "status" : "red",<br> "timed_out" : false,<br> "number_of_nodes" : 26,<br> "number_of_data_nodes" : 20,<br> "active_primary_shards" : 100,<br> "active_shards" : 200,<br> "relocating_shards" : 0,<br> "initializing_shards" : 2,<br> "unassigned_shards" : 2<br> }</p> <p dir="auto">When i went over the logs i found this exception:</p> <p dir="auto">2014-11-19 16:21:01,253][WARN ][index.engine.internal ] [elasticsearch-prod-hist08] [2014_11][5] failed engine [refresh failed]<br> [2014-11-19 16:21:01,401][WARN ][cluster.action.shard ] [elasticsearch-prod-hist08] [2014_11][5] sending failed shard for [2014_11][5], node[fiY35nZBRLOZzQ_AUBOcQA], [P], s[INITIALIZING], indexUUID [Ms7CtS7kRg6pth9YXgPSEg], reason [engine failure, message [refresh failed][IllegalStateException[parentFilter must return FixedBitSet; got org.apache.lucene.search.BitsFilteredDocIdSet@739f95fa]]]<br> [2014-11-19 16:23:52,294][WARN ][index.engine.internal ] [elasticsearch-prod-hist08] [2014_11][5] failed engine [refresh failed]<br> [2014-11-19 16:23:52,569][WARN ][cluster.action.shard ] [elasticsearch-prod-hist08] [2014_11][5] sending failed shard for [2014_11][5], node[fiY35nZBRLOZzQ_AUBOcQA], [P], s[INITIALIZING], indexUUID [Ms7CtS7kRg6pth9YXgPSEg], reason [engine failure, message [refresh failed][IllegalStateException[parentFilter must return FixedBitSet; got org.apache.lucene.search.BitsFilteredDocIdSet@503839bb]]]<br> [2014-11-19 16:26:42,678][WARN ][index.engine.internal ] [elasticsearch-prod-hist08] [2014_11][5] failed engine [refresh failed]<br> [2014-11-19 16:26:42,934][WARN ][cluster.action.shard ] [elasticsearch-prod-hist08] [2014_11][5] sending failed shard for [2014_11][5], node[fiY35nZBRLOZzQ_AUBOcQA], [P], s[INITIALIZING], indexUUID [Ms7CtS7kRg6pth9YXgPSEg], reason [engine failure, message [refresh failed][IllegalStateException[parentFilter must return FixedBitSet; got org.apache.lucene.search.BitsFilteredDocIdSet@3674e0a0]]]<br> [2014-11-19 16:29:32,599][WARN ][index.engine.internal ] [elasticsearch-prod-hist08] [2014_11][5] failed engine [refresh failed]<br> [2014-11-19 16:29:32,855][WARN ][cluster.action.shard ] [elasticsearch-prod-hist08] [2014_11][5] sending failed shard for [2014_11][5], node[fiY35nZBRLOZzQ_AUBOcQA], [P], s[INITIALIZING], indexUUID [Ms7CtS7kRg6pth9YXgPSEg], reason [engine failure, message [refresh failed][IllegalStateException[parentFilter must return FixedBitSet; got org.apache.lucene.search.BitsFilteredDocIdSet@5a27fe79]]]<br> [2014-11-19 16:32:23,194][WARN ][index.engine.internal ] [elasticsearch-prod-hist08] [2014_11][5] failed engine [refresh failed]<br> [2014-11-19 16:32:23,442][WARN ][cluster.action.shard ] [elasticsearch-prod-hist08] [2014_11][5] sending failed shard for [2014_11][5], node[fiY35nZBRLOZzQ_AUBOcQA], [P], s[INITIALIZING], indexUUID [Ms7CtS7kRg6pth9YXgPSEg], reason [engine failure, message [refresh failed][IllegalStateException[parentFilter must return FixedBitSet; got org.apache.lucene.search.BitsFilteredDocIdSet@39c4890a]]]</p> <p dir="auto">Please advise ?</p> <p dir="auto">Thanks,</p> <p dir="auto">Costya.</p>
0
<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></p> <ul dir="auto"> <li>Go to <a href="https://codepen.io/anon/pen/qjpBzw" rel="nofollow">https://codepen.io/anon/pen/qjpBzw</a> (this is a modified version of the 'Controlled Components' docmentation page to put the chars in upper case)</li> <li>Type 'a' into the input, you get 'A'</li> <li>Then type 'b', you get 'AAB'</li> </ul> <p dir="auto"><strong>What is the expected behavior?</strong><br> We should have 'AB'</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> The CodePen uses [email protected], and the bug only occurs with Firefox <em>mobile</em> (not with the desktop version). I tested with FF53 and 54</p> <p dir="auto">The bug only occurs because i change the case.</p>
<p dir="auto">With server-side rendering (SSR), after page reload, <code class="notranslate">input</code> element preserves its content but <code class="notranslate">useState</code> clears its state.<br> The value of input element (in DOM, visible to user) and internal state are different in this situation.<br> In the view of user, application looks inconsistent.</p> <p dir="auto">I searched Internet for the issue but couldn't find someone who mentioned this. Sorry if duplicated.</p> <p dir="auto">React version: 17.0.2</p> <h2 dir="auto">Steps To Reproduce</h2> <p dir="auto">Basically this code reproduces, but a server for SSR is necessary.<br> This application provides an input box and a button.<br> When the button is clicked, it opens a dialog to show the current value of the input box.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const React = require(&quot;react&quot;) const ReactDOM = require(&quot;react-dom&quot;) const App = () =&gt; { const [value, setValue] = React.useState(&quot;&quot;) return ( &lt;form&gt; &lt;input type=&quot;text&quot; value={value} onChange={ev =&gt; setValue(ev.target.value)} /&gt; &lt;button type=&quot;button&quot; onClick={() =&gt; window.alert(value)}&gt;Show value&lt;/button&gt; &lt;button type=&quot;button&quot; onClick={() =&gt; document.location.reload()}&gt;Reload&lt;/button&gt; &lt;/form&gt; ) } ReactDOM.hydrate((&lt;App /&gt;), document.getElementById(&quot;container&quot;))"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-v">React</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"react"</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-v">ReactDOM</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"react-dom"</span><span class="pl-kos">)</span> <span class="pl-k">const</span> <span class="pl-v">App</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-s1">value</span><span class="pl-kos">,</span> <span class="pl-s1">setValue</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-s">""</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">form</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"text"</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">value</span><span class="pl-kos">}</span> <span class="pl-c1">onChange</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">ev</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">setValue</span><span class="pl-kos">(</span><span class="pl-s1">ev</span><span class="pl-kos">.</span><span class="pl-c1">target</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-kos">)</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"button"</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">alert</span><span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>Show value<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">button</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"button"</span> <span class="pl-c1">onClick</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-c1">location</span><span class="pl-kos">.</span><span class="pl-en">reload</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-c1">&gt;</span>Reload<span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">button</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">form</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-v">ReactDOM</span><span class="pl-kos">.</span><span class="pl-en">hydrate</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-v">App</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-smi">document</span><span class="pl-kos">.</span><span class="pl-en">getElementById</span><span class="pl-kos">(</span><span class="pl-s">"container"</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div> <p dir="auto">Full project: <a href="https://github.com/facebook/react/files/6441549/react-repro.zip">react-repro.zip</a></p> <p dir="auto"><strong>How to reproduce</strong></p> <p dir="auto">Download and unzip it somewhere. Start a server like this:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="npm ci npm run build &amp;&amp; npm run start # listening to localhost:8080"><pre class="notranslate">npm ci npm run build <span class="pl-k">&amp;&amp;</span> npm run start <span class="pl-c"><span class="pl-c">#</span> listening to localhost:8080</span></pre></div> <p dir="auto">And then visit <a href="http://localhost:8080" rel="nofollow">http://localhost:8080</a> on browser:</p> <ol dir="auto"> <li>Put some text in the input box</li> <li>Click "Reload" button. (Page will be reloaded but the input preserves its value.)</li> <li>Click "Show value". A dialog opens with no content (empty string), which indicates a mismatch between <code class="notranslate">value</code> from <code class="notranslate">useState</code> and DOM state.</li> </ol> <p dir="auto">Link to code example:</p> <p dir="auto">(Sorry, I tried but couldn't make a reproduction. Reloading refreshes the input content in code example environment.)</p> <h2 dir="auto">The current behavior</h2> <ul dir="auto"> <li>"Show value" button can show incorrect value.</li> </ul> <h2 dir="auto">The expected behavior</h2> <ul dir="auto"> <li>"Show value" button should show the same value as the input shows. (For example, make sure that input value is cleared after reload.)</li> </ul>
0
<p dir="auto">Not sure if this is intentional, but it's different behaviour from v0.6.2:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; AbstractArray(randn(10,10)) ERROR: MethodError: no method matching AbstractArray(::Array{Float64,2}) Closest candidates are: AbstractArray(::Any) where T&lt;:AbstractArray at abstractarray.jl:22 AbstractArray(::Union{QR, LinearAlgebra.QRCompactWY}) at /Users/solver/Projects/julia7/usr/share/julia/site/v0.7/LinearAlgebra/src/qr.jl:427 AbstractArray(::QRPivoted) at /Users/solver/Projects/julia7/usr/share/julia/site/v0.7/LinearAlgebra/src/qr.jl:434 ... Stacktrace: [1] AbstractArray(::Array{Float64,2}) at ./abstractarray.jl:22 [2] top-level scope"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">AbstractArray</span>(<span class="pl-c1">randn</span>(<span class="pl-c1">10</span>,<span class="pl-c1">10</span>)) ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">AbstractArray</span>(<span class="pl-k">::</span><span class="pl-c1">Array{Float64,2}</span>) Closest candidates are<span class="pl-k">:</span> <span class="pl-c1">AbstractArray</span>(<span class="pl-k">::</span><span class="pl-c1">Any</span>) <span class="pl-k">where</span> T<span class="pl-k">&lt;:</span><span class="pl-c1">AbstractArray</span> at abstractarray<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">22</span> <span class="pl-c1">AbstractArray</span>(<span class="pl-k">::</span><span class="pl-c1">Union{QR, LinearAlgebra.QRCompactWY}</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>solver<span class="pl-k">/</span>Projects<span class="pl-k">/</span>julia7<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>site<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>LinearAlgebra<span class="pl-k">/</span>src<span class="pl-k">/</span>qr<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">427</span> <span class="pl-c1">AbstractArray</span>(<span class="pl-k">::</span><span class="pl-c1">QRPivoted</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>solver<span class="pl-k">/</span>Projects<span class="pl-k">/</span>julia7<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>site<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>LinearAlgebra<span class="pl-k">/</span>src<span class="pl-k">/</span>qr<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">434</span> <span class="pl-k">...</span> Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">AbstractArray</span>(<span class="pl-k">::</span><span class="pl-c1">Array{Float64,2}</span>) at <span class="pl-k">./</span>abstractarray<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">22</span> [<span class="pl-c1">2</span>] top<span class="pl-k">-</span>level scope</pre></div> <p dir="auto"><code class="notranslate">AbstractArray{Float64}(randn(10,10))</code> works as expected, without error.</p>
<p dir="auto">Openlibm offers some benefits over fdlibm:</p> <ol dir="auto"> <li>Forked from FreeBSD, and includes a number of fixes</li> <li>Includes assembly versions of various routines</li> <li>No need to mix routines from libm and fdlibm for performance as is done currently</li> </ol> <p dir="auto">It is already used in the Windows version, and can be made default for mac and linux.</p>
0
<p dir="auto">does twitter bootstrap support sliding functionality in iphone.....</p>
<p dir="auto">Not sure if anyone has mentioned this or not, but it would be cool to have something like this:</p> <p dir="auto"><a href="http://papermashup.com/demos/ajax-switch/" rel="nofollow">http://papermashup.com/demos/ajax-switch/</a></p>
1
<p dir="auto">Suddenly plotting scatterplots using the "hue" parameter throws an error. I can't get scatterplots to work with hue regardless of dataset.</p> <p dir="auto">See this stackoverflow topic:</p> <p dir="auto"><a href="https://stackoverflow.com/questions/63516843/valueerror-zero-size-array-to-reduction-operation-minimum-which-has-no-identity" rel="nofollow">Stackoverflow</a></p> <p dir="auto">The problem occurs</p> <blockquote> <p dir="auto">even for some of the example code snippets given on Seaborn's official site (<a href="https://seaborn.pydata.org/generated/seaborn.scatterplot.html" rel="nofollow">https://seaborn.pydata.org/generated/seaborn.scatterplot.html</a>).</p> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import seaborn as sns; sns.set() import matplotlib.pyplot as plt tips = sns.load_dataset(&quot;tips&quot;) ax = sns.scatterplot(x=&quot;total_bill&quot;, y=&quot;tip&quot;, data=tips)"><pre class="notranslate"><code class="notranslate">import seaborn as sns; sns.set() import matplotlib.pyplot as plt tips = sns.load_dataset("tips") ax = sns.scatterplot(x="total_bill", y="tip", data=tips) </code></pre></div> <p dir="auto">The code above produces this traceback:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\formatters.py in __call__(self, obj) 339 pass 340 else: --&gt; 341 return printer(obj) 342 # Finally look for special method names 343 method = get_real_method(obj, self.print_method) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\pylabtools.py in &lt;lambda&gt;(fig) 246 247 if 'png' in formats: --&gt; 248 png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs)) 249 if 'retina' in formats or 'png2x' in formats: 250 png_formatter.for_type(Figure, lambda fig: retina_figure(fig, **kwargs)) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs) 130 FigureCanvasBase(fig) 131 --&gt; 132 fig.canvas.print_figure(bytes_io, **kw) 133 data = bytes_io.getvalue() 134 if fmt == 'svg': ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, pad_inches, bbox_extra_artists, backend, **kwargs) 2191 else suppress()) 2192 with ctx: -&gt; 2193 self.figure.draw(renderer) 2194 2195 bbox_inches = self.figure.get_tightbbox( ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\figure.py in draw(self, renderer) 1862 self.patch.draw(renderer) 1863 mimage._draw_list_compositing_images( -&gt; 1864 renderer, self, artists, self.suppressComposite) 1865 1866 renderer.close_group('figure') ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 129 if not_composite or not has_images: 130 for a in artists: --&gt; 131 a.draw(renderer) 132 else: 133 # Composite any adjacent images together ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\cbook\deprecation.py in wrapper(*inner_args, **inner_kwargs) 409 else deprecation_addendum, 410 **kwargs) --&gt; 411 return func(*inner_args, **inner_kwargs) 412 413 return wrapper ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\axes\_base.py in draw(self, renderer, inframe) 2746 renderer.stop_rasterizing() 2747 -&gt; 2748 mimage._draw_list_compositing_images(renderer, self, artists) 2749 2750 renderer.close_group('axes') ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 129 if not_composite or not has_images: 130 for a in artists: --&gt; 131 a.draw(renderer) 132 else: 133 # Composite any adjacent images together ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\collections.py in draw(self, renderer) 929 def draw(self, renderer): 930 self.set_sizes(self._sizes, self.figure.dpi) --&gt; 931 Collection.draw(self, renderer) 932 933 ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\collections.py in draw(self, renderer) 383 else: 384 combined_transform = transform --&gt; 385 extents = paths[0].get_extents(combined_transform) 386 if (extents.width &lt; self.figure.bbox.width 387 and extents.height &lt; self.figure.bbox.height): ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\path.py in get_extents(self, transform, **kwargs) 601 xys.append(curve([0, *dzeros, 1])) 602 xys = np.concatenate(xys) --&gt; 603 return Bbox([xys.min(axis=0), xys.max(axis=0)]) 604 605 def intersects_path(self, other, filled=True): ~\Miniconda3\envs\forge\lib\site-packages\numpy\core\_methods.py in _amin(a, axis, out, keepdims, initial, where) 41 def _amin(a, axis=None, out=None, keepdims=False, 42 initial=_NoValue, where=True): ---&gt; 43 return umr_minimum(a, axis, None, out, keepdims, initial, where) 44 45 def _sum(a, axis=None, dtype=None, out=None, keepdims=False, ValueError: zero-size array to reduction operation minimum which has no identity &lt;Figure size 432x288 with 1 Axes&gt;"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\formatters.py in __call__(self, obj) 339 pass 340 else: --&gt; 341 return printer(obj) 342 # Finally look for special method names 343 method = get_real_method(obj, self.print_method) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\pylabtools.py in &lt;lambda&gt;(fig) 246 247 if 'png' in formats: --&gt; 248 png_formatter.for_type(Figure, lambda fig: print_figure(fig, 'png', **kwargs)) 249 if 'retina' in formats or 'png2x' in formats: 250 png_formatter.for_type(Figure, lambda fig: retina_figure(fig, **kwargs)) ~\Miniconda3\envs\forge\lib\site-packages\IPython\core\pylabtools.py in print_figure(fig, fmt, bbox_inches, **kwargs) 130 FigureCanvasBase(fig) 131 --&gt; 132 fig.canvas.print_figure(bytes_io, **kw) 133 data = bytes_io.getvalue() 134 if fmt == 'svg': ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\backend_bases.py in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, pad_inches, bbox_extra_artists, backend, **kwargs) 2191 else suppress()) 2192 with ctx: -&gt; 2193 self.figure.draw(renderer) 2194 2195 bbox_inches = self.figure.get_tightbbox( ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\figure.py in draw(self, renderer) 1862 self.patch.draw(renderer) 1863 mimage._draw_list_compositing_images( -&gt; 1864 renderer, self, artists, self.suppressComposite) 1865 1866 renderer.close_group('figure') ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 129 if not_composite or not has_images: 130 for a in artists: --&gt; 131 a.draw(renderer) 132 else: 133 # Composite any adjacent images together ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\cbook\deprecation.py in wrapper(*inner_args, **inner_kwargs) 409 else deprecation_addendum, 410 **kwargs) --&gt; 411 return func(*inner_args, **inner_kwargs) 412 413 return wrapper ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\axes\_base.py in draw(self, renderer, inframe) 2746 renderer.stop_rasterizing() 2747 -&gt; 2748 mimage._draw_list_compositing_images(renderer, self, artists) 2749 2750 renderer.close_group('axes') ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\image.py in _draw_list_compositing_images(renderer, parent, artists, suppress_composite) 129 if not_composite or not has_images: 130 for a in artists: --&gt; 131 a.draw(renderer) 132 else: 133 # Composite any adjacent images together ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\collections.py in draw(self, renderer) 929 def draw(self, renderer): 930 self.set_sizes(self._sizes, self.figure.dpi) --&gt; 931 Collection.draw(self, renderer) 932 933 ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\artist.py in draw_wrapper(artist, renderer, *args, **kwargs) 39 renderer.start_filter() 40 ---&gt; 41 return draw(artist, renderer, *args, **kwargs) 42 finally: 43 if artist.get_agg_filter() is not None: ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\collections.py in draw(self, renderer) 383 else: 384 combined_transform = transform --&gt; 385 extents = paths[0].get_extents(combined_transform) 386 if (extents.width &lt; self.figure.bbox.width 387 and extents.height &lt; self.figure.bbox.height): ~\Miniconda3\envs\forge\lib\site-packages\matplotlib\path.py in get_extents(self, transform, **kwargs) 601 xys.append(curve([0, *dzeros, 1])) 602 xys = np.concatenate(xys) --&gt; 603 return Bbox([xys.min(axis=0), xys.max(axis=0)]) 604 605 def intersects_path(self, other, filled=True): ~\Miniconda3\envs\forge\lib\site-packages\numpy\core\_methods.py in _amin(a, axis, out, keepdims, initial, where) 41 def _amin(a, axis=None, out=None, keepdims=False, 42 initial=_NoValue, where=True): ---&gt; 43 return umr_minimum(a, axis, None, out, keepdims, initial, where) 44 45 def _sum(a, axis=None, dtype=None, out=None, keepdims=False, ValueError: zero-size array to reduction operation minimum which has no identity &lt;Figure size 432x288 with 1 Axes&gt; </code></pre></div> <p dir="auto"><strong>Using seaborn 0.10.1 and notebook 6.1.3</strong></p> <p dir="auto">Output of pd.show_versions():</p> <h2 dir="auto"><strong>INSTALLED VERSIONS</strong></h2> <p dir="auto">commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07<br> python : 3.7.9.final.0<br> python-bits : 64<br> OS : Windows<br> OS-release : 10<br> Version : 10.0.19041<br> machine : AMD64<br> processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel<br> byteorder : little<br> LC_ALL : None<br> LANG : None<br> LOCALE : None.None</p> <p dir="auto">pandas : 1.1.1<br> numpy : 1.19.1<br> pytz : 2020.1<br> dateutil : 2.8.1<br> pip : 20.2.2<br> setuptools : 49.6.0.post20200814<br> Cython : None<br> pytest : None<br> hypothesis : None<br> sphinx : 3.2.1<br> blosc : None<br> feather : None<br> xlsxwriter : None<br> lxml.etree : 4.5.2<br> html5lib : None<br> pymysql : None<br> psycopg2 : None<br> jinja2 : 2.11.2<br> IPython : 7.18.1<br> pandas_datareader: None<br> bs4 : 4.9.1<br> bottleneck : None<br> fsspec : None<br> fastparquet : None<br> gcsfs : None<br> matplotlib : 3.3.1<br> numexpr : 2.7.1<br> odfpy : None<br> openpyxl : None<br> pandas_gbq : None<br> pyarrow : None<br> pytables : None<br> pyxlsb : None<br> s3fs : None<br> scipy : 1.5.2<br> sqlalchemy : 1.3.19<br> tables : 3.6.1<br> tabulate : None<br> xarray : None<br> xlrd : 1.2.0<br> xlwt : None<br> numba : None</p>
<p dir="auto">Matplotlib 3.3.1 has just been released and it breaks <code class="notranslate">scatterplot</code> (and <code class="notranslate">relplot(kind="scatter")</code>). The problem is the <code class="notranslate">marker=''</code> argument in the legend artists creation, which now raises an exception upon drawing (seems unintentional). See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="679140798" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/18254" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/18254/hovercard" href="https://github.com/matplotlib/matplotlib/issues/18254">matplotlib/matplotlib#18254</a>. Example code:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import seaborn as sns # Load the example mpg dataset mpg = sns.load_dataset(&quot;mpg&quot;) # Plot miles per gallon against horsepower with other semantics sns.scatterplot(x=&quot;horsepower&quot;, y=&quot;mpg&quot;, hue=&quot;origin&quot;, data=mpg)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">seaborn</span> <span class="pl-k">as</span> <span class="pl-s1">sns</span> <span class="pl-c"># Load the example mpg dataset</span> <span class="pl-s1">mpg</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">load_dataset</span>(<span class="pl-s">"mpg"</span>) <span class="pl-c"># Plot miles per gallon against horsepower with other semantics</span> <span class="pl-s1">sns</span>.<span class="pl-en">scatterplot</span>(<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s">"horsepower"</span>, <span class="pl-s1">y</span><span class="pl-c1">=</span><span class="pl-s">"mpg"</span>, <span class="pl-s1">hue</span><span class="pl-c1">=</span><span class="pl-s">"origin"</span>, <span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">mpg</span>)</pre></div> <p dir="auto">Until upstream issue is resolved I'd advocate using matplotlib==3.3.0.</p>
1
<p dir="auto">When I create a figure using bbox images, everything looks fine, but when I save the figure, the images move. Here is an example</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt import numpy as np from matplotlib.image import BboxImage from matplotlib.transforms import Bbox, TransformedBbox #Generate the image im = np.random.rand(10, 10) * 255.0 #Set up figure fig = plt.figure() ax = fig.add_axes([0.1,0.1,0.8,0.8]) ax.set_xlim(-2,24) ax.set_ylim(0,10) #Create image that transforms automatically bbox1 = Bbox.from_extents([0,0,10,10]) trans_bbox1 = TransformedBbox(bbox1, ax.transData) bbox_image1 = BboxImage(trans_bbox1) bbox_image1.set_data(im) ax.add_image(bbox_image1) #Create image that does not transform bbox2 = Bbox.from_extents([12,0,22,10]) trans_bbox2 = bbox2.transformed(ax.transData) bbox_image2 = BboxImage(trans_bbox2) bbox_image2.set_data(im) ax.add_image(bbox_image2) #Save the result fig.savefig('png_test.png') fig.savefig('pdf_test.pdf')"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt import numpy as np from matplotlib.image import BboxImage from matplotlib.transforms import Bbox, TransformedBbox #Generate the image im = np.random.rand(10, 10) * 255.0 #Set up figure fig = plt.figure() ax = fig.add_axes([0.1,0.1,0.8,0.8]) ax.set_xlim(-2,24) ax.set_ylim(0,10) #Create image that transforms automatically bbox1 = Bbox.from_extents([0,0,10,10]) trans_bbox1 = TransformedBbox(bbox1, ax.transData) bbox_image1 = BboxImage(trans_bbox1) bbox_image1.set_data(im) ax.add_image(bbox_image1) #Create image that does not transform bbox2 = Bbox.from_extents([12,0,22,10]) trans_bbox2 = bbox2.transformed(ax.transData) bbox_image2 = BboxImage(trans_bbox2) bbox_image2.set_data(im) ax.add_image(bbox_image2) #Save the result fig.savefig('png_test.png') fig.savefig('pdf_test.pdf') </code></pre></div> <p dir="auto">If I take a screenshot of the figure window, it looks like this<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4099759/5422678/7c175458-824d-11e4-98c2-077af0a6b101.png"><img src="https://cloud.githubusercontent.com/assets/4099759/5422678/7c175458-824d-11e4-98c2-077af0a6b101.png" alt="screenshot" style="max-width: 100%;"></a><br> which is what I expect. However, when I look at the 'png_test.png', the second image that did not use the <code class="notranslate">TransformedBbox</code> moves, as shown below<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4099759/5422682/b8bedb42-824d-11e4-8d6f-5f61ba3aae3b.png"><img src="https://cloud.githubusercontent.com/assets/4099759/5422682/b8bedb42-824d-11e4-8d6f-5f61ba3aae3b.png" alt="png_test" style="max-width: 100%;"></a><br> In the pdf, both images move, as shown below<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4099759/5422689/eceb7010-824d-11e4-8682-9576bab2111b.png"><img src="https://cloud.githubusercontent.com/assets/4099759/5422689/eceb7010-824d-11e4-8682-9576bab2111b.png" alt="pdf_test" style="max-width: 100%;"></a></p> <p dir="auto">In case it matters, I am using the Qt4Agg interactive backend with the Spyder IDE. My matplotlib version is 1.4.0.</p>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">I'm intermittently getting the warning <code class="notranslate">font family ['serif'] not found. Falling back to DejaVu Sans</code> when plotting with <code class="notranslate">rc('text', usetex=True)</code> enabled. If I delete <code class="notranslate">~\.cache\matplotlib</code> the warning stops and the charts are rendered with the correct font. But a day or so later it starts again</p> <p dir="auto"><strong>Code for reproduction</strong></p> <p dir="auto">Cannot reliably reproduce as intermittent, can reliably fix by deleting <code class="notranslate">~\.cache\matplotlib</code></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Operating system: Ubuntu 18.04</li> <li>Matplotlib version: 3.0.2</li> <li>Matplotlib backend: module://ipykernel.pylab.backend_inline</li> <li>Python version: 3.7.1 x64</li> <li>Jupyter version (if applicable): 4.4.0</li> <li>Other libraries:</li> </ul> <p dir="auto">installed from pip</p>
0
<p dir="auto">At the moment you can use hugging face's mask filling pipeline to predict 1 masked token in a sentence using the below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="!pip install -q transformers from __future__ import print_function import ipywidgets as widgets from transformers import pipeline nlp_fill = pipeline('fill-mask') nlp_fill(&quot;I am going to guess &lt;mask&gt; in this sentence&quot;)"><pre class="notranslate"><code class="notranslate">!pip install -q transformers from __future__ import print_function import ipywidgets as widgets from transformers import pipeline nlp_fill = pipeline('fill-mask') nlp_fill("I am going to guess &lt;mask&gt; in this sentence") </code></pre></div> <p dir="auto">The request is that you also add the ability to predict N masked tokens rather than only 1 masked token. So that for example if the sentence is <code class="notranslate">"I am going to make &lt;mask&gt; &lt;mask&gt; for breakfast"</code> then the model might predict "fried eggs" for the 2 masked tokens</p>
<p dir="auto">I am able to use hugging face's mask filling pipeline to predict 1 masked token in a sentence using the below:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="!pip install -q transformers from __future__ import print_function import ipywidgets as widgets from transformers import pipeline nlp_fill = pipeline('fill-mask') nlp_fill(&quot;I am going to guess &lt;mask&gt; in this sentence&quot;)"><pre class="notranslate"><code class="notranslate">!pip install -q transformers from __future__ import print_function import ipywidgets as widgets from transformers import pipeline nlp_fill = pipeline('fill-mask') nlp_fill("I am going to guess &lt;mask&gt; in this sentence") </code></pre></div> <p dir="auto">But does anyone have an opinion on what is the best way to do this if I want to predict 2 masked tokens? e.g. if the sentence is instead <code class="notranslate">"I am going to &lt;mask&gt; &lt;mask&gt; in this sentence"</code>?</p> <p dir="auto">If i try and put this exact sentence into nlp_fill I get the error "ValueError: only one element tensors can be converted to Python scalars" so it doesn't work automatically.</p> <p dir="auto">Any help would be much appreciated!</p> <p dir="auto">Stack overflow question <a href="https://stackoverflow.com/questions/60990897/best-way-of-using-hugging-faces-mask-filling-for-more-than-1-masked-token-at-a" rel="nofollow">link</a></p>
1
<p dir="auto">The standalone<a href="http://projector.tensorflow.org/" rel="nofollow"> Embedding Projector</a> does not open the <em>Load bookmarks</em> window for me all of a sudden. <em>Save bookmarks</em> and everything else still works though.</p> <p dir="auto">I am on Windows 7 (Enterprise) using Chrome (Google Chrome 59.0.3071.115 (Official Build) (64-bit) (cohort: Stable)).</p>
<p dir="auto">When a PR is tested failed, Jenkins just reports failure and tells where to check log. However, at least for me, I don't know whether I have the permission, and where to find the logs. So I have to reproduce the failed test on my own machine, but maintaining all kinds of environment is an unnecessary burden for each developer (cpu, gpu, py2, py3, window...)</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="//tensorflow/tools/test:check_futures_test PASSED in 1.3s //tensorflow/user_ops:ackermann_test PASSED in 2.3s //tensorflow/user_ops:duplicate_op_test PASSED in 2.2s //tensorflow/user_ops:invalid_op_test PASSED in 2.1s //tensorflow/python/kernel_tests:matrix_solve_ls_op_test TIMEOUT in 65.0s /var/lib/jenkins/workspace/tensorflow-pull-requests-cpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local-opt/testlogs/tensorflow/python/kernel_tests/matrix_solve_ls_op_test/test.log Executed 1205 out of 1205 tests: 1204 tests pass and 1 fails locally."><pre class="notranslate">//tensorflow/tools/test:check_futures_test PASSED <span class="pl-k">in</span> 1.3s //tensorflow/user_ops:ackermann_test PASSED <span class="pl-k">in</span> 2.3s //tensorflow/user_ops:duplicate_op_test PASSED <span class="pl-k">in</span> 2.2s //tensorflow/user_ops:invalid_op_test PASSED <span class="pl-k">in</span> 2.1s //tensorflow/python/kernel_tests:matrix_solve_ls_op_test TIMEOUT <span class="pl-k">in</span> 65.0s /var/lib/jenkins/workspace/tensorflow-pull-requests-cpu/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/execroot/workspace/bazel-out/local-opt/testlogs/tensorflow/python/kernel_tests/matrix_solve_ls_op_test/test.log Executed 1205 out of 1205 tests: 1204 tests pass and 1 fails locally.</pre></div> <p dir="auto">It will be more convenient to attach total failure content at the end for developers to debug, like reports of <code class="notranslate">py.test</code>:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ pytest ======= test session starts ======== platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y rootdir: $REGENDOC_TMPDIR, inifile: collected 1 item test_sample.py F ======= FAILURES ======== _______ test_answer ________ def test_answer(): &gt; assert inc(3) == 5 E assert 4 == 5 E + where 4 = inc(3) test_sample.py:5: AssertionError ======= 1 failed in 0.12 seconds ========"><pre class="notranslate">$ pytest ======= <span class="pl-c1">test</span> session starts ======== platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y rootdir: <span class="pl-smi">$REGENDOC_TMPDIR</span>, inifile: collected 1 item test_sample.py F ======= FAILURES ======== _______ test_answer ________ def <span class="pl-en">test_answer</span>(): <span class="pl-k">&gt;</span> assert inc(3) == 5 E assert 4 == 5 E + where 4 = inc(3) test_sample.py:5: AssertionError ======= 1 failed <span class="pl-k">in</span> 0.12 seconds ========</pre></div>
0
<p dir="auto">When I console.log(), the Chrome console gives the log but instead of showing the file and line number it just says react_devtools_backend.js:4049. How do I get the console to show the file and line number when I console.log()?</p>
<p dir="auto">in my browser console, log info go wrong, it should show real console.log file and correct line info, but now it always show "react_devtools_backend.js: 4049", link to source code show warning:<br> "Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See <a href="https://fb.me/react-unsafe-component-lifecycles" rel="nofollow">https://fb.me/react-unsafe-component-lifecycles</a> for details.</p> <ul dir="auto"> <li>Move data fetching code or side effects to componentDidUpdate.</li> <li>If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: <a href="https://fb.me/react-derived-state" rel="nofollow">https://fb.me/react-derived-state</a></li> <li>Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run <code class="notranslate">npx react-codemod rename-unsafe-lifecycles</code> in your project source folder.<br> Please update the following components: %s"<br> when i disable react developer tools, it goes correctly. but it goes wrong in 4.18.0 react developer tools. and my colleagues' chrome with react developer tools 4.17.0 is right</li> </ul> <h3 dir="auto">Note from maintainers: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="989655954" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/22257" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/22257/hovercard?comment_id=916174962&amp;comment_type=issue_comment" href="https://github.com/facebook/react/issues/22257#issuecomment-916174962">#22257 (comment)</a> is a workaround until this is fixed in React DevTools</h3>
1
<h3 dir="auto">Version</h3> <p dir="auto">2.5.17-beta.0</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codesandbox.io/s/m7q5pmyy1x" rel="nofollow">https://codesandbox.io/s/m7q5pmyy1x</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>click <code class="notranslate">show one by one</code> button three times</li> <li>click <code class="notranslate">Switch a &amp; b</code></li> <li>click <code class="notranslate">show one by one</code> button</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">Show <code class="notranslate">b</code> first</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Show <code class="notranslate">b2</code> first</p>
<p dir="auto">here example: <a href="https://jsfiddle.net/alekzonder/1zcLkuwq/" rel="nofollow">https://jsfiddle.net/alekzonder/1zcLkuwq/</a><br> vue.js 2.1.10</p> <p dir="auto">steps in example:</p> <ol dir="auto"> <li>press "unshift new" button</li> <li>then press "set bold" with 0 index in input</li> </ol> <p dir="auto">problem: item with index 1 is bold after Array.unshift in data</p> <p dir="auto">if remove <code class="notranslate">:key=item.id</code> in template with v-for, all works right</p> <p dir="auto">bug or feature?</p>
1
<h2 dir="auto">Issue description</h2> <p dir="auto">When I compile external C++ app with CMake using Caffe2 dependency, ATen header is missing.</p> <blockquote> <p dir="auto">fatal error: ATen/core/Macros.h: No such file or directory</p> </blockquote> <p dir="auto">Seems like ATen headers are not properly copied to /usr/local/include while other headers are well installed.<br> Reproduced with Caffe2 with Ubuntu 16.04/CUDA 8/CuDNN 7 Dockerfile <a href="https://github.com/pytorch/pytorch/blob/master/docker/caffe2/ubuntu-16.04-cuda8-cudnn7-all-options/Dockerfile">here</a>.</p> <p dir="auto">I was able to resolve the issue by adding the following line to the Dockerfile.</p> <blockquote> <p dir="auto">RUN cp -RL /usr/pytorch/aten/src/ATen /usr/local/include/</p> </blockquote> <h2 dir="auto">Code example</h2> <p dir="auto">I used /usr/local/include as my Caffe2 include directory in my FindCaffe2.cmake as below.</p> <blockquote> <p dir="auto">find_path(Caffe2_INCLUDE_DIR NAMES caffe2 onnx google eigen3 ATen HINTS /usr/local/include)</p> </blockquote> <p dir="auto">I include four header files in my app, and it makes compile error.</p> <blockquote> <p dir="auto">#include &lt;caffe2/core/init.h&gt;<br> #include &lt;caffe2/core/net.h&gt;<br> #include &lt;caffe2/core/context_gpu.h&gt;<br> #include &lt;caffe2/utils/proto_utils.h&gt;</p> </blockquote> <h2 dir="auto">System Info</h2> <p dir="auto">Ubuntu 16.04 / CUDA 8.0 / CuDNN 7.1 on Docker.</p> <ul dir="auto"> <li>PyTorch or Caffe2: Caffe2</li> <li>How you installed PyTorch (conda, pip, source): source</li> <li>Build command you used (if compiling from source): built Dockerfile.</li> <li>OS: Ubuntu 16.04</li> <li>PyTorch version: master</li> <li>Python version: 2</li> <li>CUDA/cuDNN version: 8.0/7.1</li> <li>GPU models and configuration: GTX 1080 Ti</li> <li>GCC version (if compiling from source): 5.4</li> <li>CMake version: 3.5.1</li> <li>Versions of any other relevant libraries:</li> </ul>
<h2 dir="auto">Issue Description</h2> <p dir="auto">I git clone pytorch to <code class="notranslate">$PYTORCH_HOME</code>, and installed it using cmake to directory <code class="notranslate">$PYTORCH_HOME/build/install</code>. The ATen core headers were installed to <code class="notranslate">$PYTORCH_HOME/build/install/include/ATen/core/core/*.h</code> instead of <code class="notranslate">$PYTORCH_HOME/build/install/include/ATen/core/*.h</code> (<strong>I think this is abnormal, because compiling custom operators requires <code class="notranslate">&lt;ATen/core/*.h&gt;</code>. See below.</strong>).</p> <p dir="auto">The result of <code class="notranslate">tree $PYTORCH_HOME/build/install/include/ATen</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ATen `-- core `-- core |-- AlignOf.h |-- ArrayRef.h |-- ATenCoreTest.h |-- Backtrace.h |-- C++17.h |-- CoreAPI.h |-- DeviceType.h |-- Error.h |-- Half.h |-- Half-inl.h |-- IdWrapper.h |-- intrusive_ptr.h |-- optional.h |-- SmallVector.h `-- UniqueVoidPtr.h"><pre class="notranslate"><code class="notranslate">ATen `-- core `-- core |-- AlignOf.h |-- ArrayRef.h |-- ATenCoreTest.h |-- Backtrace.h |-- C++17.h |-- CoreAPI.h |-- DeviceType.h |-- Error.h |-- Half.h |-- Half-inl.h |-- IdWrapper.h |-- intrusive_ptr.h |-- optional.h |-- SmallVector.h `-- UniqueVoidPtr.h </code></pre></div> <p dir="auto">In the <a href="https://github.com/facebookresearch/DensePose">DensePose</a> project which uses Caffe2, when I built custom operators:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# In DensePose project mkdir build &amp;&amp; cd build cmake .. -DCaffe2_DIR=$PYTORCH_HOME/build/install/share/cmake/Caffe2 make"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> In DensePose project</span> mkdir build <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">cd</span> build cmake .. -DCaffe2_DIR=<span class="pl-smi">$PYTORCH_HOME</span>/build/install/share/cmake/Caffe2 make</pre></div> <p dir="auto">The <code class="notranslate">make</code> command threw error of not finding <code class="notranslate">&lt;ATen/core/Error.h&gt;</code> for <code class="notranslate">caffe2/core/logging.h</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Scanning dependencies of target caffe2_detectron_custom_ops [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o In file included from /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/allocator.h:6:0, from /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/context.h:9, from /home/users/houjing.huang/Project/DensePose/detectron/ops/pool_points_interp.h:13, from /home/users/houjing.huang/Project/DensePose/detectron/ops/pool_points_interp.cc:10: /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/logging.h:10:29: fatal error: ATen/core/Error.h: No such file or directory #include &lt;ATen/core/Error.h&gt; ^ compilation terminated. make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o] Error 1 make[1]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2 make: *** [all] Error 2"><pre class="notranslate"><code class="notranslate">Scanning dependencies of target caffe2_detectron_custom_ops [ 12%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o In file included from /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/allocator.h:6:0, from /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/context.h:9, from /home/users/houjing.huang/Project/DensePose/detectron/ops/pool_points_interp.h:13, from /home/users/houjing.huang/Project/DensePose/detectron/ops/pool_points_interp.cc:10: /home/users/houjing.huang/Software/pytorch/build/install/include/caffe2/core/logging.h:10:29: fatal error: ATen/core/Error.h: No such file or directory #include &lt;ATen/core/Error.h&gt; ^ compilation terminated. make[2]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/pool_points_interp.cc.o] Error 1 make[1]: *** [CMakeFiles/caffe2_detectron_custom_ops.dir/all] Error 2 make: *** [all] Error 2 </code></pre></div> <p dir="auto">I found these lines in file <code class="notranslate">$PYTORCH_HOME/build/install_manifest.txt</code>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/ATenCoreTest.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/AlignOf.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/ArrayRef.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Backtrace.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/C++17.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/CoreAPI.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/DeviceType.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Error.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Half-inl.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Half.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/IdWrapper.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/SmallVector.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/UniqueVoidPtr.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/intrusive_ptr.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/optional.h"><pre class="notranslate"><code class="notranslate">/mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/ATenCoreTest.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/AlignOf.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/ArrayRef.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Backtrace.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/C++17.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/CoreAPI.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/DeviceType.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Error.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Half-inl.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/Half.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/IdWrapper.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/SmallVector.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/UniqueVoidPtr.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/intrusive_ptr.h /mnt/data-1/data/houjing.huang/Software/pytorch/build/install/include/ATen/core/core/optional.h </code></pre></div> <h2 dir="auto">System Info</h2> <ul dir="auto"> <li> <p dir="auto">PyTorch or Caffe2: Caffe2</p> </li> <li> <p dir="auto">How you installed PyTorch (conda, pip, source): source, referring to <a href="https://caffe2.ai/docs/getting-started.html?platform=centos&amp;configuration=cloud" rel="nofollow">caffe2.ai</a></p> </li> <li> <p dir="auto">Build command to install Pytorch/Caffe2 (if compiling from source):</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone --recursive https://github.com/pytorch/pytorch cd pytorch mkdir build &amp;&amp; cd build cmake \ -DCUDA_TOOLKIT_ROOT_DIR=$HOME/Software/cuda-8.0 \ -DCMAKE_INSTALL_PREFIX=${PWD}/install .. make -j12 install"><pre class="notranslate">git clone --recursive https://github.com/pytorch/pytorch <span class="pl-c1">cd</span> pytorch mkdir build <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">cd</span> build cmake \ -DCUDA_TOOLKIT_ROOT_DIR=<span class="pl-smi">$HOME</span>/Software/cuda-8.0 \ -DCMAKE_INSTALL_PREFIX=<span class="pl-smi">${PWD}</span>/install .. make -j12 install</pre></div> </li> <li> <p dir="auto">OS: CentOS Linux release 7.4.1708</p> </li> <li> <p dir="auto">PyTorch version: master branch, commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pytorch/pytorch/commit/f57e4ce1d59aab53e48b0ae93a7ef7e9a4dc1e2e/hovercard" href="https://github.com/pytorch/pytorch/commit/f57e4ce1d59aab53e48b0ae93a7ef7e9a4dc1e2e"><tt>f57e4ce</tt></a></p> </li> <li> <p dir="auto">Python version: 2.7</p> </li> <li> <p dir="auto">CUDA/cuDNN version: CUDA 8.0, cuDNN 7</p> </li> <li> <p dir="auto">GPU models and configuration:</p> </li> <li> <p dir="auto">GCC version (if compiling from source): 4.8.5</p> </li> <li> <p dir="auto">CMake version: 3.12.0</p> </li> <li> <p dir="auto">Versions of any other relevant libraries: DensePose master branch, commit <a href="https://github.com/facebookresearch/DensePose/tree/e118a4c352cbaf849d70f47886ce3f6cba76116e">e118a4</a></p> </li> </ul> <h2 dir="auto">Log Files When Installing Pytorch/Caffe2</h2> <ul dir="auto"> <li>The log of pytorch <code class="notranslate">cmake ..</code>: <a href="https://github.com/huanghoujing/pytorch-caffe2-cmake-log/blob/master/cmake_output_houjing.huang.txt">log</a></li> <li>The log of pytorch <code class="notranslate">make -j12 install</code>: <a href="https://github.com/huanghoujing/pytorch-caffe2-cmake-log/blob/master/make_install_output_houjing.huang.txt">log</a></li> <li><a href="https://github.com/huanghoujing/pytorch-caffe2-cmake-log/blob/master/install_manifest.txt"><code class="notranslate">install_manifest.txt</code></a></li> </ul> <h2 dir="auto">Is It A BUG?</h2> <p dir="auto">I manually copied <code class="notranslate">$PYTORCH_HOME/build/install/include/ATen/core/core/*.h</code> to <code class="notranslate">$PYTORCH_HOME/build/install/include/ATen/core/*.h</code> and then it's ok to build custom operators and run the tests.</p> <p dir="auto">It seems a bug of Pytorch/Caffe2 <code class="notranslate">make install</code>?</p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">Search datasets...<br> Original length: 900<br> Offset: 0<br> Limit: 900<br> Final length: 900<br> Search datasets...<br> Original length: 120<br> Offset: 0<br> Limit: 120<br> Final length: 120<br> Using CuDNN in the experiment.<br> Traceback (most recent call last):</p> <p dir="auto">File "", line 1, in <br> runfile('C:/Users/Administrator/Desktop/haoxiang_CRN/train.py', wdir='C:/Users/Administrator/Desktop/haoxiang_CRN')</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile<br> execfile(filename, namespace)</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile<br> exec(compile(f.read(), filename, 'exec'), namespace)</p> <p dir="auto">File "C:/Users/Administrator/Desktop/haoxiang_CRN/train.py", line 103, in <br> main(config, resume=resume)</p> <p dir="auto">File "C:/Users/Administrator/Desktop/haoxiang_CRN/train.py", line 93, in main<br> validation_dataloader=valid_data_loader</p> <p dir="auto">File "C:\Users\Administrator\Desktop\haoxiang_CRN\trainer\trainer.py", line 27, in <strong>init</strong><br> super(Trainer, self).<strong>init</strong>(config, resume, model, optimizer, loss_function)</p> <p dir="auto">File "C:\Users\Administrator\Desktop\haoxiang_CRN\trainer\base_trainer.py", line 15, in <strong>init</strong><br> self.model = model.to(self.device)</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 432, in to<br> return self._apply(convert)</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 208, in _apply<br> module._apply(fn)</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 230, in _apply<br> param_applied = fn(param)</p> <p dir="auto">File "C:\Users\Administrator\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 430, in convert<br> return t.to(device, dtype if t.is_floating_point() else None, non_blocking)</p> <p dir="auto">RuntimeError: CUDA error: unspecified launch failure</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">When I run on a small data set, the above error occurs when the data set becomes larger.</p> <h2 dir="auto">Environment</h2> <p dir="auto">Collecting environment information...<br> PyTorch version: 1.2.0<br> Is debug build: No<br> CUDA used to build PyTorch: 10.0</p> <p dir="auto">OS: Microsoft Windows 10 Professional<br> GCC version: Could not collect<br> CMake version: Could not collect</p> <p dir="auto">Python version: 3.7<br> Is CUDA available: Yes<br> CUDA runtime version: 10.0.130<br> GPU models and configuration: Could not collect<br> Nvidia driver version: Could not collect<br> cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\cudnn64_7.dll</p> <p dir="auto">Versions of relevant libraries:<br> [pip] numpy==1.16.5<br> [pip] numpydoc==0.9.1<br> [pip] torch==1.2.0<br> [pip] torchvision==0.4.0<br> [conda] blas 1.0 mkl defaults<br> [conda] mkl 2019.4 245 defaults<br> [conda] mkl-service 2.3.0 py37hb782905_0 defaults<br> [conda] mkl_fft 1.0.14 py37h14836fe_0 defaults<br> [conda] mkl_random 1.1.0 py37h675688f_0 defaults<br> [conda] torch 1.2.0 pypi_0 pypi<br> [conda] torchvision 0.4.0 pypi_0 pypi</p> <h2 dir="auto">Additional context</h2> <p dir="auto">win10[1903]<br> Graphics card model:RTX2060<br> anaconda 4.7.12<br> Graphics driver 441.20<br> CUDA:cuda_10.0.130_411.31_win10<br> CUDNN:cudnn-10.0-windows10-x64-v7.6.0.64<br> Python:3.7.4</p> <p dir="auto">Do you have any good suggestions for this kind of problem?</p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">No problem in PyTorch 1.2. Archive with code and data: <a href="https://github.com/pytorch/pytorch/files/3723821/PyTorch.zip">https://github.com/pytorch/pytorch/files/3723821/PyTorch.zip</a></p> <p dir="auto">Windows 10 (1903), Python 3.7.4, RTX 2060 (driver version 436.48)</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) &lt;ipython-input-6-68308ed1e055&gt; in &lt;module&gt; 35 cum_loss.append(loss.item()) 36 ---&gt; 37 loss.backward() 38 optimizer.step() 39 C:\Anaconda3\envs\torch13\lib\site-packages\torch\tensor.py in backward(self, gradient, retain_graph, create_graph) 148 products. Defaults to ``False``. 149 &quot;&quot;&quot; --&gt; 150 torch.autograd.backward(self, gradient, retain_graph, create_graph) 151 152 def register_hook(self, hook): C:\Anaconda3\envs\torch13\lib\site-packages\torch\autograd\__init__.py in backward(tensors, grad_tensors, retain_graph, create_graph, grad_variables) 97 Variable._execution_engine.run_backward( 98 tensors, grad_tensors, retain_graph, create_graph, ---&gt; 99 allow_unreachable=True) # allow_unreachable flag 100 101 RuntimeError: CUDA error: unspecified launch failure"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) &lt;ipython-input-6-68308ed1e055&gt; in &lt;module&gt; 35 cum_loss.append(loss.item()) 36 ---&gt; 37 loss.backward() 38 optimizer.step() 39 C:\Anaconda3\envs\torch13\lib\site-packages\torch\tensor.py in backward(self, gradient, retain_graph, create_graph) 148 products. Defaults to ``False``. 149 """ --&gt; 150 torch.autograd.backward(self, gradient, retain_graph, create_graph) 151 152 def register_hook(self, hook): C:\Anaconda3\envs\torch13\lib\site-packages\torch\autograd\__init__.py in backward(tensors, grad_tensors, retain_graph, create_graph, grad_variables) 97 Variable._execution_engine.run_backward( 98 tensors, grad_tensors, retain_graph, create_graph, ---&gt; 99 allow_unreachable=True) # allow_unreachable flag 100 101 RuntimeError: CUDA error: unspecified launch failure </code></pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ssnl/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ssnl">@ssnl</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/albanD/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/albanD">@albanD</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngimel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngimel">@ngimel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/peterjc123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/peterjc123">@peterjc123</a></p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji> Questions and Help</h2> <h3 dir="auto">Please note that this issue tracker is not a help form and this issue will be closed.</h3> <p dir="auto">We have a set of <a href="https://pytorch.org/resources" rel="nofollow">listed resources available on the website</a>. Our primary means of support is our discussion forum:</p> <ul dir="auto"> <li><a href="https://discuss.pytorch.org/" rel="nofollow">Discussion Forum</a></li> </ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">Trying to install torch results in a python error.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Install Python (python-3.8.0-amd64.exe)</li> <li>run pip install numpy</li> <li>run pip install torch torchvision -f <a href="https://download.pytorch.org/whl/torch_stable.html" rel="nofollow">https://download.pytorch.org/whl/torch_stable.html</a></li> </ol> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Pytorch gets installed</p> <h2 dir="auto">Environment</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Windows\system32&gt;python C:\temp\collect_env.py Collecting environment information... PyTorch version: N/A Is debug build: N/A CUDA used to build PyTorch: N/A OS: Microsoft Windows 10 Home GCC version: (GCC) 4.6.1 CMake version: Could not collect Python version: 3.8 Is CUDA available: N/A CUDA runtime version: Could not collect GPU models and configuration: GPU 0: GeForce GTX 980 Ti Nvidia driver version: 430.86 cuDNN version: Could not collect Versions of relevant libraries: [pip3] numpy==1.17.3 [conda] Could not collect"><pre class="notranslate"><code class="notranslate">C:\Windows\system32&gt;python C:\temp\collect_env.py Collecting environment information... PyTorch version: N/A Is debug build: N/A CUDA used to build PyTorch: N/A OS: Microsoft Windows 10 Home GCC version: (GCC) 4.6.1 CMake version: Could not collect Python version: 3.8 Is CUDA available: N/A CUDA runtime version: Could not collect GPU models and configuration: GPU 0: GeForce GTX 980 Ti Nvidia driver version: 430.86 cuDNN version: Could not collect Versions of relevant libraries: [pip3] numpy==1.17.3 [conda] Could not collect </code></pre></div> <h2 dir="auto">Additional context</h2> <p dir="auto">Full console output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Windows\system32&gt;pip install torch torchvision -f https://download.pytorch.org/whl/torch_stable.html Looking in links: https://download.pytorch.org/whl/torch_stable.html Collecting torch Using cached https://files.pythonhosted.org/packages/f8/02/880b468bd382dc79896eaecbeb8ce95e9c4b99a24902874a2cef0b562cea/torch-0.1.2.post2.tar.gz Collecting torchvision Using cached https://files.pythonhosted.org/packages/fb/01/03fd7e503c16b3dc262483e5555ad40974ab5da8b9879e164b56c1f4ef6f/torchvision-0.2.2.post3-py2.py3-none-any.whl Collecting pyyaml Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB) |████████████████████████████████| 266kB 1.3MB/s Collecting six Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Requirement already satisfied: numpy in c:\program files\python38\lib\site-packages (from torchvision) (1.17.3) Collecting pillow&gt;=4.1.1 Downloading https://files.pythonhosted.org/packages/b6/5a/ee223b0503ebba3d6adcf24516cbae85d581058f2bac635fc82e4bd6c2bf/Pillow-6.2.1-cp38-cp38-win_amd64.whl (2.0MB) |████████████████████████████████| 2.0MB 6.4MB/s Installing collected packages: pyyaml, torch, six, pillow, torchvision Running setup.py install for pyyaml ... done Running setup.py install for torch ... error ERROR: Command errored out with exit status 1: command: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\ Complete output (23 lines): running install running build_deps Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; File &quot;C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py&quot;, line 225, in &lt;module&gt; setup(name=&quot;torch&quot;, version=&quot;0.1.2.post2&quot;, File &quot;c:\program files\python38\lib\site-packages\setuptools\__init__.py&quot;, line 145, in setup return distutils.core.setup(**attrs) File &quot;c:\program files\python38\lib\distutils\core.py&quot;, line 148, in setup dist.run_commands() File &quot;c:\program files\python38\lib\distutils\dist.py&quot;, line 966, in run_commands self.run_command(cmd) File &quot;c:\program files\python38\lib\distutils\dist.py&quot;, line 985, in run_command cmd_obj.run() File &quot;C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py&quot;, line 99, in run self.run_command('build_deps') File &quot;c:\program files\python38\lib\distutils\cmd.py&quot;, line 313, in run_command self.distribution.run_command(command) File &quot;c:\program files\python38\lib\distutils\dist.py&quot;, line 985, in run_command cmd_obj.run() File &quot;C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py&quot;, line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap' ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output. "><pre class="notranslate"><code class="notranslate">C:\Windows\system32&gt;pip install torch torchvision -f https://download.pytorch.org/whl/torch_stable.html Looking in links: https://download.pytorch.org/whl/torch_stable.html Collecting torch Using cached https://files.pythonhosted.org/packages/f8/02/880b468bd382dc79896eaecbeb8ce95e9c4b99a24902874a2cef0b562cea/torch-0.1.2.post2.tar.gz Collecting torchvision Using cached https://files.pythonhosted.org/packages/fb/01/03fd7e503c16b3dc262483e5555ad40974ab5da8b9879e164b56c1f4ef6f/torchvision-0.2.2.post3-py2.py3-none-any.whl Collecting pyyaml Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB) |████████████████████████████████| 266kB 1.3MB/s Collecting six Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Requirement already satisfied: numpy in c:\program files\python38\lib\site-packages (from torchvision) (1.17.3) Collecting pillow&gt;=4.1.1 Downloading https://files.pythonhosted.org/packages/b6/5a/ee223b0503ebba3d6adcf24516cbae85d581058f2bac635fc82e4bd6c2bf/Pillow-6.2.1-cp38-cp38-win_amd64.whl (2.0MB) |████████████████████████████████| 2.0MB 6.4MB/s Installing collected packages: pyyaml, torch, six, pillow, torchvision Running setup.py install for pyyaml ... done Running setup.py install for torch ... error ERROR: Command errored out with exit status 1: command: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\ Complete output (23 lines): running install running build_deps Traceback (most recent call last): File "&lt;string&gt;", line 1, in &lt;module&gt; File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py", line 225, in &lt;module&gt; setup(name="torch", version="0.1.2.post2", File "c:\program files\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "c:\program files\python38\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\program files\python38\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\program files\python38\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py", line 99, in run self.run_command('build_deps') File "c:\program files\python38\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\program files\python38\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py", line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap' ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output. </code></pre></div> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a></p>
1
<h3 dir="auto">Describe the bug</h3> <p dir="auto">I want to extract enums from model schema to separate definition, and the solution is:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from enum import Enum from pydantic import BaseModel from devtools import debug class HelloType(str, Enum): World = 'World', Friend = 'Friend', class HelloEnum(BaseModel): __root__: HelloType class Foo(BaseModel): bar: HelloEnum debug(HelloEnum.schema()) debug(Foo.schema())"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">enum</span> <span class="pl-k">import</span> <span class="pl-v">Enum</span> <span class="pl-k">from</span> <span class="pl-s1">pydantic</span> <span class="pl-k">import</span> <span class="pl-v">BaseModel</span> <span class="pl-k">from</span> <span class="pl-s1">devtools</span> <span class="pl-k">import</span> <span class="pl-s1">debug</span> <span class="pl-k">class</span> <span class="pl-v">HelloType</span>(<span class="pl-s1">str</span>, <span class="pl-v">Enum</span>): <span class="pl-v">World</span> <span class="pl-c1">=</span> <span class="pl-s">'World'</span>, <span class="pl-v">Friend</span> <span class="pl-c1">=</span> <span class="pl-s">'Friend'</span>, <span class="pl-k">class</span> <span class="pl-v">HelloEnum</span>(<span class="pl-v">BaseModel</span>): <span class="pl-s1">__root__</span>: <span class="pl-v">HelloType</span> <span class="pl-k">class</span> <span class="pl-v">Foo</span>(<span class="pl-v">BaseModel</span>): <span class="pl-s1">bar</span>: <span class="pl-v">HelloEnum</span> <span class="pl-en">debug</span>(<span class="pl-v">HelloEnum</span>.<span class="pl-en">schema</span>()) <span class="pl-en">debug</span>(<span class="pl-v">Foo</span>.<span class="pl-en">schema</span>())</pre></div> <p dir="auto">Output:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./main.py &lt;module&gt; HelloEnum.schema(): { 'title': 'HelloEnum', 'enum': [ 'World', 'Friend', ], 'type': 'string', } (dict) len=3 ./main.py &lt;module&gt; Foo.schema(): { 'title': 'Foo', 'type': 'object', 'properties': { 'bar': { '$ref': '#/definitions/HelloEnum', }, }, 'required': ['bar'], 'definitions': { 'HelloEnum': { 'title': 'HelloEnum', 'enum': [ 'World', 'Friend', ], 'type': 'string', }, }, } (dict) len=5"><pre class="notranslate"><code class="notranslate">./main.py &lt;module&gt; HelloEnum.schema(): { 'title': 'HelloEnum', 'enum': [ 'World', 'Friend', ], 'type': 'string', } (dict) len=3 ./main.py &lt;module&gt; Foo.schema(): { 'title': 'Foo', 'type': 'object', 'properties': { 'bar': { '$ref': '#/definitions/HelloEnum', }, }, 'required': ['bar'], 'definitions': { 'HelloEnum': { 'title': 'HelloEnum', 'enum': [ 'World', 'Friend', ], 'type': 'string', }, }, } (dict) len=5 </code></pre></div> <p dir="auto">But I can't use <code class="notranslate">HelloEnum</code> in Query parameters:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@app.get('/') async def root(hello_type: HelloEnum = Query(...)): return {'message': f'Hello {hello_type}'}"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">get</span>(<span class="pl-s">'/'</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">root</span>(<span class="pl-s1">hello_type</span>: <span class="pl-v">HelloEnum</span> <span class="pl-c1">=</span> <span class="pl-v">Query</span>(...)): <span class="pl-k">return</span> {<span class="pl-s">'message'</span>: <span class="pl-s">f'Hello <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">hello_type</span><span class="pl-kos">}</span></span>'</span>}</pre></div> <p dir="auto">And I get the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;./main.py&quot;, line 28, in &lt;module&gt; async def root(hello_type: HelloEnum = Query(...)): File &quot;&lt;..&gt;/python3.8/site-packages/fastapi/routing.py&quot;, line 514, in decorator self.add_api_route( File &quot;&lt;..&gt;/python3.8/site-packages/fastapi/routing.py&quot;, line 453, in add_api_route route = route_class( File &quot;&lt;..&gt;/python3.8/site-packages/fastapi/routing.py&quot;, line 370, in __init__ self.dependant = get_dependant(path=self.path_format, call=self.endpoint) File &quot;&lt;..&gt;/python3.8/site-packages/fastapi/dependencies/utils.py&quot;, line 308, in get_dependant assert isinstance( AssertionError: Param: hello_type can only be a request body, using Body(...)"><pre class="notranslate"><code class="notranslate">File "./main.py", line 28, in &lt;module&gt; async def root(hello_type: HelloEnum = Query(...)): File "&lt;..&gt;/python3.8/site-packages/fastapi/routing.py", line 514, in decorator self.add_api_route( File "&lt;..&gt;/python3.8/site-packages/fastapi/routing.py", line 453, in add_api_route route = route_class( File "&lt;..&gt;/python3.8/site-packages/fastapi/routing.py", line 370, in __init__ self.dependant = get_dependant(path=self.path_format, call=self.endpoint) File "&lt;..&gt;/python3.8/site-packages/fastapi/dependencies/utils.py", line 308, in get_dependant assert isinstance( AssertionError: Param: hello_type can only be a request body, using Body(...) </code></pre></div> <h3 dir="auto">To Reproduce</h3> <ol dir="auto"> <li>Create a file with:</li> </ol> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from enum import Enum from fastapi import FastAPI, Query from pydantic import BaseModel app = FastAPI() class HelloType(str, Enum): World = 'World', Friend = 'Friend', class HelloEnum(BaseModel): __root__: HelloType @app.get('/') async def root(hello_type: HelloEnum = Query(...)): return {'message': f'Hello {hello_type}'} "><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">enum</span> <span class="pl-k">import</span> <span class="pl-v">Enum</span> <span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">FastAPI</span>, <span class="pl-v">Query</span> <span class="pl-k">from</span> <span class="pl-s1">pydantic</span> <span class="pl-k">import</span> <span class="pl-v">BaseModel</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">FastAPI</span>() <span class="pl-k">class</span> <span class="pl-v">HelloType</span>(<span class="pl-s1">str</span>, <span class="pl-v">Enum</span>): <span class="pl-v">World</span> <span class="pl-c1">=</span> <span class="pl-s">'World'</span>, <span class="pl-v">Friend</span> <span class="pl-c1">=</span> <span class="pl-s">'Friend'</span>, <span class="pl-k">class</span> <span class="pl-v">HelloEnum</span>(<span class="pl-v">BaseModel</span>): <span class="pl-s1">__root__</span>: <span class="pl-v">HelloType</span> <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">get</span>(<span class="pl-s">'/'</span>)</span> <span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">root</span>(<span class="pl-s1">hello_type</span>: <span class="pl-v">HelloEnum</span> <span class="pl-c1">=</span> <span class="pl-v">Query</span>(...)): <span class="pl-k">return</span> {<span class="pl-s">'message'</span>: <span class="pl-s">f'Hello <span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">hello_type</span><span class="pl-kos">}</span></span>'</span>}</pre></div> <ol start="3" dir="auto"> <li>Run app.</li> <li>It trows an exception <code class="notranslate">AssertionError: Param: hello_type can only be a request body, using Body(...)</code>.</li> <li>But I expected it to run successfully.</li> </ol> <h3 dir="auto">Expected behavior</h3> <p dir="auto">Run app successfully, and in openapi schema enum extracted in the separate definition.</p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>macOS 10.15.4</li> <li>FastAPI 0.54.2</li> <li>Python 3.8.2</li> </ul>
<h3 dir="auto">Describe the bug</h3> <p dir="auto"><a href="https://pydantic-docs.helpmanual.io/usage/models/#custom-root-types" rel="nofollow">https://pydantic-docs.helpmanual.io/usage/models/#custom-root-types</a><br> Pydantic allows to create models with only <code class="notranslate">__root__</code> field. In such scenario the model behaves as transparent wrapper for this single type.</p> <p dir="auto">When such model is used in response (request also?) fastapi does not treat it correctly and renders it as object with <code class="notranslate">__root__</code> field.</p> <p dir="auto">Object is treated correctly by pydantic itself.</p> <h3 dir="auto">To Reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from typing import List from fastapi import FastAPI from pydantic.main import BaseModel app = FastAPI() class RootTestClass(BaseModel): __root__: List[str] @app.get(&quot;/&quot;) async def root(): response = RootTestClass(__root__=['a', 'b', 'c']) print(response.json()) # [&quot;a&quot;, &quot;b&quot;, &quot;c&quot;] so it's OK print(RootTestClass.schema()) # {'title': 'RootTestClass', 'type': 'array', 'items': {'type': 'string'}} this is also OK return response # Wrong value in http response"><pre class="notranslate"><code class="notranslate">from typing import List from fastapi import FastAPI from pydantic.main import BaseModel app = FastAPI() class RootTestClass(BaseModel): __root__: List[str] @app.get("/") async def root(): response = RootTestClass(__root__=['a', 'b', 'c']) print(response.json()) # ["a", "b", "c"] so it's OK print(RootTestClass.schema()) # {'title': 'RootTestClass', 'type': 'array', 'items': {'type': 'string'}} this is also OK return response # Wrong value in http response </code></pre></div> <h3 dir="auto">Expected behavior</h3> <p dir="auto">The response should be:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]"><pre class="notranslate"><code class="notranslate">["a", "b", "c"] </code></pre></div> <p dir="auto">but at the moment is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{&quot;__root__&quot;:[&quot;a&quot;,&quot;b&quot;,&quot;c&quot;]}"><pre class="notranslate"><code class="notranslate">{"__root__":["a","b","c"]} </code></pre></div> <h3 dir="auto">Screenshots</h3> <p dir="auto">N/A</p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>OS: Linux</li> <li>FastAPI Version: 0.47.1</li> <li>Python version: Python 3.7.5</li> </ul> <h3 dir="auto">Additional context</h3> <p dir="auto">N/A</p>
1
<p dir="auto">Could we extend roles to support scripts?</p> <p dir="auto">So</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- script: myscript.sh"><pre class="notranslate"><code class="notranslate">- script: myscript.sh </code></pre></div> <p dir="auto">Gets automagically sucked up from, roles/myrole/scripts/myscript.sh</p> <p dir="auto">?</p>
<p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rfwekker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rfwekker">@rfwekker</a> on 2016-12-05T14:38:56Z</p> <h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">lineinfile module<br> <a href="http://docs.ansible.com/ansible/lineinfile_module.html" rel="nofollow">http://docs.ansible.com/ansible/lineinfile_module.html</a></p> <h5 dir="auto">ANSIBLE VERSION</h5> <p dir="auto">ansible 2.1.0.0</p> <h5 dir="auto">ENVIRONMENT</h5> <p dir="auto">Ansible Configuration: default<br> CentOS Linux release 7.2.1511 (Core) 3.10.0-327.36.1.el7.x86_64</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">BUG: The lastline is deleted and replaced, with lineinfile insertafter=EOF<br> Want to add a new string to the end of the file, but the result is that the lastline is deleted and replaced. Replace last line instead of insert after last line.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">/etc/crontab</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*/45 * * * * root /sbin/blabla */45 * * * * root /sbin/tratra"><pre class="notranslate"><code class="notranslate">*/45 * * * * root /sbin/blabla */45 * * * * root /sbin/tratra </code></pre></div> <p dir="auto">Playbook section:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" - name: add at the end of the file /etc/crontab rhn_check lineinfile: dest=/etc/crontab regexp='' insertafter=EOF line='*/60 * * * * root /sbin/rhn_chk'"><pre class="notranslate"> - <span class="pl-ent">name</span>: <span class="pl-s">add at the end of the file /etc/crontab rhn_check</span> <span class="pl-ent">lineinfile</span>: <span class="pl-s">dest=/etc/crontab</span> <span class="pl-s">regexp=''</span> <span class="pl-s">insertafter=EOF</span> <span class="pl-s">line='*/60 * * * * root /sbin/rhn_chk'</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">Line added to the crontab</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*/45 * * * * root /sbin/blabla */45 * * * * root /sbin/tratra */60 * * * * root /sbin/rhn_chk"><pre class="notranslate"><code class="notranslate">*/45 * * * * root /sbin/blabla */45 * * * * root /sbin/tratra */60 * * * * root /sbin/rhn_chk </code></pre></div> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">/etc/crontab</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*/45 * * * * root /sbin/blabla */60 * * * * root /sbin/rhn_chk"><pre class="notranslate"><code class="notranslate">*/45 * * * * root /sbin/blabla */60 * * * * root /sbin/rhn_chk </code></pre></div> <p dir="auto">Last line in the file deleted and replaced</p> <p dir="auto">Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="193514460" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible-modules-core/issues/5825" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible-modules-core/issues/5825/hovercard" href="https://github.com/ansible/ansible-modules-core/issues/5825">ansible/ansible-modules-core#5825</a></p>
0
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Electron Version</h3> <p dir="auto">10.3.2</p> <h3 dir="auto">What operating system are you using?</h3> <p dir="auto">macOS</p> <h3 dir="auto">Operating System Version</h3> <p dir="auto">macOS 10.16.0 CPU: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (x64), 12 cores</p> <h3 dir="auto">What arch are you using?</h3> <p dir="auto">x64</p> <h3 dir="auto">Last Known Working Electron version</h3> <p dir="auto">10.3.2</p> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">OS Should not crash</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">Mac os crash was caused by Zenith Messenger Helper (Rendere<br> and it's randomly crashing on macOS 10.16.0 because <strong>Kernel Panic</strong><br> it's a cross-platform application so it's working perfectly on Windows OS and macOS below Big Sur Version.. its random crash unable to reproduce</p> <p dir="auto">After OS crash its shows because of our renderer process</p> <p dir="auto"><strong>Logs:-</strong><br> Panic(CPU 10, time 192912923548962): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff86c8b212d0, spinlock owner: 0xffffff86c81a7da0, current_thread: 0xffffff86c81a7da0, spinlock_owner_cpu: 0xa<br> RAX: 0xffffff86b0eabb20, RBX: 0xffffff93768c9878, RCX: 0x0000000000000080, RDX: 0x0000260400000000<br> RSP: 0xffffffa0e6913aa0, RBP: 0xffffffa0e6913ae0, RSI: 0xffffff86c81a7da0, RDI: 0xffffff93768c9878<br> R8: 0xffffffa0e6913c60, R9: 0xffffff801bae40e0, R10: 0x0000000000ffffff, R11: 0x0000000000000000<br> R12: 0xffffff86c81a7da0, R13: 0x0000000000000000, R14: 0x000026051de2528e, R15: 0xffffff86b0eabb20<br> RFL: 0x0000000000000082, RIP: 0xffffff801baa0fca, CS: 0x0000000000000008, SS: 0x0000000000000010<br> Backtrace (CPU 10), Frame : Return Address<br> 0xffffffa08ed8cf80 : 0xffffff801bbc4ccb<br> 0xffffffa08ed8cfd0 : 0xffffff801ba32bdd<br> 0xffffffa0e6913ae0 : 0xffffff801baa10d4<br> 0xffffffa0e6913b10 : 0xffffff801bae2930<br> 0xffffffa0e6913b30 : 0xffffff801bae4119<br> 0xffffffa0e6913be0 : 0xffffff801bae4612<br> 0xffffffa0e6913c50 : 0xffffff801bae368a<br> 0xffffffa0e6913d10 : 0xffffff801bae75c5<br> 0xffffffa0e6913d50 : 0xffffff801bff92f4<br> 0xffffffa0e6913d70 : 0xffffff801bff93de<br> 0xffffffa0e6913db0 : 0xffffff801c0528bd<br> 0xffffffa0e6913e30 : 0xffffff801c04dcc5<br> 0xffffffa0e6913ee0 : 0xffffff801c04daf1<br> 0xffffffa0e6913f40 : 0xffffff801c13fc9e<br> 0xffffffa0e6913fa0 : 0xffffff801ba331f6</p> <p dir="auto">Process name corresponding to current thread: Zenith Messenger Helper (Rendere<br> Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev</p> <p dir="auto">Mac OS version:<br> 20F71</p> <p dir="auto">Kernel version:<br> Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64<br> Kernel UUID: 52A1E876-863E-38E3-AC80-09BBAB13B752<br> KernelCache slide: 0x000000001b800000<br> KernelCache base: 0xffffff801ba00000<br> Kernel slide: 0x000000001b810000<br> Kernel text base: 0xffffff801ba10000<br> __HIB text base: 0xffffff801b900000<br> System model name: MacBookPro15,1 (Mac-937A206F2EE63C01)<br> System shutdown begun: NO<br> Hibernation exit count: 18</p> <p dir="auto">System uptime in nanoseconds: 192912923573289<br> Last Sleep: absolute base_tsc base_nano<br> Uptime : 0x0000af740a483e43<br> Sleep : 0x0000a0c92843e27b 0x00000000757e2c0c 0x0000a044caa046d8<br> Wake : 0x0000a0c949e3918b 0x000000007580a6d2 0x0000a0c945ef47c8<br> last started kext at 135767100022934: &gt;AudioAUUC 1.70 (addr 0xffffff7fb6620000, size 12288)<br> last stopped kext at 134881443997129: &gt;!UAudio 405.39 (addr 0xffffff7fb65a6000, size 315392)<br> loaded kexts:<br> com.paragon-software.filesystems.ntfs 90.5.15<br> com.Cylance.CyProtectDrvOSX 1</p> <blockquote> <p dir="auto">AudioAUUC 1.70<br> @filesystems.afpfs 11.3<br> @nke.asp_tcp 8.2<br> !APlatformEnabler 2.7.0d0<br> AGPM 122.1<br> X86PlatformShim 1.0.0<br> @filesystems.autofs 3.0<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fileUtil/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fileUtil">@fileUtil</a> 20.036.15<br> !ATopCaseHIDEventDriver 4050.1<br> !AHIDALSService 1<br> @kext.AMDFramebuffer 4.0.5<br> @kext.AMDRadeonX4000 4.0.5<br> @kext.AMDRadeonServiceManager 4.0.5<br> !AUpstreamUserClient 3.6.8<br> !AGraphicsDevicePolicy 6.3.3<br> !A!IKBLGraphics 16.0.4<br> @kext.AMD9500!C 4.0.5<br> @AGDCPluginDisplayMetrics 6.3.3<br> !ABridgeAudio!C 140.4<br> pmtelemetry 1<br> |IOUserEthernet 1.0.1<br> usb.!UUserHCI 1<br> |IO!BSerialManager 8.0.5d7<br> @Dont_Steal_Mac_OS_X 7.0.0<br> !AHV 1<br> !ADiskImages2 1<br> !A!ISlowAdaptiveClocking 4.0.0<br> !AMuxControl2 6.3.3<br> !A!IPCHPMC 2.0.1<br> !AGFXHDA 100.1.433<br> !A!ICFLGraphicsFramebuffer 16.0.4<br> AGDCBacklightControl 6.3.3<br> !AThunderboltIP 4.0.3<br> BridgeAudioCommunication 140.4<br> !AAVEBridge 6.1<br> !AMCCSControl 1.14<br> BCMWLANFirmware4378.Hashstore 1<br> BCMWLANFirmware4377.Hashstore 1<br> BCMWLANFirmware4364.Hashstore 1<br> BCMWLANFirmware4355.Hashstore 1<br> !AFileSystemDriver 3.0.1<br> @filesystems.tmpfs 1<br> @filesystems.hfs.kext 556.100.11<br> @BootCache 40<br> @!AFSCompression.!AFSCompressionTypeZlib 1.0.0<br> @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1<br> !ABCMWLANBusInterfacePCIeMac 1<br> @filesystems.apfs 1677.120.9<br> @private.KextAudit 1.0<br> !ASmartBatteryManager 161.0.0<br> !AACPIButtons 6.1<br> !ASMBIOS 2.1<br> !AACPIEC 6.1<br> !AAPIC 1.7<br> @!ASystemPolicy 2.0.0<br> @nke.applicationfirewall 311<br> |IOKitRegistryCompatibility 1<br> |EndpointSecurity 1<br> usb.cdc.acm 5.0.0<br> usb.serial 6.0.0<br> !UAudio 405.39<br> $SecureRemotePassword 1.0<br> @kext.triggers 1.0<br> !AHIDKeyboard 224<br> !AHS!BDriver 4050.1<br> IO!BHIDDriver 8.0.5d7<br> !AActuatorDriver 4440.3<br> !AMultitouchDriver 4440.3<br> !AInputDeviceSupport 4400.35<br> @kext.AMDRadeonX4100HWLibs 1.0<br> @kext.AMDRadeonX4000HWServices 4.0.5<br> @kext.AMDSupport 4.0.5<br> |IOAVB!F 940.4<br> @plugin.IOgPTPPlugin 985.2<br> |IOEthernetAVB!C 1.1.0<br> @!AGPUWrangler 6.3.3<br> |IOSlowAdaptiveClocking!F 1.0.0<br> !AGraphicsControl 6.3.3<br> |IOAccelerator!F2 442.9<br> |IO!BHost!CUARTTransport 8.0.5d7<br> |IO!BHost!CTransport 8.0.5d7<br> !A!ILpssUARTv1 3.0.60<br> !A!ILpssUARTCommon 3.0.60<br> !AOnboardSerial 1.0<br> @!AGraphicsDeviceControl 6.3.3<br> X86PlatformPlugin 1.0.0<br> IOPlatformPlugin!F 6.0.0d8<br> |IOAudio!F 300.6.1<br> @vecLib.kext 1.2.0<br> !ABacklightExpert 1.1.0<br> |IONDRVSupport 585.1<br> |IOGraphics!F 585.1<br> !ASMBus!C 1.0.18d1<br> !UMergeNub 900.4.2<br> usb.IOUSBHostHIDDevice 1.2<br> usb.cdc.ecm 5.0.0<br> usb.cdc.ncm 5.0.0<br> usb.!UHub 1.2<br> !AThunderboltDPOutAdapter 8.1.4<br> !AThunderboltPCIUpAdapter 4.1.1<br> usb.cdc 5.0.0<br> usb.networking 5.0.0<br> usb.!UHostCompositeDevice 1.2<br> !AThunderboltPCIDownAdapter 4.1.1<br> !AThunderboltDPInAdapter 8.1.4<br> !AThunderboltDPAdapter!F 8.1.4<br> !AHPM 3.4.4<br> !A!ILpssI2C!C 3.0.60<br> !A!ILpssI2C 3.0.60<br> !A!ILpssDmac 3.0.60<br> !ABSDKextStarter 3<br> |IOSurface 290.8.1<br> @filesystems.hfs.encodings.kext 1<br> !ABCMWLANCoreMac 1.0.0<br> |IOSerial!F 11<br> |IO80211!FV2 1200.12.2b1<br> |IOSkywalk!F 1<br> mDNSOffloadUserClient 1.0.1b8<br> IOImageLoader 1.0.0<br> corecapture 1.0.4<br> !AXsanScheme 3<br> !AThunderboltNHI 7.2.8<br> |IOThunderbolt!F 9.3.2<br> usb.!UVHCIBCE 1.2<br> usb.!UVHCICommonBCE 1.0<br> usb.!UVHCI 1.2<br> usb.!UVHCICommon 1.0<br> !AEffaceableNOR 1.0<br> |IOBufferCopy!C 1.1.0<br> |IOBufferCopyEngine!F 1<br> |IONVMe!F 2.1.0<br> usb.!UHostPacketFilter 1.0<br> |IOUSB!F 900.4.2<br> usb.!UXHCIPCI 1.2<br> usb.!UXHCI 1.2<br> !AEFINVRAM 2.1<br> !AEFIRuntime 2.1<br> !ASMCRTC 1.0<br> |IOSMBus!F 1.1<br> |IOHID!F 2.0.0<br> $!AImage4 3.0.0<br> |IOTimeSync!F 985.2<br> |IONetworking!F 3.4<br> DiskImages 493.0.0<br> |IO!B!F 8.0.5d7<br> |IOReport!F 47<br> |IO!BPacketLogger 8.0.5d7<br> $quarantine 4<br> $sandbox 300.0<br> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kext/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kext">@kext</a>.!AMatch 1.0.0d1<br> |CoreAnalytics!F 1<br> !ASSE 1.0<br> !AKeyStore 2<br> !UTDM 511.120.2<br> |IOUSBMass!SDriver 184.121.1<br> |IOSCSIBlockCommandsDevice 436.121.1<br> |IO!S!F 2.1<br> |IOSCSIArchitectureModel!F 436.121.1<br> !AMobileFileIntegrity 1.0.5<br> @kext.CoreTrust 1<br> !AFDEKeyStore 28.30<br> !AEffaceable!S 1.0<br> !ACredentialManager 1.0<br> KernelRelayHost 1<br> |IOUSBHost!F 1.2<br> !UHostMergeProperties 1.2<br> usb.!UCommon 1.0<br> !ABusPower!C 1.0<br> !ASEPManager 1.0.1<br> IOSlaveProcessor 1<br> !AACPIPlatform 6.1<br> !ASMC 3.1.9<br> |IOPCI!F 2.9<br> |IOACPI!F 1.4<br> watchdog 1<br> @kec.pthread 1<br> @kec.corecrypto 11.1<br> @kec.Libm 1<br> panic(cpu 0 caller 0xffffff801c2a153d): "Spinlock acquisition timed out: lock=0xffffff86c8b212d0, " "lock owner thread=0xffffff86c81a7da0, current_thread: 0xffffff86b0eabb20, " "lock owner active on CPU 0xa, current owner: 0xffffff86c81a7da0, time: 192912923593279"@/System/Volumes/Data/SWE/macOS/BuildRoots/e90674e518/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.121.3/osfmk/i386/locks_i386.c:541<br> Backtrace (CPU 0), Frame : Return Address<br> 0xffffffa06e543ad0 : 0xffffff801ba8e0dd<br> 0xffffffa06e543b20 : 0xffffff801bbd4f33<br> 0xffffffa06e543b60 : 0xffffff801bbc552a<br> 0xffffffa06e543bb0 : 0xffffff801ba32a2f<br> 0xffffffa06e543bd0 : 0xffffff801ba8d8fd<br> 0xffffffa06e543cf0 : 0xffffff801ba8dbf3<br> 0xffffffa06e543d60 : 0xffffff801c29d81a<br> 0xffffffa06e543dd0 : 0xffffff801c2a153d<br> 0xffffffa06e543e10 : 0xffffff801bbba135<br> 0xffffffa06e543e30 : 0xffffff801baaef56<br> 0xffffffa06e543e60 : 0xffffff801baddc9f<br> 0xffffffa06e543f20 : 0xffffff801bbb0fb3<br> 0xffffffa06e543f60 : 0xffffff801bbce5aa<br> 0xffffffa06e543f80 : 0xffffff801bbc4ccb<br> 0xffffffa06e543fd0 : 0xffffff801ba32bdd<br> 0xffffffa0e6103da0 : 0xffffff801bae73ae<br> 0xffffffa0e6103e00 : 0xffffff801c04fe5f<br> 0xffffffa0e6103f00 : 0xffffff801c04eed6<br> 0xffffffa0e6103f40 : 0xffffff801c13fc9e<br> 0xffffffa0e6103fa0 : 0xffffff801ba331f6</p> </blockquote> <p dir="auto">Process name corresponding to current thread: Zenith Messenger Helper (Rendere</p> <h3 dir="auto">Testcase Gist URL</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Additional Information</h3> <p dir="auto"><em>No response</em></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> 9.3.4 </li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li> ArchLinux 5.9.8-arch1-1 </li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li> 9.3.3 </li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">Running the command <code class="notranslate">locale</code> on a vscode terminal should match <code class="notranslate">locale</code> on a terminal. For instance, using the locale <code class="notranslate">fr_FR.UTF-8</code> the command should output something like:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[someone@somewhere ~]$ locale LANG=fr_FR.UTF-8 LC_CTYPE=&quot;fr_FR.UTF-8&quot; LC_NUMERIC=&quot;fr_FR.UTF-8&quot; LC_TIME=&quot;fr_FR.UTF-8&quot; LC_COLLATE=&quot;fr_FR.UTF-8&quot; LC_MONETARY=&quot;fr_FR.UTF-8&quot; LC_MESSAGES=&quot;fr_FR.UTF-8&quot; LC_PAPER=&quot;fr_FR.UTF-8&quot; LC_NAME=&quot;fr_FR.UTF-8&quot; LC_ADDRESS=&quot;fr_FR.UTF-8&quot; LC_TELEPHONE=&quot;fr_FR.UTF-8&quot; LC_MEASUREMENT=&quot;fr_FR.UTF-8&quot; LC_IDENTIFICATION=&quot;fr_FR.UTF-8&quot; LC_ALL="><pre class="notranslate">[someone@somewhere <span class="pl-k">~</span>]$ locale LANG=fr_FR.UTF-8 LC_CTYPE=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_NUMERIC=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_TIME=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_COLLATE=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_MONETARY=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_MESSAGES=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_PAPER=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_NAME=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_ADDRESS=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_TELEPHONE=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_MEASUREMENT=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_IDENTIFICATION=<span class="pl-s"><span class="pl-pds">"</span>fr_FR.UTF-8<span class="pl-pds">"</span></span> LC_ALL=</pre></div> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">The vscode terminal issue a warning repeatedly and the <code class="notranslate">locale</code> output is not correct.</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="bash: warning: setlocale: LC_ALL: cannot change locale (fr) [someone@somewhere ~]$ locale LANG=fr_FR.UTF-8 LC_CTYPE=&quot;C&quot; LC_NUMERIC=&quot;C&quot; LC_TIME=&quot;C&quot; LC_COLLATE=&quot;C&quot; LC_MONETARY=&quot;C&quot; LC_MESSAGES=&quot;C&quot; LC_PAPER=&quot;C&quot; LC_NAME=&quot;C&quot; LC_ADDRESS=&quot;C&quot; LC_TELEPHONE=&quot;C&quot; LC_MEASUREMENT=&quot;C&quot; LC_IDENTIFICATION=&quot;C&quot; LC_ALL=C"><pre class="notranslate">bash: warning: setlocale: LC_ALL: cannot change locale (fr) [someone@somewhere <span class="pl-k">~</span>]$ locale LANG=fr_FR.UTF-8 LC_CTYPE=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_NUMERIC=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_TIME=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_COLLATE=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_MONETARY=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_MESSAGES=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_PAPER=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_NAME=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_ADDRESS=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_TELEPHONE=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_MEASUREMENT=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_IDENTIFICATION=<span class="pl-s"><span class="pl-pds">"</span>C<span class="pl-pds">"</span></span> LC_ALL=C</pre></div> <h3 dir="auto">To Reproduce</h3> <ul dir="auto"> <li>Go on your favorite Linux distribution</li> <li>Install <code class="notranslate">vscode</code> and <code class="notranslate">electron 9.3.4</code></li> <li>Open a terminal in <code class="notranslate">vscode</code>, you will see the warning</li> <li>Type <code class="notranslate">locale</code>, you will see wrong output</li> </ul> <h3 dir="auto">Additional Information</h3> <ul dir="auto"> <li>If I downgrade <code class="notranslate">electron9</code> (<code class="notranslate">9.3.4 -&gt; 9.3.3</code>) without touching <code class="notranslate">vscode</code>, the issue is gone.</li> </ul>
0
<h3 dir="auto">Bug report</h3> <p dir="auto">After setting alpha to legend Patch, the color of edited patch resets to default(blue).</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;&quot;&quot; ======== Barchart ======== A bar plot with errorbars and height labels on individual bars &quot;&quot;&quot; import matplotlib.pyplot as plt import numpy as np N = 5 men_means = (20, 35, 30, 35, 27) men_std = (2, 3, 4, 1, 2) ind = np.arange(N) # the x locations for the groups width = 0.35 # the width of the bars fig, ax = plt.subplots() rects1 = ax.bar(ind, men_means, width, color='r', yerr=men_std) women_means = (25, 32, 34, 20, 25) women_std = (3, 5, 2, 3, 3) rects2 = ax.bar(ind + width, women_means, width, color='y', yerr=women_std) # add some text for labels, title and axes ticks ax.set_ylabel('Scores') ax.set_title('Scores by group and gender') ax.set_xticks(ind + width / 2) ax.set_xticklabels(('G1', 'G2', 'G3', 'G4', 'G5')) leg = ax.legend((rects1[0], rects2[0]), ('Men', 'Women')) #this line causes bug - reset to default color(blue) leg.get_patches()[0].set_alpha(0.854321) plt.show()"><pre class="notranslate"><span class="pl-s">"""</span> <span class="pl-s">========</span> <span class="pl-s">Barchart</span> <span class="pl-s">========</span> <span class="pl-s"></span> <span class="pl-s">A bar plot with errorbars and height labels on individual bars</span> <span class="pl-s">"""</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-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span> <span class="pl-v">N</span> <span class="pl-c1">=</span> <span class="pl-c1">5</span> <span class="pl-s1">men_means</span> <span class="pl-c1">=</span> (<span class="pl-c1">20</span>, <span class="pl-c1">35</span>, <span class="pl-c1">30</span>, <span class="pl-c1">35</span>, <span class="pl-c1">27</span>) <span class="pl-s1">men_std</span> <span class="pl-c1">=</span> (<span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>) <span class="pl-s1">ind</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-v">N</span>) <span class="pl-c"># the x locations for the groups</span> <span class="pl-s1">width</span> <span class="pl-c1">=</span> <span class="pl-c1">0.35</span> <span class="pl-c"># the width of the bars</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">rects1</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">bar</span>(<span class="pl-s1">ind</span>, <span class="pl-s1">men_means</span>, <span class="pl-s1">width</span>, <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'r'</span>, <span class="pl-s1">yerr</span><span class="pl-c1">=</span><span class="pl-s1">men_std</span>) <span class="pl-s1">women_means</span> <span class="pl-c1">=</span> (<span class="pl-c1">25</span>, <span class="pl-c1">32</span>, <span class="pl-c1">34</span>, <span class="pl-c1">20</span>, <span class="pl-c1">25</span>) <span class="pl-s1">women_std</span> <span class="pl-c1">=</span> (<span class="pl-c1">3</span>, <span class="pl-c1">5</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">3</span>) <span class="pl-s1">rects2</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">bar</span>(<span class="pl-s1">ind</span> <span class="pl-c1">+</span> <span class="pl-s1">width</span>, <span class="pl-s1">women_means</span>, <span class="pl-s1">width</span>, <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'y'</span>, <span class="pl-s1">yerr</span><span class="pl-c1">=</span><span class="pl-s1">women_std</span>) <span class="pl-c"># add some text for labels, title and axes ticks</span> <span class="pl-s1">ax</span>.<span class="pl-en">set_ylabel</span>(<span class="pl-s">'Scores'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">set_title</span>(<span class="pl-s">'Scores by group and gender'</span>) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticks</span>(<span class="pl-s1">ind</span> <span class="pl-c1">+</span> <span class="pl-s1">width</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span>) <span class="pl-s1">ax</span>.<span class="pl-en">set_xticklabels</span>((<span class="pl-s">'G1'</span>, <span class="pl-s">'G2'</span>, <span class="pl-s">'G3'</span>, <span class="pl-s">'G4'</span>, <span class="pl-s">'G5'</span>)) <span class="pl-s1">leg</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">legend</span>((<span class="pl-s1">rects1</span>[<span class="pl-c1">0</span>], <span class="pl-s1">rects2</span>[<span class="pl-c1">0</span>]), (<span class="pl-s">'Men'</span>, <span class="pl-s">'Women'</span>)) <span class="pl-c">#this line causes bug - reset to default color(blue)</span> <span class="pl-s1">leg</span>.<span class="pl-en">get_patches</span>()[<span class="pl-c1">0</span>].<span class="pl-en">set_alpha</span>(<span class="pl-c1">0.854321</span>) <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <p dir="auto"><strong>Actual outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16255826/36615032-17f0e40e-18df-11e8-86ad-6570e5f3745e.png"><img src="https://user-images.githubusercontent.com/16255826/36615032-17f0e40e-18df-11e8-86ad-6570e5f3745e.png" alt="obraz" style="max-width: 100%;"></a><br> <strong>Expected outcome</strong><br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16255826/36615150-930c4b1a-18df-11e8-8c90-567bd1e45b54.png"><img src="https://user-images.githubusercontent.com/16255826/36615150-930c4b1a-18df-11e8-8c90-567bd1e45b54.png" alt="obraz" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Matplotlib version: 2.1.2</li> <li>Python version: 2.7</li> </ul>
<h3 dir="auto">Bug report</h3> <p dir="auto"><strong>Bug summary</strong></p> <p dir="auto">I occasionally want the alpha value of the patch in a histogram's legend to be different than the alpha value used to plot the legend. However, when I call <code class="notranslate">set_alpha</code> on a legend handle, the color of the patch in the legend changes.</p> <p dir="auto"><strong>Code for reproduction</strong></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt plt.hist([1, 2, 3], alpha = 0.25, label = 'data', color = 'red') legend = plt.legend() for lh in legend.legendHandles: lh.set_alpha(1.0)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-s1">plt</span>.<span class="pl-en">hist</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">alpha</span> <span class="pl-c1">=</span> <span class="pl-c1">0.25</span>, <span class="pl-s1">label</span> <span class="pl-c1">=</span> <span class="pl-s">'data'</span>, <span class="pl-s1">color</span> <span class="pl-c1">=</span> <span class="pl-s">'red'</span>) <span class="pl-s1">legend</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">legend</span>() <span class="pl-k">for</span> <span class="pl-s1">lh</span> <span class="pl-c1">in</span> <span class="pl-s1">legend</span>.<span class="pl-s1">legendHandles</span>: <span class="pl-s1">lh</span>.<span class="pl-en">set_alpha</span>(<span class="pl-c1">1.0</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/2431900/42916377-e3e2c770-8ad2-11e8-9a9d-77f0db02e7a2.png"><img src="https://user-images.githubusercontent.com/2431900/42916377-e3e2c770-8ad2-11e8-9a9d-77f0db02e7a2.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Work-around</strong></p> <p dir="auto">I can get the result I desire if I call <code class="notranslate">set_edgecolor()</code> and <code class="notranslate">set_facecolor()</code>:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="plt.hist([1, 2, 3], alpha = 0.25, label = 'data', color = 'red') legend = plt.legend() for lh in legend.legendHandles: lh.set_facecolor(lh.get_facecolor()) lh.set_edgecolor(lh.get_edgecolor()) lh.set_alpha(1.0)"><pre class="notranslate"><span class="pl-s1">plt</span>.<span class="pl-en">hist</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">alpha</span> <span class="pl-c1">=</span> <span class="pl-c1">0.25</span>, <span class="pl-s1">label</span> <span class="pl-c1">=</span> <span class="pl-s">'data'</span>, <span class="pl-s1">color</span> <span class="pl-c1">=</span> <span class="pl-s">'red'</span>) <span class="pl-s1">legend</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">legend</span>() <span class="pl-k">for</span> <span class="pl-s1">lh</span> <span class="pl-c1">in</span> <span class="pl-s1">legend</span>.<span class="pl-s1">legendHandles</span>: <span class="pl-s1">lh</span>.<span class="pl-en">set_facecolor</span>(<span class="pl-s1">lh</span>.<span class="pl-en">get_facecolor</span>()) <span class="pl-s1">lh</span>.<span class="pl-en">set_edgecolor</span>(<span class="pl-s1">lh</span>.<span class="pl-en">get_edgecolor</span>()) <span class="pl-s1">lh</span>.<span class="pl-en">set_alpha</span>(<span class="pl-c1">1.0</span>)</pre></div> <p dir="auto"><strong>Expected outcome</strong></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2431900/42916427-26b11bd8-8ad3-11e8-8a68-d6fc1a08efeb.png"><img src="https://user-images.githubusercontent.com/2431900/42916427-26b11bd8-8ad3-11e8-8a68-d6fc1a08efeb.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><strong>Matplotlib version</strong></p> <ul dir="auto"> <li>Matplotlib v2.2.2</li> <li>Installed from Anaconda (default channel)</li> <li>Backend: module://ipykernel.pylab.backend_inline</li> <li>Jupyter version: 5.5.0</li> </ul>
1
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.418] Windows Terminal version (if applicable): 0.5.2762.0 (Preview from MS Store) Device: Huawei Matebook X Pro"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.418] Windows Terminal version (if applicable): 0.5.2762.0 (Preview from MS Store) Device: Huawei Matebook X Pro </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">This just happens when in full Power Saving mode.<br> Make sure you are not running "More Battery efficiency".</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">The appearance of the terminal should be completely normal with the acrylic background.</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">In Power Saving mode the terminal Background turns completely black while other acrylic effects in windows work as they should (like the taskbar).</p>
<h1 dir="auto">Set default WSL path to distro $HOME</h1> <p dir="auto">The default path for WSL distros is currently the Windows user path (<code class="notranslate">%USERPROFILE%</code>) but it's may be better to set it to the distro <code class="notranslate">$HOME</code>.</p> <h1 dir="auto">Proposed technical implementation details (optional)</h1> <p dir="auto">I don't know if it's possible, but ideally in the <code class="notranslate">WslDistroGenerator.cpp</code> the command line should be conditionally set to <code class="notranslate">"wsl.exe -d " + distName</code> if <code class="notranslate">startingDirectory</code> is set in <code class="notranslate">profile.json</code>, <code class="notranslate">"wsl.exe ~ -d " + distName</code> otherwise.<br> Another possibility is to add a boolean setting <code class="notranslate">UseWSLHome</code> on the wsl <code class="notranslate">profile.json</code><br> Thank you.</p>
0
<ul dir="auto"> <li>Electron Version: 2.0.1</li> <li>Operating System (Platform and Version): Windows 10 build 1803 x64</li> <li>Last known working Electron version: 2.0.0</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> The Window should open properly with 'transparent: true'.</p> <p dir="auto"><strong>Actual behavior</strong><br> With <strong>'transparent: true'</strong> enable the Windows opens very small and is not resizable or maximizable.</p> <p dir="auto"><strong>To Reproduce</strong><br> Add 'transparent: true' to your main.js.</p> <p dir="auto"><strong>Screenshots</strong><br> Without 'transparent: true'<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39272785/40245563-1bf68ca6-5a94-11e8-86b2-84d19850d121.gif"><img src="https://user-images.githubusercontent.com/39272785/40245563-1bf68ca6-5a94-11e8-86b2-84d19850d121.gif" alt="8fb4ee92d9c8dc386db335869b5cf18e" data-animated-image="" style="max-width: 100%;"></a></p> <p dir="auto">With 'transparent: true'<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39272785/40245752-7c20126e-5a94-11e8-96eb-d2f301f42ac6.gif"><img src="https://user-images.githubusercontent.com/39272785/40245752-7c20126e-5a94-11e8-96eb-d2f301f42ac6.gif" alt="78a5dd0cd2f03d53bb34fd0c2a89cc04" data-animated-image="" style="max-width: 100%;"></a></p>
<ul dir="auto"> <li>Electron Version: v2.0.1</li> <li>Operating System (Platform and Version): windows10</li> <li>Last known working Electron version: 1.7.9</li> </ul> <p dir="auto">Allow frameless transparent windows to be sized smaller than 64x64 on Windows <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="322959691" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/12923" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/12923/hovercard" href="https://github.com/electron/electron/pull/12923">#12923</a></p> <p dir="auto">but,now, it can't bigger than 64x64 on Windows<br> my <code class="notranslate">height/width</code> don't work<br> when i set <code class="notranslate">frame: true</code>, it can't resize<br> remove <code class="notranslate">transparent: true</code>, all work right<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12164900/40214332-aac2815e-5a8c-11e8-8aa1-38ec2a427e0a.gif"><img src="https://user-images.githubusercontent.com/12164900/40214332-aac2815e-5a8c-11e8-8aa1-38ec2a427e0a.gif" alt="2018-05-18 11_14_17" data-animated-image="" style="max-width: 100%;"></a></p>
1
<ul dir="auto"> <li>Electron version: 1.7.9</li> <li>Operating system: macOS 10.13.1</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">user can only choose audio files</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">the <code class="notranslate">accept</code> field doesn't work at all, user can choose any files</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">use <a href="https://github.com/csepulv/electron-with-create-react-app">electron-with-create-react-app</a> to build a mvp:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/csepulv/electron-with-create-react-app.git cd electron-with-create-react-app/ npm install npm run dev"><pre class="notranslate"><code class="notranslate">git clone https://github.com/csepulv/electron-with-create-react-app.git cd electron-with-create-react-app/ npm install npm run dev </code></pre></div> <p dir="auto">and then just add a file input to the <code class="notranslate">App.js</code>:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;input type=&quot;file&quot; accept=&quot;audio/*&quot; /&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">file</span>" <span class="pl-c1">accept</span>="<span class="pl-s">audio/*</span>" /&gt;</pre></div>
<ul dir="auto"> <li>Electron version:<br> ^1.7.9</li> <li>Operating system:<br> macOS 10.13.1</li> </ul> <h3 dir="auto">Expected behavior</h3> <p dir="auto">the accept prop of &lt;input type:"file"&gt; should reject the files which are not under the accept prop,</p> <h3 dir="auto">Actual behavior</h3> <p dir="auto">I test the plain HTML with accept prop bound to which worked properly as expected on safari firefox and chrome, HOWEVER, on electron app, it never worked! , as the accept prop does not exist.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Create a basic electron app with HTML &lt;input type:"file" accept:"*"&gt; and you would get this issue, however, I only have Mac, so this may not happen on win machines. And I assume that was because of the new macOS update with APFS? By the way, the<code class="notranslate"> accept</code> prop won't work with some React file selector components either.</p>
1
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/caesars-cipher" rel="nofollow">Caesars Cipher</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto"><strong>The link for "String.charCodeAt()" in the instruction is broken....</strong></p> <p dir="auto">My code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function rot13(str) { // LBH QVQ VG! return str; } // Change the inputs below to test rot13(&quot;SERR PBQR PNZC&quot;); "><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">rot13</span><span class="pl-kos">(</span><span class="pl-s1">str</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// LBH QVQ VG!</span> <span class="pl-k">return</span> <span class="pl-s1">str</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// Change the inputs below to test</span> <span class="pl-en">rot13</span><span class="pl-kos">(</span><span class="pl-s">"SERR PBQR PNZC"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/caesars-cipher" rel="nofollow">Caesars Cipher</a> has an issue.<br> User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0</code>.<br> Please describe how to reproduce this issue, and include links to screenshots if possible.</p> <p dir="auto">My code:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" function rot13(str) { // LBH QVQ VG! return str; } // Change the inputs below to test rot13(&quot;SERR PBQR PNZC&quot;); "><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">rot13</span><span class="pl-kos">(</span><span class="pl-s1">str</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// LBH QVQ VG!</span> <span class="pl-k">return</span> <span class="pl-s1">str</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// Change the inputs below to test</span> <span class="pl-en">rot13</span><span class="pl-kos">(</span><span class="pl-s">"SERR PBQR PNZC"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">The issue is not within the code, actually... It is on the challenge's explanation page.<br> It seems that the link to "String.charCodeAt()" is broken.</p> <p dir="auto">I think it should be the following:<br> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt</a></p> <p dir="auto">Stay well<br> DR</p>
1
<p dir="auto">Let's say I have andpoint GET <a href="https://example.com/foo" rel="nofollow">https://example.com/foo</a></p> <p dir="auto">When I use:<br> $app-&gt;match('/foo', function...)<br> -&gt; OK, it doesn't redirect to <a href="https://example.com/foo/" rel="nofollow">https://example.com/foo/</a></p> <p dir="auto">BUT when I use:<br> $app-&gt;mount('/foo', new SomeRouteController());<br> and then in route controller:<br> $controllers-&gt;get('/', function...)<br> OR<br> $controllers-&gt;get('', function...)</p> <p dir="auto">it automatically redirects to <a href="https://example.com/foo/" rel="nofollow">https://example.com/foo/</a> (with trailing slash).</p> <p dir="auto">It's very annoying. It makes run my middleware twice without need and generating redundant requests.<br> Can you fix it or provide a way to disable this new redirects at all?</p>
<p dir="auto"><strong>Description</strong></p> <blockquote> <p dir="auto">The automatic 301 redirection from /foo/ to /foo was introduced in Symfony 4.1. In previous Symfony versions this results in a 404 response.</p> </blockquote> <p dir="auto">This is a "magic" behaviour which can be unwanted in certain cases. For example it can <a href="https://stackoverflow.com/questions/13556772/jquery-ajax-wont-make-https-requests" rel="nofollow">break AJAX calls via HTTPS</a>.</p> <p dir="auto">There should be an option to disable this behaviour and enforcing strict URL matching on the route, without any magic redirects behind.</p>
1
<p dir="auto">[This isn't actually a 1.10 blocker, but hopefully it will be resolved trivially before that so sticking the tag on so it doesn't get lost.]</p> <p dir="auto"><a href="http://thread.gmane.org/gmane.comp.python.numeric.general/60520" rel="nofollow">http://thread.gmane.org/gmane.comp.python.numeric.general/60520</a></p>
<p dir="auto">the function argsort() returns a wrong indice that would sort an array.<br> for example:</p> <blockquote> <blockquote> <blockquote> <p dir="auto">from numpy import *<br> a=array([4,2,3,1])<br> argsort(a)<br> array([3, 1, 2, 0], dtype=int64)</p> </blockquote> </blockquote> </blockquote> <h3 dir="auto">so this is right, it returned the sorted index. but the follow example is wrong:</h3> <blockquote> <blockquote> <blockquote> <p dir="auto">a=array([4,2,3])<br> argsort(a)<br> array([1, 2, 0], dtype=int64)</p> </blockquote> </blockquote> </blockquote> <h3 dir="auto">the right index should be array([2,0,1]),and the follow example is also wrong:</h3> <blockquote> <blockquote> <blockquote> <p dir="auto">a=array([5,1,4,3,2])<br> argsort(a)<br> array([1, 4, 3, 2, 0], dtype=int64)</p> </blockquote> </blockquote> </blockquote> <h3 dir="auto">the right index should be array([4,0,3,2,1]),and the follow example is also wrong:</h3> <blockquote> <blockquote> <blockquote> <p dir="auto">a=array([7,1,5,2,4,6,3])<br> argsort(a)<br> array([1, 3, 6, 4, 2, 5, 0], dtype=int64)</p> </blockquote> </blockquote> </blockquote> <h3 dir="auto">the right index should be array([6,0,4,1,3,5,2]),so I find a error rule that function argsort() will display the wrong index when an array that starts with a maximum and has an odd number of elements.</h3> <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="&gt;&gt;&gt;from numpy import * &gt;&gt;&gt; a=array([4,2,3,1]) &gt;&gt;&gt; argsort(a) array([3, 1, 2, 0], dtype=int64) ### so this is right, it returned the sorted index. but the follow example is wrong: &gt;&gt;&gt; a=array([4,2,3]) &gt;&gt;&gt; argsort(a) array([1, 2, 0], dtype=int64) ### the right index should be array([2,0,1]),and the follow example is also wrong: &gt;&gt;&gt; a=array([5,1,4,3,2]) &gt;&gt;&gt; argsort(a) array([1, 4, 3, 2, 0], dtype=int64) ### the right index should be array([4,0,3,2,1]),and the follow example is also wrong: &gt;&gt;&gt; a=array([7,1,5,2,4,6,3]) &gt;&gt;&gt; argsort(a) array([1, 3, 6, 4, 2, 5, 0], dtype=int64)"><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">numpy</span> <span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-en">array</span>([<span class="pl-c1">4</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>,<span class="pl-c1">1</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">argsort</span>(<span class="pl-s1">a</span>) <span class="pl-en">array</span>([<span class="pl-c1">3</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int64</span>) <span class="pl-c">### so this is right, it returned the sorted index. but the follow example is wrong:</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-en">array</span>([<span class="pl-c1">4</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">argsort</span>(<span class="pl-s1">a</span>) <span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int64</span>) <span class="pl-c">### the right index should be array([2,0,1]),and the follow example is also wrong:</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-en">array</span>([<span class="pl-c1">5</span>,<span class="pl-c1">1</span>,<span class="pl-c1">4</span>,<span class="pl-c1">3</span>,<span class="pl-c1">2</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">argsort</span>(<span class="pl-s1">a</span>) <span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">4</span>, <span class="pl-c1">3</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int64</span>) <span class="pl-c">### the right index should be array([4,0,3,2,1]),and the follow example is also wrong:</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">a</span><span class="pl-c1">=</span><span class="pl-en">array</span>([<span class="pl-c1">7</span>,<span class="pl-c1">1</span>,<span class="pl-c1">5</span>,<span class="pl-c1">2</span>,<span class="pl-c1">4</span>,<span class="pl-c1">6</span>,<span class="pl-c1">3</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-en">argsort</span>(<span class="pl-s1">a</span>) <span class="pl-en">array</span>([<span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-c1">6</span>, <span class="pl-c1">4</span>, <span class="pl-c1">2</span>, <span class="pl-c1">5</span>, <span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">int64</span>)</pre></div> <h3 dir="auto">Error message:</h3> <h3 dir="auto">Numpy/Python version information:</h3> <p dir="auto">Numpy 1.13.3/Python 3.5.2</p> <p dir="auto">1.13.3 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]</p>
0
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; np.full_like(np.array([1,0]), np.nan) array([-9223372036854775808, -9223372036854775808])"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-en">full_like</span>(<span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">1</span>,<span class="pl-c1">0</span>]), <span class="pl-s1">np</span>.<span class="pl-s1">nan</span>) <span class="pl-en">array</span>([<span class="pl-c1">-</span><span class="pl-c1">9223372036854775808</span>, <span class="pl-c1">-</span><span class="pl-c1">9223372036854775808</span>])</pre></div> <p dir="auto">Normally, conversion of an NaN to an int fails:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; np.int(np.nan) ValueError: cannot convert float NaN to integer"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">np</span>.<span class="pl-en">int</span>(<span class="pl-s1">np</span>.<span class="pl-s1">nan</span>) <span class="pl-v">ValueError</span>: <span class="pl-s1">cannot</span> <span class="pl-s1">convert</span> <span class="pl-s1">float</span> <span class="pl-v">NaN</span> <span class="pl-s1">to</span> <span class="pl-s1">integer</span></pre></div> <p dir="auto">I suspect the <code class="notranslate">full_like</code> behaviour should similarly raise an error. I'm not sure how common this behaviour is.</p>
<h3 dir="auto">Issue with current documentation:</h3> <p dir="auto">I wanted to test the PDF build of documentation for 1.24, and the build ended with this report:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Latexmk: ====List of undefined refs and citations: Missing character: There is no 琴 (U+7434) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 春 (U+6625) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 鈴 (U+9234) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 猫 (U+732B) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 傅 (U+5085) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 立 (U+7ACB) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 业 (U+4E1A) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! And 2 more --- see log file."><pre class="notranslate"><code class="notranslate">Latexmk: ====List of undefined refs and citations: Missing character: There is no 琴 (U+7434) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 春 (U+6625) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 鈴 (U+9234) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 猫 (U+732B) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 傅 (U+5085) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 立 (U+7ACB) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! Missing character: There is no 业 (U+4E1A) in font [FreeSerif.otf]/OT:script=latn;language=dflt;mapping=tex-text;! And 2 more --- see log file. </code></pre></div> <p dir="auto">Then I checked log file where the page numbers are indicated (339 and 363 for my build but my virtual environment was lacking some stuff so warnings were reported about doxygen and scipy, perhaps I am missing pages in my build) and this actually maps to the Release notes for 1.23.3 and 1.21.4.</p> <p dir="auto">Indeed here is a screenshot for the 1.21.4 Release pages in the <a href="https://numpy.org/doc/1.23/numpy-user.pdf" rel="nofollow">PDF for 1.23 release</a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2589111/210667353-c5a23333-f0c8-49ae-8ab0-77714f06c96f.png"><img src="https://user-images.githubusercontent.com/2589111/210667353-c5a23333-f0c8-49ae-8ab0-77714f06c96f.png" alt="Capture d’écran 2023-01-05 à 00 00 04" style="max-width: 100%;"></a></p> <p dir="auto">By the way according to Google translate <code class="notranslate">傅立业</code> indicated missing in this screenshot (page 363 in my build of 1.24.1 documentation) means <code class="notranslate">Fourier</code>...</p> <h3 dir="auto">Idea or request for content:</h3> <p dir="auto">Unfortunately I personally am very little familiar with <code class="notranslate">xelatex</code> but I think it should be possible to configure it to switch to another font for CJK ideograms, I can not help currently though, but surely others will.</p> <p dir="auto">By the way, with recent LaTeX (since 2021) one can (via <code class="notranslate">\tracinglostchars3</code> in the preamble) let such missing characters cause a LaTeX build error... if one really really wishes this.</p> <p dir="auto">Completely unrelated note: I wanted to test how the PDF looked with Sphinx development tip (future 6.1.0). It does look fine (code-blocks with rounded corners and background gray, tables with rows of alternating grayish colors). I had to install <code class="notranslate">sphinx_design</code> and then reinstall Sphinx as <code class="notranslate">sphinx_design</code> pins it to <code class="notranslate">&lt;6</code>.</p>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://codesandbox.io/s/unruffled-night-t32t2?file=/src/router.js:253-257" rel="nofollow">https://codesandbox.io/s/unruffled-night-t32t2?file=/src/router.js:253-257</a></p> <h3 dir="auto">code</h3> &lt;script src="https://cdn.jsdelivr.net/npm/vue"&gt;&lt;/script&gt; &lt;script src="https://unpkg.com/vue-router/dist/vue-router.js"&gt;&lt;/script&gt; &lt;title&gt;input momery leak&lt;/title&gt; <div id="user-content-app" dir="auto"> Go to input page <br> Go to empty page </div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;script&gt; const Inp = { data: function () { return { v: '', test: [] } }, mounted() { for (let i = 2000000; i &gt; 0; i--) { this.test.push(i) } }, template: `&lt;input v-model=&quot;v&quot;&gt;&lt;/input&gt;` }, Empty = { template: '&lt;div&gt;empty&lt;/div&gt;' }, routes = [ { path: '/input', component: Inp }, { path: '/empty', component: Empty } ], router = new VueRouter({ routes }), app = new Vue({ el: '#app', router }) &lt;/script&gt;"><pre class="notranslate"><code class="notranslate">&lt;script&gt; const Inp = { data: function () { return { v: '', test: [] } }, mounted() { for (let i = 2000000; i &gt; 0; i--) { this.test.push(i) } }, template: `&lt;input v-model="v"&gt;&lt;/input&gt;` }, Empty = { template: '&lt;div&gt;empty&lt;/div&gt;' }, routes = [ { path: '/input', component: Inp }, { path: '/empty', component: Empty } ], router = new VueRouter({ routes }), app = new Vue({ el: '#app', router }) &lt;/script&gt; </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">1.Click Go to input page link,collect garbage and take a snapshot with devtools<br> 2.Enter any value in the input box,collect garbage and take a snapshot with devtools<br> 3.Click Go to empty page link,collect garbage and take a snapshot with devtools</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">Data memory release in component data</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Not released,variables test are still in memory</p> <hr> <p dir="auto">If the input box does nothing and leaves the page, the component data can be freed normally</p>
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://github.com/nicolanilomartinoph/skillTree_nonSPA">https://github.com/nicolanilomartinoph/skillTree_nonSPA</a></p> <h3 dir="auto">Steps to reproduce</h3> <ol dir="auto"> <li>Create a state and add some variables</li> <li>change one of the variable( delete, change spelling, add a variable)</li> <li>Save file</li> <li>npm run watch</li> <li>CTRL F5 your browser</li> <li>Go to Chrome vue extension and click Switch to vuex</li> <li>You'll notice that your changes doesn't reflect</li> </ol> <p dir="auto">Few things can happen:</p> <ol dir="auto"> <li>delete variables still show</li> <li>A change in spelling/letter case will result in 2 variable of both old and new spelling/case difference</li> </ol> <h3 dir="auto">What is expected?</h3> <p dir="auto">For all changes to reflect on chrome vue extension</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Changes to the state can result in old and changed variables names.</p> <p dir="auto">In the source file, the code is no longer there but if you go to the chrome extension, it still shows there.</p> <hr> <p dir="auto">I was simply changing the variable in the state so it would make more sense then the bug stated to happen. I notice in the vuex chrome extension that I have duplicate of the old variable and new variable name.</p> <p dir="auto">I am also using plugins: [createPersistedState()] if that helps.<br> I cannot debug properly because I'm not use if the new variable name takes effect or that old one is still out there.</p> <p dir="auto">To be</p>
0
<p dir="auto">@bschussek this was supposed to be a blog post, but never get published as it is too much technical ....</p> <p dir="auto">While migrating the FormatterBundle to Symfony2.3, some small details can take a bit longer to fix than expecting. There is one main issue with the Form Component which makes it pretty impossible for a FormType to access the different fields.</p> <p dir="auto">Let's explain how we try to avoid a BC break in the SonataFormatterBundle:</p> <p dir="auto">The Formatter Bundle provides a easy way to convert raw markup (markdow, textile, ...) into a final state. The visual representation is <a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/43b630ad8ad2b7813b8b15e5f6a6bbca1295937674b9d66ae7194c6b06804ad5/687474703a2f2f736f6e6174612d70726f6a6563742e6f72672f62756e646c65732f666f726d61747465722f6d61737465722f646f632f5f696d616765732f666f726d61747465725f776974685f636b656469746f722e706e67"><img src="https://camo.githubusercontent.com/43b630ad8ad2b7813b8b15e5f6a6bbca1295937674b9d66ae7194c6b06804ad5/687474703a2f2f736f6e6174612d70726f6a6563742e6f72672f62756e646c65732f666f726d61747465722f6d61737465722f646f632f5f696d616765732f666f726d61747465725f776974685f636b656469746f722e706e67" data-canonical-src="http://sonata-project.org/bundles/formatter/master/doc/_images/formatter_with_ckeditor.png" style="max-width: 100%;"></a></p> <p dir="auto">In order to make it work a FormatterType is used. The type allows to define a format (mardown, html, etc ...) to be applied on a target field by reading the data from a source field. So if you have a <a href="https://github.com/sonata-project/SonataNewsBundle/blob/master/Resources/config/doctrine/BasePost.orm.xml#L8-L10">Post entity</a>, the entity will have :</p> <ul dir="auto"> <li>a content field : the transformed field</li> <li>a rawContent field : the source field</li> <li>a contentFormatter field: the format field</li> </ul> <p dir="auto">As &lt; Symfony2.3, it was possible for a FromType to retrieve the <a href="https://github.com/sonata-project/SonataFormatterBundle/blob/2.2/Form/Type/FormatterType.php#L59">parent form builder</a>. However from 2.3, the FormBuilder::getParent is not available anymore, due to the fact that the parent builder can be changed so it is very hard to rely on it (on some very specific edge cases).</p> <p dir="auto">The parent builder was useful to attach an event listener on the parent form to apply the transformation once the form is being posted.</p> <p dir="auto">As of Symfony2.3, The FormatterType is broken ... let's see the others options we have:</p> <p dir="auto">The inherit_data option can be a solution ~ from the PHP doc: "Sets whether the form should read and write the data of its parent.".<br> But by looking at the Form class, the Form::setData is not called if the field is defined as ‘inherit_data’. This method is responsible for notifying listeners when data is set. So by using the inherit_data, it is not possible to use FormEvents::PRE_SET_DATA event inside the FormatterType::buildForm</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public function getData() { if ($this-&gt;config-&gt;getInheritData()) { if (!$this-&gt;parent) { throw new RuntimeException('The form is configured to inherit its parent\'s data, but does not have a parent.'); } return $this-&gt;parent-&gt;getData(); } if (!$this-&gt;defaultDataSet) { $this-&gt;setData($this-&gt;config-&gt;getData()); } return $this-&gt;modelData; }"><pre class="notranslate"><code class="notranslate">public function getData() { if ($this-&gt;config-&gt;getInheritData()) { if (!$this-&gt;parent) { throw new RuntimeException('The form is configured to inherit its parent\'s data, but does not have a parent.'); } return $this-&gt;parent-&gt;getData(); } if (!$this-&gt;defaultDataSet) { $this-&gt;setData($this-&gt;config-&gt;getData()); } return $this-&gt;modelData; } </code></pre></div> <p dir="auto">After digging into the Form Component source code, the internal event dispatcher is set per FormBuilder and while a FormType::buildForm is called, the callee method does not copy the event dispatcher from the FormatterType builder to the parent (when inherit_data is set to true). This can be the expected behavior as inherited_data means "Sets whether the form should read and write the data of its parent.", we can expect the event dispatcher being shared. By looking at the code, this change is not as easy as it might look. While a Form is being built by using the FormBuilder and the FormType the options are not always available.</p> <p dir="auto">So in order to find a solution and keep going, we introduce a BC break in the FormatterType.</p> <p dir="auto">The solution: pass the parent event dispatcher to the form type. This might not be the best solution, but at least it will work as before and might break on some edge cases (can someone point me to an edge case?)</p> <p dir="auto">The BC break and the fix: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sonata-project/SonataFormatterBundle/commit/2d1a412662a34c49fa8c2b8da7c111a35865b15e/hovercard" href="https://github.com/sonata-project/SonataFormatterBundle/commit/2d1a412662a34c49fa8c2b8da7c111a35865b15e">sonata-project/SonataFormatterBundle@<tt>2d1a412</tt></a></p>
<p dir="auto">Probably in Symfony 2.4 I'm going to make a few changes to the form architecture to enforce a proper form lifecycle. A BC layer will be provided until Symfony 3.0.</p> <p dir="auto">I'm writing this mainly as instructions to my future me, but anyone interested in the topic is invited to chime in :)</p> <h4 dir="auto">Summary</h4> <ul dir="auto"> <li><code class="notranslate">Form::setData()</code> will be deprecated in favor of <code class="notranslate">Form::initialize()</code></li> <li><code class="notranslate">Form::initialize()</code> can only ever be called once (usually automatically by the form system) guaranteeing the best possible performance</li> <li><code class="notranslate">Form::initialize()</code> is guaranteed to be called on every element in the form tree (including those with "inherit_data" set), ensuring that all <code class="notranslate">*_SET_DATA</code> events are fired on time</li> <li>side effects from <code class="notranslate">Form::submit()</code>, <code class="notranslate">getData()</code>, <code class="notranslate">getNormData()</code> and <code class="notranslate">getViewData()</code> will be removed</li> <li><code class="notranslate">DataMapperInterface</code> will be deprecated in favor of <code class="notranslate">DataMapper2Interface</code> (everybody cheer now ;) )</li> </ul> <h4 dir="auto">Question</h4> <p dir="auto">After you read the text ( ;) ) please help me by answering the following question:</p> <p dir="auto">Are there use cases where calling <code class="notranslate">Form::setData()</code> is absolutely necessary and cannot be changed so that the default data is set in one of the other ways demonstrated below (last code sample)?</p> <h4 dir="auto">Motivation</h4> <h5 dir="auto">Motivation 1: Dynamic Forms</h5> <p dir="auto">The motivation behind are dynamic forms (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7759605" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/5807" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/5807/hovercard" href="https://github.com/symfony/symfony/issues/5807">#5807</a>). Dynamic forms rely on <code class="notranslate">setData()</code> being called in order to manipulate the form tree dynamically. This must be done before <code class="notranslate">get*Data()</code>, <code class="notranslate">submit()</code> or <code class="notranslate">createView()</code> are called, because these methods rely on the form tree being readily initialized.</p> <h5 dir="auto">Motivation 2: *_SET_DATA events and "inherit_data"</h5> <p dir="auto">Currently, forms with the "inherit_data" option set cannot have *_SET_DATA event listeners, because <code class="notranslate">setData()</code> is never called on these forms (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="15447789" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8253" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/8253/hovercard" href="https://github.com/symfony/symfony/issues/8253">#8253</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="17388843" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8607" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/8607/hovercard" href="https://github.com/symfony/symfony/issues/8607">#8607</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18043823" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8748" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/8748/hovercard" href="https://github.com/symfony/symfony/issues/8748">#8748</a>).</p> <h5 dir="auto">Motivation 3: Performance</h5> <p dir="auto">Depending on the number of nested forms and the number of event listeners, <code class="notranslate">setData()</code> can be a very expensive operation. The number of <code class="notranslate">setData()</code> calls were already reduced once in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/symfony/symfony/commit/d4f4038f6daf7cf88ca7c7ab089473cce5ebf7d8/hovercard" href="https://github.com/symfony/symfony/commit/d4f4038f6daf7cf88ca7c7ab089473cce5ebf7d8"><tt>d4f4038</tt></a> by introducing deferred data initialization. It is still possible to call <code class="notranslate">setData()</code> more than once though. Guaranteeing a single <code class="notranslate">setData()</code> call would also guarantee an optimal performance.</p> <h5 dir="auto">Motivation 4: Remove side effects</h5> <p dir="auto">The result of deferred data initialization is that <code class="notranslate">getData()</code>, <code class="notranslate">getNormData()</code>, <code class="notranslate">getViewData()</code> and <code class="notranslate">submit()</code> now have side effects. I would like to remove those.</p> <h5 dir="auto">Motivation 5: Inline data mapping code</h5> <p dir="auto">Currently, when writing a custom data mapper, most of the code from PropertyPathMapper has to be duplicated. In fact, the only implementation-dependent lines are</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$form-&gt;setData($this-&gt;propertyAccessor-&gt;getValue($data, $propertyPath));"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">propertyAccessor</span>-&gt;<span class="pl-en">getValue</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>, <span class="pl-s1"><span class="pl-c1">$</span>propertyPath</span>));</pre></div> <p dir="auto">and</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$this-&gt;propertyAccessor-&gt;setValue($data, $propertyPath, $form-&gt;getData());"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">propertyAccessor</span>-&gt;<span class="pl-en">setValue</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>, <span class="pl-s1"><span class="pl-c1">$</span>propertyPath</span>, <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">getData</span>());</pre></div> <p dir="auto">Even worse, the other code in the data mappers is responsible for maintaining the correct lifecycle of the form. I would like to inline this critical code into <code class="notranslate">Form</code> and provide a new, more minimal data mapper interface.</p> <h4 dir="auto">Proposed Lifecycle</h4> <p dir="auto">The proposed form lifecycle will consist of four phases, which partially overlap.</p> <p dir="auto"><em>Note in advance:</em> I'm talking about the existing low-level API here. Don't confuse it with the high-level API that you typically use in your controllers (types, options, etc.)</p> <h5 dir="auto">Phase 1: Configuration</h5> <p dir="auto">In this phase, form builders are created and configured.</p> <p dir="auto">The phase is complete when a form builder is turned into a form by calling <code class="notranslate">getForm()</code>. At this point, the default data and other configuration of the form are frozen.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$builder = $factory-&gt;createBuilder() -&gt;setData('default') -&gt;setDisabled(true) -&gt;setCompound(false) // ..."><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>builder</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createBuilder</span>() -&gt;<span class="pl-en">setData</span>(<span class="pl-s">'default'</span>) -&gt;<span class="pl-en">setDisabled</span>(<span class="pl-c1">true</span>) -&gt;<span class="pl-en">setCompound</span>(<span class="pl-c1">false</span>) <span class="pl-c">// ...</span></pre></div> <h5 dir="auto">Phase 2: Assembling</h5> <p dir="auto">In this phase, the form tree is assembled by connecting the <code class="notranslate">Form</code> instances. Typically, this is done during <code class="notranslate">FormBuilder::getForm()</code>, but in dynamic forms you often need to call <code class="notranslate">Form::add()</code> and <code class="notranslate">Form::remove()</code> manually.</p> <p dir="auto">This phase is never really complete. The form tree can be changed in the later phases to allow a dynamic modification of the form tree.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Configuration $builder = $factory-&gt;createBuilder() -&gt;add('name', 'text') -&gt;add('email', 'email'); // Assembling // Form instances are created, Form::add() is called $form = $builder-&gt;getForm(); // Manual modifications $form-&gt;add('submit', 'submit'); $form-&gt;remove('email');"><pre class="notranslate"><span class="pl-c">// Configuration</span> <span class="pl-s1"><span class="pl-c1">$</span>builder</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createBuilder</span>() -&gt;<span class="pl-en">add</span>(<span class="pl-s">'name'</span>, <span class="pl-s">'text'</span>) -&gt;<span class="pl-en">add</span>(<span class="pl-s">'email'</span>, <span class="pl-s">'email'</span>); <span class="pl-c">// Assembling</span> <span class="pl-c">// Form instances are created, Form::add() is called</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>builder</span>-&gt;<span class="pl-en">getForm</span>(); <span class="pl-c">// Manual modifications</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">add</span>(<span class="pl-s">'submit'</span>, <span class="pl-s">'submit'</span>); <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">remove</span>(<span class="pl-s">'email'</span>);</pre></div> <h5 dir="auto">Phase 3: Initialization</h5> <p dir="auto">During initialization, the form tree is populated with default values. Initialization starts when <code class="notranslate">Form::initialize($defaultData = null)</code> is called on the root form. The call will cascade through the form tree.</p> <p dir="auto">After the call is complete, <code class="notranslate">initialize()</code> is guaranteed to have been called on every element in the form tree. If elements are added later on, <code class="notranslate">initialize()</code> will be called on them during <code class="notranslate">Form::add()</code>.</p> <p dir="auto"><code class="notranslate">initialize()</code> is very similar to the current <code class="notranslate">setData()</code>, i.e. the form's data is set and <code class="notranslate">*_SET_DATA</code> events are fired. Consequently, after the initialization of a form tree, all <code class="notranslate">*_SET_DATA</code> events are fired and their effects visible.</p> <p dir="auto">There are three major differences between <code class="notranslate">initialize()</code> and the current <code class="notranslate">setData()</code>:</p> <p dir="auto">First, <code class="notranslate">initialize()</code> must <strong>only be called once</strong>. Since <code class="notranslate">initialize()</code> cascades through the form tree, this implies that <code class="notranslate">initialize()</code> must only be called on the root form.</p> <p dir="auto">Second, the data argument in can be omitted. This happens mostly for the root form and when "mapped" is set to <code class="notranslate">false</code>. In this case, the default data will be retrieved from the form's configuration, which has been created in Phase 1.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$form = $factory-&gt;createBuilder('form', null, array('auto_initialize' =&gt; false)) -&gt;add('name', 'text') -&gt;add('email', 'email') // passing the data as second argument to // FormFactory::createBuilder() or through the option // &quot;data&quot; is equivalent to the below statement -&gt;setData(array('name' =&gt; 'foo', 'email' =&gt; 'bar')) -&gt;getForm(); $form-&gt;initialize(); // sets the default data stored above // implies $form-&gt;get('name')-&gt;initialize('foo') // implies $form-&gt;get('email')-&gt;initialize('bar')"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createBuilder</span>(<span class="pl-s">'form'</span>, <span class="pl-c1">null</span>, <span class="pl-en">array</span>(<span class="pl-s">'auto_initialize'</span> =&gt; <span class="pl-c1">false</span>)) -&gt;<span class="pl-en">add</span>(<span class="pl-s">'name'</span>, <span class="pl-s">'text'</span>) -&gt;<span class="pl-en">add</span>(<span class="pl-s">'email'</span>, <span class="pl-s">'email'</span>) <span class="pl-c">// passing the data as second argument to</span> <span class="pl-c">// FormFactory::createBuilder() or through the option</span> <span class="pl-c">// "data" is equivalent to the below statement</span> -&gt;<span class="pl-en">setData</span>(<span class="pl-en">array</span>(<span class="pl-s">'name'</span> =&gt; <span class="pl-s">'foo'</span>, <span class="pl-s">'email'</span> =&gt; <span class="pl-s">'bar'</span>)) -&gt;<span class="pl-en">getForm</span>(); <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">initialize</span>(); <span class="pl-c">// sets the default data stored above</span> <span class="pl-c">// implies $form-&gt;get('name')-&gt;initialize('foo')</span> <span class="pl-c">// implies $form-&gt;get('email')-&gt;initialize('bar')</span></pre></div> <p dir="auto">If the "auto_initialize" option is not set to <code class="notranslate">false</code>, as in this example, <code class="notranslate">initialize()</code> will be called automatically (this is already happening right now for your Symfony 2.3 forms).</p> <p dir="auto">Third and last, contrary to the current <code class="notranslate">setData()</code>, initialized forms cannot be added as children of other forms anymore.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$form = $factory-&gt;createForm('text', null, array('auto_initialize' =&gt; false)); $form-&gt;initialize('foo'); $otherForm-&gt;add($form); // boom $form = $factory-&gt;createForm('text'); $otherForm-&gt;add($form); // boom, auto initialized"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createForm</span>(<span class="pl-s">'text'</span>, <span class="pl-c1">null</span>, <span class="pl-en">array</span>(<span class="pl-s">'auto_initialize'</span> =&gt; <span class="pl-c1">false</span>)); <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">initialize</span>(<span class="pl-s">'foo'</span>); <span class="pl-s1"><span class="pl-c1">$</span>otherForm</span>-&gt;<span class="pl-en">add</span>(<span class="pl-s1"><span class="pl-c1">$</span>form</span>); <span class="pl-c">// boom</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createForm</span>(<span class="pl-s">'text'</span>); <span class="pl-s1"><span class="pl-c1">$</span>otherForm</span>-&gt;<span class="pl-en">add</span>(<span class="pl-s1"><span class="pl-c1">$</span>form</span>); <span class="pl-c">// boom, auto initialized</span></pre></div> <h5 dir="auto">Phase 4: Submission</h5> <p dir="auto">After a form tree is readily initialized and all <code class="notranslate">*_SET_DATA</code> events triggered, the form can be submitted. Forms must not be submitted before initialization is complete.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Phase 1 and 2 inside the form type // Phase 3 due to automatic initialization $form = $this-&gt;createForm('my_type'); // Phase 4 $form-&gt;handleRequest($request); if ($form-&gt;isSubmitted() &amp;&amp; $form-&gt;isValid()) { // ... }"><pre class="notranslate"><span class="pl-c">// Phase 1 and 2 inside the form type</span> <span class="pl-c">// Phase 3 due to automatic initialization</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">createForm</span>(<span class="pl-s">'my_type'</span>); <span class="pl-c">// Phase 4</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">handleRequest</span>(<span class="pl-s1"><span class="pl-c1">$</span>request</span>); <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">isSubmitted</span>() &amp;&amp; <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">isValid</span>()) { <span class="pl-c">// ...</span> }</pre></div> <p dir="auto">The only difference will be that there will most likely be an "auto_submit" option with a default of <code class="notranslate">true</code>, sparing you of calling <code class="notranslate">handleRequest()</code> manually.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Phase 1 and 2 inside the form type // Phase 3 due to automatic initialization // Phase 4 due to automatic submission $form = $this-&gt;createForm('my_type'); if ($form-&gt;isSubmitted() &amp;&amp; $form-&gt;isValid()) { // ... }"><pre class="notranslate"><span class="pl-c">// Phase 1 and 2 inside the form type</span> <span class="pl-c">// Phase 3 due to automatic initialization</span> <span class="pl-c">// Phase 4 due to automatic submission</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">createForm</span>(<span class="pl-s">'my_type'</span>); <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">isSubmitted</span>() &amp;&amp; <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">isValid</span>()) { <span class="pl-c">// ...</span> }</pre></div> <h4 dir="auto">Implementation</h4> <p dir="auto">A few details on what changes are necessary to make the above happen.</p> <h5 dir="auto">Introduce new DataMapperInterface</h5> <p dir="auto">A new data mapper interface will be introduced. Due to BC, it will have a very uninspring name:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface DataMapper2Interface { /** * Returns true if the data is considered empty. The * preconfigured default value will be used in this case. * * @param mixed $data * * @return Boolean */ public function isEmpty($data); /** * Returns whether the data can be read. For example, * an ArrayAccessMapper will return true if and only if * $data is an array. * * @param mixed $data * * @return Boolean */ public function isReadable($data); /** * Returns a textual representation of the types that * this mapper can read, which will be included in the * error message generated if isReadable() returns false. * * @return string */ public function getReadableTypes(); /** * Returns the mapped value from $data by accessing $path. * $path can be anything, depending on the implementation * (e.g. property path, XPath, array index etc.) * * @param mixed $data * @param mixed $path * * @return mixed The value read from $data */ public function readValue($data, $path); /** * Writes a value into $data. * * @param mixed $data * @param mixed $path * @param mixed $value */ public function writeValue($data, $path, $value) }"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-v">DataMapper2Interface</span> { <span class="pl-c">/**</span> <span class="pl-c"> * Returns true if the data is considered empty. The</span> <span class="pl-c"> * preconfigured default value will be used in this case.</span> <span class="pl-c"> *</span> <span class="pl-c"> * @param mixed $data</span> <span class="pl-c"> *</span> <span class="pl-c"> * @return Boolean</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">isEmpty</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>); <span class="pl-c">/**</span> <span class="pl-c"> * Returns whether the data can be read. For example,</span> <span class="pl-c"> * an ArrayAccessMapper will return true if and only if</span> <span class="pl-c"> * $data is an array.</span> <span class="pl-c"> *</span> <span class="pl-c"> * @param mixed $data</span> <span class="pl-c"> *</span> <span class="pl-c"> * @return Boolean</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">isReadable</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>); <span class="pl-c">/**</span> <span class="pl-c"> * Returns a textual representation of the types that</span> <span class="pl-c"> * this mapper can read, which will be included in the</span> <span class="pl-c"> * error message generated if isReadable() returns false.</span> <span class="pl-c"> *</span> <span class="pl-c"> * @return string</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">getReadableTypes</span>(); <span class="pl-c">/**</span> <span class="pl-c"> * Returns the mapped value from $data by accessing $path.</span> <span class="pl-c"> * $path can be anything, depending on the implementation</span> <span class="pl-c"> * (e.g. property path, XPath, array index etc.)</span> <span class="pl-c"> *</span> <span class="pl-c"> * @param mixed $data</span> <span class="pl-c"> * @param mixed $path</span> <span class="pl-c"> *</span> <span class="pl-c"> * @return mixed The value read from $data</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">readValue</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>, <span class="pl-s1"><span class="pl-c1">$</span>path</span>); <span class="pl-c">/**</span> <span class="pl-c"> * Writes a value into $data.</span> <span class="pl-c"> *</span> <span class="pl-c"> * @param mixed $data</span> <span class="pl-c"> * @param mixed $path</span> <span class="pl-c"> * @param mixed $value</span> <span class="pl-c"> */</span> <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">writeValue</span>(<span class="pl-s1"><span class="pl-c1">$</span>data</span>, <span class="pl-s1"><span class="pl-c1">$</span>path</span>, <span class="pl-s1"><span class="pl-c1">$</span>value</span>) }</pre></div> <p dir="auto">This mapper can be used <em>alternatively</em> to an implementation of the current <code class="notranslate">DataMapperInterface</code>. The other code contained in current <code class="notranslate">DataMapperInterface</code> implementation will be executed by <code class="notranslate">Form</code> directly (see Motivation 5).</p> <h5 dir="auto">Call initialize() on forms with "inherit_data" true</h5> <p dir="auto">Once the data mapping code is inlined into <code class="notranslate">Form</code>, <code class="notranslate">initialize()</code> can also be called on forms with the "inherit_data" option set (see Motivation 2). This is currently impossible, because the current data mappers only have access to the parent's view data, but need to pass the parent's model data instead.</p> <h5 dir="auto">Remove side effects</h5> <p dir="auto">The side effects from <code class="notranslate">getData()</code>, <code class="notranslate">getNormData()</code>,<br> <code class="notranslate">getViewData()</code> and <code class="notranslate">submit()</code> should be removed. Instead, exceptions should be thrown.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// old if (!$this-&gt;defaultDataSet) { $this-&gt;setData($this-&gt;getConfig()-&gt;getData()); } // new if (!$this-&gt;defaultDataSet) { throw new RuntimeException('getData() must be called after initializing the form. Make sure &quot;auto_initialize&quot; is not disabled on the root form.'); }"><pre class="notranslate"><span class="pl-c">// old</span> <span class="pl-k">if</span> (!<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">defaultDataSet</span>) { <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">getConfig</span>()-&gt;<span class="pl-en">getData</span>()); } <span class="pl-c">// new</span> <span class="pl-k">if</span> (!<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">defaultDataSet</span>) { <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-v">RuntimeException</span>(<span class="pl-s">'getData() must be called after initializing the form. Make sure "auto_initialize" is not disabled on the root form.'</span>); }</pre></div> <p dir="auto">This is possible, because <code class="notranslate">initialize()</code>, which is guaranteed to be called, also guarantees to fill the form with the appropriate default data.</p> <h5 dir="auto">Deprecate setData()</h5> <p dir="auto">As last step, <code class="notranslate">setData()</code> will be deprecated. Consequently, you should only set default data during the configuration phase by one of the already existing means:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// passed to the factory $form = $factory-&gt;create('form', $default); // set on the builder $form = $factory-&gt;createBuilder('form') -&gt;setData($default) -&gt;getForm(); // passed as option $form = $factory-&gt;create('form', null, array('data' =&gt; $default)); $form-&gt;add('field', 'text', array('data' =&gt; $default)); // deprecated $form-&gt;setData($default);"><pre class="notranslate"><span class="pl-c">// passed to the factory</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">create</span>(<span class="pl-s">'form'</span>, <span class="pl-s1"><span class="pl-c1">$</span>default</span>); <span class="pl-c">// set on the builder</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">createBuilder</span>(<span class="pl-s">'form'</span>) -&gt;<span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span>default</span>) -&gt;<span class="pl-en">getForm</span>(); <span class="pl-c">// passed as option</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span>factory</span>-&gt;<span class="pl-en">create</span>(<span class="pl-s">'form'</span>, <span class="pl-c1">null</span>, <span class="pl-en">array</span>(<span class="pl-s">'data'</span> =&gt; <span class="pl-s1"><span class="pl-c1">$</span>default</span>)); <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">add</span>(<span class="pl-s">'field'</span>, <span class="pl-s">'text'</span>, <span class="pl-en">array</span>(<span class="pl-s">'data'</span> =&gt; <span class="pl-s1"><span class="pl-c1">$</span>default</span>)); <span class="pl-c">// deprecated</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-&gt;<span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span>default</span>);</pre></div> <p dir="auto">If you made it up to here, you have my full respect :) Please don' forget to answer my question above.</p>
1
<p dir="auto">On macOS, typing option-shift-9 in the REPL (this types the interpunct character <code class="notranslate">·</code>, see also <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="282837784" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/25157" data-hovercard-type="pull_request" data-hovercard-url="/JuliaLang/julia/pull/25157/hovercard" href="https://github.com/JuliaLang/julia/pull/25157">#25157</a>) gives an error:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; ERROR: MethodError: no method matching position(::Base.Terminals.TTYTerminal) Closest candidates are: position(::Base.Filesystem.File) at filesystem.jl:222 position(::Base.Libc.FILE) at libc.jl:94 position(::IOStream) at iostream.jl:188 ... Stacktrace: [1] mark(::Base.Terminals.TTYTerminal) at ./io.jl:861 [2] peek at ./iostream.jl:462 [inlined] [3] read(::Base.Terminals.TTYTerminal, ::Type{Char}) at ./io.jl:608 [4] match_input(::Dict{Char,Any}, ::Base.LineEdit.MIState, ::Base.Terminals.TTYTerminal, ::Array{Char,1}, ::Dict{Char,Any}) at ./repl/LineEdit.jl:1288 [5] match_input at ./repl/LineEdit.jl:1287 [inlined] [6] prompt!(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface, ::Base.LineEdit.MIState) at ./repl/LineEdit.jl:2314 [7] run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface, ::Base.LineEdit.MIState) at ./repl/LineEdit.jl:2223 [8] run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./repl/REPL.jl:1024 [9] run_repl(::Base.REPL.LineEditREPL, ::getfield(Base, Symbol(&quot;##605#607&quot;))) at ./repl/REPL.jl:183 [10] _start() at ./client.jl:420"><pre class="notranslate">julia<span class="pl-k">&gt;</span> ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">position</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>) Closest candidates are<span class="pl-k">:</span> <span class="pl-c1">position</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Filesystem.File</span>) at filesystem<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">222</span> <span class="pl-c1">position</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Libc.FILE</span>) at libc<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">94</span> <span class="pl-c1">position</span>(<span class="pl-k">::</span><span class="pl-c1">IOStream</span>) at iostream<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">188</span> <span class="pl-k">...</span> Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">mark</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>) at <span class="pl-k">./</span>io<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">861</span> [<span class="pl-c1">2</span>] peek at <span class="pl-k">./</span>iostream<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">462</span> [inlined] [<span class="pl-c1">3</span>] <span class="pl-c1">read</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Type{Char}</span>) at <span class="pl-k">./</span>io<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">608</span> [<span class="pl-c1">4</span>] <span class="pl-c1">match_input</span>(<span class="pl-k">::</span><span class="pl-c1">Dict{Char,Any}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Char,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Dict{Char,Any}</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1288</span> [<span class="pl-c1">5</span>] match_input at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1287</span> [inlined] [<span class="pl-c1">6</span>] <span class="pl-c1">prompt!</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2314</span> [<span class="pl-c1">7</span>] <span class="pl-c1">run_interface</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2223</span> [<span class="pl-c1">8</span>] <span class="pl-c1">run_frontend</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLBackendRef</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1024</span> [<span class="pl-c1">9</span>] <span class="pl-c1">run_repl</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##605#607<span class="pl-pds">"</span></span>))) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">183</span> [<span class="pl-c1">10</span>] <span class="pl-c1">_start</span>() at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">420</span></pre></div> <p dir="auto">It worked fine in 0.6.</p>
<p dir="auto">I found by accident this issue, in master Julia. Whenever I try to type "·" (U+00b7) in the REPL, Julia crashes. This doesn't happen in v0.6.2. On the other hand, I can type <code class="notranslate">\cdotp [TAB]</code> to avoid the issue.</p> <p dir="auto">Note that the middot is typed as SHIFT+3 in the spanish keyboard layout, and I don't have direct access to the other middot (U+22c5) apart from typing <code class="notranslate">\cdot [TAB]</code>. I would prefer to make them equivalent for the whole Julia, since it is easy to type in my case.</p> <p dir="auto">Here it is the version information</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Julia Version 0.7.0-DEV.2959 Commit df2616e (2017-12-14 14:05 UTC) Platform Info: OS: Linux (x86_64-redhat-linux) CPU: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT NO_AFFINITY HASWELL) LAPACK: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.9.1 (ORCJIT, skylake) Environment:"><pre class="notranslate">Julia Version <span class="pl-c1">0.7</span>.<span class="pl-c1">0</span><span class="pl-k">-</span>DEV.<span class="pl-c1">2959</span> Commit df2616e (<span class="pl-c1">2017</span><span class="pl-k">-</span><span class="pl-c1">12</span><span class="pl-k">-</span><span class="pl-c1">14</span> <span class="pl-c1">14</span><span class="pl-k">:</span><span class="pl-c1">05</span> UTC) Platform Info<span class="pl-k">:</span> OS<span class="pl-k">:</span> Linux (x86_64<span class="pl-k">-</span>redhat<span class="pl-k">-</span>linux) CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7<span class="pl-k">-</span><span class="pl-c1">7500</span>U CPU @ <span class="pl-c1">2.70</span>GHz WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span> BLAS<span class="pl-k">:</span> libopenblas (USE64BITINT NO_AFFINITY HASWELL) LAPACK<span class="pl-k">:</span> libopenblas64_ LIBM<span class="pl-k">:</span> libopenlibm LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">3.9</span>.<span class="pl-c1">1</span> (ORCJIT, skylake) Environment<span class="pl-k">:</span></pre></div> <p dir="auto">the error message</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ERROR: MethodError: no method matching position(::Base.Terminals.TTYTerminal)"><pre class="notranslate">ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching <span class="pl-c1">position</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>)</pre></div> <p dir="auto">and the stacktrace</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Stacktrace: [1] ·mark(::Base.Terminals.TTYTerminal) at ./io.jl:847 [2] peek at ./iostream.jl:462 [inlined] [3] read(::Base.Terminals.TTYTerminal, ::Type{Char}) at ./io.jl:594 [4] match_input(::Dict{Char,Any}, ::Base.LineEdit.MIState, ::Base.Terminals.TTYTerminal, ::Array{Char,1}, ::Dict{Char,Any}) at ./repl/LineEdit.jl:1288 [5] match_input at ./repl/LineEdit.jl:1287 [inlined] [6] prompt!(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface, ::Base.LineEdit.MIState) at ./repl/LineEdit.jl:2314 [7] run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface, ::Base.LineEdit.MIState) at ./repl/LineEdit.jl:2223 [8] run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./repl/REPL.jl:1025 [9] run_repl(::Base.REPL.LineEditREPL, ::getfield(Base, Symbol(&quot;##602#603&quot;))) at ./repl/REPL.jl:183 [10] _start() at ./client.jl:426"><pre class="notranslate">Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] ·<span class="pl-c1">mark</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>) at <span class="pl-k">./</span>io<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">847</span> [<span class="pl-c1">2</span>] peek at <span class="pl-k">./</span>iostream<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">462</span> [inlined] [<span class="pl-c1">3</span>] <span class="pl-c1">read</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Type{Char}</span>) at <span class="pl-k">./</span>io<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">594</span> [<span class="pl-c1">4</span>] <span class="pl-c1">match_input</span>(<span class="pl-k">::</span><span class="pl-c1">Dict{Char,Any}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Char,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Dict{Char,Any}</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1288</span> [<span class="pl-c1">5</span>] match_input at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1287</span> [inlined] [<span class="pl-c1">6</span>] <span class="pl-c1">prompt!</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2314</span> [<span class="pl-c1">7</span>] <span class="pl-c1">run_interface</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2223</span> [<span class="pl-c1">8</span>] <span class="pl-c1">run_frontend</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLBackendRef</span>) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1025</span> [<span class="pl-c1">9</span>] <span class="pl-c1">run_repl</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##602#603<span class="pl-pds">"</span></span>))) at <span class="pl-k">./</span>repl<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">183</span> [<span class="pl-c1">10</span>] <span class="pl-c1">_start</span>() at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">426</span></pre></div> <p dir="auto">Thanks!</p> <p dir="auto">Interpunct, interpoint, middle dot, middot, centered dot, centred dot</p>
1
<p dir="auto">I am trying to make nextjs works together with firebase cloud functions.</p> <p dir="auto">When i am testing locally, there is no problem my app works perfectly.</p> <p dir="auto">However when i am deploying there is an error related to this line</p> <p dir="auto"><code class="notranslate">const app = next({ dev : false })</code></p> <p dir="auto">When i put this line, my functions cannot be deployed and i get this message</p> <p dir="auto"><code class="notranslate">Deploy Error: Function load error: Error: cannot communicate with function.</code></p> <p dir="auto">I don't understand because i don't have this issue in local testing.</p> <p dir="auto">Then when i comment this line. It's okay i can deploy my functions. However there is no possibility to use next.js . So this is the problem.</p> <p dir="auto">I have this error even without using any nextjs stuff in my functions. Just the fact to declare the line</p> <p dir="auto"><code class="notranslate">const app = next({ dev : false })</code> prevent my app to deploy</p> <p dir="auto">any suggestions ?</p>
<p dir="auto">Firebase recently introduced the feature for server side rendering using cloud functions. ANy guide of how to implement next with it Next +redux progressive web app?</p>
1
<p dir="auto">I got an issue with controller-manager starting from v1.2.0-beta.1 and it still persists in v1.2.0 release.</p> <p dir="auto">It keeps restarting pods kube-apiserver, kube-controller-manager, kube-proxy and kube-scheduler every 30s :</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME READY STATUS RESTARTS AGE ... kube-apiserver-ip-10-242-128-234.ec2.internal 1/1 Running 0 12s kube-controller-manager-ip-10-242-128-234.ec2.internal 1/1 Running 0 16s kube-proxy-ip-10-242-128-234.ec2.internal 1/1 Running 0 16s kube-scheduler-ip-10-242-128-234.ec2.internal 1/1 Running 0 15s"><pre class="notranslate"><code class="notranslate">NAME READY STATUS RESTARTS AGE ... kube-apiserver-ip-10-242-128-234.ec2.internal 1/1 Running 0 12s kube-controller-manager-ip-10-242-128-234.ec2.internal 1/1 Running 0 16s kube-proxy-ip-10-242-128-234.ec2.internal 1/1 Running 0 16s kube-scheduler-ip-10-242-128-234.ec2.internal 1/1 Running 0 15s </code></pre></div> <p dir="auto">Age for the listed pods don't go above 30s.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME READY STATUS RESTARTS AGE .... kube-apiserver-ip-10-242-128-234.ec2.internal 0/1 Pending 0 1s kube-controller-manager-ip-10-242-128-234.ec2.internal 1/1 Running 0 1s kube-scheduler-ip-10-242-128-234.ec2.internal 0/1 Pending 0 1s"><pre class="notranslate"><code class="notranslate">NAME READY STATUS RESTARTS AGE .... kube-apiserver-ip-10-242-128-234.ec2.internal 0/1 Pending 0 1s kube-controller-manager-ip-10-242-128-234.ec2.internal 1/1 Running 0 1s kube-scheduler-ip-10-242-128-234.ec2.internal 0/1 Pending 0 1s </code></pre></div> <p dir="auto">If i switch controller-manager to v1.2.0-beta.0 issue dissapear.</p> <p dir="auto">The strange thing is that docker containers are keep running</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES .... c44ff71caf21 gcr.io/google_containers/hyperkube:v1.2.0 &quot;/hyperkube scheduler&quot; 33 minutes ago Up 33 minutes k8s_kube-scheduler.7b10907e_kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system_1adf66daf2f3ee9cce476b5b97a8b58c_ed62caa9 d8ef6ef809ca gcr.io/google_containers/hyperkube:v1.2.0 &quot;/hyperkube proxy --m&quot; 33 minutes ago Up 33 minutes k8s_kube-proxy.c9b75a4a_kube-proxy-ip-10-242-128-234.ec2.internal_kube-system_e8c6af5a5c65fbcf53b11238b4a403bd_3ee808aa 068a6ab6793a gcr.io/google_containers/hyperkube:v1.2.0 &quot;/hyperkube controlle&quot; 33 minutes ago Up 33 minutes k8s_kube-controller-manager.2e450a4c_kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system_556a90cee78cfb39fd2f1f8d57edb479_8db26042 76e4cda29efb gcr.io/google_containers/hyperkube:v1.2.0 &quot;/hyperkube apiserver&quot; 33 minutes ago Up 33 minutes k8s_kube-apiserver.f4b25f9b_kube-apiserver-ip-10-242-128-234.ec2.internal_kube-system_f3d81ba2e960c16f6848dc5c09eb4eee_471bfae7 11eb022a4939 gcr.io/google_containers/pause:2.0 &quot;/pause&quot; 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system_1adf66daf2f3ee9cce476b5b97a8b58c_a51591f2 a1d9d564218c gcr.io/google_containers/pause:2.0 &quot;/pause&quot; 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-proxy-ip-10-242-128-234.ec2.internal_kube-system_e8c6af5a5c65fbcf53b11238b4a403bd_6accda61 1a1a278f12d5 gcr.io/google_containers/pause:2.0 &quot;/pause&quot; 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system_556a90cee78cfb39fd2f1f8d57edb479_209f305d 48e6e4e4d4bc gcr.io/google_containers/pause:2.0 &quot;/pause&quot; 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-apiserver-ip-10-242-128-234.ec2.internal_kube-system_f3d81ba2e960c16f6848dc5c09eb4eee_3b289a47"><pre class="notranslate"><code class="notranslate">CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES .... c44ff71caf21 gcr.io/google_containers/hyperkube:v1.2.0 "/hyperkube scheduler" 33 minutes ago Up 33 minutes k8s_kube-scheduler.7b10907e_kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system_1adf66daf2f3ee9cce476b5b97a8b58c_ed62caa9 d8ef6ef809ca gcr.io/google_containers/hyperkube:v1.2.0 "/hyperkube proxy --m" 33 minutes ago Up 33 minutes k8s_kube-proxy.c9b75a4a_kube-proxy-ip-10-242-128-234.ec2.internal_kube-system_e8c6af5a5c65fbcf53b11238b4a403bd_3ee808aa 068a6ab6793a gcr.io/google_containers/hyperkube:v1.2.0 "/hyperkube controlle" 33 minutes ago Up 33 minutes k8s_kube-controller-manager.2e450a4c_kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system_556a90cee78cfb39fd2f1f8d57edb479_8db26042 76e4cda29efb gcr.io/google_containers/hyperkube:v1.2.0 "/hyperkube apiserver" 33 minutes ago Up 33 minutes k8s_kube-apiserver.f4b25f9b_kube-apiserver-ip-10-242-128-234.ec2.internal_kube-system_f3d81ba2e960c16f6848dc5c09eb4eee_471bfae7 11eb022a4939 gcr.io/google_containers/pause:2.0 "/pause" 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system_1adf66daf2f3ee9cce476b5b97a8b58c_a51591f2 a1d9d564218c gcr.io/google_containers/pause:2.0 "/pause" 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-proxy-ip-10-242-128-234.ec2.internal_kube-system_e8c6af5a5c65fbcf53b11238b4a403bd_6accda61 1a1a278f12d5 gcr.io/google_containers/pause:2.0 "/pause" 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system_556a90cee78cfb39fd2f1f8d57edb479_209f305d 48e6e4e4d4bc gcr.io/google_containers/pause:2.0 "/pause" 33 minutes ago Up 33 minutes k8s_POD.6059dfa2_kube-apiserver-ip-10-242-128-234.ec2.internal_kube-system_f3d81ba2e960c16f6848dc5c09eb4eee_3b289a47 </code></pre></div> <p dir="auto">Error log from controller-manager:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I0322 15:57:36.787253 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:36.787288 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:57:36.817601 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:36.817644 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:57:36.819261 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found E0322 15:57:36.828904 1 nodecontroller.go:352] pods &quot;kube-scheduler-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:57:37.659569 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:37.659586 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:57:38.645497 1 nodecontroller.go:352] pods &quot;kube-scheduler-ip-10-242-128-234.ec2.internal&quot; not found E0322 15:57:38.678738 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:57:39.601407 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:39.601439 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:57:40.619997 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:40.620013 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:06.283648 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.295400 1 nodecontroller.go:352] pods &quot;kube-scheduler-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:06.372126 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.404804 1 nodecontroller.go:352] pods &quot;kube-proxy-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:06.442257 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.458821 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:06.527879 1 nodecontroller.go:400] forceful deletion of kube-apiserver-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.528300 1 nodecontroller.go:352] pods &quot;kube-apiserver-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:06.694718 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.694758 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:06.777777 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.777819 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:58:06.788130 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:36.558947 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.573911 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:36.614092 1 nodecontroller.go:400] forceful deletion of kube-apiserver-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.615441 1 nodecontroller.go:352] pods &quot;kube-apiserver-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:36.653430 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded I0322 15:58:36.665033 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.665048 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:36.736231 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.744630 1 nodecontroller.go:352] pods &quot;kube-proxy-ip-10-242-128-234.ec2.internal&quot; not found I0322 15:58:36.786456 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.786470 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:58:37.743522 1 nodecontroller.go:352] pods &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal&quot; not found"><pre class="notranslate"><code class="notranslate">I0322 15:57:36.787253 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:36.787288 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:57:36.817601 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:36.817644 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:57:36.819261 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found E0322 15:57:36.828904 1 nodecontroller.go:352] pods "kube-scheduler-ip-10-242-128-234.ec2.internal" not found I0322 15:57:37.659569 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:37.659586 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:57:38.645497 1 nodecontroller.go:352] pods "kube-scheduler-ip-10-242-128-234.ec2.internal" not found E0322 15:57:38.678738 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found I0322 15:57:39.601407 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:39.601439 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:57:40.619997 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:57:40.620013 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:06.283648 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.295400 1 nodecontroller.go:352] pods "kube-scheduler-ip-10-242-128-234.ec2.internal" not found I0322 15:58:06.372126 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.404804 1 nodecontroller.go:352] pods "kube-proxy-ip-10-242-128-234.ec2.internal" not found I0322 15:58:06.442257 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.458821 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found I0322 15:58:06.527879 1 nodecontroller.go:400] forceful deletion of kube-apiserver-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.528300 1 nodecontroller.go:352] pods "kube-apiserver-ip-10-242-128-234.ec2.internal" not found I0322 15:58:06.694718 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.694758 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:06.777777 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:06.777819 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:58:06.788130 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found I0322 15:58:36.558947 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.573911 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found I0322 15:58:36.614092 1 nodecontroller.go:400] forceful deletion of kube-apiserver-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.615441 1 nodecontroller.go:352] pods "kube-apiserver-ip-10-242-128-234.ec2.internal" not found I0322 15:58:36.653430 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded I0322 15:58:36.665033 1 nodecontroller.go:400] forceful deletion of kube-scheduler-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.665048 1 nodecontroller.go:352] &lt;nil&gt; I0322 15:58:36.736231 1 nodecontroller.go:400] forceful deletion of kube-proxy-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.744630 1 nodecontroller.go:352] pods "kube-proxy-ip-10-242-128-234.ec2.internal" not found I0322 15:58:36.786456 1 nodecontroller.go:400] forceful deletion of kube-controller-manager-ip-10-242-128-234.ec2.internal succeeded E0322 15:58:36.786470 1 nodecontroller.go:352] &lt;nil&gt; E0322 15:58:37.743522 1 nodecontroller.go:352] pods "kube-controller-manager-ip-10-242-128-234.ec2.internal" not found </code></pre></div> <p dir="auto">Error log from kubelet:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Mar 22 16:01:38 master kubelet[1493]: E0322 16:01:38.917605 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(4a513408-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.195729 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-proxy-ip-10-242-128-234.ec2.internal_kube-system(4a5d3ea1-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.196138 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(4a39ac2f-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.196300 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(4a513408-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197232 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5c68bb91-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197419 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(5c78f49f-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197556 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-proxy-ip-10-242-128-234.ec2.internal_kube-system(5c4a0855-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:40 master kubelet[1493]: W0322 16:01:40.395965 1493 request.go:627] Throttling request took 110.236442ms, request: POST:http://127.0.0.1:8080/api/v1/namespaces/kube-system/pods Mar 22 16:01:41 master kubelet[1493]: E0322 16:01:41.199445 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5ca9cde4-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:42 master kubelet[1493]: E0322 16:01:42.201111 1493 kubelet.go:1753] Deleting mirror pod &quot;kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5d393e7a-f047-11e5-a5d4-0af71f25e715)&quot; because it is outdated Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.619715 1493 kubelet.go:2741] Error updating node status, will retry: error getting node &quot;ip-10-242-128-234.ec2.internal&quot;: nodes &quot;ip-10-242-128-234.ec2.internal&quot; not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.655629 1493 kubelet.go:2741] Error updating node status, will retry: error getting node &quot;ip-10-242-128-234.ec2.internal&quot;: nodes &quot;ip-10-242-128-234.ec2.internal&quot; not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.656954 1493 kubelet.go:2741] Error updating node status, will retry: error getting node &quot;ip-10-242-128-234.ec2.internal&quot;: nodes &quot;ip-10-242-128-234.ec2.internal&quot; not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.658257 1493 kubelet.go:2741] Error updating node status, will retry: error getting node &quot;ip-10-242-128-234.ec2.internal&quot;: nodes &quot;ip-10-242-128-234.ec2.internal&quot; not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.659539 1493 kubelet.go:2741] Error updating node status, will retry: error getting node &quot;ip-10-242-128-234.ec2.internal&quot;: nodes &quot;ip-10-242-128-234.ec2.internal&quot; not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.659553 1493 kubelet.go:1183] Unable to update node status: update node status exceeds retry count"><pre class="notranslate"><code class="notranslate">Mar 22 16:01:38 master kubelet[1493]: E0322 16:01:38.917605 1493 kubelet.go:1753] Deleting mirror pod "kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(4a513408-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.195729 1493 kubelet.go:1753] Deleting mirror pod "kube-proxy-ip-10-242-128-234.ec2.internal_kube-system(4a5d3ea1-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.196138 1493 kubelet.go:1753] Deleting mirror pod "kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(4a39ac2f-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:39 master kubelet[1493]: E0322 16:01:39.196300 1493 kubelet.go:1753] Deleting mirror pod "kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(4a513408-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197232 1493 kubelet.go:1753] Deleting mirror pod "kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5c68bb91-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197419 1493 kubelet.go:1753] Deleting mirror pod "kube-controller-manager-ip-10-242-128-234.ec2.internal_kube-system(5c78f49f-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:40 master kubelet[1493]: E0322 16:01:40.197556 1493 kubelet.go:1753] Deleting mirror pod "kube-proxy-ip-10-242-128-234.ec2.internal_kube-system(5c4a0855-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:40 master kubelet[1493]: W0322 16:01:40.395965 1493 request.go:627] Throttling request took 110.236442ms, request: POST:http://127.0.0.1:8080/api/v1/namespaces/kube-system/pods Mar 22 16:01:41 master kubelet[1493]: E0322 16:01:41.199445 1493 kubelet.go:1753] Deleting mirror pod "kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5ca9cde4-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:42 master kubelet[1493]: E0322 16:01:42.201111 1493 kubelet.go:1753] Deleting mirror pod "kube-scheduler-ip-10-242-128-234.ec2.internal_kube-system(5d393e7a-f047-11e5-a5d4-0af71f25e715)" because it is outdated Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.619715 1493 kubelet.go:2741] Error updating node status, will retry: error getting node "ip-10-242-128-234.ec2.internal": nodes "ip-10-242-128-234.ec2.internal" not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.655629 1493 kubelet.go:2741] Error updating node status, will retry: error getting node "ip-10-242-128-234.ec2.internal": nodes "ip-10-242-128-234.ec2.internal" not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.656954 1493 kubelet.go:2741] Error updating node status, will retry: error getting node "ip-10-242-128-234.ec2.internal": nodes "ip-10-242-128-234.ec2.internal" not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.658257 1493 kubelet.go:2741] Error updating node status, will retry: error getting node "ip-10-242-128-234.ec2.internal": nodes "ip-10-242-128-234.ec2.internal" not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.659539 1493 kubelet.go:2741] Error updating node status, will retry: error getting node "ip-10-242-128-234.ec2.internal": nodes "ip-10-242-128-234.ec2.internal" not found Mar 22 16:01:44 master kubelet[1493]: E0322 16:01:44.659553 1493 kubelet.go:1183] Unable to update node status: update node status exceeds retry count </code></pre></div> <p dir="auto">My understanding is that kubelet thinks that these pods are duplicates and tries to remove them, but at the same time doesn't touch real docker containers.</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.): vsphere, ResourcePool, ComputeResource</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): Bug Report</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5+coreos.0", GitCommit:"f70c2e5b2944cb5d622621a706bdec3d8a5a9c5e", GitTreeState:"clean", BuildDate:"2016-10-31T19:16:47Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</p> <p dir="auto"><strong>Environment</strong>: CoreOS on vSphere</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: vSphere</li> <li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS 1185.3.0 (MoreOS)</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): Linux k8-m1 4.7.3-coreos-r2 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP Tue Nov 1 01:38:43 UTC 2016</li> </ul> <p dir="auto"><strong>What happened</strong>:<br> I configured the controller-manager to use vsphere as the cloud provider and supplied it with a provider cloud configuration. When the controller-manager pod started, it panicked with the following stack trace;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2016-11-06T00:34:22.670422172Z panic: reflect.Set: value of type mo.ResourcePool is not assignable to type mo.ComputeResource 2016-11-06T00:34:22.670477454Z 2016-11-06T00:34:22.670494551Z goroutine 68 [running]: 2016-11-06T00:34:22.670592707Z panic(0x38d5200, 0xc820d2b310) 2016-11-06T00:34:22.670754360Z /usr/local/go/src/runtime/panic.go:481 +0x3e6 2016-11-06T00:34:22.670990355Z reflect.Value.assignTo(0x4a676e0, 0xc8200a5600, 0x99, 0x4df7650, 0xb, 0x4a66e60, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.671019041Z /usr/local/go/src/reflect/value.go:2164 +0x3be 2016-11-06T00:34:22.671380809Z reflect.Value.Set(0x4a66e60, 0xc82049e780, 0x199, 0x4a676e0, 0xc8200a5600, 0x99) 2016-11-06T00:34:22.671462864Z /usr/local/go/src/reflect/value.go:1334 +0x95 2016-11-06T00:34:22.671715875Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/vim25/mo.LoadRetrievePropertiesResponse(0xc820d308e0, 0x46ecda0, 0xc82049e780, 0x0, 0x0) 2016-11-06T00:34:22.672055230Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go:128 +0xe21 2016-11-06T00:34:22.672431372Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property.(*Collector).Retrieve(0xc820b54418, 0x7f8a572ab340, 0xc8202d2540, 0xc820d3ca80, 0x1, 0x1, 0xc820cecfd0, 0x1, 0x1, 0x46ecda0, ...) 2016-11-06T00:34:22.672467148Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property/collector.go:167 +0x52f 2016-11-06T00:34:22.672606970Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property.(*Collector).RetrieveOne(0xc820b54418, 0x7f8a572ab340, 0xc8202d2540, 0xc820cec9c0, 0xc, 0xc820cec9e0, 0xa, 0xc820cecfd0, 0x1, 0x1, ...) 2016-11-06T00:34:22.672681600Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property/collector.go:173 +0x10e 2016-11-06T00:34:22.672871709Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/object.Common.Properties(0x0, 0x0, 0xc820b1e500, 0xc8202cedd0, 0xb, 0xc8202cee00, 0xb, 0x7f8a572ab340, 0xc8202d2540, 0xc820cec9c0, ...) 2016-11-06T00:34:22.672904730Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/object/common.go:97 +0x19f 2016-11-06T00:34:22.673072861Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.readInstance(0xc82025b0e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673104582Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:223 +0xe8f 2016-11-06T00:34:22.673118861Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.newVSphere(0xc820252200, 0x18, 0xc8204c25f0, 0xc, 0xc82011fd60, 0x9, 0xc8204c2048, 0x3, 0x1, 0xc8204c2ae8, ...) 2016-11-06T00:34:22.673128111Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:237 +0x7e 2016-11-06T00:34:22.673204822Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.init.1.func1(0x7f8a572c9488, 0xc82014c668, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673274571Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:153 +0xdf 2016-11-06T00:34:22.673365023Z k8s.io/kubernetes/pkg/cloudprovider.GetCloudProvider(0x7ffc9a344abf, 0x7, 0x7f8a572c9488, 0xc82014c668, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673457368Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/plugins.go:62 +0x112 2016-11-06T00:34:22.673526314Z k8s.io/kubernetes/pkg/cloudprovider.InitCloudProvider(0x7ffc9a344abf, 0x7, 0x7ffc9a344ad6, 0x1c, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673582280Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/plugins.go:84 +0x3e2 2016-11-06T00:34:22.673593710Z k8s.io/kubernetes/cmd/kube-controller-manager/app.StartControllers(0xc82062f900, 0xc8203aea80, 0xc8201de340, 0xc8203af860, 0x7f8a572d6790, 0xc820418640, 0x0, 0x0) 2016-11-06T00:34:22.673674949Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go:225 +0x719 2016-11-06T00:34:22.673686774Z k8s.io/kubernetes/cmd/kube-controller-manager/app.Run.func2(0xc8203af860) 2016-11-06T00:34:22.673696396Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go:166 +0x6a 2016-11-06T00:34:22.673755265Z created by k8s.io/kubernetes/pkg/client/leaderelection.(*LeaderElector).Run 2016-11-06T00:34:22.673766424Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/leaderelection/leaderelection.go:177 +0x91"><pre class="notranslate"><code class="notranslate">2016-11-06T00:34:22.670422172Z panic: reflect.Set: value of type mo.ResourcePool is not assignable to type mo.ComputeResource 2016-11-06T00:34:22.670477454Z 2016-11-06T00:34:22.670494551Z goroutine 68 [running]: 2016-11-06T00:34:22.670592707Z panic(0x38d5200, 0xc820d2b310) 2016-11-06T00:34:22.670754360Z /usr/local/go/src/runtime/panic.go:481 +0x3e6 2016-11-06T00:34:22.670990355Z reflect.Value.assignTo(0x4a676e0, 0xc8200a5600, 0x99, 0x4df7650, 0xb, 0x4a66e60, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.671019041Z /usr/local/go/src/reflect/value.go:2164 +0x3be 2016-11-06T00:34:22.671380809Z reflect.Value.Set(0x4a66e60, 0xc82049e780, 0x199, 0x4a676e0, 0xc8200a5600, 0x99) 2016-11-06T00:34:22.671462864Z /usr/local/go/src/reflect/value.go:1334 +0x95 2016-11-06T00:34:22.671715875Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/vim25/mo.LoadRetrievePropertiesResponse(0xc820d308e0, 0x46ecda0, 0xc82049e780, 0x0, 0x0) 2016-11-06T00:34:22.672055230Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/vim25/mo/retrieve.go:128 +0xe21 2016-11-06T00:34:22.672431372Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property.(*Collector).Retrieve(0xc820b54418, 0x7f8a572ab340, 0xc8202d2540, 0xc820d3ca80, 0x1, 0x1, 0xc820cecfd0, 0x1, 0x1, 0x46ecda0, ...) 2016-11-06T00:34:22.672467148Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property/collector.go:167 +0x52f 2016-11-06T00:34:22.672606970Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property.(*Collector).RetrieveOne(0xc820b54418, 0x7f8a572ab340, 0xc8202d2540, 0xc820cec9c0, 0xc, 0xc820cec9e0, 0xa, 0xc820cecfd0, 0x1, 0x1, ...) 2016-11-06T00:34:22.672681600Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/property/collector.go:173 +0x10e 2016-11-06T00:34:22.672871709Z k8s.io/kubernetes/vendor/github.com/vmware/govmomi/object.Common.Properties(0x0, 0x0, 0xc820b1e500, 0xc8202cedd0, 0xb, 0xc8202cee00, 0xb, 0x7f8a572ab340, 0xc8202d2540, 0xc820cec9c0, ...) 2016-11-06T00:34:22.672904730Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/vmware/govmomi/object/common.go:97 +0x19f 2016-11-06T00:34:22.673072861Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.readInstance(0xc82025b0e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673104582Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:223 +0xe8f 2016-11-06T00:34:22.673118861Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.newVSphere(0xc820252200, 0x18, 0xc8204c25f0, 0xc, 0xc82011fd60, 0x9, 0xc8204c2048, 0x3, 0x1, 0xc8204c2ae8, ...) 2016-11-06T00:34:22.673128111Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:237 +0x7e 2016-11-06T00:34:22.673204822Z k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere.init.1.func1(0x7f8a572c9488, 0xc82014c668, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673274571Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere/vsphere.go:153 +0xdf 2016-11-06T00:34:22.673365023Z k8s.io/kubernetes/pkg/cloudprovider.GetCloudProvider(0x7ffc9a344abf, 0x7, 0x7f8a572c9488, 0xc82014c668, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673457368Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/plugins.go:62 +0x112 2016-11-06T00:34:22.673526314Z k8s.io/kubernetes/pkg/cloudprovider.InitCloudProvider(0x7ffc9a344abf, 0x7, 0x7ffc9a344ad6, 0x1c, 0x0, 0x0, 0x0, 0x0) 2016-11-06T00:34:22.673582280Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/cloudprovider/plugins.go:84 +0x3e2 2016-11-06T00:34:22.673593710Z k8s.io/kubernetes/cmd/kube-controller-manager/app.StartControllers(0xc82062f900, 0xc8203aea80, 0xc8201de340, 0xc8203af860, 0x7f8a572d6790, 0xc820418640, 0x0, 0x0) 2016-11-06T00:34:22.673674949Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go:225 +0x719 2016-11-06T00:34:22.673686774Z k8s.io/kubernetes/cmd/kube-controller-manager/app.Run.func2(0xc8203af860) 2016-11-06T00:34:22.673696396Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kube-controller-manager/app/controllermanager.go:166 +0x6a 2016-11-06T00:34:22.673755265Z created by k8s.io/kubernetes/pkg/client/leaderelection.(*LeaderElector).Run 2016-11-06T00:34:22.673766424Z /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/client/leaderelection/leaderelection.go:177 +0x91 </code></pre></div> <p dir="auto"><strong>What you expected to happen</strong>:<br> I expected the controller-manager pod to run as normal.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br> Configure the controller-manager pod to use the vsphere cloud provider and pass the following provider cloud configuration file;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Global] server = vcenter port = 443 user = [email protected] password = removed insecure-flag = true datacenter = FC [Network] public-network = External"><pre class="notranslate"><code class="notranslate">[Global] server = vcenter port = 443 user = [email protected] password = removed insecure-flag = true datacenter = FC [Network] public-network = External </code></pre></div> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <ul dir="auto"> <li>This cluster was created by following the <a href="https://coreos.com/kubernetes/docs/latest/getting-started.html" rel="nofollow">CoreOS + Kubernetes Step by Step</a> guide. The only deviation from the guide was to adjust the /etc/kubernetes/manifests/kube-controller-manager.yaml file to include configuration flags for cloud-provider and cloud-config, and adding an additional volume and volume mount for the provider cloud config file.</li> <li>The CoreOS VMs are part of a single resource group (K8) on the same ESXi host.</li> <li>My base image for all of the hyperkube containers is quay.io/coreos/hyperkube:v1.4.5_coreos.0</li> <li>Before adding the additional configuration to use the vsphere cloud provider, this cluster was working as expected. The only change that was made to produce the stack trace above was to enable the vsphere cloud provider and pass the provider cloud config above.</li> <li>I am still fairly new to Kubernetes so i'm open to the possibility that I might have made a fatal error somewhere, but as far as I can tell this does appear to be a genuine bug. Apologies if this does turn out to be a mistake on my behalf!</li> </ul>
0
<p dir="auto"><strong>Describe the feature</strong>:</p> <p dir="auto">We would like to be able to link slow queries back to the user or application which caused the slow query.</p> <p dir="auto">Therefore we recommend adding a "logData" parameter to the search API which is simply copied from the request directly into the slow query log. We can then put identifiers (user ID, application ID, query ID, etc.) and what-not into this field to provide the linkages necessary to perform traceback to the application / systems which caused the slow query.</p> <p dir="auto">We realize that we could possibly do this with the "stats" parameter (stats groups), but we are concerned that there may be many IDs (thousands, millions) and that the stats-groups structure may not support such a large number of groups (i.e. it would likely use up memory maintaining stats for millions of entries).</p> <p dir="auto">Thank you.<br> Paul</p>
<p dir="auto">This is same problem with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="122809781" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/15520" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/15520/hovercard" href="https://github.com/elastic/elasticsearch/issues/15520">#15520</a>.</p> <p dir="auto">Cause of this problem is that behavior of killproc is different between RHEL 6 and 7.</p> <p dir="auto">Line 129 of /etc/init.d/elasticsearch:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="killproc -p $pidfile -d 86400 $prog"><pre class="notranslate"><code class="notranslate">killproc -p $pidfile -d 86400 $prog </code></pre></div> <p dir="auto">In RHEL 6, killproc execute "sleep $delay" if target process does not stop within 1sec. So, "/etc/init.d/elasticsearch stop" often takes 86400 seconds, even if elasticsearch is stopped.</p>
0
<p dir="auto">TensorFlow version:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -c &quot;import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)&quot; v1.12.0-0-ga6d8ffae09 1.12.0"><pre class="notranslate"><code class="notranslate">$ python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" v1.12.0-0-ga6d8ffae09 1.12.0 </code></pre></div> <p dir="auto">Issue:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2019-04-19 15:30:36.879298: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2019-04-19 15:30:36.879649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties: name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:02:00.0 totalMemory: 11.91GiB freeMemory: 4.75GiB 2019-04-19 15:30:36.879665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0 2019-04-19 15:30:37.551722: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-04-19 15:30:37.551754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 2019-04-19 15:30:37.551764: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N 2019-04-19 15:30:37.551930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4496 MB memory) -&gt; physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1) INFO:xxx.store:Generating index with key 1-TTT .. INFO:xxx-cli.py:Loss @ batch 1 on 800: 1.6608102321624756 Traceback (most recent call last): File &quot;./bin/xxx-cli.py&quot;, line 253, in &lt;module&gt; main(sys.argv[1:]) File &quot;./bin/xxx-cli.py&quot;, line 193, in main gradients = tape.gradient(loss, trainable_variables) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/backprop.py&quot;, line 901, in gradient output_gradients=output_gradients) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/imperative_grad.py&quot;, line 64, in imperative_grad output_gradients) File &quot;/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py&quot;, line 858, in grad_fun return [dresult._copy(device_name=self_device)] AttributeError: 'IndexedSlices' object has no attribute '_copy'"><pre lang="2019-04-19" class="notranslate"><code class="notranslate">2019-04-19 15:30:36.879298: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2019-04-19 15:30:36.879649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties: name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:02:00.0 totalMemory: 11.91GiB freeMemory: 4.75GiB 2019-04-19 15:30:36.879665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0 2019-04-19 15:30:37.551722: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix: 2019-04-19 15:30:37.551754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0 2019-04-19 15:30:37.551764: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N 2019-04-19 15:30:37.551930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4496 MB memory) -&gt; physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:02:00.0, compute capability: 6.1) INFO:xxx.store:Generating index with key 1-TTT .. INFO:xxx-cli.py:Loss @ batch 1 on 800: 1.6608102321624756 Traceback (most recent call last): File "./bin/xxx-cli.py", line 253, in &lt;module&gt; main(sys.argv[1:]) File "./bin/xxx-cli.py", line 193, in main gradients = tape.gradient(loss, trainable_variables) File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/backprop.py", line 901, in gradient output_gradients=output_gradients) File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/eager/imperative_grad.py", line 64, in imperative_grad output_gradients) File "/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 858, in grad_fun return [dresult._copy(device_name=self_device)] AttributeError: 'IndexedSlices' object has no attribute '_copy' </code></pre></div> <p dir="auto">Environment information:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="== cat /etc/issue =============================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux VERSION=&quot;18.04.2 LTS (Bionic Beaver)&quot; VERSION_ID=&quot;18.04&quot; VERSION_CODENAME=bionic == are we in docker ============================================= No == compiler ===================================================== c++ (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. == uname -a ===================================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux == check pips =================================================== msgpack-numpy 0.4.3.2 numpy 1.16.1 numpydoc 0.8.0 protobuf 3.6.1 tensorflow-estimator 1.13.0 13084: trying file=tls/x86_64/libpthread.so.0 13084: trying file=tls/libpthread.so.0 13084: trying file=haswell/x86_64/libpthread.so.0 13084: trying file=haswell/libpthread.so.0 13084: trying file=x86_64/libpthread.so.0 13084: trying file=libpthread.so.0 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: find library=libc.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libc.so.6 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libc.so.6 13084: trying file=tls/haswell/x86_64/libc.so.6 13084: trying file=tls/haswell/libc.so.6 13084: trying file=tls/x86_64/libc.so.6 13084: trying file=tls/libc.so.6 13084: trying file=haswell/x86_64/libc.so.6 13084: trying file=haswell/libc.so.6 13084: trying file=x86_64/libc.so.6 13084: trying file=libc.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libc.so.6 13084: 13084: find library=libdl.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/usr/local/cuda-9.0/lib64/libm.so.6 13084: trying file=tls/haswell/x86_64/libm.so.6 13084: trying file=tls/haswell/libm.so.6 13084: trying file=tls/x86_64/libm.so.6 13084: trying file=tls/libm.so.6 13084: trying file=haswell/x86_64/libm.so.6 13084: trying file=haswell/libm.so.6 13084: trying file=x86_64/libm.so.6 13084: trying file=libm.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libc.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/librt.so.1 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libutil.so.1 13084: 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libopenblasp-r0-382c8f3a.3.5.dev.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/an 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=liblzma.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libtensorflow_framework.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64:/home/anaconda/anaconda3/ l_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64: ../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/pyth 4/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/p ll/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: find library=libcublas.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (R 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcublas.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: find library=libcusolver.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcusolver.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcusolver.so.9.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudart.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudart.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: find library=libgomp.so.1 [0]; sear 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgomp.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: find library=libstdc++.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libstdc++.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libstdc++.so.6 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libstdc++.so.6 13084: 13084: find library=libgcc_s.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libgcc_s.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgcc_s.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgcc_s.so.1 13084: 13084: find library=libcuda.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_p /tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfi 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cu 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcuda.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcuda.so.1 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcuda.so.1 13084: trying file=tls/haswell/x86_64/libcuda.so.1 13084: trying file=tls/haswell/libcuda.so.1 13084: trying file=tls/x86_64/libcuda.so.1 13084: trying file=tls/libcuda.so.1 13084: trying file=haswell/x86_64/libcuda.so.1 13084: trying file=h /lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extr as/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudnn.so.7 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudnn.so.7 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudnn.so.7 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcudnn.so.7 13084: trying file=tls/haswell/x86_64/libcudnn.so.7 13084: trying file=tls/haswell/libcudnn.so.7 13084: trying file=tls/x86_64/libcudnn.so.7 13084: trying file=tls/libcudnn.so.7 13084: trying file=haswell/x86_64/libcudnn.so.7 13084: trying file=haswell/libcudnn.so.7 13084: trying file=x86_64/libcudnn.so.7 13084: trying file=libcudnn.so.7 13084: search cache=/etc/ld.so.cache 13084: trying file=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: find library=libcufft.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cu ell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/h aswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcufft.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcufft.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: find library=libcurand.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: tryi nfig_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcurand.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcurand.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcurand.so.9.0 13084: 13084: find library=libnvidia-fatbinaryloader.so.390.116 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_ 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libnvidia-fatbinaryloader.so.390.116 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libnvidia-fatbinaryloader.so.390.116 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fat 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcuda.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcusolver.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so 13084: 13084: find library=libhdfs.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:. 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libhdfs.so 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libhdfs.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file= 13084: search path=/lib/x86_64-linux-gnu/tls/haswell/x86_64:/lib/x86_64-linux-gnu/tls/haswell:/lib/x86_64-linux-gnu/tls/x86_64:/lib/x86_64-linux-gnu/tls:/lib/x86_64-linux-gnu/haswell/x86_64:/lib/x86_64-linux-gnu/haswell:/lib/x86_64-linux-gnu/x86_64:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64:/usr/lib/x86_64-linux-gnu/tls/haswell:/usr/lib/x86_64-linux-gnu/tls/x86_64:/usr/lib/x86_64-linux-gnu/tls:/usr/lib/x86_64-linux-gnu/haswell/x86_64:/usr/lib/x86_64-linux-gnu/haswell:/usr/lib/x86_64-linux-gnu/x86_64:/usr/lib/x86_64-linux-gnu:/lib/tls/haswell/x86_64:/lib/tls/haswell:/lib/tls/x86_64:/lib/tls:/lib/haswell/x86_64:/lib/haswell:/lib/x86_64:/lib:/usr/lib/tls/haswell/x86_64:/usr/lib/tls/haswell:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/haswell/x86_64:/usr/lib/haswell:/usr/lib/x86_64:/usr/lib (system search path) 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/lib/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/tls/haswell/libhdfs.so 13084: trying file=/lib/tls/x86_64/libhdfs.so 13084: trying file=/lib/tls/libhdfs.so 13084: trying file=/lib/haswell/x86_64/libhdfs.so 13084: trying file=/lib/haswell/libhdfs.so 13084 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libssl.so.1.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libhdf5-5773eb11.so.103.0.0 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=libhdf5-5773eb11.so.103.0.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/x86_64:/home/anaconda/anaconda3/l 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 13084: 13084: find library=libhdf5_hl-db841637.so.100.1.1 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=libhdf5_hl-db841637.so.100.1.1 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs (RUNPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5_hl-db841637.so.100.1.1 13084: 13084: find library=libsz-1c7dd0cf.so.2.0.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./hasw 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5t.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/utils.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5.cpython-36m-x86_64-linux-gnu.so 13084: 13092: find library=libc.so.6 [0]; searching 13092: search path=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64:/usr/local/cuda-9.0/lib64/tls/haswell:/usr/local/cuda-9.0/lib64/tls/x86_64:/usr/local/cuda-9.0/lib64/tls:/usr/local/cuda-9.0/lib64/haswell/x86_64:/usr/local/cuda-9.0/lib64/haswell:/usr/local/cuda-9.0/lib64/x86_64:/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/libc.so.6 13092: trying file=/usr/local/cud 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5g.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5i.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5fd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5o.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5l.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/libuuid.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so 13084: 13084: find library=libffi-bce22613.so.6.0.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend (RPATH from file /home/anaconda/anaconda3/l 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libyaml-0.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64/libyaml-0.so.2 13084: trying file=/ 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: find library=libtiff.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libmkl_rt.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packag 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libgfortran.so.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4 13084: 13084: find library=libquadmath.so.0 [0]; searching 13084: search path=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4) 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64/libquadmath.so.0 13084: try 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/reduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling fini: /home/anaconda 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensor 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/fast_tensor_util.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_conv.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libz-a147dcb0.so.1.2.3 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libsz-1c7dd0cf.so.2.0.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libaec-2147abcd.so.0.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/libuuid.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/libffi-bce22613.so.6.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryp 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/librt.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m- 13084: calling fini: /lib/x86_64-linux-gnu/libdl.so.2 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpyth 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so [0] 13084: 1308 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/libpthread.so.0 [0] 13084: == env ========================================================== LD_LIBRARY_PATH /usr/local/cuda-9.0/lib64::/usr/local/cuda-9.0/lib64: DYLD_LIBRARY_PATH is unset == nvidia-smi =================================================== Fri Apr 19 15:35:28 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.116 Driver Version: 390.116 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 TITAN X (Pascal) Off | 00000000:02:00.0 Off | N/A | | 47% 77C P2 153W / 250W | 7177MiB / 12194MiB | 92% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 2059 G /usr/lib/xorg/Xorg 16MiB | | 0 28211 C python3 2299MiB | | 0 28214 C python3 1275MiB | | 0 28216 C python3 1275MiB | | 0 28217 C python3 2299MiB | +-----------------------------------------------------------------------------+ == cuda libs =================================================== /usr/local/cuda-9.0/lib64/libcudart.so.9.0.176 /usr/local/cuda-9.0/lib64/libcudart_static.a /usr/local/cuda-9.0/doc/man/man7/libcudart.so.7 /usr/local/cuda-9.0/doc/man/man7/libcudart.7```"><pre class="notranslate"><code class="notranslate">== cat /etc/issue =============================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux VERSION="18.04.2 LTS (Bionic Beaver)" VERSION_ID="18.04" VERSION_CODENAME=bionic == are we in docker ============================================= No == compiler ===================================================== c++ (Ubuntu 6.5.0-2ubuntu1~18.04) 6.5.0 20181026 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. == uname -a ===================================================== Linux hamburg 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux == check pips =================================================== msgpack-numpy 0.4.3.2 numpy 1.16.1 numpydoc 0.8.0 protobuf 3.6.1 tensorflow-estimator 1.13.0 13084: trying file=tls/x86_64/libpthread.so.0 13084: trying file=tls/libpthread.so.0 13084: trying file=haswell/x86_64/libpthread.so.0 13084: trying file=haswell/libpthread.so.0 13084: trying file=x86_64/libpthread.so.0 13084: trying file=libpthread.so.0 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: find library=libc.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libc.so.6 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libc.so.6 13084: trying file=tls/haswell/x86_64/libc.so.6 13084: trying file=tls/haswell/libc.so.6 13084: trying file=tls/x86_64/libc.so.6 13084: trying file=tls/libc.so.6 13084: trying file=haswell/x86_64/libc.so.6 13084: trying file=haswell/libc.so.6 13084: trying file=x86_64/libc.so.6 13084: trying file=libc.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libc.so.6 13084: 13084: find library=libdl.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/usr/local/cuda-9.0/lib64/libm.so.6 13084: trying file=tls/haswell/x86_64/libm.so.6 13084: trying file=tls/haswell/libm.so.6 13084: trying file=tls/x86_64/libm.so.6 13084: trying file=tls/libm.so.6 13084: trying file=haswell/x86_64/libm.so.6 13084: trying file=haswell/libm.so.6 13084: trying file=x86_64/libm.so.6 13084: trying file=libm.so.6 13084: search cache=/etc/ld.so.cache 13084: trying file=/lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libpthread.so.0 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libc.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libm.so.6 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/librt.so.1 13084: 13084: 13084: calling init: /lib/x86_64-linux-gnu/libutil.so.1 13084: 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../tls/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../haswell/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../x86_64/libffi.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libffi.so.6 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_struct.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libopenblasp-r0-382c8f3a.3.5.dev.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/_multiarray_umath.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/haswell/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/tls/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/core/../.libs/haswell/x86_64/libopenblasp-r0-382c8f3a.3.5.dev.so 13084: trying file=/home/an 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/zlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bz2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=liblzma.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../liblzma.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_lzma.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libtensorflow_framework.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64:/home/anaconda/anaconda3/ l_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64: ../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U_S_Stensorflow_Spython_C_Upywrap_Utensorflow_Uinternal.so___Utensorflow/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/pyth 4/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccublas___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccusolver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/p ll/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudart___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../tls/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../haswell/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../x86_64/libtensorflow_framework.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: find library=libcublas.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (R 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcublas.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcublas.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: find library=libcusolver.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcusolver.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcusolver.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcusolver.so.9.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudart.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudart.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudart.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: find library=libgomp.so.1 [0]; sear 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgomp.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgomp.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: find library=libstdc++.so.6 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libstdc++.so.6 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/lib64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libstdc++.so.6 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libstdc++.so.6 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libstdc++.so.6 13084: 13084: find library=libgcc_s.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libgcc_s.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libgcc_s.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libgcc_s.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libgcc_s.so.1 13084: 13084: find library=libcuda.so.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_p /tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccuda_Udriver___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccudnn___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfi 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccufft___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/tls/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/haswell/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/x86_64/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../../_solib_local/_U@local_Uconfig_Ucuda_S_Scuda_Ccurand___Uexternal_Slocal_Uconfig_Ucuda_Scuda_Scuda_Slib/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cu 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcuda.so.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/lib64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcuda.so.1 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcuda.so.1 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcuda.so.1 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcuda.so.1 13084: trying file=tls/haswell/x86_64/libcuda.so.1 13084: trying file=tls/haswell/libcuda.so.1 13084: trying file=tls/x86_64/libcuda.so.1 13084: trying file=tls/libcuda.so.1 13084: trying file=haswell/x86_64/libcuda.so.1 13084: trying file=h /lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extr as/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/lib64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcudnn.so.7 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcudnn.so.7 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcudnn.so.7 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcudnn 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcudnn.so.7 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libcudnn.so.7 13084: trying file=tls/haswell/x86_64/libcudnn.so.7 13084: trying file=tls/haswell/libcudnn.so.7 13084: trying file=tls/x86_64/libcudnn.so.7 13084: trying file=tls/libcudnn.so.7 13084: trying file=haswell/x86_64/libcudnn.so.7 13084: trying file=haswell/libcudnn.so.7 13084: trying file=x86_64/libcudnn.so.7 13084: trying file=libcudnn.so.7 13084: search cache=/etc/ld.so.cache 13084: trying file=/usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: find library=libcufft.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cu ell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/h aswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcufft.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcufft.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcufft.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: find library=libcurand.so.9.0 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: tryi nfig_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libcurand.so.9.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/lib64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libcurand.so.9.0 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libcurand.so.9.0 13084: search path=/home/anaconda/anaconda3/bin/../lib (RPATH from file /home/anaconda/anaconda3/bin/python) 13084: trying file=/home/anaconda/anaconda3/bin/../lib/libcurand.so.9.0 13084: 13084: find library=libnvidia-fatbinaryloader.so.390.116 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_ 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libnvidia-fatbinaryloader.so.390.116 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libnvidia-fatbinaryloader.so.390.116 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/tls/libnvidia-fatbinaryloader.so.390.116 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libnvidia-fat 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcufft.so.9.0 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcudnn.so.7 13084: 13084: 13084: calling init: /usr/lib/x86_64-linux-gnu/libcuda.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libgomp.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcudart.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcusolver.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/bin/../lib/libcublas.so.9.0 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so 13084: 13084: find library=libhdfs.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:. 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/extras/CUPTI/lib64/libhdfs.so 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python:/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/..:../local_config_cuda/cuda/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/lib64/tls/haswell:../local_config_cuda/cuda/lib64/tls/x86_64:../local_config_cuda/cuda/lib64/tls:../local_config_cuda/cuda/lib64/haswell/x86_64:../local_config_cuda/cuda/lib64/haswell:../local_config_cuda/cuda/lib64/x86_64:../local_config_cuda/cuda/lib64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/tls/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/tls:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64/haswell:../local_config_cuda/cuda/extras/CUPTI/lib64/x86_64:../local_config_cuda/cuda/extras/CUPTI/lib64 (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/libhdfs.so 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/../libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/haswell/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/x86_64/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/tls/libhdfs.so 13084: trying file=../local_config_cuda/cuda/lib64/haswell/x86_64/libhdfs.so 13084: trying file= 13084: search path=/lib/x86_64-linux-gnu/tls/haswell/x86_64:/lib/x86_64-linux-gnu/tls/haswell:/lib/x86_64-linux-gnu/tls/x86_64:/lib/x86_64-linux-gnu/tls:/lib/x86_64-linux-gnu/haswell/x86_64:/lib/x86_64-linux-gnu/haswell:/lib/x86_64-linux-gnu/x86_64:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64:/usr/lib/x86_64-linux-gnu/tls/haswell:/usr/lib/x86_64-linux-gnu/tls/x86_64:/usr/lib/x86_64-linux-gnu/tls:/usr/lib/x86_64-linux-gnu/haswell/x86_64:/usr/lib/x86_64-linux-gnu/haswell:/usr/lib/x86_64-linux-gnu/x86_64:/usr/lib/x86_64-linux-gnu:/lib/tls/haswell/x86_64:/lib/tls/haswell:/lib/tls/x86_64:/lib/tls:/lib/haswell/x86_64:/lib/haswell:/lib/x86_64:/lib:/usr/lib/tls/haswell/x86_64:/usr/lib/tls/haswell:/usr/lib/tls/x86_64:/usr/lib/tls:/usr/lib/haswell/x86_64:/usr/lib/haswell:/usr/lib/x86_64:/usr/lib (system search path) 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/tls/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/haswell/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/x86_64/libhdfs.so 13084: trying file=/usr/lib/x86_64-linux-gnu/libhdfs.so 13084: trying file=/lib/tls/haswell/x86_64/libhdfs.so 13084: trying file=/lib/tls/haswell/libhdfs.so 13084: trying file=/lib/tls/x86_64/libhdfs.so 13084: trying file=/lib/tls/libhdfs.so 13084: trying file=/lib/haswell/x86_64/libhdfs.so 13084: trying file=/lib/haswell/libhdfs.so 13084 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libssl.so.1.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libssl.so.1.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libhdf5-5773eb11.so.103.0.0 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=tls/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=haswell/libhdf5-5773eb11.so.103.0.0 13084: trying file=x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=libhdf5-5773eb11.so.103.0.0 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/tls/x86_64:/home/anaconda/anaconda3/l 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/x86_64/libhdf5-5773eb11.so.103.0.0 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 13084: 13084: find library=libhdf5_hl-db841637.so.100.1.1 [0]; searching 13084: search path=/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13084: trying file=/usr/local/cuda-9.0/lib64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=tls/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=haswell/libhdf5_hl-db841637.so.100.1.1 13084: trying file=x86_64/libhdf5_hl-db841637.so.100.1.1 13084: trying file=libhdf5_hl-db841637.so.100.1.1 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs (RUNPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5_hl-db841637.so.100.1.1 13084: 13084: find library=libsz-1c7dd0cf.so.2.0.1 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/haswell/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/x86_64/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./tls/libsz-1c7dd0cf.so.2.0.1 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./hasw 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5t.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/utils.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5.cpython-36m-x86_64-linux-gnu.so 13084: 13092: find library=libc.so.6 [0]; searching 13092: search path=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64:/usr/local/cuda-9.0/lib64/tls/haswell:/usr/local/cuda-9.0/lib64/tls/x86_64:/usr/local/cuda-9.0/lib64/tls:/usr/local/cuda-9.0/lib64/haswell/x86_64:/usr/local/cuda-9.0/lib64/haswell:/usr/local/cuda-9.0/lib64/x86_64:/usr/local/cuda-9.0/lib64:tls/haswell/x86_64:tls/haswell:tls/x86_64:tls:haswell/x86_64:haswell:x86_64: (LD_LIBRARY_PATH) 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/haswell/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/tls/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/x86_64/libc.so.6 13092: trying file=/usr/local/cuda-9.0/lib64/haswell/libc.so.6 13092: trying file=/usr/local/cud 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5g.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5i.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5fd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5o.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5l.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/libuuid.so.1 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so 13084: 13084: find library=libffi-bce22613.so.6.0.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend (RPATH from file /home/anaconda/anaconda3/l 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/_csparsetools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_shortest_path.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_tools.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_traversal.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_min_spanning_tree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/sparse/csgraph/_reordering.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libyaml-0.so.2 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/x86_64/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/haswell/libyaml-0.so.2 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/../../tls/x86_64/libyaml-0.so.2 13084: trying file=/ 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../tls/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../haswell/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../x86_64/libjpeg.so.9 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: find library=libtiff.so.5 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libjpeg.so.9 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/../../../libtiff.so.5 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libmkl_rt.so [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packag 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m-x86_64-linux-gnu.so 13084: 13084: find library=libgfortran.so.4 [0]; searching 13084: search path=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64:/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../.. (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ufuncs.cpython-36m-x86_64-linux-gnu.so) 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../tls/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../haswell/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../x86_64/libgfortran.so.4 13084: trying file=/home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4 13084: 13084: find library=libquadmath.so.0 [0]; searching 13084: search path=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/x86_64:/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib (RPATH from file /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/../../../../libgfortran.so.4) 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/haswell/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/x86_64/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/tls/libquadmath.so.0 13084: trying file=/home/rdonnelly/mc/conda-bld/compilers_linux-64_1534627447954/work/gcc_built/x86_64-conda_cos6-linux-gnu/lib/../lib/haswell/x86_64/libquadmath.so.0 13084: try 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/special/_ellip_harm_2.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_fitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/dfitpack.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_bspl.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/_ppoly.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/interpolate/interpnd.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/ckdtree.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/qhull.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/missing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/lib.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/algos.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/properties.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/hashing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/reduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/groupby.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/reshape.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/parsers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/json.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/writers.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling init: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so 13084: 13084: 13084: calling fini: /home/anaconda 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/grp.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_decimal.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/fft/fftpack_lite.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/numpy/random/mtrand.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_hashlib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_blake2.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_sha3.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_bisect.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_random.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensor 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/fast_tensor_util.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_json.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/array.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/_ssl.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_errors.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_conv.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/h5r.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/_objects.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/defs.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/libhdf5-5773eb11.so.103.0.0 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libz-a147dcb0.so.1.2.3 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libsz-1c7dd0cf.so.2.0.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/h5py/.libs/./libaec-2147abcd.so.0.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/libuuid.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/unicodedata.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/_constant_time.abi3.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/.libs_cffi_backend/libffi-bce22613.so.6.0.4 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/cryp 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/lib-dynload/../../libz.so.1 [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/librt.so.1 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_fblas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_flinalg.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_solve_toeplitz.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/_decomp_update.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_blas.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/linalg/cython_lapack.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_nd_image.cpython-36m- 13084: calling fini: /lib/x86_64-linux-gnu/libdl.so.2 [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/_lib/messagestream.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_voronoi.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_distance_wrap.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/spatial/_hausdorff.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/scipy/ndimage/_ni_label.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslib.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/conversion.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/np_datetime.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/nattype.cpyth 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/nonreduce_axis.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/bottleneck/move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/index.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/period.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/frequencies.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/resolution.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/tslibs/offsets.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/join.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/ops.cpython-36m-x86_64-linux-gnu.so [0] 13084: 1308 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_packer.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/io/msgpack/_unpacker.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/util/_move.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /home/anaconda/anaconda3/lib/python3.6/site-packages/pandas/_libs/testing.cpython-36m-x86_64-linux-gnu.so [0] 13084: 13084: 13084: calling fini: /lib/x86_64-linux-gnu/libpthread.so.0 [0] 13084: == env ========================================================== LD_LIBRARY_PATH /usr/local/cuda-9.0/lib64::/usr/local/cuda-9.0/lib64: DYLD_LIBRARY_PATH is unset == nvidia-smi =================================================== Fri Apr 19 15:35:28 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 390.116 Driver Version: 390.116 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 TITAN X (Pascal) Off | 00000000:02:00.0 Off | N/A | | 47% 77C P2 153W / 250W | 7177MiB / 12194MiB | 92% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 2059 G /usr/lib/xorg/Xorg 16MiB | | 0 28211 C python3 2299MiB | | 0 28214 C python3 1275MiB | | 0 28216 C python3 1275MiB | | 0 28217 C python3 2299MiB | +-----------------------------------------------------------------------------+ == cuda libs =================================================== /usr/local/cuda-9.0/lib64/libcudart.so.9.0.176 /usr/local/cuda-9.0/lib64/libcudart_static.a /usr/local/cuda-9.0/doc/man/man7/libcudart.so.7 /usr/local/cuda-9.0/doc/man/man7/libcudart.7``` </code></pre></div>
<p dir="auto">Hello,<br> This is puzzling, as this only happens with <code class="notranslate">tensorflow-gpu</code> version 1.12.0 -- <code class="notranslate">tensorflow</code> version 1.12.0 works flawlessly (both on GNU/Linux and OSX).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;./bin/moe-cli.py&quot;, line 476, in &lt;module&gt; main(sys.argv[1:]) File &quot;./bin/moe-cli.py&quot;, line 372, in main gradients = tape.gradient(loss, trainable_variables) File &quot;/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/eager/backprop.py&quot;, line 901, in gradient output_gradients=output_gradients) File &quot;/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/eager/imperative_grad.py&quot;, line 64, in imperative_grad output_gradients) File &quot;/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/framework/ops.py&quot;, line 858, in grad_fun return [dresult._copy(device_name=self_device)] AttributeError: 'IndexedSlices' object has no attribute '_copy'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "./bin/moe-cli.py", line 476, in &lt;module&gt; main(sys.argv[1:]) File "./bin/moe-cli.py", line 372, in main gradients = tape.gradient(loss, trainable_variables) File "/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/eager/backprop.py", line 901, in gradient output_gradients=output_gradients) File "/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/eager/imperative_grad.py", line 64, in imperative_grad output_gradients) File "/home/testing/.pyenv/versions/3.6.5/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 858, in grad_fun return [dresult._copy(device_name=self_device)] AttributeError: 'IndexedSlices' object has no attribute '_copy' </code></pre></div>
1
<h5 dir="auto">ISSUE TYPE</h5> <ul dir="auto"> <li>Bug Report</li> <li>Documentation Report</li> </ul> <h5 dir="auto">COMPONENT NAME</h5> <p dir="auto">variables</p> <h5 dir="auto">ANSIBLE VERSION</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.5.0.32862.2cdf31d3a2 config file = /etc/ansible/ansible.cfg configured module search path = [u'~/.ansible/plugins/modules',u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.14 (default, Sep 20 2017, 01:25:59) [GCC 7.2.0]"><pre class="notranslate"><code class="notranslate">ansible 2.5.0.32862.2cdf31d3a2 config file = /etc/ansible/ansible.cfg configured module search path = [u'~/.ansible/plugins/modules',u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.14 (default, Sep 20 2017, 01:25:59) [GCC 7.2.0] </code></pre></div> <h5 dir="auto">CONFIGURATION</h5> <p dir="auto">N/A</p> <h5 dir="auto">OS / ENVIRONMENT</h5> <p dir="auto">N/A</p> <h5 dir="auto">SUMMARY</h5> <p dir="auto">When multiple roles are pulled into a playbook, earlier roles can reference default variables from later roles, i.e., variables can be used before they are defined.<br> Even after scouring the documentation I can only conclude that this is surprising behaviour.<br> It has been stated elsewhere that defaults belong to the global scope. But this issue is tangential. It refers to ordering of roles when it comes to defaults.</p> <p dir="auto">This is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="126207155" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/13814" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/13814/hovercard" href="https://github.com/ansible/ansible/issues/13814">#13814</a> which has never been solved.</p> <h5 dir="auto">STEPS TO REPRODUCE</h5> <p dir="auto">The example <a href="https://github.com/mrdrogdrog/ansible-var-default">https://github.com/mrdrogdrog/ansible-var-default</a> contains two roles which just print a var to debug output.<br> The role <code class="notranslate">first</code> hasn't a default definition.<br> The role <code class="notranslate">second</code> sets the default value of <code class="notranslate">var</code> to "second"</p> <p dir="auto">Playbook:</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="--- - hosts: local roles: - role: first - role: second"><pre class="notranslate">--- - <span class="pl-ent">hosts</span>: <span class="pl-s">local</span> <span class="pl-ent">roles</span>: - <span class="pl-ent">role</span>: <span class="pl-s">first</span> - <span class="pl-ent">role</span>: <span class="pl-s">second</span></pre></div> <h5 dir="auto">EXPECTED RESULTS</h5> <p dir="auto">The playbook shouldn't compile because <code class="notranslate">first</code> expects a value for <code class="notranslate">var</code> which is not set.</p> <h5 dir="auto">ACTUAL RESULTS</h5> <p dir="auto">The playbook compiles and prints</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="second second"><pre class="notranslate"><code class="notranslate">second second </code></pre></div> <p dir="auto">to debug output</p>
<p dir="auto">Example code has been simplified to clearly demonstrate the variable scoping issue that occurs when a dependent role is activated.</p> <p dir="auto">This is a duplicate of issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21035715" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/4528" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/4528/hovercard" href="https://github.com/ansible/ansible/issues/4528">#4528</a> - which I've added after reading advice from: <a href="https://groups.google.com/forum/#!msg/ansible-project/BPnZPe_Ixhg/aDU9dkvrUjcJ" rel="nofollow">https://groups.google.com/forum/#!msg/ansible-project/BPnZPe_Ixhg/aDU9dkvrUjcJ</a></p> <p dir="auto">The scoping issue is a major showstopper for us; and I'd like to at least get confirmation that this is a bug with intent to fix vs. desirable behavior.</p> <p dir="auto">Summary:</p> <p dir="auto"><a href="https://github.com/briceburg/ansible-variable-scoping/tree/master/simple">https://github.com/briceburg/ansible-variable-scoping/tree/master/simple</a></p>
0
<p dir="auto">This is a copy <a href="http://projects.scipy.org/numpy/ticket/1932" rel="nofollow">http://projects.scipy.org/numpy/ticket/1932</a> since that one seems no longer in use and no one responded to it in almost 2 years, even though I posted a patch that solves the problem....</p> <p dir="auto">I have been trying to use the f2py routinely to build an interface around the ECMWF BUFR library. See <a href="http://code.google.com/p/pybufr-ecmwf/" rel="nofollow">http://code.google.com/p/pybufr-ecmwf/</a> for details. This works fine for the python 2.x versions.</p> <p dir="auto">However, I also tried to add the possibility to use python3 and here I encountered some trouble. My python code converts properly to python3 using to 2to3 tool, but when I try to use the python3 version of f2py I encounter this error somewhere deep inside the f2py internals:</p> <p dir="auto">Post-processing (stage 2)... Saving signatures to file "f2py_build/signatures.pyf" Traceback (most recent call last):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;./run_f2py_tool.py&quot;, line 11, in &lt;module&gt; main() File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py&quot;, line 563, in main run_main(sys.argv[1:]) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py&quot;, line 342, in run_main postlist=callcrackfortran(files,options) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py&quot;, line 279, in callcrackfortran pyf=crackfortran.crack2fortran(postlist) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2693, in crack2fortran pyf=crack2fortrangen(block)+'\n' File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2505, in crack2fortrangen body=crack2fortrangen(blockbody?,tab+tabchar) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2505, in crack2fortrangen body=crack2fortrangen(blockbody?,tab+tabchar) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2506, in crack2fortrangen vars=vars2fortran(block,blockvars?,al,tab+tabchar) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2655, in vars2fortran lst = true_intent_list(vars[a]) File &quot;/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py&quot;, line 2557, in true_intent_list if c:"><pre class="notranslate"><code class="notranslate">File "./run_f2py_tool.py", line 11, in &lt;module&gt; main() File "/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py", line 563, in main run_main(sys.argv[1:]) File "/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py", line 342, in run_main postlist=callcrackfortran(files,options) File "/usr/lib64/python3.2/site-packages/numpy/f2py/f2py2e.py", line 279, in callcrackfortran pyf=crackfortran.crack2fortran(postlist) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2693, in crack2fortran pyf=crack2fortrangen(block)+'\n' File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2505, in crack2fortrangen body=crack2fortrangen(blockbody?,tab+tabchar) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2505, in crack2fortrangen body=crack2fortrangen(blockbody?,tab+tabchar) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2465, in crack2fortrangen ret=ret+crack2fortrangen(g,tab) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2506, in crack2fortrangen vars=vars2fortran(block,blockvars?,al,tab+tabchar) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2655, in vars2fortran lst = true_intent_list(vars[a]) File "/usr/lib64/python3.2/site-packages/numpy/f2py/crackfortran.py", line 2557, in true_intent_list if c: </code></pre></div> <p dir="auto">UnboundLocalError?: local variable 'c' referenced before assignment ERROR: build of python wrapper failed the signatures file could not be found Traceback (most recent call last):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="File &quot;./build_interface.py&quot;, line 1803, in &lt;module&gt; BI.build() File &quot;./build_interface.py&quot;, line 543, in build self.generate_python_wrapper(source_dir) File &quot;./build_interface.py&quot;, line 1667, in generate_python_wrapper raise InterfaceBuildError?"><pre class="notranslate"><code class="notranslate">File "./build_interface.py", line 1803, in &lt;module&gt; BI.build() File "./build_interface.py", line 543, in build self.generate_python_wrapper(source_dir) File "./build_interface.py", line 1667, in generate_python_wrapper raise InterfaceBuildError? </code></pre></div> <p dir="auto">main.InterfaceBuildError?</p> <p dir="auto">I any additional information is needed I would be happy to provide it.</p>
<p dir="auto">I install NumPy from source. I recently checked out the 1.16.1 tag and when I imported the built and installed NumPy, I get</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/home/tbekolay/.virtualenvs/pytest/lib/python3.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version."><pre class="notranslate"><code class="notranslate">ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/home/tbekolay/.virtualenvs/pytest/lib/python3.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version. </code></pre></div> <p dir="auto">The directory pointed there is the directory of the currently installed NumPy. When I looked in <code class="notranslate">numpy/core/__init__.py</code>, I saw the other error message, which includes the <code class="notranslate">git clean -xdf</code> command. When I ran this in the git repo, I could build and install successfully. So I believe it would be useful for both of those cases to include the instructions that normally occur when <code class="notranslate">multiarray</code> can't be imported. (line 19 in <code class="notranslate">core/__init__.py</code>).</p> <p dir="auto">Alternatively, we could detect if the path given by <code class="notranslate">sys.modules['numpy'].__path__</code> is the same as the one we would get by looking at <code class="notranslate">__file__</code> to determine if it is a weird version error or just an old <code class="notranslate">multiarray</code> sticking around.</p> <h3 dir="auto">Reproducing code example:</h3> <p dir="auto">Check out an old release like 1.15.1 and build from source. Check out 1.16.1, build again and install. Then</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span></pre></div> <h3 dir="auto">Error message:</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/home/tbekolay/.virtualenvs/pytest/lib/python3.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version."><pre class="notranslate"><code class="notranslate">ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['/home/tbekolay/.virtualenvs/pytest/lib/python3.7/site-packages/numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version. </code></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.16.1 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0]"><pre class="notranslate"><code class="notranslate">1.16.1 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0] </code></pre></div>
0
<ol dir="auto"> <li>What version of Go are you using (<code class="notranslate">go version</code>)? go1.6</li> <li>What operating system and processor architecture are you using (<code class="notranslate">go env</code>)? linux/amd64</li> <li>What did you do? <a href="http://play.golang.org/p/1MigDGnopS" rel="nofollow">http://play.golang.org/p/1MigDGnopS</a> (unfortunately this cannot execute because of cgo)</li> <li>What did you expect to see? One line printed to standard output containing text "test" (edit: as is output by this very similar, working example <a href="http://play.golang.org/p/eX1pSIjmo4" rel="nofollow">http://play.golang.org/p/eX1pSIjmo4</a>)</li> <li>What did you see instead?</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="panic: runtime error: cgo argument has Go pointer to Go pointer goroutine 1 [running]: panic(0x474d20, 0xc82000a210) /usr/lib/go/src/runtime/panic.go:464 +0x3e6 main._cgoCheckPointer0(0x4697e0, 0xc820054094, 0x0, 0x0, 0x0, 0x0) github.com/bmatsuo/lmdb-go/tmp/_obj/_cgo_gotypes.go:42 +0x4d main.main() /home/b/src/github.com/bmatsuo/lmdb-go/tmp/cgopanic.go:24 +0x153"><pre class="notranslate"><code class="notranslate">panic: runtime error: cgo argument has Go pointer to Go pointer goroutine 1 [running]: panic(0x474d20, 0xc82000a210) /usr/lib/go/src/runtime/panic.go:464 +0x3e6 main._cgoCheckPointer0(0x4697e0, 0xc820054094, 0x0, 0x0, 0x0, 0x0) github.com/bmatsuo/lmdb-go/tmp/_obj/_cgo_gotypes.go:42 +0x4d main.main() /home/b/src/github.com/bmatsuo/lmdb-go/tmp/cgopanic.go:24 +0x153 </code></pre></div> <p dir="auto">I'm creating this issue to track a problem I brought up in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="131077752" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/14210" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/14210/hovercard?comment_id=185814124&amp;comment_type=issue_comment" href="https://github.com/golang/go/issues/14210#issuecomment-185814124">#14210 (comment)</a> but for which the cause/fix was different. I took some time before filing the issue to collect more information about the problem and the fix for my own understanding. My apologies for the delay. But it didn't look like a duplicate has been filed since.</p> <p dir="auto">I was also told to replace my code that looked like the above example with code which takes the address of a <code class="notranslate">[]byte</code> at the actual cgo call site to help the tool figure out which memory region I was referring to. I have done so, and it works, but I have found the result to be significantly slower that before I made this change (both benchmarks takes from a stock go1.6 build -- no flags).</p> <p dir="auto">The changes I made to work around the above panic in my actual project can be found here: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bmatsuo/lmdb-go/commit/40ebaca9ecf9cd77b0b70fc5eb6a89c47a839187/hovercard" href="https://github.com/bmatsuo/lmdb-go/commit/40ebaca9ecf9cd77b0b70fc5eb6a89c47a839187">bmatsuo/lmdb-go@<tt>40ebaca</tt></a></p> <p dir="auto">And the performance comparison against master can be seen in my pull request: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="139190696" data-permission-text="Title is private" data-url="https://github.com/bmatsuo/lmdb-go/issues/57" data-hovercard-type="pull_request" data-hovercard-url="/bmatsuo/lmdb-go/pull/57/hovercard?comment_id=193624370&amp;comment_type=issue_comment" href="https://github.com/bmatsuo/lmdb-go/pull/57#issuecomment-193624370">bmatsuo/lmdb-go#57 (comment)</a></p> <p dir="auto">My benchmarks, unfortunately, have more noise than I would like but there is a definite pattern that shows this change having a real impact on call times (especially for some functions which should execute be extremely quickly). The relevant benchmarks show a 7-43% performance penalty from this change (100ns+ per affected C call).</p>
<pre class="notranslate">---------- Forwarded message ---------- From: james4k &lt;[email protected]&gt; Date: Mon, Aug 12, 2013 at 5:30 PM Subject: [golang-dev] cgo and guessKind() on darwin (10.8) To: [email protected] Hello, On tip I am receiving a cgo error on the package github.com/go-gl/gl, while it works fine on 1.1; the output is "gcc produced no output". This error comes from the guessKind() method in src/cmd/cgo/gcc.go and appears to have started when clang was made the default CC for darwin. Testing this with CC=gcc seems to confirm this (builds successfully). I have not tested this with any other versions of clang or on linux, but it looks like guessKind() is a very GCC specific routine that will need to be adapted to support other compilers like clang, but I have limited knowledge on this. Not sure whether or not to submit an actual issue as non-gcc support seemed to be a work in progress, but posted here for your awareness. $ clang -v Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.4.0 Thread model: posix</pre>
0
<p dir="auto">Please consider generating wheel for faster installs</p> <p dir="auto"><a href="http://pythonwheels.com/" rel="nofollow">http://pythonwheels.com/</a></p>
<p dir="auto">I'm building a flask app that would benefit from being able to spawn some subprocesses via python's standard multiprocessing module.</p> <p dir="auto">However, spawning just one leads to an endless loop where an infinite number of processes are spawned. Yikes! It only happens when debug=True is passed to app.run. So it's not a problem in production, but it makes debugging hard.</p> <p dir="auto">This problem doesn't happen with the threading module, interestingly enough.</p> <p dir="auto">Code to reproduce (Python version 2.7.3 on Windows 7 x64) follows:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import time from multiprocessing import Process from flask import Flask app = Flask(__name__) def testFun(): print 'Starting' time.sleep(3) print '3 Seconds Later' backProc = Process(target=testFun, args=()) backProc.start() @app.route('/') def root(): return 'Root' if __name__ == '__main__': app.run(debug=True)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">time</span> <span class="pl-k">from</span> <span class="pl-s1">multiprocessing</span> <span class="pl-k">import</span> <span class="pl-v">Process</span> <span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>) <span class="pl-k">def</span> <span class="pl-en">testFun</span>(): <span class="pl-k">print</span> <span class="pl-s">'Starting'</span> <span class="pl-s1">time</span>.<span class="pl-en">sleep</span>(<span class="pl-c1">3</span>) <span class="pl-k">print</span> <span class="pl-s">'3 Seconds Later'</span> <span class="pl-s1">backProc</span> <span class="pl-c1">=</span> <span class="pl-v">Process</span>(<span class="pl-s1">target</span><span class="pl-c1">=</span><span class="pl-s1">testFun</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span>()) <span class="pl-s1">backProc</span>.<span class="pl-en">start</span>() <span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>)</span> <span class="pl-k">def</span> <span class="pl-en">root</span>(): <span class="pl-k">return</span> <span class="pl-s">'Root'</span> <span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>: <span class="pl-s1">app</span>.<span class="pl-en">run</span>(<span class="pl-s1">debug</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div>
0
<p dir="auto">I have a form with the following code:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$form = $this-&gt;factory-&gt;create('Symfony\Component\Form\Extension\Core\Type\ChoiceType', null, array( 'multiple' =&gt; false, 'expanded' =&gt; false, 'choices' =&gt; array( 'label a' =&gt; false, 'label b' =&gt; true, ), 'choices_as_values' =&gt; true, ));"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">factory</span>-&gt;<span class="pl-en">create</span>(<span class="pl-s">'Symfony\Component\Form\Extension\Core\Type\ChoiceType'</span>, <span class="pl-c1">null</span>, <span class="pl-en">array</span>( <span class="pl-s">'multiple'</span> =&gt; <span class="pl-c1">false</span>, <span class="pl-s">'expanded'</span> =&gt; <span class="pl-c1">false</span>, <span class="pl-s">'choices'</span> =&gt; <span class="pl-en">array</span>( <span class="pl-s">'label a'</span> =&gt; <span class="pl-c1">false</span>, <span class="pl-s">'label b'</span> =&gt; <span class="pl-c1">true</span>, ), <span class="pl-s">'choices_as_values'</span> =&gt; <span class="pl-c1">true</span>, ));</pre></div> <p dir="auto">When submitting the form, none of the two radio buttons are selected, i.e. the values are lost.</p> <p dir="auto">I've written a unit test for it in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/imphil/symfony/commit/71a59b79fe2afb5db1fd5e5e28f46b52b7e961cd/hovercard" href="https://github.com/imphil/symfony/commit/71a59b79fe2afb5db1fd5e5e28f46b52b7e961cd">imphil@<tt>71a59b7</tt></a></p> <p dir="auto">Currently it fails with</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="There were 2 failures: 1) Symfony\Component\Form\Tests\Extension\Core\Type\ChoiceTypeTest::testSubmitSingleExpandedBooleanValueFalse Failed asserting that false is identical to '0'. /home/philipp/src/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:354 2) Symfony\Component\Form\Tests\Extension\Core\Type\ChoiceTypeTest::testSubmitSingleExpandedBooleanValueTrue Failed asserting that true is identical to '1'. /home/philipp/src/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:373"><pre class="notranslate"><code class="notranslate">There were 2 failures: 1) Symfony\Component\Form\Tests\Extension\Core\Type\ChoiceTypeTest::testSubmitSingleExpandedBooleanValueFalse Failed asserting that false is identical to '0'. /home/philipp/src/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:354 2) Symfony\Component\Form\Tests\Extension\Core\Type\ChoiceTypeTest::testSubmitSingleExpandedBooleanValueTrue Failed asserting that true is identical to '1'. /home/philipp/src/symfony/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypeTest.php:373 </code></pre></div> <p dir="auto">The problem only happens with boolean values and expanded=true. It seems that a proper conversion to the view data is missing. Unfortunately I have no idea about the inner workings of Symfony -- maybe someone with a bit more experience can have a look?</p> <p dir="auto">(This seems to be similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="85524044" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/14877" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/14877/hovercard" href="https://github.com/symfony/symfony/issues/14877">#14877</a>, but maybe not exactly the same, so I didn't want to hijack that issue.)</p>
<p dir="auto">Hi,</p> <p dir="auto">I'm currently updating my code to symfony 2.7 and I saw a weird behavior with choice field form with boolean value.</p> <p dir="auto">Here is my form class:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;?php namespace Icap\DropzoneBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class DropzoneCommonType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder -&gt;add('peerReview', 'choice', array( 'required' =&gt; true, 'choices' =&gt; array( 'Standard evaluation' =&gt; false, 'Peer review evaluation' =&gt; true ), 'choices_as_values' =&gt; true, 'expanded' =&gt; true, 'multiple' =&gt; false )); } public function getName() { return 'icap_dropzone_common_form'; } public function configureOptions(OptionsResolver $resolver) { $resolver-&gt;setDefaults( array( 'data_class' =&gt; 'Icap\DropzoneBundle\Entity\Dropzone', 'language' =&gt; 'en', 'translation_domain' =&gt; 'icap_dropzone', 'date_format' =&gt; DateType::HTML5_FORMAT, ) ); } }"><pre class="notranslate"><span class="pl-ent">&lt;?php</span> <span class="pl-k">namespace</span> <span class="pl-v">Icap</span>\<span class="pl-v">DropzoneBundle</span>\<span class="pl-v">Form</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Form</span>\<span class="pl-v">AbstractType</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">Form</span>\<span class="pl-v">FormBuilderInterface</span>; <span class="pl-k">use</span> <span class="pl-v">Symfony</span>\<span class="pl-v">Component</span>\<span class="pl-v">OptionsResolver</span>\<span class="pl-v">OptionsResolver</span>; <span class="pl-k">class</span> <span class="pl-v">DropzoneCommonType</span> <span class="pl-k">extends</span> <span class="pl-v">AbstractType</span> { <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">buildForm</span>(<span class="pl-smi"><span class="pl-smi">FormBuilderInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>builder</span>, <span class="pl-smi">array</span> <span class="pl-s1"><span class="pl-c1">$</span>options</span>) { <span class="pl-s1"><span class="pl-c1">$</span>builder</span> -&gt;<span class="pl-en">add</span>(<span class="pl-s">'peerReview'</span>, <span class="pl-s">'choice'</span>, <span class="pl-en">array</span>( <span class="pl-s">'required'</span> =&gt; <span class="pl-c1">true</span>, <span class="pl-s">'choices'</span> =&gt; <span class="pl-en">array</span>( <span class="pl-s">'Standard evaluation'</span> =&gt; <span class="pl-c1">false</span>, <span class="pl-s">'Peer review evaluation'</span> =&gt; <span class="pl-c1">true</span> ), <span class="pl-s">'choices_as_values'</span> =&gt; <span class="pl-c1">true</span>, <span class="pl-s">'expanded'</span> =&gt; <span class="pl-c1">true</span>, <span class="pl-s">'multiple'</span> =&gt; <span class="pl-c1">false</span> )); } <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">getName</span>() { <span class="pl-k">return</span> <span class="pl-s">'icap_dropzone_common_form'</span>; } <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">configureOptions</span>(<span class="pl-smi"><span class="pl-smi">OptionsResolver</span></span> <span class="pl-s1"><span class="pl-c1">$</span>resolver</span>) { <span class="pl-s1"><span class="pl-c1">$</span>resolver</span>-&gt;<span class="pl-en">setDefaults</span>( <span class="pl-en">array</span>( <span class="pl-s">'data_class'</span> =&gt; <span class="pl-s">'Icap\DropzoneBundle\Entity\Dropzone'</span>, <span class="pl-s">'language'</span> =&gt; <span class="pl-s">'en'</span>, <span class="pl-s">'translation_domain'</span> =&gt; <span class="pl-s">'icap_dropzone'</span>, <span class="pl-s">'date_format'</span> =&gt; <span class="pl-v">DateType</span>::<span class="pl-c1">HTML5_FORMAT</span>, ) ); } }</pre></div> <p dir="auto">And how the field is displayed, pretty classic:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{{ form_row(form.peerReview, {'label_attr': {'style': 'display: none;'}}) }}"><pre class="notranslate"><code class="notranslate">{{ form_row(form.peerReview, {'label_attr': {'style': 'display: none;'}}) }} </code></pre></div> <p dir="auto">But at the display of the form the field doesn't have its value checked, the radio button here.<br> The radio button is checked at the display of the form only after submitting it.</p> <p dir="auto">I checked in the debug bar to see what was in the form and I found what I think it's an error.<br> Before submitting the form the value, and the data, of the field peerReview is 1, and after submitting the value, and the data to, is true. I checked in my object and the attribute is a boolean with true as value.<br> After submitting the value is boolean, what I expect it to be, but before submission it's an integer.</p> <p dir="auto">Is it a bug or am I missing something?</p>
1
<p dir="auto">while using Apache superset connexion with dataBase done successfully but when i'm trying to execute sql request i got this error</p> <p dir="auto"><strong>(1045, "Access denied for user 'ETL_DEV'@'bbox.lan' (using password: YES)") (Background on this error at: <a href="http://sqlalche.me/e/e3q8" rel="nofollow">http://sqlalche.me/e/e3q8</a>)</strong></p> <p dir="auto">i think that is an error of access what are the permissions required ? or How to resolve this problem?</p>
<p dir="auto">I failed by installing via Docker on Mac Os M1 with Docker Preview version 7.<br> Yes, i know it is a rare case.</p> <h3 dir="auto">Expected results</h3> <p dir="auto">Successfull install</p> <h3 dir="auto">Actual results</h3> <p dir="auto">Failed install.</p> <p dir="auto">Attaching to superset_cache, superset_db, superset_tests_worker, superset_worker, superset_node, superset_app, superset_init<br> superset_cache | 1:C 22 Jan 19:51:04.667 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf<br> superset_app | Skipping local overrides<br> superset_db |<br> superset_db | PostgreSQL Database directory appears to contain a database; Skipping initialization<br> superset_db |<br> superset_db | 2021-01-22 19:51:04.825 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432<br> superset_db | 2021-01-22 19:51:04.825 UTC [1] LOG: listening on IPv6 address "::", port 5432<br> superset_db | 2021-01-22 19:51:04.985 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"<br> superset_cache | <em>.</em><br> superset_cache | <em>.-<code class="notranslate">__ ''-._ superset_cache | _.-</code> <code class="notranslate">. </code></em>. ''-._ Redis 3.2.12 (00000000/0) 64 bit<br> superset_cache | .-<code class="notranslate"> .-```. ```\/ _.,_ ''-._ superset_cache | ( ' , .-` | `, ) Running in standalone mode superset_cache | |`-._`-...-` __...-.</code>-.<em>|'<code class="notranslate">_.-'| Port: 6379 superset_cache | | </code>-.</em> <code class="notranslate">._ / _.-' | PID: 1 superset_cache | </code>-._ <code class="notranslate">-._ </code>-./ <em>.-' <em>.-'<br> superset_cache | |<code class="notranslate">-._</code>-.</em> <code class="notranslate">-.__.-' _.-'_.-'| superset_cache | | </code>-.</em><code class="notranslate">-._ _.-'_.-' | http://redis.io superset_cache | </code>-._ <code class="notranslate">-._</code>-.<strong>.-'<em>.-' <em>.-'<br> superset_cache | |<code class="notranslate">-._</code>-.</em> <code class="notranslate">-.__.-' _.-'_.-'| superset_cache | | </code>-.</em><code class="notranslate">-._ _.-'_.-' | superset_cache | </code>-._ <code class="notranslate">-._</code>-.</strong>.-'_.-' _.-'<br> superset_cache | <code class="notranslate">-._ </code>-.<strong>.-' _.-'<br> superset_cache | <code class="notranslate">-._ _.-' superset_cache | </code>-.</strong>.-'<br> superset_cache |<br> superset_app | Starting web app...<br> superset_cache | 1:M 22 Jan 19:51:04.678 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.<br> superset_cache | 1:M 22 Jan 19:51:04.678 # Server started, Redis version 3.2.12<br> superset_db | 2021-01-22 19:51:05.121 UTC [25] LOG: database system was shut down at 2021-01-22 19:45:31 UTC<br> superset_db | 2021-01-22 19:51:05.231 UTC [1] LOG: database system is ready to accept connections<br> superset_node | npm WARN using --force I sure hope you know what you are doing.<br> superset_tests_worker | Skipping local overrides<br> superset_cache | 1:M 22 Jan 19:51:04.678 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never &gt; /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.<br> superset_tests_worker | Starting Celery worker...<br> superset_worker | Skipping local overrides<br> superset_worker | Starting Celery worker...<br> superset_cache | 1:M 22 Jan 19:51:04.678 * DB loaded from disk: 0.000 seconds<br> superset_cache | 1:M 22 Jan 19:51:04.678 * The server is now ready to accept connections on port 6379<br> superset_init | Skipping local overrides<br> superset_init |<br> superset_init | ######################################################################<br> superset_init |<br> superset_init |<br> superset_init | Init Step 1/4 [Starting] -- Applying DB migrations<br> superset_init |<br> superset_init |<br> superset_init | ######################################################################<br> superset_init |<br> superset_app | * Serving Flask app "superset.app:create_app()" (lazy loading)<br> superset_app | * Environment: development<br> superset_app | * Debug mode: on<br> superset_app | * Running on <a href="http://0.0.0.0:8088/" rel="nofollow">http://0.0.0.0:8088/</a> (Press CTRL+C to quit)<br> superset_app | * Restarting with stat<br> superset_node | /usr/local/bin/webpack -&gt; /usr/local/lib/node_modules/webpack/bin/webpack.js<br> superset_node | /usr/local/bin/webpack-cli -&gt; /usr/local/lib/node_modules/webpack-cli/bin/cli.js<br> superset_node | + [email protected]<br> superset_node | + [email protected]<br> superset_node | updated 2 packages in 6.797s<br> superset_node | npm WARN using --force I sure hope you know what you are doing.<br> superset_tests_worker | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_db | 2021-01-22 19:51:23.523 UTC [32] FATAL: database "test" does not exist<br> <strong>superset_tests_worker | /usr/local/lib/python3.7/site-packages/flask_caching/init.py:192: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.</strong><br> superset_tests_worker | "Flask-Caching: CACHE_TYPE is set to null, "<br> <strong>superset_tests_worker | ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) FATAL: database "test" does not exist</strong><br> superset_tests_worker |<br> superset_tests_worker | (Background on this error at: <a href="http://sqlalche.me/e/13/e3q8" rel="nofollow">http://sqlalche.me/e/13/e3q8</a>)<br> superset_tests_worker | Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]<br> superset_worker | INFO:superset.utils.logging_configurator:logging was configured successfully<br> <strong>superset_tests_worker exited with code 1<br> superset_worker | qemu: uncaught target signal 4 (Illegal instruction) - core dumped</strong><br> superset_db | 2021-01-22 19:51:25.820 UTC [33] LOG: unexpected EOF on client connection with an open transaction<br> superset_worker | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO<br> superset_app | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_worker | Skipping local overrides<br> superset_worker | Starting Celery worker...<br> superset_init | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_app | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:30.125 UTC [34] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_app | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0</strong><br> superset_init | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:30.765 UTC [35] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_init | /app/docker/docker-init.sh: line 51: 16 Illegal instruction superset db upgrade<br> superset_init exited with code 132</strong><br> superset_worker | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_app | * Serving Flask app "superset.app:create_app()" (lazy loading)<br> superset_app | * Environment: development<br> superset_app | * Debug mode: on<br> superset_worker | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:36.792 UTC [37] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_worker | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO</strong><br> superset_app | * Running on <a href="http://0.0.0.0:8088/" rel="nofollow">http://0.0.0.0:8088/</a> (Press CTRL+C to quit)<br> superset_app | * Restarting with stat<br> superset_worker exited with code 132<br> superset_app | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_app | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:40.972 UTC [38] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_app | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0</strong><br> superset_app exited with code 132<br> superset_worker | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_worker | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:44.664 UTC [39] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_worker | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO</strong><br> superset_worker exited with code 132<br> superset_app | * Serving Flask app "superset.app:create_app()" (lazy loading)<br> superset_app | * Environment: development<br> superset_app | * Debug mode: on<br> superset_app | * Running on <a href="http://0.0.0.0:8088/" rel="nofollow">http://0.0.0.0:8088/</a> (Press CTRL+C to quit)<br> superset_app | * Restarting with stat<br> superset_app | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_app | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:50.367 UTC [40] LOG: unexpected EOF on client connection with an open transaction<br> <strong>superset_app | /app/docker/docker-bootstrap.sh: line 45: 12 Illegal instruction flask run -p 8088 --with-threads --reload --debugger --host=0.0.0.0</strong><br> superset_app exited with code 132<br> superset_worker | INFO:superset.utils.logging_configurator:logging was configured successfully<br> superset_worker | qemu: uncaught target signal 4 (Illegal instruction) - core dumped<br> superset_db | 2021-01-22 19:51:52.182 UTC [41] LOG: unexpected EOF on client connection with an open transaction<br> superset_worker | /app/docker/docker-bootstrap.sh: line 45: 10 Illegal instruction celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO</p> <h4 dir="auto">Screenshots</h4> <p dir="auto">If applicable, add screenshots to help explain your problem.</p> <h4 dir="auto">How to reproduce the bug</h4> <p dir="auto">I followed the install notice from here<br> <a href="https://superset.apache.org/docs/installation/installing-superset-using-docker-compose" rel="nofollow">https://superset.apache.org/docs/installation/installing-superset-using-docker-compose</a></p> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>superset version: <code class="notranslate">dev-latest</code></li> <li>python version: <code class="notranslate">3.7.9</code></li> <li>node.js version: <code class="notranslate">12.20.1</code></li> </ul> <h3 dir="auto">Checklist</h3> <p dir="auto">Make sure to follow these steps before submitting your issue - thank you!</p> <ul dir="auto"> <li>[ x] I have checked the superset logs for python stacktraces and included it here as text if there are any.</li> <li>[ x] I have reproduced the issue with at least the latest released version of superset.</li> <li>[ x] I have checked the issue tracker for the same issue and I haven't found one similar.</li> </ul> <h3 dir="auto">Additional context</h3>
0
<p dir="auto">The following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function resolve({a, b}, c) { return resolve(); }"><pre class="notranslate"><code class="notranslate">function resolve({a, b}, c) { return resolve(); } </code></pre></div> <p dir="auto">results in:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;use strict&quot;; function f(_x, _x2) { var _again = true; _function: while (_again) { var a = _ref.a; var b = _ref.b; _again = false; var _ref = _x, c = _x2; a = b = undefined; _again = true; continue _function; } }"><pre class="notranslate"><code class="notranslate">"use strict"; function f(_x, _x2) { var _again = true; _function: while (_again) { var a = _ref.a; var b = _ref.b; _again = false; var _ref = _x, c = _x2; a = b = undefined; _again = true; continue _function; } } </code></pre></div> <p dir="auto">This obviously breaks, as <code class="notranslate">_ref</code> is accessed before being declared.<br> It only seems to happen, if the function is named (and recurses by calling itself by that name) and takes more than one argument.<br> The above example is the smallest I could narrow it down to. I realise it would create an endless loop, but the problem still exists, if you make the recursing conditional.</p> <p dir="auto">I hope this issue is not a duplicate of anything and I did not accidentally miss another issue.<br> Tested with [email protected], straight from npm.</p>
<p dir="auto">I looked at the resulting code and was curious if the <code class="notranslate">_extends</code> that gets created also gets renamed if I create an identifier with the same name, it works when it's all on the root level, but inside a function it seems to fail.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="it('', () =&gt; { const _extends = {}; const obj = {...obj}; });"><pre class="notranslate"><code class="notranslate">it('', () =&gt; { const _extends = {}; const obj = {...obj}; }); </code></pre></div> <p dir="auto">transpiles to this</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var _extends = 'lots of code ....'; it('', function () { var _extends = {}; var obj = _extends({}, obj); });"><pre class="notranslate"><code class="notranslate">var _extends = 'lots of code ....'; it('', function () { var _extends = {}; var obj = _extends({}, obj); }); </code></pre></div> <p dir="auto">which would use my <code class="notranslate">_extends</code>, which I think is not intended, right?</p> <p dir="auto">see <a href="https://babeljs.io/repl/#?experimental=true&amp;evaluate=true&amp;loose=false&amp;spec=false&amp;playground=false&amp;code=it%28''%2C%20%28%29%20%3D%3E%20%7B%0A%20%20const%20_extends%20%3D%20%7B%7D%3B%0A%20%20const%20obj%20%3D%20%7B...obj%7D%3B%0A%7D%29%3B" rel="nofollow">example repl</a></p>
0
<p dir="auto">In a drodown, the two classes are missing:</p> <p dir="auto"><code class="notranslate">&lt;li class="nav-header"&gt;&lt;/li&gt;</code><br> <code class="notranslate">&lt;li class="divider"&gt;&lt;/li&gt;</code></p> <p dir="auto">These were around until bootstrap 3.0 and there is no info on a class name change in the docs.</p>
<p dir="auto">There is nav-list in bootstrap 3?</p>
1