text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">module_utils</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.13 (default, Jul 21 2017, 03:24:34) [GCC 7.1.1 20170630]"><pre class="notranslate"><code class="notranslate">ansible 2.3.2.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
python version = 2.7.13 (default, Jul 21 2017, 03:24:34) [GCC 7.1.1 20170630]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">No specific configuration</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">It does not seem that there is at present a way to have common code between plugins provided adjacent to a playbook or in a role. This can result in plugin files having a lot of common code which has to be maintained in multiple places. I think it would be beneficial for there to be a way of sharing code between plugins. This is possible (and common) within the packaged plugins and will help with the development of new plugins.</p>
<p dir="auto">For modules, a <code class="notranslate">modules_utils</code> directory can be included adjacent to the playbook or inside the role which can then be accessed by custom modules to provide common functionality. This is extremely useful but does not work with plugins. Whether it is by making <code class="notranslate">modules_utils</code> inside action plugins or by creating some other directory for common code, I would like to see the</p>
<p dir="auto">If I am not mistaken, plugins all run locally and modules run on the remote host. As such I assume that all <code class="notranslate">module_utils</code> are sent to the remote host. Given this, it may be beneficial to have <code class="notranslate">plugin_utils</code> which are only available to plugins and are hence not sent to remote hosts. This is not to say that <code class="notranslate">module_utils</code> shouldn't also be available to plugins to avoid the need for the same code in <code class="notranslate">plugin_utils</code> and <code class="notranslate">module_utils</code>.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">I have created a <a href="https://github.com/flungo/ansible-module_utils-test">small project</a> which shows that the files under <code class="notranslate">module_utils</code> can be used</p>
<p dir="auto">To run this sample, use <code class="notranslate">ansible -vvv playbook.yml</code>.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">I would like the common code to be imported and for the module to run successfully with the following output for the second task:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK [Get the time using the plugin] ********************************************************************
task path: /home/flungo/developer/ansible/module_util_test/playbook.yml:5
ok: [localhost] => {
"changed": false,
"datetime": "2017-08-29 14:58:19.903485"
}"><pre class="notranslate"><code class="notranslate">TASK [Get the time using the plugin] ********************************************************************
task path: /home/flungo/developer/ansible/module_util_test/playbook.yml:5
ok: [localhost] => {
"changed": false,
"datetime": "2017-08-29 14:58:19.903485"
}
</code></pre></div>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">The import fails and so the module cannot be loaded:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! Unexpected Exception: No module named datetime_helper
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 109, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 154, in run
results = pbex.run()
File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 153, in run
result = self._tqm.run(play=play)
File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 288, in run
play_return = strategy.run(iterator, play_context)
File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py", line 203, in run
action = action_loader.get(task.action, class_only=True)
File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 358, in get
self._module_cache[path] = self._load_module_source(name, path)
File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 343, in _load_module_source
module = imp.load_source(full_name, path, module_file)
File "/home/flungo/developer/ansible/module_util_test/action_plugins/datetime_plugin.py", line 2, in <module>
from ansible.module_utils.datetime_helper import get_datetime
ImportError: No module named datetime_helper"><pre class="notranslate"><code class="notranslate">ERROR! Unexpected Exception: No module named datetime_helper
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 109, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 154, in run
results = pbex.run()
File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 153, in run
result = self._tqm.run(play=play)
File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 288, in run
play_return = strategy.run(iterator, play_context)
File "/usr/lib/python2.7/site-packages/ansible/plugins/strategy/linear.py", line 203, in run
action = action_loader.get(task.action, class_only=True)
File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 358, in get
self._module_cache[path] = self._load_module_source(name, path)
File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 343, in _load_module_source
module = imp.load_source(full_name, path, module_file)
File "/home/flungo/developer/ansible/module_util_test/action_plugins/datetime_plugin.py", line 2, in <module>
from ansible.module_utils.datetime_helper import get_datetime
ImportError: No module named datetime_helper
</code></pre></div> | <p dir="auto">I suspect that <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bcoca/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bcoca">@bcoca</a>'s atomic-copy changes in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/caf6bd6ce580f7e9bac719629eff3f77ded52e46/hovercard" href="https://github.com/ansible/ansible/commit/caf6bd6ce580f7e9bac719629eff3f77ded52e46"><tt>caf6bd6</tt></a> can cause some unintended SELinux-related side effects. I've got a playbook that copies a file to the destination host:</p>
<p dir="auto">Before:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@nagios limits.d]# ls -lZ
-rw-r--r--. root root system_u:object_r:etc_t:s0 90-nproc.conf
-rw-r--r--. root root unconfined_u:object_r:etc_t:s0 riak.conf"><pre class="notranslate"><code class="notranslate">[root@nagios limits.d]# ls -lZ
-rw-r--r--. root root system_u:object_r:etc_t:s0 90-nproc.conf
-rw-r--r--. root root unconfined_u:object_r:etc_t:s0 riak.conf
</code></pre></div>
<p dir="auto">After:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[root@nagios ~]# ls -lZ /etc/security/limits.d/
-rw-r--r--. root root system_u:object_r:etc_t:s0 90-nproc.conf
-rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 riak.conf"><pre class="notranslate"><code class="notranslate">[root@nagios ~]# ls -lZ /etc/security/limits.d/
-rw-r--r--. root root system_u:object_r:etc_t:s0 90-nproc.conf
-rw-r--r--. root root unconfined_u:object_r:admin_home_t:s0 riak.conf
</code></pre></div>
<p dir="auto">This particular change actually breaks root login and I suspect it's because of the change in SELinux security context from "etc_t" to "admin_home_t".</p>
<p dir="auto">I don't really know enough about SELinux to comment more extensively on this. I hope someone else can shed some light.</p> | 0 |
<p dir="auto">I got the compiler to panic. Here is the <strong>backtrace</strong>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ RUST_BACKTRACE=1 cargo build
Compiling mdbook v0.0.1 (file:///home/mathieu/Programming/Rust/mdbook)
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'fold_mac disabled by default', ../src/libsyntax/fold.rs:190
stack backtrace:
1: 0x7f8f9d556c8e - sys::backtrace::write::hba0090c65dc9b973kqs
2: 0x7f8f9d55eb34 - panicking::on_panic::ha888d43548c7ef7dU7w
3: 0x7f8f9d52168e - rt::unwind::begin_unwind_inner::h6c07c3faf8145c2ayNw
4: 0x7f8f9a83aba1 - rt::unwind::begin_unwind::h61311074365208902
5: 0x7f8f9aa98c31 - ptr::P<T>::map::h4262623173329566783
6: 0x7f8f9aa8953e - ext::expand::expand_expr::closure.64692
7: 0x7f8f9aa87344 - ext::expand::expand_expr::h5d16b298ec3e6d44S3a
8: 0x7f8f9aad6e3b - fold::noop_fold_stmt::h2830177968221966586
9: 0x7f8f9aab2f01 - ext::expand::expand_stmt::ha540a83711e3b587zEb
10: 0x7f8f9aadf7d3 - ext::expand::expand_block_elts::closure.65399
11: 0x7f8f9aadf4cc - iter::FlatMap<I, U, F>.Iterator::next::h15931703869202550713
12: 0x7f8f9aade2b7 - vec::Vec<T>.FromIterator<T>::from_iter::h17304921018562427167
13: 0x7f8f9aadd873 - ext::expand::expand_block_elts::closure.65393
14: 0x7f8f9aa9a5d6 - ext::expand::expand_block_elts::hdc0f023594f31dbdvPb
15: 0x7f8f9aadd57d - ext::expand::expand_block::h154763b840e3f863QOb
16: 0x7f8f9aa9a004 - ext::expand::expand_and_rename_fn_decl_and_block::he58b2e30da928a59Uic
17: 0x7f8f9ab05525 - ext::expand::expand_and_rename_method::he352edb1d6a5af96ekc
18: 0x7f8f9ab0a1cf - ext::expand::expand_impl_item::closure.65811
19: 0x7f8f9ab06c7f - ext::expand::expand_impl_item::hc5ab3bcbf3bfabe2Dfc
20: 0x7f8f9aa9db5e - ext::expand::expand_annotatable::h347111f998e00452RZb
21: 0x7f8f9aaacca5 - ext::expand::MacroExpander<'a, 'b>.Folder::fold_impl_item::h4b925cb3f2b4ecddKnc
22: 0x7f8f9aaac77d - iter::FlatMap<I, U, F>.Iterator::next::h10775116680282487154
23: 0x7f8f9aaaca53 - vec::Vec<T>::extend_desugared::h16127363502739536117
24: 0x7f8f9aaab6bf - iter::Iterator::collect::h10569062580348617273
25: 0x7f8f9aaa2597 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
26: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
27: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
28: 0x7f8f9aa9e6c6 - ext::expand::expand_annotatable::h347111f998e00452RZb
29: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
30: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
31: 0x7f8f9aaa6007 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
32: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
33: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
34: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
35: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
36: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
37: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
38: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
39: 0x7f8f9aaa5cf4 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
40: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
41: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
42: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
43: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
44: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
45: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
46: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
47: 0x7f8f9aaa6007 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
48: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
49: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
50: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
51: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
52: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
53: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
54: 0x7f8f9ab0d5b9 - ext::expand::expand_crate::hffd65e9f8234e652prc
55: 0x7f8f9daf3a1d - driver::phase_2_configure_and_expand::closure.21446
56: 0x7f8f9daa56dc - driver::phase_2_configure_and_expand::h6227118d5a2dbd5dita
57: 0x7f8f9da94a3a - driver::compile_input::ha9b5fd65b77d50f6Tba
58: 0x7f8f9db72863 - run_compiler::h240fdc5369e0b898x7b
59: 0x7f8f9db7023e - boxed::F.FnBox<A>::call_box::h17338777036410156156
60: 0x7f8f9db6fa89 - rt::unwind::try::try_fn::h2295644814600911096
61: 0x7f8f9d5d6d38 - rust_try_inner
62: 0x7f8f9d5d6d25 - rust_try
63: 0x7f8f9d549ee7 - rt::unwind::try::inner_try::h3a5b73fc117bcddfrJw
64: 0x7f8f9db6fc9b - boxed::F.FnBox<A>::call_box::h803341546616928030
65: 0x7f8f9d55d791 - sys::thread::Thread::new::thread_start::h780a1f33992577dcoTv
66: 0x7f8f97bef353 - start_thread
67: 0x7f8f9d1b8bfc - __clone
68: 0x0 - <unknown>
"><pre class="notranslate"><code class="notranslate">$ RUST_BACKTRACE=1 cargo build
Compiling mdbook v0.0.1 (file:///home/mathieu/Programming/Rust/mdbook)
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'fold_mac disabled by default', ../src/libsyntax/fold.rs:190
stack backtrace:
1: 0x7f8f9d556c8e - sys::backtrace::write::hba0090c65dc9b973kqs
2: 0x7f8f9d55eb34 - panicking::on_panic::ha888d43548c7ef7dU7w
3: 0x7f8f9d52168e - rt::unwind::begin_unwind_inner::h6c07c3faf8145c2ayNw
4: 0x7f8f9a83aba1 - rt::unwind::begin_unwind::h61311074365208902
5: 0x7f8f9aa98c31 - ptr::P<T>::map::h4262623173329566783
6: 0x7f8f9aa8953e - ext::expand::expand_expr::closure.64692
7: 0x7f8f9aa87344 - ext::expand::expand_expr::h5d16b298ec3e6d44S3a
8: 0x7f8f9aad6e3b - fold::noop_fold_stmt::h2830177968221966586
9: 0x7f8f9aab2f01 - ext::expand::expand_stmt::ha540a83711e3b587zEb
10: 0x7f8f9aadf7d3 - ext::expand::expand_block_elts::closure.65399
11: 0x7f8f9aadf4cc - iter::FlatMap<I, U, F>.Iterator::next::h15931703869202550713
12: 0x7f8f9aade2b7 - vec::Vec<T>.FromIterator<T>::from_iter::h17304921018562427167
13: 0x7f8f9aadd873 - ext::expand::expand_block_elts::closure.65393
14: 0x7f8f9aa9a5d6 - ext::expand::expand_block_elts::hdc0f023594f31dbdvPb
15: 0x7f8f9aadd57d - ext::expand::expand_block::h154763b840e3f863QOb
16: 0x7f8f9aa9a004 - ext::expand::expand_and_rename_fn_decl_and_block::he58b2e30da928a59Uic
17: 0x7f8f9ab05525 - ext::expand::expand_and_rename_method::he352edb1d6a5af96ekc
18: 0x7f8f9ab0a1cf - ext::expand::expand_impl_item::closure.65811
19: 0x7f8f9ab06c7f - ext::expand::expand_impl_item::hc5ab3bcbf3bfabe2Dfc
20: 0x7f8f9aa9db5e - ext::expand::expand_annotatable::h347111f998e00452RZb
21: 0x7f8f9aaacca5 - ext::expand::MacroExpander<'a, 'b>.Folder::fold_impl_item::h4b925cb3f2b4ecddKnc
22: 0x7f8f9aaac77d - iter::FlatMap<I, U, F>.Iterator::next::h10775116680282487154
23: 0x7f8f9aaaca53 - vec::Vec<T>::extend_desugared::h16127363502739536117
24: 0x7f8f9aaab6bf - iter::Iterator::collect::h10569062580348617273
25: 0x7f8f9aaa2597 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
26: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
27: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
28: 0x7f8f9aa9e6c6 - ext::expand::expand_annotatable::h347111f998e00452RZb
29: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
30: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
31: 0x7f8f9aaa6007 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
32: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
33: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
34: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
35: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
36: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
37: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
38: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
39: 0x7f8f9aaa5cf4 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
40: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
41: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
42: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
43: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
44: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
45: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
46: 0x7f8f9aaa721e - iter::FlatMap<I, U, F>.Iterator::next::h3067849998977955174
47: 0x7f8f9aaa6007 - vec::Vec<T>.FromIterator<T>::from_iter::h17852130624423508185
48: 0x7f8f9aaa573c - fold::noop_fold_mod::h8231944226184386280
49: 0x7f8f9aaa1955 - ext::expand::expand_item_underscore::h1ae9e40d706a69f4Zsb
50: 0x7f8f9ab047bd - fold::Folder::fold_item_simple::h13015839913330126400
51: 0x7f8f9ab043f4 - ptr::P<T>::map::h5783195092218359557
52: 0x7f8f9aa9f127 - ext::expand::expand_annotatable::h347111f998e00452RZb
53: 0x7f8f9aa9a728 - ext::expand::expand_item::h3529ff04c83295ccosb
54: 0x7f8f9ab0d5b9 - ext::expand::expand_crate::hffd65e9f8234e652prc
55: 0x7f8f9daf3a1d - driver::phase_2_configure_and_expand::closure.21446
56: 0x7f8f9daa56dc - driver::phase_2_configure_and_expand::h6227118d5a2dbd5dita
57: 0x7f8f9da94a3a - driver::compile_input::ha9b5fd65b77d50f6Tba
58: 0x7f8f9db72863 - run_compiler::h240fdc5369e0b898x7b
59: 0x7f8f9db7023e - boxed::F.FnBox<A>::call_box::h17338777036410156156
60: 0x7f8f9db6fa89 - rt::unwind::try::try_fn::h2295644814600911096
61: 0x7f8f9d5d6d38 - rust_try_inner
62: 0x7f8f9d5d6d25 - rust_try
63: 0x7f8f9d549ee7 - rt::unwind::try::inner_try::h3a5b73fc117bcddfrJw
64: 0x7f8f9db6fc9b - boxed::F.FnBox<A>::call_box::h803341546616928030
65: 0x7f8f9d55d791 - sys::thread::Thread::new::thread_start::h780a1f33992577dcoTv
66: 0x7f8f97bef353 - start_thread
67: 0x7f8f9d1b8bfc - __clone
68: 0x0 - <unknown>
</code></pre></div>
<p dir="auto"><strong>This is the part of my code that made the compiler panic:</strong></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn parse_summary(&mut self) -> Result<()> {
let summary = BufReader::new(try!(File::open(self.config.src().join("SUMMARY.md"))));
let mut level = -1;
for try!(line) in summary.lines() {
let indent = utilities::indent(&line, 4);
// If the difference between the current level and the indent level is greater than
// one then there is a syntax error in SUMMARY.md
/*if i32::abs(level - indent) > 1 {
return Error::new(ErrorKind::Other,"Indentation error in SUMMARY.md at line:\n\n")
}*/
}
Ok(())
}"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">parse_summary</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-k">mut</span> <span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">Result</span><span class="pl-kos"><</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> summary = <span class="pl-smi">BufReader</span><span class="pl-kos">::</span><span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-en">try</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-v">File</span>::open<span class="pl-kos">(</span><span class="pl-smi">self</span>.config.src<span class="pl-kos">(</span><span class="pl-kos">)</span>.join<span class="pl-kos">(</span><span class="pl-s">"SUMMARY.md"</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-k">mut</span> level = -<span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-en">try</span><span class="pl-en">!</span><span class="pl-kos">(</span>line<span class="pl-kos">)</span> <span class="pl-k">in</span> summary<span class="pl-kos">.</span><span class="pl-en">lines</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> indent = utilities<span class="pl-kos">::</span><span class="pl-en">indent</span><span class="pl-kos">(</span><span class="pl-c1">&</span>line<span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// If the difference between the current level and the indent level is greater than</span>
<span class="pl-c">// one then there is a syntax error in SUMMARY.md</span>
<span class="pl-c">/*if i32::abs(level - indent) > 1 {</span>
<span class="pl-c"> return Error::new(ErrorKind::Other,"Indentation error in SUMMARY.md at line:\n\n")</span>
<span class="pl-c"> }*/</span>
<span class="pl-kos">}</span>
<span class="pl-v">Ok</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">If I comment out the body of the function it works.</p>
<p dir="auto"><strong>Info about my machine:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Arch Linux
cargo 0.3.0-nightly (a2dd2ac 2015-06-24) (built 2015-06-23)
rustc 1.2.0-beta.1 (2ad26e850 2015-06-23)"><pre class="notranslate"><code class="notranslate">Arch Linux
cargo 0.3.0-nightly (a2dd2ac 2015-06-24) (built 2015-06-23)
rustc 1.2.0-beta.1 (2ad26e850 2015-06-23)
</code></pre></div>
<p dir="auto"><strong>I am not sure what info you need, so tell me if I forgot something or you want more code.</strong></p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="macro_rules! foo {
() => ()
}
pub fn main () {
for foo!() in (1..) {
}
}"><pre class="notranslate"><code class="notranslate">macro_rules! foo {
() => ()
}
pub fn main () {
for foo!() in (1..) {
}
}
</code></pre></div>
<p dir="auto">error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'fold_mac disabled by default', /home/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libsyntax/fold.rs:190
playpen: application terminated with error code 101"><pre class="notranslate"><code class="notranslate">error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'fold_mac disabled by default', /home/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libsyntax/fold.rs:190
playpen: application terminated with error code 101
</code></pre></div>
<p dir="auto">version is whatever is considered stable by <code class="notranslate">play.rust-lang.org</code> at 3:30pm UTC+12 13/07/2015, but also for the nightly and beta releases.</p> | 1 |
<p dir="auto">I start to get the feeling that the float parts of core are too huge to have them linked into every rust program. Besides, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4072811" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/2187" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/2187/hovercard" href="https://github.com/rust-lang/rust/issues/2187">#2187</a> suggests an overhaul of math. So is it time to pull it into a separate lib, just like in C, and only keep as few as possible but required minimal bits in core?</p> | <p dir="auto">The borrow checker gives different results when functions are manually inlined, giving confusing or annoying results.</p>
<p dir="auto">The following compiles:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Foo {
x: int,
y: int,
}
impl Foo {
pub fn foo(&mut self) {
let y = &mut self.y;
self.x = self.x + *y;
}
}"><pre class="notranslate"><code class="notranslate">struct Foo {
x: int,
y: int,
}
impl Foo {
pub fn foo(&mut self) {
let y = &mut self.y;
self.x = self.x + *y;
}
}
</code></pre></div>
<p dir="auto">The following does not:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct Foo {
x: int,
y: int,
}
impl Foo {
pub fn foo(&mut self) {
let y = self.bar();
self.x = self.x + *y;
}
pub fn bar(&mut self) -> &mut int {
&mut self.y
}
}"><pre class="notranslate"><code class="notranslate">struct Foo {
x: int,
y: int,
}
impl Foo {
pub fn foo(&mut self) {
let y = self.bar();
self.x = self.x + *y;
}
pub fn bar(&mut self) -> &mut int {
&mut self.y
}
}
</code></pre></div>
<p dir="auto">I don't believe this to be a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14199471" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/6393" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/6393/hovercard" href="https://github.com/rust-lang/rust/issues/6393">#6393</a>, because this has not only to do with scoping, but also the fact that a member function always borrows all of <code class="notranslate">self</code>.</p> | 0 |
<p dir="auto"><a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/7142/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce-parallel/7142/</a></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:278
Expected error:
<*errors.errorString | 0xc20802bf70>: {
s: "timed out waiting for the condition",
}
timed out waiting for the condition
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:278
Expected error:
<*errors.errorString | 0xc20802bf70>: {
s: "timed out waiting for the condition",
}
timed out waiting for the condition
not to have occurred
</code></pre></div> | <p dir="auto">"Services" e2e test seems to be broken (flaky) on head. See:<br>
<a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/8170/console" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/8170/console</a></p>
<p dir="auto">Summarizing 3 Failures:</p>
<p dir="auto">[Fail] Services [It] should be able to create a functioning external load balancer<br>
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1238</p>
<p dir="auto">[Fail] Services [It] should be able to change the type and nodeport settings of a service<br>
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1238</p>
<p dir="auto">[Fail] Services [It] should release the load balancer when Type goes from LoadBalancer -> NodePort<br>
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1238</p> | 1 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto"><code class="notranslate">tower_credential</code></p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/lmadsen/.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.13 (default, Sep 5 2017, 08:53:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/lmadsen/.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.13 (default, Sep 5 2017, 08:53:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DEFAULT_HOST_LIST(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = [u'/home/lmadsen/src/github/leifmadsen/awx-builder/inventory']
HOST_KEY_CHECKING(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = False
RETRY_FILES_ENABLED(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = False"><pre class="notranslate"><code class="notranslate">DEFAULT_HOST_LIST(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = [u'/home/lmadsen/src/github/leifmadsen/awx-builder/inventory']
HOST_KEY_CHECKING(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = False
RETRY_FILES_ENABLED(/home/lmadsen/src/github/leifmadsen/awx-builder/ansible.cfg) = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Fedora 26</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Use of the <code class="notranslate">tower_credential</code> module fails to post to the API</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Run the following play against AWX and you'll be returned the following failure:</p>
<p dir="auto">Sample play</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - name: Configure SCM Credential
tower_credential:
name: Git
description: Git default credential
organization: null
kind: scm
tower_verify_ssl: False"><pre class="notranslate"><code class="notranslate"> - name: Configure SCM Credential
tower_credential:
name: Git
description: Git default credential
organization: null
kind: scm
tower_verify_ssl: False
</code></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">No failure.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_GcQSWf/ansible_module_tower_credential.py", line 292, in <module>
main()
File "/tmp/ansible_GcQSWf/ansible_module_tower_credential.py", line 277, in main
result = credential.modify(**params)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py", line 961, in modify
force_on_exists=True, **kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py", line 345, in write
r = getattr(client, method.lower())(url, data=kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/requests/sessions.py", line 577, in patch
return self.request('PATCH', url, data=data, **kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/api.py", line 235, in request
kwargs.get('data', None), r.content.decode('utf8'))
tower_cli.exceptions.BadRequest: The Tower server claims it was sent a bad request.
PATCH http://awx.nfvpe.site/api/v1/credentials/6/
Params: None
Data: {"authorize": false, "state": "present", "description": "Git default credential", "kind": "scm", "name": "Git", "tower_verify_ssl": false}
Response: {"detail":["'state' is not a valid field for Source Control"]}
fatal: [127.0.0.1]: FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_GcQSWf/ansible_module_tower_credential.py\", line 292, in <module>\n main()\n File \"/tmp/ansible_GcQSWf/ansible_module_tower_credential.py\", line 277, in main\n result = credential.modify(**params)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py\", line 961, in modify\n force_on_exists=True, **kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py\", line 345, in write\n r = getattr(client, method.lower())(url, data=kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/requests/sessions.py\", line 577, in patch\n return self.request('PATCH', url, data=data, **kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/api.py\", line 235, in request\n kwargs.get('data', None), r.content.decode('utf8'))\ntower_cli.exceptions.BadRequest: The Tower server claims it was sent a bad request.\n\nPATCH http://awx.nfvpe.site/api/v1/credentials/6/\nParams: None\nData: {\"authorize\": false, \"state\": \"present\", \"description\": \"Git default credential\", \"kind\": \"scm\", \"name\": \"Git\", \"tower_verify_ssl\": false}\n\nResponse: {\"detail\":[\"'state' is not a valid field for Source Control\"]}\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}"><pre class="notranslate"><code class="notranslate">The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_GcQSWf/ansible_module_tower_credential.py", line 292, in <module>
main()
File "/tmp/ansible_GcQSWf/ansible_module_tower_credential.py", line 277, in main
result = credential.modify(**params)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py", line 961, in modify
force_on_exists=True, **kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py", line 345, in write
r = getattr(client, method.lower())(url, data=kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/requests/sessions.py", line 577, in patch
return self.request('PATCH', url, data=data, **kwargs)
File "/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/api.py", line 235, in request
kwargs.get('data', None), r.content.decode('utf8'))
tower_cli.exceptions.BadRequest: The Tower server claims it was sent a bad request.
PATCH http://awx.nfvpe.site/api/v1/credentials/6/
Params: None
Data: {"authorize": false, "state": "present", "description": "Git default credential", "kind": "scm", "name": "Git", "tower_verify_ssl": false}
Response: {"detail":["'state' is not a valid field for Source Control"]}
fatal: [127.0.0.1]: FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_GcQSWf/ansible_module_tower_credential.py\", line 292, in <module>\n main()\n File \"/tmp/ansible_GcQSWf/ansible_module_tower_credential.py\", line 277, in main\n result = credential.modify(**params)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py\", line 961, in modify\n force_on_exists=True, **kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/models/base.py\", line 345, in write\n r = getattr(client, method.lower())(url, data=kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/requests/sessions.py\", line 577, in patch\n return self.request('PATCH', url, data=data, **kwargs)\n File \"/home/lmadsen/.local/lib/python2.7/site-packages/tower_cli/api.py\", line 235, in request\n kwargs.get('data', None), r.content.decode('utf8'))\ntower_cli.exceptions.BadRequest: The Tower server claims it was sent a bad request.\n\nPATCH http://awx.nfvpe.site/api/v1/credentials/6/\nParams: None\nData: {\"authorize\": false, \"state\": \"present\", \"description\": \"Git default credential\", \"kind\": \"scm\", \"name\": \"Git\", \"tower_verify_ssl\": false}\n\nResponse: {\"detail\":[\"'state' is not a valid field for Source Control\"]}\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}
</code></pre></div> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">tower_credential<br>
tower_*</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/notting/.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.13 (default, Sep 5 2017, 08:53:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]"><pre class="notranslate"><code class="notranslate">ansible 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/notting/.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.13 (default, Sep 5 2017, 08:53:59) [GCC 7.1.1 20170622 (Red Hat 7.1.1-3)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ANSIBLE_SSH_PIPELINING(/etc/ansible/ansible.cfg) = True
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False
PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 30"><pre class="notranslate"><code class="notranslate">ANSIBLE_SSH_PIPELINING(/etc/ansible/ansible.cfg) = True
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False
PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 30
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Fedora 26</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">With tower_cli 3.2.0 installed, assorted Tower modules fail:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[notting@nostromo: ~]$ ansible -m tower_credential localhost -a "kind=ssh username=wow password=wow name=frobozznicate organization=TGP"
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: tower_cli.exceptions.BadRequest: Missing required fields: credential-type
localhost | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_imDa8H/ansible_module_tower_credential.py\", line 292, in <module>\n main()\n File \"/tmp/ansible_imDa8H/ansible_module_tower_credential.py\", line 277, in main\n result = credential.modify(**params)\n File \"/usr/lib/python2.7/site-packages/tower_cli/models/base.py\", line 659, in modify\n return self.write(pk, create_on_missing=create_on_missing, force_on_exists=True, **kwargs)\n File \"/usr/lib/python2.7/site-packages/tower_cli/models/base.py\", line 357, in write\n raise exc.BadRequest('Missing required fields: %s' % ', '.join(missing_fields).replace('_', '-'))\ntower_cli.exceptions.BadRequest: Missing required fields: credential-type\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}"><pre class="notranslate"><code class="notranslate">[notting@nostromo: ~]$ ansible -m tower_credential localhost -a "kind=ssh username=wow password=wow name=frobozznicate organization=TGP"
[WARNING]: Could not match supplied host pattern, ignoring: all
[WARNING]: provided hosts list is empty, only localhost is available
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: tower_cli.exceptions.BadRequest: Missing required fields: credential-type
localhost | FAILED! => {
"changed": false,
"failed": true,
"module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_imDa8H/ansible_module_tower_credential.py\", line 292, in <module>\n main()\n File \"/tmp/ansible_imDa8H/ansible_module_tower_credential.py\", line 277, in main\n result = credential.modify(**params)\n File \"/usr/lib/python2.7/site-packages/tower_cli/models/base.py\", line 659, in modify\n return self.write(pk, create_on_missing=create_on_missing, force_on_exists=True, **kwargs)\n File \"/usr/lib/python2.7/site-packages/tower_cli/models/base.py\", line 357, in write\n raise exc.BadRequest('Missing required fields: %s' % ', '.join(missing_fields).replace('_', '-'))\ntower_cli.exceptions.BadRequest: Missing required fields: credential-type\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}
</code></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">see above</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">works</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">attempts to use /api/v1 parameters from 3.1 and earlier with tower-cli 3.2's /api/v2 usage. Things go kablooie.</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: 18362.175
Windows Terminal version (if applicable): 0.2.1715.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 18362.175
Windows Terminal version (if applicable): 0.2.1715.0
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Change settings an put <code class="notranslate">Cascadia Code</code> or another missing font</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">If the font is missing or wrong, keep Consoles by default, but don't crash<br>
Maybe a hint or a message error, but don't crash</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Crash and don't start until fix change the font</p> | <p dir="auto">I added a new profile to the profiles.json specifying a font that is not installed on my system. When attempting to start the profile the app crashes with the following:</p>
<blockquote>
<p dir="auto">The program '[15980] WindowsTerminal.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.</p>
</blockquote>
<p dir="auto">Specifying a font that is installed causes the problem to not occur.</p>
<p dir="auto">The profile definition looks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" {
"guid": "{e2f9d7d6-369b-4841-9429-61f5b38474cf}",
"name": "Bash",
"colorscheme": "Campbell",
"historySize": 9001,
"snapOnInput": true,
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"commandline": "bash.exe",
"fontFace": "Fira Code",
"fontSize": 12,
"acrylicOpacity": 0.5,
"useAcrylic": false,
"closeOnExit": true,
"padding": "0, 0, 0, 0"
}
"><pre class="notranslate"><code class="notranslate"> {
"guid": "{e2f9d7d6-369b-4841-9429-61f5b38474cf}",
"name": "Bash",
"colorscheme": "Campbell",
"historySize": 9001,
"snapOnInput": true,
"cursorColor": "#FFFFFF",
"cursorShape": "bar",
"commandline": "bash.exe",
"fontFace": "Fira Code",
"fontSize": 12,
"acrylicOpacity": 0.5,
"useAcrylic": false,
"closeOnExit": true,
"padding": "0, 0, 0, 0"
}
</code></pre></div> | 1 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="413720289" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5358" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5358/hovercard" href="https://github.com/celery/celery/issues/5358">#5358</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="337946694" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4876" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4876/hovercard" href="https://github.com/celery/celery/issues/4876">#4876</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.3.0 (rhubarb)</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.3.0 (rhubarb) kombu:4.5.0 py:2.7.13
billiard:3.6.0.0 py-amqp:2.4.2
platform -> system:Linux arch:64bit
kernel version:4.9.0-8-amd64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:rpc:///
task_queues:
(<unbound Queue gpon_tentacle -> <unbound Exchange celery(direct)> -> >,
<unbound Queue livestatus -> <unbound Exchange celery(direct)> -> >,
<unbound Queue kraken_host_events -> <unbound Exchange celery(direct)> -> >)
broker_heartbeat: 5
broker_connection_timeout: 10
task_default_exchange_type: 'direct'
broker_pool_limit: 1
task_routes: {
'gpon_tentacle.*': { 'queue': 'gpon_tentacle'},
'kraken_host_events.*': { 'queue': 'kraken_host_events'},
'livestatus.*': { 'queue': 'livestatus'}}
broker_connection_max_retries: 0
result_expires: 3600
broker_url: u'amqp://guest:********@localhost:5672//'
result_backend: u'rpc:///'
task_default_exchange: 'celery'"><pre class="notranslate"><code class="notranslate">software -> celery:4.3.0 (rhubarb) kombu:4.5.0 py:2.7.13
billiard:3.6.0.0 py-amqp:2.4.2
platform -> system:Linux arch:64bit
kernel version:4.9.0-8-amd64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:rpc:///
task_queues:
(<unbound Queue gpon_tentacle -> <unbound Exchange celery(direct)> -> >,
<unbound Queue livestatus -> <unbound Exchange celery(direct)> -> >,
<unbound Queue kraken_host_events -> <unbound Exchange celery(direct)> -> >)
broker_heartbeat: 5
broker_connection_timeout: 10
task_default_exchange_type: 'direct'
broker_pool_limit: 1
task_routes: {
'gpon_tentacle.*': { 'queue': 'gpon_tentacle'},
'kraken_host_events.*': { 'queue': 'kraken_host_events'},
'livestatus.*': { 'queue': 'livestatus'}}
broker_connection_max_retries: 0
result_expires: 3600
broker_url: u'amqp://guest:********@localhost:5672//'
result_backend: u'rpc:///'
task_default_exchange: 'celery'
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">See this gist: <a href="https://gist.github.com/palvarezcordoba/a88e17e79f3efa8f15c0094afb4a2ec2">https://gist.github.com/palvarezcordoba/a88e17e79f3efa8f15c0094afb4a2ec2</a></p>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.4.2
astroid==1.6.5
asyncio==3.4.3
atomicwrites==1.3.0
attrs==19.1.0
backports.functools-lru-cache==1.5
backports.shutil-get-terminal-size==1.0.0
billiard==3.6.0.0
bitstring==3.1.5
caniusepython3==7.0.0
celery==4.3.0
celery-slack==0.3.0
certifi==2019.3.9
chardet==3.0.4
Click==7.0
configparser==3.7.1
decorator==4.3.2
dill==0.2.5
distlib==0.2.8
Django==1.11.20
django-appconf==1.0.3
django-betterforms==1.2
django-filter==1.1.0
django-multiselectfield==0.1.8
django-rq==1.3.1
Django-Select2==5.11.1
django-slack==5.13.0
djangorestframework==3.9.2
enum34==1.1.6
ephem==3.7.6.0
filelock==3.0.10
funcsigs==1.0.2
future==0.17.1
futures==3.2.0
googlemaps==3.0.2
gpon-tentacle==0.0.0
idna==2.8
ipython==5.0.0
ipython-genutils==0.2.0
isort==4.3.4
kombu==4.5.0
kraken==0.0.2
krill-gpon==0.5.0
lazy-object-proxy==1.3.1
libkrill==1.1.6
mccabe==0.6.1
mock==2.0.0
more-itertools==5.0.0
MySQL-python==1.2.5
mysqlclient==1.4.2.post1
netaddr==0.7.19
numpy==1.16.1
packaging==19.0
pathlib2==2.3.3
pbr==5.1.3
pexpect==4.6.0
pickleshare==0.7.5
pika==0.13.0
pluggy==0.9.0
ply==3.11
prompt-toolkit==1.0.15
psutil==5.5.0
ptyprocess==0.6.0
py==1.8.0
pyasn1==0.1.9
pycrypto==2.6.1
pycurl==7.43.0.2
pydot==1.4.1
PyFunctional==1.2.0
Pygments==2.3.1
pylint==1.9.4
pyparsing==2.3.1
pysmi==0.3.3
pysnmp==4.3.2
pytest==4.4.0
pytz==2019.1
PyYAML==5.1
recordclass==0.9
recordtype==1.3
redis==3.2.1
redlock==1.2.0
requests==2.21.0
rq==0.13.0
scandir==1.9.0
Shinken==2.4.3
simplegeneric==0.8.1
singledispatch==3.4.0.3
singleton-decorator==1.0.0
six==1.12.0
tabulate==0.8.3
termcolor==1.1.0
toml==0.10.0
tox==3.8.4
traitlets==4.3.2
typing==3.6.6
urllib3==1.24.1
urlparse2==1.1.1
vine==1.3.0
virtualenv==16.4.3
wcwidth==0.1.7
wrapt==1.11.1
"><pre class="notranslate"><code class="notranslate">amqp==2.4.2
astroid==1.6.5
asyncio==3.4.3
atomicwrites==1.3.0
attrs==19.1.0
backports.functools-lru-cache==1.5
backports.shutil-get-terminal-size==1.0.0
billiard==3.6.0.0
bitstring==3.1.5
caniusepython3==7.0.0
celery==4.3.0
celery-slack==0.3.0
certifi==2019.3.9
chardet==3.0.4
Click==7.0
configparser==3.7.1
decorator==4.3.2
dill==0.2.5
distlib==0.2.8
Django==1.11.20
django-appconf==1.0.3
django-betterforms==1.2
django-filter==1.1.0
django-multiselectfield==0.1.8
django-rq==1.3.1
Django-Select2==5.11.1
django-slack==5.13.0
djangorestframework==3.9.2
enum34==1.1.6
ephem==3.7.6.0
filelock==3.0.10
funcsigs==1.0.2
future==0.17.1
futures==3.2.0
googlemaps==3.0.2
gpon-tentacle==0.0.0
idna==2.8
ipython==5.0.0
ipython-genutils==0.2.0
isort==4.3.4
kombu==4.5.0
kraken==0.0.2
krill-gpon==0.5.0
lazy-object-proxy==1.3.1
libkrill==1.1.6
mccabe==0.6.1
mock==2.0.0
more-itertools==5.0.0
MySQL-python==1.2.5
mysqlclient==1.4.2.post1
netaddr==0.7.19
numpy==1.16.1
packaging==19.0
pathlib2==2.3.3
pbr==5.1.3
pexpect==4.6.0
pickleshare==0.7.5
pika==0.13.0
pluggy==0.9.0
ply==3.11
prompt-toolkit==1.0.15
psutil==5.5.0
ptyprocess==0.6.0
py==1.8.0
pyasn1==0.1.9
pycrypto==2.6.1
pycurl==7.43.0.2
pydot==1.4.1
PyFunctional==1.2.0
Pygments==2.3.1
pylint==1.9.4
pyparsing==2.3.1
pysmi==0.3.3
pysnmp==4.3.2
pytest==4.4.0
pytz==2019.1
PyYAML==5.1
recordclass==0.9
recordtype==1.3
redis==3.2.1
redlock==1.2.0
requests==2.21.0
rq==0.13.0
scandir==1.9.0
Shinken==2.4.3
simplegeneric==0.8.1
singledispatch==3.4.0.3
singleton-decorator==1.0.0
six==1.12.0
tabulate==0.8.3
termcolor==1.1.0
toml==0.10.0
tox==3.8.4
traitlets==4.3.2
typing==3.6.6
urllib3==1.24.1
urlparse2==1.1.1
vine==1.3.0
virtualenv==16.4.3
wcwidth==0.1.7
wrapt==1.11.1
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<p dir="auto"><a href="https://gist.github.com/palvarezcordoba/a88e17e79f3efa8f15c0094afb4a2ec2">https://gist.github.com/palvarezcordoba/a88e17e79f3efa8f15c0094afb4a2ec2</a></p>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Celery client should send tasks, and after >60 seconds of inactivity, it should be able to send one more task and get the result.</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">When I send a task by first time, Celery connects to the broker, with a hertbeat conf of 60s.<br>
It declares a random result quue, say <code class="notranslate">QueueX</code>, then consumes it and sends a task, saiyng "eh, reply to <code class="notranslate">QueueX</code>". The worker replies to <code class="notranslate">QueueX</code> and RabbitMQ does a <code class="notranslate">Basic.Deliver</code> as the client is consumer of <code class="notranslate">QueueX</code>.<br>
Celery does not send heartbeats, and after 60 seconds (or configured heartbeat) RabbitMQ closes the connection, and as <code class="notranslate">QueueX</code> has auto-delete active, RabbitMQ deletes it. At this point, if I send other task, - I do not why but... - celery sends the task, the worker receives it, but celery raises <code class="notranslate">error: [Errno 104] Connection reset by peer</code>. If I send another task, celery redeclares <code class="notranslate">QueueX</code>, sends a task which the reply-to being <code class="notranslate">QueueX</code> <em>BUT</em> now celery is not a consumer of <code class="notranslate">QueueX</code> so RabbitMQ does not do a deliver, so celery waits until a timeout.</p>
<p dir="auto">RabbitMQ send heartbeat frames to celery, it ignores (I guess) those packets, but at TCP level they are replied with an ACK, I do not know if it is correct.<br>
A solution (which I do not like) is setting heartbeat at 0.<br>
In an ideal world, celery would send heartbeats, or if broker closes the connection, it would:</p>
<ul dir="auto">
<li>Not send a task whose result can not be received</li>
<li>Detect the network failure</li>
<li>(again) Not send a task whose result can not be received</li>
<li>Reconnect to the broker</li>
<li>Declare <code class="notranslate">QueueX</code> and consume it</li>
<li>Now it can send the task :)</li>
</ul> | <p dir="auto">Currently, the Redis and SQS transports provide a <code class="notranslate">visibility_timeout</code> option in the config. This has an effect on how apply_async() works with either eta or countdown kwargs. The caveats regarding this are buried in:</p>
<p dir="auto"><a href="http://docs.celeryproject.org/en/latest/getting-started/brokers/redis.html#redis-caveats" rel="nofollow">http://docs.celeryproject.org/en/latest/getting-started/brokers/redis.html#redis-caveats</a></p>
<p dir="auto"><a href="http://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html" rel="nofollow">http://docs.celeryproject.org/en/latest/getting-started/brokers/sqs.html</a></p>
<p dir="auto">Using etas or countdowns greater than the visibility_timeout value will result in tasks being duplicated. There should be some mention of this and/or links to these in:</p>
<p dir="auto"><a href="http://docs.celeryproject.org/en/latest/userguide/calling.html#eta-and-countdown" rel="nofollow">http://docs.celeryproject.org/en/latest/userguide/calling.html#eta-and-countdown</a></p> | 0 |
<p dir="auto">Hello everyone,<br>
I got the code from tensorflow website for this tutorial. It processed for a long while and got the following errors. Installing tensorflow from sources also did not work for me as it gave me many errors. so I deleted everything installed tensorflow on my Ubuntu 16.04 LTS. Please please help me in resolving these errors as it is an emergency. I am a beginner to tensorflow and its been 2 months already I have been seeing this error</p>
<p dir="auto">Thanks in advance<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/20130992/24481010/92cc0f3e-149c-11e7-8244-7b20f513efdd.png"><img src="https://cloud.githubusercontent.com/assets/20130992/24481010/92cc0f3e-149c-11e7-8244-7b20f513efdd.png" alt="seq" style="max-width: 100%;"></a></p> | <p dir="auto">Hello everyone,<br>
I got the code from tensorflow website for this tutorial. It processed for a long while and got the following errors. Installing tensorflow from sources also did not work for me as it gave me many errors. so I deleted everything installed tensorflow on my Ubuntu 16.04 LTS. Please please help me in resolving these errors as it is an emergency. I am a beginner to tensorflow and its been 2 months already I have been seeing this error</p>
<p dir="auto">Thanks in advance<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/20130992/24480912/0820eb52-149c-11e7-8734-c5861c14d73e.png"><img src="https://cloud.githubusercontent.com/assets/20130992/24480912/0820eb52-149c-11e7-8734-c5861c14d73e.png" alt="seq" style="max-width: 100%;"></a></p> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: debug
debug: msg="{{ [1,2,3]|reject('odd') }}""><pre class="notranslate"><code class="notranslate">- name: debug
debug: msg="{{ [1,2,3]|reject('odd') }}"
</code></pre></div>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Can you help us out in labelling this by telling us what kind of ticket this this? You can say “Bug Report”, “Feature Idea”, “Feature Pull Request”, “New Module Pull Request”, “Bugfix Pull Request”, “Documentation Report”, or “Docs Pull Request”.</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">Let us know what version of Ansible you are using. Please supply the verbatim output from running “ansible --version”. If you're filing a ticket on a version of Ansible which is not the latest, we'd greatly appreciate it if you could retest on the latest version first. We don't expect you to test against the development branch most of the time, but we may ask for that if you have cycles. Thanks!</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">What OS are you running Ansible from and what OS are you managing? Examples include RHEL 5/6, Centos 5/6, Ubuntu 12.04/13.10, *BSD, Solaris. If this is a generic feature request or it doesn’t apply, just say “N/A”. Not all tickets may be about operating system related things and we understand that.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Please summarize your request in this space. You will earn bonus points for being succinct, but please add enough detail so we can understand the request. Thanks!</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">If this is a bug ticket, please enter the steps you use to reproduce the problem in the space below. If this is a feature request, please enter the steps you would use to use the feature. If an example playbook is useful, please include a short reproducer inline, indented by four spaces. If a longer one is necessary, linking to one uploaded to gist.github.com would be great. Much appreciated!</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">Please enter your expected results in this space. When running the steps supplied above in the previous section, what did you expect to happen? If showing example output, please indent your output by four spaces so it will render correctly in GitHub's viewer thingy.</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">Please enter your actual results in this space. When running the steps supplied above, what actually happened? If you are showing example output, please indent your output by four spaces so it will render correctly in GitHub. Thanks again!</p> | <h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.8 (devel)</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Ubuntu 12.04</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Some jinja filters (<code class="notranslate">select_attr</code> among others) return generators. It seems currently impossible to loop over these in playbooks. (also tested on ansible 1.6.3)</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">run the following playbook</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
---
- hosts: 127.0.0.1
connection: local
vars:
stuff:
- my_attr: true
msg: 'pick me!'
- my_attr: true
msg: 'pick me too!'
- my_attr: false
msg: 'but do not pick me ...'
tasks:
# this works ...
- command: /bin/echo {{ item.msg }}
when: item.my_attr
with_items: stuff
# ... this works (note the explicit creation of a list) ...
- command: /bin/echo {{ item.msg }}
with_items: stuff|selectattr("my_attr")|list
# ... this doesn't (but it would be nice if it would ...)
- command: /bin/echo {{ item.msg }}
with_items: stuff|selectattr("my_attr")"><pre class="notranslate">---
- <span class="pl-ent">hosts</span>: <span class="pl-s">127.0.0.1</span>
<span class="pl-ent">connection</span>: <span class="pl-s">local</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">stuff</span>:
- <span class="pl-ent">my_attr</span>: <span class="pl-c1">true</span>
<span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">'</span>pick me!<span class="pl-pds">'</span></span>
- <span class="pl-ent">my_attr</span>: <span class="pl-c1">true</span>
<span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">'</span>pick me too!<span class="pl-pds">'</span></span>
- <span class="pl-ent">my_attr</span>: <span class="pl-c1">false</span>
<span class="pl-ent">msg</span>: <span class="pl-s"><span class="pl-pds">'</span>but do not pick me ...<span class="pl-pds">'</span></span>
<span class="pl-ent">tasks</span>:
<span class="pl-c"><span class="pl-c">#</span> this works ...</span>
- <span class="pl-ent">command</span>: <span class="pl-s">/bin/echo {{ item.msg }}</span>
<span class="pl-ent">when</span>: <span class="pl-s">item.my_attr</span>
<span class="pl-ent">with_items</span>: <span class="pl-s">stuff</span>
<span class="pl-c"><span class="pl-c">#</span> ... this works (note the explicit creation of a list) ...</span>
- <span class="pl-ent">command</span>: <span class="pl-s">/bin/echo {{ item.msg }}</span>
<span class="pl-ent">with_items</span>: <span class="pl-s">stuff|selectattr("my_attr")|list</span>
<span class="pl-c"><span class="pl-c">#</span> ... this doesn't (but it would be nice if it would ...)</span>
- <span class="pl-ent">command</span>: <span class="pl-s">/bin/echo {{ item.msg }}</span>
<span class="pl-ent">with_items</span>: <span class="pl-s">stuff|selectattr("my_attr")</span></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">all tasks doing the same thing (echoing the first two messages)</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">The third task fails with the the following error message:</p>
<p dir="auto"><code class="notranslate">fatal: [127.0.0.1] => One or more undefined variables: 'unicode object' has no attribute 'msg'</code></p> | 1 |
<p dir="auto"><strong>Let us know what functionality you'd like to see in Playwright and what is your use case.</strong><br>
A special locator to visually locate an element.</p>
<p dir="auto">In taiko, browser automation library by thoughtwork, you could locate element visually like the following:<br>
<code class="notranslate">click(checkbox(near("Username")))</code></p>
<p dir="auto">Taiko calls it proximity locator<br>
Refer: <a href="https://docs.taiko.dev/#smart-selectors" rel="nofollow">https://docs.taiko.dev/#smart-selectors</a></p>
<p dir="auto">This locator will reduce the flakiness of the script and the maintenance cost because the locator doesn't rely on html structure that may be changed from time to time. Even we can assign data-testid attribute but this is very useful in some cases as well.</p>
<p dir="auto"><strong>Do you think others might benefit from this as well?</strong><br>
Yes, it is.</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: v1.32.3</li>
<li>Operating System: macOS 13.3.1</li>
<li>Browser: All</li>
<li>Other info: pnpm v7 as package manager on Node v16</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto"><a href="https://github.com/segevfiner/playwright-core-version-conflict">https://github.com/segevfiner/playwright-core-version-conflict</a></p>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>Run <code class="notranslate">pnpm install</code></li>
<li>Try running <code class="notranslate">pnpm playwright test</code> in the <code class="notranslate">apps/a</code> and <code class="notranslate">apps/b</code> directories.</li>
<li>On of them will fail with an error message of this sort:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Playwright Test integrity check failed: ║
║ You have @playwright/test version '1.32.3' and 'playwright-core' version '1.32.2' installed! ║
║ You probably added 'playwright-core' into your package.json by accident, remove it and re-run 'npm install' ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════╝"><pre class="notranslate"><code class="notranslate">╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Playwright Test integrity check failed: ║
║ You have @playwright/test version '1.32.3' and 'playwright-core' version '1.32.2' installed! ║
║ You probably added 'playwright-core' into your package.json by accident, remove it and re-run 'npm install' ║
╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
</code></pre></div>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">For the tests of both packages the work.</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">A Playwright test integrity check failed error.</p>
<h3 dir="auto">Analysis</h3>
<p dir="auto">This is caused by the way pnpm hoists dependencies. Since <code class="notranslate">playwright-core</code> doesn't declare that <code class="notranslate">@playwright/test</code> as a peer dependency, pnpm isn't going to create separate trees for it in the virtual store with the actual <code class="notranslate">@playwright/test</code> version that is required by each package, rather there will only be one <code class="notranslate">playwright-core</code> used by both, which then when importing <code class="notranslate">@playwright/test</code> will get an arbitrary version of <code class="notranslate">@playwright/test</code> that happens to be the one that was hoisted.</p>
<p dir="auto">I suggested a fix here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1681172527" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/22595" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/playwright/pull/22595/hovercard" href="https://github.com/microsoft/playwright/pull/22595">#22595</a>, but it was rejected by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pavelfeldman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pavelfeldman">@pavelfeldman</a>, which requested I open an issue instead.</p>
<p dir="auto">Note that the behavior with dependencies, peer dependencies, and CLI's (AKA <code class="notranslate">bin</code>) is very subtle, as it stands both <code class="notranslate">playwright-core</code> and <code class="notranslate">@playwright/test</code> declare the <code class="notranslate">bin</code>, which means one of them wins arbitrary and will be what gets invoked by the package manager. Also note that <code class="notranslate">@playwright/experimental-ct-vue</code> and the like also do the same. So just moving the CLI to one of those packages might not be as trivial as they will fight each other.</p> | 0 |
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> s = UDPSocket()
Error showing value of type UDPSocket:
ERROR: type UDPSocket has no field buffer
in show at stream.jl:236
in anonymous at show.jl:1351
in with_output_limit at ./show.jl:1328
in showlimited at show.jl:1350
in writemime at replutil.jl:4
[inlined code] from expr.jl:8 (repeats 2 times)
in display at REPL.jl:114
[inlined code] from multimedia.jl:151
in display at multimedia.jl:163
in print_response at REPL.jl:134
in print_response at REPL.jl:121
in anonymous at REPL.jl:624
in run_interface at ./LineEdit.jl:1610
in run_frontend at ./REPL.jl:864
in run_repl at ./REPL.jl:167
in _start at ./client.jl:419"><pre class="notranslate">julia<span class="pl-k">></span> s <span class="pl-k">=</span> <span class="pl-c1">UDPSocket</span>()
Error showing value of type UDPSocket<span class="pl-k">:</span>
ERROR<span class="pl-k">:</span> type UDPSocket has no field buffer
<span class="pl-k">in</span> show at stream<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">236</span>
<span class="pl-k">in</span> anonymous at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1351</span>
<span class="pl-k">in</span> with_output_limit at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1328</span>
<span class="pl-k">in</span> showlimited at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1350</span>
<span class="pl-k">in</span> writemime at replutil<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">4</span>
[inlined code] from expr<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">8</span> (repeats <span class="pl-c1">2</span> times)
<span class="pl-k">in</span> display at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">114</span>
[inlined code] from multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">151</span>
<span class="pl-k">in</span> display at multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">163</span>
<span class="pl-k">in</span> print_response at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">134</span>
<span class="pl-k">in</span> print_response at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">121</span>
<span class="pl-k">in</span> anonymous at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">624</span>
<span class="pl-k">in</span> run_interface at <span class="pl-k">./</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1610</span>
<span class="pl-k">in</span> run_frontend at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">864</span>
<span class="pl-k">in</span> run_repl at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">167</span>
<span class="pl-k">in</span> _start at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">419</span></pre></div>
<p dir="auto">This appears to have broken since 0.3; it works there but not on 0.4 or master.</p> | <p dir="auto">it seams that show() method for UDPSocket type objects is broken.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> UDPSocket()
Error showing value of type UDPSocket:
ERROR: type UDPSocket has no field buffer
in show at stream.jl:237
in anonymous at show.jl:1278
in with_output_limit at ./show.jl:1255
in showlimited at show.jl:1277
in writemime at replutil.jl:4
in display at REPL.jl:114
in display at REPL.jl:117
in display at multimedia.jl:151
in print_response at REPL.jl:134
in print_response at REPL.jl:121
in anonymous at REPL.jl:624
in run_interface at ./LineEdit.jl:1610
in run_frontend at ./REPL.jl:863
in run_repl at ./REPL.jl:167
in _start at ./client.jl:453
julia> versioninfo()
Julia Version 0.4.0
Commit 0ff703b* (2015-10-08 06:20 UTC)
Platform Info:
System: Linux (x86_64-linux-gnu)
CPU: Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
WORD_SIZE: 64
BLAS: libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Nehalem)
LAPACK: liblapack.so.3
LIBM: libopenlibm
LLVM: libLLVM-3.3"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">UDPSocket</span>()
Error showing value of type UDPSocket<span class="pl-k">:</span>
ERROR<span class="pl-k">:</span> type UDPSocket has no field buffer
<span class="pl-k">in</span> show at stream<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">237</span>
<span class="pl-k">in</span> anonymous at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1278</span>
<span class="pl-k">in</span> with_output_limit at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1255</span>
<span class="pl-k">in</span> showlimited at show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1277</span>
<span class="pl-k">in</span> writemime at replutil<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">4</span>
<span class="pl-k">in</span> display at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">114</span>
<span class="pl-k">in</span> display at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">117</span>
<span class="pl-k">in</span> display at multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">151</span>
<span class="pl-k">in</span> print_response at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">134</span>
<span class="pl-k">in</span> print_response at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">121</span>
<span class="pl-k">in</span> anonymous at REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">624</span>
<span class="pl-k">in</span> run_interface at <span class="pl-k">./</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1610</span>
<span class="pl-k">in</span> run_frontend at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">863</span>
<span class="pl-k">in</span> run_repl at <span class="pl-k">./</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">167</span>
<span class="pl-k">in</span> _start at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">453</span>
julia<span class="pl-k">></span> <span class="pl-c1">versioninfo</span>()
Julia Version <span class="pl-c1">0.4</span>.<span class="pl-c1">0</span>
Commit <span class="pl-c1">0</span>ff703b<span class="pl-k">*</span> (<span class="pl-c1">2015</span><span class="pl-k">-</span><span class="pl-c1">10</span><span class="pl-k">-</span><span class="pl-c1">08</span> <span class="pl-c1">06</span><span class="pl-k">:</span><span class="pl-c1">20</span> UTC)
Platform Info<span class="pl-k">:</span>
System<span class="pl-k">:</span> Linux (x86_64<span class="pl-k">-</span>linux<span class="pl-k">-</span>gnu)
CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7 CPU <span class="pl-c1">950</span> @ <span class="pl-c1">3.07</span>GHz
WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span>
BLAS<span class="pl-k">:</span> libopenblas (NO_LAPACK NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Nehalem)
LAPACK<span class="pl-k">:</span> liblapack<span class="pl-k">.</span>so.<span class="pl-c1">3</span>
LIBM<span class="pl-k">:</span> libopenlibm
LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">3.3</span></pre></div> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Loader options publicPath doesn't seem to have any effect of for given outputs.<br>
See more info on this <a href="https://github.com/webpack-contrib/mini-css-extract-plugin/issues/222" data-hovercard-type="issue" data-hovercard-url="/webpack-contrib/mini-css-extract-plugin/issues/222/hovercard">issue</a> originally made for <code class="notranslate">mini-css-extract-plugin</code></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">publicPath given to loader options should effectively make given assets be served from their given destination - what happens instead is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module: {
rules: [
{
test: /\.css$/,
use: [
{
loader: MiniCSSExtractPlugin.loader,
options: {
publicPath: "/styles/",
}
},
"css-loader?-url",
"postcss-loader"
]
}
]
}
// The given assets do NOT end in said directory:
plugins: [
new MiniCSSExtractPlugin({
filename: "[name].[hash].css",
chunkFileName: "[id].[hash].css"
})
]"><pre class="notranslate"><code class="notranslate">module: {
rules: [
{
test: /\.css$/,
use: [
{
loader: MiniCSSExtractPlugin.loader,
options: {
publicPath: "/styles/",
}
},
"css-loader?-url",
"postcss-loader"
]
}
]
}
// The given assets do NOT end in said directory:
plugins: [
new MiniCSSExtractPlugin({
filename: "[name].[hash].css",
chunkFileName: "[id].[hash].css"
})
]
</code></pre></div>
<p dir="auto">The said styles directory is ignored and all of the files are bundled with the rest of the JS bundles.</p>
<p dir="auto"><strong>Other relevant information:</strong></p>
<p dir="auto">Even the simplest configuration without <code class="notranslate">mini-css-extract-plugin</code> does not work.<br>
Tested with <code class="notranslate">html-webpack-plugin</code> and without, no difference in ##behaviour.</p>
<p dir="auto">webpack version: Multiple, see issue referenced<br>
Node.js version: Multiple, see issue referenced<br>
Operating System: Multiple, see issue referenced<br>
Additional tools: Multiple, see issue referenced</p> | <h3 dir="auto">Synopsis</h3>
<p dir="auto">webpack fails when pushing animated GIFs into the loader pipeline. The file content is scrambled.</p>
<p dir="auto">I tested this issue with both, <code class="notranslate">url-loader</code> and <code class="notranslate">file-loader</code>.</p>
<p dir="auto">Other file types are processed correctly.</p>
<h2 dir="auto">System Data</h2>
<ul dir="auto">
<li>Operating System: Windows 10x64</li>
<li>Node Version: v10.15.3</li>
<li>NPM Version: 6.4.1</li>
<li>webpack Version: 4.29.6</li>
<li>url-loader Version: 1.1.2</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The following animated GIF should be rendered by the browser:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9283914/55327032-76afdb80-5489-11e9-94bc-a2e9ace4663b.gif"><img src="https://user-images.githubusercontent.com/9283914/55327032-76afdb80-5489-11e9-94bc-a2e9ace4663b.gif" alt="InlineThrobber" data-animated-image="" style="max-width: 100%;"></a></p>
<h2 dir="auto">Actual Behavior</h2>
<h3 dir="auto">With <code class="notranslate">url-loader</code></h3>
<p dir="auto">... the following, incorrect/invalid, <code class="notranslate">data:</code> URL is being created:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="url(data:image/gif;base64,bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJpbWFnZXMvSW5saW5lVGhyb2JiZXIuZ2lmIjs=)"><pre class="notranslate"><code class="notranslate">url(data:image/gif;base64,bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJpbWFnZXMvSW5saW5lVGhyb2JiZXIuZ2lmIjs=)
</code></pre></div>
<p dir="auto">Which in turn, when decoded, results in:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="> atob("bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJpbWFnZXMvSW5saW5lVGhyb2JiZXIuZ2lmIjs=")
'module.exports = __webpack_public_path__ + "images/InlineThrobber.gif";'"><pre class="notranslate"><span class="pl-c1">></span> <span class="pl-en">atob</span><span class="pl-kos">(</span><span class="pl-s">"bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJpbWFnZXMvSW5saW5lVGhyb2JiZXIuZ2lmIjs="</span><span class="pl-kos">)</span>
<span class="pl-s">'module.exports = __webpack_public_path__ + "images/InlineThrobber.gif";'</span></pre></div>
<h3 dir="auto">With <code class="notranslate">file-loader</code></h3>
<p dir="auto">... the following, incorrect file content is being saved to the <code class="notranslate">dist</code> folder:</p>
<div class="highlight highlight-source-batchfile notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="PS $ type .\InlineThrobber.gif
module.exports = __webpack_public_path__ + "images/InlineThrobber.gif";"><pre class="notranslate">PS $ <span class="pl-k">type</span> .\InlineThrobber.gif
module.exports = __webpack_public_path__ + <span class="pl-s"><span class="pl-pds">"</span>images/InlineThrobber.gif<span class="pl-pds">"</span></span>;</pre></div>
<h2 dir="auto">Code</h2>
<h3 dir="auto">webpack.config.js</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const path = require('path');
const cleanWP = require('clean-webpack-plugin').default;
module.exports = {
entry: {
testIncrementalSearchWC: "./app/components/_mock/incremental-search/page",
},
module: {
rules: [
{
test: /\.tsx?$/i,
use: 'ts-loader',
exclude: [
/[/\\]node_modules[/\\]/,
/[/\\].*\.js/]
},
{
test: /\.scss$/i,
use: [{
loader: 'style-loader' // creates style nodes from JS strings
}, {
loader: 'css-loader' // translates CSS into CommonJS
}, {
loader: 'sass-loader' // compiles SASS to CSS
}]
},
{
test: /\.(png)|(svg)|(je?pg)|(gif)$/i,
use: 'url-loader',
issuer: {
include: /app[/\\]components[/\\].*\.(ts)|(scss)$/
}
},
{
test: /\.(png)|(svg)|(je?pg)|(gif)$/i,
use: {
loader: 'file-loader',
options: {
outputPath: 'images',
name: "[name].[ext]"
}
},
issuer: {
include: /scripts[/\\]function[/\\].*\.(ts)|(scss)$/
}
}
]
},
resolve: {
extensions: [".ts", ".js", ".scss"]
},
output: {
filename: "[name].bundle.js",
path: path.join(__dirname, 'dist'),
publicPath: "/dist/"
}
};"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'path'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">cleanWP</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'clean-webpack-plugin'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span>
<span class="pl-c1">testIncrementalSearchWC</span>: <span class="pl-s">"./app/components/_mock/incremental-search/page"</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">module</span>: <span class="pl-kos">{</span>
<span class="pl-c1">rules</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>tsx?<span class="pl-cce">$</span><span class="pl-c1">/</span>i</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-s">'ts-loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">exclude</span>: <span class="pl-kos">[</span>
<span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>node_modules<span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span>
<span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>.<span class="pl-c1">*</span><span class="pl-cce">\.</span>js<span class="pl-c1">/</span></span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>scss<span class="pl-cce">$</span><span class="pl-c1">/</span>i</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">[</span><span class="pl-kos">{</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'style-loader'</span> <span class="pl-c">// creates style nodes from JS strings</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'css-loader'</span> <span class="pl-c">// translates CSS into CommonJS</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'sass-loader'</span> <span class="pl-c">// compiles SASS to CSS</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-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>png<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>svg<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>je?pg<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>gif<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span>i</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-s">'url-loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">issuer</span>: <span class="pl-kos">{</span>
<span class="pl-c1">include</span>: <span class="pl-pds"><span class="pl-c1">/</span>app<span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>components<span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>.<span class="pl-c1">*</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>ts<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>scss<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
<span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>png<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>svg<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>je?pg<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>gif<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span>i</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c1">loader</span>: <span class="pl-s">'file-loader'</span><span class="pl-kos">,</span>
<span class="pl-c1">options</span>: <span class="pl-kos">{</span>
<span class="pl-c1">outputPath</span>: <span class="pl-s">'images'</span><span class="pl-kos">,</span>
<span class="pl-c1">name</span>: <span class="pl-s">"[name].[ext]"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">issuer</span>: <span class="pl-kos">{</span>
<span class="pl-c1">include</span>: <span class="pl-pds"><span class="pl-c1">/</span>scripts<span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>function<span class="pl-kos">[</span>/<span class="pl-cce">\\</span><span class="pl-kos">]</span>.<span class="pl-c1">*</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>ts<span class="pl-kos">)</span><span class="pl-c1">|</span><span class="pl-kos">(</span>scss<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></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-c1">resolve</span>: <span class="pl-kos">{</span>
<span class="pl-c1">extensions</span>: <span class="pl-kos">[</span><span class="pl-s">".ts"</span><span class="pl-kos">,</span> <span class="pl-s">".js"</span><span class="pl-kos">,</span> <span class="pl-s">".scss"</span><span class="pl-kos">]</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">output</span>: <span class="pl-kos">{</span>
<span class="pl-c1">filename</span>: <span class="pl-s">"[name].bundle.js"</span><span class="pl-kos">,</span>
<span class="pl-c1">path</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">join</span><span class="pl-kos">(</span><span class="pl-s1">__dirname</span><span class="pl-kos">,</span> <span class="pl-s">'dist'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">publicPath</span>: <span class="pl-s">"/dist/"</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<h3 dir="auto">Screenshots depicting the path information:</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9283914/55327180-d312fb00-5489-11e9-9413-c7b9db70ae4b.png"><img src="https://user-images.githubusercontent.com/9283914/55327180-d312fb00-5489-11e9-9413-c7b9db70ae4b.png" alt="url-loader-1" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9283914/55327186-d4dcbe80-5489-11e9-85a0-94d576477619.png"><img src="https://user-images.githubusercontent.com/9283914/55327186-d4dcbe80-5489-11e9-85a0-94d576477619.png" alt="url-loader-2" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9283914/55327191-d6a68200-5489-11e9-8608-fcb52c3a7d9a.png"><img src="https://user-images.githubusercontent.com/9283914/55327191-d6a68200-5489-11e9-8608-fcb52c3a7d9a.png" alt="url-loader-3" style="max-width: 100%;"></a></p>
<h2 dir="auto">How Do We Reproduce?</h2>
<ol dir="auto">
<li>Recreate the depicted folder structure (presumably not required)</li>
<li>Create a SASS file, referencing an animated GIF</li>
<li>Create some TypeScript file, creating an element that's addressed by the above SASS file</li>
<li>Copy above <code class="notranslate">webpack.config.js</code> file</li>
</ol>
<br>
<hr>
/ref: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="427677014" data-permission-text="Title is private" data-url="https://github.com/webpack-contrib/url-loader/issues/178" data-hovercard-type="issue" data-hovercard-url="/webpack-contrib/url-loader/issues/178/hovercard" href="https://github.com/webpack-contrib/url-loader/issues/178">webpack-contrib/url-loader#178</a> | 0 |
<p dir="auto">?<br>
public final haha(){</p>
<p dir="auto">}</p> | <p dir="auto">From <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="52218177" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/1524" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/1524/hovercard" href="https://github.com/microsoft/TypeScript/issues/1524">#1524</a>, I see that the default method are all "virtual", but sometimes I don't wanna some public method to be overidden. Would you invent a mechasim to force the users that they cannot override a public method (with the key word, something like "sealed")?</p>
<p dir="auto">Thanks!</p> | 1 |
<h4 dir="auto">Description</h4>
<p dir="auto">I noticed that sklearn.metrics.pairwise.pairwise_distances function agrees with np.linalg.norm when using np.float64 arrays, but disagrees when using np.float32 arrays. See the code snippet below.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import scipy
import sklearn.metrics.pairwise
# create 64-bit vectors a and b that are very similar to each other
a_64 = np.array([61.221637725830078125, 71.60662841796875, -65.7512664794921875], dtype=np.float64)
b_64 = np.array([61.221637725830078125, 71.60894012451171875, -65.72847747802734375], dtype=np.float64)
# create 32-bit versions of a and b
a_32 = a_64.astype(np.float32)
b_32 = b_64.astype(np.float32)
# compute the distance from a to b using numpy, for both 64-bit and 32-bit
dist_64_np = np.array([np.linalg.norm(a_64 - b_64)], dtype=np.float64)
dist_32_np = np.array([np.linalg.norm(a_32 - b_32)], dtype=np.float32)
# compute the distance from a to b using sklearn, for both 64-bit and 32-bit
dist_64_sklearn = sklearn.metrics.pairwise.pairwise_distances([a_64], [b_64])
dist_32_sklearn = sklearn.metrics.pairwise.pairwise_distances([a_32], [b_32])
# note that the 64-bit sklearn results agree exactly with numpy, but the 32-bit results disagree
np.set_printoptions(precision=200)
print(dist_64_np)
print(dist_32_np)
print(dist_64_sklearn)
print(dist_32_sklearn)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">scipy</span>
<span class="pl-k">import</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">metrics</span>.<span class="pl-s1">pairwise</span>
<span class="pl-c"># create 64-bit vectors a and b that are very similar to each other</span>
<span class="pl-s1">a_64</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">61.221637725830078125</span>, <span class="pl-c1">71.60662841796875</span>, <span class="pl-c1">-</span><span class="pl-c1">65.7512664794921875</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float64</span>)
<span class="pl-s1">b_64</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">61.221637725830078125</span>, <span class="pl-c1">71.60894012451171875</span>, <span class="pl-c1">-</span><span class="pl-c1">65.72847747802734375</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float64</span>)
<span class="pl-c"># create 32-bit versions of a and b</span>
<span class="pl-s1">a_32</span> <span class="pl-c1">=</span> <span class="pl-s1">a_64</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>)
<span class="pl-s1">b_32</span> <span class="pl-c1">=</span> <span class="pl-s1">b_64</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>)
<span class="pl-c"># compute the distance from a to b using numpy, for both 64-bit and 32-bit</span>
<span class="pl-s1">dist_64_np</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">np</span>.<span class="pl-s1">linalg</span>.<span class="pl-en">norm</span>(<span class="pl-s1">a_64</span> <span class="pl-c1">-</span> <span class="pl-s1">b_64</span>)], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float64</span>)
<span class="pl-s1">dist_32_np</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-s1">np</span>.<span class="pl-s1">linalg</span>.<span class="pl-en">norm</span>(<span class="pl-s1">a_32</span> <span class="pl-c1">-</span> <span class="pl-s1">b_32</span>)], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float32</span>)
<span class="pl-c"># compute the distance from a to b using sklearn, for both 64-bit and 32-bit</span>
<span class="pl-s1">dist_64_sklearn</span> <span class="pl-c1">=</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">metrics</span>.<span class="pl-s1">pairwise</span>.<span class="pl-en">pairwise_distances</span>([<span class="pl-s1">a_64</span>], [<span class="pl-s1">b_64</span>])
<span class="pl-s1">dist_32_sklearn</span> <span class="pl-c1">=</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">metrics</span>.<span class="pl-s1">pairwise</span>.<span class="pl-en">pairwise_distances</span>([<span class="pl-s1">a_32</span>], [<span class="pl-s1">b_32</span>])
<span class="pl-c"># note that the 64-bit sklearn results agree exactly with numpy, but the 32-bit results disagree</span>
<span class="pl-s1">np</span>.<span class="pl-en">set_printoptions</span>(<span class="pl-s1">precision</span><span class="pl-c1">=</span><span class="pl-c1">200</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dist_64_np</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dist_32_np</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dist_64_sklearn</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dist_32_sklearn</span>)</pre></div>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">I expect that the results from sklearn.metrics.pairwise.pairwise_distances would agree with np.linalg.norm for both 64-bit and 32-bit. In other words, I expect the following output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 0.0229059506440019884643266578905240749008953571319580078125]
[ 0.02290595136582851409912109375]
[[ 0.0229059506440019884643266578905240749008953571319580078125]]
[[ 0.02290595136582851409912109375]]"><pre class="notranslate"><code class="notranslate">[ 0.0229059506440019884643266578905240749008953571319580078125]
[ 0.02290595136582851409912109375]
[[ 0.0229059506440019884643266578905240749008953571319580078125]]
[[ 0.02290595136582851409912109375]]
</code></pre></div>
<h4 dir="auto">Actual Results</h4>
<p dir="auto">The code snippet above produces the following output for me:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ 0.0229059506440019884643266578905240749008953571319580078125]
[ 0.02290595136582851409912109375]
[[ 0.0229059506440019884643266578905240749008953571319580078125]]
[[ 0.03125]]"><pre class="notranslate"><code class="notranslate">[ 0.0229059506440019884643266578905240749008953571319580078125]
[ 0.02290595136582851409912109375]
[[ 0.0229059506440019884643266578905240749008953571319580078125]]
[[ 0.03125]]
</code></pre></div>
<h4 dir="auto">Versions</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Darwin-16.6.0-x86_64-i386-64bit
('Python', '2.7.11 | 64-bit | (default, Jun 11 2016, 03:41:56) \n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]')
('NumPy', '1.11.3')
('SciPy', '0.19.0')
('Scikit-Learn', '0.18.1')"><pre class="notranslate"><code class="notranslate">Darwin-16.6.0-x86_64-i386-64bit
('Python', '2.7.11 | 64-bit | (default, Jun 11 2016, 03:41:56) \n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]')
('NumPy', '1.11.3')
('SciPy', '0.19.0')
('Scikit-Learn', '0.18.1')
</code></pre></div> | <p dir="auto">There is a new bug in master brunch, <code class="notranslate">scikit-learn/sklearn/utils/fixes.py</code><br>
in line 406: <code class="notranslate">if np_version < (1, 12, 0):</code> , an error occured, <code class="notranslate">TypeError: unorderable types: str() < int()</code>.<br>
It's because in the function :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def _parse_version(version_string):
version = []
for x in version_string.split('.'):
try:
version.append(int(x))
except ValueError:
# x may be of the form dev-1ea1592
version.append(x)
return tuple(version)"><pre class="notranslate"><code class="notranslate">def _parse_version(version_string):
version = []
for x in version_string.split('.'):
try:
version.append(int(x))
except ValueError:
# x may be of the form dev-1ea1592
version.append(x)
return tuple(version)
</code></pre></div>
<p dir="auto">However, my numpy version is:<code class="notranslate">1.12.0b1</code>, this funciotn return a tuple(1,12,'0b1') , but in line 406, It is compared with integer type, so the error occured.<br>
I just in a simple way to solve it. I change the code to <code class="notranslate">if np_version < (1, 12, '0'):</code> in line 406, just change the third tuple index to string type.<br>
Of course, this is not a common method.</p> | 0 |
<p dir="auto"><strong>Elasticsearch version</strong>: 2.4.0<br>
<strong>JVM version</strong>: 1.8<br>
<strong>OS version</strong>: Elastic Cloud</p>
<p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p>
<p dir="auto">distanceInMiles() is not recognized when GeoPoints come from an array. Expected behavior is that the geo distance methods would operate on individual GeoPoints regardless of where they originate.</p>
<p dir="auto">Error Message: No signature of method: org.elasticsearch.common.geo.GeoPoint.distanceInMiles() is applicable for argument types: (java.lang.Double, java.lang.Double)</p>
<p dir="auto">Seems like elasticsearch is hoping for one of these: org.elasticsearch.index.fielddata.ScriptDocValues$GeoPoints</p>
<p dir="auto">Works fine: "script": "distance = doc['home.coordinates'].distanceInMiles(lat,lon)"<br>
Works fine: "script": "doc[favorite_parks.coordinates].each { coordinate -> sumOfDistances = 1 }; return 1 "<br>
Doesn't work: "script": "doc[favorite_parks.coordinates].each { coordinate -> sumOfDistances = coordinate.distanceInMiles(lat,lon) }; return 1 "</p>
<p dir="auto"><strong>Steps to reproduce</strong>:<br>
<a href="https://gist.github.com/alexlitvak13/8146cc5a8ac0defd5ffcf77116d375d4">https://gist.github.com/alexlitvak13/8146cc5a8ac0defd5ffcf77116d375d4</a></p>
<p dir="auto">Related commentary at the bottom of this ticket: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134109979" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/16695" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/16695/hovercard" href="https://github.com/elastic/elasticsearch/issues/16695">#16695</a></p> | <p dir="auto">It will be really confortable to allow call to arcDistance from GeoPoint. Indeed actually we can only call them from GeoPoints (and that will use only the first point).</p> | 1 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>For English only</strong>, other languages will not accept.</p>
<p dir="auto">Before report a bug, make sure you have:</p>
<ul dir="auto">
<li>Searched open and closed <a href="https://github.com/apache/shardingsphere/issues">GitHub issues</a>.</li>
<li>Read documentation: <a href="https://shardingsphere.apache.org/document/current/en/overview" rel="nofollow">ShardingSphere Doc</a>.</li>
</ul>
<p dir="auto">Please pay attention on issues you submitted, because we maybe need more details.<br>
If no response anymore and we cannot reproduce it on current information, we will <strong>close it</strong>.</p>
<p dir="auto">Please answer these questions before submitting your issue. Thanks!</p>
<h3 dir="auto">Which version of ShardingSphere did you use?</h3>
<p dir="auto">5.1.0</p>
<h3 dir="auto">Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?</h3>
<p dir="auto">ShardingSphere-Proxy</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">apache flink cdc connector work together with apache shardingsphere</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">when use apache ShardingSphere as cdc datasource,it will cause a error when cdc try to enum the database tables:</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto">ShardingSphere is missing the information_schema database which provider the metadata information of the instance databases,may be that's the reason?</p>
<h3 dir="auto">Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.</h3>
<p dir="auto">reference issue:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1223905815" data-permission-text="Title is private" data-url="https://github.com/ververica/flink-cdc-connectors/issues/1148" data-hovercard-type="issue" data-hovercard-url="/ververica/flink-cdc-connectors/issues/1148/hovercard" href="https://github.com/ververica/flink-cdc-connectors/issues/1148">ververica/flink-cdc-connectors#1148</a></p>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3>
<p dir="auto">reference issue:<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1223905815" data-permission-text="Title is private" data-url="https://github.com/ververica/flink-cdc-connectors/issues/1148" data-hovercard-type="issue" data-hovercard-url="/ververica/flink-cdc-connectors/issues/1148/hovercard" href="https://github.com/ververica/flink-cdc-connectors/issues/1148">ververica/flink-cdc-connectors#1148</a></p> | <h2 dir="auto">Preface</h2>
<p dir="auto">currently the agent module use <code class="notranslate">maven shade plugin</code> as the solution for dependency conflict, however this makes a lot of dependency duplication in different plugin modules, followings are the plugins :</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209263808-0a3da44b-8bdd-47a5-abb9-b39a57b84236.png"><img src="https://user-images.githubusercontent.com/4112856/209263808-0a3da44b-8bdd-47a5-abb9-b39a57b84236.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">the shaded guava are duplicated in all plugin artifact:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209263906-3a6892b1-99c1-4415-aa76-2a86b043f802.png"><img src="https://user-images.githubusercontent.com/4112856/209263906-3a6892b1-99c1-4415-aa76-2a86b043f802.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209263921-164cabe3-ba7f-4817-9488-843b76513547.png"><img src="https://user-images.githubusercontent.com/4112856/209263921-164cabe3-ba7f-4817-9488-843b76513547.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">Missions</h2>
<p dir="auto">to refactor the agent packaging, we need to refactor followings :</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> add shaded dependency in bootstrap module</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> add exclusions in plugins to make the plugin artifact smaller</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> extract the metrics-core seperately</li>
</ul>
<h3 dir="auto">Shaded Dependencies</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209606709-04246875-3ea4-4060-89f0-b6a515dc77df.png"><img width="403" alt="image" src="https://user-images.githubusercontent.com/4112856/209606709-04246875-3ea4-4060-89f0-b6a515dc77df.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">Reduce Size</h3>
<p dir="auto"><strong>before</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209593377-8594f09e-2657-47ee-b011-0494dfd167ef.png"><img width="1627" alt="image" src="https://user-images.githubusercontent.com/4112856/209593377-8594f09e-2657-47ee-b011-0494dfd167ef.png" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>after</strong><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209600549-7d2f0537-5b89-4ba3-815b-e182fe1d96c5.png"><img width="1633" alt="image" src="https://user-images.githubusercontent.com/4112856/209600549-7d2f0537-5b89-4ba3-815b-e182fe1d96c5.png" style="max-width: 100%;"></a></p>
<p dir="auto">the plugins reduced from <strong>63.2MB</strong> to <strong>12.1MB</strong></p>
<h3 dir="auto">extract metrics-core</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209606654-b0405da8-e72b-4192-8ff9-1fe06fdfe9c5.png"><img width="659" alt="image" src="https://user-images.githubusercontent.com/4112856/209606654-b0405da8-e72b-4192-8ff9-1fe06fdfe9c5.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">Test</h2>
<h3 dir="auto">Prometheus</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209606746-0823b405-f349-453d-9978-1885601631f4.png"><img width="890" alt="image" src="https://user-images.githubusercontent.com/4112856/209606746-0823b405-f349-453d-9978-1885601631f4.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">Zipkin</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4112856/209606779-20c8d9e7-d1d5-4601-bcc1-fcc43899b622.png"><img width="1485" alt="image" src="https://user-images.githubusercontent.com/4112856/209606779-20c8d9e7-d1d5-4601-bcc1-fcc43899b622.png" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Any use of => in a script inside an HTML file produces an error and says you have to set target:ES6 in jsconfig.json. But doing so does not make the error go away - it only applies to .js files</p> | <p dir="auto">I use Vue and webpack to build my webapp, which allows me to write a web component like this:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<style>
/*the component's css goes here*/
</style>
<template>
<!-- the component's html goes here-->
<div></div>
</template>
<script>
// the component's js goes here
import Xx from 'xx'
let xx = new Xx()
xx(yy => {
return 'Have a nice day'
})
</script>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-c">/*the component's css goes here*/</span>
<span class="pl-kos"></</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">template</span><span class="pl-kos">></span>
<span class="pl-c"><!-- the component's html goes here--></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span><span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">template</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c">// the component's js goes here</span>
<span class="pl-k">import</span> <span class="pl-v">Xx</span> <span class="pl-k">from</span> <span class="pl-s">'xx'</span>
<span class="pl-k">let</span> <span class="pl-s1">xx</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Xx</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-s1">xx</span><span class="pl-kos">(</span><span class="pl-s1">yy</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s">'Have a nice day'</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span></pre></div>
<p dir="auto">but, the problem is even I created a jsconfig.json file which sets the target to ES6. It just didn't work.</p> | 1 |
<p dir="auto">I was wondering if there was a technical reason to put these into one repo. It seems like it would be easier to maintain independent repos. If it is about going to one single location for everything, they could be under one organization, "DefinitelyTyped".</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest <code class="notranslate">angularjs/angular-component-router.d.ts</code> file in this repo and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I want to talk about <code class="notranslate">angularjs/angular-component-router.d.ts</code>.
<ul dir="auto">
<li>The authors of that type definition are cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/davidreher/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/davidreher">@davidreher</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vvakame/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vvakame">@vvakame</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/squadwuschel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/squadwuschel">@squadwuschel</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/calebegg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/calebegg">@calebegg</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Huzzle/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Huzzle">@Huzzle</a></li>
</ul>
</li>
</ul>
<p dir="auto">Component router redeclares <code class="notranslate">RouteDefinition</code> and <code class="notranslate">ComponentDefinition</code>, which are already declared in <code class="notranslate">angularjs/angular.d.ts</code>. Including both definition files together results many errors like this:<br>
<code class="notranslate">error TS2300: Duplicate identifier 'component'.</code></p> | 0 |
<p dir="auto">It calls <code class="notranslate">assertDuelOptimization</code> which is fairly confusing but doesn't seem to assert a whole lot. In fact I'm not really sure what it does assert.</p>
<p dir="auto">When you run the whole suite with <code class="notranslate">@Seed("A72FE66BDD9F236C")</code> it GCs fairly hard.</p>
<p dir="auto">This cam up in:<br>
<a href="https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-os-compatibility/os=ubuntu/726/console" rel="nofollow">https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-os-compatibility/os=ubuntu/726/console</a></p> | <p dir="auto">with this see:<br>
<code class="notranslate">gradle :core:integTest -Dtests.seed=9D639ADBB7706439 -Dtests.class=org.elasticsearch.search.sort.GeoDistanceIT -Dtests.method="testDuelOptimizations" -Dtests.security.manager=true -Dtests.locale=el -Dtests.timezone=CET</code></p>
<p dir="auto">I run into:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="==> Test Info: seed=9D639ADBB7706439; jvm=1; suite=1
Suite: org.elasticsearch.search.sort.GeoDistanceIT
1> [2016-07-05 10:38:56,227][WARN ][org.elasticsearch.bootstrap] Unable to lock JVM Memory: error=78, reason=Function not implemented
1> [2016-07-05 10:38:56,229][WARN ][org.elasticsearch.bootstrap] This can result in part of the JVM being swapped out.
1> [2016-07-05 10:38:59,333][INFO ][org.elasticsearch.search.sort] [GeoDistanceIT#testDuelOptimizations]: setup test
1> [2016-07-05 10:38:59,404][INFO ][org.elasticsearch.test ] Setup InternalTestCluster [SUITE-CHILD_VM=[0]-CLUSTER_SEED=[5060446888734553576]-HASH=[1046378D01417]-cluster] with seed [463A51A247C0F5E8] using [0] dedicated masters, [3] (data) nodes and [0] coord only nodes
1> [2016-07-05 10:39:00,853][INFO ][org.elasticsearch.node ] [node_s0] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:00,853][INFO ][org.elasticsearch.node ] [node_s0] initializing ...
1> [2016-07-05 10:39:00,894][INFO ][org.elasticsearch.plugins] [node_s0] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:05,899][INFO ][org.elasticsearch.env ] [node_s0] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:05,899][INFO ][org.elasticsearch.env ] [node_s0] heap size [491mb], compressed ordinary object pointers [true]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:09, stalled for 10.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:11,629][INFO ][org.elasticsearch.node ] [node_s0] initialized
1> [2016-07-05 10:39:11,631][INFO ][org.elasticsearch.node ] [node_s0] starting ...
1> [2016-07-05 10:39:11,637][INFO ][org.elasticsearch.transport] [node_s0] publish_address {local[1]}, bound_addresses {local[1]}
1> [2016-07-05 10:39:11,683][INFO ][org.elasticsearch.cluster.service] [node_s0] new_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, reason: local-disco-initial_connect(master)
1> [2016-07-05 10:39:11,693][INFO ][org.elasticsearch.node ] [node_s0] started
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.node ] [node_s1] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.node ] [node_s1] initializing ...
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.plugins] [node_s1] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:11,721][INFO ][org.elasticsearch.env ] [node_s1] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:11,721][INFO ][org.elasticsearch.env ] [node_s1] heap size [491mb], compressed ordinary object pointers [true]
1> [2016-07-05 10:39:11,818][INFO ][org.elasticsearch.gateway] [node_s0] recovered [0] indices into cluster_state
1> [2016-07-05 10:39:11,984][INFO ][org.elasticsearch.node ] [node_s1] initialized
1> [2016-07-05 10:39:11,985][INFO ][org.elasticsearch.node ] [node_s1] starting ...
1> [2016-07-05 10:39:11,991][INFO ][org.elasticsearch.transport] [node_s1] publish_address {local[2]}, bound_addresses {local[2]}
1> [2016-07-05 10:39:11,994][INFO ][org.elasticsearch.cluster.service] [node_s0] added {{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]},}, reason: local-disco-receive(from node[{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]}])
1> [2016-07-05 10:39:12,006][INFO ][org.elasticsearch.cluster.service] [node_s1] detected_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, added {{node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,016][INFO ][org.elasticsearch.node ] [node_s1] started
1> [2016-07-05 10:39:12,031][INFO ][org.elasticsearch.node ] [node_s2] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:12,031][INFO ][org.elasticsearch.node ] [node_s2] initializing ...
1> [2016-07-05 10:39:12,032][INFO ][org.elasticsearch.plugins] [node_s2] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:12,045][INFO ][org.elasticsearch.env ] [node_s2] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:12,045][INFO ][org.elasticsearch.env ] [node_s2] heap size [491mb], compressed ordinary object pointers [true]
1> [2016-07-05 10:39:12,110][INFO ][org.elasticsearch.node ] [node_s2] initialized
1> [2016-07-05 10:39:12,110][INFO ][org.elasticsearch.node ] [node_s2] starting ...
1> [2016-07-05 10:39:12,111][INFO ][org.elasticsearch.transport] [node_s2] publish_address {local[3]}, bound_addresses {local[3]}
1> [2016-07-05 10:39:12,113][INFO ][org.elasticsearch.cluster.service] [node_s0] added {{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]},}, reason: local-disco-receive(from node[{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]}])
1> [2016-07-05 10:39:12,136][INFO ][org.elasticsearch.cluster.service] [node_s1] added {{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,138][INFO ][org.elasticsearch.cluster.service] [node_s2] detected_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, added {{node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]},{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,145][INFO ][org.elasticsearch.node ] [node_s2] started
1> [2016-07-05 10:39:12,198][INFO ][org.elasticsearch.search.sort] test using _default_ mappings: [{"_default_":{}}]
1> [2016-07-05 10:39:12,449][INFO ][org.elasticsearch.search.sort] [GeoDistanceIT#testDuelOptimizations]: starting test
1> [2016-07-05 10:39:12,555][INFO ][org.elasticsearch.cluster.metadata] [node_s0] [index] creating index, cause [api], templates [random_index_template], shards [7]/[1], mappings [_default_, type]
1> [2016-07-05 10:39:12,758][INFO ][org.elasticsearch.plugins] [transport_client_node_s1] modules [], plugins []
1> [2016-07-05 10:39:12,791][INFO ][org.elasticsearch.transport] [transport_client_node_s1] publish_address {local[4]}, bound_addresses {local[4]}
1> [2016-07-05 10:39:12,804][INFO ][org.elasticsearch.plugins] [transport_client_node_s0] modules [], plugins []
1> [2016-07-05 10:39:12,823][INFO ][org.elasticsearch.transport] [transport_client_node_s0] publish_address {local[5]}, bound_addresses {local[5]}
1> [2016-07-05 10:39:12,885][INFO ][org.elasticsearch.plugins] [transport_client_node_s2] modules [], plugins []
1> [2016-07-05 10:39:12,907][INFO ][org.elasticsearch.transport] [transport_client_node_s2] publish_address {local[6]}, bound_addresses {local[6]}
1> [2016-07-05 10:39:13,030][INFO ][org.elasticsearch.cluster.routing.allocation] [node_s0] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[index][1], [index][2], [index][5], [index][4], [index][2], [index][5]] ...]).
1> [2016-07-05 10:39:13,264][INFO ][org.elasticsearch.cluster.routing.allocation] [node_s0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[index][5], [index][2], [index][2], [index][5]] ...]).
1> [2016-07-05 10:39:13,645][INFO ][org.elasticsearch.search.sort] Index [10195] docs async: [false] bulk: [true] partitions [11]
1> [2016-07-05 10:39:13,753][INFO ][org.elasticsearch.cluster.metadata] [node_s0] [index/mJJm22qWT_S83ojJ_oIxUQ] create_mapping [RANDOM_BOGUS_TYPE______]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:19, stalled for 20.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:25,297][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1797.0km, origin=(-59.52571451701207, -97.76032857491252)
1> [2016-07-05 10:39:25,645][INFO ][org.elasticsearch.search.sort] 121 hits
1> [2016-07-05 10:39:25,645][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=1797.0km, origin=(-59.52571451701207, -97.76032857491252)
1> [2016-07-05 10:39:25,679][INFO ][org.elasticsearch.search.sort] 121 hits
1> [2016-07-05 10:39:25,679][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=8402.0km, origin=(-30.631741764098656, -172.2723431422603)
1> [2016-07-05 10:39:26,265][INFO ][org.elasticsearch.search.sort] 1921 hits
1> [2016-07-05 10:39:26,265][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=8402.0km, origin=(-30.631741764098656, -172.2723431422603)
1> [2016-07-05 10:39:26,527][INFO ][org.elasticsearch.search.sort] 1921 hits
1> [2016-07-05 10:39:26,528][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1363.0km, origin=(-69.94611459615871, -151.37323663888245)
1> [2016-07-05 10:39:26,584][INFO ][org.elasticsearch.search.sort] 103 hits
1> [2016-07-05 10:39:26,584][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=1363.0km, origin=(-69.94611459615871, -151.37323663888245)
1> [2016-07-05 10:39:26,616][INFO ][org.elasticsearch.search.sort] 103 hits
1> [2016-07-05 10:39:26,616][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1317.0km, origin=(-86.05583303929738, 112.60762123704916)
1> [2016-07-05 10:39:28,774][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][17] overhead, spent [335ms] collecting in the last [1s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:29, stalled for 30.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:30,074][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][18] overhead, spent [316ms] collecting in the last [1s]
1> [2016-07-05 10:39:30,173][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][18] overhead, spent [316ms] collecting in the last [1s]
1> [2016-07-05 10:39:34,018][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][19] overhead, spent [3.7s] collecting in the last [3.9s]
1> [2016-07-05 10:39:34,018][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][19] overhead, spent [3.7s] collecting in the last [3.8s]
1> [2016-07-05 10:39:34,037][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][19] overhead, spent [3.8s] collecting in the last [4.2s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:39, stalled for 40.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:49, stalled for 50.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:59, stalled for 60.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:09, stalled for 70.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:19, stalled for 80.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:29, stalled for 90.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:39, stalled for 100s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:49, stalled for 110s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:59, stalled for 120s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:09, stalled for 130s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:19, stalled for 140s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:29, stalled for 150s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:39, stalled for 160s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:41:47,363][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][21] overhead, spent [1.9m] collecting in the last [9.2s]
1> [2016-07-05 10:41:47,365][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][21] overhead, spent [48.2s] collecting in the last [2.6s]
1> [2016-07-05 10:41:47,376][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][21] overhead, spent [48.2s] collecting in the last [2.6s]
1> [2016-07-05 10:41:47,428][WARN ][org.elasticsearch.transport] [transport_client_node_s0] Received response for a request that has timed out, sent [96692ms] ago, timed out [41ms] ago, action [cluster:monitor/nodes/liveness], node [{#transport#-1}{65cGS8JbRICTfQiJ2J0NXg}{local}{local[1]}], id [63]
1> [2016-07-05 10:41:47,429][INFO ][org.elasticsearch.client.transport] [transport_client_node_s0] failed to get node info for {#transport#-1}{65cGS8JbRICTfQiJ2J0NXg}{local}{local[1]}, disconnecting...
1> ReceiveTimeoutTransportException[[][local[1]][cluster:monitor/nodes/liveness] request_id [63] timed out after [96651ms]]
1> at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:820)
1> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:391)
1> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
1> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
1> at java.lang.Thread.run(Thread.java:745)
1> [2016-07-05 10:41:47,429][INFO ][org.elasticsearch.client.transport] [transport_client_node_s1] failed to get node info for {#transport#-1}{yzWaILXVRrK2bShnxGu_gQ}{local}{local[2]}, disconnecting...
1> ReceiveTimeoutTransportException[[][local[2]][cluster:monitor/nodes/liveness] request_id [65] timed out after [83184ms]]
1> at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:820)
1> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:391)
1> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
1> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
1> at java.lang.Thread.run(Thread.java:745)
1> [2016-07-05 10:41:47,428][WARN ][org.elasticsearch.transport] [transport_client_node_s1] Received response for a request that has timed out, sent [91531ms] ago, timed out [8347ms] ago, action [cluster:monitor/nodes/liveness], node [{#transport#-1}{yzWaILXVRrK2bShnxGu_gQ}{local}{local[2]}], id [65]
2> Ιουλ 05, 2016 10:41:47 ΠΜ com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
2> WARNING: Uncaught exception in thread: Thread[elasticsearch[node_s1][search][T#2],5,TGRP-GeoDistanceIT]
2> java.lang.OutOfMemoryError: GC overhead limit exceeded
2> at __randomizedtesting.SeedInfo.seed([9D639ADBB7706439]:0)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:98)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
1> [2016-07-05 10:41:48,371][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][22] overhead, spent [1.1m] collecting in the last [2.1m]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:49, stalled for 170s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:41:48,382][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][22] overhead, spent [1.1m] collecting in the last [2.1m]
1> [2016-07-05 10:41:49,711][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:49,711][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:49,712][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:58,032][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
1> [2016-07-05 10:41:58,033][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
1> [2016-07-05 10:41:58,032][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:00, stalled for 182s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:03,911][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:03,911][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:03,912][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:05,680][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:05,680][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:05,681][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:10, stalled for 192s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:19,183][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
1> [2016-07-05 10:42:19,183][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
1> [2016-07-05 10:42:19,184][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:20, stalled for 202s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:30, stalled for 212s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:32,959][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.3mb]/[491mb], all_pools {[young] [5mb]->[189.6kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,959][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:32,960][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.3mb]/[491mb], all_pools {[young] [5mb]->[225kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,960][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:32,960][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.6mb]/[491mb], all_pools {[young] [5mb]->[464.7kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,960][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:40, stalled for 222s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:50, stalled for 232s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:00, stalled for 242s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:10, stalled for 252s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:20, stalled for 262s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:30, stalled for 272s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:40, stalled for 282s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:50, stalled for 292s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:00, stalled for 302s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:10, stalled for 312s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:21, stalled for 322s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:31, stalled for 332s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:41, stalled for 342s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:51, stalled for 352s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:01, stalled for 362s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:11, stalled for 372s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:21, stalled for 382s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:31, stalled for 392s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:41, stalled for 402s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:51, stalled for 412s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:01, stalled for 422s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:11, stalled for 432s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:21, stalled for 442s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:31, stalled for 452s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:41, stalled for 462s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:51, stalled for 472s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:01, stalled for 482s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:11, stalled for 492s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:21, stalled for 502s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:31, stalled for 512s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:41, stalled for 522s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:51, stalled for 532s at: GeoDistanceIT.testDuelOptimizations"><pre class="notranslate"><code class="notranslate">==> Test Info: seed=9D639ADBB7706439; jvm=1; suite=1
Suite: org.elasticsearch.search.sort.GeoDistanceIT
1> [2016-07-05 10:38:56,227][WARN ][org.elasticsearch.bootstrap] Unable to lock JVM Memory: error=78, reason=Function not implemented
1> [2016-07-05 10:38:56,229][WARN ][org.elasticsearch.bootstrap] This can result in part of the JVM being swapped out.
1> [2016-07-05 10:38:59,333][INFO ][org.elasticsearch.search.sort] [GeoDistanceIT#testDuelOptimizations]: setup test
1> [2016-07-05 10:38:59,404][INFO ][org.elasticsearch.test ] Setup InternalTestCluster [SUITE-CHILD_VM=[0]-CLUSTER_SEED=[5060446888734553576]-HASH=[1046378D01417]-cluster] with seed [463A51A247C0F5E8] using [0] dedicated masters, [3] (data) nodes and [0] coord only nodes
1> [2016-07-05 10:39:00,853][INFO ][org.elasticsearch.node ] [node_s0] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:00,853][INFO ][org.elasticsearch.node ] [node_s0] initializing ...
1> [2016-07-05 10:39:00,894][INFO ][org.elasticsearch.plugins] [node_s0] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:05,899][INFO ][org.elasticsearch.env ] [node_s0] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:05,899][INFO ][org.elasticsearch.env ] [node_s0] heap size [491mb], compressed ordinary object pointers [true]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:09, stalled for 10.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:11,629][INFO ][org.elasticsearch.node ] [node_s0] initialized
1> [2016-07-05 10:39:11,631][INFO ][org.elasticsearch.node ] [node_s0] starting ...
1> [2016-07-05 10:39:11,637][INFO ][org.elasticsearch.transport] [node_s0] publish_address {local[1]}, bound_addresses {local[1]}
1> [2016-07-05 10:39:11,683][INFO ][org.elasticsearch.cluster.service] [node_s0] new_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, reason: local-disco-initial_connect(master)
1> [2016-07-05 10:39:11,693][INFO ][org.elasticsearch.node ] [node_s0] started
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.node ] [node_s1] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.node ] [node_s1] initializing ...
1> [2016-07-05 10:39:11,702][INFO ][org.elasticsearch.plugins] [node_s1] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:11,721][INFO ][org.elasticsearch.env ] [node_s1] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:11,721][INFO ][org.elasticsearch.env ] [node_s1] heap size [491mb], compressed ordinary object pointers [true]
1> [2016-07-05 10:39:11,818][INFO ][org.elasticsearch.gateway] [node_s0] recovered [0] indices into cluster_state
1> [2016-07-05 10:39:11,984][INFO ][org.elasticsearch.node ] [node_s1] initialized
1> [2016-07-05 10:39:11,985][INFO ][org.elasticsearch.node ] [node_s1] starting ...
1> [2016-07-05 10:39:11,991][INFO ][org.elasticsearch.transport] [node_s1] publish_address {local[2]}, bound_addresses {local[2]}
1> [2016-07-05 10:39:11,994][INFO ][org.elasticsearch.cluster.service] [node_s0] added {{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]},}, reason: local-disco-receive(from node[{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]}])
1> [2016-07-05 10:39:12,006][INFO ][org.elasticsearch.cluster.service] [node_s1] detected_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, added {{node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,016][INFO ][org.elasticsearch.node ] [node_s1] started
1> [2016-07-05 10:39:12,031][INFO ][org.elasticsearch.node ] [node_s2] version[5.0.0-alpha4-SNAPSHOT], pid[27139], build[Unknown/Unknown], OS[Mac OS X/10.11.5/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]
1> [2016-07-05 10:39:12,031][INFO ][org.elasticsearch.node ] [node_s2] initializing ...
1> [2016-07-05 10:39:12,032][INFO ][org.elasticsearch.plugins] [node_s2] modules [], plugins [org.elasticsearch.test.InternalSettingsPlugin, org.elasticsearch.test.ESIntegTestCase$TestSeedPlugin]
1> [2016-07-05 10:39:12,045][INFO ][org.elasticsearch.env ] [node_s2] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [100.8gb], net total_space [232.6gb], spins? [unknown], types [hfs]
1> [2016-07-05 10:39:12,045][INFO ][org.elasticsearch.env ] [node_s2] heap size [491mb], compressed ordinary object pointers [true]
1> [2016-07-05 10:39:12,110][INFO ][org.elasticsearch.node ] [node_s2] initialized
1> [2016-07-05 10:39:12,110][INFO ][org.elasticsearch.node ] [node_s2] starting ...
1> [2016-07-05 10:39:12,111][INFO ][org.elasticsearch.transport] [node_s2] publish_address {local[3]}, bound_addresses {local[3]}
1> [2016-07-05 10:39:12,113][INFO ][org.elasticsearch.cluster.service] [node_s0] added {{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]},}, reason: local-disco-receive(from node[{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]}])
1> [2016-07-05 10:39:12,136][INFO ][org.elasticsearch.cluster.service] [node_s1] added {{node_s2}{kEqhOhmdRSSF_ZMEtNcjiA}{IkTxKRhtQ8KTk-9Cyr3GPw}{local}{local[3]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,138][INFO ][org.elasticsearch.cluster.service] [node_s2] detected_master {node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]}, added {{node_s0}{HeZ3nsHmTeGJV-xBA8Jnqw}{0z-S-nOMTZCUCGx8mo96tw}{local}{local[1]},{node_s1}{BAEudZyYTtKvHdV3mCitGA}{A5mMsb-jTqS5Ks27ZBM2Ng}{local}{local[2]},}, reason: local-disco-receive(from master)
1> [2016-07-05 10:39:12,145][INFO ][org.elasticsearch.node ] [node_s2] started
1> [2016-07-05 10:39:12,198][INFO ][org.elasticsearch.search.sort] test using _default_ mappings: [{"_default_":{}}]
1> [2016-07-05 10:39:12,449][INFO ][org.elasticsearch.search.sort] [GeoDistanceIT#testDuelOptimizations]: starting test
1> [2016-07-05 10:39:12,555][INFO ][org.elasticsearch.cluster.metadata] [node_s0] [index] creating index, cause [api], templates [random_index_template], shards [7]/[1], mappings [_default_, type]
1> [2016-07-05 10:39:12,758][INFO ][org.elasticsearch.plugins] [transport_client_node_s1] modules [], plugins []
1> [2016-07-05 10:39:12,791][INFO ][org.elasticsearch.transport] [transport_client_node_s1] publish_address {local[4]}, bound_addresses {local[4]}
1> [2016-07-05 10:39:12,804][INFO ][org.elasticsearch.plugins] [transport_client_node_s0] modules [], plugins []
1> [2016-07-05 10:39:12,823][INFO ][org.elasticsearch.transport] [transport_client_node_s0] publish_address {local[5]}, bound_addresses {local[5]}
1> [2016-07-05 10:39:12,885][INFO ][org.elasticsearch.plugins] [transport_client_node_s2] modules [], plugins []
1> [2016-07-05 10:39:12,907][INFO ][org.elasticsearch.transport] [transport_client_node_s2] publish_address {local[6]}, bound_addresses {local[6]}
1> [2016-07-05 10:39:13,030][INFO ][org.elasticsearch.cluster.routing.allocation] [node_s0] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[index][1], [index][2], [index][5], [index][4], [index][2], [index][5]] ...]).
1> [2016-07-05 10:39:13,264][INFO ][org.elasticsearch.cluster.routing.allocation] [node_s0] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[index][5], [index][2], [index][2], [index][5]] ...]).
1> [2016-07-05 10:39:13,645][INFO ][org.elasticsearch.search.sort] Index [10195] docs async: [false] bulk: [true] partitions [11]
1> [2016-07-05 10:39:13,753][INFO ][org.elasticsearch.cluster.metadata] [node_s0] [index/mJJm22qWT_S83ojJ_oIxUQ] create_mapping [RANDOM_BOGUS_TYPE______]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:19, stalled for 20.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:25,297][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1797.0km, origin=(-59.52571451701207, -97.76032857491252)
1> [2016-07-05 10:39:25,645][INFO ][org.elasticsearch.search.sort] 121 hits
1> [2016-07-05 10:39:25,645][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=1797.0km, origin=(-59.52571451701207, -97.76032857491252)
1> [2016-07-05 10:39:25,679][INFO ][org.elasticsearch.search.sort] 121 hits
1> [2016-07-05 10:39:25,679][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=8402.0km, origin=(-30.631741764098656, -172.2723431422603)
1> [2016-07-05 10:39:26,265][INFO ][org.elasticsearch.search.sort] 1921 hits
1> [2016-07-05 10:39:26,265][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=8402.0km, origin=(-30.631741764098656, -172.2723431422603)
1> [2016-07-05 10:39:26,527][INFO ][org.elasticsearch.search.sort] 1921 hits
1> [2016-07-05 10:39:26,528][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1363.0km, origin=(-69.94611459615871, -151.37323663888245)
1> [2016-07-05 10:39:26,584][INFO ][org.elasticsearch.search.sort] 103 hits
1> [2016-07-05 10:39:26,584][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=SLOPPY_ARC, distance=1363.0km, origin=(-69.94611459615871, -151.37323663888245)
1> [2016-07-05 10:39:26,616][INFO ][org.elasticsearch.search.sort] 103 hits
1> [2016-07-05 10:39:26,616][INFO ][org.elasticsearch.search.sort] Now testing GeoDistance=ARC, distance=1317.0km, origin=(-86.05583303929738, 112.60762123704916)
1> [2016-07-05 10:39:28,774][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][17] overhead, spent [335ms] collecting in the last [1s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:29, stalled for 30.2s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:39:30,074][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][18] overhead, spent [316ms] collecting in the last [1s]
1> [2016-07-05 10:39:30,173][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][18] overhead, spent [316ms] collecting in the last [1s]
1> [2016-07-05 10:39:34,018][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][19] overhead, spent [3.7s] collecting in the last [3.9s]
1> [2016-07-05 10:39:34,018][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][19] overhead, spent [3.7s] collecting in the last [3.8s]
1> [2016-07-05 10:39:34,037][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][19] overhead, spent [3.8s] collecting in the last [4.2s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
1> [2016-07-05 10:39:36,673][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][20] overhead, spent [2.2s] collecting in the last [2.6s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:39, stalled for 40.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:49, stalled for 50.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:39:59, stalled for 60.2s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:09, stalled for 70.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:19, stalled for 80.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:29, stalled for 90.3s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:39, stalled for 100s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:49, stalled for 110s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:40:59, stalled for 120s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:09, stalled for 130s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:19, stalled for 140s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:29, stalled for 150s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:39, stalled for 160s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:41:47,363][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][21] overhead, spent [1.9m] collecting in the last [9.2s]
1> [2016-07-05 10:41:47,365][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][21] overhead, spent [48.2s] collecting in the last [2.6s]
1> [2016-07-05 10:41:47,376][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][21] overhead, spent [48.2s] collecting in the last [2.6s]
1> [2016-07-05 10:41:47,428][WARN ][org.elasticsearch.transport] [transport_client_node_s0] Received response for a request that has timed out, sent [96692ms] ago, timed out [41ms] ago, action [cluster:monitor/nodes/liveness], node [{#transport#-1}{65cGS8JbRICTfQiJ2J0NXg}{local}{local[1]}], id [63]
1> [2016-07-05 10:41:47,429][INFO ][org.elasticsearch.client.transport] [transport_client_node_s0] failed to get node info for {#transport#-1}{65cGS8JbRICTfQiJ2J0NXg}{local}{local[1]}, disconnecting...
1> ReceiveTimeoutTransportException[[][local[1]][cluster:monitor/nodes/liveness] request_id [63] timed out after [96651ms]]
1> at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:820)
1> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:391)
1> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
1> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
1> at java.lang.Thread.run(Thread.java:745)
1> [2016-07-05 10:41:47,429][INFO ][org.elasticsearch.client.transport] [transport_client_node_s1] failed to get node info for {#transport#-1}{yzWaILXVRrK2bShnxGu_gQ}{local}{local[2]}, disconnecting...
1> ReceiveTimeoutTransportException[[][local[2]][cluster:monitor/nodes/liveness] request_id [65] timed out after [83184ms]]
1> at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:820)
1> at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:391)
1> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
1> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
1> at java.lang.Thread.run(Thread.java:745)
1> [2016-07-05 10:41:47,428][WARN ][org.elasticsearch.transport] [transport_client_node_s1] Received response for a request that has timed out, sent [91531ms] ago, timed out [8347ms] ago, action [cluster:monitor/nodes/liveness], node [{#transport#-1}{yzWaILXVRrK2bShnxGu_gQ}{local}{local[2]}], id [65]
2> Ιουλ 05, 2016 10:41:47 ΠΜ com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler uncaughtException
2> WARNING: Uncaught exception in thread: Thread[elasticsearch[node_s1][search][T#2],5,TGRP-GeoDistanceIT]
2> java.lang.OutOfMemoryError: GC overhead limit exceeded
2> at __randomizedtesting.SeedInfo.seed([9D639ADBB7706439]:0)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:98)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:71)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.relateAndRecurse(GeoPointNumericTermsEnum.java:101)
2> at org.apache.lucene.spatial.geopoint.search.GeoPointNumericTermsEnum.computeRange(GeoPointNumericTermsEnum.java:70)
1> [2016-07-05 10:41:48,371][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][22] overhead, spent [1.1m] collecting in the last [2.1m]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:41:49, stalled for 170s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:41:48,382][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][22] overhead, spent [1.1m] collecting in the last [2.1m]
1> [2016-07-05 10:41:49,711][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:49,711][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:49,712][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][23] overhead, spent [690ms] collecting in the last [1.3s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:50,806][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][24] overhead, spent [341ms] collecting in the last [1s]
1> [2016-07-05 10:41:58,032][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
1> [2016-07-05 10:41:58,033][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
1> [2016-07-05 10:41:58,032][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][27] overhead, spent [5s] collecting in the last [5.2s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:00, stalled for 182s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:00,687][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][28] overhead, spent [2.3s] collecting in the last [2.6s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:02,523][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][29] overhead, spent [1.6s] collecting in the last [1.8s]
1> [2016-07-05 10:42:03,911][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:03,911][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:03,912][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][30] overhead, spent [1.1s] collecting in the last [1.3s]
1> [2016-07-05 10:42:05,680][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:05,680][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:05,681][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][31] overhead, spent [1.3s] collecting in the last [1.7s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:10, stalled for 192s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:12,722][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][33] overhead, spent [4.9s] collecting in the last [5.9s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:15,004][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][34] overhead, spent [1.7s] collecting in the last [2.2s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:16,731][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][35] overhead, spent [1.3s] collecting in the last [1.7s]
1> [2016-07-05 10:42:19,183][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
1> [2016-07-05 10:42:19,183][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
1> [2016-07-05 10:42:19,184][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][36] overhead, spent [2.2s] collecting in the last [2.4s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:20, stalled for 202s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
1> [2016-07-05 10:42:22,605][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][38] overhead, spent [2.1s] collecting in the last [2.4s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:30, stalled for 212s at: GeoDistanceIT.testDuelOptimizations
1> [2016-07-05 10:42:32,959][INFO ][org.elasticsearch.monitor.jvm] [node_s2] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.3mb]/[491mb], all_pools {[young] [5mb]->[189.6kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,959][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:32,960][INFO ][org.elasticsearch.monitor.jvm] [node_s1] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.3mb]/[491mb], all_pools {[young] [5mb]->[225kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,960][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:32,960][INFO ][org.elasticsearch.monitor.jvm] [node_s0] [gc][old][41][64] duration [7.4s], collections [1]/[8.3s], total [7.4s]/[2.5m], memory [249.4mb]->[301.6mb]/[491mb], all_pools {[young] [5mb]->[464.7kb]/[57.5mb]}{[survivor] [56.5mb]->[0b]/[56.5mb]}{[old] [187.8mb]->[301.1mb]/[341.5mb]}
1> [2016-07-05 10:42:32,960][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][41] overhead, spent [7.7s] collecting in the last [8.3s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:36,837][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][42] overhead, spent [3.1s] collecting in the last [3.8s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s2] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s0] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
1> [2016-07-05 10:42:38,746][WARN ][org.elasticsearch.monitor.jvm] [node_s1] [gc][43] overhead, spent [1.5s] collecting in the last [1.9s]
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:40, stalled for 222s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:42:50, stalled for 232s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:00, stalled for 242s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:10, stalled for 252s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:20, stalled for 262s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:30, stalled for 272s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:40, stalled for 282s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:43:50, stalled for 292s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:00, stalled for 302s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:10, stalled for 312s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:21, stalled for 322s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:31, stalled for 332s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:41, stalled for 342s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:44:51, stalled for 352s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:01, stalled for 362s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:11, stalled for 372s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:21, stalled for 382s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:31, stalled for 392s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:41, stalled for 402s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:45:51, stalled for 412s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:01, stalled for 422s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:11, stalled for 432s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:21, stalled for 442s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:31, stalled for 452s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:41, stalled for 462s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:46:51, stalled for 472s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:01, stalled for 482s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:11, stalled for 492s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:21, stalled for 502s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:31, stalled for 512s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:41, stalled for 522s at: GeoDistanceIT.testDuelOptimizations
HEARTBEAT J0 PID([email protected]): 2016-07-05T10:47:51, stalled for 532s at: GeoDistanceIT.testDuelOptimizations
</code></pre></div>
<p dir="auto">sometimes it passes but mainly it blows up</p> | 1 |
<p dir="auto">like cmder or other terminal,can set a shortcut key,this shortcut key can hide or show terminal window.<br>
and if enable this setting ,the terminal do not show in taskbar.<br>
: )</p> | <p dir="auto">The petty thing I miss most when I pop into Windows is having a separate hot key terminal for each of my three monitors. The closest i've ever been to believing in god was when I realized that was obtainable and if you could make that happen in Windows I just might have to kiss you.</p> | 1 |
<p dir="auto">XMLHttpRequest is discouraged and will be more rare to be found in the <a href="https://github.com/whatwg/xhr/issues/19#issuecomment-106977644" data-hovercard-type="issue" data-hovercard-url="/whatwg/xhr/issues/19/hovercard">new contexts like service worker</a>.</p>
<p dir="auto">Should <code class="notranslate">axios</code> use <code class="notranslate">fetch</code> when <code class="notranslate">XMLHttpRequest</code> is not available?</p> | <h4 dir="auto">Describe the bug</h4>
<p dir="auto">When specifying an expected <code class="notranslate">response.data</code> type to the post method it also sets that expected type to the request body. Also, when not specifying a type, the type for the <code class="notranslate">response.data</code> gets inferred to be the same as the type of the request body. This leads to typescript errors in VS Code and during compile time when the response and request bodies in code doesn't have the same type (which is usually the case). This was not an issue in v0.21.4 - which I reverted to in order to get around this issue.</p>
<h4 dir="auto">To Reproduce</h4>
<ol dir="auto">
<li>Install axios v0.22.0</li>
<li>Add a type for the <code class="notranslate">response.data</code> like in this example:</li>
</ol>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="axios.post<ExpectedResponseBody>(`post url`, { foo: "bar" }, {});"><pre class="notranslate"><span class="pl-s1">axios</span><span class="pl-kos">.</span><span class="pl-en">post</span><span class="pl-kos"><</span><span class="pl-smi">ExpectedResponseBody</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-s">`post url`</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-s">"bar"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Also look at the CodeSandbox example <a href="https://codesandbox.io/s/axios-v0-22-0-type-issue-joty3?file=/src/App.tsx:897-1031" rel="nofollow">here</a></p>
<h4 dir="auto">Expected behavior</h4>
<p dir="auto">When specifying the expected type of the <code class="notranslate">response.data</code> in the post call, the request body shouldn't have the same expected type. And the inferred type for the request body shouldn't automatically get applied to <code class="notranslate">response.data</code>.</p>
<h4 dir="auto">Environment</h4>
<ul dir="auto">
<li>Axios Version 0.22.0</li>
<li>Adapter N/A</li>
<li>Browser N/A</li>
<li>Browser Version N/A</li>
<li>Node.js Version: 14.17.3</li>
<li>OS: Win 10</li>
<li>Additional Library Versions: Typescript 4.4.3</li>
</ul>
<h4 dir="auto">Additional context/Screenshots</h4>
<p dir="auto">Type for post method in axios v0.21.4<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22648295/135825306-2f1850cf-4200-4766-899a-057a98b4fe3c.png"><img src="https://user-images.githubusercontent.com/22648295/135825306-2f1850cf-4200-4766-899a-057a98b4fe3c.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Type for post method in axios v0.22.0. Note that <code class="notranslate">T</code> is also set to request data and config in this version - which is what I believe is the cause of the issue.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22648295/135825453-d7abbb3a-4db1-4fd3-98a0-b25567c633a0.png"><img src="https://user-images.githubusercontent.com/22648295/135825453-d7abbb3a-4db1-4fd3-98a0-b25567c633a0.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">The majority of unique code per resource type in our <code class="notranslate">RESTStorage</code> implementations deals with populating default values on an object and validating the object prior to persistence. The other 99% of the code is pretty common across all of our resource types and could be generalized. When we look at our tests, the majority of our <code class="notranslate">rest_test.go</code> files are just ensuring that validation occurs prior to create/update. There is a lot of duplicate effort where we could just mandate that the framework that calls the <code class="notranslate">RESTStorage</code> guarantees that the object is valid.</p>
<p dir="auto">I would like to suggest that the <code class="notranslate">resthandler.go</code> logic enforces that prior to calling a <code class="notranslate">RESTStorage</code> Create and Update operation, it makes a call to something like the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="type Validator interface {
// ValidateCreate will populate default values on the object, and ensure its valid for persistence
ValidateCreate(ctx api.Context, obj runtime.Object) error
// ValidateUpdate will validate the newObj and copy values required from oldObject prior to persistence
ValidateUpdate(ctx api.Context, newObj runtime.Object, oldObj runtime.Object) error
}"><pre class="notranslate"><code class="notranslate">type Validator interface {
// ValidateCreate will populate default values on the object, and ensure its valid for persistence
ValidateCreate(ctx api.Context, obj runtime.Object) error
// ValidateUpdate will validate the newObj and copy values required from oldObject prior to persistence
ValidateUpdate(ctx api.Context, newObj runtime.Object, oldObj runtime.Object) error
}
</code></pre></div>
<p dir="auto">In addition, as we look to the future, there are some additional concepts that I would like the <code class="notranslate">resthandler.go</code> to enforce uniformly across all resources without adding more boilerplate into each <code class="notranslate">RESTStorage</code> implementation. Specifically, I do not want to invoke any Admission control style logic for invalid input, but I do not want to modify each <code class="notranslate">RESTStorage</code> implementation to have to make an explicit call-out to perform admission control as it just increases more boiler plate code.</p> | <p dir="auto">We're using Kubernetes 1.2.1 on AWS.</p>
<p dir="auto">We've been experiencing duplicate UDP packets. It happens only on a very specific setup:</p>
<ol dir="auto">
<li>A pod (pod1) that exposes some UDP port</li>
<li>A service that directs traffic to that pod</li>
<li>Another pod (pod2) to send UDP packets (we used netcat for this)</li>
<li>The pods must be running on the <strong>same</strong> node</li>
</ol>
<p dir="auto">When pod2 sends a UDP message to pod1 via the <strong>service</strong> pod1 shows it received the message twice.<br>
When we go from pod2 directly to the ip of pod1 the message is received once without duplications..<br>
Also, when sending UDP messages from a pod that is running on another machine we don't get the duplication both to the service and pod ip.</p>
<p dir="auto">We created a repository do make the problem re-produceable here: <a href="https://github.com/nanit/udp-server">https://github.com/nanit/udp-server</a>. It contains:</p>
<ol dir="auto">
<li>A kube directory with both the deployment and service definitions.</li>
<li>An app directory with the Dockerfile we used to run the udp listener (using tcpdump).</li>
</ol>
<p dir="auto">We used netcat in order to send UDP packets to the listener:<br>
<code class="notranslate">echo "some message" | nc -u udp-listen 8088</code></p>
<p dir="auto">When we replaced udp-listen (the service name) with the explicit ip of the pod we didn't get the duplication.<br>
Also, when sending UDP messages from a pod running on another node we didn't get the duplications.</p>
<p dir="auto">I'll be happy to provide any further info if needed.</p> | 0 |
<p dir="auto">When running</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import pandas as pd
index = pd.date_range('1/1/2000', periods=9, freq='0.9S')
series = pd.Series(range(9), index=index)
>>> series
2000-01-01 00:00:00.000 0
2000-01-01 00:00:00.900 1
2000-01-01 00:00:01.800 2
2000-01-01 00:00:02.700 3
2000-01-01 00:00:03.600 4
2000-01-01 00:00:04.500 5
2000-01-01 00:00:05.400 6
2000-01-01 00:00:06.300 7
2000-01-01 00:00:07.200 8
Freq: 900L, dtype: int64"><pre class="notranslate"> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'1/1/2000'</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-c1">9</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'0.9S'</span>)
<span class="pl-s1">series</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-en">range</span>(<span class="pl-c1">9</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">index</span>)
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.000</span> <span class="pl-c1">0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.900</span> <span class="pl-c1">1</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.800</span> <span class="pl-c1">2</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">02.700</span> <span class="pl-c1">3</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">03.600</span> <span class="pl-c1">4</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">04.500</span> <span class="pl-c1">5</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">05.400</span> <span class="pl-c1">6</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">06.300</span> <span class="pl-c1">7</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">07.200</span> <span class="pl-c1">8</span>
<span class="pl-v">Freq</span>: <span class="pl-c1">900L</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">int64</span></pre></div>
<p dir="auto">I get</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" >>> series.resample(rule='0.5S').head(100)
2000-01-01 00:00:00.000 0.0
2000-01-01 00:00:00.500 1.0
2000-01-01 00:00:01.000 NaN
2000-01-01 00:00:01.500 2.0
2000-01-01 00:00:02.000 NaN
2000-01-01 00:00:02.500 3.0
2000-01-01 00:00:03.000 NaN
2000-01-01 00:00:03.500 4.0
2000-01-01 00:00:04.000 NaN
2000-01-01 00:00:04.500 5.0
2000-01-01 00:00:05.000 6.0
2000-01-01 00:00:05.500 NaN
2000-01-01 00:00:06.000 7.0
2000-01-01 00:00:06.500 NaN
2000-01-01 00:00:07.000 8.0
Freq: 500L, dtype: float64"><pre class="notranslate"> <span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">resample</span>(<span class="pl-s1">rule</span><span class="pl-c1">=</span><span class="pl-s">'0.5S'</span>).<span class="pl-en">head</span>(<span class="pl-c1">100</span>)
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.000</span> <span class="pl-c1">0.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.500</span> <span class="pl-c1">1.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.000</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.500</span> <span class="pl-c1">2.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">02.000</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">02.500</span> <span class="pl-c1">3.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">03.000</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">03.500</span> <span class="pl-c1">4.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">04.000</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">04.500</span> <span class="pl-c1">5.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">05.000</span> <span class="pl-c1">6.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">05.500</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">06.000</span> <span class="pl-c1">7.0</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">06.500</span> <span class="pl-v">NaN</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">07.000</span> <span class="pl-c1">8.0</span>
<span class="pl-v">Freq</span>: <span class="pl-c1">500L</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span></pre></div>
<p dir="auto">However I do not expect to get</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" >>> series.resample(rule='0.5S').interpolate(method='linear')
2000-01-01 00:00:00.000 0.000000
2000-01-01 00:00:00.500 0.555556
2000-01-01 00:00:01.000 1.111111
2000-01-01 00:00:01.500 1.666667
2000-01-01 00:00:02.000 2.222222
2000-01-01 00:00:02.500 2.777778
2000-01-01 00:00:03.000 3.333333
2000-01-01 00:00:03.500 3.888889
2000-01-01 00:00:04.000 4.444444
2000-01-01 00:00:04.500 5.000000
2000-01-01 00:00:05.000 5.000000
2000-01-01 00:00:05.500 5.000000
2000-01-01 00:00:06.000 5.000000
2000-01-01 00:00:06.500 5.000000
2000-01-01 00:00:07.000 5.000000
Freq: 500L, dtype: float64"><pre class="notranslate"> <span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">series</span>.<span class="pl-en">resample</span>(<span class="pl-s1">rule</span><span class="pl-c1">=</span><span class="pl-s">'0.5S'</span>).<span class="pl-en">interpolate</span>(<span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s">'linear'</span>)
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.000</span> <span class="pl-c1">0.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">00.500</span> <span class="pl-c1">0.555556</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.000</span> <span class="pl-c1">1.111111</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">01.500</span> <span class="pl-c1">1.666667</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">02.000</span> <span class="pl-c1">2.222222</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">02.500</span> <span class="pl-c1">2.777778</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">03.000</span> <span class="pl-c1">3.333333</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">03.500</span> <span class="pl-c1">3.888889</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">04.000</span> <span class="pl-c1">4.444444</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">04.500</span> <span class="pl-c1">5.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">05.000</span> <span class="pl-c1">5.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">05.500</span> <span class="pl-c1">5.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">06.000</span> <span class="pl-c1">5.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">06.500</span> <span class="pl-c1">5.000000</span>
<span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">01</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">00</span>:<span class="pl-c1">00</span>:<span class="pl-c1">07.000</span> <span class="pl-c1">5.000000</span>
<span class="pl-v">Freq</span>: <span class="pl-c1">500L</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span></pre></div>
<p dir="auto">instead I expect the last value to be still 8.0 and still 7.0 for the timestamp with 6.5 seconds.</p>
<p dir="auto">I posted this on <a href="https://stackoverflow.com/q/46728152/4533188" rel="nofollow">https://stackoverflow.com/q/46728152/4533188</a> and I was told this might be a bug - I got the same impression.</p>
<details>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-129-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
LOCALE: de_DE.UTF-8
pandas: 0.20.3
pytest: 3.2.1
pip: 9.0.1
setuptools: 36.2.2.post20170724
Cython: 0.26
numpy: 1.13.3
scipy: 0.19.1
xarray: None
IPython: None
sphinx: 1.6.3
patsy: 0.4.1
dateutil: 2.6.1
pytz: 2017.2
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.0.2
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: 0.9.8
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.6
s3fs: None
pandas_gbq: None
pandas_datareader: None
"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-en">show_versions</span>()
<span class="pl-v">INSTALLED</span> <span class="pl-v">VERSIONS</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-s1">commit</span>: <span class="pl-c1">None</span>
<span class="pl-s1">python</span>: <span class="pl-c1">3.6</span>.<span class="pl-c1">2.</span><span class="pl-s1">final</span>.<span class="pl-c1">0</span>
<span class="pl-s1">python</span><span class="pl-c1">-</span><span class="pl-s1">bits</span>: <span class="pl-c1">64</span>
<span class="pl-v">OS</span>: <span class="pl-v">Linux</span>
<span class="pl-v">OS</span><span class="pl-c1">-</span><span class="pl-s1">release</span>: <span class="pl-c1">3.13</span><span class="pl-c1">.0</span><span class="pl-c1">-</span><span class="pl-c1">129</span><span class="pl-c1">-</span><span class="pl-s1">generic</span>
<span class="pl-s1">machine</span>: <span class="pl-s1">x86_64</span>
<span class="pl-s1">processor</span>: <span class="pl-s1">x86_64</span>
<span class="pl-s1">byteorder</span>: <span class="pl-s1">little</span>
<span class="pl-v">LC_ALL</span>: <span class="pl-c1">None</span>
<span class="pl-v">LANG</span>: <span class="pl-s1">de_DE</span>.<span class="pl-v">UTF</span><span class="pl-c1">-</span><span class="pl-c1">8</span>
<span class="pl-v">LOCALE</span>: <span class="pl-s1">de_DE</span>.<span class="pl-v">UTF</span><span class="pl-c1">-</span><span class="pl-c1">8</span>
<span class="pl-s1">pandas</span>: <span class="pl-c1">0.20</span>.<span class="pl-c1">3</span>
<span class="pl-s1">pytest</span>: <span class="pl-c1">3.2</span>.<span class="pl-c1">1</span>
<span class="pl-s1">pip</span>: <span class="pl-c1">9.0</span>.<span class="pl-c1">1</span>
<span class="pl-s1">setuptools</span>: <span class="pl-c1">36.2</span>.<span class="pl-c1">2.</span><span class="pl-s1">post20170724</span>
<span class="pl-v">Cython</span>: <span class="pl-c1">0.26</span>
<span class="pl-s1">numpy</span>: <span class="pl-c1">1.13</span>.<span class="pl-c1">3</span>
<span class="pl-s1">scipy</span>: <span class="pl-c1">0.19</span>.<span class="pl-c1">1</span>
<span class="pl-s1">xarray</span>: <span class="pl-c1">None</span>
<span class="pl-v">IPython</span>: <span class="pl-c1">None</span>
<span class="pl-s1">sphinx</span>: <span class="pl-c1">1.6</span>.<span class="pl-c1">3</span>
<span class="pl-s1">patsy</span>: <span class="pl-c1">0.4</span>.<span class="pl-c1">1</span>
<span class="pl-s1">dateutil</span>: <span class="pl-c1">2.6</span>.<span class="pl-c1">1</span>
<span class="pl-s1">pytz</span>: <span class="pl-c1">2017.2</span>
<span class="pl-s1">blosc</span>: <span class="pl-c1">None</span>
<span class="pl-s1">bottleneck</span>: <span class="pl-c1">None</span>
<span class="pl-s1">tables</span>: <span class="pl-c1">None</span>
<span class="pl-s1">numexpr</span>: <span class="pl-c1">None</span>
<span class="pl-s1">feather</span>: <span class="pl-c1">None</span>
<span class="pl-s1">matplotlib</span>: <span class="pl-c1">2.0</span>.<span class="pl-c1">2</span>
<span class="pl-s1">openpyxl</span>: <span class="pl-c1">None</span>
<span class="pl-s1">xlrd</span>: <span class="pl-c1">None</span>
<span class="pl-s1">xlwt</span>: <span class="pl-c1">None</span>
<span class="pl-s1">xlsxwriter</span>: <span class="pl-c1">0.9</span>.<span class="pl-c1">8</span>
<span class="pl-s1">lxml</span>: <span class="pl-c1">None</span>
<span class="pl-s1">bs4</span>: <span class="pl-c1">None</span>
<span class="pl-s1">html5lib</span>: <span class="pl-c1">None</span>
<span class="pl-s1">sqlalchemy</span>: <span class="pl-c1">None</span>
<span class="pl-s1">pymysql</span>: <span class="pl-c1">None</span>
<span class="pl-s1">psycopg2</span>: <span class="pl-c1">None</span>
<span class="pl-s1">jinja2</span>: <span class="pl-c1">2.9</span>.<span class="pl-c1">6</span>
<span class="pl-s1">s3fs</span>: <span class="pl-c1">None</span>
<span class="pl-s1">pandas_gbq</span>: <span class="pl-c1">None</span>
<span class="pl-s1">pandas_datareader</span>: <span class="pl-c1">None</span></pre></div>
</details> | <p dir="auto">from SO: <a href="http://stackoverflow.com/questions/22178642/assignment-modification-of-values-in-an-indexed-subframe-in-pandas" rel="nofollow">http://stackoverflow.com/questions/22178642/assignment-modification-of-values-in-an-indexed-subframe-in-pandas</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data = {'me':list('rttti'),'foo': list('aaade'), 'bar': arange(5)*1.34+2, 'bar2': arange(5)*-.34+2}
df = pd.DataFrame(data).set_index('me')
df.loc['r',['bar','bar2']]*=2.0
df.loc['t','bar']*=2.5
df.loc['t',['bar','bar2']]*=2.0"><pre class="notranslate"><code class="notranslate">data = {'me':list('rttti'),'foo': list('aaade'), 'bar': arange(5)*1.34+2, 'bar2': arange(5)*-.34+2}
df = pd.DataFrame(data).set_index('me')
df.loc['r',['bar','bar2']]*=2.0
df.loc['t','bar']*=2.5
df.loc['t',['bar','bar2']]*=2.0
</code></pre></div> | 0 |
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p>
<pre class="notranslate">I posted this to go-nuts before realizing that this is probably a better place for this.
I apologize for the duplication.
Using code.google.com/p/go.net/html to parse and then re-render a chunk of HTML I
believe results in improper escaping of single quotes within double quotes. Here is a
simple test program that parses and re-renders a bit of HTML:
package main
import (
"bytes"
"fmt"
"log"
"strings"
"testing"
"code.google.com/p/go.net/html"
)
func main() {
data := `<div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';" contenteditable="false">`
doc, err := html.Parse(strings.NewReader(data))
if err != nil {
log.Printf("html.Parse returned %s", err)
return
}
var b bytes.Buffer
err = Render(&b, doc)
if err != nil {
log.Printf("html.Render returned %s", err)
return
}
fmt.Printf("%s\n", b.String())
}
The single quotes are improperly escaped in the re-rendered code.
I believe the original HTML is valid. I've attached a small patch that fixes the
problem.
Thanks,
Mark</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/7753/0/render.patch" rel="nofollow">render.patch</a> (500 bytes)</li>
</ol> | <p dir="auto">by <strong>ranveerkunal</strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
I am trying to use:
<a href="https://github.com/nsf/termbox-go">https://github.com/nsf/termbox-go</a>
but when I do go build on the code I get link errors.
Little Details:
Code:
############################################
package main
import(
"log"
termbox "github.com/nsf/termbox-go"
)
func main() {
err := termbox.Init()
if err != nil {
log.Fatalf("termbox.Init() failed: %v", err)
}
defer termbox.Shutdown()
log.Printf("termbox.Init() success")
}
############################################
Error:
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(input.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(input.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): keys: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(term.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
/Users/ranveer/gocode/pkg/darwin_amd64/github.com/nsf/termbox-
go.a(termbox.o)(__TEXT/__text): funcs: not defined
too many errors
What is the expected output?
Should compile.
What do you see instead?
Linking errors
Which compiler are you using (5g, 6g, 8g, gccgo)?
Which operating system are you using?
MacOsx
Which revision are you using? (hg identify)
a45cc1950c26 tip
Please provide any additional information below.</pre> | 0 |
<p dir="auto"><strong>Apache Airflow version</strong>: 2.0.1</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: Google Cloud Platform Compute Engine</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)"</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): Linux finance-airflow 5.4.0-1041-gcp <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="89200849" data-permission-text="Title is private" data-url="https://github.com/apache/airflow/issues/44" data-hovercard-type="pull_request" data-hovercard-url="/apache/airflow/pull/44/hovercard" href="https://github.com/apache/airflow/pull/44">#44</a>-Ubuntu SMP Fri Mar 26 03:53:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>: pip</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Installed with usual <code class="notranslate">pip install apache-airflow</code> which installed <code class="notranslate">sqlalchemy 1.4.6</code>, since <code class="notranslate">apache-airflow 2.0.1</code> requires <code class="notranslate">sqlalchemy<2,>=1.3.18</code></p>
<p dir="auto">Ran:</p>
<p dir="auto"><code class="notranslate">airflow db init</code></p>
<p dir="auto"><code class="notranslate">from sqlalchemy.orm.query import _ColumnEntity ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/home/foo/airflow/.direnv/python-3.8.5/lib/python3.8/site-packages/sqlalchemy/orm/query.py)</code></p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">Initializing <code class="notranslate">sqlite3</code> database for testing</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto"><code class="notranslate">pip install apache-airflow</code> on Ubuntu 20.04.2 LTS</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto">Downgraded <code class="notranslate">sqlalchemy</code> via <code class="notranslate">pip install --upgrade sqlalchemy==1.3.18</code>, which lets database initialize, but one expects dependencies to be handled by <code class="notranslate">setup.py</code>. Suggest updating <code class="notranslate">setup.py</code> for <code class="notranslate">apache-airflow</code> version in <code class="notranslate">pypi</code>.</p> | <p dir="auto"><strong>Apache Airflow version</strong>: 2.0.1</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): N/A</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): Mac OS Big Sur</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>: pip 20.1.1</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Our CI environment broke due to the release of SQLAlchemy 1.4, which is incompatible with the latest version of sqlalchemy-utils. (<a href="https://github.com/kvesteri/sqlalchemy-utils/issues/505" data-hovercard-type="issue" data-hovercard-url="/kvesteri/sqlalchemy-utils/issues/505/hovercard">Related issue</a>)</p>
<p dir="auto">Partial stacktrace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/airflow/www/utils.py", line 27, in <module>
from flask_appbuilder.models.sqla.interface import SQLAInterface
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/flask_appbuilder/models/sqla/interface.py", line 16, in <module>
from sqlalchemy_utils.types.uuid import UUIDType
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
from .aggregates import aggregated # noqa
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
from .functions.orm import get_column_key
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
from .database import ( # noqa
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>
from .orm import quote
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py)"><pre class="notranslate"><code class="notranslate"> File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/airflow/www/utils.py", line 27, in <module>
from flask_appbuilder.models.sqla.interface import SQLAInterface
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/flask_appbuilder/models/sqla/interface.py", line 16, in <module>
from sqlalchemy_utils.types.uuid import UUIDType
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/__init__.py", line 1, in <module>
from .aggregates import aggregated # noqa
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/aggregates.py", line 372, in <module>
from .functions.orm import get_column_key
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/__init__.py", line 1, in <module>
from .database import ( # noqa
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/database.py", line 11, in <module>
from .orm import quote
File "/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy_utils/functions/orm.py", line 14, in <module>
from sqlalchemy.orm.query import _ColumnEntity
ImportError: cannot import name '_ColumnEntity' from 'sqlalchemy.orm.query' (/Users/samwheating/Desktop/tmp_venv/lib/python3.7/site-packages/sqlalchemy/orm/query.py)
</code></pre></div>
<p dir="auto">I'm not sure what the typical procedure is in the case of breaking changes to dependencies, but seeing as there's an upcoming release I thought it might be worth pinning sqlalchemy to 1.3.x? (Or pin the version of sqlalchemy-utils to a compatible version if one is released before Airflow 2.0.2)</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto"><code class="notranslate">airflow db init</code> to run successfully.</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<ol dir="auto">
<li>Create a new virtualenv</li>
<li><code class="notranslate">pip install apache-airflow</code></li>
<li><code class="notranslate">airflow db init</code></li>
</ol> | 1 |
<p dir="auto">I upgraded to React v16 and chai-enzyme v3, and any component test that I have that utilizes Material ui (particularly MuiThemeProvider) that is <code class="notranslate">mounted</code> throws various errors like the following:</p>
<p dir="auto"><code class="notranslate">TypeError: Cannot set property 'stroke' of undefined</code><br>
<code class="notranslate">TypeError: Cannot set property 'display' of undefined</code></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">I tried to create a codepen to make an example but i was unable to setup enzyme test runner.</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">React v16 and material ui together should not break all tests.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Material UI combined with enzyme 3 and react v16 break all tests<br>
Note: this does not effect the actual components in a browser, only in the test environment when <code class="notranslate">mounted</code> via enzyme, and that mounted component also happens to use MuiThemeProvider.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">Cannot upgrade to react v16, this is the last thing I need to fix to get my tests running and finally upgrade.</p>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v0.19.4</td>
</tr>
<tr>
<td>React</td>
<td>v16.0.0</td>
</tr>
<tr>
<td>enzyme</td>
<td>v3.0.0</td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/material-next/material-next/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">We match the specification. It could also be the opportunity to make the implementation more customizable friendly.<br>
<a href="https://material.io/guidelines/components/buttons.html#buttons-flat-buttons" rel="nofollow">https://material.io/guidelines/components/buttons.html#buttons-flat-buttons</a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3165635/33524771-13d6d8c6-d823-11e7-973a-b622c4657195.gif"><img src="https://user-images.githubusercontent.com/3165635/33524771-13d6d8c6-d823-11e7-973a-b622c4657195.gif" alt="dec -03-2017 12-09-27" data-animated-image="" style="max-width: 100%;"></a></p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">We don't follow the spec.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3165635/33524770-127a2ce4-d823-11e7-81df-ce4613014267.gif"><img src="https://user-images.githubusercontent.com/3165635/33524770-127a2ce4-d823-11e7-81df-ce4613014267.gif" alt="dec -03-2017 12-10-39" data-animated-image="" style="max-width: 100%;"></a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Click on a button and compare the result with the specification.</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">material-web-components seems to implement the animation correctly. cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kof/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kof">@kof</a></p>
<p dir="auto">Closes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="245330209" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/7537" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/7537/hovercard" href="https://github.com/mui/material-ui/issues/7537">#7537</a></p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>material-ui</td>
<td>v1.0.0-beta.24</td>
</tr>
<tr>
<td>react</td>
<td>v16.2.0</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">I've been using Go for about 9 months and over that time I've come to like the explicitness of most of the language's semantics. But I feel that the language lacks some convenient ways to handle slices as you will find in most other languages. I feel that adding HOFs such as map/filter/reduce would make code less verbose when handling slices without compromising on explicitness or type-safety.</p>
<p dir="auto">The current idiom for doing a map operation is something like:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="s0 := []int{1,2,3}
s1 := make([]int, 3)
for i := range s0 {
s1[i] = s0[i] * 2
}"><pre class="notranslate"><span class="pl-s1">s0</span> <span class="pl-c1">:=</span> []<span class="pl-smi">int</span>{<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>}
<span class="pl-s1">s1</span> <span class="pl-c1">:=</span> <span class="pl-en">make</span>([]<span class="pl-smi">int</span>, <span class="pl-c1">3</span>)
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">:=</span> <span class="pl-k">range</span> <span class="pl-s1">s0</span> {
<span class="pl-s1">s1</span>[<span class="pl-s1">i</span>] <span class="pl-c1">=</span> <span class="pl-s1">s0</span>[<span class="pl-s1">i</span>] <span class="pl-c1">*</span> <span class="pl-c1">2</span>
}</pre></div>
<p dir="auto">While this is a trivial case, and I could have just mutated <code class="notranslate">s0</code> in this case, it is clearly very imperative and verbose compared to what it could be.</p>
<p dir="auto">I propose an alternative:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="s0 := []int{1,2,3}
s1 := s0.map(func(x int) int {
return x * 2
})"><pre class="notranslate"><span class="pl-s1">s0</span> <span class="pl-c1">:=</span> []<span class="pl-smi">int</span>{<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>}
<span class="pl-s1">s1</span> <span class="pl-c1">:=</span> <span class="pl-s1">s0</span>.<span class="pl-en">map</span>(<span class="pl-k">func</span>(<span class="pl-s1">x</span> <span class="pl-smi">int</span>) <span class="pl-smi">int</span> {
<span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">*</span> <span class="pl-c1">2</span>
})</pre></div>
<p dir="auto">In this case the function passed to map has two properties of interest. The argument which would need to be the slice's Kind (type-checked at compile time), and the return type which could be any type. The one caveat is that the type of the resulting slice will need to be inferred from the type returned from the function.</p>
<p dir="auto">For example:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="s0 := []int{1,2,3}
s1 := s0.map(func(x int) float32 {
return float32(x) / 2
})"><pre class="notranslate"><span class="pl-s1">s0</span> <span class="pl-c1">:=</span> []<span class="pl-smi">int</span>{<span class="pl-c1">1</span>,<span class="pl-c1">2</span>,<span class="pl-c1">3</span>}
<span class="pl-s1">s1</span> <span class="pl-c1">:=</span> <span class="pl-s1">s0</span>.<span class="pl-en">map</span>(<span class="pl-k">func</span>(<span class="pl-s1">x</span> <span class="pl-smi">int</span>) <span class="pl-smi">float32</span> {
<span class="pl-k">return</span> <span class="pl-en">float32</span>(<span class="pl-s1">x</span>) <span class="pl-c1">/</span> <span class="pl-c1">2</span>
})</pre></div>
<p dir="auto">where <code class="notranslate">s1</code> would have type <code class="notranslate">[]float32</code>.</p>
<p dir="auto">I feel like this seemingly low-hanging fruit would be a step in the right direction in terms of making the language more enjoyable to use with its lack of generics.</p> | <pre class="notranslate">See <a href="http://play.golang.org/p/OeSXsazIDS" rel="nofollow">http://play.golang.org/p/OeSXsazIDS</a>
If you unmarshal <Param2 int="1" />
into
type Param2 struct {
Int *int `xml:"int,attr"`
}
Int will always be nil. As seen in the example, this works if Int is an element and not
an attribute.</pre> | 0 |
<p dir="auto">In the react views a new filter shows duplicated values while filtering on the database</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">See distinct values in the filter</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">what actually happens.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5727938/88587726-3c1d6b00-d00b-11ea-8452-fa174c7450eb.png"><img src="https://user-images.githubusercontent.com/5727938/88587726-3c1d6b00-d00b-11ea-8452-fa174c7450eb.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Also schema dropdown is not working:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5727938/88587846-7555db00-d00b-11ea-94e8-f28edc00c2b8.png"><img src="https://user-images.githubusercontent.com/5727938/88587846-7555db00-d00b-11ea-94e8-f28edc00c2b8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nytai/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nytai">@nytai</a></p> | <p dir="auto">I use sample data(World Bank). But it fails to show the slices in dashboard.</p> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto"><em>bug</em></p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">When mouse enter disabled form element, trigger <code class="notranslate">mouseenter</code> events, but it not trigger <code class="notranslate">mouseleave</code> when mouse leave from the element.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar (template: <a href="https://jsfiddle.net/reactjs/69z2wepo/" rel="nofollow">https://jsfiddle.net/reactjs/69z2wepo/</a>).</strong></p>
<p dir="auto"><a href="http://jsbin.com/goxowolina/edit?html,js,output" rel="nofollow">http://jsbin.com/goxowolina/edit?html,js,output</a></p>
<p dir="auto">First button rendered by react.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Don't trigger <code class="notranslate">mouseenter</code> events when form elements disabled.</p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p>
<p dir="auto">15.3.0. Yes.</p> | <h3 dir="auto">Website or app</h3>
<p dir="auto"><a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a></p>
<h3 dir="auto">Repro steps</h3>
<ol dir="auto">
<li>Open up Chrome inspector</li>
<li>Expect Components + Profile tabs to appear</li>
</ol>
<p dir="auto">Computer:<br>
2019 MacBook Pro (Intel)</p>
<p dir="auto">Browser:<br>
Google Chrome<br>
Version 99.0.4844.51 (Official Build) (x86_64)</p>
<p dir="auto">DevTools:<br>
4.24.0 (3/10/2022)</p>
<h3 dir="auto">How often does this bug happen?</h3>
<p dir="auto">Every time</p>
<h3 dir="auto">DevTools package (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">DevTools version (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error message (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error call stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Error component stack (automated)</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">GitHub query string (automated)</h3>
<p dir="auto"><em>No response</em></p> | 0 |
<p dir="auto">Currently we print multiple exception stacks on a test failure. It will be good to</p>
<ul dir="auto">
<li>Print only the first exception from a failing test only</li>
<li>In the event of multiple exceptions from different testsets, print all of them only if an env variable is set. Default is to print only one.</li>
<li>Don't print known exceptions raised in the testsystem machinery</li>
<li>Limit stacktrace to last 30 lines?</li>
</ul> | <p dir="auto">I inserted one <code class="notranslate">@test 1 == 2</code> in a <code class="notranslate">@testset</code> loop in my package and this is the results:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="tree type: Test Failed
Expression: 1 == 2
Evaluated: 1 == 2
in record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:428
in do_test(::Base.Test.Returned, ::Expr) at ./test.jl:281
in macro expansion; at /home/kristoffer/.julia/v0.6/NearestNeighbors/test/test_inrange.jl:41 [inlined]
in macro expansion; at ./test.jl:733 [inlined]
in macro expansion; at /home/kristoffer/.julia/v0.6/NearestNeighbors/test/test_inrange.jl:0 [inlined]
in macro expansion; at ./test.jl:733 [inlined]
in macro expansion; at /home/kristoffer/.julia/v0.6/NearestNeighbors/test/test_inrange.jl:0 [inlined]
in macro expansion; at ./test.jl:672 [inlined]
in anonymous at ./<missing>:?
in include_from_node1(::String) at ./loading.jl:532
in include(::String) at ./sysimg.jl:14
in include_from_node1(::String) at ./loading.jl:532
in include(::String) at ./sysimg.jl:14
in process_options(::Base.JLOptions) at ./client.jl:289
in _start() at ./client.jl:353
Test Summary: | Pass Fail Total
inrange | 36 3 39
metric | 36 3 39
tree type | 12 1 13
tree type | 12 1 13
tree type | 12 1 13
ERROR: LoadError: LoadError: Some tests did not pass: 36 passed, 3 failed, 0 errored, 0 broken.
in finish(::Base.Test.DefaultTestSet) at ./test.jl:495
in macro expansion; at ./test.jl:679 [inlined]
in anonymous at ./<missing>:?
in include_from_node1(::String) at ./loading.jl:532
in include(::String) at ./sysimg.jl:14
in include_from_node1(::String) at ./loading.jl:532
in include(::String) at ./sysimg.jl:14
in process_options(::Base.JLOptions) at ./client.jl:289
in _start() at ./client.jl:353
while loading /home/kristoffer/.julia/v0.6/NearestNeighbors/test/test_inrange.jl, in expression starting on line 2
while loading /home/kristoffer/.julia/v0.6/NearestNeighbors/test/runtests.jl, in expression starting on line 35
======================================[ ERROR: NearestNeighbors ]=======================================
failed process: Process(`/home/kristoffer/julia/usr/bin/julia -Cnative -J/home/kristoffer/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /home/kristoffer/.julia/v0.6/NearestNeighbors/test/runtests.jl`, ProcessExited(1)) [1]
========================================================================================================
INFO: No packages to install, update or remove
ERROR: NearestNeighbors had test errors
in #test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:749
in (::Base.Pkg.Entry.#kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./<missing>:0
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:69
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31
in (::Base.Pkg.Dir.#kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./<missing>:0
in #test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258
in test(::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258"><pre class="notranslate">tree type<span class="pl-k">:</span> Test Failed
Expression<span class="pl-k">:</span> <span class="pl-c1">1</span> <span class="pl-k">==</span> <span class="pl-c1">2</span>
Evaluated<span class="pl-k">:</span> <span class="pl-c1">1</span> <span class="pl-k">==</span> <span class="pl-c1">2</span>
<span class="pl-k">in</span> <span class="pl-c1">record</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Test.DefaultTestSet</span>, <span class="pl-k">::</span><span class="pl-c1">Base.Test.Fail</span>) at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">428</span>
<span class="pl-k">in</span> <span class="pl-c1">do_test</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Test.Returned</span>, <span class="pl-k">::</span><span class="pl-c1">Expr</span>) at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">281</span>
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">/</span>home<span class="pl-k">/</span>kristoffer<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">6</span><span class="pl-k">/</span>NearestNeighbors<span class="pl-k">/</span>test<span class="pl-k">/</span>test_inrange<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">41</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">733</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">/</span>home<span class="pl-k">/</span>kristoffer<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">6</span><span class="pl-k">/</span>NearestNeighbors<span class="pl-k">/</span>test<span class="pl-k">/</span>test_inrange<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">0</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">733</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">/</span>home<span class="pl-k">/</span>kristoffer<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">6</span><span class="pl-k">/</span>NearestNeighbors<span class="pl-k">/</span>test<span class="pl-k">/</span>test_inrange<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">0</span> [inlined]
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">672</span> [inlined]
<span class="pl-k">in</span> anonymous at <span class="pl-k">./</span><span class="pl-k"><</span><span class="pl-c1">missing</span><span class="pl-k">>:</span>?
<span class="pl-k">in</span> <span class="pl-c1">include_from_node1</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>loading<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">532</span>
<span class="pl-k">in</span> <span class="pl-c1">include</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">14</span>
<span class="pl-k">in</span> <span class="pl-c1">include_from_node1</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>loading<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">532</span>
<span class="pl-k">in</span> <span class="pl-c1">include</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">14</span>
<span class="pl-k">in</span> <span class="pl-c1">process_options</span>(<span class="pl-k">::</span><span class="pl-c1">Base.JLOptions</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">289</span>
<span class="pl-k">in</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">353</span>
Test Summary<span class="pl-k">:</span> <span class="pl-k">|</span> Pass Fail Total
inrange <span class="pl-k">|</span> <span class="pl-c1">36</span> <span class="pl-c1">3</span> <span class="pl-c1">39</span>
metric <span class="pl-k">|</span> <span class="pl-c1">36</span> <span class="pl-c1">3</span> <span class="pl-c1">39</span>
tree type <span class="pl-k">|</span> <span class="pl-c1">12</span> <span class="pl-c1">1</span> <span class="pl-c1">13</span>
tree type <span class="pl-k">|</span> <span class="pl-c1">12</span> <span class="pl-c1">1</span> <span class="pl-c1">13</span>
tree type <span class="pl-k">|</span> <span class="pl-c1">12</span> <span class="pl-c1">1</span> <span class="pl-c1">13</span>
ERROR<span class="pl-k">:</span> LoadError<span class="pl-k">:</span> LoadError<span class="pl-k">:</span> Some tests did not pass<span class="pl-k">:</span> <span class="pl-c1">36</span> passed, <span class="pl-c1">3</span> failed, <span class="pl-c1">0</span> errored, <span class="pl-c1">0</span> broken.
<span class="pl-k">in</span> <span class="pl-c1">finish</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Test.DefaultTestSet</span>) at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">495</span>
<span class="pl-k">in</span> <span class="pl-k">macro</span> expansion; at <span class="pl-k">./</span>test<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">679</span> [inlined]
<span class="pl-k">in</span> anonymous at <span class="pl-k">./</span><span class="pl-k"><</span><span class="pl-c1">missing</span><span class="pl-k">>:</span>?
<span class="pl-k">in</span> <span class="pl-c1">include_from_node1</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>loading<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">532</span>
<span class="pl-k">in</span> <span class="pl-c1">include</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">14</span>
<span class="pl-k">in</span> <span class="pl-c1">include_from_node1</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>loading<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">532</span>
<span class="pl-k">in</span> <span class="pl-c1">include</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>) at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">14</span>
<span class="pl-k">in</span> <span class="pl-c1">process_options</span>(<span class="pl-k">::</span><span class="pl-c1">Base.JLOptions</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">289</span>
<span class="pl-k">in</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">353</span>
<span class="pl-k">while</span> loading <span class="pl-k">/</span>home<span class="pl-k">/</span>kristoffer<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">6</span><span class="pl-k">/</span>NearestNeighbors<span class="pl-k">/</span>test<span class="pl-k">/</span>test_inrange<span class="pl-k">.</span>jl, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">2</span>
<span class="pl-k">while</span> loading <span class="pl-k">/</span>home<span class="pl-k">/</span>kristoffer<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>v0.<span class="pl-c1">6</span><span class="pl-k">/</span>NearestNeighbors<span class="pl-k">/</span>test<span class="pl-k">/</span>runtests<span class="pl-k">.</span>jl, <span class="pl-k">in</span> expression starting on line <span class="pl-c1">35</span>
<span class="pl-k">======================================</span>[ ERROR<span class="pl-k">:</span> NearestNeighbors ]<span class="pl-k">=======================================</span>
failed process<span class="pl-k">:</span> <span class="pl-c1">Process</span>(<span class="pl-s"><span class="pl-pds">`</span>/home/kristoffer/julia/usr/bin/julia -Cnative -J/home/kristoffer/julia/usr/lib/julia/sys.so --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /home/kristoffer/.julia/v0.6/NearestNeighbors/test/runtests.jl<span class="pl-pds">`</span></span>, <span class="pl-c1">ProcessExited</span>(<span class="pl-c1">1</span>)) [<span class="pl-c1">1</span>]
<span class="pl-k">========================================================================================================</span>
INFO<span class="pl-k">:</span> No packages to install, update or remove
ERROR<span class="pl-k">:</span> NearestNeighbors had test errors
<span class="pl-k">in</span> <span class="pl-c"><span class="pl-c">#</span>test#61(::Bool, ::Function, ::Array{AbstractString,1}) at ./pkg/entry.jl:749</span>
<span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.Pkg.Entry.</span><span class="pl-c"><span class="pl-c">#</span>kw##test)(::Array{Any,1}, ::Base.Pkg.Entry.#test, ::Array{AbstractString,1}) at ./<missing>:0</span>
<span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.Pkg.Dir.</span><span class="pl-c"><span class="pl-c">#</span>#2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}})() at ./pkg/dir.jl:31</span>
<span class="pl-k">in</span> <span class="pl-c1">cd</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Pkg.Dir.</span><span class="pl-c"><span class="pl-c">#</span>#2#3{Array{Any,1},Base.Pkg.Entry.#test,Tuple{Array{AbstractString,1}}}, ::String) at ./file.jl:69</span>
<span class="pl-k">in</span> <span class="pl-c"><span class="pl-c">#</span>cd#1(::Array{Any,1}, ::Function, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./pkg/dir.jl:31</span>
<span class="pl-k">in</span> (<span class="pl-k">::</span><span class="pl-c1">Base.Pkg.Dir.</span><span class="pl-c"><span class="pl-c">#</span>kw##cd)(::Array{Any,1}, ::Base.Pkg.Dir.#cd, ::Function, ::Array{AbstractString,1}, ::Vararg{Array{AbstractString,1},N}) at ./<missing>:0</span>
<span class="pl-k">in</span> <span class="pl-c"><span class="pl-c">#</span>test#3(::Bool, ::Function, ::String, ::Vararg{String,N}) at ./pkg/pkg.jl:258</span>
<span class="pl-k">in</span> <span class="pl-c1">test</span>(<span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Vararg{String,N}</span>) at <span class="pl-k">./</span>pkg<span class="pl-k">/</span>pkg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">258</span></pre></div>
<p dir="auto">Is it possible that we could scrub away some of the stackframes here to make things more readable? The backtrace for the "Some tests did not pass" exception seems unnecessary and doesn't include anything related to the user. The backtrace for the actual test failure could maybe be changed so that all frames after the <code class="notranslate">test.jl</code> file gets removed?</p> | 1 |
<p dir="auto">Transferred from <a href="http://code.opencv.org/issues/4497" rel="nofollow">http://code.opencv.org/issues/4497</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="|| Brian Kamery on 2015-07-22 14:14
|| Priority: Normal
|| Affected: branch 'master' (3.0-dev)
|| Category: java bindings
|| Tracker: Bug
|| Difficulty:
|| PR:
|| Platform: x64 / Windows"><pre class="notranslate"><code class="notranslate">|| Brian Kamery on 2015-07-22 14:14
|| Priority: Normal
|| Affected: branch 'master' (3.0-dev)
|| Category: java bindings
|| Tracker: Bug
|| Difficulty:
|| PR:
|| Platform: x64 / Windows
</code></pre></div>
<h2 dir="auto">Path format error failing on resource load.</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Hi, I hope this is not a duplicate - I tried to find a report of this, but there are many potential key words to search for.
When following several of the v3.0 java samples on windows (e.g. http://docs.opencv.org/3.0-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html), one gets errors such as:
OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\objdetect\src\cascadedetect.cpp, line 1634
Exception in thread "main" CvException [org.opencv.core.CvException: cv::Exception: C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\objdetect\src\cascadedetect.cpp:1634: error: (-215) !empty() in function cv::CascadeClassifier::detectMultiScale
]
at org.opencv.objdetect.CascadeClassifier.detectMultiScale_1(Native Method)
at org.opencv.objdetect.CascadeClassifier.detectMultiScale(CascadeClassifier.java:103)
at opencv.DetectFaceDemo.run(Hello.java:41)
The sample runs on linux without problem.
There are several "answers" on various boards that say to hardcode the absolute path ... this is obviously less than optimal, but did lead me to the "right" answer. I was able to debug this down to the format of the URL.getPath() response that are used for both the CascadeFilter and the Imgcodecs.imread() calls.
The URL.getPath() (and the URL.getFile()) calls both return an absolute path that starts with a '/' (e.g. "/c:/opencv/..."), but the imread() and the CascadeClassifier constructor are unableto handle this format on a windows file system. The in-code solution is url.getPath().substring(1), and the opencv utilities work great - but this too is less than optimal.
The ideal solution would be for opencv to handle the path starting with a '/' on windows as well. Even better, when the path that is passe din is unable to be handled opencv should fail in some way that is indicative of the real problem (e.g. the CascadeClassifier contructor and/or the imread() function throws a RuntimeException.)
I assume that the same issue would be true on the x86 windows platform as well as the x64."><pre class="notranslate"><code class="notranslate">Hi, I hope this is not a duplicate - I tried to find a report of this, but there are many potential key words to search for.
When following several of the v3.0 java samples on windows (e.g. http://docs.opencv.org/3.0-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html), one gets errors such as:
OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale, file C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\objdetect\src\cascadedetect.cpp, line 1634
Exception in thread "main" CvException [org.opencv.core.CvException: cv::Exception: C:\builds\master_PackSlaveAddon-win64-vc12-static\opencv\modules\objdetect\src\cascadedetect.cpp:1634: error: (-215) !empty() in function cv::CascadeClassifier::detectMultiScale
]
at org.opencv.objdetect.CascadeClassifier.detectMultiScale_1(Native Method)
at org.opencv.objdetect.CascadeClassifier.detectMultiScale(CascadeClassifier.java:103)
at opencv.DetectFaceDemo.run(Hello.java:41)
The sample runs on linux without problem.
There are several "answers" on various boards that say to hardcode the absolute path ... this is obviously less than optimal, but did lead me to the "right" answer. I was able to debug this down to the format of the URL.getPath() response that are used for both the CascadeFilter and the Imgcodecs.imread() calls.
The URL.getPath() (and the URL.getFile()) calls both return an absolute path that starts with a '/' (e.g. "/c:/opencv/..."), but the imread() and the CascadeClassifier constructor are unableto handle this format on a windows file system. The in-code solution is url.getPath().substring(1), and the opencv utilities work great - but this too is less than optimal.
The ideal solution would be for opencv to handle the path starting with a '/' on windows as well. Even better, when the path that is passe din is unable to be handled opencv should fail in some way that is indicative of the real problem (e.g. the CascadeClassifier contructor and/or the imread() function throws a RuntimeException.)
I assume that the same issue would be true on the x86 windows platform as well as the x64.
</code></pre></div>
<h2 dir="auto">History</h2> | <p dir="auto">Reason:</p>
<ul dir="auto">
<li>duplicates behavior and implementation (fixed type, fixed size)</li>
</ul>
<p dir="auto"><a href="https://github.com/opencv/opencv/blame/0105f8fa38ec867a8e4bbc74c402afcd0e296194/modules/core/include/opencv2/core/mat.hpp#L181">relates</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="220088195" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv/issues/8535" data-hovercard-type="pull_request" data-hovercard-url="/opencv/opencv/pull/8535/hovercard" href="https://github.com/opencv/opencv/pull/8535">#8535</a></p> | 0 |
<p dir="auto">This issue appears to be very similar to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="12542063" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/1263" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/1263/hovercard" href="https://github.com/celery/celery/issues/1263">#1263</a> .</p>
<p dir="auto">I'm running celery 3.0.21 on both a Window XP and Linux virtual machine. Whenever a task is dispatched to the Windows VM, I will get the same error as reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="12542063" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/1263" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/1263/hovercard" href="https://github.com/celery/celery/issues/1263">#1263</a>, which was reported fixed in 3.0.18. When the same task is dispatched to the Linux VM, no error occurs.</p>
<p dir="auto">Here's some output from the Windows VM:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2013-08-07 22:24:32,887: DEBUG/MainProcess] Task accepted: scanworker.tasks.pan
da[ca2db5cc-37a6-4b61-b5a0-c7a414494b10] pid:3700
[2013-08-07 22:24:32,887: ERROR/MainProcess] Task scanworker.tasks.panda[ca2db5c
c-37a6-4b61-b5a0-c7a414494b10] raised exception: Task of kind 'scanworker.tasks.
panda' is not registered, please make sure it's imported.
Traceback (most recent call last):
File "c:\msvirtualenv\lib\site-packages\billiard\pool.py", line 311, in worker
result = (True, func(*args, **kwds))
File "c:\msvirtualenv\lib\site-packages\celery\task\trace.py", line 325, in _f
ast_trace_task
return _tasks[task].__trace__(uuid, args, kwargs, request)[0]
File "c:\msvirtualenv\lib\site-packages\celery\app\registry.py", line 20, in _
_missing__
raise self.NotRegistered(key)
NotRegistered: 'scanworker.tasks.panda'"><pre class="notranslate"><code class="notranslate">[2013-08-07 22:24:32,887: DEBUG/MainProcess] Task accepted: scanworker.tasks.pan
da[ca2db5cc-37a6-4b61-b5a0-c7a414494b10] pid:3700
[2013-08-07 22:24:32,887: ERROR/MainProcess] Task scanworker.tasks.panda[ca2db5c
c-37a6-4b61-b5a0-c7a414494b10] raised exception: Task of kind 'scanworker.tasks.
panda' is not registered, please make sure it's imported.
Traceback (most recent call last):
File "c:\msvirtualenv\lib\site-packages\billiard\pool.py", line 311, in worker
result = (True, func(*args, **kwds))
File "c:\msvirtualenv\lib\site-packages\celery\task\trace.py", line 325, in _f
ast_trace_task
return _tasks[task].__trace__(uuid, args, kwargs, request)[0]
File "c:\msvirtualenv\lib\site-packages\celery\app\registry.py", line 20, in _
_missing__
raise self.NotRegistered(key)
NotRegistered: 'scanworker.tasks.panda'
</code></pre></div>
<p dir="auto">celeryctl believes that the task is, in fact, registered on the Windows VM, so there's a discrepancy here. vmuser-1c6d67f6 in the following printout refers to the Windows VM.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(msvirtualenv)vagrant@precise64:~/MassScan$ DJANGO_SETTINGS_MODULE=scaggr.settings_dev celeryctl inspect registered --config=masterceleryconfig
[ SNIP ]
-> vmuser-1c6d67f6: OK
[ SNIP ]
* scanworker.tasks.panda [routing_key=panda]
[ SNIP ]"><pre class="notranslate"><code class="notranslate">(msvirtualenv)vagrant@precise64:~/MassScan$ DJANGO_SETTINGS_MODULE=scaggr.settings_dev celeryctl inspect registered --config=masterceleryconfig
[ SNIP ]
-> vmuser-1c6d67f6: OK
[ SNIP ]
* scanworker.tasks.panda [routing_key=panda]
[ SNIP ]
</code></pre></div>
<p dir="auto">The same output appears in the terminal window for both the VM generating the tasks (a Linux VM) as well as the terminal window on the Windows VM that is receiving the tasks. All outputs resulting from celeryctl indicate that the "scanworker.tasks.panda" task is registered.</p>
<p dir="auto">Thanks for taking a look!</p> | <p dir="auto">Hi,</p>
<p dir="auto">After upgrading Celery to 3.0.13, all tasks break showing the following message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2013-01-08 15:22:25,405: ERROR/MainProcess] Task varnish_bans_manager.core.tasks.bans.Submit[43fb4a02-887f-456d-8326-1c02c1c9faa2] raised exception: Task of kind 'varnish_bans_manager.core.tasks.bans.Submit' is not registered, please make sure it's imported.
Traceback (most recent call last):
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/billiard/pool.py", line 301, in worker
result = (True, func(*args, **kwds))
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/celery/task/trace.py", line 312, in _fast_trace_task
return _tasks[task].__trace__(uuid, args, kwargs, request)[0]
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/celery/app/registry.py", line 20, in __missing__
raise self.NotRegistered(key)
NotRegistered: 'varnish_bans_manager.core.tasks.bans.Submit'"><pre class="notranslate"><code class="notranslate">[2013-01-08 15:22:25,405: ERROR/MainProcess] Task varnish_bans_manager.core.tasks.bans.Submit[43fb4a02-887f-456d-8326-1c02c1c9faa2] raised exception: Task of kind 'varnish_bans_manager.core.tasks.bans.Submit' is not registered, please make sure it's imported.
Traceback (most recent call last):
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/billiard/pool.py", line 301, in worker
result = (True, func(*args, **kwds))
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/celery/task/trace.py", line 312, in _fast_trace_task
return _tasks[task].__trace__(uuid, args, kwargs, request)[0]
File "/home/user/.virtualenvs/vbm/lib/python2.6/site-packages/celery/app/registry.py", line 20, in __missing__
raise self.NotRegistered(key)
NotRegistered: 'varnish_bans_manager.core.tasks.bans.Submit'
</code></pre></div>
<ul dir="auto">
<li><code class="notranslate">CELERY_IMPORTS</code> and all obvious stuff is correctly configured (at least, it has been working correctly for some months).</li>
<li>Downgrading to 3.0.12, everything works fine again.</li>
<li>Staying in 3.0.13 and using a Redis backend also fixes the problem.</li>
<li>However, staying in 3.0.13 and using a Django DB backend (i.e. <code class="notranslate">BROKER_URL = 'django://'</code>) is broken for some reason.</li>
</ul>
<p dir="auto">Any clues? Thanks!</p> | 1 |
<p dir="auto">The item (and mapping) do not exist in one of the indexes but exists in the other indexes. A sort is performed.</p>
<p dir="auto">Works fine when the sort is removed from the query.</p>
<p dir="auto">Here is a gist.<br>
<a href="https://gist.github.com/1820642">https://gist.github.com/1820642</a></p> | <p dir="auto">We currently have a very large maven build system, comprising of 6k lines of xml. While maven parent POMs have been very useful in de-duplicating build logic across elasticsearch and plugins, the rigidity of maven has required us to begin implementing most of our test logic through <code class="notranslate">maven-antrun-plugin</code>. Another major problem with multi-module builds is trap: building a module requires explicitly listing an upstream module in order to get a local build of the dependency, or building from a higher level module (which implicitly builds all sub-modules). And finally, the maven model is incapable of decoupling test dependencies from main dependencies, in that tests for module A, cannot depend on module B, which in turn depends on module A (this is <em>not</em> a cycle).</p>
<p dir="auto">I have a branch which contains elasticsearch switched to using gradle:<br>
<a href="https://github.com/elastic/elasticsearch/tree/burn_maven_with_fire">https://github.com/elastic/elasticsearch/tree/burn_maven_with_fire</a></p>
<p dir="auto">This is a tracking issue for completing the migration to gradle. The tasks are separated into two groups: those remaining required before pushing to master (as to not completely break development), and those required for the migration to be complete, which must happen before the next release (tentatively 2.2).</p>
<p dir="auto">Required for master push:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Maven publishing</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Windows integ test support</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Setup publishing of buildSrc (ie ES gradle build plugins)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Publish "attach project plugin" (allows dynamically including a multi-project build inside another build)</li>
</ul>
<p dir="auto">Required for release:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Copyright header check</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Vagrant qa tests</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Multi node qa tests (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="118296346" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14921" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14921/hovercard" href="https://github.com/elastic/elasticsearch/pull/14921">#14921</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Rpm/deb building complete</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Rpm signing</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Distribution tests</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Update plugins not in elasticsearch repo to use ES gradle build plugins (mapper attachment: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115600954" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch-mapper-attachments/issues/184" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch-mapper-attachments/pull/184/hovercard" href="https://github.com/elastic/elasticsearch-mapper-attachments/pull/184">elastic/elasticsearch-mapper-attachments#184</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Document new ES gradle build plugins (for ES plugin authors)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Document building/testing in README/TESTING (this is done except for jacoco reports)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> integ tests parity: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114752139" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14464" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/14464/hovercard" href="https://github.com/elastic/elasticsearch/issues/14464">#14464</a></li>
</ul>
<p dir="auto">Addtional nice to haves:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Make qa plugins work in eclipse (need to configure custom classpath)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Add <code class="notranslate">run</code> task for elasticsearch and plugins to replace <code class="notranslate">run.sh</code>/<code class="notranslate">run.bat</code>: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114675453" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/14451" data-hovercard-type="pull_request" data-hovercard-url="/elastic/elasticsearch/pull/14451/hovercard" href="https://github.com/elastic/elasticsearch/pull/14451">#14451</a></li>
</ul> | 0 |
<p dir="auto">Make sure these boxes are checked before submitting your issue - thank you!</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the superset logs for python stacktraces and included it here as text if any</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have reproduced the issue with at least the latest released version of superset</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the issue tracker for the same issue and I haven't found one similar</li>
</ul>
<h3 dir="auto">Superset version</h3>
<p dir="auto">0.15</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Export data from dashboard page</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">Need to click explore button, go to slice, then can export data.<br>
Is it possible to export data from dashboard page, then unnecessary to click again to slice page.<br>
How to do this?</p>
<h3 dir="auto">Steps to reproduce</h3> | <p dir="auto">Slices have ability to export data to CSV but it's not possible to do from dashboard</p>
<p dir="auto">It's possible to open slice from dashboard to do that, but after opening slice, all dashboard filtering is lost and has to be repeated in slice</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.4</li>
<li>Operating System version: win10</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/57934445/71306583-316b7980-241d-11ea-9316-6f713b3d898d.png"><img src="https://user-images.githubusercontent.com/57934445/71306583-316b7980-241d-11ea-9316-6f713b3d898d.png" alt="image" style="max-width: 100%;"></a><br>
Spring boot version 2.2.2.release integration Dubbo version 2.7.4 is started by XML configuration, as shown in the figure above, if the configuration commented out is turned on, it will start normally, if the configuration commented out is turned off, the position shown in the figure below will have a null pointer problem:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/57934445/71306605-77c0d880-241d-11ea-8b1b-70d6411acbfb.png"><img src="https://user-images.githubusercontent.com/57934445/71306605-77c0d880-241d-11ea-8b1b-70d6411acbfb.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">Startup success</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">Start failed with null pointer</p>
<p dir="auto">Just put your stack trace here!</p>
<p dir="auto">java.lang.NullPointerException: null<br>
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$null$7(AbstractInterfaceConfig.java:628) ~[dubbo-2.7.4.jar:2.7.4]<br>
at java.util.Optional.orElseGet(Optional.java:267) ~[na:1.8.0_211]<br>
at org.apache.dubbo.config.AbstractInterfaceConfig.lambda$useRegistryForConfigIfNecessary$8(AbstractInterfaceConfig.java:620) ~[dubbo-2.7.4.jar:2.7.4]<br>
at java.util.Optional.ifPresent(Optional.java:159) ~[na:1.8.0_211]<br>
at org.apache.dubbo.config.AbstractInterfaceConfig.useRegistryForConfigIfNecessary(AbstractInterfaceConfig.java:618) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.AbstractInterfaceConfig.checkRegistry(AbstractInterfaceConfig.java:208) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.ServiceConfig.checkAndUpdateSubConfigs(ServiceConfig.java:303) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:370) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:336) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:114) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:60) ~[dubbo-2.7.4.jar:2.7.4]<br>
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:897) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:162) ~[spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]<br>
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]<br>
at com.bigboss.provider.AplicationRunner.main(AplicationRunner.java:22) [classes/:na]</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/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.2</li>
<li>Operating System version: window 7</li>
<li>Java version: java7</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>启动一个服务provider,分组为sg</li>
<li>启动相同的服务provider,分组为cf</li>
<li>启动consumer,分组设置为*,无限循环调用服务。<br>
4.consumer调用时,从provider列表会取第一个provider进行调用。<br>
5.当用admin控制台将第一个provider禁用后,仍然调用第一个consumer</li>
</ol> | 0 |
<p dir="auto">This seems to work ok</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> "doc for my custom struct"
struct teststruct
"doc for x"
x
"doc for y"
y
end
teststruct
help?> teststruct.x
doc for x"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-s"><span class="pl-pds">"</span>doc for my custom struct<span class="pl-pds">"</span></span>
<span class="pl-k">struct</span> teststruct
<span class="pl-s"><span class="pl-pds">"</span>doc for x<span class="pl-pds">"</span></span>
x
<span class="pl-s"><span class="pl-pds">"</span>doc for y<span class="pl-pds">"</span></span>
y
<span class="pl-k">end</span>
teststruct
help?<span class="pl-k">></span> teststruct<span class="pl-k">.</span>x
doc <span class="pl-k">for</span> x</pre></div>
<p dir="auto">However, the docstrings for fields of a parametric struct brings about an error:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> "doc for my custom parametric struct"
struct testparametricstruct{T}
"doc for x"
x::T
"doc for y"
y::Int
end
testparametricstruct
help?> testparametricstruct.x
ERROR: MethodError: no method matching Base.Docs.Binding(::Type{testparametricstruct}, ::Symbol)
Closest candidates are:
Base.Docs.Binding(::Module, ::Symbol) at docs/bindings.jl:9
Stacktrace:
[1] top-level scope at /Users/navid/julia/usr/share/julia/stdlib/v1.5/REPL/src/docview.jl:438"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-s"><span class="pl-pds">"</span>doc for my custom parametric struct<span class="pl-pds">"</span></span>
<span class="pl-k">struct</span> testparametricstruct{T}
<span class="pl-s"><span class="pl-pds">"</span>doc for x<span class="pl-pds">"</span></span>
x<span class="pl-k">::</span><span class="pl-c1">T</span>
<span class="pl-s"><span class="pl-pds">"</span>doc for y<span class="pl-pds">"</span></span>
y<span class="pl-k">::</span><span class="pl-c1">Int</span>
<span class="pl-k">end</span>
testparametricstruct
help?<span class="pl-k">></span> testparametricstruct<span class="pl-k">.</span>x
ERROR<span class="pl-k">:</span> MethodError<span class="pl-k">:</span> no method matching Base<span class="pl-k">.</span>Docs<span class="pl-k">.</span><span class="pl-c1">Binding</span>(<span class="pl-k">::</span><span class="pl-c1">Type{testparametricstruct}</span>, <span class="pl-k">::</span><span class="pl-c1">Symbol</span>)
Closest candidates are<span class="pl-k">:</span>
Base<span class="pl-k">.</span>Docs<span class="pl-k">.</span><span class="pl-c1">Binding</span>(<span class="pl-k">::</span><span class="pl-c1">Module</span>, <span class="pl-k">::</span><span class="pl-c1">Symbol</span>) at docs<span class="pl-k">/</span>bindings<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">9</span>
Stacktrace<span class="pl-k">:</span>
[<span class="pl-c1">1</span>] top<span class="pl-k">-</span>level scope at <span class="pl-k">/</span>Users<span class="pl-k">/</span>navid<span class="pl-k">/</span>julia<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v1.<span class="pl-c1">5</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>docview<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">438</span></pre></div>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> versioninfo()
Julia Version 1.5.3
Commit 788b2c77c1* (2020-11-09 13:37 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.6.0)
CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 12"><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">versioninfo</span>()
Julia Version <span class="pl-c1">1.5</span>.<span class="pl-c1">3</span>
Commit <span class="pl-c1">788</span>b2c77c1<span class="pl-k">*</span> (<span class="pl-c1">2020</span><span class="pl-k">-</span><span class="pl-c1">11</span><span class="pl-k">-</span><span class="pl-c1">09</span> <span class="pl-c1">13</span><span class="pl-k">:</span><span class="pl-c1">37</span> UTC)
Platform Info<span class="pl-k">:</span>
OS<span class="pl-k">:</span> macOS (x86_64<span class="pl-k">-</span>apple<span class="pl-k">-</span>darwin19.<span class="pl-c1">6.0</span>)
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">9750</span>H CPU @ <span class="pl-c1">2.60</span>GHz
WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span>
LIBM<span class="pl-k">:</span> libopenlibm
LLVM<span class="pl-k">:</span> libLLVM<span class="pl-k">-</span><span class="pl-c1">9.0</span>.<span class="pl-c1">1</span> (ORCJIT, skylake)
Environment<span class="pl-k">:</span>
JULIA_NUM_THREADS <span class="pl-k">=</span> <span class="pl-c1">12</span></pre></div> | <p dir="auto">From <a href="https://discourse.julialang.org/t/documenting-fields-of-parametric-type/15760" rel="nofollow">Discourse</a></p>
<p dir="auto">Trying to get the documentation for <code class="notranslate">Bar.x</code> works, but not <code class="notranslate">Foo.x</code> or <code class="notranslate">Foo{Float64}.x</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# file tmp4.jl
"""
This is struct Foo
"""
struct Foo{T}
"""
This is field x
"""
x
end
"""
This is struct Bar
"""
struct Bar
"""
This is field x
"""
x
end"><pre class="notranslate"><code class="notranslate"># file tmp4.jl
"""
This is struct Foo
"""
struct Foo{T}
"""
This is field x
"""
x
end
"""
This is struct Bar
"""
struct Bar
"""
This is field x
"""
x
end
</code></pre></div>
<p dir="auto">In the repl:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="julia> include("tmp4.jl")
Bar
help?> Foo
search: floor pointer_from_objref OverflowError RoundFromZero FileMonitor functionloc StackOverflowError
This is struct Foo
help?> Foo{Float64}.x
ERROR: MethodError: no method matching Base.Docs.Binding(::Type{Foo{Float64}}, ::Symbol)
Closest candidates are:
Base.Docs.Binding(::Module, ::Symbol) at docs/bindings.jl:12
help?> Foo.x
ERROR: MethodError: no method matching Base.Docs.Binding(::Type{Foo}, ::Symbol)
Closest candidates are:
Base.Docs.Binding(::Module, ::Symbol) at docs/bindings.jl:12
help?> Bar
search: baremodule SubArray GlobalRef BitArray clipboard backtrace BitMatrix takebuf_array catch_backtrace
This is struct Bar
help?> Bar.x
This is field x"><pre class="notranslate"><code class="notranslate">julia> include("tmp4.jl")
Bar
help?> Foo
search: floor pointer_from_objref OverflowError RoundFromZero FileMonitor functionloc StackOverflowError
This is struct Foo
help?> Foo{Float64}.x
ERROR: MethodError: no method matching Base.Docs.Binding(::Type{Foo{Float64}}, ::Symbol)
Closest candidates are:
Base.Docs.Binding(::Module, ::Symbol) at docs/bindings.jl:12
help?> Foo.x
ERROR: MethodError: no method matching Base.Docs.Binding(::Type{Foo}, ::Symbol)
Closest candidates are:
Base.Docs.Binding(::Module, ::Symbol) at docs/bindings.jl:12
help?> Bar
search: baremodule SubArray GlobalRef BitArray clipboard backtrace BitMatrix takebuf_array catch_backtrace
This is struct Bar
help?> Bar.x
This is field x
</code></pre></div> | 1 |
<p dir="auto">Show syntax error while open all es6 files in folder 'node_modules' and it's subfolders, and reopen the file, will show repeatedly syntax error in multilines.</p>
<p dir="auto">open the es6 project:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888441/91b6ae54-a578-11e5-8d3d-d7e2b1550e98.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888441/91b6ae54-a578-11e5-8d3d-d7e2b1550e98.GIF" alt="1" data-animated-image="" style="max-width: 100%;"></a><br>
open es6 file in root folder, no syntax error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888442/91dde730-a578-11e5-8545-207daa8a6c2e.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888442/91dde730-a578-11e5-8545-207daa8a6c2e.GIF" alt="2" data-animated-image="" style="max-width: 100%;"></a><br>
but, open the es6 file in folder 'node_modules', will show syntax error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888445/91f47298-a578-11e5-8e98-fcd33c961c77.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888445/91f47298-a578-11e5-8e98-fcd33c961c77.GIF" alt="3" data-animated-image="" style="max-width: 100%;"></a><br>
text of syntax error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888446/91f6dac4-a578-11e5-84c3-3374070c9f29.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888446/91f6dac4-a578-11e5-84c3-3374070c9f29.GIF" alt="4" data-animated-image="" style="max-width: 100%;"></a><br>
show same error while open es6 file in subfolder of 'node_modules':<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888444/91f3cc94-a578-11e5-85fa-41b15681329a.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888444/91f3cc94-a578-11e5-85fa-41b15681329a.GIF" alt="5" data-animated-image="" style="max-width: 100%;"></a><br>
open others not in folder 'node_modules', no syntax error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888447/91f91960-a578-11e5-8bd3-3ef885870baf.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888447/91f91960-a578-11e5-8bd3-3ef885870baf.GIF" alt="6" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">and, will show repeatedly syntax error in multilines while reopen the es6 file which has syntax error:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888443/91ef39a4-a578-11e5-9833-e85635d4ef1d.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888443/91ef39a4-a578-11e5-9833-e85635d4ef1d.GIF" alt="7" data-animated-image="" style="max-width: 100%;"></a><br>
repoen repeatedly:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888448/9217c086-a578-11e5-9983-a74781c50a00.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888448/9217c086-a578-11e5-9983-a74781c50a00.GIF" alt="8" data-animated-image="" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12825770/11888449/921ec390-a578-11e5-82bf-a13588d5b327.GIF"><img src="https://cloud.githubusercontent.com/assets/12825770/11888449/921ec390-a578-11e5-82bf-a13588d5b327.GIF" alt="9" data-animated-image="" style="max-width: 100%;"></a></p> | <p dir="auto">Hi.</p>
<p dir="auto">Thanks for your product, I really enjoy using it. However I have one problem:<br>
When using ES6 features, like the arrow functions, I get the message "This can only be used with ES6. Make sure to have a jsconfig.json-file which sets the target to ES6".</p>
<p dir="auto">However I have a <code class="notranslate">jsconfig.json</code>-file in my root (the folder opened in Visual Studio Code), which contains:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
}
}"><pre class="notranslate">{
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>ES6<span class="pl-pds">"</span></span>,
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>commonjs<span class="pl-pds">"</span></span>
}
}</pre></div>
<p dir="auto">The weird part is that I get it for some files, and not for others. Even if the files are in the same directory. Right now I have three files in the subdirectory <code class="notranslate">/app/bpm</code> names <code class="notranslate">bpm.js</code>, <code class="notranslate">bpmController.js</code> and <code class="notranslate">enterClick.js</code>. All three are written with ES6-functionality, but I only get the warning and red underlined text for <code class="notranslate">bpm.js</code>.</p>
<p dir="auto">UPDATE:<br>
I just restarted VS Code, and the red underline disappeared from <code class="notranslate">bpm.js</code> too. It was a new file I had created after the two others, however the red underline only went away after a restart.</p> | 1 |
<p dir="auto">Windows 10 Home 1903</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 18362.356
Windows Terminal version: 0.5.2762.0"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 18362.356
Windows Terminal version: 0.5.2762.0
</code></pre></div>
<ol dir="auto">
<li>Open Azure cloud shell</li>
<li>resize the window horizontally, using mouse</li>
</ol>
<p dir="auto">Text should wrap according to the width of the window</p>
<p dir="auto">Text disappears, which does not the window and disappears after reducing width and does not come back after increasing it.</p> | <p dir="auto">Apologies if this explanation is confusing. I've mentally internalized the problem here, but I'm not sure if I can fully articulate. Here goes...</p>
<p dir="auto">When receiving characters in a stream fashion (in either conhost or the Terminal), there are a bunch of situations that occur that run off the golden path rails of "just put this into the buffer and move the cursor forward by one".</p>
<p dir="auto">A few major categories of these are:</p>
<ol dir="auto">
<li>C0 control characters (tab, backspace, newline, carriage return, etc.)</li>
<li>Surrogate pairs for UTF-16 (two wchar_ts are required to form one U+ codepoint)</li>
<li>An entire run of characters required to figure out a particular cell display or run of cells.</li>
</ol>
<p dir="auto">We need to solve 1 and 2 first. Solving 3 will probably require a bit more interaction with the <code class="notranslate">CustomTextLayout</code> in the DirectWrite renderer to perform some sort of read-ahead or multiple-pass calculation over text as it flows in stream-wise to figure out the columns it should take.</p>
<p dir="auto">The existing manifests of this sort of work are <code class="notranslate">WriteCharsLegacy</code> in the console host (which is a thousand line or more monstrosity full of multi-pass switch cases, loops, and gotos) and the stream write thing in <code class="notranslate">TerminalControl</code> (I think, might be <code class="notranslate">TerminalConnection</code>) which <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zadjii-msft/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zadjii-msft">@zadjii-msft</a> affectionately warned against it becoming "WriteCharsLegacy2ElectricBoogaloo" in one of his comments.</p>
<p dir="auto">I think what needs to be done here is:</p>
<ol dir="auto">
<li>Create a third entry point to the buffer object that accepts text in a stream write fashion, potentially "buffering" before it inserts into the buffer for reals (or has the ability to look-behind at what was just written) taking over the duties of the "WriteCharsLegacy" type methods into the buffer itself so at least 1 and 2 can be handled in a unified-ish manner.</li>
<li>Teach the buffer and/or let the buffer accept some sort of loose pfn that will connect it up to the text layout engine and let it query for column counts or glyph run information as stream characters show up and adjust the behavior of their neighboring glyphs.</li>
</ol> | 1 |
<h1 dir="auto">Symptoms</h1>
<p dir="auto">On julia 0.6.1 it appears <code class="notranslate">libgit2</code> builds incorrectly on older Debian system.</p>
<p dir="auto">After modifying<code class="notranslate">/deps/libgit2.mk</code> to set <code class="notranslate">-DBUILD_CLAR=ON</code> (so the <code class="notranslate">libgit2</code> tests will be built) and building julia, running the <code class="notranslate">libgit2</code> tests segfaults part way through. This happens on Debian 6, but not Debian 7.</p>
<p dir="auto">Also on Debian 6, launching julia gives the message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException("error initializing LibGit2 module"))
rec_backtrace at /home/dev/julia/src/stackwalk.c:84
record_backtrace at /home/dev/julia/src/task.c:245
jl_throw at /home/dev/julia/src/task.c:564
__init__ at ./libgit2/libgit2.jl:920
unknown function (ip: 0x7f9469e06ad8)
jl_call_fptr_internal at /home/dev/julia/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /home/dev/julia/src/julia_internal.h:358 [inlined]
jl_apply_generic at /home/dev/julia/src/gf.c:1926
jl_apply at /home/dev/julia/src/julia.h:1424 [inlined]
jl_module_run_initializer at /home/dev/julia/src/toplevel.c:87
_julia_init at /home/dev/julia/src/init.c:733
julia_init at /home/dev/julia/src/task.c:297
main at /home/dev/julia/ui/repl.c:259
__libc_start_main at /lib/libc.so.6 (unknown line)
unknown function (ip: 0x401698)"><pre class="notranslate"><code class="notranslate">fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException("error initializing LibGit2 module"))
rec_backtrace at /home/dev/julia/src/stackwalk.c:84
record_backtrace at /home/dev/julia/src/task.c:245
jl_throw at /home/dev/julia/src/task.c:564
__init__ at ./libgit2/libgit2.jl:920
unknown function (ip: 0x7f9469e06ad8)
jl_call_fptr_internal at /home/dev/julia/src/julia_internal.h:339 [inlined]
jl_call_method_internal at /home/dev/julia/src/julia_internal.h:358 [inlined]
jl_apply_generic at /home/dev/julia/src/gf.c:1926
jl_apply at /home/dev/julia/src/julia.h:1424 [inlined]
jl_module_run_initializer at /home/dev/julia/src/toplevel.c:87
_julia_init at /home/dev/julia/src/init.c:733
julia_init at /home/dev/julia/src/task.c:297
main at /home/dev/julia/ui/repl.c:259
__libc_start_main at /lib/libc.so.6 (unknown line)
unknown function (ip: 0x401698)
</code></pre></div>
<p dir="auto">but on Debian 7 julia launches normally. Because the tests segfault and the SSL certificates are installed in the same place in both cases, I think this is different than <a href="https://github.com/JuliaLang/julia/issues/18693" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/18693/hovercard">#18693</a>. Also, setting the environmental variables described in that issue did not help.</p>
<p dir="auto">Building <code class="notranslate">libgit2</code> separately from julia and linking it to OpenSSL 1.0.2m (the system OpenSSL is too old) works (on Debian 6). It appears the problem is specific to how julia is building <code class="notranslate">libgit2</code>.</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Using a virtual machine (preferably with multiple cores, to speed up step 4)</p>
<ol dir="auto">
<li>
<p dir="auto">Install Debian 6 (installation medium <a href="https://caesar.ftp.acc.umu.se/cdimage/archive/6.0.10/amd64/iso-cd/debian-6.0.10-amd64-CD-1.iso" rel="nofollow">here</a>). During installation, decline to use a network mirror (Debian 6 packages are no longer available on the regular mirrors)</p>
</li>
<li>
<p dir="auto">Download the scripts <a href="https://gist.github.com/JaredCrean2/594185472f24502ed0182dfb2431de6b">here</a> to your home directory</p>
</li>
<li>
<p dir="auto">Run <code class="notranslate">install_pkgs.sh</code> as root. This will update <code class="notranslate">apt</code> to find the archive mirror and install as many dependencies from there as possible.</p>
</li>
<li>
<p dir="auto">Run <code class="notranslate">install_src.sh</code> as a regular user. This will build all remaining dependencies from source and then build julia itself. This takes a while because GCC, CMake, Binutils, and Python 2.7 have to be built. They will be installed to <code class="notranslate">~/local</code>. Make sure to <code class="notranslate">source ~/.bashrc</code> after this script completes.</p>
</li>
<li>
<p dir="auto">Now you can attempt to launch julia (in <code class="notranslate">$HOME/julia</code>) to verify it does not work. You can then go into <code class="notranslate">~/julia/deps/scratch/libgit2-COMMIT_HASH</code>) and run <code class="notranslate">libgit2_clar</code> to see it segfault.</p>
</li>
</ol>
<p dir="auto">There is also a script <code class="notranslate">install_ssl.sh</code> to install OpenSSL 1.0.2m to <code class="notranslate">~/crypto</code> and updates <code class="notranslate">.bashrc</code>. It is not run as part of step 4 but may be useful for debugging.</p>
<h1 dir="auto">Backtrace</h1>
<p dir="auto">Running <code class="notranslate">libgit2_clar</code> under gdb gives this backtrace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Program received signal SIGSEGV, Segmentation fault.
0x00000000004919fc in git_mwindow_get_pack ()
(gdb) backtrace
#0 0x00000000004919fc in git_mwindow_get_pack ()
#1 0x000000000043709e in packfile_load(char, bool) ()
#2 0x0000000000478624 in git_path_direach ()
#3 0x0000000000436f0f in pack_backend__refresh ()
#4 0x0000000000437bd4 in git_odb_backend_pack ()
#5 0x000000000041c98c in add_default_backends ()
#6 0x000000000041d65f in git_odb_open ()
#7 0x00000000004322ab in git_repository_odb__weakptr ()
#8 0x000000000046a1e2 in git_object_lookup_prefix ()
#9 0x000000000041280e in git_attr_file__load ()
#10 0x0000000000424994 in git_attr_cache__get ()
#11 0x000000000041fcc6 in collect_attr_files ()
#12 0x000000000041ff90 in git_attr_get ()
#13 0x00000000005f40da in test_attr_flags__index_vs_workdir ()
#14 0x00000000004cd583 in clar_run_test.isra.6 ()
#15 0x00000000004cda41 in clar_test_run ()
#16 0x000000000040f46a in main ()"><pre class="notranslate"><code class="notranslate">Program received signal SIGSEGV, Segmentation fault.
0x00000000004919fc in git_mwindow_get_pack ()
(gdb) backtrace
#0 0x00000000004919fc in git_mwindow_get_pack ()
#1 0x000000000043709e in packfile_load(char, bool) ()
#2 0x0000000000478624 in git_path_direach ()
#3 0x0000000000436f0f in pack_backend__refresh ()
#4 0x0000000000437bd4 in git_odb_backend_pack ()
#5 0x000000000041c98c in add_default_backends ()
#6 0x000000000041d65f in git_odb_open ()
#7 0x00000000004322ab in git_repository_odb__weakptr ()
#8 0x000000000046a1e2 in git_object_lookup_prefix ()
#9 0x000000000041280e in git_attr_file__load ()
#10 0x0000000000424994 in git_attr_cache__get ()
#11 0x000000000041fcc6 in collect_attr_files ()
#12 0x000000000041ff90 in git_attr_get ()
#13 0x00000000005f40da in test_attr_flags__index_vs_workdir ()
#14 0x00000000004cd583 in clar_run_test.isra.6 ()
#15 0x00000000004cda41 in clar_test_run ()
#16 0x000000000040f46a in main ()
</code></pre></div>
<p dir="auto">Also, <code class="notranslate">ldd</code> confirms <code class="notranslate">libgit2.so</code> linked to <code class="notranslate">mbedtls</code> built by julia and not the system OpenSSL.</p> | <p dir="auto">It appears that broken symlinks within the SSL_CERT_DIR can cause Julia to raise an exception during startup:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ mkdir /tmp/certs
$ cd /tmp/certs
$ ln -s bar foo
$ ln -s /doesnotexist bar
$ SSL_CERT_DIR=/tmp/certs julia # Julia 0.6
fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException("error initializing LibGit2 module"))
rec_backtrace at /home/centos/buildbot/slave/package_tarball64/build/src/stackwalk.c:84
record_backtrace at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:239
jl_throw at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:565
__init__ at ./libgit2/libgit2.jl:669
unknown function (ip: 0x7f0b84fc7a88)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:248 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c:2217
jl_apply at /home/centos/buildbot/slave/package_tarball64/build/src/julia.h:1411 [inlined]
jl_module_run_initializer at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:85
_julia_init at /home/centos/buildbot/slave/package_tarball64/build/src/init.c:704
julia_init at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:292
unknown function (ip: 0x401656)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x40170c)"><pre class="notranslate">$ mkdir /tmp/certs
$ <span class="pl-c1">cd</span> /tmp/certs
$ ln -s bar foo
$ ln -s /doesnotexist bar
$ SSL_CERT_DIR=/tmp/certs julia <span class="pl-c"><span class="pl-c">#</span> Julia 0.6</span>
fatal: error thrown and no exception handler available.
Base.InitError(mod=:LibGit2, error=ErrorException(<span class="pl-s"><span class="pl-pds">"</span>error initializing LibGit2 module<span class="pl-pds">"</span></span>))
rec_backtrace at /home/centos/buildbot/slave/package_tarball64/build/src/stackwalk.c:84
record_backtrace at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:239
jl_throw at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:565
__init__ at ./libgit2/libgit2.jl:669
unknown <span class="pl-k">function</span> <span class="pl-en">(ip:</span> 0x7f0b84fc7a88)
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:248 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c:2217
jl_apply at /home/centos/buildbot/slave/package_tarball64/build/src/julia.h:1411 [inlined]
jl_module_run_initializer at /home/centos/buildbot/slave/package_tarball64/build/src/toplevel.c:85
_julia_init at /home/centos/buildbot/slave/package_tarball64/build/src/init.c:704
julia_init at /home/centos/buildbot/slave/package_tarball64/build/src/task.c:292
unknown <span class="pl-k">function</span> <span class="pl-en">(ip:</span> 0x401656)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown <span class="pl-k">function</span> <span class="pl-en">(ip:</span> 0x40170c)</pre></div>
<p dir="auto">Note that the paths in the exception above appear to be from the official build server as I encountered this in a Debian environment.</p>
<p dir="auto">versioninfo:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Julia Version 0.6.0-dev.2499
Commit cdca71b (2017-02-01 15:33 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)"><pre class="notranslate"><code class="notranslate">Julia Version 0.6.0-dev.2499
Commit cdca71b (2017-02-01 15:33 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)
</code></pre></div> | 1 |
<ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: OSX 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Create new <code class="notranslate">.py</code> file</li>
<li>Start typing <code class="notranslate">def test():</code></li>
<li>Press enter</li>
</ol>
<p dir="auto">Expected:<br>
Code editor should indent function body.</p>
<p dir="auto">Actual:<br>
Editor keeps old indention</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/597158/14682544/e8699d60-06da-11e6-9bf3-5bd179cc73dd.gif"><img src="https://cloud.githubusercontent.com/assets/597158/14682544/e8699d60-06da-11e6-9bf3-5bd179cc73dd.gif" alt="python-indent" data-animated-image="" style="max-width: 100%;"></a></p> | <p dir="auto">When declaring class in python files, the next line should has indentation. For example:</p>
<ul dir="auto">
<li>type <code class="notranslate">class Class:</code></li>
<li>hit Enter</li>
<li>the cursor should be on position 4 (for indentation 4 spaces)</li>
</ul>
<p dir="auto">On the version 0.10.8 the cursor position is 0</p> | 1 |
<p dir="auto">There are nice <code class="notranslate">failure_forward: false</code> and <code class="notranslate">use_forward: false</code> options that allow me exactly what I want - to have forwards instead of redirects. But I also want to have something like <code class="notranslate">target_forward</code> or <code class="notranslate">success_forward</code> option that will allow me to use forward instead of redirect.</p>
<p dir="auto">Its convenient to have redirect after login on the site, but when you send an ajax request probably you don't want a redirect, but just want to have a success respond.</p>
<p dir="auto">Does anyone think that we need it? If so I can help to implement it.</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->setData($this->propertyAccessor->getValue($data, $propertyPath));"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">propertyAccessor</span>-><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->propertyAccessor->setValue($data, $propertyPath, $form->getData());"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">propertyAccessor</span>-><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>-><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->createBuilder()
->setData('default')
->setDisabled(true)
->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>-><span class="pl-en">createBuilder</span>()
-><span class="pl-en">setData</span>(<span class="pl-s">'default'</span>)
-><span class="pl-en">setDisabled</span>(<span class="pl-c1">true</span>)
-><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->createBuilder()
->add('name', 'text')
->add('email', 'email');
// Assembling
// Form instances are created, Form::add() is called
$form = $builder->getForm();
// Manual modifications
$form->add('submit', 'submit');
$form->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>-><span class="pl-en">createBuilder</span>()
-><span class="pl-en">add</span>(<span class="pl-s">'name'</span>, <span class="pl-s">'text'</span>)
-><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>-><span class="pl-en">getForm</span>();
<span class="pl-c">// Manual modifications</span>
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><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>-><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->createBuilder('form', null, array('auto_initialize' => false))
->add('name', 'text')
->add('email', 'email')
// passing the data as second argument to
// FormFactory::createBuilder() or through the option
// "data" is equivalent to the below statement
->setData(array('name' => 'foo', 'email' => 'bar'))
->getForm();
$form->initialize();
// sets the default data stored above
// implies $form->get('name')->initialize('foo')
// implies $form->get('email')->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>-><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> => <span class="pl-c1">false</span>))
-><span class="pl-en">add</span>(<span class="pl-s">'name'</span>, <span class="pl-s">'text'</span>)
-><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>
-><span class="pl-en">setData</span>(<span class="pl-en">array</span>(<span class="pl-s">'name'</span> => <span class="pl-s">'foo'</span>, <span class="pl-s">'email'</span> => <span class="pl-s">'bar'</span>))
-><span class="pl-en">getForm</span>();
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">initialize</span>();
<span class="pl-c">// sets the default data stored above</span>
<span class="pl-c">// implies $form->get('name')->initialize('foo')</span>
<span class="pl-c">// implies $form->get('email')->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->createForm('text', null, array('auto_initialize' => false));
$form->initialize('foo');
$otherForm->add($form); // boom
$form = $factory->createForm('text');
$otherForm->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>-><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> => <span class="pl-c1">false</span>));
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">initialize</span>(<span class="pl-s">'foo'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>otherForm</span>-><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>-><span class="pl-en">createForm</span>(<span class="pl-s">'text'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>otherForm</span>-><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->createForm('my_type');
// Phase 4
$form->handleRequest($request);
if ($form->isSubmitted() && $form->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>-><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>-><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>-><span class="pl-en">isSubmitted</span>() && <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><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->createForm('my_type');
if ($form->isSubmitted() && $form->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>-><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>-><span class="pl-en">isSubmitted</span>() && <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><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->defaultDataSet) {
$this->setData($this->getConfig()->getData());
}
// new
if (!$this->defaultDataSet) {
throw new RuntimeException('getData() must be called after initializing the form. Make sure "auto_initialize" 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>-><span class="pl-c1">defaultDataSet</span>) {
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-en">getConfig</span>()-><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>-><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->create('form', $default);
// set on the builder
$form = $factory->createBuilder('form')
->setData($default)
->getForm();
// passed as option
$form = $factory->create('form', null, array('data' => $default));
$form->add('field', 'text', array('data' => $default));
// deprecated
$form->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>-><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>-><span class="pl-en">createBuilder</span>(<span class="pl-s">'form'</span>)
-><span class="pl-en">setData</span>(<span class="pl-s1"><span class="pl-c1">$</span>default</span>)
-><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>-><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> => <span class="pl-s1"><span class="pl-c1">$</span>default</span>));
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><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> => <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>-><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> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 1909 (18363.836)
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): Powertoys Run"><pre class="notranslate"><code class="notranslate">Windows build number: 1909 (18363.836)
PowerToys version: 0.18.2
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">Alt+Space<br>
Search for "Bildschirmtastatur" or "winver" for example</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Bring up the on-screen keyboard or the windows version dialogue.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">"Bildschirmtastatur" can't be found in PowerToysRun, only a search via the start menu does.<br>
Although it can be found if the application already is running and has been started via the start menu (see second screenshot)<br>
Also winver can only be started from the start menu, as typing winver in PowerToysRun does only bring up system administrative tools.</p>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12033198/84138613-d2db9b80-aa4e-11ea-8deb-3d0fa46c69b1.jpg"><img src="https://user-images.githubusercontent.com/12033198/84138613-d2db9b80-aa4e-11ea-8deb-3d0fa46c69b1.jpg" alt="PowerotysRun-Bildschirmtastatur-01" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12033198/84138619-d707b900-aa4e-11ea-9921-ab624b5c5715.jpg"><img src="https://user-images.githubusercontent.com/12033198/84138619-d707b900-aa4e-11ea-9921-ab624b5c5715.jpg" alt="PowerotysRun-Bildschirmtastatur-02" style="max-width: 100%;"></a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Add the following shortcuts to Shortcut Guide:<br>
<strong>Win+Shift+S</strong> - Snip & Sketch<br>
<strong>Win+V</strong> - Open Clipboard (if enabled)<br>
<strong>Win+.</strong> - Emoji<br>
<strong>Win+T</strong> - Switch between apps in Taskbar<br>
<strong>Win+P</strong> - Project<br>
<strong>Win+W</strong> - Windows Ink (if available)<br>
<strong>Win+Ctrl+F4</strong> - Close current virtual desktop</p>
<p dir="auto">There are a lot of other shortcuts(may be less important), e.g.<br>
<strong>Win+Break</strong> - System Information<br>
<strong>Win+F1</strong> - Get Help<br>
and others</p> | 0 |
<p dir="auto">After opening the user preferences (Command-comma on Mac), the status bar shows three warnings in the status bar:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/540554/13305994/938ba136-db14-11e5-8e5d-189cdfd197ff.png"><img src="https://cloud.githubusercontent.com/assets/540554/13305994/938ba136-db14-11e5-8e5d-189cdfd197ff.png" alt="screen shot 2016-02-24 at 4 33 47 pm" style="max-width: 100%;"></a></p>
<p dir="auto">These warnings persist even after closing the settings.</p> | <p dir="auto">Hi,</p>
<p dir="auto">After updating to version 0.10.8 i have warning in the status bar.<br>
The only extension installed is for golang.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/605434/12926463/2fbdd542-cf6c-11e5-8737-33522f604835.png"><img src="https://cloud.githubusercontent.com/assets/605434/12926463/2fbdd542-cf6c-11e5-8737-33522f604835.png" alt="2016-02-09 20_25_58-search" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/605434/12926467/38fae460-cf6c-11e5-8bff-c70f24548128.png"><img src="https://cloud.githubusercontent.com/assets/605434/12926467/38fae460-cf6c-11e5-8bff-c70f24548128.png" alt="2016-02-09 20_26_31-start" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/605434/12926471/3cf740f4-cf6c-11e5-8172-848260bb3212.png"><img src="https://cloud.githubusercontent.com/assets/605434/12926471/3cf740f4-cf6c-11e5-8172-848260bb3212.png" alt="2016-02-09 20_27_16-start" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/605434/12926477/4026a4ae-cf6c-11e5-8a20-f54de921dd8a.png"><img src="https://cloud.githubusercontent.com/assets/605434/12926477/4026a4ae-cf6c-11e5-8a20-f54de921dd8a.png" alt="2016-02-09 20_27_41-start" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/605434/12926481/42e8909e-cf6c-11e5-915c-84c5f98fdc25.png"><img src="https://cloud.githubusercontent.com/assets/605434/12926481/42e8909e-cf6c-11e5-915c-84c5f98fdc25.png" alt="2016-02-09 20_28_14-start" style="max-width: 100%;"></a></p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1</li>
<li>Operating System version: CentOS 7.5</li>
<li>Java version: JAVA 1.8.0_202</li>
</ul>
<h3 dir="auto">Issue description</h3>
<p dir="auto"><code class="notranslate">ConsistentHashLoadBalance</code> is very good at guaranteeing a robust data locality, when the same method with the same parameter is directed to always the same target (when system state does not change).<br>
However, it is possible in reality when there exists a hot parameter, which is called significantly more frequently with the given method compared to other parameters.<br>
This lead to a unbalanced load as the request to this method with the <strong>hot</strong> parameter is always directed to the same target, makes this target overloaded.</p>
<h3 dir="auto">Expectation</h3>
<p dir="auto">Would it be possible to improve the current <code class="notranslate">ConsistentHashLoadBalance</code> implementation to better balance the load under this edge case?</p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">Does it have to be replaced with an upgrade guide link for the official website?<br>
<a href="http://dubbo.apache.org/zh-cn/docs/user/versions/version-270.html" rel="nofollow">http://dubbo.apache.org/zh-cn/docs/user/versions/version-270.html</a></p> | 0 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="681035015" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6307" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/6307/hovercard" href="https://github.com/celery/celery/issues/6307">#6307</a></li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>:</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:5.1.2 (sun-harmonics) kombu:5.1.0 py:3.9.1
billiard:3.6.4.0 py-amqp:5.0.6
platform -> system:Darwin arch:64bit
kernel version:20.5.0 imp:CPython
loader -> celery.loaders.default.Loader
settings -> transport:amqp results:disabled
deprecated_settings: None"><pre class="notranslate"><code class="notranslate">software -> celery:5.1.2 (sun-harmonics) kombu:5.1.0 py:3.9.1
billiard:3.6.4.0 py-amqp:5.0.6
platform -> system:Darwin arch:64bit
kernel version:20.5.0 imp:CPython
loader -> celery.loaders.default.Loader
settings -> transport:amqp results:disabled
deprecated_settings: None
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.6
appdirs==1.4.4
billiard==3.6.4.0
black==20.8b1
celery==5.1.2
click==7.1.2
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.2.0
flake8==3.9.2
Flask==2.0.1
isort==5.9.1
itsdangerous==2.0.1
Jinja2==3.0.1
kombu==5.1.0
MarkupSafe==2.0.1
mccabe==0.6.1
motor==2.4.0
mypy-extensions==0.4.3
numpy==1.21.0
pathspec==0.8.1
prompt-toolkit==3.0.19
pycodestyle==2.7.0
pyflakes==2.3.1
pymongo==3.11.4
pytz==2021.1
PyYAML==5.4.1
regex==2021.4.4
six==1.16.0
toml==0.10.2
typed-ast==1.4.3
typing-extensions==3.10.0.0
vine==5.0.0
wcwidth==0.2.5
Werkzeug==2.0.1"><pre class="notranslate"><code class="notranslate">amqp==5.0.6
appdirs==1.4.4
billiard==3.6.4.0
black==20.8b1
celery==5.1.2
click==7.1.2
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.2.0
flake8==3.9.2
Flask==2.0.1
isort==5.9.1
itsdangerous==2.0.1
Jinja2==3.0.1
kombu==5.1.0
MarkupSafe==2.0.1
mccabe==0.6.1
motor==2.4.0
mypy-extensions==0.4.3
numpy==1.21.0
pathspec==0.8.1
prompt-toolkit==3.0.19
pycodestyle==2.7.0
pyflakes==2.3.1
pymongo==3.11.4
pytz==2021.1
PyYAML==5.4.1
regex==2021.4.4
six==1.16.0
toml==0.10.2
typed-ast==1.4.3
typing-extensions==3.10.0.0
vine==5.0.0
wcwidth==0.2.5
Werkzeug==2.0.1
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><p dir="auto"><code class="notranslate">celery.py</code></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery, signals
from click import Option
import codecs
import yaml
def setup(yml_path: str):
global CONF
with codecs.open(yml_path, "r", "utf-8") as config_file:
CONF = yaml.load(config_file, Loader=yaml.FullLoader)
def load_config(yml_path: str):
conf =setup(yml_path) # Load conf file from custom yaml
celery_config = conf.get("celery", {})
app_config = celery_config.get("app", {})
app.conf.update(app_config)
return conf
def _create_celery():
app = Celery(include=["ais.tasks"])
app.user_options["preload"] = [
Option(["--config", "-C"], default="config/config.yml")
]
return app
"""
signal handlers
Warning: signal handlers only executed on server side
"""
@signals.user_preload_options.connect
def handle_preload_options(options, **kwargs):
load_config(options["config"])
app = _create_celery()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>, <span class="pl-s1">signals</span>
<span class="pl-k">from</span> <span class="pl-s1">click</span> <span class="pl-k">import</span> <span class="pl-v">Option</span>
<span class="pl-k">import</span> <span class="pl-s1">codecs</span>
<span class="pl-k">import</span> <span class="pl-s1">yaml</span>
<span class="pl-k">def</span> <span class="pl-en">setup</span>(<span class="pl-s1">yml_path</span>: <span class="pl-s1">str</span>):
<span class="pl-k">global</span> <span class="pl-v">CONF</span>
<span class="pl-k">with</span> <span class="pl-s1">codecs</span>.<span class="pl-en">open</span>(<span class="pl-s1">yml_path</span>, <span class="pl-s">"r"</span>, <span class="pl-s">"utf-8"</span>) <span class="pl-k">as</span> <span class="pl-s1">config_file</span>:
<span class="pl-v">CONF</span> <span class="pl-c1">=</span> <span class="pl-s1">yaml</span>.<span class="pl-en">load</span>(<span class="pl-s1">config_file</span>, <span class="pl-v">Loader</span><span class="pl-c1">=</span><span class="pl-s1">yaml</span>.<span class="pl-v">FullLoader</span>)
<span class="pl-k">def</span> <span class="pl-en">load_config</span>(<span class="pl-s1">yml_path</span>: <span class="pl-s1">str</span>):
<span class="pl-s1">conf</span> <span class="pl-c1">=</span><span class="pl-en">setup</span>(<span class="pl-s1">yml_path</span>) <span class="pl-c"># Load conf file from custom yaml</span>
<span class="pl-s1">celery_config</span> <span class="pl-c1">=</span> <span class="pl-s1">conf</span>.<span class="pl-en">get</span>(<span class="pl-s">"celery"</span>, {})
<span class="pl-s1">app_config</span> <span class="pl-c1">=</span> <span class="pl-s1">celery_config</span>.<span class="pl-en">get</span>(<span class="pl-s">"app"</span>, {})
<span class="pl-s1">app</span>.<span class="pl-s1">conf</span>.<span class="pl-en">update</span>(<span class="pl-s1">app_config</span>)
<span class="pl-k">return</span> <span class="pl-s1">conf</span>
<span class="pl-k">def</span> <span class="pl-en">_create_celery</span>():
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s1">include</span><span class="pl-c1">=</span>[<span class="pl-s">"ais.tasks"</span>])
<span class="pl-s1">app</span>.<span class="pl-s1">user_options</span>[<span class="pl-s">"preload"</span>] <span class="pl-c1">=</span> [
<span class="pl-v">Option</span>([<span class="pl-s">"--config"</span>, <span class="pl-s">"-C"</span>], <span class="pl-s1">default</span><span class="pl-c1">=</span><span class="pl-s">"config/config.yml"</span>)
]
<span class="pl-k">return</span> <span class="pl-s1">app</span>
<span class="pl-s">"""</span>
<span class="pl-s">signal handlers</span>
<span class="pl-s">Warning: signal handlers only executed on server side</span>
<span class="pl-s">"""</span>
<span class="pl-en">@<span class="pl-s1">signals</span>.<span class="pl-s1">user_preload_options</span>.<span class="pl-s1">connect</span></span>
<span class="pl-k">def</span> <span class="pl-en">handle_preload_options</span>(<span class="pl-s1">options</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-en">load_config</span>(<span class="pl-s1">options</span>[<span class="pl-s">"config"</span>])
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-en">_create_celery</span>()</pre></div>
<p dir="auto"><code class="notranslate">config.yml</code></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="celery:
app:
app_name: parser-worker
worker_concurrency: 4
broker_url: redis://localhost:6379/0"><pre class="notranslate"><span class="pl-ent">celery</span>:
<span class="pl-ent">app</span>:
<span class="pl-ent">app_name</span>: <span class="pl-s">parser-worker</span>
<span class="pl-ent">worker_concurrency</span>: <span class="pl-c1">4</span>
<span class="pl-ent">broker_url</span>: <span class="pl-s">redis://localhost:6379/0</span></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Concurrency worker prefork should be 4 process by <code class="notranslate">app.conf.update</code> from <code class="notranslate">config.yml</code></p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">Concurrency worker still prefork 8 process</p>
<h1 dir="auto">Trace Code</h1>
<h2 dir="auto">The worker init flow with <code class="notranslate">click</code> confused</h2>
<p dir="auto">Module path <code class="notranslate">.venv/lib/python3.9/site-packages/celery/bin/worker.py</code><br>
I found use <code class="notranslate">click</code> lib instead of <code class="notranslate">argparse</code> in <a href="https://github.com/celery/celery/blob/master/celery/bin/worker.py#L183">bin/worker</a><br>
It use <code class="notranslate">value or ctx.obj.app.conf.worker_concurrency</code> for lambda value</p>
<p dir="auto">we hope <code class="notranslate">ctx.obj.app.conf.worker_concurrency</code> be any int but <code class="notranslate">0</code>.<br>
Unfortunately, it seems not in this case.</p>
<p dir="auto"><code class="notranslate">ctx.obj.app.conf.worker_concurrency</code> was setup after <code class="notranslate">@handle_preload_options</code> according to call stack.</p>
<p dir="auto">The <code class="notranslate">concurrency</code> will also be <code class="notranslate">0</code> in <a href="https://github.com/celery/celery/blob/master/celery/worker/worker.py#L376">worker/worker.py</a>, though it use <code class="notranslate">either</code> func to <code class="notranslate"> either('worker_concurrency', concurrency)</code>.</p> | <h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.
<ul dir="auto">
<li>Forbidden by company policy</li>
</ul>
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>: 4.2.1</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
Cannot include this due to company security policy
</p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
Cannot include this due to company security policy
</p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><ul dir="auto">
<li>Set <code class="notranslate">broker_url</code> to an string without a protocol</li>
<li>Start Celery worker with <code class="notranslate">multi start</code>, with a logfile specified with <code class="notranslate">--logfile=</code></li>
<li><code class="notranslate">multi start</code> claims the worker started successfully, when in fact it died immediately. No error message is written to STDOUT or STDERR and nothing at all is written to the logfile</li>
</ul>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<ul dir="auto">
<li><strong>At least one</strong> of the following:
<ul dir="auto">
<li><code class="notranslate">multi start</code> reports the worker <em>did not</em> start successfully</li>
<li>An error message or traceback is written to STDOUT or STDERR</li>
<li>The error is recorded in the logfile</li>
</ul>
</li>
</ul>
<h1 dir="auto">Actual Behavior</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[REDACTED_PROMPT]$ ~/tools/python/bin/celery multi start worker -A [REDACTED_PACKAGE].celery:APP --pidfile=celery-worker.pid --logfile=celery-worker.log --detach -O fair -l debug
celery multi v4.2.1 (windowlicker)
> Starting nodes...
> worker@[REDACTED_HOST]: OK
[REDACTED_PROMPT]$ # multi start reports the worker started successfully, and no error message was printed, yet...
[REDACTED_PROMPT]$ ps -aux | grep celery
foo_user 17792 0.0 0.0 9092 676 pts/0 S+ 19:29 0:00 grep --color=auto celery
[REDACTED_PROMPT]$ # The worker is not running
[REDACTED_PROMPT]$ cat celery-worker.log
[REDACTED_PROMPT]$ # And nothing is in the log, either"><pre lang="text" class="notranslate"><code class="notranslate">[REDACTED_PROMPT]$ ~/tools/python/bin/celery multi start worker -A [REDACTED_PACKAGE].celery:APP --pidfile=celery-worker.pid --logfile=celery-worker.log --detach -O fair -l debug
celery multi v4.2.1 (windowlicker)
> Starting nodes...
> worker@[REDACTED_HOST]: OK
[REDACTED_PROMPT]$ # multi start reports the worker started successfully, and no error message was printed, yet...
[REDACTED_PROMPT]$ ps -aux | grep celery
foo_user 17792 0.0 0.0 9092 676 pts/0 S+ 19:29 0:00 grep --color=auto celery
[REDACTED_PROMPT]$ # The worker is not running
[REDACTED_PROMPT]$ cat celery-worker.log
[REDACTED_PROMPT]$ # And nothing is in the log, either
</code></pre></div> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by 종빈 박 (<a href="https://github.com/chongkong">@chongkong</a>)</strong></p>
<p dir="auto">I'm not so sure this is intended behavior or is a bug, but query().get() does not joinedload the relationship that is specified as <code class="notranslate">lazy=joinedload</code> when reloading the instance, marked as expired in identity map.</p>
<p dir="auto"><a href="https://gist.github.com/chongkong/1460884de96866d42f5a197fcec5652b">https://gist.github.com/chongkong/1460884de96866d42f5a197fcec5652b</a></p> | <p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p>
<p dir="auto">this patch begins to provide this behavior. However a lazyloader from an expired object emits a second unnecessary load (or an unnecessary join, depending on how you look at it), and polymorphic loading breaks entirely, probably due to an incompatibility with the partial joined inheritance loader.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff -r cfdc41c75ce2e2228d71733212bbaca0fe17ce35 lib/sqlalchemy/orm/state.py
--- a/lib/sqlalchemy/orm/state.py Mon Apr 05 13:16:29 2010 -0400
+++ b/lib/sqlalchemy/orm/state.py Mon Apr 05 15:43:40 2010 -0400
@@ -262,9 +262,10 @@
if kw.get('passive') is attributes.PASSIVE_NO_FETCH:
return attributes.PASSIVE_NO_RESULT
- toload = self.expired_attributes.\
- intersection(self.unmodified)
-
+ toload = self.expired_attributes.intersection(self.unmodified).union(
+ self.unloaded.intersection(self.expire_on_missing)
+ )
+
self.manager.deferred_scalar_loader(self, toload)
# if the loader failed, or this
@@ -277,6 +278,10 @@
return ATTR_WAS_SET
@property
+ def expire_on_missing(self):
+ return set(key for key in self.manager if self.manager[key](key).impl.expire_missing)
+
+ @property
def unmodified(self):
"""Return the set of keys which have no uncommitted changes"""
diff -r cfdc41c75ce2e2228d71733212bbaca0fe17ce35 test/orm/test_expire.py
--- a/test/orm/test_expire.py Mon Apr 05 13:16:29 2010 -0400
+++ b/test/orm/test_expire.py Mon Apr 05 15:43:40 2010 -0400
@@ -425,17 +425,7 @@
assert len(u.addresses) == 2
@testing.resolve_artifact_names
- def test_joinedload_props_dontload(self):
- # relationships currently have to load separately from scalar instances.
- # the use case is: expire "addresses". then access it. lazy load
- # fires off to load "addresses", but needs foreign key or primary key
- # attributes in order to lazy load; hits those attributes, such as
- # below it hits "u.id". "u.id" triggers full unexpire operation,
- # joinedloads addresses since lazy='joined'. this is all wihtin lazy load
- # which fires unconditionally; so an unnecessary joinedload (or
- # lazyload) was issued. would prefer not to complicate lazyloading to
- # "figure out" that the operation should be aborted right now.
-
+ def test_joinedload_props_load(self):
mapper(User, users, properties={
'addresses':relationship(Address, backref='user', lazy='joined'),
})
@@ -444,11 +434,30 @@
u = sess.query(User).get(8)
sess.expire(u)
u.id
- assert 'addresses' not in u.__dict__
+ assert 'addresses' in u.__dict__
u.addresses
assert 'addresses' in u.__dict__
@testing.resolve_artifact_names
+ def test_joinedload_props_load_two(self):
+ mapper(User, users, properties={
+ 'addresses':relationship(Address, backref='user', lazy='joined'),
+ })
+ mapper(Address, addresses)
+ sess = create_session()
+ u = sess.query(User).get(8)
+ sess.expire(u)
+
+ # current bug: u.addresses unexpires attributes,
+ # eagerlaods u.addresses. lazyloader for u.addresses
+ # then runs anyway.
+ def go():
+ u.addresses
+ assert 'addresses' in u.__dict__
+ assert 'id' in u.__dict__
+ self.assert_sql_count(testing.db, go, 1)
+
+ @testing.resolve_artifact_names
def test_expire_synonym(self):
mapper(User, users, properties={
'uname': sa.orm.synonym('name')"><pre class="notranslate"><code class="notranslate">diff -r cfdc41c75ce2e2228d71733212bbaca0fe17ce35 lib/sqlalchemy/orm/state.py
--- a/lib/sqlalchemy/orm/state.py Mon Apr 05 13:16:29 2010 -0400
+++ b/lib/sqlalchemy/orm/state.py Mon Apr 05 15:43:40 2010 -0400
@@ -262,9 +262,10 @@
if kw.get('passive') is attributes.PASSIVE_NO_FETCH:
return attributes.PASSIVE_NO_RESULT
- toload = self.expired_attributes.\
- intersection(self.unmodified)
-
+ toload = self.expired_attributes.intersection(self.unmodified).union(
+ self.unloaded.intersection(self.expire_on_missing)
+ )
+
self.manager.deferred_scalar_loader(self, toload)
# if the loader failed, or this
@@ -277,6 +278,10 @@
return ATTR_WAS_SET
@property
+ def expire_on_missing(self):
+ return set(key for key in self.manager if self.manager[key](key).impl.expire_missing)
+
+ @property
def unmodified(self):
"""Return the set of keys which have no uncommitted changes"""
diff -r cfdc41c75ce2e2228d71733212bbaca0fe17ce35 test/orm/test_expire.py
--- a/test/orm/test_expire.py Mon Apr 05 13:16:29 2010 -0400
+++ b/test/orm/test_expire.py Mon Apr 05 15:43:40 2010 -0400
@@ -425,17 +425,7 @@
assert len(u.addresses) == 2
@testing.resolve_artifact_names
- def test_joinedload_props_dontload(self):
- # relationships currently have to load separately from scalar instances.
- # the use case is: expire "addresses". then access it. lazy load
- # fires off to load "addresses", but needs foreign key or primary key
- # attributes in order to lazy load; hits those attributes, such as
- # below it hits "u.id". "u.id" triggers full unexpire operation,
- # joinedloads addresses since lazy='joined'. this is all wihtin lazy load
- # which fires unconditionally; so an unnecessary joinedload (or
- # lazyload) was issued. would prefer not to complicate lazyloading to
- # "figure out" that the operation should be aborted right now.
-
+ def test_joinedload_props_load(self):
mapper(User, users, properties={
'addresses':relationship(Address, backref='user', lazy='joined'),
})
@@ -444,11 +434,30 @@
u = sess.query(User).get(8)
sess.expire(u)
u.id
- assert 'addresses' not in u.__dict__
+ assert 'addresses' in u.__dict__
u.addresses
assert 'addresses' in u.__dict__
@testing.resolve_artifact_names
+ def test_joinedload_props_load_two(self):
+ mapper(User, users, properties={
+ 'addresses':relationship(Address, backref='user', lazy='joined'),
+ })
+ mapper(Address, addresses)
+ sess = create_session()
+ u = sess.query(User).get(8)
+ sess.expire(u)
+
+ # current bug: u.addresses unexpires attributes,
+ # eagerlaods u.addresses. lazyloader for u.addresses
+ # then runs anyway.
+ def go():
+ u.addresses
+ assert 'addresses' in u.__dict__
+ assert 'id' in u.__dict__
+ self.assert_sql_count(testing.db, go, 1)
+
+ @testing.resolve_artifact_names
def test_expire_synonym(self):
mapper(User, users, properties={
'uname': sa.orm.synonym('name')
</code></pre></div> | 1 |
<p dir="auto">X-post from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="113064352" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/1544" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/1544/hovercard" href="https://github.com/webpack/webpack/issues/1544">webpack/webpack#1544</a>:</p>
<p dir="auto">For example, if I have the js:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" import React, {PropTypes} from "react";
import Branding from "./Branding";
const Layout = ({children, customSignIn}) => (
<div className="container" style={{marginTop: 60}}>
<div className="well" style={{padding: 50}}>
<div className="panel-body">
<div className="col-lg-6" style={{textAlign: "center"}}>
<Branding customSignIn={customSignIn} />
</div>
<div className="col-lg-6">
{children}
</div>
</div>
</div>
</div>
);
Layout.propTypes = {
children: PropTypes.node,
customSignIn: PropTypes.string,
};
export {Layout as default};"><pre class="notranslate"> <span class="pl-k">import</span> <span class="pl-v">React</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-v">PropTypes</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"react"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">Branding</span> <span class="pl-k">from</span> <span class="pl-s">"./Branding"</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">Layout</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>children<span class="pl-kos">,</span> customSignIn<span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"container"</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span><span class="pl-c1">marginTop</span>: <span class="pl-c1">60</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"well"</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span><span class="pl-c1">padding</span>: <span class="pl-c1">50</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"panel-body"</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"col-lg-6"</span> <span class="pl-c1">style</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">{</span><span class="pl-c1">textAlign</span>: <span class="pl-s">"center"</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">Branding</span> <span class="pl-c1">customSignIn</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">customSignIn</span><span class="pl-kos">}</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span> <span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-s">"col-lg-6"</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">children</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">Layout</span><span class="pl-kos">.</span><span class="pl-c1">propTypes</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">children</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">node</span><span class="pl-kos">,</span>
<span class="pl-c1">customSignIn</span>: <span class="pl-v">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">string</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-v">Layout</span> <span class="pl-k">as</span> <span class="pl-s1">default</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Webpack+babel produces:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var _react = __webpack_require__(3);
var _react2 = _interopRequireDefault(_react);
var _Branding = __webpack_require__(283);
var _Branding2 = _interopRequireDefault(_Branding);
var Layout = function Layout(_ref) {
var children = _ref.children;
var customSignIn = _ref.customSignIn;
return _react2["default"].createElement(
"div",
{ className: "container", style: { marginTop: 60 } },
_react2["default"].createElement(
"div",
{ className: "well", style: { padding: 50 } },
_react2["default"].createElement(
"div",
{ className: "panel-body" },
_react2["default"].createElement(
"div",
{ className: "col-lg-6", style: { textAlign: "center" } },
_react2["default"].createElement(_Branding2["default"], { customSignIn: customSignIn })
),
_react2["default"].createElement(
"div",
{ className: "col-lg-6" },
children
)
)
)
);
};
Layout.propTypes = {
children: _react.PropTypes.node,
customSignIn: _react.PropTypes.string
};
exports["default"] = Layout;
module.exports = exports["default"];"><pre class="notranslate"> <span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">defineProperty</span><span class="pl-kos">(</span><span class="pl-s1">exports</span><span class="pl-kos">,</span> <span class="pl-s">"__esModule"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">value</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">_interopRequireDefault</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">&&</span> <span class="pl-s1">obj</span><span class="pl-kos">.</span><span class="pl-c1">__esModule</span> ? <span class="pl-s1">obj</span> : <span class="pl-kos">{</span> <span class="pl-s">"default"</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">var</span> <span class="pl-s1">_react</span> <span class="pl-c1">=</span> <span class="pl-en">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-c1">3</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_react2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">_react</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_Branding</span> <span class="pl-c1">=</span> <span class="pl-en">__webpack_require__</span><span class="pl-kos">(</span><span class="pl-c1">283</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_Branding2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireDefault</span><span class="pl-kos">(</span><span class="pl-s1">_Branding</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-v">Layout</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-v">Layout</span><span class="pl-kos">(</span><span class="pl-s1">_ref</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">children</span> <span class="pl-c1">=</span> <span class="pl-s1">_ref</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">customSignIn</span> <span class="pl-c1">=</span> <span class="pl-s1">_ref</span><span class="pl-kos">.</span><span class="pl-c1">customSignIn</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-s1">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">"div"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">className</span>: <span class="pl-s">"container"</span><span class="pl-kos">,</span> <span class="pl-c1">style</span>: <span class="pl-kos">{</span> <span class="pl-c1">marginTop</span>: <span class="pl-c1">60</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s1">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">"div"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">className</span>: <span class="pl-s">"well"</span><span class="pl-kos">,</span> <span class="pl-c1">style</span>: <span class="pl-kos">{</span> <span class="pl-c1">padding</span>: <span class="pl-c1">50</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s1">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">"div"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">className</span>: <span class="pl-s">"panel-body"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s1">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">"div"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">className</span>: <span class="pl-s">"col-lg-6"</span><span class="pl-kos">,</span> <span class="pl-c1">style</span>: <span class="pl-kos">{</span> <span class="pl-c1">textAlign</span>: <span class="pl-s">"center"</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s1">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-s1">_Branding2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">customSignIn</span>: <span class="pl-s1">customSignIn</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">_react2</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">"div"</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span> <span class="pl-c1">className</span>: <span class="pl-s">"col-lg-6"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s1">children</span>
<span class="pl-kos">)</span>
<span class="pl-kos">)</span>
<span class="pl-kos">)</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-v">Layout</span><span class="pl-kos">.</span><span class="pl-c1">propTypes</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">children</span>: <span class="pl-s1">_react</span><span class="pl-kos">.</span><span class="pl-c1">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">node</span><span class="pl-kos">,</span>
<span class="pl-c1">customSignIn</span>: <span class="pl-s1">_react</span><span class="pl-kos">.</span><span class="pl-c1">PropTypes</span><span class="pl-kos">.</span><span class="pl-c1">string</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-s1">exports</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-v">Layout</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s1">exports</span><span class="pl-kos">[</span><span class="pl-s">"default"</span><span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Notice all the instances of <code class="notranslate">_react2["default"]</code>... these don't minify well because the "default" is not minified. What would be better would be if webpack added a <code class="notranslate">var _reactDefault = _react2["default"];</code> declaration at the top and used that instead.</p>
<p dir="auto">Notice it also "inlined" my PropTypes definition and the usage became <code class="notranslate">_react.PropTypes</code>. Again, this is less minifiable than if it had generated <code class="notranslate">var _reactPropTypes = _react.PropTypes</code>.</p>
<p dir="auto">This pattern isn't specific to React, but React code certainly suffers greatly from it.</p> | <h3 dir="auto">tl;dr</h3>
<p dir="auto"><code class="notranslate">['default']</code> can be omit</p>
<h3 dir="auto">Details</h3>
<p dir="auto">When using an imported identifier the generated code is too verbose.<br>
e.g.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import Foo from 'foo'
const a = Foo.bar()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">Foo</span> <span class="pl-k">from</span> <span class="pl-s">'foo'</span>
<span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-v">Foo</span><span class="pl-kos">.</span><span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">produces:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var _Foo = require('foo');
var _Foo2 = _interopRequireWildcard(_Foo);
var a = _Foo2['default'].bar();"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">_Foo</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_Foo2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireWildcard</span><span class="pl-kos">(</span><span class="pl-s1">_Foo</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">_Foo2</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">While the generated code is perfectly valid, when coupled with JSX it produces really long AST:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react'
const a = (
<div>
<h1>foo</h1>
<p>bar</p>
</div>
)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span>
<span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">h1</span><span class="pl-c1">></span>foo<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h1</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">p</span><span class="pl-c1">></span>bar<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">p</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-kos">)</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var _React = require('react');
var _React2 = _interopRequireWildcard(_React);
var a = _React2['default'].createElement(
'div',
null,
_React2['default'].createElement(
'h1',
null,
'foo'
),
_React2['default'].createElement(
'p',
null,
'bar'
)
);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">_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-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">_React2</span> <span class="pl-c1">=</span> <span class="pl-en">_interopRequireWildcard</span><span class="pl-kos">(</span><span class="pl-s1">_React</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">_React2</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">'div'</span><span class="pl-kos">,</span>
<span class="pl-c1">null</span><span class="pl-kos">,</span>
<span class="pl-s1">_React2</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">'h1'</span><span class="pl-kos">,</span>
<span class="pl-c1">null</span><span class="pl-kos">,</span>
<span class="pl-s">'foo'</span>
<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">_React2</span><span class="pl-kos">[</span><span class="pl-s">'default'</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span>
<span class="pl-s">'p'</span><span class="pl-kos">,</span>
<span class="pl-c1">null</span><span class="pl-kos">,</span>
<span class="pl-s">'bar'</span>
<span class="pl-kos">)</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> | 1 |
<p dir="auto">Subj,<br>
as example<br>
I create some module in another folder ( /projects/MY_MODULE )<br>
MY_MODULE not compiled, source code<br>
then run npm link<br>
after go to my project and run npm link MY_MODULE<br>
Compile my project and have error two copies React</p>
<p dir="auto">i`am try</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
test: /\.js$/,
exclude: [/node_modules/],
include: [/node_modules\/MY_MODULE/]
},"><pre class="notranslate"><code class="notranslate">{
test: /\.js$/,
exclude: [/node_modules/],
include: [/node_modules\/MY_MODULE/]
},
</code></pre></div> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sokra/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sokra">@sokra</a></p>
<p dir="auto">I find a bug that cause Webpack hangs after build finished in latest version 5.32.1 because of <a href="https://github.com/webpack/webpack/pull/14174/files#diff-428c41964bad5dfd5424e7be2839c92ff9395632a7f29399eb21b37977f1ee5eR81">this line</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="991045929" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/14174" data-hovercard-type="pull_request" data-hovercard-url="/webpack/webpack/pull/14174/hovercard" href="https://github.com/webpack/webpack/pull/14174">#14174</a></p>
<p dir="auto">Webpack 5.52.1 prod build with cache:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webpack 5.52.1 compiled with 8 warnings in 2010 ms
✨ Done in 61.31s."><pre class="notranslate"><code class="notranslate">webpack 5.52.1 compiled with 8 warnings in 2010 ms
✨ Done in 61.31s.
</code></pre></div>
<p dir="auto">Webpack 5.52.0 prod build with cache:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="webpack 5.52.0 compiled with 8 warnings in 1974 ms
✨ Done in 2.72s."><pre class="notranslate"><code class="notranslate">webpack 5.52.0 compiled with 8 warnings in 1974 ms
✨ Done in 2.72s.
</code></pre></div>
<p dir="auto">The root cause of this bug is <code class="notranslate">setTimeout(..., MAX_TIME_IN_FRESH_PACK)</code> keeps event loop not empty util 1mins passed.</p>
<blockquote>
<p dir="auto">For more details, in this question <a href="https://stackoverflow.com/questions/19699619/when-does-nodejs-process-quit" rel="nofollow">When does Nodejs process quit?</a> it said<br>
Node's mechanism is the event loop and a node process will generally exit when:</p>
<ol dir="auto">
<li>The event loop's queue is empty.</li>
<li>No background/asynchronous tasks remain that are capable of adding to the queue.</li>
</ol>
</blockquote>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">Since it is an obvious bug that I could find the root cause line of code. I didn't prepare a reproduce example. But I believe and Webpack 5.52.1 with cache enabled could reproduce this issue.</p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">Webpack process should exit immediately after finished build.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.52.1<br>
Node.js version: 14.15.3<br>
Operating System: Darwin Malash-MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin<br>
Additional tools:</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git pull #2127e0d56d85ff48aafce90ab762650e46370b63
./configure --enable-clang --disable-libcpp --prefix=/home/ken/proj/rust --enable-ccache
make clean
make RUSTFLAGS=-g VERBOSE=1"><pre class="notranslate"><code class="notranslate">git pull #2127e0d56d85ff48aafce90ab762650e46370b63
./configure --enable-clang --disable-libcpp --prefix=/home/ken/proj/rust --enable-ccache
make clean
make RUSTFLAGS=-g VERBOSE=1
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CFG_LLVM_LINKAGE_FILE=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L "x86_64-unknown-linux-gnu/rt" -L "/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib" -L "" --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68:1: 68:15 warning: unused attribute, #[warn(unused_attributes)] on by default
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68 #![staged_api]
^~~~~~~~~~~~~~
rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
/home/ken/proj/rust/src/rust/mk/target.mk:165: recipe for target 'x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck' failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck] Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">CFG_LLVM_LINKAGE_FILE=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L "x86_64-unknown-linux-gnu/rt" -L "/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib" -L "" --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68:1: 68:15 warning: unused attribute, #[warn(unused_attributes)] on by default
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68 #![staged_api]
^~~~~~~~~~~~~~
rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
/home/ken/proj/rust/src/rust/mk/target.mk:165: recipe for target 'x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck' failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck] Aborted (core dumped)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="~/p/r/s/rust git:master ❯❯❯ CFG_LLVM_LINKAGE_FILE=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH gdb --args x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L "x86_64-unknown-linux-gnu/rt" -L "/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib" -L "" --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
GNU gdb (GDB) 7.8.1
[...]
Reading symbols from x86_64-unknown-linux-gnu/stage0/bin/rustc...done.
(gdb) r
Starting program: /home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L x86_64-unknown-linux-gnu/rt -L /home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib -L '' --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff63ff700 (LWP 21477)]
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68:1: 68:15 warning: unused attribute, #[warn(unused_attributes)] on by default
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68 #![staged_api]
^~~~~~~~~~~~~~
rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff63ff700 (LWP 21477)]
0x00007ffff6f28a97 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff6f28a97 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff6f29e6a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff6f218bd in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007ffff6f21972 in __assert_fail () from /usr/lib/libc.so.6
#4 0x0000555556f3b24a in llvm::DIVariable::getPieceOffset() const ()
#5 0x000055555721a756 in llvm::DwarfUnit::addComplexAddress(llvm::DbgVariable const&, llvm::DIE&, llvm::dwarf::Attribute, llvm::MachineLocation const&) ()
#6 0x000055555721ac3e in llvm::DwarfUnit::addVariableAddress(llvm::DbgVariable const&, llvm::DIE&, llvm::MachineLocation) ()
#7 0x000055555721f3d1 in llvm::DwarfUnit::constructVariableDIEImpl(llvm::DbgVariable const&, bool) ()
#8 0x000055555721f54c in llvm::DwarfUnit::constructVariableDIE(llvm::DbgVariable&, bool) ()
#9 0x0000555556a374fa in llvm::DwarfDebug::createScopeChildrenDIE(llvm::DwarfCompileUnit&, llvm::LexicalScope*, llvm::SmallVectorImpl<std::unique_ptr<llvm::DIE, std::default_delete<llvm::DIE> > >&, unsigned int*) ()
#10 0x0000555556a379f7 in llvm::DwarfDebug::createAndAddScopeChildren(llvm::DwarfCompileUnit&, llvm::LexicalScope*, llvm::DIE&) ()
#11 0x0000555556a37d7c in llvm::DwarfDebug::constructSubprogramScopeDIE(llvm::DwarfCompileUnit&, llvm::LexicalScope*) ()
#12 0x0000555556a3bdfc in llvm::DwarfDebug::endFunction(llvm::MachineFunction const*) ()
#13 0x0000555556a169f9 in llvm::AsmPrinter::EmitFunctionBody() ()
#14 0x0000555556826783 in llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) ()
#15 0x0000555556ebee8f in llvm::FPPassManager::runOnFunction(llvm::Function&) ()
#16 0x0000555556ebeedb in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#17 0x0000555556ec061f in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
#18 0x000055555646174e in LLVMRustWriteOutputFile (Target=0x7fffd01b3e30, PMR=0x7fffcb0d72b0,
M=0x7ffff0004f90,
path=0x7fffdb9e9580 "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/rustc_typeck-4e7c5e5c.0.o", FileType=llvm::TargetMachine::CGFT_ObjectFile)
at /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/rustllvm/PassWrapper.cpp:211
#19 0x00005555558072f0 in back::write::write_output_file::h4a807fe5501cbdf3U6b ()
#20 0x0000555555809478 in back::write::optimize_and_codegen::unboxed_closure.36426 ()
#21 0x00005555558142cd in back::write::execute_work_item::had3c2de75e78498bVXc ()
#22 0x000055555580ab01 in back::write::run_passes::h27387495ebd9f18eVFc ()
#23 0x0000555555733834 in driver::phase_5_run_llvm_passes::h74facfaf246638e4IGa ()
#24 0x0000555555713d6e in driver::compile_input::h2f891483b4eb79a6vba ()
#25 0x00005555557db11e in thunk::F.Invoke$LT$A$C$$u{20}R$GT$::invoke::h5746357467572345012 ()
#26 0x00005555557d7f0f in rt::unwind::try::try_fn::h1650409585031243765 ()
#27 0x0000555557433879 in rust_try_inner ()
#28 0x0000555557433866 in rust_try ()
#29 0x00005555557d8626 in thunk::F.Invoke$LT$A$C$$u{20}R$GT$::invoke::h7797410085787637463 ()
#30 0x000055555742d712 in sys::thread::thread_start::h6c63e7163c0f0d94Xkw ()
#31 0x00007ffff7bc6314 in start_thread () from /usr/lib/libpthread.so.0
#32 0x00007ffff6fdd24d in clone () from /usr/lib/libc.so.6
(gdb) "><pre class="notranslate"><code class="notranslate">~/p/r/s/rust git:master ❯❯❯ CFG_LLVM_LINKAGE_FILE=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH gdb --args x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L "x86_64-unknown-linux-gnu/rt" -L "/home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib" -L "" --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
GNU gdb (GDB) 7.8.1
[...]
Reading symbols from x86_64-unknown-linux-gnu/stage0/bin/rustc...done.
(gdb) r
Starting program: /home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -g -O --cfg rtopt --cfg debug -C prefer-dynamic -Z no-landing-pads --target=x86_64-unknown-linux-gnu -W warnings -L x86_64-unknown-linux-gnu/rt -L /home/ken/proj/rust/src/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib -L '' --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-4e7c5e5c /home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff63ff700 (LWP 21477)]
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68:1: 68:15 warning: unused attribute, #[warn(unused_attributes)] on by default
/home/ken/proj/rust/src/rust/src/librustc_typeck/lib.rs:68 #![staged_api]
^~~~~~~~~~~~~~
rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff63ff700 (LWP 21477)]
0x00007ffff6f28a97 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff6f28a97 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff6f29e6a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff6f218bd in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007ffff6f21972 in __assert_fail () from /usr/lib/libc.so.6
#4 0x0000555556f3b24a in llvm::DIVariable::getPieceOffset() const ()
#5 0x000055555721a756 in llvm::DwarfUnit::addComplexAddress(llvm::DbgVariable const&, llvm::DIE&, llvm::dwarf::Attribute, llvm::MachineLocation const&) ()
#6 0x000055555721ac3e in llvm::DwarfUnit::addVariableAddress(llvm::DbgVariable const&, llvm::DIE&, llvm::MachineLocation) ()
#7 0x000055555721f3d1 in llvm::DwarfUnit::constructVariableDIEImpl(llvm::DbgVariable const&, bool) ()
#8 0x000055555721f54c in llvm::DwarfUnit::constructVariableDIE(llvm::DbgVariable&, bool) ()
#9 0x0000555556a374fa in llvm::DwarfDebug::createScopeChildrenDIE(llvm::DwarfCompileUnit&, llvm::LexicalScope*, llvm::SmallVectorImpl<std::unique_ptr<llvm::DIE, std::default_delete<llvm::DIE> > >&, unsigned int*) ()
#10 0x0000555556a379f7 in llvm::DwarfDebug::createAndAddScopeChildren(llvm::DwarfCompileUnit&, llvm::LexicalScope*, llvm::DIE&) ()
#11 0x0000555556a37d7c in llvm::DwarfDebug::constructSubprogramScopeDIE(llvm::DwarfCompileUnit&, llvm::LexicalScope*) ()
#12 0x0000555556a3bdfc in llvm::DwarfDebug::endFunction(llvm::MachineFunction const*) ()
#13 0x0000555556a169f9 in llvm::AsmPrinter::EmitFunctionBody() ()
#14 0x0000555556826783 in llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) ()
#15 0x0000555556ebee8f in llvm::FPPassManager::runOnFunction(llvm::Function&) ()
#16 0x0000555556ebeedb in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#17 0x0000555556ec061f in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
#18 0x000055555646174e in LLVMRustWriteOutputFile (Target=0x7fffd01b3e30, PMR=0x7fffcb0d72b0,
M=0x7ffff0004f90,
path=0x7fffdb9e9580 "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/rustc_typeck-4e7c5e5c.0.o", FileType=llvm::TargetMachine::CGFT_ObjectFile)
at /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/rustllvm/PassWrapper.cpp:211
#19 0x00005555558072f0 in back::write::write_output_file::h4a807fe5501cbdf3U6b ()
#20 0x0000555555809478 in back::write::optimize_and_codegen::unboxed_closure.36426 ()
#21 0x00005555558142cd in back::write::execute_work_item::had3c2de75e78498bVXc ()
#22 0x000055555580ab01 in back::write::run_passes::h27387495ebd9f18eVFc ()
#23 0x0000555555733834 in driver::phase_5_run_llvm_passes::h74facfaf246638e4IGa ()
#24 0x0000555555713d6e in driver::compile_input::h2f891483b4eb79a6vba ()
#25 0x00005555557db11e in thunk::F.Invoke$LT$A$C$$u{20}R$GT$::invoke::h5746357467572345012 ()
#26 0x00005555557d7f0f in rt::unwind::try::try_fn::h1650409585031243765 ()
#27 0x0000555557433879 in rust_try_inner ()
#28 0x0000555557433866 in rust_try ()
#29 0x00005555557d8626 in thunk::F.Invoke$LT$A$C$$u{20}R$GT$::invoke::h7797410085787637463 ()
#30 0x000055555742d712 in sys::thread::thread_start::h6c63e7163c0f0d94Xkw ()
#31 0x00007ffff7bc6314 in start_thread () from /usr/lib/libpthread.so.0
#32 0x00007ffff6fdd24d in clone () from /usr/lib/libc.so.6
(gdb)
</code></pre></div> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
Aborted (core dumped)
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck] Error 134"><pre class="notranslate"><code class="notranslate">rustc: /home/rustbuild/src/rust-buildbot/slave/snap3-linux/build/src/llvm/lib/IR/DebugInfo.cpp:159: uint64_t llvm::DIVariable::getPieceOffset() const: Assertion `isVariablePiece()' failed.
Aborted (core dumped)
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck] Error 134
</code></pre></div>
<p dir="auto">(I was running <code class="notranslate">RUSTFLAGS="-g" CFG_RUSTC_FLAGS="-g" make -j4</code>, since I forgot which flag works)</p>
<p dir="auto">I get the same error even after a make clean.</p> | 1 |
<p dir="auto">Just installed on MacOS from source (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="293652192" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/8353" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/8353/hovercard" href="https://github.com/scipy/scipy/issues/8353">#8353</a>). Did not install nose.<br>
<code class="notranslate">python3 runtests.py -v</code><br>
fails, reporting<br>
<code class="notranslate">!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! </code><br>
without running any tests because<br>
<code class="notranslate">scipy/_lib/tests/test__gcutils.py</code> and<br>
<code class="notranslate">scipy/io/matlab/tests/test_mio5_utils.py</code><br>
try to import from <code class="notranslate">nose.tools</code>.<br>
Installing <code class="notranslate">nose</code> fixes the problem.</p>
<p dir="auto">Version of SciPy installed via pip doesn't have this problem. It collects over 14096 items without any errors.</p>
<h3 dir="auto">Reproducing code example:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python3 runtests.py -v"><pre class="notranslate"><code class="notranslate">python3 runtests.py -v
</code></pre></div>
<p dir="auto">or in Python console:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import scipy
scipy.test()"><pre class="notranslate"><code class="notranslate">import scipy
scipy.test()
</code></pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Matts-MacBook-Pro:scipy matthaberland$ python3 runtests.py -v
Building, see build.log...
Build OK (0:00:05.530066 elapsed)
============================= test session starts ==============================
platform darwin -- Python 3.6.4, pytest-3.4.0, py-1.5.2, pluggy-0.6.0 -- /usr/local/opt/python3/bin/python3.6
cachedir: ../../../../../.pytest_cache
rootdir: /Users/matthaberland/Desktop/ScipyDev/scipy, inifile: pytest.ini
collected 13960 items / 2 errors
==================================== ERRORS ====================================
ERROR collecting build/testenv/lib/python3.6/site-packages/scipy/_lib/tests/test__gcutils.py
ImportError while importing test module '/Users/matthaberland/Desktop/ScipyDev/scipy/build/testenv/lib/python3.6/site-packages/scipy/_lib/tests/test__gcutils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/_lib/tests/test__gcutils.py:9: in <module>
from nose.tools import assert_equal, raises
E ModuleNotFoundError: No module named 'nose'
ERROR collecting build/testenv/lib/python3.6/site-packages/scipy/io/matlab/tests/test_mio5_utils.py
ImportError while importing test module '/Users/matthaberland/Desktop/ScipyDev/scipy/build/testenv/lib/python3.6/site-packages/scipy/io/matlab/tests/test_mio5_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/io/matlab/tests/test_mio5_utils.py:13: in <module>
from nose.tools import (assert_true, assert_equal, assert_raises)
E ModuleNotFoundError: No module named 'nose'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================= 570 tests deselected =============================
=================== 570 deselected, 2 error in 8.97 seconds ===================="><pre class="notranslate"><code class="notranslate">Matts-MacBook-Pro:scipy matthaberland$ python3 runtests.py -v
Building, see build.log...
Build OK (0:00:05.530066 elapsed)
============================= test session starts ==============================
platform darwin -- Python 3.6.4, pytest-3.4.0, py-1.5.2, pluggy-0.6.0 -- /usr/local/opt/python3/bin/python3.6
cachedir: ../../../../../.pytest_cache
rootdir: /Users/matthaberland/Desktop/ScipyDev/scipy, inifile: pytest.ini
collected 13960 items / 2 errors
==================================== ERRORS ====================================
ERROR collecting build/testenv/lib/python3.6/site-packages/scipy/_lib/tests/test__gcutils.py
ImportError while importing test module '/Users/matthaberland/Desktop/ScipyDev/scipy/build/testenv/lib/python3.6/site-packages/scipy/_lib/tests/test__gcutils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/_lib/tests/test__gcutils.py:9: in <module>
from nose.tools import assert_equal, raises
E ModuleNotFoundError: No module named 'nose'
ERROR collecting build/testenv/lib/python3.6/site-packages/scipy/io/matlab/tests/test_mio5_utils.py
ImportError while importing test module '/Users/matthaberland/Desktop/ScipyDev/scipy/build/testenv/lib/python3.6/site-packages/scipy/io/matlab/tests/test_mio5_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
scipy/io/matlab/tests/test_mio5_utils.py:13: in <module>
from nose.tools import (assert_true, assert_equal, assert_raises)
E ModuleNotFoundError: No module named 'nose'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================= 570 tests deselected =============================
=================== 570 deselected, 2 error in 8.97 seconds ====================
</code></pre></div>
<h3 dir="auto">Scipy/Numpy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.0.0.dev0+f2c31e3 1.14.0 sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)"><pre class="notranslate"><code class="notranslate">1.0.0.dev0+f2c31e3 1.14.0 sys.version_info(major=3, minor=6, micro=4, releaselevel='final', serial=0)
</code></pre></div> | <p dir="auto">The current default ncv parameter for sparse.linalg.eigs() often leads to wrong answers.</p>
<p dir="auto">In the _ArpackParams class constructor, the ncv parameter is set to the bare minimum of 2*k + 1 (where k is the number of requested eigenvalues).<br>
<code class="notranslate">if ncv is None: ncv = 2 * k + 1</code><br>
This is often insufficient to obtain convergence of the requested eigenvalues, with different eigenvalues being returned instead.</p>
<p dir="auto">To avoid this issue, MATLAB and Julia both use a minimum of ncv=20 by default (see <a href="http://de.mathworks.com/help/matlab/ref/eigs.html" rel="nofollow">MATLAB's "p" option</a>). I think scipy would benefit from doing the same:<br>
<code class="notranslate">if ncv is None: ncv = min(20, 2 * k + 1)</code><br>
I think the small memory usage increase (ncv * size of a Krylov vector) is well worth it for correctness of the answers in cases like mine (see attachment). Also, as an added bonus, the speed of convergence can be greatly enhanced.</p>
<p dir="auto">I've attached a demonstration in the form of an ipython notebook, including test data:<br>
<a href="https://github.com/scipy/scipy/files/118285/ARPACK_test.zip">ARPACK_test.zip</a></p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Feature Idea</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">module: win_firewall_rule</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">ansible 2.3.0.0<br>
config file = /Users/derek/.ansible.cfg<br>
configured module search path = Default w/o overrides<br>
python version = 2.7.10 (default, Jul 30 2016, 19:40:32) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)]</p>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">[defaults]<br>
roles_path=~/development/OCC/ansible-roles/</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">Not platform specific, but am running on MacOS Sierra using virtualenv - python 2.7.10</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Using the included playbook, I think each ip_address would be appended to the RemoteIP value of the firewall rule in Windows. Currently, it just replaces the existing value or it errors out with "The rule exists but has different values", "There was already a rule SFTP 22 TCP - test with different values, use force=True to overwrite it"</p>
<p dir="auto">It would be nice to take the existing RemoteIP of the Rule and append ",{{item}}" to the String.</p>
<p dir="auto">"site.yml"</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
- hosts: all
tasks:
- name: Open firewall
win_firewall_rule:
action: allow
name: SFTP 22 TCP - test
description: SFTP Port 22 TCP-In
protocol: tcp
localport: 22
direction: in
remoteip: {{ item }}
state: present
force: yes
with_items:
- "{{ ip_addresses }}""><pre class="notranslate"><code class="notranslate">---
- hosts: all
tasks:
- name: Open firewall
win_firewall_rule:
action: allow
name: SFTP 22 TCP - test
description: SFTP Port 22 TCP-In
protocol: tcp
localport: 22
direction: in
remoteip: {{ item }}
state: present
force: yes
with_items:
- "{{ ip_addresses }}"
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="---
ip_addresses:
- 127.0.0.1
- 192.168.1.1
- 192.168.100.1"><pre class="notranslate"><code class="notranslate">---
ip_addresses:
- 127.0.0.1
- 192.168.1.1
- 192.168.100.1
</code></pre></div>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Just run the above playbook</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">In Windows server:</p>
<p dir="auto">PS C:\Users\Administrator\Desktop> @(netsh advfirewall firewall show rule name="SFTP 22 TCP - test" verbose)</p>
<p dir="auto">After first IP Address:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Rule Name: SFTP 22 TCP - test
----------------------------------------------------------------------
Description: SFTP Port 22 TCP-In for CrushFTP
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping:
LocalIP: Any
RemoteIP: 127.0.0.1/32
Protocol: TCP
LocalPort: 22
RemotePort: Any
Edge traversal: No
Service: Any
InterfaceTypes: Any
Security: NotRequired
Rule source: Local Setting
Action: Allow
Ok."><pre class="notranslate"><code class="notranslate">Rule Name: SFTP 22 TCP - test
----------------------------------------------------------------------
Description: SFTP Port 22 TCP-In for CrushFTP
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping:
LocalIP: Any
RemoteIP: 127.0.0.1/32
Protocol: TCP
LocalPort: 22
RemotePort: Any
Edge traversal: No
Service: Any
InterfaceTypes: Any
Security: NotRequired
Rule source: Local Setting
Action: Allow
Ok.
</code></pre></div>
<p dir="auto">After second IP address:<br>
PS C:\Users\Administrator\Desktop> @(netsh advfirewall firewall show rule name="SFTP 22 TCP - test" verbose)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Rule Name: SFTP 22 TCP - test
----------------------------------------------------------------------
Description: SFTP Port 22 TCP-In for CrushFTP
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping:
LocalIP: Any
RemoteIP: 127.0.0.1/32,192.168.1.1/32
Protocol: TCP
LocalPort: 22
RemotePort: Any
Edge traversal: No
Service: Any
InterfaceTypes: Any
Security: NotRequired
Rule source: Local Setting
Action: Allow
Ok."><pre class="notranslate"><code class="notranslate">Rule Name: SFTP 22 TCP - test
----------------------------------------------------------------------
Description: SFTP Port 22 TCP-In for CrushFTP
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping:
LocalIP: Any
RemoteIP: 127.0.0.1/32,192.168.1.1/32
Protocol: TCP
LocalPort: 22
RemotePort: Any
Edge traversal: No
Service: Any
InterfaceTypes: Any
Security: NotRequired
Rule source: Local Setting
Action: Allow
Ok.
</code></pre></div>
<p dir="auto">And so on...</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="failed: [server01] (item=192.168.1.1) => {"changed": false, "difference": ["SFTP Port 22 TCP-In", "192.168.1.1"], "failed": true, "fwsettings": {"Action": "allow", "Description": "SFTP Port 22 TCP-In", "Direction": "in", "Enabled": "yes", "LocalIP": "any", "LocalPort": 22, "Profiles": "any", "Protocol": "tcp", "RemoteIP": "192.168.1.1", "RemotePort": "any", "Rule Name": "SFTP 22 TCP - test", "Service": "any"}, "item": "192.168.1.1", "msg": ["The rule 'SFTP 22 TCP - test' exists.", "The rule exists but has different values", "There was already a rule SFTP 22 TCP - test with different values, use force=True to overwrite it"]}"><pre class="notranslate"><code class="notranslate">failed: [server01] (item=192.168.1.1) => {"changed": false, "difference": ["SFTP Port 22 TCP-In", "192.168.1.1"], "failed": true, "fwsettings": {"Action": "allow", "Description": "SFTP Port 22 TCP-In", "Direction": "in", "Enabled": "yes", "LocalIP": "any", "LocalPort": 22, "Profiles": "any", "Protocol": "tcp", "RemoteIP": "192.168.1.1", "RemotePort": "any", "Rule Name": "SFTP 22 TCP - test", "Service": "any"}, "item": "192.168.1.1", "msg": ["The rule 'SFTP 22 TCP - test' exists.", "The rule exists but has different values", "There was already a rule SFTP 22 TCP - test with different values, use force=True to overwrite it"]}
</code></pre></div>
<p dir="auto">Setting force=True just overwrites the value with the new IP Address.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ansible-vault, single vaulted variable</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.3.0.0
config file =
configured module search path = Default w/o overrides
python version = 2.6.9 (unknown, Sep 1 2016, 23:34:39) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]"><pre class="notranslate"><code class="notranslate">ansible 2.3.0.0
config file =
configured module search path = Default w/o overrides
python version = 2.6.9 (unknown, Sep 1 2016, 23:34:39) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<ul dir="auto">
<li>ANSIBLE_VAULT_PASSWORD_FILE=</li>
<li>ansible.cfg</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults]
inventory = ./ec2.py
library = ~/git/ansible-run/lib/
forks = 50
sudo_user = root
transport = smart
gathering = smart
roles_path = ~/git/ansible-run/roles:~/git/ansible-run/roles_galaxy:./roles:./roles_galaxy
host_key_checking = False
hash_behaviour = replace
ansible_managed = Ansible managed: {file} on {host}
system_warnings = False
deprecation_warnings = False
command_warnings = True
nocows = 1
retry_files_enabled = False
[ssh_connection]
ssh_args = -o ForwardAgent=yes
pipelining = False"><pre class="notranslate"><code class="notranslate">[defaults]
inventory = ./ec2.py
library = ~/git/ansible-run/lib/
forks = 50
sudo_user = root
transport = smart
gathering = smart
roles_path = ~/git/ansible-run/roles:~/git/ansible-run/roles_galaxy:./roles:./roles_galaxy
host_key_checking = False
hash_behaviour = replace
ansible_managed = Ansible managed: {file} on {host}
system_warnings = False
deprecation_warnings = False
command_warnings = True
nocows = 1
retry_files_enabled = False
[ssh_connection]
ssh_args = -o ForwardAgent=yes
pipelining = False
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">control box</p>
<ul dir="auto">
<li>Amazon Linux AMI release 2014.03</li>
</ul>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Being able to encrypt passwords and the like on the command line by echoing to ansible-vault's stdin and receiving the encrypted data to stdout. Doesn't work, although this feature is documented here: <a href="http://docs.ansible.com/ansible/playbooks_vault.html#single-encrypted-variable" rel="nofollow">http://docs.ansible.com/ansible/playbooks_vault.html#single-encrypted-variable</a></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="echo flibbityFloo | ansible-vault encrypt"><pre class="notranslate"><span class="pl-s">echo flibbityFloo | ansible-vault encrypt</span></pre></div>
<h5 dir="auto">EXPECTED RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ANSIBLE_VAULT;1.1;AES256
soOnsoON...."><pre class="notranslate"><code class="notranslate">$ANSIBLE_VAULT;1.1;AES256
soOnsoON....
</code></pre></div>
<p dir="auto">to stdout.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR! [Errno 2] No such file or directory: '/home/gchavez/git/ansible-run/-'"><pre class="notranslate"><code class="notranslate">ERROR! [Errno 2] No such file or directory: '/home/gchavez/git/ansible-run/-'
</code></pre></div>
<p dir="auto">Ah, dash. Frequently used to direct a command to use standard input. Here however, the dash means a file named "-" or the dash character.</p> | 0 |
<h4 dir="auto">Problem description</h4>
<p dir="auto">When using Pandas read_excel function with an Excel file that has a column heading that is blank, Pandas will regard the column with the blank heading as the index.</p>
<p dir="auto">Consider this example file: <a href="test_file.xlsx">https://tinyurl.com/y8br2js4</a><br>
Within this file, column B does not have a column heading, it is just a blank cell. The rest of the columns have names.</p>
<p dir="auto">When running this code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import pandas as pd
xlsx_file = './Input/Test_File.xlsx'
test_df = pd.read_excel(xlsx_file,
index_col=None,
usecols='B, C, E, F')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">xlsx_file</span> <span class="pl-c1">=</span> <span class="pl-s">'./Input/Test_File.xlsx'</span>
<span class="pl-s1">test_df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_excel</span>(<span class="pl-s1">xlsx_file</span>,
<span class="pl-s1">index_col</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,
<span class="pl-s1">usecols</span><span class="pl-c1">=</span><span class="pl-s">'B, C, E, F'</span>)</pre></div>
<p dir="auto">The resulting dataframe will use column B as the index, even though index_col=None is specified. If I add column A to usecols, the dataframe processes the file as expected.</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: 3.6.5.final.0<br>
python-bits: 64<br>
OS: Windows<br>
OS-release: 10<br>
machine: AMD64<br>
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.22.0<br>
pytest: 3.5.1<br>
pip: 10.0.1<br>
setuptools: 39.1.0<br>
Cython: 0.28.2<br>
numpy: 1.14.3<br>
scipy: 1.1.0<br>
pyarrow: 0.8.0<br>
xarray: None<br>
IPython: 6.4.0<br>
sphinx: 1.7.4<br>
patsy: 0.5.0<br>
dateutil: 2.7.2<br>
pytz: 2018.4<br>
blosc: None<br>
bottleneck: 1.2.1<br>
tables: 3.4.3<br>
numexpr: 2.6.5<br>
feather: 0.4.0<br>
matplotlib: 2.2.2<br>
openpyxl: 2.5.3<br>
xlrd: 1.1.0<br>
xlwt: 1.3.0<br>
xlsxwriter: 1.0.4<br>
lxml: 4.2.1<br>
bs4: 4.6.0<br>
html5lib: 1.0.1<br>
sqlalchemy: 1.2.7<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.10<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <h3 dir="auto">Code Sample, a copy-pastable example if possible</h3>
<p dir="auto"><strong>Example 1 (weird column/value assignment)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
# Writing excel file with no column name in first column
tab = pd.DataFrame([['a', 'x'], ['b', 'y']], columns=['col1', 'col2'])
print('Original:\n', tab)
tab.to_excel('tmp_can_del.xlsx')
# The table read using read_excel assigns values of col1 to col2
new_tab = pd.read_excel('tmp_can_del.xlsx', index_col=2)
print('Read:\n', new_tab)"><pre class="notranslate"><code class="notranslate">import pandas as pd
# Writing excel file with no column name in first column
tab = pd.DataFrame([['a', 'x'], ['b', 'y']], columns=['col1', 'col2'])
print('Original:\n', tab)
tab.to_excel('tmp_can_del.xlsx')
# The table read using read_excel assigns values of col1 to col2
new_tab = pd.read_excel('tmp_can_del.xlsx', index_col=2)
print('Read:\n', new_tab)
</code></pre></div>
<p dir="auto"><strong>Example 2 (index_col=None seems not to work)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
# Writing excel file with no column name in first column
tab = pd.DataFrame([['a', 'x'], ['b', 'y']], columns=['col1', 'col2'], index=['i1', 'i2'])
print('Original:\n', tab)
tab.to_excel('tmp_can_del.xlsx')
# The table read using read_excel should have three columns (`Unnamed: 0`, `col1`, `col2`) but just has two
new_tab = pd.read_excel('tmp_can_del.xlsx', index_col=None)
print('Read:\n', new_tab)
print(new_tab.columns)"><pre class="notranslate"><code class="notranslate">import pandas as pd
# Writing excel file with no column name in first column
tab = pd.DataFrame([['a', 'x'], ['b', 'y']], columns=['col1', 'col2'], index=['i1', 'i2'])
print('Original:\n', tab)
tab.to_excel('tmp_can_del.xlsx')
# The table read using read_excel should have three columns (`Unnamed: 0`, `col1`, `col2`) but just has two
new_tab = pd.read_excel('tmp_can_del.xlsx', index_col=None)
print('Read:\n', new_tab)
print(new_tab.columns)
</code></pre></div>
<h3 dir="auto">Problem description</h3>
<p dir="auto">The <code class="notranslate">index_col</code> option in <code class="notranslate">pd.read_excel</code> seems not to behave properly when the first column name is missing (for example, when a file is written using <code class="notranslate">to_excel(..., index=True)</code>).</p>
<p dir="auto"><strong>Example 1</strong><br>
We end up with a DataFrame where the data for <code class="notranslate">col2</code> was originally the data below <code class="notranslate">col1</code>. This does not seem intuitive.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Original:
col1 col2
0 a x
1 b y
Read:
col1 col2
x 0 a
y 1 b"><pre class="notranslate"><code class="notranslate">Original:
col1 col2
0 a x
1 b y
Read:
col1 col2
x 0 a
y 1 b
</code></pre></div>
<p dir="auto"><strong>Example 2</strong><br>
It seems like the <code class="notranslate">index_col=None</code> option does not work. The first column of the file is treated as the DataFrame index.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Original:
col1 col2
i1 a x
i2 b y
Read:
col1 col2
i1 a x
i2 b y
Index(['col1', 'col2'], dtype='object')"><pre class="notranslate"><code class="notranslate">Original:
col1 col2
i1 a x
i2 b y
Read:
col1 col2
i1 a x
i2 b y
Index(['col1', 'col2'], dtype='object')
</code></pre></div>
<h3 dir="auto">Expected Output</h3>
<p dir="auto"><strong>Example 1</strong><br>
If column names are not specified, I would expect the data assigned to <code class="notranslate">col1</code> to be that below <code class="notranslate">col1</code> in the original excel file (same for <code class="notranslate">col2</code>). Something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Read:
col1 col2
x a x
y b y"><pre class="notranslate"><code class="notranslate">Read:
col1 col2
x a x
y b y
</code></pre></div>
<p dir="auto"><strong>Example 2</strong><br>
I would expect the newly read tab to look somewhat like this (as is the case when doing the same operations using <code class="notranslate">write_csv</code> and <code class="notranslate">read_csv</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Unnamed: 0 col1 col2
0 i1 a x
1 i2 b y"><pre class="notranslate"><code class="notranslate"> Unnamed: 0 col1 col2
0 i1 a x
1 i2 b y
</code></pre></div>
<h3 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h3>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.5.2.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 4.8.0-58-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: fr_FR.UTF-8<br>
LOCALE: fr_FR.UTF-8</p>
<p dir="auto">pandas: 0.21.1<br>
pytest: 3.1.2<br>
pip: 9.0.1<br>
setuptools: 37.0.0<br>
Cython: 0.25.2<br>
numpy: 1.13.3<br>
scipy: 0.19.1<br>
pyarrow: None<br>
xarray: None<br>
IPython: 6.1.0<br>
sphinx: 1.6.3<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.3<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: 2.6.2<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: None<br>
xlrd: 1.0.0<br>
xlwt: 1.3.0<br>
xlsxwriter: 0.7.3<br>
lxml: None<br>
bs4: None<br>
html5lib: 0.999999999<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> | 1 |
<p dir="auto">Hi,</p>
<p dir="auto">I would like to use the kubelet API from <code class="notranslate">pkg/kubelet/server.go</code>. However, I could not find any documentation around it. Could someone pls. point me to the right place? Thanks :)</p> | <p dir="auto">I've noticed at least 10 separate test flake issues open in which at least one failure looks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:128
Jul 20 11:12:15.579: Couldn't delete ns "e2e-tests-kubectl-2k86f": namespace e2e-tests-kubectl-2k86f was not deleted within limit: timed out waiting for the condition, pods remaining: []"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:128
Jul 20 11:12:15.579: Couldn't delete ns "e2e-tests-kubectl-2k86f": namespace e2e-tests-kubectl-2k86f was not deleted within limit: timed out waiting for the condition, pods remaining: []
</code></pre></div>
<p dir="auto">Current list: <a href="https://github.com/kubernetes/kubernetes/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Akind%2Fflake%20is%3Aopen%20%22was%20not%20deleted%20within%20limit%22">https://github.com/kubernetes/kubernetes/issues?utf8=✓&q=is%3Aissue%20label%3Akind%2Fflake%20is%3Aopen%20%22was%20not%20deleted%20within%20limit%22</a></p>
<p dir="auto">The 10 current issues (note that some are 'broken test run' issues and might have multiple failure causes):<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165028909" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28827" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28827/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28827">#28827</a><br>
<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><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164438001" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28656" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28656/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28656">#28656</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163964655" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28514" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28514/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28514">#28514</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163585023" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28440" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28440/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28440">#28440</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163503651" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28413" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28413/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28413">#28413</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163478515" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28383" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28383/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28383">#28383</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160589538" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27524" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27524/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27524">#27524</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160550847" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/27503" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/27503/hovercard" href="https://github.com/kubernetes/kubernetes/issues/27503">#27503</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a></p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/derekwaynecarr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/derekwaynecarr">@derekwaynecarr</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/wojtek-t/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/wojtek-t">@wojtek-t</a></p> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Details copied from <a href="https://stackoverflow.com/q/62363069/5472354" rel="nofollow">here</a>, as I believe this is a bug:</p>
<p dir="auto">I understand that <code class="notranslate">constrained_layout</code> is still experimental in <code class="notranslate">matplotlib</code>, nevertheless, I found this odd behaviour, which I guess is a bug and I wonder how to circumvent it.</p>
<p dir="auto">If you run <code class="notranslate">re_add_colorbar_axes_as_subplot</code> with <code class="notranslate">constrained_layout=False</code>, there are no complaints, but if you set <code class="notranslate">constrained_layout=True</code>, it raises <code class="notranslate">TypeError: int() argument must be a string, a bytes-like object or a number, not 'Axes'</code>, which is traced back to the following line in <a href="https://matplotlib.org/3.2.1/_modules/matplotlib/axes/_subplots.html#SubplotBase" rel="nofollow"><code class="notranslate">matplotlib.axes.SubplotBase</code></a>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="s = str(int(args[0]))"><pre class="notranslate"><span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-en">str</span>(<span class="pl-en">int</span>(<span class="pl-s1">args</span>[<span class="pl-c1">0</span>]))</pre></div>
<p dir="auto">Per the documentation, you can see that <code class="notranslate">SubplotBase</code> expected something completely different:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" *args : tuple (*nrows*, *ncols*, *index*) or int
The array of subplots in the figure has dimensions ``(nrows,
ncols)``, and *index* is the index of the subplot being created.
*index* starts at 1 in the upper left corner and increases to the
right."><pre class="notranslate"> <span class="pl-c1">*</span><span class="pl-s1">args</span> : <span class="pl-en">tuple</span> (<span class="pl-c1">*</span><span class="pl-s1">nrows</span><span class="pl-c1">*</span>, <span class="pl-c1">*</span><span class="pl-s1">ncols</span><span class="pl-c1">*</span>, <span class="pl-c1">*</span><span class="pl-s1">index</span><span class="pl-c1">*</span>) <span class="pl-c1">or</span> <span class="pl-s1">int</span>
<span class="pl-v">The</span> <span class="pl-s1">array</span> <span class="pl-s1">of</span> <span class="pl-s1">subplots</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">figure</span> <span class="pl-s1">has</span> <span class="pl-s1">dimensions</span> <span class="pl-s">``</span>(<span class="pl-s1">nrows</span>,
<span class="pl-s1">ncols</span>)<span class="pl-s">``</span>, <span class="pl-s1">and</span> <span class="pl-c1">*</span><span class="pl-s1">index</span><span class="pl-c1">*</span> <span class="pl-s1">is</span> <span class="pl-s1">the</span> <span class="pl-s1">index</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">subplot</span> <span class="pl-s1">being</span> <span class="pl-s1">created</span>.
<span class="pl-c1">*</span><span class="pl-s1">index</span><span class="pl-c1">*</span> <span class="pl-s1">starts</span> <span class="pl-s1">at</span> <span class="pl-c1">1</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">upper</span> <span class="pl-s1">left</span> <span class="pl-s1">corner</span> <span class="pl-c1">and</span> <span class="pl-s1">increases</span> <span class="pl-s1">to</span> <span class="pl-s1">the</span>
<span class="pl-s1">right</span>.</pre></div>
<p dir="auto">So I wonder what went wrong here by using constrained layout and the axes auto-generated by the <code class="notranslate">colorbar</code>-method, because if you re-add a subplot the same way, there is no issue.</p>
<p dir="auto">The reason why I'm going through this trouble is because I would like the colorbar axes to be added to the figure as a separate <code class="notranslate">AxesSubplot</code> instance, and not just as a 'regular' <code class="notranslate">Axes</code> instance. I know you can pass the optional <code class="notranslate">cax</code> argument to the <code class="notranslate">colorbar</code>-method which allows you to determine which axes the colorbar is plotted in, as demonstrated in <code class="notranslate">add_another_subplot_fist</code>, but I don't know how I can get this to look properly.</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
import numpy as np
def re_add_colorbar_axes_as_subplot(image, constrained_layout=False):
fig, ax = plt.subplots(constrained_layout=constrained_layout)
image_artist = ax.imshow(image)
colorbar = fig.colorbar(image_artist)
colorbar.ax.remove()
colorbar.ax.figure = fig # not sure why this is actually necessary either
fig.add_subplot(colorbar.ax)
fig.show()
def use_gridspec_keyword(image, constrained_layout=False):
fig, ax = plt.subplots(constrained_layout=constrained_layout)
image_artist = ax.imshow(image)
colorbar = fig.colorbar(image_artist, ax=ax, use_gridspec=True)
print(colorbar.ax) # AxesSubplot instance if constained_layout=False,
# Axes instance if constrained_layout=True
fig.show()
def add_another_subplot_fist(image, constrained_layout=False):
fig = plt.figure(constrained_layout=constrained_layout)
ax = fig.add_subplot(121)
image_artist = ax.imshow(image)
ax2 = fig.add_subplot(122)
fig.colorbar(image_artist, cax=ax2)
# conversely, there is no problem when using constrained layout
# and re-adding this subplot
# ax2.remove()
# ax2.figure = fig
# fig.add_subplot(ax2)
fig.show()
if __name__ == '__main__':
image = np.random.uniform(0, 1, (100, 100))
# re_add_colorbar_axes_as_subplot(image, True)
# add_another_subplot_fist(image, True)
use_gridspec_keyword(image, True)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">def</span> <span class="pl-en">re_add_colorbar_axes_as_subplot</span>(<span class="pl-s1">image</span>, <span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">False</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">constrained_layout</span><span class="pl-c1">=</span><span class="pl-s1">constrained_layout</span>)
<span class="pl-s1">image_artist</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">image</span>)
<span class="pl-s1">colorbar</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">image_artist</span>)
<span class="pl-s1">colorbar</span>.<span class="pl-s1">ax</span>.<span class="pl-en">remove</span>()
<span class="pl-s1">colorbar</span>.<span class="pl-s1">ax</span>.<span class="pl-s1">figure</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span> <span class="pl-c"># not sure why this is actually necessary either</span>
<span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">colorbar</span>.<span class="pl-s1">ax</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()
<span class="pl-k">def</span> <span class="pl-en">use_gridspec_keyword</span>(<span class="pl-s1">image</span>, <span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">False</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">constrained_layout</span><span class="pl-c1">=</span><span class="pl-s1">constrained_layout</span>)
<span class="pl-s1">image_artist</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">image</span>)
<span class="pl-s1">colorbar</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">image_artist</span>, <span class="pl-s1">ax</span><span class="pl-c1">=</span><span class="pl-s1">ax</span>, <span class="pl-s1">use_gridspec</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-en">print</span>(<span class="pl-s1">colorbar</span>.<span class="pl-s1">ax</span>) <span class="pl-c"># AxesSubplot instance if constained_layout=False,</span>
<span class="pl-c"># Axes instance if constrained_layout=True</span>
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()
<span class="pl-k">def</span> <span class="pl-en">add_another_subplot_fist</span>(<span class="pl-s1">image</span>, <span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">False</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">constrained_layout</span><span class="pl-c1">=</span><span class="pl-s1">constrained_layout</span>)
<span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">121</span>)
<span class="pl-s1">image_artist</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">imshow</span>(<span class="pl-s1">image</span>)
<span class="pl-s1">ax2</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-c1">122</span>)
<span class="pl-s1">fig</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">image_artist</span>, <span class="pl-s1">cax</span><span class="pl-c1">=</span><span class="pl-s1">ax2</span>)
<span class="pl-c"># conversely, there is no problem when using constrained layout</span>
<span class="pl-c"># and re-adding this subplot</span>
<span class="pl-c"># ax2.remove()</span>
<span class="pl-c"># ax2.figure = fig</span>
<span class="pl-c"># fig.add_subplot(ax2)</span>
<span class="pl-s1">fig</span>.<span class="pl-en">show</span>()
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-s1">image</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-c1">0</span>, <span class="pl-c1">1</span>, (<span class="pl-c1">100</span>, <span class="pl-c1">100</span>))
<span class="pl-c"># re_add_colorbar_axes_as_subplot(image, True)</span>
<span class="pl-c"># add_another_subplot_fist(image, True)</span>
<span class="pl-en">use_gridspec_keyword</span>(<span class="pl-s1">image</span>, <span class="pl-c1">True</span>)</pre></div>
<p dir="auto"><strong>EDIT</strong></p>
<p dir="auto">Ok, I just realized that you can pass the <code class="notranslate">use_gridspec</code> keyword to the <code class="notranslate">colorbar</code>-method. From the <a href="https://matplotlib.org/3.2.1/api/_as_gen/matplotlib.pyplot.colorbar.html" rel="nofollow">docs</a>:</p>
<blockquote>
<p dir="auto">If cax is None, a new cax is created as an instance of Axes. If ax is an instance of Subplot and use_gridspec is True, cax is created as an instance of Subplot using the gridspec module.</p>
</blockquote>
<p dir="auto">But for some reason, this keyword seems to be ignored when using constrained layout.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Windows 10 Home 64bit</li>
<li>Matplotlib version: 3.1.3 (via Anaconda)</li>
<li>Matplotlib backend: backend_interagg</li>
<li>Python version: 3.7.7</li>
</ul> | <p dir="auto">Ahoy!<br>
I have recently updated matplotlib through conda to version <code class="notranslate">14.0</code> (<code class="notranslate">np19py27_0</code>).<br>
I am using windows 8, python 2.7.7 (Anaconda distribution 2.0.2 32-bit)<br>
Unfortunatelly my windows user name contains non-ascii caracter (<code class="notranslate">ś</code>) and importing matplotlib gives errors. <g-emoji class="g-emoji" alias="cry" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f622.png">😢</g-emoji> (previous matplotlib versions I used did not have any problem with this)</p>
<p dir="auto">The error comes in two flavors:<br>
<g-emoji class="g-emoji" alias="black_circle" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/26ab.png">⚫</g-emoji> If my current working directory contains non-ascii character then:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-1-82be63b7783c> in <module>()
----> 1 import matplotlib
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in <module>()
1046
1047 # this is the instance used by the matplotlib classes
-> 1048 rcParams = rc_params()
1049
1050 if rcParams['examples.directory']:
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in rc_params(fail_on_error)
895 default matplotlib rc file.
896 """
--> 897 fname = matplotlib_fname()
898 if not os.path.exists(fname):
899 # this should never happen, default in mpl-data should always be found
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in matplotlib_fname()
746 system-defined copy.
747 """
--> 748 fname = os.path.join(os.getcwd(), 'matplotlibrc')
749 if os.path.exists(fname):
750 return fname
D:\Python\Anaconda\lib\ntpath.pyc in join(path, *paths)
82 if result_path and result_path[-1] not in '\\/':
83 result_path = result_path + '\\'
---> 84 result_path = result_path + p_path
85 return result_drive + result_path
86
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 11: ordinal not in range(128)"><pre class="notranslate"><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">UnicodeDecodeError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-c1">-</span><span class="pl-c1">82</span><span class="pl-s1">be63b7783c</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1</span> <span class="pl-s1">import</span> <span class="pl-s1">matplotlib</span>
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">1046</span>
<span class="pl-c1">1047</span> <span class="pl-c"># this is the instance used by the matplotlib classes</span>
<span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1048</span> <span class="pl-s1">rcParams</span> <span class="pl-c1">=</span> <span class="pl-en">rc_params</span>()
<span class="pl-c1">1049</span>
<span class="pl-c1">1050</span> <span class="pl-k">if</span> <span class="pl-s1">rcParams</span>[<span class="pl-s">'examples.directory'</span>]:
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">rc_params</span>(<span class="pl-s1">fail_on_error</span>)
<span class="pl-c1">895</span> <span class="pl-s1">default</span> <span class="pl-s1">matplotlib</span> <span class="pl-s1">rc</span> <span class="pl-s1">file</span>.
<span class="pl-c1">896</span> <span class="pl-s">"""</span>
<span class="pl-s">--> 897 fname = matplotlib_fname()</span>
<span class="pl-s"> 898 if not os.path.exists(fname):</span>
<span class="pl-s"> 899 # this should never happen, default in mpl-data should always be found</span>
<span class="pl-s"></span>
<span class="pl-s">D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in matplotlib_fname()</span>
<span class="pl-s"> 746 system-defined copy.</span>
<span class="pl-s"> 747 """</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">748</span> <span class="pl-s1">fname</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">join</span>(<span class="pl-s1">os</span>.<span class="pl-en">getcwd</span>(), <span class="pl-s">'matplotlibrc'</span>)
<span class="pl-c1">749</span> <span class="pl-k">if</span> <span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">exists</span>(<span class="pl-s1">fname</span>):
<span class="pl-c1">750</span> <span class="pl-s1">return</span> <span class="pl-s1">fname</span>
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\n<span class="pl-s1">tpath</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">join</span>(<span class="pl-s1">path</span>, <span class="pl-c1">*</span><span class="pl-s1">paths</span>)
<span class="pl-c1">82</span> <span class="pl-k">if</span> <span class="pl-s1">result_path</span> <span class="pl-c1">and</span> <span class="pl-s1">result_path</span>[<span class="pl-c1">-</span><span class="pl-c1">1</span>] <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-s">'<span class="pl-cce">\\</span>/'</span>:
<span class="pl-c1">83</span> <span class="pl-s1">result_path</span> <span class="pl-c1">=</span> <span class="pl-s1">result_path</span> <span class="pl-c1">+</span> <span class="pl-s">'<span class="pl-cce">\\</span>'</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">84</span> <span class="pl-s1">result_path</span> <span class="pl-c1">=</span> <span class="pl-s1">result_path</span> <span class="pl-c1">+</span> <span class="pl-s1">p_path</span>
<span class="pl-c1">85</span> <span class="pl-k">return</span> <span class="pl-s1">result_drive</span> <span class="pl-c1">+</span> <span class="pl-s1">result_path</span>
<span class="pl-c1">86</span>
<span class="pl-v">UnicodeDecodeError</span>: <span class="pl-s">'ascii'</span> <span class="pl-s1">codec</span> <span class="pl-s1">can</span>'<span class="pl-s1">t</span> <span class="pl-s1">decode</span> <span class="pl-s1">byte</span> <span class="pl-c1">0x9c</span> <span class="pl-c1">in</span> <span class="pl-s1">position</span> <span class="pl-c1">11</span>: <span class="pl-s1">ordinal</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">128</span>)</pre></div>
<p dir="auto"><g-emoji class="g-emoji" alias="black_circle" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/26ab.png">⚫</g-emoji> If I change my current directory so that it does not contain any ascii characters the error transforms itself a little:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-6-1d1446f6fa64> in <module>()
----> 1 from matplotlib import pyplot as plt
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in <module>()
1046
1047 # this is the instance used by the matplotlib classes
-> 1048 rcParams = rc_params()
1049
1050 if rcParams['examples.directory']:
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in rc_params(fail_on_error)
895 default matplotlib rc file.
896 """
--> 897 fname = matplotlib_fname()
898 if not os.path.exists(fname):
899 # this should never happen, default in mpl-data should always be found
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in matplotlib_fname()
757 return fname
758
--> 759 configdir = _get_configdir()
760 if configdir is not None:
761 fname = os.path.join(configdir, 'matplotlibrc')
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in _get_configdir()
628 5. A writable directory could not be found or created; return None.
629 """
--> 630 return _get_config_or_cache_dir(_get_xdg_config_dir())
631
632 get_configdir = verbose.wrap('CONFIGDIR=%s', _get_configdir, always=False)
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in _get_xdg_config_dir()
553 path = os.environ.get('XDG_CONFIG_HOME')
554 if path is None:
--> 555 path = get_home()
556 if path is not None:
557 path = os.path.join(path, '.config')
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in wrapper(*args, **kwargs)
321 assert six.callable(func)
322 def wrapper(*args, **kwargs):
--> 323 ret = func(*args, **kwargs)
324
325 if (always or not wrapper._spoke):
D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in _get_home()
507 """
508 try:
--> 509 path = os.path.expanduser("~")
510 except ImportError:
511 # This happens on Google App Engine (pwd module is not present).
D:\Python\Anaconda\lib\ntpath.pyc in expanduser(path)
271 userhome = join(dirname(userhome), path[1:i])
272
--> 273 return userhome + path[i:]
274
275
UnicodeDecodeError: 'ascii' codec can't decode byte 0x9c in position 13: ordinal not in range(128)"><pre class="notranslate"><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">UnicodeDecodeError</span> <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>)
<span class="pl-c1"><</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">6</span><span class="pl-c1">-</span><span class="pl-c1">1</span><span class="pl-s1">d1446f6fa64</span><span class="pl-c1">></span> <span class="pl-s1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1</span> <span class="pl-k">from</span> <span class="pl-s1">matplotlib</span> <span class="pl-k">import</span> <span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-c1"><</span><span class="pl-s1">module</span><span class="pl-c1">></span>()
<span class="pl-c1">1046</span>
<span class="pl-c1">1047</span> <span class="pl-c"># this is the instance used by the matplotlib classes</span>
<span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">1048</span> <span class="pl-s1">rcParams</span> <span class="pl-c1">=</span> <span class="pl-en">rc_params</span>()
<span class="pl-c1">1049</span>
<span class="pl-c1">1050</span> <span class="pl-k">if</span> <span class="pl-s1">rcParams</span>[<span class="pl-s">'examples.directory'</span>]:
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">rc_params</span>(<span class="pl-s1">fail_on_error</span>)
<span class="pl-c1">895</span> <span class="pl-s1">default</span> <span class="pl-s1">matplotlib</span> <span class="pl-s1">rc</span> <span class="pl-s1">file</span>.
<span class="pl-c1">896</span> <span class="pl-s">"""</span>
<span class="pl-s">--> 897 fname = matplotlib_fname()</span>
<span class="pl-s"> 898 if not os.path.exists(fname):</span>
<span class="pl-s"> 899 # this should never happen, default in mpl-data should always be found</span>
<span class="pl-s"></span>
<span class="pl-s">D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in matplotlib_fname()</span>
<span class="pl-s"> 757 return fname</span>
<span class="pl-s"> 758 </span>
<span class="pl-s">--> 759 configdir = _get_configdir()</span>
<span class="pl-s"> 760 if configdir is not None:</span>
<span class="pl-s"> 761 fname = os.path.join(configdir, 'matplotlibrc')</span>
<span class="pl-s"></span>
<span class="pl-s">D:\Python\Anaconda\lib\site-packages\matplotlib\__init__.py in _get_configdir()</span>
<span class="pl-s"> 628 5. A writable directory could not be found or created; return None.</span>
<span class="pl-s"> 629 """</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">630</span> <span class="pl-s1">return</span> <span class="pl-en">_get_config_or_cache_dir</span>(<span class="pl-en">_get_xdg_config_dir</span>())
<span class="pl-c1">631</span>
<span class="pl-c1">632</span> <span class="pl-s1">get_configdir</span> <span class="pl-c1">=</span> <span class="pl-s1">verbose</span>.<span class="pl-en">wrap</span>(<span class="pl-s">'CONFIGDIR=%s'</span>, <span class="pl-s1">_get_configdir</span>, <span class="pl-s1">always</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_get_xdg_config_dir</span>()
<span class="pl-c1">553</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">environ</span>.<span class="pl-en">get</span>(<span class="pl-s">'XDG_CONFIG_HOME'</span>)
<span class="pl-c1">554</span> <span class="pl-k">if</span> <span class="pl-s1">path</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>:
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">555</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">get_home</span>()
<span class="pl-c1">556</span> <span class="pl-k">if</span> <span class="pl-s1">path</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-c1">None</span>:
<span class="pl-c1">557</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-s1">os</span>.<span class="pl-s1">path</span>.<span class="pl-en">join</span>(<span class="pl-s1">path</span>, <span class="pl-s">'.config'</span>)
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">wrapper</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">321</span> <span class="pl-k">assert</span> <span class="pl-s1">six</span>.<span class="pl-en">callable</span>(<span class="pl-s1">func</span>)
<span class="pl-c1">322</span> <span class="pl-k">def</span> <span class="pl-s1">wrapper</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">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">323</span> <span class="pl-s1">ret</span> <span class="pl-c1">=</span> <span class="pl-en">func</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">324</span>
<span class="pl-c1">325</span> <span class="pl-k">if</span> (<span class="pl-s1">always</span> <span class="pl-c1">or</span> <span class="pl-c1">not</span> <span class="pl-s1">wrapper</span>.<span class="pl-s1">_spoke</span>):
<span class="pl-v">D</span>:\P<span class="pl-s1">ython</span>\A<span class="pl-s1">naconda</span>\l<span class="pl-s1">ib</span>\s<span class="pl-s1">ite</span><span class="pl-c1">-</span><span class="pl-s1">packages</span>\m<span class="pl-s1">atplotlib</span>\_<span class="pl-s1">_init__</span>.<span class="pl-s1">py</span> <span class="pl-c1">in</span> <span class="pl-en">_get_home</span>()
<span class="pl-c1">507</span> """
508 try:
--> 509 path = os.path.expanduser("~")
510 except ImportError:
511 # This happens on Google App Engine (pwd module is not present).
D:\Python\Anaconda\lib<span class="pl-cce">\n</span><span class="pl-s1">tpath</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">expanduser</span>(<span class="pl-s1">path</span>)
<span class="pl-c1">271</span> <span class="pl-s1">userhome</span> <span class="pl-c1">=</span> <span class="pl-s1">join</span>(<span class="pl-en">dirname</span>(<span class="pl-s1">userhome</span>), <span class="pl-s1">path</span>[<span class="pl-c1">1</span>:<span class="pl-s1">i</span>])
<span class="pl-c1">272</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">273</span> <span class="pl-s1">return</span> <span class="pl-s1">userhome</span> <span class="pl-c1">+</span> <span class="pl-s1">path</span>[<span class="pl-s1">i</span>:]
<span class="pl-c1">274</span>
<span class="pl-c1">275</span>
<span class="pl-v">UnicodeDecodeError</span>: <span class="pl-s">'ascii'</span> <span class="pl-s1">codec</span> <span class="pl-s1">can</span>'<span class="pl-s1">t</span> <span class="pl-s1">decode</span> <span class="pl-s1">byte</span> <span class="pl-c1">0x9c</span> <span class="pl-c1">in</span> <span class="pl-s1">position</span> <span class="pl-c1">13</span>: <span class="pl-s1">ordinal</span> <span class="pl-c1">not</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">128</span>)</pre></div> | 0 |
<p dir="auto">Extension to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54532184" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/1692" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/1692/hovercard" href="https://github.com/microsoft/TypeScript/pull/1692">#1692</a>.</p>
<p dir="auto">Motivation:<br>
A common file layout for some projects is to organize code by feature, rather by the kind of the file. This means that the implementation of a feature, along with its unit tests and end to end tests are all grouped into a single directory structure. I use this convention in my own projects.</p>
<p dir="auto">Currently, however, tsconfig.json assumes that sub-projects are split by directories. With the feature grouped files convention, however, we have multiple 'projects' interleaved in the same directories. For example, end to end tests have different project settings than unit tests, which may have different project settings from the application code itself.</p>
<p dir="auto">Proposal:<br>
Support sub-projects within a single tsconfig.json. This allows for more flexibility in how files are laid out in an application.</p>
<p dir="auto">Example:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"noImplicitAny": true,
"removeComments": false,
"sourceMap": true
},
"files": [
"common-files/commonFiles.ts",
],
"projects": {
"app": {
"compilerOptions": {
"module": "amd",
"removeComments": true,
"out": "app/app.js"
},
"files": [
"app/feature1/feature1.ts"
]
},
"unit": {
"compilerOptions": {
"out": "tmp/unit/"
},
"files": [
"app/feature1/feature1_test.ts",
]
},
"e2e": {
"compilerOptions": {
"module": "commonjs",
"out": "tmp/e2e/"
},
"files": [
"app/feature1/feature1PageObject_e2e.ts",
"app/feature1/feature1_e2e.ts"
]
}
}"><pre class="notranslate">{
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"noImplicitAny"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"removeComments"</span>: <span class="pl-c1">false</span>,
<span class="pl-ent">"sourceMap"</span>: <span class="pl-c1">true</span>
},
<span class="pl-ent">"files"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>common-files/commonFiles.ts<span class="pl-pds">"</span></span>,
],
<span class="pl-ent">"projects"</span>: {
<span class="pl-ent">"app"</span>: {
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>amd<span class="pl-pds">"</span></span>,
<span class="pl-ent">"removeComments"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"out"</span>: <span class="pl-s"><span class="pl-pds">"</span>app/app.js<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"files"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>app/feature1/feature1.ts<span class="pl-pds">"</span></span>
]
},
<span class="pl-ent">"unit"</span>: {
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"out"</span>: <span class="pl-s"><span class="pl-pds">"</span>tmp/unit/<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"files"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>app/feature1/feature1_test.ts<span class="pl-pds">"</span></span>,
]
},
<span class="pl-ent">"e2e"</span>: {
<span class="pl-ent">"compilerOptions"</span>: {
<span class="pl-ent">"module"</span>: <span class="pl-s"><span class="pl-pds">"</span>commonjs<span class="pl-pds">"</span></span>,
<span class="pl-ent">"out"</span>: <span class="pl-s"><span class="pl-pds">"</span>tmp/e2e/<span class="pl-pds">"</span></span>
},
<span class="pl-ent">"files"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>app/feature1/feature1PageObject_e2e.ts<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>app/feature1/feature1_e2e.ts<span class="pl-pds">"</span></span>
]
}
}</pre></div>
<p dir="auto">Building with tsc:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tsc -p tsconfig.json
-> builds root and all sub-projects, including those in sub-directories, recursively.
tsc -p tsconfig.json:app
-> builds root and app sub-project."><pre class="notranslate"><code class="notranslate">tsc -p tsconfig.json
-> builds root and all sub-projects, including those in sub-directories, recursively.
tsc -p tsconfig.json:app
-> builds root and app sub-project.
</code></pre></div>
<p dir="auto">Notes:</p>
<ul dir="auto">
<li>Projects are recursive. You can have sub-projects of projects. Building the root builds all sub-projects and their sub-projects.</li>
<li>To build a specific sub-project, use ':', for example tsc -p jsconfig.json:app:feature1 if "feature1" were a subproject of "app" (not shown in the example above).</li>
<li>Child projects inherit options and files from their parent projects, unless options are overwritten. Files are additive.</li>
<li>tsconfig.json files in sub-directories are evaluated independently. That is, they do not inherit anything from tsconfig.json files in a parent directory.</li>
<li>IDE and editor extensions may decide to support switching the current "context" of a file, i.e. the project or sub-project, or the tsconfig.json file if more than one reference the same file in one of the parent directories.</li>
</ul>
<p dir="auto">The default context is determined as follows:</p>
<ul dir="auto">
<li>Find the tsconfig.json in the same directory as the file, or recursively search parent directories.</li>
<li>If the root project has a reference to the file, use the root settings as the default context.</li>
<li>Recursively look in each sub-project, finding the first project with a reference to the file.</li>
</ul> | <p dir="auto">Listening to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nycdotnet/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nycdotnet">@nycdotnet</a> has me fired up to tackle this one. Thanks, Steve. (btw, you can check out his good interview here: <a href="http://www.dotnetrocks.com/default.aspx?showNum=1149" rel="nofollow">http://www.dotnetrocks.com/default.aspx?showNum=1149</a>)</p>
<p dir="auto">The proposal here was first started in times prehistoric (even before <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="37903783" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/11" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/11/hovercard" href="https://github.com/microsoft/TypeScript/issues/11">#11</a>), when dinosaurs walked the scorched earth. While nothing in this proposal is novel, per se, I believe it's high time we tackled the issue. Steve's own proposal is <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="85547804" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/3394" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/3394/hovercard" href="https://github.com/microsoft/TypeScript/issues/3394">#3394</a>.</p>
<h1 dir="auto">The Problem</h1>
<p dir="auto">Currently, in TypeScript, it's rather easy to start and get going, and we're making it easier with each day (with the help of things like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="60991541" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2338" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript/issues/2338/hovercard" href="https://github.com/microsoft/TypeScript/issues/2338">#2338</a> and the work on System.js). This is wonderful. But there is a bit of a hurdle as project size grows. We currently have a mental model that goes something like this:</p>
<ul dir="auto">
<li>Small-sized projects: use tsconfig.json, keep most of your source in the current directory</li>
<li>Large-sized projects: use custom builds, put source where you need it</li>
</ul>
<p dir="auto">For small-sized projects, tsconfig.json gives you an easy-to-setup way of getting going with any of the editors in a cross platform way. For large-scale projects, you will likely end up switching to build systems because of the varied requirements of large-scale projects, and the end result will be something that works for your scenarios but is difficult to tool because it's far too difficult to tool the variety of build systems and options.</p>
<p dir="auto">Steve, in his interview, points out that this isn't quite the right model of the world, and I tend to agree with him. Instead, there are three sizes of project:</p>
<ul dir="auto">
<li>Small-sized projects: use tsconfig.json, keep most of your source in the current directory</li>
<li>Medium-sized projects: those with standard builds and shared components</li>
<li>Large-sized projects: use custom builds, put source where you need it</li>
</ul>
<p dir="auto">As you scale in size of project, Steve argues, you need to be able to scale through the medium step, or tool support falls off too quickly.</p>
<h1 dir="auto">Proposal</h1>
<p dir="auto">To solve this, I propose we support "medium-sized" projects. These projects have standard build steps that could be described in tsconfig.json today, with the exception that the project is built from multiple components. The hypothesis here is that there are quite a number of projects at this level that could be well-served by this support.</p>
<h2 dir="auto">Goals</h2>
<p dir="auto">Provide an easy-to-use experience for developers creating "medium-sized" projects for both command-line compilation and when working with these projects in an IDE.</p>
<h2 dir="auto">Non-goals</h2>
<p dir="auto">This proposal does <em>not</em> include optional compilation, or any steps outside of what the compiler handles today. This proposal also does not cover bundling or packaging, which will be handled in a separate proposal. In short, as mentioned in the name, this proposal covers only the 'medium-sized' projects and not the needs of those at large scales.</p>
<h2 dir="auto">Design</h2>
<p dir="auto">To support medium-sized projects, we focus on the use case of one tsconfig.json referencing another.</p>
<p dir="auto">Example <a href="https://github.com/Microsoft/TypeScript/wiki/tsconfig.json">tsconfig.json</a> of today:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": true,
"sourceMap": true
},
"files": [
"core.ts",
"sys.ts"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"compilerOptions"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"module"</span>: <span class="pl-s">"commonjs"</span><span class="pl-kos">,</span>
<span class="pl-s">"noImplicitAny"</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-s">"sourceMap"</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s">"files"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"core.ts"</span><span class="pl-kos">,</span>
<span class="pl-s">"sys.ts"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Proposed tsconfig.json 'dependencies' section:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": true,
"sourceMap": true
},
"dependencies": [
"../common",
"../util"
],
"files": [
"core.ts",
"sys.ts"
]
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"compilerOptions"</span>: <span class="pl-kos">{</span>
<span class="pl-s">"module"</span>: <span class="pl-s">"commonjs"</span><span class="pl-kos">,</span>
<span class="pl-s">"noImplicitAny"</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-s">"sourceMap"</span>: <span class="pl-c1">true</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-s">"dependencies"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"../common"</span><span class="pl-kos">,</span>
<span class="pl-s">"../util"</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-s">"files"</span>: <span class="pl-kos">[</span>
<span class="pl-s">"core.ts"</span><span class="pl-kos">,</span>
<span class="pl-s">"sys.ts"</span>
<span class="pl-kos">]</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Dependencies point to either:</p>
<ul dir="auto">
<li>A directory, where a tsconfig.json can be found</li>
<li>A tsconfig.json directly</li>
</ul>
<p dir="auto">Dependencies are hierarchical. To edit the full project, you need to open the correct directory that contains the root tsconfig.json. This implies that dependencies can't be cyclic. While it may be possible to handle cyclic dependencies in some cases, other cases, namely those with types that have circular dependencies, it may not be possible to do a full resolution.</p>
<h1 dir="auto">How it works</h1>
<p dir="auto">Dependencies are built first, in the order they are listed in the 'dependencies' section. If a dependency fails to build, the compiler will exit with an error and not continue to build the rest of the project.</p>
<p dir="auto">As each dependency completes, a '.d.ts' file representing the outputs is made available to the current build. Once all dependencies complete, the current project is built.</p>
<p dir="auto">If the user specifies a subdirectory as a dependency, and also implies its compilation by not providing a 'files' section, the dependency is compiled during dependency compilation and is also removed from the compilation of the current project.</p>
<p dir="auto">The language service can see into each dependency. Because each dependency will be driven off its own tsconfig.json, this may mean that multiple language service instances would need to be created. The end result would be a coordinated language service that was capable of refactoring, code navigation, find all references, etc across dependencies.</p>
<h1 dir="auto">Limitations</h1>
<p dir="auto">Adding a directory as a dependency that has no tsconfig.json is considered an error.</p>
<p dir="auto">Outputs of dependencies are assumed to be self-contained and separate from the current project. This implies that you can't concatenate the output .js of a dependency with the current project via tsconfig.json. External tools, of course, can provide this functionality.</p>
<p dir="auto">As mentioned earlier, circular dependencies are considered an error. In the simple case:</p>
<p dir="auto">A - B<br>
\ C</p>
<p dir="auto">A is the 'current project' and depends on two dependencies: B and C. If B and C do not themselves have dependencies, this case is trivial. If C depends on B, B is made available to C. This is not considered to be circular. If, however, B depends on A, this is considered circular and would be an error.</p>
<p dir="auto">If, in the example, B depends on C and C is self-contained, this would not be considered a cycle. In this case, the compilation order would be C, B, A, which follows the logic we have for ///ref.</p>
<h1 dir="auto">Optional optimizations/improvements</h1>
<p dir="auto">If a dependency does not to be rebuilt, then its build step is skipped and the '.d.ts' representation from the previous build is reused. This could be extended to handle if the compilation of a dependencies has built dependencies that will show up later in the 'dependencies' list of the current project (as happened in the example given in the Limitations section).</p>
<p dir="auto">Rather than treating directories passed as dependencies that do not have a tsconfig.json as error cases, we could optionally apply default 'files' and the settings of the current project to that dependency.</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">When use gpu to train a two-convolution-layer model, the random behavior is different in the running of two times.</p>
<h2 dir="auto">To Reproduce</h2>
<ol dir="auto">
<li>write this code in some file, on my computer the source code is named <code class="notranslate">try.py</code></li>
</ol>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import torch
import numpy as np
import random
torch.manual_seed(123)
random.seed(123)
np.random.seed(123)
torch.cuda.manual_seed(123)
torch.backends.cudnn.enabled=False
torch.backends.cudnn.deterministic=True
conv1 = torch.nn.Conv2d(3, 32, 3, 1, 1).cuda()
conv2 = torch.nn.Conv2d(32, 32, 3, stride=1, padding=1, dilation=1).cuda()
# fc = torch.nn.Linear(32, 10)
criteria = torch.nn.CrossEntropyLoss()
torch.nn.init.kaiming_normal_(conv1.weight, 1)
torch.nn.init.kaiming_normal_(conv2.weight, 1)
params = list(conv1.parameters()) + list(conv2.parameters())
optim = torch.optim.SGD(params, lr=1e-4, momentum=0.9, weight_decay=1e-4)
for i in range(10):
inten = torch.randn(16, 3, 64, 64).cuda()
lb = torch.randint(0, 10, (16, 64, 64)).cuda()
optim.zero_grad()
feat = conv1(inten)
feat = conv2(feat)
loss = criteria(feat, lb)
loss.backward()
optim.step()
print(loss.item())"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">torch</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">random</span>
<span class="pl-s1">torch</span>.<span class="pl-en">manual_seed</span>(<span class="pl-c1">123</span>)
<span class="pl-s1">random</span>.<span class="pl-en">seed</span>(<span class="pl-c1">123</span>)
<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">seed</span>(<span class="pl-c1">123</span>)
<span class="pl-s1">torch</span>.<span class="pl-s1">cuda</span>.<span class="pl-en">manual_seed</span>(<span class="pl-c1">123</span>)
<span class="pl-s1">torch</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">cudnn</span>.<span class="pl-s1">enabled</span><span class="pl-c1">=</span><span class="pl-c1">False</span>
<span class="pl-s1">torch</span>.<span class="pl-s1">backends</span>.<span class="pl-s1">cudnn</span>.<span class="pl-s1">deterministic</span><span class="pl-c1">=</span><span class="pl-c1">True</span>
<span class="pl-s1">conv1</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-v">Conv2d</span>(<span class="pl-c1">3</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>).<span class="pl-en">cuda</span>()
<span class="pl-s1">conv2</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-v">Conv2d</span>(<span class="pl-c1">32</span>, <span class="pl-c1">32</span>, <span class="pl-c1">3</span>, <span class="pl-s1">stride</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">padding</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">dilation</span><span class="pl-c1">=</span><span class="pl-c1">1</span>).<span class="pl-en">cuda</span>()
<span class="pl-c"># fc = torch.nn.Linear(32, 10)</span>
<span class="pl-s1">criteria</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-v">CrossEntropyLoss</span>()
<span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">init</span>.<span class="pl-en">kaiming_normal_</span>(<span class="pl-s1">conv1</span>.<span class="pl-s1">weight</span>, <span class="pl-c1">1</span>)
<span class="pl-s1">torch</span>.<span class="pl-s1">nn</span>.<span class="pl-s1">init</span>.<span class="pl-en">kaiming_normal_</span>(<span class="pl-s1">conv2</span>.<span class="pl-s1">weight</span>, <span class="pl-c1">1</span>)
<span class="pl-s1">params</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-s1">conv1</span>.<span class="pl-en">parameters</span>()) <span class="pl-c1">+</span> <span class="pl-en">list</span>(<span class="pl-s1">conv2</span>.<span class="pl-en">parameters</span>())
<span class="pl-s1">optim</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-s1">optim</span>.<span class="pl-v">SGD</span>(<span class="pl-s1">params</span>, <span class="pl-s1">lr</span><span class="pl-c1">=</span><span class="pl-c1">1e-4</span>, <span class="pl-s1">momentum</span><span class="pl-c1">=</span><span class="pl-c1">0.9</span>, <span class="pl-s1">weight_decay</span><span class="pl-c1">=</span><span class="pl-c1">1e-4</span>)
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>):
<span class="pl-s1">inten</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">randn</span>(<span class="pl-c1">16</span>, <span class="pl-c1">3</span>, <span class="pl-c1">64</span>, <span class="pl-c1">64</span>).<span class="pl-en">cuda</span>()
<span class="pl-s1">lb</span> <span class="pl-c1">=</span> <span class="pl-s1">torch</span>.<span class="pl-en">randint</span>(<span class="pl-c1">0</span>, <span class="pl-c1">10</span>, (<span class="pl-c1">16</span>, <span class="pl-c1">64</span>, <span class="pl-c1">64</span>)).<span class="pl-en">cuda</span>()
<span class="pl-s1">optim</span>.<span class="pl-en">zero_grad</span>()
<span class="pl-s1">feat</span> <span class="pl-c1">=</span> <span class="pl-en">conv1</span>(<span class="pl-s1">inten</span>)
<span class="pl-s1">feat</span> <span class="pl-c1">=</span> <span class="pl-en">conv2</span>(<span class="pl-s1">feat</span>)
<span class="pl-s1">loss</span> <span class="pl-c1">=</span> <span class="pl-en">criteria</span>(<span class="pl-s1">feat</span>, <span class="pl-s1">lb</span>)
<span class="pl-s1">loss</span>.<span class="pl-en">backward</span>()
<span class="pl-s1">optim</span>.<span class="pl-en">step</span>()
<span class="pl-en">print</span>(<span class="pl-s1">loss</span>.<span class="pl-en">item</span>())</pre></div>
<ol start="2" dir="auto">
<li>run the above code for twice, and see the loss printed to the screen:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CUDA_VISIBLE_DEVICES=0 python try.py
3.9505960941314697
3.962101936340332
3.944667100906372
3.9629740715026855
3.9574058055877686
3.9502787590026855
3.956238031387329
3.9543356895446777
3.950388193130493
3.946221351623535
CUDA_VISIBLE_DEVICES=0 python try.py
3.9505960941314697
3.962101697921753
3.944666862487793
3.9629745483398438
3.9574055671691895
3.9502787590026855
3.956238031387329
3.9543352127075195
3.950387954711914
3.9462215900421143"><pre class="notranslate"><code class="notranslate">CUDA_VISIBLE_DEVICES=0 python try.py
3.9505960941314697
3.962101936340332
3.944667100906372
3.9629740715026855
3.9574058055877686
3.9502787590026855
3.956238031387329
3.9543356895446777
3.950388193130493
3.946221351623535
CUDA_VISIBLE_DEVICES=0 python try.py
3.9505960941314697
3.962101697921753
3.944666862487793
3.9629745483398438
3.9574055671691895
3.9502787590026855
3.956238031387329
3.9543352127075195
3.950387954711914
3.9462215900421143
</code></pre></div>
<p dir="auto">Since my practical model has a big variance, this random behavior can bring a final score variance of as much as 0.5%, which makes it too difficult for me to tune the hyper-parameters. What is the cause of this randomness, and how could I reduce it please?</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Collecting environment information...<br>
PyTorch version: 1.1.0a0+95ce796<br>
Is debug build: No<br>
CUDA used to build PyTorch: 9.0.176</p>
<p dir="auto">OS: CentOS Linux 7 (Core)<br>
GCC version: (GCC) 5.4.0<br>
CMake version: version 3.14.0</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: Yes<br>
CUDA runtime version: 9.0.176<br>
GPU models and configuration:<br>
GPU 0: GeForce GTX 1080 Ti<br>
GPU 1: GeForce GTX 1080 Ti<br>
GPU 2: GeForce GTX 1080 Ti<br>
GPU 3: GeForce GTX 1080 Ti</p>
<p dir="auto">Nvidia driver version: 390.67<br>
cuDNN version: Could not collect</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip] numpy==1.16.3<br>
[pip] torch==1.1.0<br>
[pip] torchvision==0.2.2.post3<br>
[pip] torchvision-nightly==0.2.3<br>
[conda] Could not collect</p> | <p dir="auto">Hi,</p>
<p dir="auto">I came across this problem while using pytorch:</p>
<p dir="auto">The dot product between 2 vectors with floating precision can become arbitrarily small/large. This problem does not occur when using the sum and product operation separately:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="v1, v2 = torch.FloatTensor([1., 1.]), torch.FloatTensor([-1., -0.9999999])
float(v1 @ v2), float(torch.sum(v1 * v2))
(-3.6893488147419103e+19, -1.9999998807907104)"><pre class="notranslate"><code class="notranslate">v1, v2 = torch.FloatTensor([1., 1.]), torch.FloatTensor([-1., -0.9999999])
float(v1 @ v2), float(torch.sum(v1 * v2))
(-3.6893488147419103e+19, -1.9999998807907104)
</code></pre></div>
<p dir="auto">Dot product with tensors with double precision seems ok:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="v1, v2 = torch.DoubleTensor([1., 1.]), torch.DoubleTensor([-1., -0.9999999])
float(v1 @ v2), float(torch.sum(v1 * v2))
(-1.9999999000000002, -1.9999999000000002)"><pre class="notranslate"><code class="notranslate">v1, v2 = torch.DoubleTensor([1., 1.]), torch.DoubleTensor([-1., -0.9999999])
float(v1 @ v2), float(torch.sum(v1 * v2))
(-1.9999999000000002, -1.9999999000000002)
</code></pre></div>
<h2 dir="auto">System Info</h2>
<p dir="auto">PyTorch version: 0.4.0<br>
Is debug build: No<br>
CUDA used to build PyTorch: None</p>
<p dir="auto">OS: Mac OSX 10.13.4<br>
GCC version: Could not collect<br>
CMake version: Could not collect</p>
<p dir="auto">Python version: 3.6<br>
Is CUDA available: No<br>
CUDA runtime version: No CUDA<br>
GPU models and configuration: No CUDA<br>
Nvidia driver version: No CUDA<br>
cuDNN version: No CUDA</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip] numpy (1.14.0)<br>
[pip] numpydoc (0.7.0)<br>
[pip] torch (0.4.0)<br>
[pip] torchvision (0.2.1)<br>
[conda] pytorch 0.4.0 py36_cuda0.0_cudnn0.0_1 pytorch<br>
[conda] torchvision 0.2.1 py36_1 pytorch</p> | 0 |
<h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 4.2 python</li>
<li>Operating System / Platform => 20.04.1-Ubuntu x86_64</li>
<li>Compiler => binary provided by apt package</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">It seems that cv2.cornerSubPix function does only accept the corners output from cv2.findChessboardCorners directly.<br>
Reversing this list in python leads to an error:<br>
<code class="notranslate">corners = corners[::-1,:,:]</code></p>
<blockquote>
<p dir="auto">TypeError: Expected Ptrcv::UMat for argument 'corners'</p>
</blockquote>
<p dir="auto">Storing the inverted corners inplace does work:<br>
<code class="notranslate">corners[:] = corners[::-1,:,:]</code></p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2
criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 30, 0.001)
img = cv2.imread("test.png")
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, corners = cv2.findChessboardCorners(gray, (4,6), None)
if ret == True:
print(corners.__class__) # <class 'numpy.ndarray'>
corners2 = cv2.cornerSubPix(gray, corners, (11,11), (-1,-1), criteria) # works
corners[:] = corners[::-1,:,:] # reverse inplace
print(corners.__class__) # <class 'numpy.ndarray'>
corners2 = cv2.cornerSubPix(gray, corners, (11,11), (-1,-1), criteria) # also works
corners = corners[::-1,:,:] # reverse into new object
print(corners.__class__) # <class 'numpy.ndarray'>
corners2 = cv2.cornerSubPix(gray, corners, (11,11), (-1,-1), criteria) # Error: TypeError: Expected Ptr<cv::UMat> for argument 'corners'"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span>
<span class="pl-s1">criteria</span> <span class="pl-c1">=</span> (<span class="pl-s1">cv2</span>.<span class="pl-v">TERM_CRITERIA_EPS</span> <span class="pl-c1">+</span> <span class="pl-s1">cv2</span>.<span class="pl-v">TERM_CRITERIA_MAX_ITER</span>, <span class="pl-c1">30</span>, <span class="pl-c1">0.001</span>)
<span class="pl-s1">img</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">imread</span>(<span class="pl-s">"test.png"</span>)
<span class="pl-s1">gray</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">cvtColor</span>(<span class="pl-s1">img</span>, <span class="pl-s1">cv2</span>.<span class="pl-v">COLOR_BGR2GRAY</span>)
<span class="pl-s1">ret</span>, <span class="pl-s1">corners</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">findChessboardCorners</span>(<span class="pl-s1">gray</span>, (<span class="pl-c1">4</span>,<span class="pl-c1">6</span>), <span class="pl-c1">None</span>)
<span class="pl-k">if</span> <span class="pl-s1">ret</span> <span class="pl-c1">==</span> <span class="pl-c1">True</span>:
<span class="pl-en">print</span>(<span class="pl-s1">corners</span>.<span class="pl-s1">__class__</span>) <span class="pl-c"># <class 'numpy.ndarray'></span>
<span class="pl-s1">corners2</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">cornerSubPix</span>(<span class="pl-s1">gray</span>, <span class="pl-s1">corners</span>, (<span class="pl-c1">11</span>,<span class="pl-c1">11</span>), (<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-s1">criteria</span>) <span class="pl-c"># works</span>
<span class="pl-s1">corners</span>[:] <span class="pl-c1">=</span> <span class="pl-s1">corners</span>[::<span class="pl-c1">-</span><span class="pl-c1">1</span>,:,:] <span class="pl-c"># reverse inplace</span>
<span class="pl-en">print</span>(<span class="pl-s1">corners</span>.<span class="pl-s1">__class__</span>) <span class="pl-c"># <class 'numpy.ndarray'></span>
<span class="pl-s1">corners2</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">cornerSubPix</span>(<span class="pl-s1">gray</span>, <span class="pl-s1">corners</span>, (<span class="pl-c1">11</span>,<span class="pl-c1">11</span>), (<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-s1">criteria</span>) <span class="pl-c"># also works</span>
<span class="pl-s1">corners</span> <span class="pl-c1">=</span> <span class="pl-s1">corners</span>[::<span class="pl-c1">-</span><span class="pl-c1">1</span>,:,:] <span class="pl-c"># reverse into new object</span>
<span class="pl-en">print</span>(<span class="pl-s1">corners</span>.<span class="pl-s1">__class__</span>) <span class="pl-c"># <class 'numpy.ndarray'></span>
<span class="pl-s1">corners2</span> <span class="pl-c1">=</span> <span class="pl-s1">cv2</span>.<span class="pl-en">cornerSubPix</span>(<span class="pl-s1">gray</span>, <span class="pl-s1">corners</span>, (<span class="pl-c1">11</span>,<span class="pl-c1">11</span>), (<span class="pl-c1">-</span><span class="pl-c1">1</span>,<span class="pl-c1">-</span><span class="pl-c1">1</span>), <span class="pl-s1">criteria</span>) <span class="pl-c"># Error: TypeError: Expected Ptr<cv::UMat> for argument 'corners'</span></pre></div>
<p dir="auto"><a href="https://github.com/opencv/opencv/files/6343067/test.png.tar.gz">test.png.tar.gz</a></p>
<h5 dir="auto">Issue submission checklist</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br>
forum.opencv.org, Stack Overflow, etc and have not found solution
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I updated to latest OpenCV version and the issue is still there
</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files: videos, images, onnx, etc
</li>
</ul> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => opencv-contrib-python-headless==4.1.1.26</li>
<li>Operating System / Platform => OS X</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">I create three 3-channel images and draw a circle into them. In the second case I use the step trick <code class="notranslate">A[:, :, ::-1]</code> to flip the R and B channels in the image, emulating <code class="notranslate">cv.cvtColor</code> with <code class="notranslate">COLOR_BGR2RGB</code>. I then try to draw into that array. The result, as seen in the screenshot, is that nothing gets drawn. In the third case I explicitly make a copy of the channel-flipped array (which is actually a view) before drawing, and it works.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/730130/68665520-7a88fd80-0542-11ea-8cab-531c56921bc8.png"><img src="https://user-images.githubusercontent.com/730130/68665520-7a88fd80-0542-11ea-8cab-531c56921bc8.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Expected is that cv.circle works in all three cases.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import cv2 as cv
image1 = np.zeros((100, 100, 3), dtype='uint8')
cv.circle(image1, (50, 50), 10, (255, 255, 255), -1)
image2 = np.zeros((100, 100, 3), dtype='uint8')
image2 = image2[:, :, ::-1]
cv.circle(image2, (50, 50), 10, (255, 255, 255), -1)
image3 = np.zeros((100, 100, 3), dtype='uint8')
image3 = np.array(image3[:, :, ::-1])
cv.circle(image3, (50, 50), 10, (255, 255, 255), -1)
imshow(image1, image2, image3)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">cv2</span> <span class="pl-k">as</span> <span class="pl-s1">cv</span>
<span class="pl-s1">image1</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">100</span>, <span class="pl-c1">100</span>, <span class="pl-c1">3</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'uint8'</span>)
<span class="pl-s1">cv</span>.<span class="pl-en">circle</span>(<span class="pl-s1">image1</span>, (<span class="pl-c1">50</span>, <span class="pl-c1">50</span>), <span class="pl-c1">10</span>, (<span class="pl-c1">255</span>, <span class="pl-c1">255</span>, <span class="pl-c1">255</span>), <span class="pl-c1">-</span><span class="pl-c1">1</span>)
<span class="pl-s1">image2</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">100</span>, <span class="pl-c1">100</span>, <span class="pl-c1">3</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'uint8'</span>)
<span class="pl-s1">image2</span> <span class="pl-c1">=</span> <span class="pl-s1">image2</span>[:, :, ::<span class="pl-c1">-</span><span class="pl-c1">1</span>]
<span class="pl-s1">cv</span>.<span class="pl-en">circle</span>(<span class="pl-s1">image2</span>, (<span class="pl-c1">50</span>, <span class="pl-c1">50</span>), <span class="pl-c1">10</span>, (<span class="pl-c1">255</span>, <span class="pl-c1">255</span>, <span class="pl-c1">255</span>), <span class="pl-c1">-</span><span class="pl-c1">1</span>)
<span class="pl-s1">image3</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>((<span class="pl-c1">100</span>, <span class="pl-c1">100</span>, <span class="pl-c1">3</span>), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'uint8'</span>)
<span class="pl-s1">image3</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>(<span class="pl-s1">image3</span>[:, :, ::<span class="pl-c1">-</span><span class="pl-c1">1</span>])
<span class="pl-s1">cv</span>.<span class="pl-en">circle</span>(<span class="pl-s1">image3</span>, (<span class="pl-c1">50</span>, <span class="pl-c1">50</span>), <span class="pl-c1">10</span>, (<span class="pl-c1">255</span>, <span class="pl-c1">255</span>, <span class="pl-c1">255</span>), <span class="pl-c1">-</span><span class="pl-c1">1</span>)
<span class="pl-en">imshow</span>(<span class="pl-s1">image1</span>, <span class="pl-s1">image2</span>, <span class="pl-s1">image3</span>)</pre></div> | 1 |
<p dir="auto">Perhaps it's duplicated, if it's the case, please redirect me, but how can I make a test that verifies that some piece of invalid code gets rejected by type checker?</p>
<p dir="auto">Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andy-ms/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy-ms">@andy-ms</a></p> | <p dir="auto">Latest changes by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jacobwgillespie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jacobwgillespie">@jacobwgillespie</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/RyanCavanaugh/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/RyanCavanaugh">@RyanCavanaugh</a> may have caused this issue. "@ types/react": "^16.3.11" causes this error because it loads 16.3.12 which breaks. Removing ^ from the version like "16.3.11" fixes the problem.</p>
<p dir="auto">The TS starter kit of Microsoft fails too. <a href="https://github.com/Microsoft/TypeScript-React-Starter">https://github.com/Microsoft/TypeScript-React-Starter</a></p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ninja: Entering directory `out/R'
[22/282] CC obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o.d -DENABLE_WEBRTC -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -I../../vendor/crashpad -Iobj/vendor/crashpad/util/crashpad_util.gen -I/Users/kendall/code/third-party/electron/vendor/brightray/vendor/download/libchromiumcontent/src -I../../vendor/crashpad/compat/mac -I../../vendor/crashpad/compat/non_win -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -mpascal-strings -O2 -gdwarf-2 -Werror -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unneeded-internal-declaration -std=c99 -fcolor-diagnostics -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls -c obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portUser.c -o obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portUser.c:9:
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_port.h:65:
In file included from ../../vendor/crashpad/util/mach/child_port_types.h:18:
../../vendor/crashpad/compat/mac/mach/mach.h:56:2: error: Update this file for new exception types
#error Update this file for new exception types
^
1 error generated.
[22/282] CC obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o.d -DENABLE_WEBRTC -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -I../../vendor/crashpad -Iobj/vendor/crashpad/util/crashpad_util.gen -I/Users/kendall/code/third-party/electron/vendor/brightray/vendor/download/libchromiumcontent/src -I../../vendor/crashpad/compat/mac -I../../vendor/crashpad/compat/non_win -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -mpascal-strings -O2 -gdwarf-2 -Werror -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unneeded-internal-declaration -std=c99 -fcolor-diagnostics -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls -c obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.c -o obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.c:12:
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.h:65:
In file included from ../../vendor/crashpad/util/mach/child_port_types.h:18:
../../vendor/crashpad/compat/mac/mach/mach.h:56:2: error: Update this file for new exception types
#error Update this file for new exception types
^
1 error generated.
[22/282] CXX obj/vendor/node/src/node.node_javascript.o
ninja: build stopped: subcommand failed."><pre class="notranslate"><code class="notranslate">ninja: Entering directory `out/R'
[22/282] CC obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o.d -DENABLE_WEBRTC -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -I../../vendor/crashpad -Iobj/vendor/crashpad/util/crashpad_util.gen -I/Users/kendall/code/third-party/electron/vendor/brightray/vendor/download/libchromiumcontent/src -I../../vendor/crashpad/compat/mac -I../../vendor/crashpad/compat/non_win -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -mpascal-strings -O2 -gdwarf-2 -Werror -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unneeded-internal-declaration -std=c99 -fcolor-diagnostics -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls -c obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portUser.c -o obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portUser.o
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portUser.c:9:
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_port.h:65:
In file included from ../../vendor/crashpad/util/mach/child_port_types.h:18:
../../vendor/crashpad/compat/mac/mach/mach.h:56:2: error: Update this file for new exception types
#error Update this file for new exception types
^
1 error generated.
[22/282] CC obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o.d -DENABLE_WEBRTC -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -I../../vendor/crashpad -Iobj/vendor/crashpad/util/crashpad_util.gen -I/Users/kendall/code/third-party/electron/vendor/brightray/vendor/download/libchromiumcontent/src -I../../vendor/crashpad/compat/mac -I../../vendor/crashpad/compat/non_win -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fasm-blocks -mpascal-strings -O2 -gdwarf-2 -Werror -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-unneeded-internal-declaration -std=c99 -fcolor-diagnostics -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls -c obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.c -o obj/vendor/crashpad/util/obj/vendor/crashpad/util/crashpad_util.gen/util/mach/crashpad_util.child_portServer.o
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.c:12:
In file included from obj/vendor/crashpad/util/crashpad_util.gen/util/mach/child_portServer.h:65:
In file included from ../../vendor/crashpad/util/mach/child_port_types.h:18:
../../vendor/crashpad/compat/mac/mach/mach.h:56:2: error: Update this file for new exception types
#error Update this file for new exception types
^
1 error generated.
[22/282] CXX obj/vendor/node/src/node.node_javascript.o
ninja: build stopped: subcommand failed.
</code></pre></div>
<p dir="auto">Python: <code class="notranslate">2.7.10</code><br>
Node: <code class="notranslate">v0.12.7</code><br>
Xcode: <code class="notranslate">7A218</code></p>
<p dir="auto">This seems to have to do with Xcode 7. The last time it was working, I was building with Xcode 6.</p> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ninja: Entering directory `out/D'
[23/505] OBJCXX obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o.d -DHAVE_MACH_O_NLIST_H -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -DDEBUG -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DUSING_V8_SHARED -DWEBKIT_DLL -I../../vendor/breakpad/src -I../../vendor/breakpad/src/common/mac -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -funsigned-char -fasm-blocks -mpascal-strings -O0 -gdwarf-2 -Werror -mmacosx-version-min=10.8 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-deprecated-register -Wno-unused-private-field -Wno-unused-function -std=c++11 -stdlib=libc++ -fno-exceptions -fcolor-diagnostics -c ../../vendor/breakpad/src/common/mac/dump_syms.mm -o obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o
In file included from ../../vendor/breakpad/src/common/mac/dump_syms.mm:36:
In file included from ../../vendor/breakpad/src/common/mac/dump_syms.h:38:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type
- (id)copyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: expected a type
- (id)mutableCopyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:4: error: expected a type
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:53:4: error: expected a type
- (nullable id)replacementObjectForCoder:(NSCoder *)aCoder;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:54:4: error: expected a type
- (nullable id)awakeAfterUsingCoder:(NSCoder *)aDecoder NS_REPLACES_RECEIVER;"><pre class="notranslate"><code class="notranslate">ninja: Entering directory `out/D'
[23/505] OBJCXX obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o.d -DHAVE_MACH_O_NLIST_H -DNDEBUG -DV8_USE_EXTERNAL_STARTUP_DATA -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DUSE_OPENSSL -DDEBUG -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DUSING_V8_SHARED -DWEBKIT_DLL -I../../vendor/breakpad/src -I../../vendor/breakpad/src/common/mac -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -funsigned-char -fasm-blocks -mpascal-strings -O0 -gdwarf-2 -Werror -mmacosx-version-min=10.8 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-deprecated-register -Wno-unused-private-field -Wno-unused-function -std=c++11 -stdlib=libc++ -fno-exceptions -fcolor-diagnostics -c ../../vendor/breakpad/src/common/mac/dump_syms.mm -o obj/vendor/breakpad/src/common/mac/dump_syms.dump_syms.o
In file included from ../../vendor/breakpad/src/common/mac/dump_syms.mm:36:
In file included from ../../vendor/breakpad/src/common/mac/dump_syms.h:38:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type
- (id)copyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: expected a type
- (id)mutableCopyWithZone:(nullable NSZone *)zone;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:4: error: expected a type
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:53:4: error: expected a type
- (nullable id)replacementObjectForCoder:(NSCoder *)aCoder;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:54:4: error: expected a type
- (nullable id)awakeAfterUsingCoder:(NSCoder *)aDecoder NS_REPLACES_RECEIVER;
</code></pre></div>
<p dir="auto">Python: <code class="notranslate">2.7.10</code><br>
Node: <code class="notranslate">v0.12.7</code><br>
Xcode: <code class="notranslate">7A121l</code></p>
<p dir="auto">Builds successfully if you replace <code class="notranslate">Xcode.app</code> with Xcode 6 and repeat the bootstrapping and build process.</p> | 1 |
<h3 dir="auto">Describe your issue.</h3>
<p dir="auto">Installing scipy==1.8.0 fails on MacOS M1 with python3.9, because the build requires numpy 1.20.0 that doesn't build on M1 (<a href="https://github.com/scipy/scipy/blob/v1.8.0/pyproject.toml#L30">https://github.com/scipy/scipy/blob/v1.8.0/pyproject.toml#L30</a>)</p>
<p dir="auto">Can someone please update this is make it really a minimum requirement to use 1.20.0 and not a hard requirement? So have <code class="notranslate">numpy >= 1.20.0</code> and not <code class="notranslate">numpy == 1.20.0</code>. Even better would be 1.20.3, which does install on M1. At the moment, no matter if I pre-install the latest version of numpy, the install for scipy fails, because it is trying to get numpy==1.20.0 to be installed.</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="pip install scipy"><pre class="notranslate"><span class="pl-s1">pip</span> <span class="pl-s1">install</span> <span class="pl-s1">scipy</span></pre></div>
<h3 dir="auto">Error message</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Collecting scipy==1.8.0
Using cached scipy-1.8.0.tar.gz (38.3 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [2270 lines of output]
Looking in indexes: https://pypi.org/simple, https://artefact.skao.int/repository/pypi-internal/simple
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "s390x" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64" and platform_machine != "s390x" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.9" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.10" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.11"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.8" and platform_python_implementation == "PyPy"' don't match your environment
Collecting wheel<0.38.0
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting setuptools<60.0.0
Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
Collecting Cython<3.0,>=0.29.18
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting pybind11<2.9.0,>=2.4.3
Using cached pybind11-2.8.1-py2.py3-none-any.whl (208 kB)
Collecting pythran<0.11.0,>=0.10.0
Using cached pythran-0.10.0-py3-none-any.whl (4.3 MB)
Collecting numpy==1.20.0
Using cached numpy-1.20.0.zip (8.0 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting gast~=0.5.0
Using cached gast-0.5.3-py3-none-any.whl (19 kB)
Collecting ply>=3.4
Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting beniget~=0.4.0
Using cached beniget-0.4.1-py3-none-any.whl (9.4 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml): started
Building wheel for numpy (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for numpy (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [2223 lines of output]
[... the error is very long but not really relevant for scipy ...]
assert len(base_version) == 2
AssertionError
########### EXT COMPILER OPTIMIZATION ###########
Platform :
Architecture: aarch64
Compiler : clang
CPU baseline :
Requested : 'min'
Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : ASIMDHP ASIMDDP
Generated :
:
ASIMDHP : NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags : -march=armv8.2-a+fp16
Extra checks: none
Detect : ASIMD ASIMDHP
: numpy/core/src/umath/_umath_tests.dispatch.c
CCompilerOpt._cache_write[796] : write cache to path -> /private/var/folders/3n/68py6wjs1t7dqlglcvwgvrcr0000gp/T/pip-install-pfa3d0mq/numpy_b0c1897da5564dec984ac45053f20aa5/build/temp.macosx-11-arm64-3.9/ccompiler_opt_cache_ext.py
########### CLIB COMPILER OPTIMIZATION ###########
Platform :
Architecture: aarch64
Compiler : clang
CPU baseline :
Requested : 'min'
Enabled : NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : ASIMDHP ASIMDDP
Generated : none
CCompilerOpt._cache_write[796] : write cache to path -> /private/var/folders/3n/68py6wjs1t7dqlglcvwgvrcr0000gp/T/pip-install-pfa3d0mq/numpy_b0c1897da5564dec984ac45053f20aa5/build/temp.macosx-11-arm64-3.9/ccompiler_opt_cache_clib.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error"><pre class="notranslate">Collecting scipy==1.8.0
Using cached scipy-1.8.0.tar.gz (38.3 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ <span class="pl-c1">exit</span> code: 1
╰─<span class="pl-k">></span> [2270 lines of output]
Looking <span class="pl-k">in</span> indexes: https://pypi.org/simple, https://artefact.skao.int/repository/pypi-internal/simple
Ignoring numpy: markers <span class="pl-s"><span class="pl-pds">'</span>python_version == "3.8" and platform_machine == "aarch64" and platform_python_implementation != "PyPy"<span class="pl-pds">'</span></span> don<span class="pl-s"><span class="pl-pds">'</span>t match your environment</span>
<span class="pl-s"> Ignoring numpy: markers <span class="pl-pds">'</span></span>python_version == <span class="pl-s"><span class="pl-pds">"</span>3.8<span class="pl-pds">"</span></span> and platform_machine == <span class="pl-s"><span class="pl-pds">"</span>arm64<span class="pl-pds">"</span></span> and platform_system == <span class="pl-s"><span class="pl-pds">"</span>Darwin<span class="pl-pds">"</span></span><span class="pl-s"><span class="pl-pds">'</span> don<span class="pl-pds">'</span></span>t match your environment
Ignoring numpy: markers <span class="pl-s"><span class="pl-pds">'</span>python_version == "3.8" and platform_machine == "s390x" and platform_python_implementation != "PyPy"<span class="pl-pds">'</span></span> don<span class="pl-s"><span class="pl-pds">'</span>t match your environment</span>
<span class="pl-s"> Ignoring numpy: markers <span class="pl-pds">'</span></span>python_version == <span class="pl-s"><span class="pl-pds">"</span>3.8<span class="pl-pds">"</span></span> and (platform_machine <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>arm64<span class="pl-pds">"</span></span> or platform_system <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>Darwin<span class="pl-pds">"</span></span>) and platform_machine <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>aarch64<span class="pl-pds">"</span></span> and platform_machine <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>s390x<span class="pl-pds">"</span></span> and platform_python_implementation <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>PyPy<span class="pl-pds">"</span></span><span class="pl-s"><span class="pl-pds">'</span> don<span class="pl-pds">'</span></span>t match your environment
Ignoring numpy: markers <span class="pl-s"><span class="pl-pds">'</span>python_version == "3.9" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_python_implementation != "PyPy"<span class="pl-pds">'</span></span> don<span class="pl-s"><span class="pl-pds">'</span>t match your environment</span>
<span class="pl-s"> Ignoring numpy: markers <span class="pl-pds">'</span></span>python_version == <span class="pl-s"><span class="pl-pds">"</span>3.10<span class="pl-pds">"</span></span> and platform_python_implementation <span class="pl-k">!</span>= <span class="pl-s"><span class="pl-pds">"</span>PyPy<span class="pl-pds">"</span></span><span class="pl-s"><span class="pl-pds">'</span> don<span class="pl-pds">'</span></span>t match your environment
Ignoring numpy: markers <span class="pl-s"><span class="pl-pds">'</span>python_version >= "3.11"<span class="pl-pds">'</span></span> don<span class="pl-s"><span class="pl-pds">'</span>t match your environment</span>
<span class="pl-s"> Ignoring numpy: markers <span class="pl-pds">'</span></span>python_version <span class="pl-k">></span>= <span class="pl-s"><span class="pl-pds">"</span>3.8<span class="pl-pds">"</span></span> and platform_python_implementation == <span class="pl-s"><span class="pl-pds">"</span>PyPy<span class="pl-pds">"</span></span><span class="pl-s"><span class="pl-pds">'</span> don<span class="pl-pds">'</span></span>t match your environment
Collecting wheel<span class="pl-k"><</span>0.38.0
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting setuptools<span class="pl-k"><</span>60.0.0
Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
Collecting Cython<span class="pl-k"><</span>3.0,<span class="pl-k">></span>=0.29.18
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting pybind<span class="pl-k">11<</span>2.9.0,<span class="pl-k">></span>=2.4.3
Using cached pybind11-2.8.1-py2.py3-none-any.whl (208 kB)
Collecting pythran<span class="pl-k"><</span>0.11.0,<span class="pl-k">></span>=0.10.0
Using cached pythran-0.10.0-py3-none-any.whl (4.3 MB)
Collecting numpy==1.20.0
Using cached numpy-1.20.0.zip (8.0 MB)
Installing build dependencies: started
Installing build dependencies: finished with status <span class="pl-s"><span class="pl-pds">'</span>done<span class="pl-pds">'</span></span>
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status <span class="pl-s"><span class="pl-pds">'</span>done<span class="pl-pds">'</span></span>
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status <span class="pl-s"><span class="pl-pds">'</span>done<span class="pl-pds">'</span></span>
Collecting gast~=0.5.0
Using cached gast-0.5.3-py3-none-any.whl (19 kB)
Collecting ply<span class="pl-k">></span>=3.4
Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting beniget~=0.4.0
Using cached beniget-0.4.1-py3-none-any.whl (9.4 kB)
Building wheels <span class="pl-k">for</span> collected packages: numpy
Building wheel <span class="pl-k">for</span> numpy (pyproject.toml): started
Building wheel <span class="pl-k">for</span> numpy (pyproject.toml): finished with status <span class="pl-s"><span class="pl-pds">'</span>error<span class="pl-pds">'</span></span>
error: subprocess-exited-with-error
× Building wheel <span class="pl-k">for</span> numpy (pyproject.toml) did not run successfully.
│ <span class="pl-c1">exit</span> code: 1
╰─<span class="pl-k">></span> [2223 lines of output]
[... the error is very long but not really relevant <span class="pl-k">for</span> scipy ...]
assert len(base_version) == 2
AssertionError
<span class="pl-c"><span class="pl-c">#</span>########## EXT COMPILER OPTIMIZATION ###########</span>
Platform <span class="pl-c1">:</span>
Architecture: aarch64
Compiler <span class="pl-c1">:</span> clang
CPU baseline <span class="pl-c1">:</span>
Requested <span class="pl-c1">:</span> <span class="pl-s"><span class="pl-pds">'</span>min<span class="pl-pds">'</span></span>
Enabled <span class="pl-c1">:</span> NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags <span class="pl-c1">:</span> none
Extra checks: none
CPU dispatch <span class="pl-c1">:</span>
Requested <span class="pl-c1">:</span> <span class="pl-s"><span class="pl-pds">'</span>max -xop -fma4<span class="pl-pds">'</span></span>
Enabled <span class="pl-c1">:</span> ASIMDHP ASIMDDP
Generated <span class="pl-c1">:</span>
<span class="pl-c1">:</span>
ASIMDHP <span class="pl-c1">:</span> NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags <span class="pl-c1">:</span> -march=armv8.2-a+fp16
Extra checks: none
Detect <span class="pl-c1">:</span> ASIMD ASIMDHP
<span class="pl-c1">:</span> numpy/core/src/umath/_umath_tests.dispatch.c
CCompilerOpt._cache_write[796] <span class="pl-c1">:</span> write cache to path -<span class="pl-k">></span> /private/var/folders/3n/68py6wjs1t7dqlglcvwgvrcr0000gp/T/pip-install-pfa3d0mq/numpy_b0c1897da5564dec984ac45053f20aa5/build/temp.macosx-11-arm64-3.9/ccompiler_opt_cache_ext.py
<span class="pl-c"><span class="pl-c">#</span>########## CLIB COMPILER OPTIMIZATION ###########</span>
Platform <span class="pl-c1">:</span>
Architecture: aarch64
Compiler <span class="pl-c1">:</span> clang
CPU baseline <span class="pl-c1">:</span>
Requested <span class="pl-c1">:</span> <span class="pl-s"><span class="pl-pds">'</span>min<span class="pl-pds">'</span></span>
Enabled <span class="pl-c1">:</span> NEON NEON_FP16 NEON_VFPV4 ASIMD
Flags <span class="pl-c1">:</span> none
Extra checks: none
CPU dispatch <span class="pl-c1">:</span>
Requested <span class="pl-c1">:</span> <span class="pl-s"><span class="pl-pds">'</span>max -xop -fma4<span class="pl-pds">'</span></span>
Enabled <span class="pl-c1">:</span> ASIMDHP ASIMDDP
Generated <span class="pl-c1">:</span> none
CCompilerOpt._cache_write[796] <span class="pl-c1">:</span> write cache to path -<span class="pl-k">></span> /private/var/folders/3n/68py6wjs1t7dqlglcvwgvrcr0000gp/T/pip-install-pfa3d0mq/numpy_b0c1897da5564dec984ac45053f20aa5/build/temp.macosx-11-arm64-3.9/ccompiler_opt_cache_clib.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel <span class="pl-k">for</span> numpy
Failed to build numpy
ERROR: Could not build wheels <span class="pl-k">for</span> numpy, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error</pre></div>
<h3 dir="auto">SciPy/NumPy/Python version information</h3>
<p dir="auto">scipy 1.8.0, numpy 1.22.3, python 3.9.9</p> | <p dir="auto">I'm trying to use pip to install scipy (python 3.10.2 and two different commands as visible in the terminal output) and I get a litany of errors instead of it actually installing. I don't quite know what more information would be desired - I'm on Big Sur on a 2020 M1 if that helps.</p>
<p dir="auto"><a href="https://github.com/scipy/scipy/files/8343493/Terminal.Saved.Output.txt">Terminal Saved Output.txt</a></p> | 1 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10190995/9747535/ffa61854-5632-11e5-9065-8c8be9936b7e.png"><img width="1440" alt="screen shot 2015-09-08 at 2 07 13 pm" src="https://cloud.githubusercontent.com/assets/10190995/9747535/ffa61854-5632-11e5-9065-8c8be9936b7e.png" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/10190995/9747556/1a00305e-5633-11e5-9144-25098dd47538.png"><img width="1440" alt="screen shot 2015-09-08 at 2 08 27 pm" src="https://cloud.githubusercontent.com/assets/10190995/9747556/1a00305e-5633-11e5-9144-25098dd47538.png" style="max-width: 100%;"></a><br>
Images:<br>
Single quotes do not work, but double quotes work. From my understanding it should not matter which quotes are used.</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-bring-your-javascript-slot-machine-to-life</a> has an issue.</p>
<p dir="auto">The second condition for this challenge:</p>
<blockquote>
<p dir="auto">You should have used the the selector given in the description to select each slot and assign it the value of slotOne, slotTwo and slotThree respectively</p>
</blockquote>
<p dir="auto">The selector in the description:</p>
<blockquote>
<p dir="auto"><code class="notranslate">$($(".slot")[0]).html(slotOne);</code></p>
</blockquote>
<p dir="auto">The condition passes when you use double quotes in the selector per the description:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$($(".slot")[0]).html(slotOne);
$($(".slot")[1]).html(slotTwo);
$($(".slot")[2]).html(slotThree);"><pre class="notranslate"><code class="notranslate">$($(".slot")[0]).html(slotOne);
$($(".slot")[1]).html(slotTwo);
$($(".slot")[2]).html(slotThree);</code></pre></div>
<p dir="auto">It fails with single quotes:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$($('.slot')[0]).html(slotOne);
$($('.slot')[1]).html(slotTwo);
$($('.slot')[2]).html(slotThree);"><pre class="notranslate"><code class="notranslate">$($('.slot')[0]).html(slotOne);
$($('.slot')[1]).html(slotTwo);
$($('.slot')[2]).html(slotThree);</code></pre></div>
<p dir="auto">Maybe we are trying to conform to the <a href="https://contribute.jquery.org/style-guide/js/#quotes" rel="nofollow">jQuery JavaScript Style Guide</a>? Still, both seem to be valid JavaScript. Indeed, the challenge immediately following this one uses single quotes for the selector in the description and passes with either single or double quotes.</p>
<blockquote>
<p dir="auto">Waypoint: Give your JavaScript Slot Machine some stylish images</p>
<p dir="auto"><code class="notranslate">$($('.slot')[0]).html('<img src = "' + images[slotOne-1] + '">');</code></p>
</blockquote>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/416065/9425864/a9082620-48e7-11e5-889b-d501aabc1d4f.png"><img src="https://cloud.githubusercontent.com/assets/416065/9425864/a9082620-48e7-11e5-889b-d501aabc1d4f.png" alt="39-fail" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/416065/9425863/a907b776-48e7-11e5-86d7-a1e81552de41.png"><img src="https://cloud.githubusercontent.com/assets/416065/9425863/a907b776-48e7-11e5-86d7-a1e81552de41.png" alt="39-pass" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">The picture in tf.gather is wrong. It is P_5 in the <code class="notranslate">params</code> that should point to P_5 in <code class="notranslate">indices</code>.</p> | <p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No, using stock tensorflow</li>
<li>Python version: 2.7</li>
<li>Bazel version (if compiling from source): 0.22.0</li>
<li>GCC/Compiler version (if compiling from source): gcc version 8.2.0 (Debian 8.2.0-20)</li>
<li>CUDA/cuDNN version: No</li>
<li>GPU model and memory: No</li>
</ul>
<p dir="auto">== cat /etc/issue ===============================================<br>
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115886302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1">#1</a> SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux<br>
VERSION="18.04.1 LTS (Bionic Beaver)"<br>
VERSION_ID="18.04"<br>
VERSION_CODENAME=bionic</p>
<p dir="auto">== are we in docker =============================================<br>
No</p>
<p dir="auto">== compiler =====================================================<br>
c++ (Ubuntu 8.2.0-1ubuntu2~18.04) 8.2.0<br>
Copyright (C) 2018 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p dir="auto">== uname -a ImportError: cannot import name cloud=====================================================<br>
Linux rockpro64 4.4.132-1075-rockchip-ayufan-ga83beded8524 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115886302" data-permission-text="Title is private" data-url="https://github.com/tensorflow/tensorflow/issues/1" data-hovercard-type="issue" data-hovercard-url="/tensorflow/tensorflow/issues/1/hovercard" href="https://github.com/tensorflow/tensorflow/issues/1">#1</a> SMP Thu Jul 26 08:22:22 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux</p>
<p dir="auto">== check pips ===================================================<br>
numpy 1.16.1<br>
protobuf 3.6.1<br>
tensorflow 1.12.0<br>
tensorflow-aarch64 1.2<br>
tensorflow-estimator 1.13.0rc0</p>
<p dir="auto">== check for virtualenv =========================================<br>
False</p>
<p dir="auto">== tensorflow import ============================================<br>
Limited tf.compat.v2.summary API due to missing TensorBoard installation<br>
tf.VERSION = 1.12.0<br>
tf.GIT_VERSION = v1.12.0-8122-g7328add9da<br>
tf.COMPILER_VERSION = v1.12.0-8122-g7328add9da<br>
Sanity check: array([1], dtype=int32)</p>
<p dir="auto">== env ==========================================================<br>
LD_LIBRARY_PATH is unset<br>
DYLD_LIBRARY_PATH is unset</p>
<p dir="auto">== nvidia-smi ===================================================<br>
./tf_env_collect.sh: line 105: nvidia-smi: command not found</p>
<p dir="auto">== cuda libs ===================================================</p>
<p dir="auto">rock64@rockpro64:~/Documents$ python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"<br>
<strong>('v1.12.0-8122-g7328add9da', '1.12.0')</strong></p>
<p dir="auto">following is the error. NO module name cloud.</p>
<p dir="auto">File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/lazy_loader.py", line 44, in _load<br>
module = importlib.import_module(self.<strong>name</strong>)<br>
File "/usr/lib/python2.7/importlib/<strong>init</strong>.py", line 37, in import_module<br>
<strong>import</strong>(name)<br>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/<strong>init</strong>.py", line 31, in <br>
from tensorflow.contrib import cloud<br>
<strong>ImportError: cannot import name cloud</strong></p> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto">When plotting and saving a lot of spectrograms in a loop, there seems to be a memory leek. I'm aware that this is some kind of a common problem and I tried already all kind of combinations of plotting the figure new every step, reusing the figure, using plt.close(), plt.close('fig'), gc.collect(), plt.clf(), plt.cla(), but nothing really worked.<br>
Interestingly, I could pinpoint that the leak does not appear or at least gets negligible when the yscale is not 'log'. Can someone give me a work around or has an idea how to set the axis to log without suffering the memory leak?</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 gc
import psutil
import os
import matplotlib.pyplot as plt
import numpy as np
process = psutil.Process(os.getpid())
# initial memory usage
bytes_used_start = process.memory_info().rss
# generate 10 min data
fs = 20000
x = np.random.rand(fs*600)
for i in range(10):
# create figure
fig = plt.figure(figsize=(10,6))
ax = fig.add_axes([0, 0, 1, 1])
# plot spectrogram
spectro, freqs, t, im = ax.specgram(
x=x,
NFFT=2**13,
Fs=fs
)
ax.axes.set_ylim((9.8,10000))
#ax.axes.set_yscale('log') # -> comment this line in for memory leak
fig.savefig('C:/Temp/spectro_{}.jpg'.format(i))
# clean up
plt.close(fig)
gc.collect()
# show memory usage
bytes_used_cur = process.memory_info().rss - bytes_used_start
print('bytes used currently at step {} : {}'.format(i, bytes_used_cur))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">gc</span>
<span class="pl-k">import</span> <span class="pl-s1">psutil</span>
<span class="pl-k">import</span> <span class="pl-s1">os</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-s1">process</span> <span class="pl-c1">=</span> <span class="pl-s1">psutil</span>.<span class="pl-v">Process</span>(<span class="pl-s1">os</span>.<span class="pl-en">getpid</span>())
<span class="pl-c"># initial memory usage</span>
<span class="pl-s1">bytes_used_start</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span>.<span class="pl-en">memory_info</span>().<span class="pl-s1">rss</span>
<span class="pl-c"># generate 10 min data</span>
<span class="pl-s1">fs</span> <span class="pl-c1">=</span> <span class="pl-c1">20000</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-s1">fs</span><span class="pl-c1">*</span><span class="pl-c1">600</span>)
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>):
<span class="pl-c"># create figure</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">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">10</span>,<span class="pl-c1">6</span>))
<span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_axes</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-c"># plot spectrogram</span>
<span class="pl-s1">spectro</span>, <span class="pl-s1">freqs</span>, <span class="pl-s1">t</span>, <span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">ax</span>.<span class="pl-en">specgram</span>(
<span class="pl-s1">x</span><span class="pl-c1">=</span><span class="pl-s1">x</span>,
<span class="pl-v">NFFT</span><span class="pl-c1">=</span><span class="pl-c1">2</span><span class="pl-c1">**</span><span class="pl-c1">13</span>,
<span class="pl-v">Fs</span><span class="pl-c1">=</span><span class="pl-s1">fs</span>
)
<span class="pl-s1">ax</span>.<span class="pl-s1">axes</span>.<span class="pl-en">set_ylim</span>((<span class="pl-c1">9.8</span>,<span class="pl-c1">10000</span>))
<span class="pl-c">#ax.axes.set_yscale('log') # -> comment this line in for memory leak</span>
<span class="pl-s1">fig</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'C:/Temp/spectro_{}.jpg'</span>.<span class="pl-en">format</span>(<span class="pl-s1">i</span>))
<span class="pl-c"># clean up</span>
<span class="pl-s1">plt</span>.<span class="pl-en">close</span>(<span class="pl-s1">fig</span>)
<span class="pl-s1">gc</span>.<span class="pl-en">collect</span>()
<span class="pl-c"># show memory usage</span>
<span class="pl-s1">bytes_used_cur</span> <span class="pl-c1">=</span> <span class="pl-s1">process</span>.<span class="pl-en">memory_info</span>().<span class="pl-s1">rss</span> <span class="pl-c1">-</span> <span class="pl-s1">bytes_used_start</span>
<span class="pl-en">print</span>(<span class="pl-s">'bytes used currently at step {} : {}'</span>.<span class="pl-en">format</span>(<span class="pl-s1">i</span>, <span class="pl-s1">bytes_used_cur</span>))</pre></div>
<p dir="auto"><strong>Outcome yscale linear</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bytes used currently at step 0 : 256192512
bytes used currently at step 1 : 257204224
bytes used currently at step 2 : 257437696
bytes used currently at step 3 : 257343488
bytes used currently at step 4 : 257519616
bytes used currently at step 5 : 257581056
bytes used currently at step 6 : 257515520
bytes used currently at step 7 : 257581056
bytes used currently at step 8 : 257449984
bytes used currently at step 9 : 257585152"><pre class="notranslate"><code class="notranslate">bytes used currently at step 0 : 256192512
bytes used currently at step 1 : 257204224
bytes used currently at step 2 : 257437696
bytes used currently at step 3 : 257343488
bytes used currently at step 4 : 257519616
bytes used currently at step 5 : 257581056
bytes used currently at step 6 : 257515520
bytes used currently at step 7 : 257581056
bytes used currently at step 8 : 257449984
bytes used currently at step 9 : 257585152
</code></pre></div>
<p dir="auto"><strong>Outcome yscale log</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bytes used currently at step 0 : 42557440
bytes used currently at step 1 : 83501056
bytes used currently at step 2 : 122126336
bytes used currently at step 3 : 161177600
bytes used currently at step 4 : 199602176
bytes used currently at step 5 : 238022656
bytes used currently at step 6 : 276516864
bytes used currently at step 7 : 314994688
bytes used currently at step 8 : 353480704
bytes used currently at step 9 : 391954432"><pre class="notranslate"><code class="notranslate">bytes used currently at step 0 : 42557440
bytes used currently at step 1 : 83501056
bytes used currently at step 2 : 122126336
bytes used currently at step 3 : 161177600
bytes used currently at step 4 : 199602176
bytes used currently at step 5 : 238022656
bytes used currently at step 6 : 276516864
bytes used currently at step 7 : 314994688
bytes used currently at step 8 : 353480704
bytes used currently at step 9 : 391954432
</code></pre></div>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Windows 7</li>
<li>Matplotlib version: '3.1.3'</li>
<li>Matplotlib backend: Qt5Agg</li>
<li>Python version: 3.7.4</li>
</ul> | <p dir="auto">matplotlib seems to leak memory when I switch to log scale on the Y axis, for the functions <code class="notranslate">pcolorfast</code>, <code class="notranslate">pcolormesh</code>, <code class="notranslate">imshow</code> and <code class="notranslate">specgram</code></p>
<p dir="auto">Please consider the following spectrogram animation (sorry for the extra dependencies to <code class="notranslate">scipy</code>)</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from scipy.signal.spectral import spectrogram
from scipy.signal.waveforms import chirp
import matplotlib.animation as animation
import matplotlib.pyplot as plt
import numpy as np
fs = 8000 # sampling rate
t = np.arange(0, 5.0, 1/fs) # 5 seconds of time
fig, axes = plt.subplots(nrows=1)
def signal(t): # generates a "chirp" signal
return chirp(t = t, f0 = 100.0, f1 = 3000.0, t1 = 10.0)
def spect(x): # computes spectrogram
freq, time, Sxx = spectrogram(x, fs = fs, nfft = 1024, noverlap = 512, nperseg = 1024)
Z = 10 * np.log10(Sxx)
return freq, time, Z
y = signal(t)
freq, time, Z = spect(y)
im = axes.pcolorfast(time, freq, Z)
axes.set_xlabel('t [s]')
axes.set_ylabel('f [Hz]')
axes.set_yscale('log') # <-- exposes the leak
axes.set_ylim(0, fs/2)
def animate(i):
y = signal(t + i/30.0) # sliding temporal window
freq, time, Z = spect(y)
im.set_data(Z)
return [ im ]
ani = animation.FuncAnimation(fig, animate, np.arange(1, 200),
interval=0, blit=True)
plt.show()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">signal</span>.<span class="pl-s1">spectral</span> <span class="pl-k">import</span> <span class="pl-s1">spectrogram</span>
<span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">signal</span>.<span class="pl-s1">waveforms</span> <span class="pl-k">import</span> <span class="pl-s1">chirp</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">animation</span> <span class="pl-k">as</span> <span class="pl-s1">animation</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-s1">fs</span> <span class="pl-c1">=</span> <span class="pl-c1">8000</span> <span class="pl-c"># sampling rate</span>
<span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">0</span>, <span class="pl-c1">5.0</span>, <span class="pl-c1">1</span><span class="pl-c1">/</span><span class="pl-s1">fs</span>) <span class="pl-c"># 5 seconds of time</span>
<span class="pl-s1">fig</span>, <span class="pl-s1">axes</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">subplots</span>(<span class="pl-s1">nrows</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)
<span class="pl-k">def</span> <span class="pl-en">signal</span>(<span class="pl-s1">t</span>): <span class="pl-c"># generates a "chirp" signal</span>
<span class="pl-k">return</span> <span class="pl-en">chirp</span>(<span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s1">t</span>, <span class="pl-s1">f0</span> <span class="pl-c1">=</span> <span class="pl-c1">100.0</span>, <span class="pl-s1">f1</span> <span class="pl-c1">=</span> <span class="pl-c1">3000.0</span>, <span class="pl-s1">t1</span> <span class="pl-c1">=</span> <span class="pl-c1">10.0</span>)
<span class="pl-k">def</span> <span class="pl-en">spect</span>(<span class="pl-s1">x</span>): <span class="pl-c"># computes spectrogram</span>
<span class="pl-s1">freq</span>, <span class="pl-s1">time</span>, <span class="pl-v">Sxx</span> <span class="pl-c1">=</span> <span class="pl-en">spectrogram</span>(<span class="pl-s1">x</span>, <span class="pl-s1">fs</span> <span class="pl-c1">=</span> <span class="pl-s1">fs</span>, <span class="pl-s1">nfft</span> <span class="pl-c1">=</span> <span class="pl-c1">1024</span>, <span class="pl-s1">noverlap</span> <span class="pl-c1">=</span> <span class="pl-c1">512</span>, <span class="pl-s1">nperseg</span> <span class="pl-c1">=</span> <span class="pl-c1">1024</span>)
<span class="pl-v">Z</span> <span class="pl-c1">=</span> <span class="pl-c1">10</span> <span class="pl-c1">*</span> <span class="pl-s1">np</span>.<span class="pl-en">log10</span>(<span class="pl-v">Sxx</span>)
<span class="pl-k">return</span> <span class="pl-s1">freq</span>, <span class="pl-s1">time</span>, <span class="pl-v">Z</span>
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-en">signal</span>(<span class="pl-s1">t</span>)
<span class="pl-s1">freq</span>, <span class="pl-s1">time</span>, <span class="pl-v">Z</span> <span class="pl-c1">=</span> <span class="pl-en">spect</span>(<span class="pl-s1">y</span>)
<span class="pl-s1">im</span> <span class="pl-c1">=</span> <span class="pl-s1">axes</span>.<span class="pl-en">pcolorfast</span>(<span class="pl-s1">time</span>, <span class="pl-s1">freq</span>, <span class="pl-v">Z</span>)
<span class="pl-s1">axes</span>.<span class="pl-en">set_xlabel</span>(<span class="pl-s">'t [s]'</span>)
<span class="pl-s1">axes</span>.<span class="pl-en">set_ylabel</span>(<span class="pl-s">'f [Hz]'</span>)
<span class="pl-s1">axes</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">'log'</span>) <span class="pl-c"># <-- exposes the leak</span>
<span class="pl-s1">axes</span>.<span class="pl-en">set_ylim</span>(<span class="pl-c1">0</span>, <span class="pl-s1">fs</span><span class="pl-c1">/</span><span class="pl-c1">2</span>)
<span class="pl-k">def</span> <span class="pl-en">animate</span>(<span class="pl-s1">i</span>):
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-en">signal</span>(<span class="pl-s1">t</span> <span class="pl-c1">+</span> <span class="pl-s1">i</span><span class="pl-c1">/</span><span class="pl-c1">30.0</span>) <span class="pl-c"># sliding temporal window</span>
<span class="pl-s1">freq</span>, <span class="pl-s1">time</span>, <span class="pl-v">Z</span> <span class="pl-c1">=</span> <span class="pl-en">spect</span>(<span class="pl-s1">y</span>)
<span class="pl-s1">im</span>.<span class="pl-en">set_data</span>(<span class="pl-v">Z</span>)
<span class="pl-k">return</span> [ <span class="pl-s1">im</span> ]
<span class="pl-s1">ani</span> <span class="pl-c1">=</span> <span class="pl-s1">animation</span>.<span class="pl-v">FuncAnimation</span>(<span class="pl-s1">fig</span>, <span class="pl-s1">animate</span>, <span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">1</span>, <span class="pl-c1">200</span>),
<span class="pl-s1">interval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">blit</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto">Everything stays stable if I stick to linear scale on the Y axis, commenting out the line</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="axes.set_yscale('log')"><pre class="notranslate"><span class="pl-s1">axes</span>.<span class="pl-en">set_yscale</span>(<span class="pl-s">'log'</span>)</pre></div>
<p dir="auto">I can reproduce it with matplotlib <code class="notranslate">3.1.1</code> (via <code class="notranslate">pip</code>) and previous versions (tested with <code class="notranslate">3.0.2</code> from system-wide Debian testing package). Also I am using <code class="notranslate">Qt5Agg</code> backend and <code class="notranslate">python 3.7.5rc1</code></p> | 1 |
<p dir="auto">I have successfully run Android Demo with Tiny Yolo (<em>graph-tiny-yolo-voc.pb</em> - 60mb),:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" private static final String YOLO_MODEL_FILE = "file:///android_asset/graph-yolo-voc.pb";
private static final int YOLO_INPUT_SIZE = 416;
private static final String YOLO_INPUT_NAME = "input";
private static final String YOLO_OUTPUT_NAMES = "output";
private static final int YOLO_BLOCK_SIZE = 32;
private static final boolean USE_YOLO = true;"><pre class="notranslate"><code class="notranslate"> private static final String YOLO_MODEL_FILE = "file:///android_asset/graph-yolo-voc.pb";
private static final int YOLO_INPUT_SIZE = 416;
private static final String YOLO_INPUT_NAME = "input";
private static final String YOLO_OUTPUT_NAMES = "output";
private static final int YOLO_BLOCK_SIZE = 32;
private static final boolean USE_YOLO = true;
</code></pre></div>
<p dir="auto">I also decided to try Yolo 2 (<em>graph-yolo-voc.pb</em> - 193mb),<br>
but I get <em>OutOfMemoryError</em> when I run <em>TF Detect</em><br>
My phone has 3 GB of RAM<br>
But I know that is just android java limit and has nothing to do with current available/free memory<br>
and we can use NDK to bypass this limit.</p>
<p dir="auto">I also tried to run with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <activity android:name="org.tensorflow.demo.DetectorActivity"
android:largeHeap="true""><pre class="notranslate"><code class="notranslate"> <activity android:name="org.tensorflow.demo.DetectorActivity"
android:largeHeap="true"
</code></pre></div>
<p dir="auto">but didn't help</p>
<p dir="auto">And also:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<activity android:name="org.tensorflow.demo.DetectorActivity"
android:largeHeap="true"
android:hardwareAccelerated="false""><pre class="notranslate"><code class="notranslate"><activity android:name="org.tensorflow.demo.DetectorActivity"
android:largeHeap="true"
android:hardwareAccelerated="false"
</code></pre></div>
<p dir="auto">App runs ok, but nothing happens, it just shows black screen, no camera frames..</p>
<p dir="auto">Is there a way to run app with big .pb files?<br>
<em>TensorFlowInferenceInterface</em> needs <em>AssetManager</em> and <em>string file name</em>, then I guess it just uses default java IO to read file,<br>
mb it's better to process all of this with NDK somehow?</p> | <p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 Home</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No</li>
<li>TensorFlow installed from (source or binary): Source</li>
<li>TensorFlow version: 1.11</li>
<li>Python version: 3.6</li>
<li>Installed using virtualenv? pip? conda?: virtualenv</li>
<li>Bazel version (if compiling from source): 0.17.2</li>
<li>GCC/Compiler version (if compiling from source): MSVC 2015</li>
<li>CUDA/cuDNN version: cuda 10.0,cudnn 7.3.1,compute 6.1</li>
<li>GPU model and memory: GTX 1060 6GB GDDR6</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong></p>
<p dir="auto">My GPU is only recognized by CUDA 10 that is the reason i am trying to build it from source but every time i get the same error.</p>
<p dir="auto"><strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong></p>
<ol dir="auto">
<li>python ./configure.py</li>
<li>Do you wish to build TensorFlow with nGraph support? [y/N]: n</li>
<li>Do you wish to build TensorFlow with CUDA support? [y/N]: y</li>
<li>Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]: 10.0</li>
<li>Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7.0]: 7.3.1</li>
<li>Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 3.5, 7.0]: 6.1</li>
<li>Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is /arch:AVX]:</li>
<li>Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]: Y</li>
</ol>
<p dir="auto">Didn't added the steps related to path of python and cuda.</p>
<p dir="auto">bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package</p>
<p dir="auto"><strong>Any other info / logs</strong></p>
<p dir="auto">I have also followed the steps from the below article but in my case whenever i add the patch file it says</p>
<p dir="auto">no such package ‘@eigen_archive//’: Traceback (most recent call last):<br>
File “C:/tensorflow-build/tensorflow/third_party/repo.bzl”, line 106<br>
_apply_patch(ctx, ctx.attr.patch_file)</p>
<p dir="auto">Below is the link of the article that i have referred.</p>
<p dir="auto"><a href="https://medium.com/@amsokol.com/update-1-how-to-build-and-install-tensorflow-gpu-cpu-for-windows-from-source-code-using-bazel-and-c2e86fec9ef2" rel="nofollow">https://medium.com/@amsokol.com/update-1-how-to-build-and-install-tensorflow-gpu-cpu-for-windows-from-source-code-using-bazel-and-c2e86fec9ef2</a></p>
<p dir="auto">ERROR: C:/tensorflow-build/tensorflow/tensorflow/core/kernels/BUILD:4567:1: C++ compilation of rule '//tensorflow/core/kernels:multinomial_op_gpu' failed (Exit 1): msvc_wrapper_for_nvcc.bat failed: error executing command<br>
cd C:/users/biswa/<em>bazel_biswa/j7bi4x5j/execroot/org_tensorflow<br>
SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0<br>
SET CUDNN_INSTALL_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0<br>
SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;<br>
SET LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;<br>
SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;;C:\Windows\system32<br>
SET PWD=/proc/self/cwd<br>
SET PYTHON_BIN_PATH=C:/tensorflow-v1.1/Scripts/python.exe<br>
SET PYTHON_LIB_PATH=C:/tensorflow-v1.1/Lib/site-packages<br>
SET TEMP=C:\Users\biswa\AppData\Local\Temp<br>
SET TF_CUDA_CLANG=0<br>
SET TF_CUDA_COMPUTE_CAPABILITIES=6.1<br>
SET TF_CUDA_VERSION=10.0<br>
SET TF_CUDNN_VERSION=7<br>
SET TF_NEED_CUDA=1<br>
SET TF_NEED_OPENCL_SYCL=0<br>
SET TMP=C:\Users\biswa\AppData\Local\Temp<br>
external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.bat /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Ibazel-out/x64_windows-opt/bin /Iexternal/bazel_tools /Ibazel-out/x64_windows-opt/genfiles/external/bazel_tools /Ibazel-out/x64_windows-opt/bin/external/bazel_tools /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Ibazel-out/x64_windows-opt/bin/external/local_config_sycl /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/nsync /Ibazel-out/x64_windows-opt/genfiles/external/nsync /Ibazel-out/x64_windows-opt/bin/external/nsync /Iexternal/gif_archive /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive /Ibazel-out/x64_windows-opt/bin/external/gif_archive /Iexternal/jpeg /Ibazel-out/x64_windows-opt/genfiles/external/jpeg /Ibazel-out/x64_windows-opt/bin/external/jpeg /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive /Iexternal/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/genfiles/external/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/bin/external/com_googlesource_code_re2 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Iexternal/fft2d /Ibazel-out/x64_windows-opt/genfiles/external/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/highwayhash /Ibazel-out/x64_windows-opt/genfiles/external/highwayhash /Ibazel-out/x64_windows-opt/bin/external/highwayhash /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/snappy /Ibazel-out/x64_windows-opt/genfiles/external/snappy /Ibazel-out/x64_windows-opt/bin/external/snappy /Iexternal/local_config_cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/nsync/public /Ibazel-out/x64_windows-opt/genfiles/external/nsync/public /Ibazel-out/x64_windows-opt/bin/external/nsync/public /Iexternal/gif_archive/lib /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/lib /Ibazel-out/x64_windows-opt/bin/external/gif_archive/lib /Iexternal/gif_archive/windows /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/windows /Ibazel-out/x64_windows-opt/bin/external/gif_archive/windows /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda /Iexternal/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include /Iexternal/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include/crt /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /D__CLANG_SUPPORT_DYN_ANNOTATION</em>_ /DTF_USE_SNAPPY /showIncludes /MD /O2 /DNDEBUG -w /arch:AVX -x cuda -DGOOGLE_CUDA=1 -nvcc_options=relaxed-constexpr -nvcc_options=ftz=true -DGOOGLE_CUDA=1 -DTENSORFLOW_MONOLITHIC_BUILD /DPLATFORM_WINDOWS /DEIGEN_HAS_C99_MATH /DTENSORFLOW_USE_EIGEN_THREADPOOL /DEIGEN_AVOID_STL_ARRAY /Iexternal/gemmlowp /wd4018 /wd4577 /DNOGDI /DTF_COMPILE_LIBRARY /Fobazel-out/x64_windows-opt/bin/tensorflow/core/kernels/_objs/multinomial_op_gpu/multinomial_op_gpu.cu.o /c tensorflow/core/kernels/multinomial_op_gpu.cu.cc<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\eigen\src/Core/util/Memory.h(164): warning: calling a <strong>host</strong> function from a <strong>host</strong> <strong>device</strong> function is not allowed</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\eigen\src/Core/util/Memory.h(179): warning: calling a <strong>host</strong> function from a <strong>host</strong> <strong>device</strong> function is not allowed</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\eigen\src/Core/arch/CUDA/Half.h(212): error: more than one instance of overloaded function "__hadd" matches the argument list:<br>
function "__hadd(int, int)"<br>
function "__hadd(__half, __half)"<br>
argument types are: (const Eigen::half, const Eigen::half)</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\eigen\src/Core/products/Parallelizer.h(20): warning: variable "m_maxThreads" was set but never used</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\eigen\src/Core/ArrayWrapper.h(94): warning: __declspec attributes ignored</p>
<p dir="auto">external/com_google_absl\absl/strings/string_view.h(501): warning: expression has no effect</p>
<p dir="auto">external/protobuf_archive/src\google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign<br>
external/protobuf_archive/src\google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign</p>
<p dir="auto">external/protobuf_archive/src\google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign</p>
<p dir="auto">external/protobuf_archive/src\google/protobuf/map.h(1025): warning: invalid friend declaration</p>
<p dir="auto">.\tensorflow/core/lib/gtl/flatmap.h(157): warning: invalid friend declaration</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
(2096): here<br>
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(34): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"<br>
(2096): here<br>
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(34): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
(2102): here<br>
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(38): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"<br>
(2102): here<br>
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(38): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(2108): here<br>
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(42): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(2108): here<br>
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsHalf.h(42): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
(2096): here<br>
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"<br>
(2096): here<br>
instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
(2102): here<br>
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"<br>
(2102): here<br>
instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(855): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(2108): here<br>
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here</p>
<p dir="auto">c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
detected during:<br>
instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(863): here<br>
instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"<br>
(2108): here<br>
instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"<br>
c:\users\biswa_bazel_biswa\j7bi4x5j\execroot\org_tensorflow\external\eigen_archive\unsupported\eigen\src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here</p>
<p dir="auto">1 error detected in the compilation of "C:/Users/biswa/AppData/Local/Temp/nvcc_inter_files_tmp_dir/multinomial_op_gpu.cu.cpp1.ii".<br>
Target //tensorflow/tools/pip_package:build_pip_package failed to build<br>
INFO: Elapsed time: 452.097s, Critical Path: 198.16s<br>
INFO: 1906 processes: 1906 local.<br>
FAILED: Build did NOT complete successfully</p> | 0 |
<p dir="auto">Example:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class Class1 {
private privateMember;
}
class Class2 implements Class1 {
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">Class1</span> <span class="pl-kos">{</span>
<span class="pl-k">private</span> <span class="pl-c1">privateMember</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">class</span> <span class="pl-smi">Class2</span> <span class="pl-k">implements</span> <span class="pl-smi">Class1</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The compiler says:<br>
<code class="notranslate">Property 'privateMember' is missing in type 'Class2'</code></p>
<p dir="auto">But obviusly a private member never will be part of an interface.</p> | <p dir="auto">Hi, we have a requirement to create mocks of real classes defined in code. The exact requirements are</p>
<ul dir="auto">
<li>A specific mock should define the public API of the real class.</li>
<li>If the public API of the real class changes in any way then the compiler should detect the corresponding breakage in the mock class.</li>
</ul>
<p dir="auto">A possible solution might be as follows:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="declare var fileWriter: any;
// Real class
class Foo {
public writeToFile(){
fileWriter.writeToFile('');
}
}
// Mock
class MockFoo implements Foo {
public writeToFile(){
// do nothing
}
}"><pre class="notranslate"><span class="pl-k">declare</span> <span class="pl-k">var</span> <span class="pl-s1">fileWriter</span>: <span class="pl-smi">any</span><span class="pl-kos">;</span>
<span class="pl-c">// Real class</span>
<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-en">writeToFile</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-s1">fileWriter</span><span class="pl-kos">.</span><span class="pl-en">writeToFile</span><span class="pl-kos">(</span><span class="pl-s">''</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Mock</span>
<span class="pl-k">class</span> <span class="pl-smi">MockFoo</span> <span class="pl-k">implements</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-en">writeToFile</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
<span class="pl-c">// do nothing</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">This appears to solve the problem because changing <code class="notranslate">Foo.writeToFile</code> will trigger a compilation error along the lines of "Class MockFoo declares interface Foo but does not implement it..."</p>
<p dir="auto">The problem with this approach is that <code class="notranslate">class Foo</code> is not permitted to have any private methods or fields. If we were to add a private method <code class="notranslate">foo()</code> to <code class="notranslate">class Foo</code> then it's no longer possible for <code class="notranslate">MockFoo</code> to implement <code class="notranslate">Foo</code> because the compiler doesn't permit it.</p>
<p dir="auto">I suggest that when a class implements another class the implementing class be allowed to ignore the private fields and methods (both static and instance) of the implementee.</p>
<p dir="auto">(I am aware that there are workarounds, such as declaring an interface that both <code class="notranslate">Foo</code> and <code class="notranslate">MockFoo</code> implement, but that introduces an unnecessary maintenance overhead.)</p> | 1 |
<p dir="auto">Hi,<br>
There's a problem when i want to remove directories retrieved by finder instance. The problem is that the directory is successfully deleted but there was an exception generated after that:</p>
<p dir="auto">RecursiveDirectoryIterator::__construct(/home/fattouch/NordnetProjects/diamant/app/../web/data/tmp/in/email/attachments): failed to open dir: No such file or directory</p> | <p dir="auto">When you access the \Symfony\Component\Serializer\Normalizer\AbstractNormalizer::getAllowedAttributes method with <code class="notranslate">$attributesAsString = false</code>, you run into the following issue:</p>
<blockquote>
<p dir="auto">Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException' with message 'Catchable Fatal Error: Object of class Symfony\Component\Serializer\Mapping\AttributeMetadata could not be converted to string' in <a href="https://github.com/symfony/serializer/blob/master/Normalizer/AbstractNormalizer.php#L207">.../Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php:207</a></p>
</blockquote>
<p dir="auto">This is due to the fact that <strong>array_unique</strong> can only be used with arrays of scalars. As it includes instances of <code class="notranslate">AttributeMetadataInterface</code>, we get the exception.</p>
<p dir="auto">Why there is no test case throwing this error is due to fact that this method never gets called with <code class="notranslate">$attributesAsString = false</code>. So I would propose to set the default value parameter for the parameter <code class="notranslate">$attributesAsString</code> to <code class="notranslate">true</code> or even remove the possibility to return <code class="notranslate">AttributeMetadataInterface[]</code>. (Because this error occurs, we know that nobody could have ever used this feature.)</p>
<p dir="auto">I could fix this by myself by replacing the line of code with:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" if ($attributesAsString) {
$allowedAttributes = array_unique($allowedAttributes);
}
return $allowedAttributes;"><pre class="notranslate"> <span class="pl-k">if</span> (<span class="pl-s1"><span class="pl-c1">$</span>attributesAsString</span>) {
<span class="pl-s1"><span class="pl-c1">$</span>allowedAttributes</span> = array_unique(<span class="pl-s1"><span class="pl-c1">$</span>allowedAttributes</span>);
}
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>allowedAttributes</span>;</pre></div>
<p dir="auto">Kind regards,<br>
Konstantin</p> | 0 |
<p dir="auto">by <strong>bortzmeyer</strong>:</p>
<pre class="notranslate">Which operating system are you using?
Debian "squeeze"
Which revision are you using? (hg identify)
9b116c4a5f91 tip
Please provide any additional information below.
The function isDomainName actually check that its argument is a valid HOST name, not
that it is a valid DOMAIN name. (URLs use host names, for instance, but not all
protocols do. See RFC 2181, section 11, for a discussion of the difference) Legitimate
domain names like _jabber._tcp.gmail.com yield false.
This is related to bug #1167 but it seems there is no way in the bug tracker to reopen a
closed bug.</pre> | <p dir="auto">by <strong>capnm9</strong>:</p>
<pre class="notranslate">uname -a
Linux rpi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux
A simple app with RPi specific OpenVG bindings:
GOTRACEBACK=3 ./bin/clock
fatal error: malloc/free - deadlock
[signal 0xb code=0x1 addr=0x2f0 pc=0x2d4dc]
goroutine 1 [syscall]:
[fp=0xb6899ee4] return()
/data4/go-bs/src/pkg/runtime/asm_arm.s:275
[fp=0xb6899f0c] runtime.cgocall(0xb861c, 0xb6899f1c)
/data4/go-bs/src/pkg/runtime/cgocall.c:162 +0xec
[fp=0xb6899f18] openvg._Cfunc_init(0x102001a8, 0x102001a0)
openvg/_obj/_cgo_defun.c:328 +0x30
[fp=0xb6899f2c] openvg.Init(0x0, 0x17fac)
openvg/_obj/_cgo_gotypes.go:296 +0x58
[fp=0xb6899fb8] main.main()
/home/pi/s/w/github/capnm/go_rpi/src/clock/clock.go:15 +0x28
[fp=0xb6899fd0] runtime.main()
/data4/go-bs/src/pkg/runtime/proc.c:182 +0x78
[fp=0xb6899fd4] runtime.goexit()
/data4/go-bs/src/pkg/runtime/proc.c:1214
goroutine 2 [syscall]:
runtime.goexit()
/data4/go-bs/src/pkg/runtime/proc.c:1214
goroutine 3 [syscall]:
runtime.entersyscallblock()
/data4/go-bs/src/pkg/runtime/proc.c:1324 +0xc0
runtime.MHeap_Scavenger()
/data4/go-bs/src/pkg/runtime/mheap.c:434 +0xfc
runtime.goexit()
/data4/go-bs/src/pkg/runtime/proc.c:1214
created by runtime.main
/data4/go-bs/src/pkg/runtime/proc.c:165
Unfortunately this commit additionally broke the arm build,
but with the fix applied it appears to be a the
first bad commit:
<a href="https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&" rel="nofollow">https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&</a>;r=97cbf15abc2c18b2616349d1f936cd6e7a584b76
cmd/ld: replace -hostobj with -linkmode
Still disabled. Need to fix TLS.
fix
<a href="https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&" rel="nofollow">https://code.google.com/p/go/source/detail?name=95c3a7bdfb03&</a>;r=31ae6d73fdb0b39373980163598dbad85ba0afb7
strace, gdb, etc.:
<a href="https://github.com/capnm/golang/wiki/bisect-clock-app">https://github.com/capnm/golang/wiki/bisect-clock-app</a></pre> | 0 |
<p dir="auto">Trying to squish the memory leaks reported by valgrind during in the test suit, I noticed that we do not have tp_traverse implemented. There are two things here: First, tp_traverse for the <code class="notranslate">base</code> attribute, and second for object arrays. I guess we should implement both, or is there some reason against object array traversal?</p> | <p dir="auto">Using numpy 1.15.0rc2 wheels, <code class="notranslate">numpy.dot</code> faults with a <code class="notranslate">Bus error: 10</code> if the call is made from a non main thread which is not a 'Python native' thread; in particular a Qt5 <code class="notranslate">QThreadPool</code>'s managed thread (via PyQt5).</p>
<p dir="auto">Code</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
from PyQt5.QtCore import QRunnable, QThreadPool
pool = QThreadPool.globalInstance()
class Runnable(QRunnable):
def __init__(self, target):
super().__init__()
self._target = target
def run(self):
self._target()
A = np.random.rand(150, 100)
B = np.random.rand(100, 1000)
rs = []
for i in range(10):
def run():
np.dot(A, B)
r = Runnable(run)
pool.start(r)
rs.append(r)
pool.waitForDone()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">from</span> <span class="pl-v">PyQt5</span>.<span class="pl-v">QtCore</span> <span class="pl-k">import</span> <span class="pl-v">QRunnable</span>, <span class="pl-v">QThreadPool</span>
<span class="pl-s1">pool</span> <span class="pl-c1">=</span> <span class="pl-v">QThreadPool</span>.<span class="pl-en">globalInstance</span>()
<span class="pl-k">class</span> <span class="pl-v">Runnable</span>(<span class="pl-v">QRunnable</span>):
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">target</span>):
<span class="pl-en">super</span>().<span class="pl-en">__init__</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">_target</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span>
<span class="pl-k">def</span> <span class="pl-en">run</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">self</span>.<span class="pl-en">_target</span>()
<span class="pl-v">A</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">150</span>, <span class="pl-c1">100</span>)
<span class="pl-v">B</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">100</span>, <span class="pl-c1">1000</span>)
<span class="pl-s1">rs</span> <span class="pl-c1">=</span> []
<span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-en">range</span>(<span class="pl-c1">10</span>):
<span class="pl-k">def</span> <span class="pl-en">run</span>():
<span class="pl-s1">np</span>.<span class="pl-en">dot</span>(<span class="pl-v">A</span>, <span class="pl-v">B</span>)
<span class="pl-s1">r</span> <span class="pl-c1">=</span> <span class="pl-v">Runnable</span>(<span class="pl-s1">run</span>)
<span class="pl-s1">pool</span>.<span class="pl-en">start</span>(<span class="pl-s1">r</span>)
<span class="pl-s1">rs</span>.<span class="pl-en">append</span>(<span class="pl-s1">r</span>)
<span class="pl-s1">pool</span>.<span class="pl-en">waitForDone</span>()</pre></div>
<p dir="auto">This faults in:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Thread 4 Crashed:: Thread (pooled)
0 libopenblasp-r0.3.0.dev.dylib 0x000000010fc443c2 dgemm_thread_nn + 1490
1 libopenblasp-r0.3.0.dev.dylib 0x000000010fb15e26 cblas_dgemm + 854
2 multiarray.cpython-36m-darwin.so 0x000000010f9aa265 cblas_matrixproduct + 4917
3 multiarray.cpython-36m-darwin.so 0x000000010f96fd27 PyArray_MatrixProduct2 + 215
4 multiarray.cpython-36m-darwin.so 0x000000010f974d1f array_matrixproduct + 191
5 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461"><pre class="notranslate"><code class="notranslate">Thread 4 Crashed:: Thread (pooled)
0 libopenblasp-r0.3.0.dev.dylib 0x000000010fc443c2 dgemm_thread_nn + 1490
1 libopenblasp-r0.3.0.dev.dylib 0x000000010fb15e26 cblas_dgemm + 854
2 multiarray.cpython-36m-darwin.so 0x000000010f9aa265 cblas_matrixproduct + 4917
3 multiarray.cpython-36m-darwin.so 0x000000010f96fd27 PyArray_MatrixProduct2 + 215
4 multiarray.cpython-36m-darwin.so 0x000000010f974d1f array_matrixproduct + 191
5 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461
</code></pre></div>
<details><summary>(the full report)</summary>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Process: Python [11650]
Path: /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.6.5 (3.6.5)
Code Type: X86-64 (Native)
Parent Process: bash [23859]
Responsible: Terminal [505]
User ID: 501
Date/Time: 2018-07-11 15:16:20.098 +0200
OS Version: Mac OS X 10.11.6 (15G20015)
Report Version: 11
Anonymous UUID: 6B468A1E-8CB4-EC03-324B-AA83B1B93698
Sleep/Wake UUID: 850D839F-C482-4814-9D32-8C614C762A56
Time Awake Since Boot: 1300000 seconds
Time Since Wake: 7800 seconds
System Integrity Protection: enabled
Crashed Thread: 4 Thread (pooled)
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000700000189250
VM Regions Near 0x700000189250:
Stack 0000700000107000-0000700000189000 [ 520K] rw-/rwx SM=COW thread 4
--> Stack Guard 0000700000189000-000070000018a000 [ 4K] ---/rwx SM=NUL
Stack 000070000018a000-000070000020c000 [ 520K] rw-/rwx SM=COW
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 org.qt-project.QtCore 0x000000011b00126b 0x11afd1000 + 197227
3 org.qt-project.QtCore 0x000000011b001202 QWaitCondition::wait(QMutex*, unsigned long) + 162
4 org.qt-project.QtCore 0x000000011aff8269 QThreadPoolPrivate::waitForDone(int) + 217
5 org.qt-project.QtCore 0x000000011aff87c3 QThreadPool::waitForDone(int) + 19
6 QtCore.so 0x000000011adfa8fa meth_QThreadPool_waitForDone(_object*, _object*, _object*) + 138
7 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461
8 org.python.python 0x000000010f0dc52c call_function + 562
9 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
10 org.python.python 0x000000010f0dcd09 _PyEval_EvalCodeWithName + 1910
11 org.python.python 0x000000010f0d2f8a PyEval_EvalCode + 100
12 org.python.python 0x000000010f0fd6cd run_mod + 58
13 org.python.python 0x000000010f0fc709 PyRun_FileExFlags + 178
14 org.python.python 0x000000010f0fbfa7 PyRun_SimpleFileExFlags + 668
15 org.python.python 0x000000010f1108b2 Py_Main + 3562
16 org.python.python 0x000000010f028e19 0x10f027000 + 7705
17 libdyld.dylib 0x00007fff906145ad start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 4 Crashed:: Thread (pooled)
0 libopenblasp-r0.3.0.dev.dylib 0x000000010fc443c2 dgemm_thread_nn + 1490
1 libopenblasp-r0.3.0.dev.dylib 0x000000010fb15e26 cblas_dgemm + 854
2 multiarray.cpython-36m-darwin.so 0x000000010f9aa265 cblas_matrixproduct + 4917
3 multiarray.cpython-36m-darwin.so 0x000000010f96fd27 PyArray_MatrixProduct2 + 215
4 multiarray.cpython-36m-darwin.so 0x000000010f974d1f array_matrixproduct + 191
5 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461
6 org.python.python 0x000000010f0dc52c call_function + 562
7 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
8 org.python.python 0x000000010f0dd68e _PyFunction_FastCall + 121
9 org.python.python 0x000000010f0dc506 call_function + 524
10 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
11 org.python.python 0x000000010f0dd68e _PyFunction_FastCall + 121
12 org.python.python 0x000000010f03b2f9 _PyObject_FastCallDict + 218
13 org.python.python 0x000000010f03b418 _PyObject_Call_Prepend + 149
14 org.python.python 0x000000010f03b160 PyObject_Call + 101
15 sip.so 0x000000011b5bb3c9 call_method + 85
16 sip.so 0x000000011b5b7348 sip_api_call_procedure_method + 156
17 QtCore.so 0x000000011add199a sipQRunnable::run() + 90
18 org.qt-project.QtCore 0x000000011aff706e 0x11afd1000 + 155758
19 org.qt-project.QtCore 0x000000011afffc47 0x11afd1000 + 191559
20 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
21 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
22 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000700000189410 rbx: 0x0000000113c7f5d0 rcx: 0x0000000000000000 rdx: 0x0000000000000040
rdi: 0x0000000000000000 rsi: 0x0000700000189410 rbp: 0x0000700000209280 rsp: 0x0000700000185d90
r8: 0x0000000113c7f5d0 r9: 0x0000000000000004 r10: 0x0000000000000000 r11: 0x0000000080000001
r12: 0x0000000000000004 r13: 0x0000000000000000 r14: 0x0000000000000004 r15: 0x0000000100000003
rip: 0x000000010fc443c2 rfl: 0x0000000000010246 cr2: 0x0000700000189250
Logical CPU: 1
Error Code: 0x00000006
Trap Number: 14
Binary Images:
0x10f027000 - 0x10f028fff +org.python.python (3.6.5 - 3.6.5) <EB53A51D-F021-3881-A774-7F674FB767D4> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
0x10f030000 - 0x10f19eff7 +org.python.python (3.6.5, [c] 2001-2018 Python Software Foundation. - 3.6.5) <8938018B-FFD3-3EC8-8E3B-57A890729974> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Python
0x10f748000 - 0x10f749fff +_heapq.cpython-36m-darwin.so (0) <207A05C8-6D79-3216-B504-D85818BF15AC> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_heapq.cpython-36m-darwin.so
0x10f877000 - 0x10f87cfff +math.cpython-36m-darwin.so (0) <FC0F94DF-EAE0-350F-9A6D-AF1CF033AFA4> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so
0x10f882000 - 0x10fa1dff7 +multiarray.cpython-36m-darwin.so (???) <A6528474-A1D8-331E-B38A-D58959B0D485> /Users/USER/*/multiarray.cpython-36m-darwin.so
0x10faf5000 - 0x113c785a7 +libopenblasp-r0.3.0.dev.dylib (0) <EB499C92-1D72-3498-9AD5-088D81B269F9> /Users/USER/*/libopenblasp-r0.3.0.dev.dylib
0x113feb000 - 0x114102ff7 +libgfortran.3.dylib (0) <9ABE5EDE-AD43-391A-9E54-866711FAC32A> /Users/USER/*/libgfortran.3.dylib
0x114166000 - 0x11419cfff +libquadmath.0.dylib (0) <7FFA409F-FB04-3B64-BE9A-3E3A494C975E> /Users/USER/*/libquadmath.0.dylib
0x1141ab000 - 0x1141c0ff7 +libgcc_s.1.dylib (0) <7C6D7CB7-82DB-3290-8181-07646FEA1F80> /Users/USER/*/libgcc_s.1.dylib
0x11a20c000 - 0x11a216ffb +_datetime.cpython-36m-darwin.so (0) <53BCD978-C4F8-359D-B39B-112131D8E232> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_datetime.cpython-36m-darwin.so
0x11a21e000 - 0x11a30bfff +umath.cpython-36m-darwin.so (???) <9D2BC000-EC1B-30A1-9708-099643245C39> /Users/USER/*/umath.cpython-36m-darwin.so
0x11a3d4000 - 0x11a3e3ff7 +_ctypes.cpython-36m-darwin.so (0) <0BD7A3F8-E7E4-39E2-8C8C-01F77A6DD8A7> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so
0x11a3ee000 - 0x11a3f1ffb +_struct.cpython-36m-darwin.so (0) <7BA3282C-88B2-38BA-90FF-459DCBAB2FEB> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_struct.cpython-36m-darwin.so
0x11a479000 - 0x11a485ffb +_pickle.cpython-36m-darwin.so (0) <30EA71A2-414A-385E-9AE6-B8E2CEE0CF10> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_pickle.cpython-36m-darwin.so
0x11a64f000 - 0x11a652fff +zlib.cpython-36m-darwin.so (0) <AF7865F4-2DB7-35B0-B14F-69C9EA113361> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/zlib.cpython-36m-darwin.so
0x11a657000 - 0x11a658fff +_bz2.cpython-36m-darwin.so (0) <243DFE2E-040D-3534-8AEA-C4C14E9C19A2> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_bz2.cpython-36m-darwin.so
0x11a65c000 - 0x11a65fff7 +_lzma.cpython-36m-darwin.so (0) <874DECB9-AEBB-3250-A9F0-CD4E86A02FEB> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_lzma.cpython-36m-darwin.so
0x11a664000 - 0x11a680ffb +liblzma.5.dylib (0) <6AE21824-5738-33EA-A45B-9B0E053B000E> /usr/local/opt/xz/lib/liblzma.5.dylib
0x11a686000 - 0x11a687fff +grp.cpython-36m-darwin.so (0) <97205E7A-2C30-388D-86C4-DF85770EBFC3> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/grp.cpython-36m-darwin.so
0x11a6ca000 - 0x11a6cdfff +_hashlib.cpython-36m-darwin.so (0) <AACDE295-A180-35C7-81FA-11468341D20E> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_hashlib.cpython-36m-darwin.so
0x11a6d1000 - 0x11a70ffff +libssl.1.0.0.dylib (0) <BF697A02-E79F-315D-8B36-1B3CE2AC18FC> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
0x11a72c000 - 0x11a89eabf +libcrypto.1.0.0.dylib (0) <BC03E10B-64B9-3F10-8CE0-A06F8AF86220> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
0x11a916000 - 0x11a91bfff +_blake2.cpython-36m-darwin.so (0) <0600833D-578D-3E34-9361-B807D178877D> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_blake2.cpython-36m-darwin.so
0x11a91f000 - 0x11a92fff3 +_sha3.cpython-36m-darwin.so (0) <E4CBFFAE-A687-37AD-9C2D-AF0F911F8434> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_sha3.cpython-36m-darwin.so
0x11a934000 - 0x11a934fff +_bisect.cpython-36m-darwin.so (0) <FE616CEC-014F-34C7-B44A-A28066FD2E77> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_bisect.cpython-36m-darwin.so
0x11a937000 - 0x11a938fff +_random.cpython-36m-darwin.so (0) <04FBEF05-BFA7-371D-94DC-29D1EA08FA61> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_random.cpython-36m-darwin.so
0x11a9bb000 - 0x11a9bcff7 +lapack_lite.cpython-36m-darwin.so (???) <22695BE8-E0F6-326D-B258-E878FBB2C31D> /Users/USER/*/lapack_lite.cpython-36m-darwin.so
0x11a9c0000 - 0x11a9dbff7 +_umath_linalg.cpython-36m-darwin.so (???) <E7251325-D9B2-3D6D-A831-780B4D7C2CC0> /Users/USER/*/_umath_linalg.cpython-36m-darwin.so
0x11aaba000 - 0x11aae5ff3 +_decimal.cpython-36m-darwin.so (0) <B93149A1-B3A7-343E-88E7-B5AD6A6CF365> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_decimal.cpython-36m-darwin.so
0x11ab38000 - 0x11ab48ff7 +_multiarray_tests.cpython-36m-darwin.so (???) <72F2C6E4-3DD5-3012-BAC8-84CAB2B8F7AF> /Users/USER/*/_multiarray_tests.cpython-36m-darwin.so
0x11ab57000 - 0x11ab60fff +fftpack_lite.cpython-36m-darwin.so (???) <944B3C9C-51C9-3C4E-9FA8-06F289B18519> /Users/USER/*/fftpack_lite.cpython-36m-darwin.so
0x11aba4000 - 0x11ac62fff +mtrand.cpython-36m-darwin.so (???) <F5A7F8C1-BB05-3EE4-913A-6465F855D66E> /Users/USER/*/mtrand.cpython-36m-darwin.so
0x11ad27000 - 0x11ae6cff3 +QtCore.so (0) <B07CD9D2-38EB-33BE-BB52-12E1A6290A05> /usr/local/lib/python3.6/site-packages/PyQt5/QtCore.so
0x11afd1000 - 0x11b4cdfff +org.qt-project.QtCore (5.11 - 5.11.1) <3CE0E6DB-D76A-38D8-ACE5-3E24720E19C8> /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore
0x11b5b2000 - 0x11b5c5fff +sip.so (0) <966E61F2-DDE0-3638-B12F-E86B3F091142> /usr/local/lib/python3.6/site-packages/sip.so
0x7fff62e69000 - 0x7fff62ea0a47 dyld (360.22) <C8E77F6D-CE86-3C5B-8576-2584A799B51E> /usr/lib/dyld
0x7fff8adb5000 - 0x7fff8adb8fff com.apple.IOSurface (108.3.2 - 108.3.2) <88A893E9-A0E4-39FC-9A4E-1FB428F577EE> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff8ae37000 - 0x7fff8af65fff com.apple.CoreText (352.0 - 494.16) <0416A4AB-0A6F-3D29-AFCD-D5A33C4FFA68> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8b08f000 - 0x7fff8b0b8fff libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
0x7fff8b0b9000 - 0x7fff8b0f3fff com.apple.QD (3.12 - 302) <0FE53180-2895-3D14-A1E7-F82DE1D106E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fff8b0f8000 - 0x7fff8b0f9ffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff8bb54000 - 0x7fff8bb92ff7 libGLImage.dylib (12.1) <BB1F1A93-5101-3906-AB17-8D83FCB200F9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fff8bba5000 - 0x7fff8bcc9fff libsqlite3.dylib (216.4) <280D67B8-F93D-3587-A146-19F36C817548> /usr/lib/libsqlite3.dylib
0x7fff8bd03000 - 0x7fff8bd0bfff com.apple.CoreServices.FSEvents (1223.10.1 - 1223.10.1) <7F5B7A23-BC1D-3FA9-A9B8-D534F1E1979A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
0x7fff8bd0c000 - 0x7fff8bd94fff com.apple.CoreSymbolication (3.1 - 58048.1) <C42C7600-2BEC-300F-8611-CE0F1C13BB36> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x7fff8bdd2000 - 0x7fff8bff3ff7 com.apple.CoreImage (11.4.0 - 366.4.20) <7721BA55-A10E-3425-8392-C5D7C510EAAB> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x7fff8bff4000 - 0x7fff8c01fff3 libarchive.2.dylib (33.20.3) <CC63CA40-0077-314D-BF76-82CB77317354> /usr/lib/libarchive.2.dylib
0x7fff8c023000 - 0x7fff8c039ff7 libLinearAlgebra.dylib (1162.2) <FFE54EDF-F06F-3C0A-864A-4CA7BBFD4B2D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x7fff8c228000 - 0x7fff8c31aff7 libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
0x7fff8c983000 - 0x7fff8c98cff7 libsystem_pthread.dylib (138.10.4) <62FC23B9-1DEE-3918-A30D-A58EC95A0720> /usr/lib/system/libsystem_pthread.dylib
0x7fff8d785000 - 0x7fff8d812fef libsystem_c.dylib (1082.60.1) <0F0C7ED5-3902-3427-9C1D-E2F130B528C5> /usr/lib/system/libsystem_c.dylib
0x7fff8dc01000 - 0x7fff8dcb1fff com.apple.backup.framework (1.7.4 - 1.7.4) <F304E9D1-991A-379E-9659-BF85C35B4808> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff8dde1000 - 0x7fff8ddebfff com.apple.NetAuth (6.0 - 6.0) <D692B1EF-534F-3892-8E2F-2BBA7C8AFD74> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff8e680000 - 0x7fff8e680fff com.apple.audio.units.AudioUnit (1.13 - 1.13) <378B5292-F216-32AB-B628-8C33A72D7052> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff8e6cf000 - 0x7fff8e703ff7 com.apple.CoreVideo (1.8 - 191.3) <1AA24A1B-CB84-3F6B-B6DE-11494542649C> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff8e70d000 - 0x7fff8e70efff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff8e70f000 - 0x7fff8e72cff7 com.apple.AppleVPAFramework (2.1.2 - 2.1.2) <D15C8464-EC96-30F4-8AD0-283A30F154D9> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
0x7fff8e73c000 - 0x7fff8e79afff com.apple.CoreServices.OSServices (728.14 - 728.14) <F8B095AF-7E33-3D03-BAE5-0FA4B240D12A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff8e85b000 - 0x7fff8e861ff7 com.apple.speech.recognition.framework (5.1.1 - 5.1.1) <9E5A980A-F455-32D5-BBEE-3BD6018CC45E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x7fff8e862000 - 0x7fff8e8cdff7 com.apple.framework.CoreWLAN (11.0 - 1101.20) <F91E178D-874A-3080-8C6D-556E07A4C527> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fff8e8ce000 - 0x7fff8e8cefff libmetal_timestamp.dylib (600.0.44.2) <DEEA1127-7A5D-3EF2-A4B2-AE125CBA5DB5> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
0x7fff8e947000 - 0x7fff8e94aff7 libCoreFSCache.dylib (119.5) <2389D7DA-B8EF-3EB4-AAAF-FBEDE01CDECA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
0x7fff8e9b9000 - 0x7fff8eb20fff libBLAS.dylib (1162.2) <A1398FE0-39D2-33EA-9A0F-B2644EEA29A0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff8eb21000 - 0x7fff8eb87ff7 libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
0x7fff8eba8000 - 0x7fff8ebacfff libpam.2.dylib (20) <CFCD19BD-87BC-3F2B-BB1C-4C23E8E55F1A> /usr/lib/libpam.2.dylib
0x7fff8ebad000 - 0x7fff8ebdcfc3 libsystem_m.dylib (3105) <8A645D53-92DD-3C2E-8AFA-F28BC63E3657> /usr/lib/system/libsystem_m.dylib
0x7fff8ec93000 - 0x7fff8ec97fff libGIF.dylib (1464) <91BEB042-4459-3632-B24A-E7E8D67CFC8D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff8f40b000 - 0x7fff8f40bfff libOpenScriptingUtil.dylib (169.2) <A6D6ECFF-C315-3353-832B-1ADB5F4588CB> /usr/lib/libOpenScriptingUtil.dylib
0x7fff8f470000 - 0x7fff8f497fff com.apple.ChunkingLibrary (167 - 167) <AD7F285C-005E-36BB-98A3-5826413533BE> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x7fff8f498000 - 0x7fff8f4b0fef libcompression.dylib (28) <E7601B62-1053-369D-8A9E-91CF86239220> /usr/lib/libcompression.dylib
0x7fff8f4b1000 - 0x7fff8f4b5fff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff8f4b6000 - 0x7fff8f4b8ff7 libsystem_configuration.dylib (802.40.13) <B815C622-96EF-388A-823B-B02618E7F190> /usr/lib/system/libsystem_configuration.dylib
0x7fff8f4b9000 - 0x7fff8f528fff com.apple.datadetectorscore (7.0 - 460) <54109E72-3125-3ABE-B8F7-4894D0F706B4> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fff8f529000 - 0x7fff8f56eff7 com.apple.coreservices.SharedFileList (24.4 - 24.5) <1D2AD77B-778F-3253-A295-3D0A32A8121C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
0x7fff8f571000 - 0x7fff8f5bdffb com.apple.HIServices (1.22 - 550) <6B76B41C-CF5A-34C4-89F4-EFD7CA3D1C9D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fff8f886000 - 0x7fff8f8ccff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff8f8cd000 - 0x7fff8fad8fff libFosl_dynamic.dylib (16.24) <5F9DB82D-FD4B-3952-8531-CE020F93ED49> /usr/lib/libFosl_dynamic.dylib
0x7fff8fad9000 - 0x7fff8fadbff7 libquarantine.dylib (80) <5B351BEC-27CC-3935-82F3-A065CC764255> /usr/lib/system/libquarantine.dylib
0x7fff8fafd000 - 0x7fff8fb08ff7 libkxld.dylib (3248.73.8) <B8E4129A-CA87-3C2B-94D3-BC63331D6263> /usr/lib/system/libkxld.dylib
0x7fff8fb6b000 - 0x7fff8fb73ffb libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8fce8000 - 0x7fff8fcfffff libmarisa.dylib (4) <E4919B03-D9BD-3AF8-B436-C415C98E3F0A> /usr/lib/libmarisa.dylib
0x7fff8fd00000 - 0x7fff8fd05fff com.apple.DiskArbitration (2.7 - 2.7) <8CB47F4A-0FD2-343A-93C8-965174F6F24F> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8fd22000 - 0x7fff8fd3efff com.apple.GenerationalStorage (2.0 - 239.1.1) <D9199946-561F-3C1C-8826-D8E96024AC97> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fff8fdb9000 - 0x7fff8ffc6fff libicucore.A.dylib (551.51.6) <142B2AD5-0A50-3382-8213-096E925863F7> /usr/lib/libicucore.A.dylib
0x7fff90165000 - 0x7fff9016eff7 com.apple.CommonAuth (4.0 - 2.0) <5B980638-76EC-3B49-8B24-690BA48C3CDC> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff901e6000 - 0x7fff901f9fff com.apple.CoreBluetooth (1.0 - 1) <E54CA9A2-A5C6-30C5-9D6E-8472DBA9371E> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x7fff901fb000 - 0x7fff90206fff libGL.dylib (12.1) <70D51643-04AC-3400-8F11-A6FC25985289> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff902b7000 - 0x7fff903c5ff3 com.apple.desktopservices (1.10.3 - 1.10.3) <3A6906D4-C0B8-30D1-B589-0466E5E42B69> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fff9047a000 - 0x7fff90569ffb libxml2.2.dylib (29.17) <FBD158AB-4229-352A-B738-566BC41E136B> /usr/lib/libxml2.2.dylib
0x7fff90611000 - 0x7fff90614ffb libdyld.dylib (360.22) <5CE14929-3304-3F6D-BC5E-772589C27D9B> /usr/lib/system/libdyld.dylib
0x7fff90615000 - 0x7fff90633ff7 libsystem_kernel.dylib (3248.73.8) <DD688C4A-8255-3103-A908-45EEFAAB5F43> /usr/lib/system/libsystem_kernel.dylib
0x7fff9077e000 - 0x7fff9077eff7 liblaunch.dylib (765.70.1) <96D7C3EE-82E2-39AB-870F-B317A030E86D> /usr/lib/system/liblaunch.dylib
0x7fff9077f000 - 0x7fff9078dff7 libbz2.1.0.dylib (38) <790B4CA3-9A41-39B2-ACDB-3DF973695B0F> /usr/lib/libbz2.1.0.dylib
0x7fff90835000 - 0x7fff908d5fff com.apple.Metadata (10.7.0 - 972.34) <CC129633-BAE2-3AF2-A15E-8EE021F66B6E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff908d6000 - 0x7fff90aa4ff3 com.apple.QuartzCore (1.11 - 410.14) <624AEEBC-570F-3A2C-92FF-867923CBE6E6> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff90aa5000 - 0x7fff90b13ff7 com.apple.ApplicationServices.ATS (377 - 394.5) <892FAD85-37FC-39FC-9E6A-7EC00DBA70B9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fff91a3b000 - 0x7fff91a55fff com.apple.Kerberos (3.0 - 1) <1B4744BF-E5AE-38E2-AA56-E22D3270F2E8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff91a95000 - 0x7fff91b1eff7 com.apple.PerformanceAnalysis (1.0 - 1) <059AC15F-E93B-377C-ABFE-22244800D109> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x7fff91e93000 - 0x7fff9212dffb com.apple.security (7.0 - 57337.60.8) <ACE9EE34-8C77-337C-AB31-AD4A2543F3D5> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff9212e000 - 0x7fff9216fff7 libGLU.dylib (12.1) <CD7A5916-3E3C-3EF3-A275-B281016B99CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff92171000 - 0x7fff921fedd7 com.apple.AppleJPEG (1.0 - 1) <BF7EDBDB-A52D-37F7-BDE4-EAD49310D7A9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x7fff921ff000 - 0x7fff92254fff com.apple.AE (701 - 701) <AD492742-F884-386B-A450-FAC281B9FFA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff9225c000 - 0x7fff92541ffb com.apple.CoreServices.CarbonCore (1136.2 - 1136.2) <2DBAFC9A-6CD6-351D-B1F4-87D81AA6D640> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff9256c000 - 0x7fff9265cff7 libJP2.dylib (1464) <B75DE70D-C370-331B-9C68-AE5D0B542875> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff92694000 - 0x7fff926a0ff7 com.apple.OpenDirectory (10.11 - 194) <31A67AD5-5CC2-350A-96D7-821DF4BC4196> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff926c1000 - 0x7fff926c2fff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
0x7fff926c3000 - 0x7fff92969ff7 com.apple.CoreData (120 - 641.3) <A29A5491-6169-372B-828F-84EE0CFD4BC4> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff9296a000 - 0x7fff92a91fff com.apple.LaunchServices (728.14 - 728.14) <9FD72377-259A-3B98-8D39-5F5298A4C1FE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff92ca7000 - 0x7fff92cc0fff com.apple.CFOpenDirectory (10.11 - 194) <11F95672-55E0-3F9D-9171-5E8C56AEE948> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fff92cc1000 - 0x7fff92dbdff7 libFontParser.dylib (158.8) <E471503F-C3F1-370C-ABDC-B9152CA6BCAA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff92ea4000 - 0x7fff92eabff7 libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
0x7fff92f29000 - 0x7fff92f4bfff com.apple.IconServices (68.1 - 68.1) <CDEEDBE6-F53B-3BA1-82D4-23BCA3DD8949> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x7fff92f6e000 - 0x7fff93081ff7 libvDSP.dylib (563.5) <DECAFACB-E61D-3B8E-A103-CD5EED1A9E9F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff935b2000 - 0x7fff93659fff com.apple.LanguageModeling (1.0 - 1) <58C18A47-BDE7-3CBE-81C0-797029D170A1> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x7fff9365a000 - 0x7fff9365afff com.apple.CoreServices (728.14 - 728.14) <11D8D061-60A6-31BA-99CD-43241E7A8F97> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff93a6b000 - 0x7fff93ae0fff com.apple.framework.IOKit (2.0.2 - 1179.50.3) <80452F8B-D168-3848-A5F6-3CF96EBEDD5D> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff93b00000 - 0x7fff93b77feb libcorecrypto.dylib (335.50.1) <D3E09C83-7B98-3E1A-B47E-820A135A3879> /usr/lib/system/libcorecrypto.dylib
0x7fff93b8d000 - 0x7fff93bc7ff7 com.apple.DebugSymbols (132 - 132) <23A42C53-B941-3871-9EE2-4C87A46005B5> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x7fff93bc8000 - 0x7fff93bd3ff7 libChineseTokenizer.dylib (16) <79B8C67A-3061-3C78-92CD-4650719E68D4> /usr/lib/libChineseTokenizer.dylib
0x7fff93bd7000 - 0x7fff94e23fff com.apple.CoreGraphics (1.600.0 - 960.7) <FEC94049-FAD3-3F63-B8D4-F8C5AB1C7687> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff94e38000 - 0x7fff94e38fff com.apple.Accelerate (1.10 - Accelerate 1.10) <185EC96A-5AF0-3620-A4ED-4D3654D25B39> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff94e45000 - 0x7fff951a7f3f libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
0x7fff952ae000 - 0x7fff95724fff com.apple.CoreFoundation (6.9 - 1259.22) <53EFA4A7-4614-383E-BEEE-B8B9D9D19FFA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff95725000 - 0x7fff9634eff7 com.apple.AppKit (6.9 - 1404.47) <F3411F6E-DD87-34D0-8C68-C69B2205E41D> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff9634f000 - 0x7fff96351ff7 com.apple.xpc.ServiceManagement (1.0 - 1) <B4181284-D588-3A20-93F3-B4FA882BC9A8> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x7fff96352000 - 0x7fff9637ffff libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
0x7fff963bb000 - 0x7fff96642fff com.apple.CFNetwork (760.9 - 760.9) <54B34D8B-BDE6-37EA-B178-1906827ECC59> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff967bc000 - 0x7fff967bfffb libScreenReader.dylib (426.42) <16FC79D1-4573-3E90-945F-CBA22D5185FD> /usr/lib/libScreenReader.dylib
0x7fff96fa5000 - 0x7fff96fadfff libGFXShared.dylib (12.1) <FBBA57ED-8EDC-33EF-BBF5-C7FBDCDE6B41> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x7fff96fb0000 - 0x7fff96fcfff7 com.apple.framework.Apple80211 (11.0 - 1121.34.2) <84FDA279-9F05-32F9-908F-4E0DAC422311> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff96fec000 - 0x7fff97007ff7 libCRFSuite.dylib (34) <078B4CD8-6A8C-3067-B2BA-0C2A0BAB8AC3> /usr/lib/libCRFSuite.dylib
0x7fff970a5000 - 0x7fff970bcff7 libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
0x7fff9742a000 - 0x7fff9771ffff com.apple.HIToolbox (2.1.1 - 807.2) <36413C45-36AF-34EF-9C0E-F18B31D1E565> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff97791000 - 0x7fff977b6ff7 libPng.dylib (1464) <F481B1EF-3A1F-3F1A-88D7-2A2FF5168466> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff977b7000 - 0x7fff977efff7 com.apple.RemoteViewServices (2.0 - 101) <B2881449-8CFE-3D1C-B4BF-155640392533> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x7fff978eb000 - 0x7fff978f9fff libxar.1.dylib (302) <03207F66-2C4A-3DBD-8D81-70F4C85903C4> /usr/lib/libxar.1.dylib
0x7fff97904000 - 0x7fff97973fff com.apple.SearchKit (1.4.0 - 1.4.0) <F159A888-34CA-36F1-AC8E-EB1B38C9DFB3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff9799f000 - 0x7fff97a35fff com.apple.ColorSync (4.9.0 - 4.9.0) <8FC37E20-6579-3CB2-9D49-BC39FC38DF87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fff97a36000 - 0x7fff97a42fff com.apple.SpeechRecognitionCore (2.2.7 - 2.2.7) <6BA06290-D4A3-351C-87F9-B61EF61FF055> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
0x7fff97b1a000 - 0x7fff97b28fff com.apple.opengl (12.1.0 - 12.1.0) <B9CE1265-6D68-3BE3-8345-90F9402F5DF3> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff97b29000 - 0x7fff97b53ff7 libc++abi.dylib (307.4) <D24E06BF-6522-3C4A-BD0C-11C42BA4D8E8> /usr/lib/libc++abi.dylib
0x7fff97ce1000 - 0x7fff98076fdb com.apple.vImage (8.0 - 8.0) <4BAC9B6F-7482-3580-8787-AB0A5B4D331B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff9807e000 - 0x7fff9808fff7 libsystem_trace.dylib (201.10.3) <356456FC-C29F-30DB-8382-9806D0D9426D> /usr/lib/system/libsystem_trace.dylib
0x7fff98090000 - 0x7fff98090fff com.apple.ApplicationServices (48 - 48) <ADD57D3A-142F-3EF5-BFD8-EACD82164884> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fff9809c000 - 0x7fff983f0fff com.apple.Foundation (6.9 - 1259.32) <472CF0E0-E6AE-3330-86A5-849F120749E2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff983fc000 - 0x7fff9840dfff libSparseBLAS.dylib (1162.2) <EBEB3848-3468-342A-91A6-5C47F2369CD9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
0x7fff989f1000 - 0x7fff989f2fff liblangid.dylib (122) <9CC4F0D1-5C51-3B69-BC8F-EE3A51FD0822> /usr/lib/liblangid.dylib
0x7fff989f3000 - 0x7fff98a0fff7 libextension.dylib (78) <FD952DA6-BBEC-3CB6-98B3-E1D111C5C54E> /usr/lib/libextension.dylib
0x7fff99307000 - 0x7fff99307ff7 libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
0x7fff99327000 - 0x7fff99755fff com.apple.vision.FaceCore (3.3.1 - 3.3.1) <E54028EA-4217-3078-A2B1-C52E4214D59E> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x7fff99762000 - 0x7fff998e0fff com.apple.UIFoundation (1.0 - 436.1) <AABB5267-E7B7-3D75-B051-E665BDA8DEF4> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x7fff998e1000 - 0x7fff998e7fff com.apple.IOAccelerator (205.14 - 205.14) <AFCB63A4-BEF6-362B-98C2-912FB1FC5F82> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x7fff99930000 - 0x7fff9993fffb com.apple.LangAnalysis (1.7.0 - 1.7.0) <18D21123-A3E7-3851-974A-08E5D4540475> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff99989000 - 0x7fff9999aff7 libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
0x7fff99c07000 - 0x7fff99dcdff7 com.apple.ImageIO.framework (3.3.0 - 1462) <78862785-0667-35F6-87C0-A1B1FA3588A7> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff99dce000 - 0x7fff99e42ff3 com.apple.securityfoundation (6.0 - 55126) <DB67837E-9813-3C25-896A-CB6FA800F366> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x7fff99e70000 - 0x7fff99e81fff libcmph.dylib (6) <BA4BF2C6-7F4E-33B8-9DD7-619C9EB83ECF> /usr/lib/libcmph.dylib
0x7fff99e82000 - 0x7fff99e99ff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
0x7fff99eed000 - 0x7fff99f91fff com.apple.Bluetooth (4.4.6 - 4.4.6f2) <C84D30C1-DC2E-356E-A8C8-DA496CA659CB> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x7fff99f92000 - 0x7fff99facff3 liblzma.5.dylib (10) <CC03591B-FA57-3CA5-AC81-0D76033AC0CE> /usr/lib/liblzma.5.dylib
0x7fff9a396000 - 0x7fff9a39bff7 libheimdal-asn1.dylib (453.40.11) <41620070-8AA6-3566-8520-67C65F6FA0DF> /usr/lib/libheimdal-asn1.dylib
0x7fff9a767000 - 0x7fff9a772fff com.apple.CrashReporterSupport (10.11 - 718) <43A265E6-47D6-35F9-8C27-387DE099E9E4> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x7fff9a7c6000 - 0x7fff9a7cefff libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
0x7fff9aac6000 - 0x7fff9aaefff7 libxslt.1.dylib (14.6) <ADD24C4F-3B96-304E-8EE5-5F5B0EA62991> /usr/lib/libxslt.1.dylib
0x7fff9aaf0000 - 0x7fff9aaf0ff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff9aaf1000 - 0x7fff9ab0dff3 libresolv.9.dylib (60) <A650B5C8-1950-36A0-86D1-0B2465318BFA> /usr/lib/libresolv.9.dylib
0x7fff9ab0e000 - 0x7fff9ab19ff7 libcommonCrypto.dylib (60075.50.1) <D81DA58F-A07A-3358-A09C-BE2C83F9CAD2> /usr/lib/system/libcommonCrypto.dylib
0x7fff9af28000 - 0x7fff9af74fff com.apple.print.framework.PrintCore (11.2 - 472.2) <5AE8AA6B-CE09-397D-B0D4-0F9CCBF1F77D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff9b382000 - 0x7fff9b528ff7 com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <370E95BC-956C-3962-86CC-0A14CF6A0389> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff9b735000 - 0x7fff9b737ff7 libRadiance.dylib (1464) <B0EA74D9-BC3B-3C5F-8D35-C3AADB5BD61F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff9b807000 - 0x7fff9b82bfff libJPEG.dylib (1464) <492AEE9D-5D4B-3063-A380-FA8561103D55> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff9b82c000 - 0x7fff9b835ff3 libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
0x7fff9b8e5000 - 0x7fff9b8f1fff com.apple.speech.synthesis.framework (5.4.12 - 5.4.12) <71DA00B8-5EA2-326B-8814-59DB25512F65> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff9ba1a000 - 0x7fff9ba1bffb libSystem.B.dylib (1226.10.1) <2CBB584D-A69C-36AA-A432-8E4E334EA589> /usr/lib/libSystem.B.dylib
0x7fff9ba1c000 - 0x7fff9ba6dfff com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <EA7D4F3B-062B-3C81-A98C-C89264D00D48> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff9bc9c000 - 0x7fff9bccdfff com.apple.GSS (4.0 - 2.0) <23A5ACE3-683C-3E32-9A9B-05FC934AFAFB> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff9c5ad000 - 0x7fff9c642fff com.apple.ink.framework (10.9 - 214) <1F76CF36-3F79-36B8-BC37-C540AF34B338> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x7fff9ccff000 - 0x7fff9cd02fff libCoreVMClient.dylib (119.5) <560D70FB-709F-3030-96C9-F249FCB7DA6D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x7fff9ce0b000 - 0x7fff9ce0cfff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9d06a000 - 0x7fff9d06dfff libsystem_sandbox.dylib (460.60.4) <907BB546-2F67-30B0-9B5B-05EC5F249EB2> /usr/lib/system/libsystem_sandbox.dylib
0x7fff9d088000 - 0x7fff9d31efff libmecabra.dylib (696.5) <EF6C0BD4-5FE8-34FB-8ADF-69A53CEC97A9> /usr/lib/libmecabra.dylib
0x7fff9d322000 - 0x7fff9d364ff7 com.apple.Metal (56.6 - 56.6) <30518711-8D00-3759-AA19-800D3C88E693> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x7fff9dafc000 - 0x7fff9db01ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff9de4c000 - 0x7fff9de54fef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff9de64000 - 0x7fff9deb7ff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff9debe000 - 0x7fff9df0fff7 libcups.2.dylib (435.2) <91584A40-214D-33E8-A613-CE22289037C8> /usr/lib/libcups.2.dylib
0x7fff9e023000 - 0x7fff9e097ff7 com.apple.Heimdal (4.0 - 2.0) <72D36F0E-2D3D-316E-870E-E68BF30F1D7D> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff9e248000 - 0x7fff9e250fff com.apple.NetFS (6.0 - 4.0) <842A5346-24C3-3F22-9ECF-E586A10EA1F2> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff9e352000 - 0x7fff9e362fff libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib
0x7fff9e369000 - 0x7fff9e36bfff libCVMSPluginSupport.dylib (12.1) <994EFFFB-132C-3670-B738-5316EB8051F4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x7fff9e4dc000 - 0x7fff9e4f8ff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff9e6c2000 - 0x7fff9e71efff libTIFF.dylib (1464) <0328905B-AF97-39D1-A631-E1A4376014CF> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff9e71f000 - 0x7fff9e765fff libFontRegistry.dylib (155.4) <EA64114D-1069-3D4D-BB6A-3F5769EE63B5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff9e766000 - 0x7fff9e78fff7 libxpc.dylib (765.70.1) <4FB1311F-4032-3F56-BF0B-CFF45D78FB01> /usr/lib/system/libxpc.dylib
0x7fff9e790000 - 0x7fff9eb8cfff libLAPACK.dylib (1162.2) <987E42B0-5108-3065-87F0-9DF7616A8A06> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff9eca8000 - 0x7fff9ecf7ff7 com.apple.opencl (2.7.0 - 2.7.0) <F410C203-0A88-35AB-8C06-D0E1A0209DA8> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff9edcf000 - 0x7fff9edcffff libenergytrace.dylib (10.40.1) <0A491CA7-3451-3FD5-999A-58AB4362682B> /usr/lib/libenergytrace.dylib
0x7fff9f71e000 - 0x7fff9f720fff com.apple.loginsupport (1.0 - 1) <9B2F5F9B-ED38-313F-B798-D2B667BCD6B5> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
0x7fff9f721000 - 0x7fff9f745fff com.apple.MultitouchSupport.framework (304.12 - 304.12) <2B4AC448-89A8-3A3F-947F-06B5BF069DAF> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fff9f746000 - 0x7fff9f796ff7 com.apple.Symbolication (1.4 - 58044) <F70BF765-FBE9-3F1E-85CA-BB2F8E53E8C2> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x7fff9f7fe000 - 0x7fff9f865fff com.apple.framework.CoreWiFi (11.0 - 1101.20) <91C5A231-0F7B-3B6A-A2D9-D389DBE9E1EB> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fffa0ab9000 - 0x7fffa0abefff com.apple.TCC (1.0 - 1) <F5EEB2D3-9517-3975-97BE-22CB8E11B8A3> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fffa0af6000 - 0x7fffa0af6fff com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <054DFE32-737D-3211-9A14-0FC5E1A880E3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fffa0b39000 - 0x7fffa0b3eff3 libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
0x7fffa0c5b000 - 0x7fffa0cb9fff com.apple.SystemConfiguration (1.14 - 1.14) <F083C2B2-6162-358F-9270-98EE9FE58A08> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fffa0cba000 - 0x7fffa0d6afe7 libvMisc.dylib (563.5) <40346E9C-FC15-375F-A4FB-FE94EBE490B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fffa0dbe000 - 0x7fffa0dc0fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fffa1090000 - 0x7fffa11daff7 com.apple.coreui (2.1 - 366.1) <A004F065-6CDF-3456-A114-C6B3404D8A50> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fffa11db000 - 0x7fffa11e3fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fffa1274000 - 0x7fffa12a3ff7 com.apple.DictionaryServices (1.2 - 250.3) <30250542-CBAA-39C1-91AA-B57A5DE17594> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fffa1411000 - 0x7fffa1433ff7 com.apple.Sharing (442.13.6 - 442.13.6) <DDD2811C-6ECB-32F2-8EE1-69BF9657B4A8> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 364995092
thread_create: 0
thread_set_state: 141
VM Region Summary:
ReadOnly portion of Libraries: Total=297.0M resident=0K(0%) swapped_out_or_unallocated=297.0M(100%)
Writable regions: Total=190.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=190.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 2048K 2
Kernel Alloc Once 4K 2
MALLOC 32.7M 20
MALLOC guard page 32K 7
MALLOC_LARGE (reserved) 512K 3 reserved VM address space (unallocated)
STACK GUARD 16K 5
Stack 18.0M 6
Stack Guard 4K 2
VM_ALLOCATE 8200K 21
VM_ALLOCATE (reserved) 128.0M 3 reserved VM address space (unallocated)
__DATA 18.9M 216
__IMAGE 528K 2
__LINKEDIT 98.2M 38
__TEXT 198.8M 212
__UNICODE 552K 2
shared memory 12K 4
=========== ======= =======
TOTAL 506.2M 529
TOTAL, minus reserved VM space 377.7M 529
Model: iMac17,1, BootROM IM171.0151.B00, 4 processors, Intel Core i5, 3.3 GHz, 16 GB, SMC 2.34f2
Graphics: AMD Radeon R9 M395, AMD Radeon R9 M395, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739453220
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739453220
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x14A), Broadcom BCM43xx 1.0 (7.21.95.178.1a2)
Bluetooth: Version 4.4.6f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: APPLE HDD ST2000DM001, 2 TB
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Keyboard Hub
USB Device: Apple Keyboard
Thunderbolt Bus: iMac, Apple Inc., 28.1"><pre class="notranslate"><code class="notranslate">Process: Python [11650]
Path: /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.6.5 (3.6.5)
Code Type: X86-64 (Native)
Parent Process: bash [23859]
Responsible: Terminal [505]
User ID: 501
Date/Time: 2018-07-11 15:16:20.098 +0200
OS Version: Mac OS X 10.11.6 (15G20015)
Report Version: 11
Anonymous UUID: 6B468A1E-8CB4-EC03-324B-AA83B1B93698
Sleep/Wake UUID: 850D839F-C482-4814-9D32-8C614C762A56
Time Awake Since Boot: 1300000 seconds
Time Since Wake: 7800 seconds
System Integrity Protection: enabled
Crashed Thread: 4 Thread (pooled)
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000700000189250
VM Regions Near 0x700000189250:
Stack 0000700000107000-0000700000189000 [ 520K] rw-/rwx SM=COW thread 4
--> Stack Guard 0000700000189000-000070000018a000 [ 4K] ---/rwx SM=NUL
Stack 000070000018a000-000070000020c000 [ 520K] rw-/rwx SM=COW
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 org.qt-project.QtCore 0x000000011b00126b 0x11afd1000 + 197227
3 org.qt-project.QtCore 0x000000011b001202 QWaitCondition::wait(QMutex*, unsigned long) + 162
4 org.qt-project.QtCore 0x000000011aff8269 QThreadPoolPrivate::waitForDone(int) + 217
5 org.qt-project.QtCore 0x000000011aff87c3 QThreadPool::waitForDone(int) + 19
6 QtCore.so 0x000000011adfa8fa meth_QThreadPool_waitForDone(_object*, _object*, _object*) + 138
7 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461
8 org.python.python 0x000000010f0dc52c call_function + 562
9 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
10 org.python.python 0x000000010f0dcd09 _PyEval_EvalCodeWithName + 1910
11 org.python.python 0x000000010f0d2f8a PyEval_EvalCode + 100
12 org.python.python 0x000000010f0fd6cd run_mod + 58
13 org.python.python 0x000000010f0fc709 PyRun_FileExFlags + 178
14 org.python.python 0x000000010f0fbfa7 PyRun_SimpleFileExFlags + 668
15 org.python.python 0x000000010f1108b2 Py_Main + 3562
16 org.python.python 0x000000010f028e19 0x10f027000 + 7705
17 libdyld.dylib 0x00007fff906145ad start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9062bdb6 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff8c987728 _pthread_cond_wait + 767
2 libopenblasp-r0.3.0.dev.dylib 0x000000010fe2272b blas_thread_server + 187
3 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
5 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 4 Crashed:: Thread (pooled)
0 libopenblasp-r0.3.0.dev.dylib 0x000000010fc443c2 dgemm_thread_nn + 1490
1 libopenblasp-r0.3.0.dev.dylib 0x000000010fb15e26 cblas_dgemm + 854
2 multiarray.cpython-36m-darwin.so 0x000000010f9aa265 cblas_matrixproduct + 4917
3 multiarray.cpython-36m-darwin.so 0x000000010f96fd27 PyArray_MatrixProduct2 + 215
4 multiarray.cpython-36m-darwin.so 0x000000010f974d1f array_matrixproduct + 191
5 org.python.python 0x000000010f074af3 _PyCFunction_FastCallDict + 461
6 org.python.python 0x000000010f0dc52c call_function + 562
7 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
8 org.python.python 0x000000010f0dd68e _PyFunction_FastCall + 121
9 org.python.python 0x000000010f0dc506 call_function + 524
10 org.python.python 0x000000010f0d9937 _PyEval_EvalFrameDefault + 26877
11 org.python.python 0x000000010f0dd68e _PyFunction_FastCall + 121
12 org.python.python 0x000000010f03b2f9 _PyObject_FastCallDict + 218
13 org.python.python 0x000000010f03b418 _PyObject_Call_Prepend + 149
14 org.python.python 0x000000010f03b160 PyObject_Call + 101
15 sip.so 0x000000011b5bb3c9 call_method + 85
16 sip.so 0x000000011b5b7348 sip_api_call_procedure_method + 156
17 QtCore.so 0x000000011add199a sipQRunnable::run() + 90
18 org.qt-project.QtCore 0x000000011aff706e 0x11afd1000 + 155758
19 org.qt-project.QtCore 0x000000011afffc47 0x11afd1000 + 191559
20 libsystem_pthread.dylib 0x00007fff8c98699d _pthread_body + 131
21 libsystem_pthread.dylib 0x00007fff8c98691a _pthread_start + 168
22 libsystem_pthread.dylib 0x00007fff8c984351 thread_start + 13
Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000700000189410 rbx: 0x0000000113c7f5d0 rcx: 0x0000000000000000 rdx: 0x0000000000000040
rdi: 0x0000000000000000 rsi: 0x0000700000189410 rbp: 0x0000700000209280 rsp: 0x0000700000185d90
r8: 0x0000000113c7f5d0 r9: 0x0000000000000004 r10: 0x0000000000000000 r11: 0x0000000080000001
r12: 0x0000000000000004 r13: 0x0000000000000000 r14: 0x0000000000000004 r15: 0x0000000100000003
rip: 0x000000010fc443c2 rfl: 0x0000000000010246 cr2: 0x0000700000189250
Logical CPU: 1
Error Code: 0x00000006
Trap Number: 14
Binary Images:
0x10f027000 - 0x10f028fff +org.python.python (3.6.5 - 3.6.5) <EB53A51D-F021-3881-A774-7F674FB767D4> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
0x10f030000 - 0x10f19eff7 +org.python.python (3.6.5, [c] 2001-2018 Python Software Foundation. - 3.6.5) <8938018B-FFD3-3EC8-8E3B-57A890729974> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/Python
0x10f748000 - 0x10f749fff +_heapq.cpython-36m-darwin.so (0) <207A05C8-6D79-3216-B504-D85818BF15AC> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_heapq.cpython-36m-darwin.so
0x10f877000 - 0x10f87cfff +math.cpython-36m-darwin.so (0) <FC0F94DF-EAE0-350F-9A6D-AF1CF033AFA4> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/math.cpython-36m-darwin.so
0x10f882000 - 0x10fa1dff7 +multiarray.cpython-36m-darwin.so (???) <A6528474-A1D8-331E-B38A-D58959B0D485> /Users/USER/*/multiarray.cpython-36m-darwin.so
0x10faf5000 - 0x113c785a7 +libopenblasp-r0.3.0.dev.dylib (0) <EB499C92-1D72-3498-9AD5-088D81B269F9> /Users/USER/*/libopenblasp-r0.3.0.dev.dylib
0x113feb000 - 0x114102ff7 +libgfortran.3.dylib (0) <9ABE5EDE-AD43-391A-9E54-866711FAC32A> /Users/USER/*/libgfortran.3.dylib
0x114166000 - 0x11419cfff +libquadmath.0.dylib (0) <7FFA409F-FB04-3B64-BE9A-3E3A494C975E> /Users/USER/*/libquadmath.0.dylib
0x1141ab000 - 0x1141c0ff7 +libgcc_s.1.dylib (0) <7C6D7CB7-82DB-3290-8181-07646FEA1F80> /Users/USER/*/libgcc_s.1.dylib
0x11a20c000 - 0x11a216ffb +_datetime.cpython-36m-darwin.so (0) <53BCD978-C4F8-359D-B39B-112131D8E232> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_datetime.cpython-36m-darwin.so
0x11a21e000 - 0x11a30bfff +umath.cpython-36m-darwin.so (???) <9D2BC000-EC1B-30A1-9708-099643245C39> /Users/USER/*/umath.cpython-36m-darwin.so
0x11a3d4000 - 0x11a3e3ff7 +_ctypes.cpython-36m-darwin.so (0) <0BD7A3F8-E7E4-39E2-8C8C-01F77A6DD8A7> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so
0x11a3ee000 - 0x11a3f1ffb +_struct.cpython-36m-darwin.so (0) <7BA3282C-88B2-38BA-90FF-459DCBAB2FEB> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_struct.cpython-36m-darwin.so
0x11a479000 - 0x11a485ffb +_pickle.cpython-36m-darwin.so (0) <30EA71A2-414A-385E-9AE6-B8E2CEE0CF10> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_pickle.cpython-36m-darwin.so
0x11a64f000 - 0x11a652fff +zlib.cpython-36m-darwin.so (0) <AF7865F4-2DB7-35B0-B14F-69C9EA113361> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/zlib.cpython-36m-darwin.so
0x11a657000 - 0x11a658fff +_bz2.cpython-36m-darwin.so (0) <243DFE2E-040D-3534-8AEA-C4C14E9C19A2> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_bz2.cpython-36m-darwin.so
0x11a65c000 - 0x11a65fff7 +_lzma.cpython-36m-darwin.so (0) <874DECB9-AEBB-3250-A9F0-CD4E86A02FEB> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_lzma.cpython-36m-darwin.so
0x11a664000 - 0x11a680ffb +liblzma.5.dylib (0) <6AE21824-5738-33EA-A45B-9B0E053B000E> /usr/local/opt/xz/lib/liblzma.5.dylib
0x11a686000 - 0x11a687fff +grp.cpython-36m-darwin.so (0) <97205E7A-2C30-388D-86C4-DF85770EBFC3> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/grp.cpython-36m-darwin.so
0x11a6ca000 - 0x11a6cdfff +_hashlib.cpython-36m-darwin.so (0) <AACDE295-A180-35C7-81FA-11468341D20E> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_hashlib.cpython-36m-darwin.so
0x11a6d1000 - 0x11a70ffff +libssl.1.0.0.dylib (0) <BF697A02-E79F-315D-8B36-1B3CE2AC18FC> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
0x11a72c000 - 0x11a89eabf +libcrypto.1.0.0.dylib (0) <BC03E10B-64B9-3F10-8CE0-A06F8AF86220> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
0x11a916000 - 0x11a91bfff +_blake2.cpython-36m-darwin.so (0) <0600833D-578D-3E34-9361-B807D178877D> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_blake2.cpython-36m-darwin.so
0x11a91f000 - 0x11a92fff3 +_sha3.cpython-36m-darwin.so (0) <E4CBFFAE-A687-37AD-9C2D-AF0F911F8434> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_sha3.cpython-36m-darwin.so
0x11a934000 - 0x11a934fff +_bisect.cpython-36m-darwin.so (0) <FE616CEC-014F-34C7-B44A-A28066FD2E77> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_bisect.cpython-36m-darwin.so
0x11a937000 - 0x11a938fff +_random.cpython-36m-darwin.so (0) <04FBEF05-BFA7-371D-94DC-29D1EA08FA61> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_random.cpython-36m-darwin.so
0x11a9bb000 - 0x11a9bcff7 +lapack_lite.cpython-36m-darwin.so (???) <22695BE8-E0F6-326D-B258-E878FBB2C31D> /Users/USER/*/lapack_lite.cpython-36m-darwin.so
0x11a9c0000 - 0x11a9dbff7 +_umath_linalg.cpython-36m-darwin.so (???) <E7251325-D9B2-3D6D-A831-780B4D7C2CC0> /Users/USER/*/_umath_linalg.cpython-36m-darwin.so
0x11aaba000 - 0x11aae5ff3 +_decimal.cpython-36m-darwin.so (0) <B93149A1-B3A7-343E-88E7-B5AD6A6CF365> /usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_decimal.cpython-36m-darwin.so
0x11ab38000 - 0x11ab48ff7 +_multiarray_tests.cpython-36m-darwin.so (???) <72F2C6E4-3DD5-3012-BAC8-84CAB2B8F7AF> /Users/USER/*/_multiarray_tests.cpython-36m-darwin.so
0x11ab57000 - 0x11ab60fff +fftpack_lite.cpython-36m-darwin.so (???) <944B3C9C-51C9-3C4E-9FA8-06F289B18519> /Users/USER/*/fftpack_lite.cpython-36m-darwin.so
0x11aba4000 - 0x11ac62fff +mtrand.cpython-36m-darwin.so (???) <F5A7F8C1-BB05-3EE4-913A-6465F855D66E> /Users/USER/*/mtrand.cpython-36m-darwin.so
0x11ad27000 - 0x11ae6cff3 +QtCore.so (0) <B07CD9D2-38EB-33BE-BB52-12E1A6290A05> /usr/local/lib/python3.6/site-packages/PyQt5/QtCore.so
0x11afd1000 - 0x11b4cdfff +org.qt-project.QtCore (5.11 - 5.11.1) <3CE0E6DB-D76A-38D8-ACE5-3E24720E19C8> /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore
0x11b5b2000 - 0x11b5c5fff +sip.so (0) <966E61F2-DDE0-3638-B12F-E86B3F091142> /usr/local/lib/python3.6/site-packages/sip.so
0x7fff62e69000 - 0x7fff62ea0a47 dyld (360.22) <C8E77F6D-CE86-3C5B-8576-2584A799B51E> /usr/lib/dyld
0x7fff8adb5000 - 0x7fff8adb8fff com.apple.IOSurface (108.3.2 - 108.3.2) <88A893E9-A0E4-39FC-9A4E-1FB428F577EE> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff8ae37000 - 0x7fff8af65fff com.apple.CoreText (352.0 - 494.16) <0416A4AB-0A6F-3D29-AFCD-D5A33C4FFA68> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff8b08f000 - 0x7fff8b0b8fff libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
0x7fff8b0b9000 - 0x7fff8b0f3fff com.apple.QD (3.12 - 302) <0FE53180-2895-3D14-A1E7-F82DE1D106E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fff8b0f8000 - 0x7fff8b0f9ffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff8bb54000 - 0x7fff8bb92ff7 libGLImage.dylib (12.1) <BB1F1A93-5101-3906-AB17-8D83FCB200F9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fff8bba5000 - 0x7fff8bcc9fff libsqlite3.dylib (216.4) <280D67B8-F93D-3587-A146-19F36C817548> /usr/lib/libsqlite3.dylib
0x7fff8bd03000 - 0x7fff8bd0bfff com.apple.CoreServices.FSEvents (1223.10.1 - 1223.10.1) <7F5B7A23-BC1D-3FA9-A9B8-D534F1E1979A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
0x7fff8bd0c000 - 0x7fff8bd94fff com.apple.CoreSymbolication (3.1 - 58048.1) <C42C7600-2BEC-300F-8611-CE0F1C13BB36> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x7fff8bdd2000 - 0x7fff8bff3ff7 com.apple.CoreImage (11.4.0 - 366.4.20) <7721BA55-A10E-3425-8392-C5D7C510EAAB> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x7fff8bff4000 - 0x7fff8c01fff3 libarchive.2.dylib (33.20.3) <CC63CA40-0077-314D-BF76-82CB77317354> /usr/lib/libarchive.2.dylib
0x7fff8c023000 - 0x7fff8c039ff7 libLinearAlgebra.dylib (1162.2) <FFE54EDF-F06F-3C0A-864A-4CA7BBFD4B2D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x7fff8c228000 - 0x7fff8c31aff7 libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
0x7fff8c983000 - 0x7fff8c98cff7 libsystem_pthread.dylib (138.10.4) <62FC23B9-1DEE-3918-A30D-A58EC95A0720> /usr/lib/system/libsystem_pthread.dylib
0x7fff8d785000 - 0x7fff8d812fef libsystem_c.dylib (1082.60.1) <0F0C7ED5-3902-3427-9C1D-E2F130B528C5> /usr/lib/system/libsystem_c.dylib
0x7fff8dc01000 - 0x7fff8dcb1fff com.apple.backup.framework (1.7.4 - 1.7.4) <F304E9D1-991A-379E-9659-BF85C35B4808> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff8dde1000 - 0x7fff8ddebfff com.apple.NetAuth (6.0 - 6.0) <D692B1EF-534F-3892-8E2F-2BBA7C8AFD74> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff8e680000 - 0x7fff8e680fff com.apple.audio.units.AudioUnit (1.13 - 1.13) <378B5292-F216-32AB-B628-8C33A72D7052> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff8e6cf000 - 0x7fff8e703ff7 com.apple.CoreVideo (1.8 - 191.3) <1AA24A1B-CB84-3F6B-B6DE-11494542649C> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff8e70d000 - 0x7fff8e70efff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff8e70f000 - 0x7fff8e72cff7 com.apple.AppleVPAFramework (2.1.2 - 2.1.2) <D15C8464-EC96-30F4-8AD0-283A30F154D9> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
0x7fff8e73c000 - 0x7fff8e79afff com.apple.CoreServices.OSServices (728.14 - 728.14) <F8B095AF-7E33-3D03-BAE5-0FA4B240D12A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff8e85b000 - 0x7fff8e861ff7 com.apple.speech.recognition.framework (5.1.1 - 5.1.1) <9E5A980A-F455-32D5-BBEE-3BD6018CC45E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x7fff8e862000 - 0x7fff8e8cdff7 com.apple.framework.CoreWLAN (11.0 - 1101.20) <F91E178D-874A-3080-8C6D-556E07A4C527> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fff8e8ce000 - 0x7fff8e8cefff libmetal_timestamp.dylib (600.0.44.2) <DEEA1127-7A5D-3EF2-A4B2-AE125CBA5DB5> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
0x7fff8e947000 - 0x7fff8e94aff7 libCoreFSCache.dylib (119.5) <2389D7DA-B8EF-3EB4-AAAF-FBEDE01CDECA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
0x7fff8e9b9000 - 0x7fff8eb20fff libBLAS.dylib (1162.2) <A1398FE0-39D2-33EA-9A0F-B2644EEA29A0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff8eb21000 - 0x7fff8eb87ff7 libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
0x7fff8eba8000 - 0x7fff8ebacfff libpam.2.dylib (20) <CFCD19BD-87BC-3F2B-BB1C-4C23E8E55F1A> /usr/lib/libpam.2.dylib
0x7fff8ebad000 - 0x7fff8ebdcfc3 libsystem_m.dylib (3105) <8A645D53-92DD-3C2E-8AFA-F28BC63E3657> /usr/lib/system/libsystem_m.dylib
0x7fff8ec93000 - 0x7fff8ec97fff libGIF.dylib (1464) <91BEB042-4459-3632-B24A-E7E8D67CFC8D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff8f40b000 - 0x7fff8f40bfff libOpenScriptingUtil.dylib (169.2) <A6D6ECFF-C315-3353-832B-1ADB5F4588CB> /usr/lib/libOpenScriptingUtil.dylib
0x7fff8f470000 - 0x7fff8f497fff com.apple.ChunkingLibrary (167 - 167) <AD7F285C-005E-36BB-98A3-5826413533BE> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x7fff8f498000 - 0x7fff8f4b0fef libcompression.dylib (28) <E7601B62-1053-369D-8A9E-91CF86239220> /usr/lib/libcompression.dylib
0x7fff8f4b1000 - 0x7fff8f4b5fff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff8f4b6000 - 0x7fff8f4b8ff7 libsystem_configuration.dylib (802.40.13) <B815C622-96EF-388A-823B-B02618E7F190> /usr/lib/system/libsystem_configuration.dylib
0x7fff8f4b9000 - 0x7fff8f528fff com.apple.datadetectorscore (7.0 - 460) <54109E72-3125-3ABE-B8F7-4894D0F706B4> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fff8f529000 - 0x7fff8f56eff7 com.apple.coreservices.SharedFileList (24.4 - 24.5) <1D2AD77B-778F-3253-A295-3D0A32A8121C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
0x7fff8f571000 - 0x7fff8f5bdffb com.apple.HIServices (1.22 - 550) <6B76B41C-CF5A-34C4-89F4-EFD7CA3D1C9D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fff8f886000 - 0x7fff8f8ccff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff8f8cd000 - 0x7fff8fad8fff libFosl_dynamic.dylib (16.24) <5F9DB82D-FD4B-3952-8531-CE020F93ED49> /usr/lib/libFosl_dynamic.dylib
0x7fff8fad9000 - 0x7fff8fadbff7 libquarantine.dylib (80) <5B351BEC-27CC-3935-82F3-A065CC764255> /usr/lib/system/libquarantine.dylib
0x7fff8fafd000 - 0x7fff8fb08ff7 libkxld.dylib (3248.73.8) <B8E4129A-CA87-3C2B-94D3-BC63331D6263> /usr/lib/system/libkxld.dylib
0x7fff8fb6b000 - 0x7fff8fb73ffb libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8fce8000 - 0x7fff8fcfffff libmarisa.dylib (4) <E4919B03-D9BD-3AF8-B436-C415C98E3F0A> /usr/lib/libmarisa.dylib
0x7fff8fd00000 - 0x7fff8fd05fff com.apple.DiskArbitration (2.7 - 2.7) <8CB47F4A-0FD2-343A-93C8-965174F6F24F> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8fd22000 - 0x7fff8fd3efff com.apple.GenerationalStorage (2.0 - 239.1.1) <D9199946-561F-3C1C-8826-D8E96024AC97> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fff8fdb9000 - 0x7fff8ffc6fff libicucore.A.dylib (551.51.6) <142B2AD5-0A50-3382-8213-096E925863F7> /usr/lib/libicucore.A.dylib
0x7fff90165000 - 0x7fff9016eff7 com.apple.CommonAuth (4.0 - 2.0) <5B980638-76EC-3B49-8B24-690BA48C3CDC> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff901e6000 - 0x7fff901f9fff com.apple.CoreBluetooth (1.0 - 1) <E54CA9A2-A5C6-30C5-9D6E-8472DBA9371E> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x7fff901fb000 - 0x7fff90206fff libGL.dylib (12.1) <70D51643-04AC-3400-8F11-A6FC25985289> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff902b7000 - 0x7fff903c5ff3 com.apple.desktopservices (1.10.3 - 1.10.3) <3A6906D4-C0B8-30D1-B589-0466E5E42B69> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fff9047a000 - 0x7fff90569ffb libxml2.2.dylib (29.17) <FBD158AB-4229-352A-B738-566BC41E136B> /usr/lib/libxml2.2.dylib
0x7fff90611000 - 0x7fff90614ffb libdyld.dylib (360.22) <5CE14929-3304-3F6D-BC5E-772589C27D9B> /usr/lib/system/libdyld.dylib
0x7fff90615000 - 0x7fff90633ff7 libsystem_kernel.dylib (3248.73.8) <DD688C4A-8255-3103-A908-45EEFAAB5F43> /usr/lib/system/libsystem_kernel.dylib
0x7fff9077e000 - 0x7fff9077eff7 liblaunch.dylib (765.70.1) <96D7C3EE-82E2-39AB-870F-B317A030E86D> /usr/lib/system/liblaunch.dylib
0x7fff9077f000 - 0x7fff9078dff7 libbz2.1.0.dylib (38) <790B4CA3-9A41-39B2-ACDB-3DF973695B0F> /usr/lib/libbz2.1.0.dylib
0x7fff90835000 - 0x7fff908d5fff com.apple.Metadata (10.7.0 - 972.34) <CC129633-BAE2-3AF2-A15E-8EE021F66B6E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff908d6000 - 0x7fff90aa4ff3 com.apple.QuartzCore (1.11 - 410.14) <624AEEBC-570F-3A2C-92FF-867923CBE6E6> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff90aa5000 - 0x7fff90b13ff7 com.apple.ApplicationServices.ATS (377 - 394.5) <892FAD85-37FC-39FC-9E6A-7EC00DBA70B9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fff91a3b000 - 0x7fff91a55fff com.apple.Kerberos (3.0 - 1) <1B4744BF-E5AE-38E2-AA56-E22D3270F2E8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff91a95000 - 0x7fff91b1eff7 com.apple.PerformanceAnalysis (1.0 - 1) <059AC15F-E93B-377C-ABFE-22244800D109> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x7fff91e93000 - 0x7fff9212dffb com.apple.security (7.0 - 57337.60.8) <ACE9EE34-8C77-337C-AB31-AD4A2543F3D5> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff9212e000 - 0x7fff9216fff7 libGLU.dylib (12.1) <CD7A5916-3E3C-3EF3-A275-B281016B99CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff92171000 - 0x7fff921fedd7 com.apple.AppleJPEG (1.0 - 1) <BF7EDBDB-A52D-37F7-BDE4-EAD49310D7A9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x7fff921ff000 - 0x7fff92254fff com.apple.AE (701 - 701) <AD492742-F884-386B-A450-FAC281B9FFA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff9225c000 - 0x7fff92541ffb com.apple.CoreServices.CarbonCore (1136.2 - 1136.2) <2DBAFC9A-6CD6-351D-B1F4-87D81AA6D640> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff9256c000 - 0x7fff9265cff7 libJP2.dylib (1464) <B75DE70D-C370-331B-9C68-AE5D0B542875> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff92694000 - 0x7fff926a0ff7 com.apple.OpenDirectory (10.11 - 194) <31A67AD5-5CC2-350A-96D7-821DF4BC4196> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff926c1000 - 0x7fff926c2fff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
0x7fff926c3000 - 0x7fff92969ff7 com.apple.CoreData (120 - 641.3) <A29A5491-6169-372B-828F-84EE0CFD4BC4> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff9296a000 - 0x7fff92a91fff com.apple.LaunchServices (728.14 - 728.14) <9FD72377-259A-3B98-8D39-5F5298A4C1FE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff92ca7000 - 0x7fff92cc0fff com.apple.CFOpenDirectory (10.11 - 194) <11F95672-55E0-3F9D-9171-5E8C56AEE948> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fff92cc1000 - 0x7fff92dbdff7 libFontParser.dylib (158.8) <E471503F-C3F1-370C-ABDC-B9152CA6BCAA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff92ea4000 - 0x7fff92eabff7 libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
0x7fff92f29000 - 0x7fff92f4bfff com.apple.IconServices (68.1 - 68.1) <CDEEDBE6-F53B-3BA1-82D4-23BCA3DD8949> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x7fff92f6e000 - 0x7fff93081ff7 libvDSP.dylib (563.5) <DECAFACB-E61D-3B8E-A103-CD5EED1A9E9F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff935b2000 - 0x7fff93659fff com.apple.LanguageModeling (1.0 - 1) <58C18A47-BDE7-3CBE-81C0-797029D170A1> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x7fff9365a000 - 0x7fff9365afff com.apple.CoreServices (728.14 - 728.14) <11D8D061-60A6-31BA-99CD-43241E7A8F97> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff93a6b000 - 0x7fff93ae0fff com.apple.framework.IOKit (2.0.2 - 1179.50.3) <80452F8B-D168-3848-A5F6-3CF96EBEDD5D> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff93b00000 - 0x7fff93b77feb libcorecrypto.dylib (335.50.1) <D3E09C83-7B98-3E1A-B47E-820A135A3879> /usr/lib/system/libcorecrypto.dylib
0x7fff93b8d000 - 0x7fff93bc7ff7 com.apple.DebugSymbols (132 - 132) <23A42C53-B941-3871-9EE2-4C87A46005B5> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x7fff93bc8000 - 0x7fff93bd3ff7 libChineseTokenizer.dylib (16) <79B8C67A-3061-3C78-92CD-4650719E68D4> /usr/lib/libChineseTokenizer.dylib
0x7fff93bd7000 - 0x7fff94e23fff com.apple.CoreGraphics (1.600.0 - 960.7) <FEC94049-FAD3-3F63-B8D4-F8C5AB1C7687> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff94e38000 - 0x7fff94e38fff com.apple.Accelerate (1.10 - Accelerate 1.10) <185EC96A-5AF0-3620-A4ED-4D3654D25B39> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff94e45000 - 0x7fff951a7f3f libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
0x7fff952ae000 - 0x7fff95724fff com.apple.CoreFoundation (6.9 - 1259.22) <53EFA4A7-4614-383E-BEEE-B8B9D9D19FFA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff95725000 - 0x7fff9634eff7 com.apple.AppKit (6.9 - 1404.47) <F3411F6E-DD87-34D0-8C68-C69B2205E41D> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff9634f000 - 0x7fff96351ff7 com.apple.xpc.ServiceManagement (1.0 - 1) <B4181284-D588-3A20-93F3-B4FA882BC9A8> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x7fff96352000 - 0x7fff9637ffff libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
0x7fff963bb000 - 0x7fff96642fff com.apple.CFNetwork (760.9 - 760.9) <54B34D8B-BDE6-37EA-B178-1906827ECC59> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff967bc000 - 0x7fff967bfffb libScreenReader.dylib (426.42) <16FC79D1-4573-3E90-945F-CBA22D5185FD> /usr/lib/libScreenReader.dylib
0x7fff96fa5000 - 0x7fff96fadfff libGFXShared.dylib (12.1) <FBBA57ED-8EDC-33EF-BBF5-C7FBDCDE6B41> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x7fff96fb0000 - 0x7fff96fcfff7 com.apple.framework.Apple80211 (11.0 - 1121.34.2) <84FDA279-9F05-32F9-908F-4E0DAC422311> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fff96fec000 - 0x7fff97007ff7 libCRFSuite.dylib (34) <078B4CD8-6A8C-3067-B2BA-0C2A0BAB8AC3> /usr/lib/libCRFSuite.dylib
0x7fff970a5000 - 0x7fff970bcff7 libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
0x7fff9742a000 - 0x7fff9771ffff com.apple.HIToolbox (2.1.1 - 807.2) <36413C45-36AF-34EF-9C0E-F18B31D1E565> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff97791000 - 0x7fff977b6ff7 libPng.dylib (1464) <F481B1EF-3A1F-3F1A-88D7-2A2FF5168466> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff977b7000 - 0x7fff977efff7 com.apple.RemoteViewServices (2.0 - 101) <B2881449-8CFE-3D1C-B4BF-155640392533> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x7fff978eb000 - 0x7fff978f9fff libxar.1.dylib (302) <03207F66-2C4A-3DBD-8D81-70F4C85903C4> /usr/lib/libxar.1.dylib
0x7fff97904000 - 0x7fff97973fff com.apple.SearchKit (1.4.0 - 1.4.0) <F159A888-34CA-36F1-AC8E-EB1B38C9DFB3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff9799f000 - 0x7fff97a35fff com.apple.ColorSync (4.9.0 - 4.9.0) <8FC37E20-6579-3CB2-9D49-BC39FC38DF87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fff97a36000 - 0x7fff97a42fff com.apple.SpeechRecognitionCore (2.2.7 - 2.2.7) <6BA06290-D4A3-351C-87F9-B61EF61FF055> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
0x7fff97b1a000 - 0x7fff97b28fff com.apple.opengl (12.1.0 - 12.1.0) <B9CE1265-6D68-3BE3-8345-90F9402F5DF3> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff97b29000 - 0x7fff97b53ff7 libc++abi.dylib (307.4) <D24E06BF-6522-3C4A-BD0C-11C42BA4D8E8> /usr/lib/libc++abi.dylib
0x7fff97ce1000 - 0x7fff98076fdb com.apple.vImage (8.0 - 8.0) <4BAC9B6F-7482-3580-8787-AB0A5B4D331B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff9807e000 - 0x7fff9808fff7 libsystem_trace.dylib (201.10.3) <356456FC-C29F-30DB-8382-9806D0D9426D> /usr/lib/system/libsystem_trace.dylib
0x7fff98090000 - 0x7fff98090fff com.apple.ApplicationServices (48 - 48) <ADD57D3A-142F-3EF5-BFD8-EACD82164884> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fff9809c000 - 0x7fff983f0fff com.apple.Foundation (6.9 - 1259.32) <472CF0E0-E6AE-3330-86A5-849F120749E2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff983fc000 - 0x7fff9840dfff libSparseBLAS.dylib (1162.2) <EBEB3848-3468-342A-91A6-5C47F2369CD9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
0x7fff989f1000 - 0x7fff989f2fff liblangid.dylib (122) <9CC4F0D1-5C51-3B69-BC8F-EE3A51FD0822> /usr/lib/liblangid.dylib
0x7fff989f3000 - 0x7fff98a0fff7 libextension.dylib (78) <FD952DA6-BBEC-3CB6-98B3-E1D111C5C54E> /usr/lib/libextension.dylib
0x7fff99307000 - 0x7fff99307ff7 libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
0x7fff99327000 - 0x7fff99755fff com.apple.vision.FaceCore (3.3.1 - 3.3.1) <E54028EA-4217-3078-A2B1-C52E4214D59E> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x7fff99762000 - 0x7fff998e0fff com.apple.UIFoundation (1.0 - 436.1) <AABB5267-E7B7-3D75-B051-E665BDA8DEF4> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x7fff998e1000 - 0x7fff998e7fff com.apple.IOAccelerator (205.14 - 205.14) <AFCB63A4-BEF6-362B-98C2-912FB1FC5F82> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x7fff99930000 - 0x7fff9993fffb com.apple.LangAnalysis (1.7.0 - 1.7.0) <18D21123-A3E7-3851-974A-08E5D4540475> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff99989000 - 0x7fff9999aff7 libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
0x7fff99c07000 - 0x7fff99dcdff7 com.apple.ImageIO.framework (3.3.0 - 1462) <78862785-0667-35F6-87C0-A1B1FA3588A7> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff99dce000 - 0x7fff99e42ff3 com.apple.securityfoundation (6.0 - 55126) <DB67837E-9813-3C25-896A-CB6FA800F366> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x7fff99e70000 - 0x7fff99e81fff libcmph.dylib (6) <BA4BF2C6-7F4E-33B8-9DD7-619C9EB83ECF> /usr/lib/libcmph.dylib
0x7fff99e82000 - 0x7fff99e99ff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
0x7fff99eed000 - 0x7fff99f91fff com.apple.Bluetooth (4.4.6 - 4.4.6f2) <C84D30C1-DC2E-356E-A8C8-DA496CA659CB> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x7fff99f92000 - 0x7fff99facff3 liblzma.5.dylib (10) <CC03591B-FA57-3CA5-AC81-0D76033AC0CE> /usr/lib/liblzma.5.dylib
0x7fff9a396000 - 0x7fff9a39bff7 libheimdal-asn1.dylib (453.40.11) <41620070-8AA6-3566-8520-67C65F6FA0DF> /usr/lib/libheimdal-asn1.dylib
0x7fff9a767000 - 0x7fff9a772fff com.apple.CrashReporterSupport (10.11 - 718) <43A265E6-47D6-35F9-8C27-387DE099E9E4> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x7fff9a7c6000 - 0x7fff9a7cefff libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
0x7fff9aac6000 - 0x7fff9aaefff7 libxslt.1.dylib (14.6) <ADD24C4F-3B96-304E-8EE5-5F5B0EA62991> /usr/lib/libxslt.1.dylib
0x7fff9aaf0000 - 0x7fff9aaf0ff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff9aaf1000 - 0x7fff9ab0dff3 libresolv.9.dylib (60) <A650B5C8-1950-36A0-86D1-0B2465318BFA> /usr/lib/libresolv.9.dylib
0x7fff9ab0e000 - 0x7fff9ab19ff7 libcommonCrypto.dylib (60075.50.1) <D81DA58F-A07A-3358-A09C-BE2C83F9CAD2> /usr/lib/system/libcommonCrypto.dylib
0x7fff9af28000 - 0x7fff9af74fff com.apple.print.framework.PrintCore (11.2 - 472.2) <5AE8AA6B-CE09-397D-B0D4-0F9CCBF1F77D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff9b382000 - 0x7fff9b528ff7 com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <370E95BC-956C-3962-86CC-0A14CF6A0389> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff9b735000 - 0x7fff9b737ff7 libRadiance.dylib (1464) <B0EA74D9-BC3B-3C5F-8D35-C3AADB5BD61F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff9b807000 - 0x7fff9b82bfff libJPEG.dylib (1464) <492AEE9D-5D4B-3063-A380-FA8561103D55> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff9b82c000 - 0x7fff9b835ff3 libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
0x7fff9b8e5000 - 0x7fff9b8f1fff com.apple.speech.synthesis.framework (5.4.12 - 5.4.12) <71DA00B8-5EA2-326B-8814-59DB25512F65> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff9ba1a000 - 0x7fff9ba1bffb libSystem.B.dylib (1226.10.1) <2CBB584D-A69C-36AA-A432-8E4E334EA589> /usr/lib/libSystem.B.dylib
0x7fff9ba1c000 - 0x7fff9ba6dfff com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <EA7D4F3B-062B-3C81-A98C-C89264D00D48> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff9bc9c000 - 0x7fff9bccdfff com.apple.GSS (4.0 - 2.0) <23A5ACE3-683C-3E32-9A9B-05FC934AFAFB> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff9c5ad000 - 0x7fff9c642fff com.apple.ink.framework (10.9 - 214) <1F76CF36-3F79-36B8-BC37-C540AF34B338> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x7fff9ccff000 - 0x7fff9cd02fff libCoreVMClient.dylib (119.5) <560D70FB-709F-3030-96C9-F249FCB7DA6D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x7fff9ce0b000 - 0x7fff9ce0cfff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9d06a000 - 0x7fff9d06dfff libsystem_sandbox.dylib (460.60.4) <907BB546-2F67-30B0-9B5B-05EC5F249EB2> /usr/lib/system/libsystem_sandbox.dylib
0x7fff9d088000 - 0x7fff9d31efff libmecabra.dylib (696.5) <EF6C0BD4-5FE8-34FB-8ADF-69A53CEC97A9> /usr/lib/libmecabra.dylib
0x7fff9d322000 - 0x7fff9d364ff7 com.apple.Metal (56.6 - 56.6) <30518711-8D00-3759-AA19-800D3C88E693> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x7fff9dafc000 - 0x7fff9db01ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff9de4c000 - 0x7fff9de54fef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff9de64000 - 0x7fff9deb7ff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff9debe000 - 0x7fff9df0fff7 libcups.2.dylib (435.2) <91584A40-214D-33E8-A613-CE22289037C8> /usr/lib/libcups.2.dylib
0x7fff9e023000 - 0x7fff9e097ff7 com.apple.Heimdal (4.0 - 2.0) <72D36F0E-2D3D-316E-870E-E68BF30F1D7D> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff9e248000 - 0x7fff9e250fff com.apple.NetFS (6.0 - 4.0) <842A5346-24C3-3F22-9ECF-E586A10EA1F2> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff9e352000 - 0x7fff9e362fff libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib
0x7fff9e369000 - 0x7fff9e36bfff libCVMSPluginSupport.dylib (12.1) <994EFFFB-132C-3670-B738-5316EB8051F4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x7fff9e4dc000 - 0x7fff9e4f8ff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff9e6c2000 - 0x7fff9e71efff libTIFF.dylib (1464) <0328905B-AF97-39D1-A631-E1A4376014CF> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff9e71f000 - 0x7fff9e765fff libFontRegistry.dylib (155.4) <EA64114D-1069-3D4D-BB6A-3F5769EE63B5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff9e766000 - 0x7fff9e78fff7 libxpc.dylib (765.70.1) <4FB1311F-4032-3F56-BF0B-CFF45D78FB01> /usr/lib/system/libxpc.dylib
0x7fff9e790000 - 0x7fff9eb8cfff libLAPACK.dylib (1162.2) <987E42B0-5108-3065-87F0-9DF7616A8A06> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff9eca8000 - 0x7fff9ecf7ff7 com.apple.opencl (2.7.0 - 2.7.0) <F410C203-0A88-35AB-8C06-D0E1A0209DA8> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff9edcf000 - 0x7fff9edcffff libenergytrace.dylib (10.40.1) <0A491CA7-3451-3FD5-999A-58AB4362682B> /usr/lib/libenergytrace.dylib
0x7fff9f71e000 - 0x7fff9f720fff com.apple.loginsupport (1.0 - 1) <9B2F5F9B-ED38-313F-B798-D2B667BCD6B5> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
0x7fff9f721000 - 0x7fff9f745fff com.apple.MultitouchSupport.framework (304.12 - 304.12) <2B4AC448-89A8-3A3F-947F-06B5BF069DAF> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fff9f746000 - 0x7fff9f796ff7 com.apple.Symbolication (1.4 - 58044) <F70BF765-FBE9-3F1E-85CA-BB2F8E53E8C2> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x7fff9f7fe000 - 0x7fff9f865fff com.apple.framework.CoreWiFi (11.0 - 1101.20) <91C5A231-0F7B-3B6A-A2D9-D389DBE9E1EB> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fffa0ab9000 - 0x7fffa0abefff com.apple.TCC (1.0 - 1) <F5EEB2D3-9517-3975-97BE-22CB8E11B8A3> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fffa0af6000 - 0x7fffa0af6fff com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <054DFE32-737D-3211-9A14-0FC5E1A880E3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fffa0b39000 - 0x7fffa0b3eff3 libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
0x7fffa0c5b000 - 0x7fffa0cb9fff com.apple.SystemConfiguration (1.14 - 1.14) <F083C2B2-6162-358F-9270-98EE9FE58A08> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fffa0cba000 - 0x7fffa0d6afe7 libvMisc.dylib (563.5) <40346E9C-FC15-375F-A4FB-FE94EBE490B4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fffa0dbe000 - 0x7fffa0dc0fff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fffa1090000 - 0x7fffa11daff7 com.apple.coreui (2.1 - 366.1) <A004F065-6CDF-3456-A114-C6B3404D8A50> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fffa11db000 - 0x7fffa11e3fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fffa1274000 - 0x7fffa12a3ff7 com.apple.DictionaryServices (1.2 - 250.3) <30250542-CBAA-39C1-91AA-B57A5DE17594> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fffa1411000 - 0x7fffa1433ff7 com.apple.Sharing (442.13.6 - 442.13.6) <DDD2811C-6ECB-32F2-8EE1-69BF9657B4A8> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 364995092
thread_create: 0
thread_set_state: 141
VM Region Summary:
ReadOnly portion of Libraries: Total=297.0M resident=0K(0%) swapped_out_or_unallocated=297.0M(100%)
Writable regions: Total=190.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=190.2M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 2048K 2
Kernel Alloc Once 4K 2
MALLOC 32.7M 20
MALLOC guard page 32K 7
MALLOC_LARGE (reserved) 512K 3 reserved VM address space (unallocated)
STACK GUARD 16K 5
Stack 18.0M 6
Stack Guard 4K 2
VM_ALLOCATE 8200K 21
VM_ALLOCATE (reserved) 128.0M 3 reserved VM address space (unallocated)
__DATA 18.9M 216
__IMAGE 528K 2
__LINKEDIT 98.2M 38
__TEXT 198.8M 212
__UNICODE 552K 2
shared memory 12K 4
=========== ======= =======
TOTAL 506.2M 529
TOTAL, minus reserved VM space 377.7M 529
Model: iMac17,1, BootROM IM171.0151.B00, 4 processors, Intel Core i5, 3.3 GHz, 16 GB, SMC 2.34f2
Graphics: AMD Radeon R9 M395, AMD Radeon R9 M395, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739453220
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x802C, 0x31364B544631473634485A2D314739453220
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x14A), Broadcom BCM43xx 1.0 (7.21.95.178.1a2)
Bluetooth: Version 4.4.6f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: APPLE HDD ST2000DM001, 2 TB
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Keyboard Hub
USB Device: Apple Keyboard
Thunderbolt Bus: iMac, Apple Inc., 28.1
</code></pre></div>
</details>
<p dir="auto">Unfortunately I cannot duplicate this with Python's <code class="notranslate">threading</code> module. I am not sure why that is - openblas, python and Qt5 use the same posix threading model underneath.</p>
<p dir="auto">Building numpy 1.15.0rc2 against OpenBLAS 3.1.0 (from homebrew) seems to fix this. OpenBLAS 3.1.0 <a href="https://github.com/xianyi/OpenBLAS/releases">release notes</a> do feature a note: <em>'rewritten thread initialization code with significantly reduced overhead'</em></p>
<p dir="auto">Is it too late in the 1.15.0 release plan to rebuild and retest with OpenBLAS 3.1.0?</p>
<p dir="auto">Python: 3.6.5<br>
Platform: macOS (10.11.6)<br>
Numpy: 1.15.0rc2 with openblas 3.0.0 (pypi wheel)</p> | 0 |
<p dir="auto">Seems like the HTML is appended twice to the phone viewer when a new challenge is loaded (see screen shot below). As soon as the exercise code is changed it is rendered correctly.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1204339/11118913/f191e3e2-8945-11e5-8da3-7b91206f06a3.png"><img width="941" alt="screen shot 2015-11-12 at 13 57 22" src="https://cloud.githubusercontent.com/assets/1204339/11118913/f191e3e2-8945-11e5-8da3-7b91206f06a3.png" style="max-width: 100%;"></a></p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-line-up-form-elements-responsively-with-bootstrap" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-line-up-form-elements-responsively-with-bootstrap</a> has an issue.</p>
<p dir="auto">I think the problem is happening on all Waypoint pages; the device right side of the screen where the CatPhotoApp page displays the information is being displayed duplicated;</p>
<p dir="auto">Another point is that the HTML / CSS code is not completely displayed when the page is loaded, it is necessary to click or edit the code so that the code from the previous lesson is displayed correctly;</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8672039/9483149/cbe9f67c-4b72-11e5-9b2a-698deaa06a4e.png"><img src="https://cloud.githubusercontent.com/assets/8672039/9483149/cbe9f67c-4b72-11e5-9b2a-698deaa06a4e.png" alt="duplicate" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8672039/9483184/285ff19a-4b73-11e5-8601-6c5fbb58215b.png"><img src="https://cloud.githubusercontent.com/assets/8672039/9483184/285ff19a-4b73-11e5-8601-6c5fbb58215b.png" alt="lost previous code" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Great work on <code class="notranslate">connectOverCDP</code> <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> I am loving the ability to connect to an existing instance rather than launch a new chrome every time.</p>
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.9.1</li>
<li>Operating System: Mac</li>
<li>Node.js version: 12.x</li>
<li>Browser: Chromium</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
const { chromium } = require("playwright");
(async () => {
const browser = await chromium.connectOverCDP({
// NOTE: change this with ws URL by launching chrome with CDP
wsEndpoint: `ws://127.0.0.1: 56685/devtools/browser/a5d5af82-e168-4ebb-8b87-199c3e5dc260`,
});
const contexts = browser.contexts();
const browserContext = contexts[0];
const page = await browserContext.newPage();
await page.goto("https://playwright.dev");
})();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-kos">{</span> chromium <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">"playwright"</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-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">chromium</span><span class="pl-kos">.</span><span class="pl-en">connectOverCDP</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c">// NOTE: change this with ws URL by launching chrome with CDP</span>
<span class="pl-c1">wsEndpoint</span>: <span class="pl-s">`ws://127.0.0.1: 56685/devtools/browser/a5d5af82-e168-4ebb-8b87-199c3e5dc260`</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">contexts</span> <span class="pl-c1">=</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">contexts</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">browserContext</span> <span class="pl-c1">=</span> <span class="pl-s1">contexts</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">const</span> <span class="pl-s1">page</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">browserContext</span><span class="pl-kos">.</span><span class="pl-en">newPage</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">"https://playwright.dev"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong><br>
Error log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[1] app: 2021-02-28T03:57:53.593Z app:debug 1614484673593 -> Chrome Endpoint: ws://127.0.0.1:56685/devtools/browser/a5d5af82-e168-4ebb-8b87-199c3e5dc260
[1] app: 2021-02-28T03:57:53.643Z app:warn 1614484673641 -> Error: Duplicate target 3E6BA14AC5D3C8825FC23623D1B55050
[1] app: at Object.assert (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/utils/utils.js:80:15)
[1] app: at CRBrowser._onAttachedToTarget (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crBrowser.js:152:17)
[1] app: at CRSession.emit (events.js:315:20)
[1] app: at CRSession.EventEmitter.emit (domain.js:483:12)
[1] app: at /Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crConnection.js:157:22
[1] app: at runNextTicks (internal/process/task_queues.js:62:5)
[1] app: at processImmediate (internal/timers.js:429:9) Promise { <rejected> Error: Duplicate target 3E6BA14AC5D3C8825FC23623D1B55050 at Object.assert (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/utils/utils.js:80:15) at CRBrowser._onAttachedToTarget (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crBrowser.js:152:17) at CRSession.emit (events.js:315:20) at CRSession.EventEmitter.emit (domain.js:483:12) at /Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crConnection.js:157:22 at runNextTicks (internal/process/task_queues.js:62:5) at processImmediate (internal/timers.js:429:9) }"><pre class="notranslate"><code class="notranslate">[1] app: 2021-02-28T03:57:53.593Z app:debug 1614484673593 -> Chrome Endpoint: ws://127.0.0.1:56685/devtools/browser/a5d5af82-e168-4ebb-8b87-199c3e5dc260
[1] app: 2021-02-28T03:57:53.643Z app:warn 1614484673641 -> Error: Duplicate target 3E6BA14AC5D3C8825FC23623D1B55050
[1] app: at Object.assert (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/utils/utils.js:80:15)
[1] app: at CRBrowser._onAttachedToTarget (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crBrowser.js:152:17)
[1] app: at CRSession.emit (events.js:315:20)
[1] app: at CRSession.EventEmitter.emit (domain.js:483:12)
[1] app: at /Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crConnection.js:157:22
[1] app: at runNextTicks (internal/process/task_queues.js:62:5)
[1] app: at processImmediate (internal/timers.js:429:9) Promise { <rejected> Error: Duplicate target 3E6BA14AC5D3C8825FC23623D1B55050 at Object.assert (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/utils/utils.js:80:15) at CRBrowser._onAttachedToTarget (/Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crBrowser.js:152:17) at CRSession.emit (events.js:315:20) at CRSession.EventEmitter.emit (domain.js:483:12) at /Users/vikramtiwari/Documents/code/app/packages/node_modules/playwright/lib/server/chromium/crConnection.js:157:22 at runNextTicks (internal/process/task_queues.js:62:5) at processImmediate (internal/timers.js:429:9) }
</code></pre></div>
<p dir="auto">First time connection works properly but next time I try to connect to same WS URL, I see this error.</p> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: <code class="notranslate">"@playwright/test": "^1.28.1",</code></li>
<li>Operating System: Mac</li>
<li>Node.js version: 16</li>
<li>Visual Studio Code version: Version: 1.74.1</li>
<li>Playwright for VSCode extension version: v1.0.1</li>
<li>Browser: N/A</li>
<li>Extra: N/A</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function getTestData() {
return [1, 2];
}
// THIS IS THE ONLY ONE PROPERLY DETECTED BY TEST RUNNER AS A TEST THAT CAN BE EXECUTED
test.describe('Quote - Existing Account - Test Quote Prices', () => {
const testCases = [1, 2];
for (const x of testCases) {
test('my test', async () => {
// fake
});
}
});
const testCases = [1, 2];
test.describe('Quote - Existing Account - Test Quote Prices', () => {
for (const x of quoteTestCases) {
test('my test', async () => {
// fake
});
}
});
test.describe('Quote - Existing Account - Test Quote Prices', () => {
for (const x of testCases) {
test('my test', async () => {
// fake
});
}
});
test.describe('Quote - Existing Account - Test Quote Prices', () => {
for (const x of [1, 2]) {
test('my test', async () => {
// fake
});
}
});"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">getTestData</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// THIS IS THE ONLY ONE PROPERLY DETECTED BY TEST RUNNER AS A TEST THAT CAN BE EXECUTED</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'Quote - Existing Account - Test Quote Prices'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">testCases</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-k">of</span> <span class="pl-s1">testCases</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'my test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// fake</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">testCases</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'Quote - Existing Account - Test Quote Prices'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-k">of</span> <span class="pl-s1">quoteTestCases</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'my test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// fake</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'Quote - Existing Account - Test Quote Prices'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-k">of</span> <span class="pl-s1">testCases</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'my test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// fake</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">describe</span><span class="pl-kos">(</span><span class="pl-s">'Quote - Existing Account - Test Quote Prices'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">x</span> <span class="pl-k">of</span> <span class="pl-kos">[</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">]</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'my test'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// fake</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">If test case data for parameterized tests are obtained from any variable declared outside the scope of the current scope or are declared inline in the for loop, the tests do not provide the option to be run.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5461649/208159644-52d6eee1-f73e-4bd4-814e-675f9ebb1568.png"><img src="https://user-images.githubusercontent.com/5461649/208159644-52d6eee1-f73e-4bd4-814e-675f9ebb1568.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 4.9.0.dev0</li>
<li>Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29</li>
<li>Python version: 3.8.10</li>
<li>PyTorch version (GPU?): not installed (NA)</li>
<li>Tensorflow version (GPU?): 2.5.0 (False)</li>
<li>Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu)</li>
<li>Jax version: 0.2.17</li>
<li>JaxLib version: 0.1.68</li>
</ul>
<h3 dir="auto">Who can help</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patrickvonplaten/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patrickvonplaten">@patrickvonplaten</a></p>
<h2 dir="auto">Information</h2>
<p dir="auto">Trying to run the experimental GPTNeo Flax script. Are getting the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="07/17/2021 16:08:11 - INFO - __main__ - ***** Running training *****
07/17/2021 16:08:11 - INFO - __main__ - Num examples = 2852257
07/17/2021 16:08:11 - INFO - __main__ - Num Epochs = 10
07/17/2021 16:08:11 - INFO - __main__ - Instantaneous batch size per device = 3
07/17/2021 16:08:11 - INFO - __main__ - Total train batch size (w. parallel & distributed) = 24
07/17/2021 16:08:11 - INFO - __main__ - Total optimization steps = 1188440
Epoch ... (1/10): 0%| | 0/10 [00:00<?, ?it/sF0717 16:08:46.411695 76098 array.h:414] Check failed: n < sizes_size | 0/118844 [00:00<?, ?it/s]
*** Check failure stack trace: ***
@ 0x7f4a22c7f347 (unknown)
@ 0x7f4a22c7ded4 (unknown)
@ 0x7f4a22c7d9c3 (unknown)
@ 0x7f4a22c7fcc9 (unknown)
@ 0x7f4a1e8e7eee (unknown)
@ 0x7f4a1e87ab2f (unknown)
@ 0x7f4a1e878cc2 (unknown)
@ 0x7f4a223fddb4 (unknown)
@ 0x7f4a223ff212 (unknown)
@ 0x7f4a223fce23 (unknown)
@ 0x7f4a1885856f (unknown)
@ 0x7f4a1e8a3248 (unknown)
@ 0x7f4a1e8a4d2b (unknown)
@ 0x7f4a1e3f202b (unknown)
@ 0x7f4a1e8e3001 (unknown)
@ 0x7f4a1e8e0d6a (unknown)
@ 0x7f4a1e8e08bd (unknown)
@ 0x7f4a1e8e3001 (unknown)
@ 0x7f4a1e8e0d6a (unknown)
@ 0x7f4a1e8e08bd (unknown)
@ 0x7f4a1df5f13f (unknown)
@ 0x7f4a1df5a52e (unknown)
@ 0x7f4a1df64292 (unknown)
@ 0x7f4a1df71ffd (unknown)
@ 0x7f4a1db5c6b6 (unknown)
@ 0x7f4a1db5c014 TpuCompiler_Compile
@ 0x7f4a28dcf956 xla::(anonymous namespace)::TpuCompiler::Compile()
@ 0x7f4a2657f0d4 xla::Service::BuildExecutables()
@ 0x7f4a265751a0 xla::LocalService::CompileExecutables()
@ 0x7f4a264b9e07 xla::LocalClient::Compile()
@ 0x7f4a264942a0 xla::PjRtStreamExecutorClient::Compile()
@ 0x7f4a2408f152 xla::PyClient::Compile()
@ 0x7f4a23e095e2 pybind11::detail::argument_loader<>::call_impl<>()
@ 0x7f4a23e09a51 pybind11::cpp_function::initialize<>()::{lambda()#3}::operator()()
@ 0x7f4a23df0460 pybind11::cpp_function::dispatcher()
@ 0x5f2cc9 PyCFunction_Call
https://symbolize.stripped_domain/r/?trace=7f4a22c7f347,7f4a22c7ded3,7f4a22c7d9c2,7f4a22c7fcc8,7f4a1e8e7eed,7f4a1e87ab2e,7f4a1e878cc1,7f4a223fddb3,7f4a223ff211,7f4a223fce22,7f4a1885856e,7f4a1e8a3247,7f4a1e8a4d2a,7f4a1e3f202a,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1df5f13e,7f4a1df5a52d,7f4a1df64291,7f4a1df71ffc,7f4a1db5c6b5,7f4a1db5c013,7f4a28dcf955,7f4a2657f0d3,7f4a2657519f,7f4a264b9e06,7f4a2649429f,7f4a2408f151,7f4a23e095e1,7f4a23e09a50,7f4a23df045f,5f2cc8&map=20957999b35a518f734e5552ed1ebec946aa0e35:7f4a2378b000-7f4a2a67dfc0,2a762cd764e70bc90ae4c7f9747c08d7:7f4a15d2d000-7f4a22fae280
https://symbolize.stripped_domain/r/?trace=7f4acedc218b,7f4acedc220f,7f4a22c7f487,7f4a22c7ded3,7f4a22c7d9c2,7f4a22c7fcc8,7f4a1e8e7eed,7f4a1e87ab2e,7f4a1e878cc1,7f4a223fddb3,7f4a223ff211,7f4a223fce22,7f4a1885856e,7f4a1e8a3247,7f4a1e8a4d2a,7f4a1e3f202a,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1df5f13e,7f4a1df5a52d,7f4a1df64291,7f4a1df71ffc,7f4a1db5c6b5,7f4a1db5c013,7f4a28dcf955,7f4a2657f0d3,7f4a2657519f,7f4a264b9e06,7f4a2649429f&map=20957999b35a518f734e5552ed1ebec946aa0e35:7f4a2378b000-7f4a2a67dfc0,2a762cd764e70bc90ae4c7f9747c08d7:7f4a15d2d000-7f4a22fae280
*** SIGABRT received by PID 76098 (TID 76098) on cpu 46 from PID 76098; ***
E0717 16:08:46.484046 76098 coredump_hook.cc:292] RAW: Remote crash data gathering hook invoked.
E0717 16:08:46.484074 76098 coredump_hook.cc:384] RAW: Skipping coredump since rlimit was 0 at process start.
E0717 16:08:46.484099 76098 client.cc:222] RAW: Coroner client retries enabled (b/136286901), will retry for up to 30 sec.
E0717 16:08:46.484107 76098 coredump_hook.cc:447] RAW: Sending fingerprint to remote end.
E0717 16:08:46.484121 76098 coredump_socket.cc:124] RAW: Stat failed errno=2 on socket /var/google/services/logmanagerd/remote_coredump.socket
E0717 16:08:46.484133 76098 coredump_hook.cc:451] RAW: Cannot send fingerprint to Coroner: [NOT_FOUND] Missing crash reporting socket. Is the listener running?
E0717 16:08:46.484139 76098 coredump_hook.cc:525] RAW: Discarding core.
F0717 16:08:46.411695 76098 array.h:414] Check failed: n < sizes_size
E0717 16:08:46.761921 76098 process_state.cc:771] RAW: Raising signal 6 with default behavior"><pre class="notranslate"><code class="notranslate">07/17/2021 16:08:11 - INFO - __main__ - ***** Running training *****
07/17/2021 16:08:11 - INFO - __main__ - Num examples = 2852257
07/17/2021 16:08:11 - INFO - __main__ - Num Epochs = 10
07/17/2021 16:08:11 - INFO - __main__ - Instantaneous batch size per device = 3
07/17/2021 16:08:11 - INFO - __main__ - Total train batch size (w. parallel & distributed) = 24
07/17/2021 16:08:11 - INFO - __main__ - Total optimization steps = 1188440
Epoch ... (1/10): 0%| | 0/10 [00:00<?, ?it/sF0717 16:08:46.411695 76098 array.h:414] Check failed: n < sizes_size | 0/118844 [00:00<?, ?it/s]
*** Check failure stack trace: ***
@ 0x7f4a22c7f347 (unknown)
@ 0x7f4a22c7ded4 (unknown)
@ 0x7f4a22c7d9c3 (unknown)
@ 0x7f4a22c7fcc9 (unknown)
@ 0x7f4a1e8e7eee (unknown)
@ 0x7f4a1e87ab2f (unknown)
@ 0x7f4a1e878cc2 (unknown)
@ 0x7f4a223fddb4 (unknown)
@ 0x7f4a223ff212 (unknown)
@ 0x7f4a223fce23 (unknown)
@ 0x7f4a1885856f (unknown)
@ 0x7f4a1e8a3248 (unknown)
@ 0x7f4a1e8a4d2b (unknown)
@ 0x7f4a1e3f202b (unknown)
@ 0x7f4a1e8e3001 (unknown)
@ 0x7f4a1e8e0d6a (unknown)
@ 0x7f4a1e8e08bd (unknown)
@ 0x7f4a1e8e3001 (unknown)
@ 0x7f4a1e8e0d6a (unknown)
@ 0x7f4a1e8e08bd (unknown)
@ 0x7f4a1df5f13f (unknown)
@ 0x7f4a1df5a52e (unknown)
@ 0x7f4a1df64292 (unknown)
@ 0x7f4a1df71ffd (unknown)
@ 0x7f4a1db5c6b6 (unknown)
@ 0x7f4a1db5c014 TpuCompiler_Compile
@ 0x7f4a28dcf956 xla::(anonymous namespace)::TpuCompiler::Compile()
@ 0x7f4a2657f0d4 xla::Service::BuildExecutables()
@ 0x7f4a265751a0 xla::LocalService::CompileExecutables()
@ 0x7f4a264b9e07 xla::LocalClient::Compile()
@ 0x7f4a264942a0 xla::PjRtStreamExecutorClient::Compile()
@ 0x7f4a2408f152 xla::PyClient::Compile()
@ 0x7f4a23e095e2 pybind11::detail::argument_loader<>::call_impl<>()
@ 0x7f4a23e09a51 pybind11::cpp_function::initialize<>()::{lambda()#3}::operator()()
@ 0x7f4a23df0460 pybind11::cpp_function::dispatcher()
@ 0x5f2cc9 PyCFunction_Call
https://symbolize.stripped_domain/r/?trace=7f4a22c7f347,7f4a22c7ded3,7f4a22c7d9c2,7f4a22c7fcc8,7f4a1e8e7eed,7f4a1e87ab2e,7f4a1e878cc1,7f4a223fddb3,7f4a223ff211,7f4a223fce22,7f4a1885856e,7f4a1e8a3247,7f4a1e8a4d2a,7f4a1e3f202a,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1df5f13e,7f4a1df5a52d,7f4a1df64291,7f4a1df71ffc,7f4a1db5c6b5,7f4a1db5c013,7f4a28dcf955,7f4a2657f0d3,7f4a2657519f,7f4a264b9e06,7f4a2649429f,7f4a2408f151,7f4a23e095e1,7f4a23e09a50,7f4a23df045f,5f2cc8&map=20957999b35a518f734e5552ed1ebec946aa0e35:7f4a2378b000-7f4a2a67dfc0,2a762cd764e70bc90ae4c7f9747c08d7:7f4a15d2d000-7f4a22fae280
https://symbolize.stripped_domain/r/?trace=7f4acedc218b,7f4acedc220f,7f4a22c7f487,7f4a22c7ded3,7f4a22c7d9c2,7f4a22c7fcc8,7f4a1e8e7eed,7f4a1e87ab2e,7f4a1e878cc1,7f4a223fddb3,7f4a223ff211,7f4a223fce22,7f4a1885856e,7f4a1e8a3247,7f4a1e8a4d2a,7f4a1e3f202a,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1e8e3000,7f4a1e8e0d69,7f4a1e8e08bc,7f4a1df5f13e,7f4a1df5a52d,7f4a1df64291,7f4a1df71ffc,7f4a1db5c6b5,7f4a1db5c013,7f4a28dcf955,7f4a2657f0d3,7f4a2657519f,7f4a264b9e06,7f4a2649429f&map=20957999b35a518f734e5552ed1ebec946aa0e35:7f4a2378b000-7f4a2a67dfc0,2a762cd764e70bc90ae4c7f9747c08d7:7f4a15d2d000-7f4a22fae280
*** SIGABRT received by PID 76098 (TID 76098) on cpu 46 from PID 76098; ***
E0717 16:08:46.484046 76098 coredump_hook.cc:292] RAW: Remote crash data gathering hook invoked.
E0717 16:08:46.484074 76098 coredump_hook.cc:384] RAW: Skipping coredump since rlimit was 0 at process start.
E0717 16:08:46.484099 76098 client.cc:222] RAW: Coroner client retries enabled (b/136286901), will retry for up to 30 sec.
E0717 16:08:46.484107 76098 coredump_hook.cc:447] RAW: Sending fingerprint to remote end.
E0717 16:08:46.484121 76098 coredump_socket.cc:124] RAW: Stat failed errno=2 on socket /var/google/services/logmanagerd/remote_coredump.socket
E0717 16:08:46.484133 76098 coredump_hook.cc:451] RAW: Cannot send fingerprint to Coroner: [NOT_FOUND] Missing crash reporting socket. Is the listener running?
E0717 16:08:46.484139 76098 coredump_hook.cc:525] RAW: Discarding core.
F0717 16:08:46.411695 76098 array.h:414] Check failed: n < sizes_size
E0717 16:08:46.761921 76098 process_state.cc:771] RAW: Raising signal 6 with default behavior
</code></pre></div> | <h2 dir="auto">Environment info</h2>
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 4.9.0.dev0</li>
<li>Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29</li>
<li>Python version: 3.8.10</li>
<li>PyTorch version (GPU?): 1.9.0+cpu (False)</li>
<li>Tensorflow version (GPU?): 2.7.0-dev20210705 (False)</li>
<li>Flax version: 0.3.4 (tpu)</li>
<li>Jax version: 0.2.16</li>
<li>JaxLib version: 0.1.68</li>
<li>Using distributed or parallel set-up in script?: Yes</li>
</ul>
<h3 dir="auto">Who can help</h3>
<p dir="auto">examples/research_projects/jax/model_parallel<br>
<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/patil-suraj/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/patil-suraj">@patil-suraj</a></p>
<h2 dir="auto">Information</h2>
<p dir="auto">Model I am using GPTNeo-1.3B (for instance the one with resized to multiple of 8 embedding can be found <a href="https://huggingface.co/flax-community/gpt-neo-1.3B-resized-embed" rel="nofollow">here</a>)</p>
<p dir="auto">The problem arises when using:</p>
<ul dir="auto">
<li>
<p dir="auto">the official example scripts</p>
</li>
<li>
<p dir="auto">my own modified scripts:<br>
Same error is observed with <a href="https://github.com/ncoop57/gpt-code-clippy/blob/main/run_clm_mp_apps.py">customized script</a></p>
</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Run the command below in <code class="notranslate">examples/research_projects/jax-projects/model parallel</code> folder in cloned tarnsformers repo:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="python run_clm_mp.py \
--model_name_or_path flax-community/gpt-neo-1.3B-resized-embed \
--tokenizer_name gpt2 \
--dataset_name wikitext --dataset_config_name wikitext-2-raw-v1 \
--do_train --do_eval \
--block_size 1024 \
--num_train_epochs 5 \
--learning_rate 4e-6 \
--per_device_train_batch_size 3 --per_device_eval_batch_size 3 \
--overwrite_output_dir --output_dir ~/tmp/flax-clm \
--cache_dir ~/datasets_cache/wikitext --dtype bfloat16 \
--logging_steps 96 --eval_steps 96"><pre class="notranslate"><code class="notranslate">python run_clm_mp.py \
--model_name_or_path flax-community/gpt-neo-1.3B-resized-embed \
--tokenizer_name gpt2 \
--dataset_name wikitext --dataset_config_name wikitext-2-raw-v1 \
--do_train --do_eval \
--block_size 1024 \
--num_train_epochs 5 \
--learning_rate 4e-6 \
--per_device_train_batch_size 3 --per_device_eval_batch_size 3 \
--overwrite_output_dir --output_dir ~/tmp/flax-clm \
--cache_dir ~/datasets_cache/wikitext --dtype bfloat16 \
--logging_steps 96 --eval_steps 96
</code></pre></div>
<p dir="auto">Stack trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="07/16/2021 13:59:13 - INFO - absl - A polynomial schedule was set with a non-positive `transition_steps` value; this results in a constant schedule with value `init_value`.
/home/arto/jenv/lib/python3.8/site-packages/jax/experimental/pjit.py:160: UserWarning: pjit is an experimental feature and probably has bugs!
warn("pjit is an experimental feature and probably has bugs!")
07/16/2021 13:59:21 - INFO - __main__ - ***** Running training *****
07/16/2021 13:59:21 - INFO - __main__ - Num examples = 2318
07/16/2021 13:59:21 - INFO - __main__ - Num Epochs = 5
07/16/2021 13:59:21 - INFO - __main__ - Instantaneous batch size per device = 3
07/16/2021 13:59:21 - INFO - __main__ - Total train batch size (w. parallel & distributed) = 24
07/16/2021 13:59:21 - INFO - __main__ - Total optimization steps = 480
Epoch ... (1/5): 0%| | 0/5 [00:00<?, ?it/sF0716 13:59:49.611617 14290 array.h:414] Check failed: n < sizes_size | 0/96 [00:00<?, ?it/s]
*** Check failure stack trace: ***
@ 0x7efd6d030347 (unknown)
@ 0x7efd6d02eed4 (unknown)
@ 0x7efd6d02e9c3 (unknown)
@ 0x7efd6d030cc9 (unknown)
@ 0x7efd68c98eee (unknown)
@ 0x7efd68c2bb2f (unknown)
@ 0x7efd68c29cc2 (unknown)
@ 0x7efd6c7aedb4 (unknown)
@ 0x7efd6c7b0212 (unknown)
@ 0x7efd6c7ade23 (unknown)
@ 0x7efd62c0956f (unknown)
@ 0x7efd68c54248 (unknown)
@ 0x7efd68c55d2b (unknown)
@ 0x7efd687a302b (unknown)
@ 0x7efd68c94001 (unknown)
@ 0x7efd68c91d6a (unknown)
@ 0x7efd68c918bd (unknown)
@ 0x7efd68c94001 (unknown)
@ 0x7efd68c91d6a (unknown)
@ 0x7efd68c918bd (unknown)
@ 0x7efd6831013f (unknown)
@ 0x7efd6830b52e (unknown)
@ 0x7efd68315292 (unknown)
@ 0x7efd68322ffd (unknown)
@ 0x7efd67f0d6b6 (unknown)
@ 0x7efd67f0d014 TpuCompiler_Compile
@ 0x7efd73180956 xla::(anonymous namespace)::TpuCompiler::Compile()
@ 0x7efd709300d4 xla::Service::BuildExecutables()
@ 0x7efd709261a0 xla::LocalService::CompileExecutables()
@ 0x7efd7086ae07 xla::LocalClient::Compile()
@ 0x7efd708452a0 xla::PjRtStreamExecutorClient::Compile()
@ 0x7efd6e440152 xla::PyClient::Compile()
@ 0x7efd6e1ba5e2 pybind11::detail::argument_loader<>::call_impl<>()
@ 0x7efd6e1baa51 pybind11::cpp_function::initialize<>()::{lambda()#3}::operator()()
@ 0x7efd6e1a1460 pybind11::cpp_function::dispatcher()
@ 0x5f2cc9 PyCFunction_Call
https://symbolize.stripped_domain/r/?trace=7efd6d030347,7efd6d02eed3,7efd6d02e9c2,7efd6d030cc8,7efd68c98eed,7efd68c2bb2e,7efd68c29cc1,7efd6c7aedb3,7efd6c7b0211,7efd6c7ade22,7efd62c0956e,7efd68c54247,7efd68c55d2a,7efd687a302a,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd6831013e,7efd6830b52d,7efd68315291,7efd68322ffc,7efd67f0d6b5,7efd67f0d013,7efd73180955,7efd709300d3,7efd7092619f,7efd7086ae06,7efd7084529f,7efd6e440151,7efd6e1ba5e1,7efd6e1baa50,7efd6e1a145f,5f2cc8&map=20957999b35a518f734e5552ed1ebec946aa0e35:7efd6db3c000-7efd74a2efc0,2a762cd764e70bc90ae4c7f9747c08d7:7efd600de000-7efd6d35f280
https://symbolize.stripped_domain/r/?trace=7eff9cd0b18b,7eff9cd0b20f,7efd6d030487,7efd6d02eed3,7efd6d02e9c2,7efd6d030cc8,7efd68c98eed,7efd68c2bb2e,7efd68c29cc1,7efd6c7aedb3,7efd6c7b0211,7efd6c7ade22,7efd62c0956e,7efd68c54247,7efd68c55d2a,7efd687a302a,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd6831013e,7efd6830b52d,7efd68315291,7efd68322ffc,7efd67f0d6b5,7efd67f0d013,7efd73180955,7efd709300d3,7efd7092619f,7efd7086ae06,7efd7084529f&map=20957999b35a518f734e5552ed1ebec946aa0e35:7efd6db3c000-7efd74a2efc0,2a762cd764e70bc90ae4c7f9747c08d7:7efd600de000-7efd6d35f280
*** SIGABRT received by PID 14290 (TID 14290) on cpu 89 from PID 14290; ***
E0716 13:59:49.681807 14290 coredump_hook.cc:292] RAW: Remote crash data gathering hook invoked.
E0716 13:59:49.681854 14290 coredump_hook.cc:384] RAW: Skipping coredump since rlimit was 0 at process start.
E0716 13:59:49.681862 14290 client.cc:222] RAW: Coroner client retries enabled (b/136286901), will retry for up to 30 sec.
E0716 13:59:49.681870 14290 coredump_hook.cc:447] RAW: Sending fingerprint to remote end.
E0716 13:59:49.681876 14290 coredump_socket.cc:124] RAW: Stat failed errno=2 on socket /var/google/services/logmanagerd/remote_coredump.socket
E0716 13:59:49.681886 14290 coredump_hook.cc:451] RAW: Cannot send fingerprint to Coroner: [NOT_FOUND] Missing crash reporting socket. Is the listener running?
E0716 13:59:49.681891 14290 coredump_hook.cc:525] RAW: Discarding core.
F0716 13:59:49.611617 14290 array.h:414] Check failed: n < sizes_size
E0716 13:59:49.953522 14290 process_state.cc:771] RAW: Raising signal 6 with default behavior
Aborted (core dumped)"><pre class="notranslate"><code class="notranslate">07/16/2021 13:59:13 - INFO - absl - A polynomial schedule was set with a non-positive `transition_steps` value; this results in a constant schedule with value `init_value`.
/home/arto/jenv/lib/python3.8/site-packages/jax/experimental/pjit.py:160: UserWarning: pjit is an experimental feature and probably has bugs!
warn("pjit is an experimental feature and probably has bugs!")
07/16/2021 13:59:21 - INFO - __main__ - ***** Running training *****
07/16/2021 13:59:21 - INFO - __main__ - Num examples = 2318
07/16/2021 13:59:21 - INFO - __main__ - Num Epochs = 5
07/16/2021 13:59:21 - INFO - __main__ - Instantaneous batch size per device = 3
07/16/2021 13:59:21 - INFO - __main__ - Total train batch size (w. parallel & distributed) = 24
07/16/2021 13:59:21 - INFO - __main__ - Total optimization steps = 480
Epoch ... (1/5): 0%| | 0/5 [00:00<?, ?it/sF0716 13:59:49.611617 14290 array.h:414] Check failed: n < sizes_size | 0/96 [00:00<?, ?it/s]
*** Check failure stack trace: ***
@ 0x7efd6d030347 (unknown)
@ 0x7efd6d02eed4 (unknown)
@ 0x7efd6d02e9c3 (unknown)
@ 0x7efd6d030cc9 (unknown)
@ 0x7efd68c98eee (unknown)
@ 0x7efd68c2bb2f (unknown)
@ 0x7efd68c29cc2 (unknown)
@ 0x7efd6c7aedb4 (unknown)
@ 0x7efd6c7b0212 (unknown)
@ 0x7efd6c7ade23 (unknown)
@ 0x7efd62c0956f (unknown)
@ 0x7efd68c54248 (unknown)
@ 0x7efd68c55d2b (unknown)
@ 0x7efd687a302b (unknown)
@ 0x7efd68c94001 (unknown)
@ 0x7efd68c91d6a (unknown)
@ 0x7efd68c918bd (unknown)
@ 0x7efd68c94001 (unknown)
@ 0x7efd68c91d6a (unknown)
@ 0x7efd68c918bd (unknown)
@ 0x7efd6831013f (unknown)
@ 0x7efd6830b52e (unknown)
@ 0x7efd68315292 (unknown)
@ 0x7efd68322ffd (unknown)
@ 0x7efd67f0d6b6 (unknown)
@ 0x7efd67f0d014 TpuCompiler_Compile
@ 0x7efd73180956 xla::(anonymous namespace)::TpuCompiler::Compile()
@ 0x7efd709300d4 xla::Service::BuildExecutables()
@ 0x7efd709261a0 xla::LocalService::CompileExecutables()
@ 0x7efd7086ae07 xla::LocalClient::Compile()
@ 0x7efd708452a0 xla::PjRtStreamExecutorClient::Compile()
@ 0x7efd6e440152 xla::PyClient::Compile()
@ 0x7efd6e1ba5e2 pybind11::detail::argument_loader<>::call_impl<>()
@ 0x7efd6e1baa51 pybind11::cpp_function::initialize<>()::{lambda()#3}::operator()()
@ 0x7efd6e1a1460 pybind11::cpp_function::dispatcher()
@ 0x5f2cc9 PyCFunction_Call
https://symbolize.stripped_domain/r/?trace=7efd6d030347,7efd6d02eed3,7efd6d02e9c2,7efd6d030cc8,7efd68c98eed,7efd68c2bb2e,7efd68c29cc1,7efd6c7aedb3,7efd6c7b0211,7efd6c7ade22,7efd62c0956e,7efd68c54247,7efd68c55d2a,7efd687a302a,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd6831013e,7efd6830b52d,7efd68315291,7efd68322ffc,7efd67f0d6b5,7efd67f0d013,7efd73180955,7efd709300d3,7efd7092619f,7efd7086ae06,7efd7084529f,7efd6e440151,7efd6e1ba5e1,7efd6e1baa50,7efd6e1a145f,5f2cc8&map=20957999b35a518f734e5552ed1ebec946aa0e35:7efd6db3c000-7efd74a2efc0,2a762cd764e70bc90ae4c7f9747c08d7:7efd600de000-7efd6d35f280
https://symbolize.stripped_domain/r/?trace=7eff9cd0b18b,7eff9cd0b20f,7efd6d030487,7efd6d02eed3,7efd6d02e9c2,7efd6d030cc8,7efd68c98eed,7efd68c2bb2e,7efd68c29cc1,7efd6c7aedb3,7efd6c7b0211,7efd6c7ade22,7efd62c0956e,7efd68c54247,7efd68c55d2a,7efd687a302a,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd68c94000,7efd68c91d69,7efd68c918bc,7efd6831013e,7efd6830b52d,7efd68315291,7efd68322ffc,7efd67f0d6b5,7efd67f0d013,7efd73180955,7efd709300d3,7efd7092619f,7efd7086ae06,7efd7084529f&map=20957999b35a518f734e5552ed1ebec946aa0e35:7efd6db3c000-7efd74a2efc0,2a762cd764e70bc90ae4c7f9747c08d7:7efd600de000-7efd6d35f280
*** SIGABRT received by PID 14290 (TID 14290) on cpu 89 from PID 14290; ***
E0716 13:59:49.681807 14290 coredump_hook.cc:292] RAW: Remote crash data gathering hook invoked.
E0716 13:59:49.681854 14290 coredump_hook.cc:384] RAW: Skipping coredump since rlimit was 0 at process start.
E0716 13:59:49.681862 14290 client.cc:222] RAW: Coroner client retries enabled (b/136286901), will retry for up to 30 sec.
E0716 13:59:49.681870 14290 coredump_hook.cc:447] RAW: Sending fingerprint to remote end.
E0716 13:59:49.681876 14290 coredump_socket.cc:124] RAW: Stat failed errno=2 on socket /var/google/services/logmanagerd/remote_coredump.socket
E0716 13:59:49.681886 14290 coredump_hook.cc:451] RAW: Cannot send fingerprint to Coroner: [NOT_FOUND] Missing crash reporting socket. Is the listener running?
E0716 13:59:49.681891 14290 coredump_hook.cc:525] RAW: Discarding core.
F0716 13:59:49.611617 14290 array.h:414] Check failed: n < sizes_size
E0716 13:59:49.953522 14290 process_state.cc:771] RAW: Raising signal 6 with default behavior
Aborted (core dumped)
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">Training in model parallel mode.</p> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong> 3.0.3</p>
<p dir="auto"><strong>Search Terms:</strong> graphql, GraphQLNonNull</p>
<p dir="auto"><strong>Code</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export const UserConnection = connectionDefinitions({
name: 'User',
nodeType: GraphQLNonNull(UserType),
});"><pre class="notranslate"><code class="notranslate">export const UserConnection = connectionDefinitions({
name: 'User',
nodeType: GraphQLNonNull(UserType),
});
</code></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc."><pre class="notranslate"><span class="pl-c">// A *self-contained* demonstration of the problem follows...</span>
<span class="pl-c">// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.</span></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/2005841/45266663-f23a3480-b434-11e8-8783-520f9c528596.png"><img src="https://user-images.githubusercontent.com/2005841/45266663-f23a3480-b434-11e8-8783-520f9c528596.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">src/modules/user/UserType.ts:39:13 - error TS2348: Value of type 'typeof GraphQLNonNull' is not callable. Did you mean to include 'new'?</p>
<p dir="auto">39 nodeType: GraphQLNonNull(UserType),<br>
~~~~~~~~~~~~~~~~~~~~~~~~</p>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto">it should be able to use GraphQLNonNull without <code class="notranslate">new</code> keyword</p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">it requires <code class="notranslate">new</code> keyword</p>
<p dir="auto">Check this for more info of this change <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="281210205" data-permission-text="Title is private" data-url="https://github.com/graphql/graphql-js/issues/1136" data-hovercard-type="pull_request" data-hovercard-url="/graphql/graphql-js/pull/1136/hovercard" href="https://github.com/graphql/graphql-js/pull/1136">graphql/graphql-js#1136</a></p>
<p dir="auto">How can I disable this error?</p>
<p dir="auto"><strong>Playground Link:</strong> </p>
<p dir="auto"><a href="http://www.typescriptlang.org/play/#src=import%20%7B%20GraphQLObjectType%2C%20GraphQLString%2C%20GraphQLBoolean%2C%20GraphQLNonNull%20%7D%20from%20'graphql'%3B%0D%0A%0D%0Aconst%20UserType%20%3D%0D%0A%20%20%20%20new%20GraphQLObjectType(%7B%0D%0A%20%20%20%20%20%20%20%20name%3A%20'User'%2C%0D%0A%20%20%20%20%20%20%20%20description%3A%20'User%20data'%2C%0D%0A%20%20%20%20%20%20%20%20fields%3A%20()%20%3D%3E%20(%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20_id%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLNonNull(GraphQLString)%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user._id%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20name%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLString%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.name%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20email%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLString%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.email%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20active%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLBoolean%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.active%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7D)%2C%0D%0A%20%20%20%20%7D)%3B" rel="nofollow">http://www.typescriptlang.org/play/#src=import%20%7B%20GraphQLObjectType%2C%20GraphQLString%2C%20GraphQLBoolean%2C%20GraphQLNonNull%20%7D%20from%20'graphql'%3B%0D%0A%0D%0Aconst%20UserType%20%3D%0D%0A%20%20%20%20new%20GraphQLObjectType(%7B%0D%0A%20%20%20%20%20%20%20%20name%3A%20'User'%2C%0D%0A%20%20%20%20%20%20%20%20description%3A%20'User%20data'%2C%0D%0A%20%20%20%20%20%20%20%20fields%3A%20()%20%3D%3E%20(%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20_id%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLNonNull(GraphQLString)%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user._id%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20name%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLString%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.name%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20email%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLString%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.email%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20active%3A%20%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20type%3A%20GraphQLBoolean%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20resolve%3A%20user%20%3D%3E%20user.active%2C%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%2C%0D%0A%20%20%20%20%20%20%20%20%7D)%2C%0D%0A%20%20%20%20%7D)%3B</a></p>
<p dir="auto"><strong>Related Issues:</strong> </p> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/node</code> and <code class="notranslate">@types/requirejs</code> packages and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> - Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkomyno/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkomyno">@jkomyno</a> , <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/a-tarasyuk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/a-tarasyuk">@a-tarasyuk</a> , <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alvis/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alvis">@alvis</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/r3nya/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/r3nya">@r3nya</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/BrunoScheufler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/BrunoScheufler">@BrunoScheufler</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/samuela/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/samuela">@samuela</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jbaldwin/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jbaldwin">@jbaldwin</a></li>
</ul>
<p dir="auto">I have recently upgraded my Azure DevOps extension from typescript 1.8 to 3.2.1. The same time I've been upgrading the other dependencies and type definitions. As a result I currently have requirejs type 2.1.20 and Node.js type 10.12 (version numbers as per the *.d.ts).</p>
<p dir="auto">Which throws below errors while compiling:</p>
<blockquote>
<p dir="auto">node_modules/@types/node/index.d.ts(7696,5): error TS2300: Duplicate identifier 'mod'.<br>
node_modules/@types/requirejs/index.d.ts(38,11): error TS2300: Duplicate identifier 'mod'.<br>
node_modules/@types/requirejs/index.d.ts(422,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'require' must be of type 'NodeRequire', but here has type 'Require'.</p>
</blockquote>
<p dir="auto">I understand there are some sort of similar questions in the net, but I don't see a proper answer to any.<br>
Appreciate if you could have a look and let me know how to fix this.</p>
<p dir="auto">Thank you.</p> | 0 |
<p dir="auto">The E2E test <code class="notranslate">Kubectl client Kubectl describe should check if kubectl describe prints relevant information for rc and pods</code> failed with:</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/kubectl.go:653 Expected error: <*errors.errorString | 0xc2084e9fa0>: { s: "gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s", } gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s not to have occurred"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:653 Expected error: <*errors.errorString | 0xc2084e9fa0>: { s: "gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s", } gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s not to have occurred
</code></pre></div>
<p dir="auto">Log from <a href="http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/12521/" rel="nofollow">http://kubekins.dls.corp.google.com/view/Critical%20Builds/job/kubernetes-e2e-gce/12521/</a>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="14:55:40 ------------------------------
14:55:43 [BeforeEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:83
14:55:43 STEP: Creating a kubernetes client
14:55:43 Feb 29 14:50:37.274: INFO: >>> testContext.KubeConfig: /var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config
14:55:43
14:55:43 STEP: Building a namespace api object
14:55:43 Feb 29 14:50:37.281: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubectl-ar328
14:55:43 Feb 29 14:50:37.283: INFO: Get service account default in ns e2e-tests-kubectl-ar328 failed, ignoring for 2s: serviceaccounts "default" not found
14:55:43 Feb 29 14:50:39.292: INFO: Service account default in ns e2e-tests-kubectl-ar328 with secrets found. (2.011399449s)
14:55:43 STEP: Waiting for a default service account to be provisioned in namespace
14:55:43 Feb 29 14:50:39.292: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubectl-ar328
14:55:43 Feb 29 14:50:39.307: INFO: Service account default in ns e2e-tests-kubectl-ar328 with secrets found. (14.459417ms)
14:55:43 [BeforeEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:114
14:55:43 [It] should check if kubectl describe prints relevant information for rc and pods [Conformance]
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:653
14:55:43 Feb 29 14:50:39.319: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.199.77 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config create -f /jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/examples/guestbook-go/redis-master-controller.json --namespace=e2e-tests-kubectl-ar328'
14:55:43 Feb 29 14:50:39.768: INFO: stderr: ""
14:55:43 Feb 29 14:50:39.768: INFO: stdout: "replicationcontroller \"redis-master\" created"
14:55:43 Feb 29 14:50:39.768: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.199.77 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config create -f /jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/examples/guestbook-go/redis-master-service.json --namespace=e2e-tests-kubectl-ar328'
14:55:43 Feb 29 14:50:40.071: INFO: stderr: ""
14:55:43 Feb 29 14:50:40.071: INFO: stdout: "service \"redis-master\" created"
14:55:43 Feb 29 14:50:40.076: INFO: Waiting up to 5m0s for pod redis-master-4aaru status to be running
14:55:43 Feb 29 14:50:40.078: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2.416659ms elapsed)
14:55:43 Feb 29 14:50:42.130: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2.054031947s elapsed)
14:55:43 Feb 29 14:50:44.159: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4.083291275s elapsed)
14:55:43 Feb 29 14:50:46.183: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (6.107054319s elapsed)
14:55:43 Feb 29 14:50:48.213: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (8.137358401s elapsed)
14:55:43 Feb 29 14:50:50.242: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (10.1656075s elapsed)
14:55:43 Feb 29 14:50:52.252: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (12.176506802s elapsed)
14:55:43 Feb 29 14:50:54.308: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (14.232027157s elapsed)
14:55:43 Feb 29 14:50:56.336: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (16.25978373s elapsed)
14:55:43 Feb 29 14:50:58.340: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (18.263573465s elapsed)
14:55:43 Feb 29 14:51:00.348: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (20.272051012s elapsed)
14:55:43 Feb 29 14:51:02.356: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (22.279961759s elapsed)
14:55:43 Feb 29 14:51:04.374: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (24.298034733s elapsed)
14:55:43 Feb 29 14:51:06.386: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (26.310401391s elapsed)
14:55:43 Feb 29 14:51:08.398: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (28.32254971s elapsed)
14:55:43 Feb 29 14:51:10.648: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (30.571840863s elapsed)
14:55:43 Feb 29 14:51:12.743: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (32.66741847s elapsed)
14:55:43 Feb 29 14:51:14.801: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (34.725011045s elapsed)
14:55:43 Feb 29 14:51:16.822: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (36.746214199s elapsed)
14:55:43 Feb 29 14:51:19.064: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (38.988099334s elapsed)
14:55:43 Feb 29 14:51:21.136: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (41.060525317s elapsed)
14:55:43 Feb 29 14:51:23.244: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (43.167696671s elapsed)
14:55:43 Feb 29 14:51:25.303: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (45.227454851s elapsed)
14:55:43 Feb 29 14:51:27.307: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (47.23148492s elapsed)
14:55:43 Feb 29 14:51:29.315: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (49.239062044s elapsed)
14:55:43 Feb 29 14:51:31.319: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (51.242828863s elapsed)
14:55:43 Feb 29 14:51:33.323: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (53.247243075s elapsed)
14:55:43 Feb 29 14:51:35.331: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (55.254975718s elapsed)
14:55:43 Feb 29 14:51:37.338: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (57.262326285s elapsed)
14:55:43 Feb 29 14:51:39.342: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (59.265774349s elapsed)
14:55:43 Feb 29 14:51:41.346: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m1.269745681s elapsed)
14:55:43 Feb 29 14:51:43.349: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m3.273407413s elapsed)
14:55:43 Feb 29 14:51:45.353: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m5.276702088s elapsed)
14:55:43 Feb 29 14:51:47.357: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m7.281058909s elapsed)
14:55:43 Feb 29 14:51:49.361: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m9.284772075s elapsed)
14:55:43 Feb 29 14:51:51.365: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m11.28862377s elapsed)
14:55:43 Feb 29 14:51:53.370: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m13.294355002s elapsed)
14:55:43 Feb 29 14:51:55.374: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m15.298049825s elapsed)
14:55:43 Feb 29 14:51:57.377: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m17.301266938s elapsed)
14:55:43 Feb 29 14:51:59.381: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m19.305429331s elapsed)
14:55:43 Feb 29 14:52:01.386: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m21.309589098s elapsed)
14:55:43 Feb 29 14:52:03.390: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m23.31373811s elapsed)
14:55:43 Feb 29 14:52:05.393: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m25.317486519s elapsed)
14:55:43 Feb 29 14:52:07.398: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m27.321758837s elapsed)
14:55:43 Feb 29 14:52:09.402: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m29.325952281s elapsed)
14:55:43 Feb 29 14:52:11.406: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m31.330029732s elapsed)
14:55:43 Feb 29 14:52:13.410: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m33.333699393s elapsed)
14:55:43 Feb 29 14:52:15.413: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m35.337488171s elapsed)
14:55:43 Feb 29 14:52:17.417: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m37.341387979s elapsed)
14:55:43 Feb 29 14:52:19.422: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m39.346009165s elapsed)
14:55:43 Feb 29 14:52:21.427: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m41.350694737s elapsed)
14:55:43 Feb 29 14:52:23.431: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m43.354622268s elapsed)
14:55:43 Feb 29 14:52:25.434: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m45.358322343s elapsed)
14:55:43 Feb 29 14:52:27.439: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m47.362622293s elapsed)
14:55:43 Feb 29 14:52:29.442: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m49.366293577s elapsed)
14:55:43 Feb 29 14:52:31.446: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m51.369947118s elapsed)
14:55:43 Feb 29 14:52:33.450: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m53.373784363s elapsed)
14:55:43 Feb 29 14:52:35.454: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m55.377920209s elapsed)
14:55:43 Feb 29 14:52:37.465: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m57.389507422s elapsed)
14:55:43 Feb 29 14:52:39.471: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m59.394610074s elapsed)
14:55:43 Feb 29 14:52:41.475: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m1.398853661s elapsed)
14:55:43 Feb 29 14:52:43.479: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m3.402875322s elapsed)
14:55:43 Feb 29 14:52:45.482: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m5.406435651s elapsed)
14:55:43 Feb 29 14:52:47.487: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m7.410758128s elapsed)
14:55:43 Feb 29 14:52:49.492: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m9.416490128s elapsed)
14:55:43 Feb 29 14:52:51.496: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m11.420399722s elapsed)
14:55:43 Feb 29 14:52:53.501: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m13.424922027s elapsed)
14:55:43 Feb 29 14:52:55.506: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m15.429564549s elapsed)
14:55:43 Feb 29 14:52:57.509: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m17.43311797s elapsed)
14:55:43 Feb 29 14:52:59.517: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m19.440565947s elapsed)
14:55:43 Feb 29 14:53:01.521: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m21.444696889s elapsed)
14:55:43 Feb 29 14:53:03.525: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m23.448901684s elapsed)
14:55:43 Feb 29 14:53:05.529: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m25.452631779s elapsed)
14:55:43 Feb 29 14:53:07.532: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m27.456356288s elapsed)
14:55:43 Feb 29 14:53:09.536: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m29.459607518s elapsed)
14:55:43 Feb 29 14:53:11.540: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m31.46366968s elapsed)
14:55:43 Feb 29 14:53:13.544: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m33.467622421s elapsed)
14:55:43 Feb 29 14:53:15.547: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m35.471424071s elapsed)
14:55:43 Feb 29 14:53:17.563: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m37.486625381s elapsed)
14:55:43 Feb 29 14:53:19.568: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m39.491676722s elapsed)
14:55:43 Feb 29 14:53:21.584: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m41.508187618s elapsed)
14:55:43 Feb 29 14:53:23.610: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m43.53415022s elapsed)
14:55:43 Feb 29 14:53:25.613: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m45.537332973s elapsed)
14:55:43 Feb 29 14:53:27.623: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m47.546755106s elapsed)
14:55:43 Feb 29 14:53:29.626: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m49.550443443s elapsed)
14:55:43 Feb 29 14:53:31.631: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m51.554791729s elapsed)
14:55:43 Feb 29 14:53:33.635: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m53.558716829s elapsed)
14:55:43 Feb 29 14:53:35.638: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m55.562475118s elapsed)
14:55:43 Feb 29 14:53:37.642: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m57.565877346s elapsed)
14:55:43 Feb 29 14:53:39.645: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m59.568733182s elapsed)
14:55:43 Feb 29 14:53:41.648: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m1.571882199s elapsed)
14:55:43 Feb 29 14:53:43.661: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m3.584824975s elapsed)
14:55:43 Feb 29 14:53:45.664: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m5.588345488s elapsed)
14:55:43 Feb 29 14:53:47.668: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m7.59184411s elapsed)
14:55:43 Feb 29 14:53:49.671: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m9.595411163s elapsed)
14:55:43 Feb 29 14:53:51.676: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m11.600444139s elapsed)
14:55:43 Feb 29 14:53:53.680: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m13.604204165s elapsed)
14:55:43 Feb 29 14:53:55.684: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m15.608556269s elapsed)
14:55:43 Feb 29 14:53:57.689: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m17.612906298s elapsed)
14:55:43 Feb 29 14:53:59.693: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m19.617223334s elapsed)
14:55:43 Feb 29 14:54:01.696: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m21.620474385s elapsed)
14:55:43 Feb 29 14:54:03.702: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m23.626403201s elapsed)
14:55:43 Feb 29 14:54:05.707: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m25.630784691s elapsed)
14:55:43 Feb 29 14:54:07.711: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m27.635153651s elapsed)
14:55:43 Feb 29 14:54:09.715: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m29.639496667s elapsed)
14:55:43 Feb 29 14:54:11.719: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m31.64354242s elapsed)
14:55:43 Feb 29 14:54:13.724: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m33.647754755s elapsed)
14:55:43 Feb 29 14:54:15.731: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m35.655126499s elapsed)
14:55:43 Feb 29 14:54:17.735: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m37.659036613s elapsed)
14:55:43 Feb 29 14:54:19.739: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m39.662623833s elapsed)
14:55:43 Feb 29 14:54:21.742: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m41.666021794s elapsed)
14:55:43 Feb 29 14:54:23.746: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m43.669641855s elapsed)
14:55:43 Feb 29 14:54:25.749: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m45.673065515s elapsed)
14:55:43 Feb 29 14:54:27.752: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m47.676455801s elapsed)
14:55:43 Feb 29 14:54:29.767: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m49.691276864s elapsed)
14:55:43 Feb 29 14:54:31.771: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m51.695366903s elapsed)
14:55:43 Feb 29 14:54:33.777: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m53.701155821s elapsed)
14:55:43 Feb 29 14:54:35.781: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m55.70498393s elapsed)
14:55:43 Feb 29 14:54:37.786: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m57.709724318s elapsed)
14:55:43 Feb 29 14:54:39.790: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m59.714315733s elapsed)
14:55:43 Feb 29 14:54:41.794: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m1.717708994s elapsed)
14:55:43 Feb 29 14:54:43.797: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m3.721267233s elapsed)
14:55:43 Feb 29 14:54:45.801: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m5.725042472s elapsed)
14:55:43 Feb 29 14:54:47.805: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m7.729238457s elapsed)
14:55:43 Feb 29 14:54:49.809: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m9.733022805s elapsed)
14:55:43 Feb 29 14:54:51.813: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m11.736774406s elapsed)
14:55:43 Feb 29 14:54:53.817: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m13.740624867s elapsed)
14:55:43 Feb 29 14:54:55.820: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m15.743947443s elapsed)
14:55:43 Feb 29 14:54:57.824: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m17.748319489s elapsed)
14:55:43 Feb 29 14:54:59.830: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m19.754517176s elapsed)
14:55:43 Feb 29 14:55:01.835: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m21.75926184s elapsed)
14:55:43 Feb 29 14:55:03.839: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m23.762922234s elapsed)
14:55:43 Feb 29 14:55:05.843: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m25.766588723s elapsed)
14:55:43 Feb 29 14:55:07.847: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m27.770693639s elapsed)
14:55:43 Feb 29 14:55:09.850: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m29.774414532s elapsed)
14:55:43 Feb 29 14:55:11.854: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m31.778037398s elapsed)
14:55:43 Feb 29 14:55:13.858: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m33.781826704s elapsed)
14:55:43 Feb 29 14:55:15.862: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m35.785649924s elapsed)
14:55:43 Feb 29 14:55:17.865: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m37.789445638s elapsed)
14:55:43 Feb 29 14:55:19.870: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m39.793679361s elapsed)
14:55:43 Feb 29 14:55:21.874: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m41.797619733s elapsed)
14:55:43 Feb 29 14:55:23.877: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m43.80143616s elapsed)
14:55:43 Feb 29 14:55:25.881: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m45.805208711s elapsed)
14:55:43 Feb 29 14:55:27.885: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m47.809400156s elapsed)
14:55:43 Feb 29 14:55:29.890: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m49.813741602s elapsed)
14:55:43 Feb 29 14:55:31.893: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m51.817309764s elapsed)
14:55:43 Feb 29 14:55:33.904: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m53.827650465s elapsed)
14:55:43 Feb 29 14:55:35.908: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m55.831612644s elapsed)
14:55:43 Feb 29 14:55:37.912: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m57.835606957s elapsed)
14:55:43 Feb 29 14:55:39.915: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m59.839188514s elapsed)
14:55:43 [AfterEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:84
14:55:43 STEP: Collecting events from namespace "e2e-tests-kubectl-ar328".
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:39 -0800 PST - event for redis-master: {replication-controller } SuccessfulCreate: Created pod: redis-master-4aaru
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:39 -0800 PST - event for redis-master-4aaru: {default-scheduler } Scheduled: Successfully assigned redis-master-4aaru to jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:41 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Pulling: pulling image "redis"
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:42 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Could not reach any registry endpoint
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:42 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Could not reach any registry endpoint"
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:43 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ImagePullBackOff: "Back-off pulling image \"redis\""
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:43 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} BackOff: Back-off pulling image "redis"
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:52:00 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Error pulling image (latest) from docker.io/library/redis, HTTP code 503"
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:52:00 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Error pulling image (latest) from docker.io/library/redis, HTTP code 503
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:55:21 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Error pulling image (latest) from docker.io/library/redis, HTTP code 500
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:55:21 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Error pulling image (latest) from docker.io/library/redis, HTTP code 500"
14:55:43
14:55:43 Feb 29 14:55:41.938: INFO: POD NODE PHASE GRACE CONDITIONS
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-kitten-u7cns jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:41 -0800 PST ContainersNotReady containers with unready status: [update-demo]}]
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-nautilus-sf6l7 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:31 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-nautilus-z1cd1 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:32 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: redis-master-4aaru jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:50:39 -0800 PST ContainersNotReady containers with unready status: [redis-master]}]
14:55:43 Feb 29 14:55:41.938: INFO: redis-master-xyz6m jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:54:11 -0800 PST ContainersNotReady containers with unready status: [redis-master]}]
14:55:43 Feb 29 14:55:41.938: INFO: mutability-test-lw1um jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:51:37 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: mutability-test-rok9z jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:51:42 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: elasticsearch-logging-v1-6mnqm jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:42 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: elasticsearch-logging-v1-e2j2v jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:51 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-albd jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:47 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ja84 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:31 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-o4r5 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:27 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: heapster-v14-req29 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:33 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kibana-logging-v1-hj023 jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-dns-v10-zcyf4 jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-albd jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:47:38 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-ja84 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:47:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-o4r5 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:01 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kubernetes-dashboard-v0.1.0-z51g7 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:27 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: l7-lb-controller-v0.5.2-dguoz jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:55 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: monitoring-influxdb-grafana-v3-57mht jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:51 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO:
14:55:43 Feb 29 14:55:41.943: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.947: INFO: Node Info: &{{ } {jenkins-e2e-minion-albd /api/v1/nodes/jenkins-e2e-minion-albd 5124d2c1-df36-11e5-be04-42010af00002 5038 0 2016-02-29 14:46:48 -0800 PST <nil> <nil> map[failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-albd master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1] map[]} {10.245.0.0/24 2610601973280660096 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-albd false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-29 14:55:38 -0800 PST 2016-02-29 14:46:48 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:38 -0800 PST 2016-02-29 14:47:37 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.4} {ExternalIP 104.154.18.200}] {{10250}} { 803AD02A-B62D-0BC0-EA08-8D52A4ABA7E3 aa0d12de-d65d-4551-871e-f8469b07f791 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[redis:latest] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[<none>:<none>] 151331365} {[nginx:latest] 134617408} {[busybox:latest] 1113554} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/netexec:1.4] 7297019} {[gcr.io/google_containers/etcd-amd64:2.2.1] 28192476} {[gcr.io/google_containers/glbc:0.5.2] 226351998} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/kube2sky:1.12] 24482187} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/defaultbackend:1.0] 7513643} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/skydns:2015-10-13-8c72f8c] 40551394} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/goproxy:0.1] 5489816} {[gcr.io/google_containers/portforwardtester:1.0] 2296329} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/exechealthz:1.0] 7099444} {[gcr.io/google_containers/kibana:1.3] 396897764} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/eptest:0.1] 2970692} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272} {[gcr.io/google_containers/liveness:e2e] 4387474}]}}
14:55:43 Feb 29 14:55:41.947: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.952: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.963: INFO: kube-proxy-jenkins-e2e-minion-albd started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: kube-dns-v10-zcyf4 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: kibana-logging-v1-hj023 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: l7-lb-controller-v0.5.2-dguoz started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: elasticsearch-logging-v1-e2j2v started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: fluentd-elasticsearch-jenkins-e2e-minion-albd started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 58 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 32 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="logs"} => 1 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 20 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="start_container"} => 1 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 20 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:42.081: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:2m28.020913s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m9.870779s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:1m8.62996s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:1m8.386773s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:57.397045s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:55.588779s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:48.371691s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:41.243706s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.024038s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.99 Latency:30.371731s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.128864s}
14:55:43 Feb 29 14:55:42.081: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.086: INFO: Node Info: &{{ } {jenkins-e2e-minion-ja84 /api/v1/nodes/jenkins-e2e-minion-ja84 50e467b3-df36-11e5-be04-42010af00002 5027 0 2016-02-29 14:46:48 -0800 PST <nil> <nil> map[kubernetes.io/hostname:jenkins-e2e-minion-ja84 master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f] map[]} {10.245.1.0/24 9127644761900858635 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-ja84 false} {map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] map[pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI}] [{OutOfDisk False 2016-02-29 14:55:34 -0800 PST 2016-02-29 14:46:48 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:34 -0800 PST 2016-02-29 14:47:35 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.3} {ExternalIP 104.197.239.167}] {{10250}} { D631A7DE-20DF-26F3-C670-15B5BA23B9F8 cb553277-994e-4507-9990-714a651c48dc 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[gcr.io/google_containers/heapster:v0.20.0-alpha8] 86984348} {[redis:latest] 151331559} {[<none>:<none>] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[nginx:latest] 134617408} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/nettest:1.7] 24051275} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/kubernetes-dashboard-amd64:v0.1.0] 35409795} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/heapster_grafana:v2.1.1] 206641132} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/goproxy:0.1] 5489816} {[gcr.io/google_containers/heapster_influxdb:v0.5] 251005705} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/jessie-dnsutils:e2e] 190148402} {[gcr.io/google_containers/mounttest:0.2] 1752375} {[gcr.io/google_containers/dnsutils:e2e] 141895666} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272}]}}
14:55:43 Feb 29 14:55:42.086: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.092: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.109: INFO: kubernetes-dashboard-v0.1.0-z51g7 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: kube-proxy-jenkins-e2e-minion-ja84 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: update-demo-nautilus-z1cd1 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: monitoring-influxdb-grafana-v3-57mht started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: elasticsearch-logging-v1-6mnqm started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: heapster-v14-req29 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ja84 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.213: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 57 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 35 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 16 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 18 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:42.214: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:3m10.8988s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m4.098205s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:55.609797s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:54.501246s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:53.454203s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:52.339449s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:50.22402s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:43.748054s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.023968s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.238807s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.9 Latency:10.062198s}
14:55:43 Feb 29 14:55:42.214: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.276775 21282 request.go:627] Throttling request took 62.401905ms, request: https://104.197.199.77/api/v1/nodes/jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:42.303: INFO: Node Info: &{{ } {jenkins-e2e-minion-o4r5 /api/v1/nodes/jenkins-e2e-minion-o4r5 5fdc3bf0-df36-11e5-be04-42010af00002 5049 0 2016-02-29 14:47:13 -0800 PST <nil> <nil> map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-o4r5 master:] map[]} {10.245.2.0/24 172708560497017629 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-o4r5 false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-29 14:55:41 -0800 PST 2016-02-29 14:47:13 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:41 -0800 PST 2016-02-29 14:48:00 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.5} {ExternalIP 104.154.98.97}] {{10250}} { 788E7EBC-6F7D-13AC-E405-744797C94938 6d674a3c-ba80-48f6-b6f6-a71ce687ef11 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[redis:latest] 151331559} {[<none>:<none>] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[nginx:latest] 134617408} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/nettest:1.7] 24051275} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/netexec:1.4] 7297019} {[gcr.io/google_containers/fakegitserver:0.1] 5007469} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/porter:cd5cb5791ebaa8641955f0e8c2a9bed669b1eaab] 5010921} {[gcr.io/google_containers/portforwardtester:1.0] 2296329} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/jessie-dnsutils:e2e] 190148402} {[gcr.io/google_containers/dnsutils:e2e] 141895666} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/eptest:0.1] 2970692} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272}]}}
14:55:43 Feb 29 14:55:42.304: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.476818 21282 request.go:627] Throttling request took 172.57424ms, request: https://104.197.199.77/api/v1/namespaces/kube-system/events?fieldSelector=involvedObject.kind%3DNode%2CinvolvedObject.name%3Djenkins-e2e-minion-o4r5%2CinvolvedObject.namespace%3D%2Csource%3Dkubelet
14:55:43 Feb 29 14:55:42.485: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.676763 21282 request.go:627] Throttling request took 189.957814ms, request: https://104.197.199.77/api/v1/proxy/nodes/jenkins-e2e-minion-o4r5:10250/runningpods
14:55:43 Feb 29 14:55:42.687: INFO: mutability-test-lw1um started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: redis-master-4aaru started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: fluentd-elasticsearch-jenkins-e2e-minion-o4r5 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: kube-proxy-jenkins-e2e-minion-o4r5 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: update-demo-kitten-u7cns started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: update-demo-nautilus-sf6l7 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.688: INFO: redis-master-xyz6m started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.688: INFO: mutability-test-rok9z started at <nil> (0 container statuses recorded)
14:55:43 W0229 14:55:42.876793 21282 request.go:627] Throttling request took 184.361802ms, request: https://104.197.199.77/api/v1/proxy/nodes/jenkins-e2e-minion-o4r5:10250/metrics
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 53 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 31 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 15 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="start_container"} => 2 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 48 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:43.028: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:43.028: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:1m34.143524s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:1m8.834069s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m4.3861s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:57.844948s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:40.582109s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:40.486757s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:39.047203s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.99 Latency:32.21511s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.663146s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.9 Latency:30.423129s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:27.971834s}
14:55:43 Feb 29 14:55:43.028: INFO: Waiting up to 1m0s for all nodes to be ready
14:55:43 STEP: Destroying namespace "e2e-tests-kubectl-ar328" for this suite.
14:55:43 W0229 14:55:43.276768 21282 request.go:627] Throttling request took 193.678471ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328
14:55:43 W0229 14:55:43.476861 21282 request.go:627] Throttling request took 195.602796ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328
14:55:43 W0229 14:55:43.676796 21282 request.go:627] Throttling request took 196.870098ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328/pods
14:55:43
14:55:43
14:55:43 • Failure [306.405 seconds]
14:55:43 Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1075
14:55:43 Kubectl describe
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:654
14:55:43 should check if kubectl describe prints relevant information for rc and pods [Conformance] [It]
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:653
14:55:43
14:55:43 Expected error:
14:55:43 <*errors.errorString | 0xc2084e9fa0>: {
14:55:43 s: "gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s",
14:55:43 }
14:55:43 gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s
14:55:43 not to have occurred
14:55:43
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/examples.go:506
14:55:43 ------------------------------"><pre class="notranslate"><code class="notranslate">14:55:40 ------------------------------
14:55:43 [BeforeEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:83
14:55:43 STEP: Creating a kubernetes client
14:55:43 Feb 29 14:50:37.274: INFO: >>> testContext.KubeConfig: /var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config
14:55:43
14:55:43 STEP: Building a namespace api object
14:55:43 Feb 29 14:50:37.281: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubectl-ar328
14:55:43 Feb 29 14:50:37.283: INFO: Get service account default in ns e2e-tests-kubectl-ar328 failed, ignoring for 2s: serviceaccounts "default" not found
14:55:43 Feb 29 14:50:39.292: INFO: Service account default in ns e2e-tests-kubectl-ar328 with secrets found. (2.011399449s)
14:55:43 STEP: Waiting for a default service account to be provisioned in namespace
14:55:43 Feb 29 14:50:39.292: INFO: Waiting up to 2m0s for service account default to be provisioned in ns e2e-tests-kubectl-ar328
14:55:43 Feb 29 14:50:39.307: INFO: Service account default in ns e2e-tests-kubectl-ar328 with secrets found. (14.459417ms)
14:55:43 [BeforeEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:114
14:55:43 [It] should check if kubectl describe prints relevant information for rc and pods [Conformance]
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:653
14:55:43 Feb 29 14:50:39.319: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.199.77 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config create -f /jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/examples/guestbook-go/redis-master-controller.json --namespace=e2e-tests-kubectl-ar328'
14:55:43 Feb 29 14:50:39.768: INFO: stderr: ""
14:55:43 Feb 29 14:50:39.768: INFO: stdout: "replicationcontroller \"redis-master\" created"
14:55:43 Feb 29 14:50:39.768: INFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl --server=https://104.197.199.77 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config create -f /jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/examples/guestbook-go/redis-master-service.json --namespace=e2e-tests-kubectl-ar328'
14:55:43 Feb 29 14:50:40.071: INFO: stderr: ""
14:55:43 Feb 29 14:50:40.071: INFO: stdout: "service \"redis-master\" created"
14:55:43 Feb 29 14:50:40.076: INFO: Waiting up to 5m0s for pod redis-master-4aaru status to be running
14:55:43 Feb 29 14:50:40.078: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2.416659ms elapsed)
14:55:43 Feb 29 14:50:42.130: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2.054031947s elapsed)
14:55:43 Feb 29 14:50:44.159: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4.083291275s elapsed)
14:55:43 Feb 29 14:50:46.183: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (6.107054319s elapsed)
14:55:43 Feb 29 14:50:48.213: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (8.137358401s elapsed)
14:55:43 Feb 29 14:50:50.242: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (10.1656075s elapsed)
14:55:43 Feb 29 14:50:52.252: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (12.176506802s elapsed)
14:55:43 Feb 29 14:50:54.308: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (14.232027157s elapsed)
14:55:43 Feb 29 14:50:56.336: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (16.25978373s elapsed)
14:55:43 Feb 29 14:50:58.340: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (18.263573465s elapsed)
14:55:43 Feb 29 14:51:00.348: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (20.272051012s elapsed)
14:55:43 Feb 29 14:51:02.356: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (22.279961759s elapsed)
14:55:43 Feb 29 14:51:04.374: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (24.298034733s elapsed)
14:55:43 Feb 29 14:51:06.386: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (26.310401391s elapsed)
14:55:43 Feb 29 14:51:08.398: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (28.32254971s elapsed)
14:55:43 Feb 29 14:51:10.648: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (30.571840863s elapsed)
14:55:43 Feb 29 14:51:12.743: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (32.66741847s elapsed)
14:55:43 Feb 29 14:51:14.801: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (34.725011045s elapsed)
14:55:43 Feb 29 14:51:16.822: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (36.746214199s elapsed)
14:55:43 Feb 29 14:51:19.064: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (38.988099334s elapsed)
14:55:43 Feb 29 14:51:21.136: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (41.060525317s elapsed)
14:55:43 Feb 29 14:51:23.244: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (43.167696671s elapsed)
14:55:43 Feb 29 14:51:25.303: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (45.227454851s elapsed)
14:55:43 Feb 29 14:51:27.307: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (47.23148492s elapsed)
14:55:43 Feb 29 14:51:29.315: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (49.239062044s elapsed)
14:55:43 Feb 29 14:51:31.319: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (51.242828863s elapsed)
14:55:43 Feb 29 14:51:33.323: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (53.247243075s elapsed)
14:55:43 Feb 29 14:51:35.331: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (55.254975718s elapsed)
14:55:43 Feb 29 14:51:37.338: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (57.262326285s elapsed)
14:55:43 Feb 29 14:51:39.342: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (59.265774349s elapsed)
14:55:43 Feb 29 14:51:41.346: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m1.269745681s elapsed)
14:55:43 Feb 29 14:51:43.349: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m3.273407413s elapsed)
14:55:43 Feb 29 14:51:45.353: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m5.276702088s elapsed)
14:55:43 Feb 29 14:51:47.357: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m7.281058909s elapsed)
14:55:43 Feb 29 14:51:49.361: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m9.284772075s elapsed)
14:55:43 Feb 29 14:51:51.365: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m11.28862377s elapsed)
14:55:43 Feb 29 14:51:53.370: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m13.294355002s elapsed)
14:55:43 Feb 29 14:51:55.374: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m15.298049825s elapsed)
14:55:43 Feb 29 14:51:57.377: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m17.301266938s elapsed)
14:55:43 Feb 29 14:51:59.381: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m19.305429331s elapsed)
14:55:43 Feb 29 14:52:01.386: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m21.309589098s elapsed)
14:55:43 Feb 29 14:52:03.390: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m23.31373811s elapsed)
14:55:43 Feb 29 14:52:05.393: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m25.317486519s elapsed)
14:55:43 Feb 29 14:52:07.398: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m27.321758837s elapsed)
14:55:43 Feb 29 14:52:09.402: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m29.325952281s elapsed)
14:55:43 Feb 29 14:52:11.406: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m31.330029732s elapsed)
14:55:43 Feb 29 14:52:13.410: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m33.333699393s elapsed)
14:55:43 Feb 29 14:52:15.413: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m35.337488171s elapsed)
14:55:43 Feb 29 14:52:17.417: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m37.341387979s elapsed)
14:55:43 Feb 29 14:52:19.422: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m39.346009165s elapsed)
14:55:43 Feb 29 14:52:21.427: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m41.350694737s elapsed)
14:55:43 Feb 29 14:52:23.431: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m43.354622268s elapsed)
14:55:43 Feb 29 14:52:25.434: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m45.358322343s elapsed)
14:55:43 Feb 29 14:52:27.439: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m47.362622293s elapsed)
14:55:43 Feb 29 14:52:29.442: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m49.366293577s elapsed)
14:55:43 Feb 29 14:52:31.446: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m51.369947118s elapsed)
14:55:43 Feb 29 14:52:33.450: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m53.373784363s elapsed)
14:55:43 Feb 29 14:52:35.454: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m55.377920209s elapsed)
14:55:43 Feb 29 14:52:37.465: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m57.389507422s elapsed)
14:55:43 Feb 29 14:52:39.471: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (1m59.394610074s elapsed)
14:55:43 Feb 29 14:52:41.475: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m1.398853661s elapsed)
14:55:43 Feb 29 14:52:43.479: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m3.402875322s elapsed)
14:55:43 Feb 29 14:52:45.482: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m5.406435651s elapsed)
14:55:43 Feb 29 14:52:47.487: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m7.410758128s elapsed)
14:55:43 Feb 29 14:52:49.492: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m9.416490128s elapsed)
14:55:43 Feb 29 14:52:51.496: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m11.420399722s elapsed)
14:55:43 Feb 29 14:52:53.501: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m13.424922027s elapsed)
14:55:43 Feb 29 14:52:55.506: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m15.429564549s elapsed)
14:55:43 Feb 29 14:52:57.509: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m17.43311797s elapsed)
14:55:43 Feb 29 14:52:59.517: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m19.440565947s elapsed)
14:55:43 Feb 29 14:53:01.521: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m21.444696889s elapsed)
14:55:43 Feb 29 14:53:03.525: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m23.448901684s elapsed)
14:55:43 Feb 29 14:53:05.529: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m25.452631779s elapsed)
14:55:43 Feb 29 14:53:07.532: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m27.456356288s elapsed)
14:55:43 Feb 29 14:53:09.536: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m29.459607518s elapsed)
14:55:43 Feb 29 14:53:11.540: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m31.46366968s elapsed)
14:55:43 Feb 29 14:53:13.544: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m33.467622421s elapsed)
14:55:43 Feb 29 14:53:15.547: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m35.471424071s elapsed)
14:55:43 Feb 29 14:53:17.563: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m37.486625381s elapsed)
14:55:43 Feb 29 14:53:19.568: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m39.491676722s elapsed)
14:55:43 Feb 29 14:53:21.584: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m41.508187618s elapsed)
14:55:43 Feb 29 14:53:23.610: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m43.53415022s elapsed)
14:55:43 Feb 29 14:53:25.613: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m45.537332973s elapsed)
14:55:43 Feb 29 14:53:27.623: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m47.546755106s elapsed)
14:55:43 Feb 29 14:53:29.626: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m49.550443443s elapsed)
14:55:43 Feb 29 14:53:31.631: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m51.554791729s elapsed)
14:55:43 Feb 29 14:53:33.635: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m53.558716829s elapsed)
14:55:43 Feb 29 14:53:35.638: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m55.562475118s elapsed)
14:55:43 Feb 29 14:53:37.642: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m57.565877346s elapsed)
14:55:43 Feb 29 14:53:39.645: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (2m59.568733182s elapsed)
14:55:43 Feb 29 14:53:41.648: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m1.571882199s elapsed)
14:55:43 Feb 29 14:53:43.661: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m3.584824975s elapsed)
14:55:43 Feb 29 14:53:45.664: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m5.588345488s elapsed)
14:55:43 Feb 29 14:53:47.668: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m7.59184411s elapsed)
14:55:43 Feb 29 14:53:49.671: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m9.595411163s elapsed)
14:55:43 Feb 29 14:53:51.676: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m11.600444139s elapsed)
14:55:43 Feb 29 14:53:53.680: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m13.604204165s elapsed)
14:55:43 Feb 29 14:53:55.684: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m15.608556269s elapsed)
14:55:43 Feb 29 14:53:57.689: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m17.612906298s elapsed)
14:55:43 Feb 29 14:53:59.693: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m19.617223334s elapsed)
14:55:43 Feb 29 14:54:01.696: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m21.620474385s elapsed)
14:55:43 Feb 29 14:54:03.702: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m23.626403201s elapsed)
14:55:43 Feb 29 14:54:05.707: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m25.630784691s elapsed)
14:55:43 Feb 29 14:54:07.711: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m27.635153651s elapsed)
14:55:43 Feb 29 14:54:09.715: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m29.639496667s elapsed)
14:55:43 Feb 29 14:54:11.719: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m31.64354242s elapsed)
14:55:43 Feb 29 14:54:13.724: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m33.647754755s elapsed)
14:55:43 Feb 29 14:54:15.731: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m35.655126499s elapsed)
14:55:43 Feb 29 14:54:17.735: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m37.659036613s elapsed)
14:55:43 Feb 29 14:54:19.739: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m39.662623833s elapsed)
14:55:43 Feb 29 14:54:21.742: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m41.666021794s elapsed)
14:55:43 Feb 29 14:54:23.746: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m43.669641855s elapsed)
14:55:43 Feb 29 14:54:25.749: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m45.673065515s elapsed)
14:55:43 Feb 29 14:54:27.752: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m47.676455801s elapsed)
14:55:43 Feb 29 14:54:29.767: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m49.691276864s elapsed)
14:55:43 Feb 29 14:54:31.771: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m51.695366903s elapsed)
14:55:43 Feb 29 14:54:33.777: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m53.701155821s elapsed)
14:55:43 Feb 29 14:54:35.781: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m55.70498393s elapsed)
14:55:43 Feb 29 14:54:37.786: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m57.709724318s elapsed)
14:55:43 Feb 29 14:54:39.790: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (3m59.714315733s elapsed)
14:55:43 Feb 29 14:54:41.794: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m1.717708994s elapsed)
14:55:43 Feb 29 14:54:43.797: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m3.721267233s elapsed)
14:55:43 Feb 29 14:54:45.801: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m5.725042472s elapsed)
14:55:43 Feb 29 14:54:47.805: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m7.729238457s elapsed)
14:55:43 Feb 29 14:54:49.809: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m9.733022805s elapsed)
14:55:43 Feb 29 14:54:51.813: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m11.736774406s elapsed)
14:55:43 Feb 29 14:54:53.817: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m13.740624867s elapsed)
14:55:43 Feb 29 14:54:55.820: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m15.743947443s elapsed)
14:55:43 Feb 29 14:54:57.824: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m17.748319489s elapsed)
14:55:43 Feb 29 14:54:59.830: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m19.754517176s elapsed)
14:55:43 Feb 29 14:55:01.835: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m21.75926184s elapsed)
14:55:43 Feb 29 14:55:03.839: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m23.762922234s elapsed)
14:55:43 Feb 29 14:55:05.843: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m25.766588723s elapsed)
14:55:43 Feb 29 14:55:07.847: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m27.770693639s elapsed)
14:55:43 Feb 29 14:55:09.850: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m29.774414532s elapsed)
14:55:43 Feb 29 14:55:11.854: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m31.778037398s elapsed)
14:55:43 Feb 29 14:55:13.858: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m33.781826704s elapsed)
14:55:43 Feb 29 14:55:15.862: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m35.785649924s elapsed)
14:55:43 Feb 29 14:55:17.865: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m37.789445638s elapsed)
14:55:43 Feb 29 14:55:19.870: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m39.793679361s elapsed)
14:55:43 Feb 29 14:55:21.874: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m41.797619733s elapsed)
14:55:43 Feb 29 14:55:23.877: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m43.80143616s elapsed)
14:55:43 Feb 29 14:55:25.881: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m45.805208711s elapsed)
14:55:43 Feb 29 14:55:27.885: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m47.809400156s elapsed)
14:55:43 Feb 29 14:55:29.890: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m49.813741602s elapsed)
14:55:43 Feb 29 14:55:31.893: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m51.817309764s elapsed)
14:55:43 Feb 29 14:55:33.904: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m53.827650465s elapsed)
14:55:43 Feb 29 14:55:35.908: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m55.831612644s elapsed)
14:55:43 Feb 29 14:55:37.912: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m57.835606957s elapsed)
14:55:43 Feb 29 14:55:39.915: INFO: Waiting for pod redis-master-4aaru in namespace 'e2e-tests-kubectl-ar328' status to be 'running'(found phase: "Pending", readiness: false) (4m59.839188514s elapsed)
14:55:43 [AfterEach] Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework.go:84
14:55:43 STEP: Collecting events from namespace "e2e-tests-kubectl-ar328".
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:39 -0800 PST - event for redis-master: {replication-controller } SuccessfulCreate: Created pod: redis-master-4aaru
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:39 -0800 PST - event for redis-master-4aaru: {default-scheduler } Scheduled: Successfully assigned redis-master-4aaru to jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:41 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Pulling: pulling image "redis"
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:42 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Could not reach any registry endpoint
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:42 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Could not reach any registry endpoint"
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:43 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ImagePullBackOff: "Back-off pulling image \"redis\""
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:50:43 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} BackOff: Back-off pulling image "redis"
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:52:00 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Error pulling image (latest) from docker.io/library/redis, HTTP code 503"
14:55:43
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:52:00 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Error pulling image (latest) from docker.io/library/redis, HTTP code 503
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:55:21 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} Failed: Failed to pull image "redis": Error pulling image (latest) from docker.io/library/redis, HTTP code 500
14:55:43 Feb 29 14:55:41.921: INFO: At 2016-02-29 14:55:21 -0800 PST - event for redis-master-4aaru: {kubelet jenkins-e2e-minion-o4r5} FailedSync: Error syncing pod, skipping: failed to "StartContainer" for "redis-master" with ErrImagePull: "Error pulling image (latest) from docker.io/library/redis, HTTP code 500"
14:55:43
14:55:43 Feb 29 14:55:41.938: INFO: POD NODE PHASE GRACE CONDITIONS
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-kitten-u7cns jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:41 -0800 PST ContainersNotReady containers with unready status: [update-demo]}]
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-nautilus-sf6l7 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:31 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: update-demo-nautilus-z1cd1 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:55:32 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: redis-master-4aaru jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:50:39 -0800 PST ContainersNotReady containers with unready status: [redis-master]}]
14:55:43 Feb 29 14:55:41.938: INFO: redis-master-xyz6m jenkins-e2e-minion-o4r5 Pending [{Ready False 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:54:11 -0800 PST ContainersNotReady containers with unready status: [redis-master]}]
14:55:43 Feb 29 14:55:41.938: INFO: mutability-test-lw1um jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:51:37 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: mutability-test-rok9z jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:51:42 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: elasticsearch-logging-v1-6mnqm jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:42 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: elasticsearch-logging-v1-e2j2v jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:51 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-albd jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:47 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ja84 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:31 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: fluentd-elasticsearch-jenkins-e2e-minion-o4r5 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:27 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: heapster-v14-req29 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:33 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kibana-logging-v1-hj023 jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-dns-v10-zcyf4 jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-albd jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:47:38 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-ja84 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:47:56 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kube-proxy-jenkins-e2e-minion-o4r5 jenkins-e2e-minion-o4r5 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:01 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: kubernetes-dashboard-v0.1.0-z51g7 jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:27 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: l7-lb-controller-v0.5.2-dguoz jenkins-e2e-minion-albd Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:55 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO: monitoring-influxdb-grafana-v3-57mht jenkins-e2e-minion-ja84 Running [{Ready True 0001-01-01 00:00:00 +0000 UTC 2016-02-29 14:48:51 -0800 PST }]
14:55:43 Feb 29 14:55:41.938: INFO:
14:55:43 Feb 29 14:55:41.943: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.947: INFO: Node Info: &{{ } {jenkins-e2e-minion-albd /api/v1/nodes/jenkins-e2e-minion-albd 5124d2c1-df36-11e5-be04-42010af00002 5038 0 2016-02-29 14:46:48 -0800 PST <nil> <nil> map[failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-albd master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1] map[]} {10.245.0.0/24 2610601973280660096 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-albd false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-29 14:55:38 -0800 PST 2016-02-29 14:46:48 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:38 -0800 PST 2016-02-29 14:47:37 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.4} {ExternalIP 104.154.18.200}] {{10250}} { 803AD02A-B62D-0BC0-EA08-8D52A4ABA7E3 aa0d12de-d65d-4551-871e-f8469b07f791 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[redis:latest] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[<none>:<none>] 151331365} {[nginx:latest] 134617408} {[busybox:latest] 1113554} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/netexec:1.4] 7297019} {[gcr.io/google_containers/etcd-amd64:2.2.1] 28192476} {[gcr.io/google_containers/glbc:0.5.2] 226351998} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/kube2sky:1.12] 24482187} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/defaultbackend:1.0] 7513643} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/skydns:2015-10-13-8c72f8c] 40551394} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/goproxy:0.1] 5489816} {[gcr.io/google_containers/portforwardtester:1.0] 2296329} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/exechealthz:1.0] 7099444} {[gcr.io/google_containers/kibana:1.3] 396897764} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/eptest:0.1] 2970692} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272} {[gcr.io/google_containers/liveness:e2e] 4387474}]}}
14:55:43 Feb 29 14:55:41.947: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.952: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:41.963: INFO: kube-proxy-jenkins-e2e-minion-albd started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: kube-dns-v10-zcyf4 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: kibana-logging-v1-hj023 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: l7-lb-controller-v0.5.2-dguoz started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: elasticsearch-logging-v1-e2j2v started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:41.963: INFO: fluentd-elasticsearch-jenkins-e2e-minion-albd started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 58 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 32 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="logs"} => 1 @[0]
14:55:43 Feb 29 14:55:42.080: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 20 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="start_container"} => 1 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 20 @[0]
14:55:43 Feb 29 14:55:42.081: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:42.081: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-albd
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:2m28.020913s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m9.870779s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:1m8.62996s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:1m8.386773s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:57.397045s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:55.588779s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:48.371691s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:41.243706s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.024038s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.99 Latency:30.371731s}
14:55:43 Feb 29 14:55:42.081: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.128864s}
14:55:43 Feb 29 14:55:42.081: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.086: INFO: Node Info: &{{ } {jenkins-e2e-minion-ja84 /api/v1/nodes/jenkins-e2e-minion-ja84 50e467b3-df36-11e5-be04-42010af00002 5027 0 2016-02-29 14:46:48 -0800 PST <nil> <nil> map[kubernetes.io/hostname:jenkins-e2e-minion-ja84 master: beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f] map[]} {10.245.1.0/24 9127644761900858635 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-ja84 false} {map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] map[pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI}] [{OutOfDisk False 2016-02-29 14:55:34 -0800 PST 2016-02-29 14:46:48 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:34 -0800 PST 2016-02-29 14:47:35 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.3} {ExternalIP 104.197.239.167}] {{10250}} { D631A7DE-20DF-26F3-C670-15B5BA23B9F8 cb553277-994e-4507-9990-714a651c48dc 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[gcr.io/google_containers/heapster:v0.20.0-alpha8] 86984348} {[redis:latest] 151331559} {[<none>:<none>] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[nginx:latest] 134617408} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/nettest:1.7] 24051275} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/kubernetes-dashboard-amd64:v0.1.0] 35409795} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/elasticsearch:1.8] 410989305} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/heapster_grafana:v2.1.1] 206641132} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/goproxy:0.1] 5489816} {[gcr.io/google_containers/heapster_influxdb:v0.5] 251005705} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/jessie-dnsutils:e2e] 190148402} {[gcr.io/google_containers/mounttest:0.2] 1752375} {[gcr.io/google_containers/dnsutils:e2e] 141895666} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272}]}}
14:55:43 Feb 29 14:55:42.086: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.092: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.109: INFO: kubernetes-dashboard-v0.1.0-z51g7 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: kube-proxy-jenkins-e2e-minion-ja84 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: update-demo-nautilus-z1cd1 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: monitoring-influxdb-grafana-v3-57mht started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: elasticsearch-logging-v1-6mnqm started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: heapster-v14-req29 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.109: INFO: fluentd-elasticsearch-jenkins-e2e-minion-ja84 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.213: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 57 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 35 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 16 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 18 @[0]
14:55:43 Feb 29 14:55:42.214: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:42.214: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-ja84
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:3m10.8988s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m4.098205s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:55.609797s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:54.501246s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:53.454203s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:52.339449s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:50.22402s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:43.748054s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation: Method:pod_worker_start_latency_microseconds Quantile:0.99 Latency:40.023968s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.238807s}
14:55:43 Feb 29 14:55:42.214: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.9 Latency:10.062198s}
14:55:43 Feb 29 14:55:42.214: INFO:
14:55:43 Logging node info for node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.276775 21282 request.go:627] Throttling request took 62.401905ms, request: https://104.197.199.77/api/v1/nodes/jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:42.303: INFO: Node Info: &{{ } {jenkins-e2e-minion-o4r5 /api/v1/nodes/jenkins-e2e-minion-o4r5 5fdc3bf0-df36-11e5-be04-42010af00002 5049 0 2016-02-29 14:47:13 -0800 PST <nil> <nil> map[beta.kubernetes.io/instance-type:n1-standard-2 failure-domain.beta.kubernetes.io/region:us-central1 failure-domain.beta.kubernetes.io/zone:us-central1-f kubernetes.io/hostname:jenkins-e2e-minion-o4r5 master:] map[]} {10.245.2.0/24 172708560497017629 gce://k8s-jkns-e2e-gce/us-central1-f/jenkins-e2e-minion-o4r5 false} {map[cpu:{2.000 DecimalSI} memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI}] map[memory:{7864139776.000 BinarySI} pods:{110.000 DecimalSI} cpu:{2.000 DecimalSI}] [{OutOfDisk False 2016-02-29 14:55:41 -0800 PST 2016-02-29 14:47:13 -0800 PST KubeletHasSufficientDisk kubelet has sufficient disk space available} {Ready True 2016-02-29 14:55:41 -0800 PST 2016-02-29 14:48:00 -0800 PST KubeletReady kubelet is posting ready status}] [{InternalIP 10.240.0.5} {ExternalIP 104.154.98.97}] {{10250}} { 788E7EBC-6F7D-13AC-E405-744797C94938 6d674a3c-ba80-48f6-b6f6-a71ce687ef11 3.16.0-4-amd64 Debian GNU/Linux 7 (wheezy) docker://1.9.1 v1.2.0-alpha.8.676+83d74dd9528e42 v1.2.0-alpha.8.676+83d74dd9528e42} [{[gcr.io/google_containers/kube-proxy:6952338e87c87e4bef2030a93d05b990] 165606485} {[redis:latest] 151331559} {[<none>:<none>] 151331559} {[gcr.io/google_containers/nettest:1.8] 25178998} {[nginx:latest] 134617408} {[gcr.io/google_samples/gb-frontend:v4] 510252254} {[gcr.io/google_containers/nettest:1.7] 24051275} {[gcr.io/google_containers/fluentd-elasticsearch:1.14] 562034622} {[gcr.io/google_containers/netexec:1.4] 7297019} {[gcr.io/google_containers/fakegitserver:0.1] 5007469} {[gcr.io/google_containers/busybox:1.24] 1113554} {[gcr.io/google_containers/mounttest:0.6] 2084693} {[gcr.io/google_containers/hostexec:1.2] 13209617} {[gcr.io/google_containers/mounttest-user:0.3] 1718853} {[gcr.io/google_containers/mounttest:0.5] 1718853} {[gcr.io/google_containers/pause:2.0] 350164} {[gcr.io/google_containers/porter:cd5cb5791ebaa8641955f0e8c2a9bed669b1eaab] 5010921} {[gcr.io/google_containers/portforwardtester:1.0] 2296329} {[gcr.io/google_samples/gb-redisslave:v1] 109508753} {[gcr.io/google_containers/jessie-dnsutils:e2e] 190148402} {[gcr.io/google_containers/dnsutils:e2e] 141895666} {[gcr.io/google_containers/pause:0.8.0] 241656} {[gcr.io/google_containers/eptest:0.1] 2970692} {[gcr.io/google_containers/serve_hostname:1.1] 4522409} {[b.gcr.io/k8s_authenticated_test/serve_hostname:1.1] 4522409} {[gcr.io/google_containers/update-demo:nautilus] 4555533} {[gcr.io/google_containers/nginx:1.7.9] 91664166} {[gcr.io/google_containers/test-webserver:e2e] 4534272}]}}
14:55:43 Feb 29 14:55:42.304: INFO:
14:55:43 Logging kubelet events for node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.476818 21282 request.go:627] Throttling request took 172.57424ms, request: https://104.197.199.77/api/v1/namespaces/kube-system/events?fieldSelector=involvedObject.kind%3DNode%2CinvolvedObject.name%3Djenkins-e2e-minion-o4r5%2CinvolvedObject.namespace%3D%2Csource%3Dkubelet
14:55:43 Feb 29 14:55:42.485: INFO:
14:55:43 Logging pods the kubelet thinks is on node jenkins-e2e-minion-o4r5
14:55:43 W0229 14:55:42.676763 21282 request.go:627] Throttling request took 189.957814ms, request: https://104.197.199.77/api/v1/proxy/nodes/jenkins-e2e-minion-o4r5:10250/runningpods
14:55:43 Feb 29 14:55:42.687: INFO: mutability-test-lw1um started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: redis-master-4aaru started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: fluentd-elasticsearch-jenkins-e2e-minion-o4r5 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: kube-proxy-jenkins-e2e-minion-o4r5 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: update-demo-kitten-u7cns started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.687: INFO: update-demo-nautilus-sf6l7 started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.688: INFO: redis-master-xyz6m started at <nil> (0 container statuses recorded)
14:55:43 Feb 29 14:55:42.688: INFO: mutability-test-rok9z started at <nil> (0 container statuses recorded)
14:55:43 W0229 14:55:42.876793 21282 request.go:627] Throttling request took 184.361802ms, request: https://104.197.199.77/api/v1/proxy/nodes/jenkins-e2e-minion-o4r5:10250/metrics
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="info"} => 1 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="inspect_image"} => 53 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="list_containers"} => 31 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="list_images"} => 5 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="pull_image"} => 15 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="start_container"} => 2 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="stop_container"} => 48 @[0]
14:55:43 Feb 29 14:55:43.028: INFO: ERROR kubelet_docker_errors{operation_type="version"} => 22 @[0]
14:55:43 Feb 29 14:55:43.028: INFO:
14:55:43 Latency metrics for node jenkins-e2e-minion-o4r5
14:55:43 Feb 29 14:55:43.028: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.99 Latency:1m34.143524s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.99 Latency:1m8.834069s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.99 Latency:1m4.3861s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:SyncPod Method:container_manager_latency_microseconds Quantile:0.99 Latency:57.844948s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:sync Method:pod_worker_latency_microseconds Quantile:0.99 Latency:40.582109s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:pull_image Method:docker_operations_latency_microseconds Quantile:0.9 Latency:40.486757s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation: Method:pod_start_latency_microseconds Quantile:0.9 Latency:39.047203s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.99 Latency:32.21511s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:stop_container Method:docker_operations_latency_microseconds Quantile:0.99 Latency:30.663146s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:update Method:pod_worker_latency_microseconds Quantile:0.9 Latency:30.423129s}
14:55:43 Feb 29 14:55:43.028: INFO: {Operation:create Method:pod_worker_latency_microseconds Quantile:0.9 Latency:27.971834s}
14:55:43 Feb 29 14:55:43.028: INFO: Waiting up to 1m0s for all nodes to be ready
14:55:43 STEP: Destroying namespace "e2e-tests-kubectl-ar328" for this suite.
14:55:43 W0229 14:55:43.276768 21282 request.go:627] Throttling request took 193.678471ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328
14:55:43 W0229 14:55:43.476861 21282 request.go:627] Throttling request took 195.602796ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328
14:55:43 W0229 14:55:43.676796 21282 request.go:627] Throttling request took 196.870098ms, request: https://104.197.199.77/api/v1/namespaces/e2e-tests-kubectl-ar328/pods
14:55:43
14:55:43
14:55:43 • Failure [306.405 seconds]
14:55:43 Kubectl client
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:1075
14:55:43 Kubectl describe
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:654
14:55:43 should check if kubectl describe prints relevant information for rc and pods [Conformance] [It]
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubectl.go:653
14:55:43
14:55:43 Expected error:
14:55:43 <*errors.errorString | 0xc2084e9fa0>: {
14:55:43 s: "gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s",
14:55:43 }
14:55:43 gave up waiting for pod 'redis-master-4aaru' to be 'running' after 5m0s
14:55:43 not to have occurred
14:55:43
14:55:43 /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/examples.go:506
14:55:43 ------------------------------
</code></pre></div>
<p dir="auto">Assigning to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bgrant0607/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bgrant0607">@bgrant0607</a> for triage.</p> | <p dir="auto">e2e-gce/8241 failed a kubectl test which timed out getting the redis pod into running:<br>
scheduler assigned redis-master-k6hgb to node .<em>-dhly (.</em>-128.243)<br>
logs from kubelet on .*-dhly</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I0827 20:12:52.079928 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (130.42µs) 404 [[Go 1.1 package http] 10.245.1.8:44772]
I0827 20:12:52.178302 4057 server.go:638] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-kubectl-8myat", Name:"redis-master-k6hgb", UID:"feaaa022-4cf7-11e5-87c2-42010af0a6de", APIVersion:"v1", ResourceVersion:"11824", FieldPath:"implicitly required container POD"}): reason: 'Started' Started with docker id e1387779aa97
I0827 20:12:52.182865 4057 manager.go:797] Added container: "/e1387779aa9731ad436d359162493b8712f95994eefa6bbffd904c3dadef8665" (aliases: [k8s_POD.84e5fe25_redis-master-k6hgb_e2e-tests-kubectl-8myat_feaaa022-4cf7-11e5-87c2-42010af0a6de_a08de96f e1387779aa9731ad436d359162493b8712f95994eefa6bbffd904c3dadef8665], namespace: "docker")
I0827 20:12:52.189654 4057 manager.go:1723] Creating container &{Name:redis-master Image:redis Command:[] Args:[] WorkingDir: Ports:[{Name:redis-server HostPort:0 ContainerPort:6379 Protocol:TCP HostIP:}] Env:[] Resources:{Limits:map[] Requests:map[]} VolumeMounts:[{Name:default-token-twa2p ReadOnly:true MountPath:/var/run/secrets/kubernetes.io/serviceaccount}] LivenessProbe:<nil> ReadinessProbe:<nil> Lifecycle:<nil> TerminationMessagePath:/dev/termination-log ImagePullPolicy:IfNotPresent SecurityContext:<nil> Stdin:false TTY:false} in pod redis-master-k6hgb_e2e-tests-kubectl-8myat
I0827 20:12:52.191004 4057 server.go:638] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-kubectl-8myat", Name:"redis-master-k6hgb", UID:"feaaa022-4cf7-11e5-87c2-42010af0a6de", APIVersion:"v1", ResourceVersion:"11824", FieldPath:"spec.containers{redis-master}"}): reason: 'pulling' Pulling image "redis"
...
I0827 20:14:56.286208 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (9.484031ms) 404 [[Go 1.1 package http] 10.245.1.8:45044]
I0827 20:15:06.594298 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (34.694138ms) 404 [[Go 1.1 package http] 10.245.1.8:45177]
I0827 20:15:16.972562 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (141.647µs) 404 [[Go 1.1 package http] 10.245.1.8:45198]
I0827 20:15:27.314306 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (7.672739ms) 404 [[Go 1.1 package http] 10.245.1.8:45083]
I0827 20:15:37.573487 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (1.932497ms) 404 [[Go 1.1 package http] 10.245.1.8:45177]
I0827 20:15:48.369530 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (5.908228ms) 404 [[Go 1.1 package http] 10.245.1.8:45256]
I0827 20:15:58.694011 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (6.382311ms) 404 [[Go 1.1 package http] 10.245.1.8:45274]
...
I0827 20:17:52.554839 4057 kubelet.go:1777] SyncLoop (REMOVE): "redis-master-k6hgb_e2e-tests-kubectl-8myat"
I0827 20:17:52.554949 4057 kubelet.go:1615] Killing unwanted pod "redis-master-k6hgb"
"><pre class="notranslate"><code class="notranslate">I0827 20:12:52.079928 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (130.42µs) 404 [[Go 1.1 package http] 10.245.1.8:44772]
I0827 20:12:52.178302 4057 server.go:638] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-kubectl-8myat", Name:"redis-master-k6hgb", UID:"feaaa022-4cf7-11e5-87c2-42010af0a6de", APIVersion:"v1", ResourceVersion:"11824", FieldPath:"implicitly required container POD"}): reason: 'Started' Started with docker id e1387779aa97
I0827 20:12:52.182865 4057 manager.go:797] Added container: "/e1387779aa9731ad436d359162493b8712f95994eefa6bbffd904c3dadef8665" (aliases: [k8s_POD.84e5fe25_redis-master-k6hgb_e2e-tests-kubectl-8myat_feaaa022-4cf7-11e5-87c2-42010af0a6de_a08de96f e1387779aa9731ad436d359162493b8712f95994eefa6bbffd904c3dadef8665], namespace: "docker")
I0827 20:12:52.189654 4057 manager.go:1723] Creating container &{Name:redis-master Image:redis Command:[] Args:[] WorkingDir: Ports:[{Name:redis-server HostPort:0 ContainerPort:6379 Protocol:TCP HostIP:}] Env:[] Resources:{Limits:map[] Requests:map[]} VolumeMounts:[{Name:default-token-twa2p ReadOnly:true MountPath:/var/run/secrets/kubernetes.io/serviceaccount}] LivenessProbe:<nil> ReadinessProbe:<nil> Lifecycle:<nil> TerminationMessagePath:/dev/termination-log ImagePullPolicy:IfNotPresent SecurityContext:<nil> Stdin:false TTY:false} in pod redis-master-k6hgb_e2e-tests-kubectl-8myat
I0827 20:12:52.191004 4057 server.go:638] Event(api.ObjectReference{Kind:"Pod", Namespace:"e2e-tests-kubectl-8myat", Name:"redis-master-k6hgb", UID:"feaaa022-4cf7-11e5-87c2-42010af0a6de", APIVersion:"v1", ResourceVersion:"11824", FieldPath:"spec.containers{redis-master}"}): reason: 'pulling' Pulling image "redis"
...
I0827 20:14:56.286208 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (9.484031ms) 404 [[Go 1.1 package http] 10.245.1.8:45044]
I0827 20:15:06.594298 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (34.694138ms) 404 [[Go 1.1 package http] 10.245.1.8:45177]
I0827 20:15:16.972562 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (141.647µs) 404 [[Go 1.1 package http] 10.245.1.8:45198]
I0827 20:15:27.314306 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (7.672739ms) 404 [[Go 1.1 package http] 10.245.1.8:45083]
I0827 20:15:37.573487 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (1.932497ms) 404 [[Go 1.1 package http] 10.245.1.8:45177]
I0827 20:15:48.369530 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (5.908228ms) 404 [[Go 1.1 package http] 10.245.1.8:45256]
I0827 20:15:58.694011 4057 server.go:705] GET /stats/e2e-tests-kubectl-8myat/redis-master-k6hgb/feaaa022-4cf7-11e5-87c2-42010af0a6de/redis-master: (6.382311ms) 404 [[Go 1.1 package http] 10.245.1.8:45274]
...
I0827 20:17:52.554839 4057 kubelet.go:1777] SyncLoop (REMOVE): "redis-master-k6hgb_e2e-tests-kubectl-8myat"
I0827 20:17:52.554949 4057 kubelet.go:1615] Killing unwanted pod "redis-master-k6hgb"
</code></pre></div>
<p dir="auto">The test uses the guestbook example which has the stock redis image.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mwielgus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mwielgus">@mwielgus</a></p> | 1 |
<p dir="auto">When I click a menu (e.g. File), mouse over to a different menu (e.g. Edit) and click again, I expect the menu to be dismissed. Instead, it flickers and I need to click again to dismiss it. If I click the same menu I clicked the first time (File in the example above), the drop down is dismissed as expected.</p>
<p dir="auto">I'm using Atom 1.2.4 on Windows 10. The bug is also present in Visual Studio Code.</p> | <p dir="auto">If I click <code class="notranslate">File</code> and then click <code class="notranslate">File</code> again, the menu closes (correctly).</p>
<p dir="auto">If I click <code class="notranslate">File</code> and then click a different top-level menu item (<code class="notranslate">Edit</code>, <code class="notranslate">View</code>, <code class="notranslate">Selection</code>, etc.) the menu blinks closed and then reopens immediately (incorrectly).</p>
<p dir="auto">Tested on Electron 0.29.2 and Atom 1.0.2, Windows 8.1.</p> | 1 |
<p dir="auto">Panic on format:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli\fmt_errors.rs:211:45"><pre class="notranslate"><code class="notranslate">thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli\fmt_errors.rs:211:45
</code></pre></div>
<p dir="auto">It only panic's specifically on this specific line:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (name === this.#DB[i].name) throw new Error(name);"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">name</span> <span class="pl-c1">===</span> <span class="pl-smi">this</span><span class="pl-kos">.</span>#DB<span class="pl-kos">[</span><span class="pl-s1">i</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span> <span class="pl-k">throw</span> <span class="pl-k">new</span> <span class="pl-smi">Error</span><span class="pl-kos">(</span><span class="pl-s1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I wanted to provide a log but idk how to run with <code class="notranslate">RUST_BACKTRACE=1</code></p>
<p dir="auto">deno info:</p>
<p dir="auto">deno 1.7.1 (release, x86_64-pc-windows-msvc)<br>
v8 8.9.255.3<br>
typescript 4.1.3</p> | <p dir="auto">I'm experiencing a strange bug with <code class="notranslate">Deno</code>.</p>
<p dir="auto">When a exception is thrown the main process panics. This is the trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli\fmt_errors.rs:86:8
stack backtrace:
0: 0x7ff7af88a45b - <unknown>
1: 0x7ff7af53cecc - <unknown>
2: 0x7ff7af889483 - <unknown>
3: 0x7ff7af888bb8 - <unknown>
4: 0x7ff7af887d2e - <unknown>
5: 0x7ff7af88efe5 - <unknown>
6: 0x7ff7af53a4b0 - <unknown>
7: 0x7ff7af53a2cc - <unknown>
8: 0x7ff7af36cbf2 - <unknown>
9: 0x7ff7af48ada8 - <unknown>
10: 0x7ff7af48b345 - <unknown>
11: 0x7ff7af53cecc - <unknown>
12: 0x7ff7af751885 - <unknown>
13: 0x7ff7af349c1d - <unknown>
14: 0x7ff7af4daf6f - <unknown>
15: 0x7ff7af8aa3f6 - <unknown>
16: 0x7ff7af4ea67e - <unknown>
17: 0x7ff7b048bf10 - CrashForExceptionInNonABICompliantCodeRange
18: 0x7ff8e9777bd4 - BaseThreadInitThunk
19: 0x7ff8ea16ce51 - RtlUserThreadStart"><pre class="notranslate"><code class="notranslate">thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli\fmt_errors.rs:86:8
stack backtrace:
0: 0x7ff7af88a45b - <unknown>
1: 0x7ff7af53cecc - <unknown>
2: 0x7ff7af889483 - <unknown>
3: 0x7ff7af888bb8 - <unknown>
4: 0x7ff7af887d2e - <unknown>
5: 0x7ff7af88efe5 - <unknown>
6: 0x7ff7af53a4b0 - <unknown>
7: 0x7ff7af53a2cc - <unknown>
8: 0x7ff7af36cbf2 - <unknown>
9: 0x7ff7af48ada8 - <unknown>
10: 0x7ff7af48b345 - <unknown>
11: 0x7ff7af53cecc - <unknown>
12: 0x7ff7af751885 - <unknown>
13: 0x7ff7af349c1d - <unknown>
14: 0x7ff7af4daf6f - <unknown>
15: 0x7ff7af8aa3f6 - <unknown>
16: 0x7ff7af4ea67e - <unknown>
17: 0x7ff7b048bf10 - CrashForExceptionInNonABICompliantCodeRange
18: 0x7ff8e9777bd4 - BaseThreadInitThunk
19: 0x7ff8ea16ce51 - RtlUserThreadStart
</code></pre></div>
<p dir="auto">I don't know how to reproduce the bug but it happened in my project so I tried to isolate it in a separated branch:<br>
<a href="https://github.com/AndreJesusBrito/WebAssembly-Language-Compiler/tree/rust-exception-bug-isolation">https://github.com/AndreJesusBrito/WebAssembly-Language-Compiler/tree/rust-exception-bug-isolation</a></p>
<p dir="auto">The bug happens in file <code class="notranslate">src/SyntaxAnalysis/SyntaxRule.ts</code> at line 25 when I throw an exception.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
public getDerivation(terminal: string): RuleDerivation {
const derivation = this.derivations.get(terminal);
if (derivation) {
return {
derivationSymbols: [...derivation.derivationSymbols].reverse(),
actions: derivation.actions,
};
} else {
throw SyntaxError("Unexpected token '" + terminal + "' at rule " + this._name); // THIS IS LINE 25
}
}
public setDerivation(rule: SyntaxSymbol[], actions: ActionObj[], ...terminals: string[]): void {
for (const terminal of terminals) {
if (this.derivations.get(terminal) instanceof Array) {
console.warn("'" + terminal + "' repeated terminal for rule " + this._name);
..."><pre class="notranslate">...
<span class="pl-k">public</span> <span class="pl-en">getDerivation</span><span class="pl-kos">(</span><span class="pl-s1">terminal</span>: string<span class="pl-kos">)</span>: <span class="pl-smi">RuleDerivation</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">derivation</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">derivations</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">terminal</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">derivation</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-c1">derivationSymbols</span>: <span class="pl-kos">[</span>...<span class="pl-s1">derivation</span><span class="pl-kos">.</span><span class="pl-c1">derivationSymbols</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">reverse</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">actions</span>: <span class="pl-s1">derivation</span><span class="pl-kos">.</span><span class="pl-c1">actions</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-k">throw</span> <span class="pl-smi">SyntaxError</span><span class="pl-kos">(</span><span class="pl-s">"Unexpected token '"</span> <span class="pl-c1">+</span> <span class="pl-s1">terminal</span> <span class="pl-c1">+</span> <span class="pl-s">"' at rule "</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// THIS IS LINE 25</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-s1">public</span><span class="pl-kos"></span> <span class="pl-en">setDerivation</span><span class="pl-kos">(</span><span class="pl-s1">rule</span>: <span class="pl-smi">SyntaxSymbol</span><span class="pl-kos">[</span><span class="pl-s1"></span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">actions</span>: <span class="pl-smi">ActionObj</span><span class="pl-kos">[</span><span class="pl-s1"></span><span class="pl-kos">]</span><span class="pl-kos">,</span> ...<span class="pl-s1">terminals</span>: string<span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span>: <span class="pl-k">void</span> <span class="pl-kos">{</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">terminal</span> <span class="pl-k">of</span> <span class="pl-s1">terminals</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-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">derivations</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-s1">terminal</span><span class="pl-kos">)</span> <span class="pl-k">instanceof</span> <span class="pl-smi">Array</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">warn</span><span class="pl-kos">(</span><span class="pl-s">"'"</span> <span class="pl-c1">+</span> <span class="pl-s1">terminal</span> <span class="pl-c1">+</span> <span class="pl-s">"' repeated terminal for rule "</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_name</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
...</pre></div>
<p dir="auto">Even though I'm using a SyntaxError (that is not a very good idea and will change later) it seems to happen for any error including the base Error class.</p>
<p dir="auto">The most strange thing to me is that by changing the white space on this file it can work correctly.<br>
For example, when I remove line 28 it works fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught SyntaxError: Unexpected token '' at rule none
public setDerivation(rule: SyntaxSymbol[], actions: ActionObj[], ...terminals: string[]): void {
^
at SyntaxRule.getDerivation (file:///C:/Users/Andr%C3%A9%20Brito/Documents/GitHub/WebAssembly-Language-Compiler/src/SyntaxAnalysis/SyntaxRule.ts:28:13)
at file:///C:/Users/Andr%C3%A9%20Brito/Documents/GitHub/WebAssembly-Language-Compiler/src/main.ts:4:1"><pre class="notranslate"><code class="notranslate">error: Uncaught SyntaxError: Unexpected token '' at rule none
public setDerivation(rule: SyntaxSymbol[], actions: ActionObj[], ...terminals: string[]): void {
^
at SyntaxRule.getDerivation (file:///C:/Users/Andr%C3%A9%20Brito/Documents/GitHub/WebAssembly-Language-Compiler/src/SyntaxAnalysis/SyntaxRule.ts:28:13)
at file:///C:/Users/Andr%C3%A9%20Brito/Documents/GitHub/WebAssembly-Language-Compiler/src/main.ts:4:1
</code></pre></div>
<p dir="auto">I'm running using the command:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno run src\main.ts"><pre class="notranslate"><code class="notranslate">deno run src\main.ts
</code></pre></div>
<p dir="auto">and my specs are:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno 1.2.2
v8 8.5.216
typescript 3.9.2
OS: Windows_NT x64 10.0.18362"><pre class="notranslate"><code class="notranslate">deno 1.2.2
v8 8.5.216
typescript 3.9.2
OS: Windows_NT x64 10.0.18362
</code></pre></div>
<p dir="auto">Hope this helps! :)</p> | 1 |
<p dir="auto">Hello Vue Lovers! :D</p>
<p dir="auto">Today I realized that there is something I really miss in VueJS that I liked in Angular2.</p>
<p dir="auto">It's the ? operator. It's explained very good here:<br>
<a href="https://angular.io/docs/ts/latest/guide/template-syntax.html#!#safe-navigation-operator" rel="nofollow">https://angular.io/docs/ts/latest/guide/template-syntax.html#!#safe-navigation-operator</a></p>
<p dir="auto">I give a quick example.<br>
Everybody knows this problem.</p>
<p dir="auto">If I get a hero async and I want to display a subproperty like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The null hero's name is {{ hero.address.street }}"><pre class="notranslate"><code class="notranslate">The null hero's name is {{ hero.address.street }}
</code></pre></div>
<p dir="auto">.. and the hero is not yet loaded, I will get an error like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: Cannot read property 'address' of undefined.
or
TypeError: Cannot read property 'address' of street"><pre class="notranslate"><code class="notranslate">TypeError: Cannot read property 'address' of undefined.
or
TypeError: Cannot read property 'address' of street
</code></pre></div>
<p dir="auto">Usually we have to make a</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="v-if="hero && hero.address""><pre class="notranslate"><code class="notranslate">v-if="hero && hero.address"
</code></pre></div>
<p dir="auto">or something like that.</p>
<p dir="auto">That's why in Angular2 they have the so-called "? operator"<br>
So you can do something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The null hero's name is {{ hero?.address?.street }}"><pre class="notranslate"><code class="notranslate">The null hero's name is {{ hero?.address?.street }}
</code></pre></div>
<p dir="auto">So it will do the if statements for us in a really convenient way.</p>
<p dir="auto">Is it possible to integrate something like this in VueJS?<br>
This would be amazing! :)</p> | <h1 dir="auto">Feature Request</h1>
<h2 dir="auto">Problem</h2>
<p dir="auto">While accessing the data from view in template expression, if a null object is used like below :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{{ book }} "><pre class="notranslate"><code class="notranslate">{{ book }}
</code></pre></div>
<p dir="auto">View is rendered and displayed value is blank.</p>
<p dir="auto">Suppose the template expression involves a property path, as in this next example where we’re displaying the name of a null book.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{{ book.name }} "><pre class="notranslate"><code class="notranslate">{{ book.name }}
</code></pre></div>
<p dir="auto">This would throw a null reference error :<br>
TypeError: Cannot read property 'name' of null.</p>
<h2 dir="auto">Workaround</h2>
<p dir="auto">We can find a workaround for this using a conditional block like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div v-if="book">
{{ book.name }}
</div>"><pre class="notranslate"><code class="notranslate"><div v-if="book">
{{ book.name }}
</div>
</code></pre></div>
<p dir="auto">But if we have a use case where we need a property path deep into the object some thing like this ?</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>
<h2 dir="auto">Solution</h2>
<p dir="auto">We can use a safe navigation operator ( ?. ) or elvis operator similar to Angular 2. That can help in reducing a lot of conditional tags in a complex code.</p> | 1 |
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">This issue occurs under the following circumstances:</p>
<ul dir="auto">
<li>When a relationship has the cascade property set to "all, delete-orphan",</li>
<li>There is a UniqueConstraint set on the child model</li>
<li>Simultaneously deleting and creating new child objects, through the backref on the parent, that have common values in the unique fields</li>
</ul>
<p dir="auto">I believe this is a bug, and that it can be fixed by first deleting the removed children, followed by insertion of new children.</p>
<p dir="auto">The following example recreates the issue on SQLAlchemy 0.8.1.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import create_engine
from sqlalchemy import Column, Integer, String, Float, UniqueConstraint, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, relationship, backref
from sqlalchemy.orm.dependency import OneToManyDP, attributes
Base = declarative_base()
class ParentEntity(Base):
__tablename__ = 'parent'
id = Column(Integer, primary_key=True)
name = Column(String)
class ChildEntity(Base):
__tablename__ = 'child'
__table_args__ = (UniqueConstraint('parent_id', 'z', name='child_uk'),)
id = Column(Integer, primary_key=True)
parent_id = Column(Integer, ForeignKey('parent.id'), nullable=False)
z = Column(Float)
parent = relationship("ParentEntity",
backref=backref("children",
cascade="all, delete-orphan"))
engine = create_engine('sqlite://', echo=True)
Session = sessionmaker(bind=engine)
sess = Session()
Base.metadata.create_all(engine)
p = ParentEntity(name='Datum')
p.children = [ChildEntity(z=3.5), ChildEntity(z=5.5)](ChildEntity(z=2.5),)
sess.add(p)
sess.commit()
# Remove all existing children and create new, one of which is identical to a previously existing child
p.children = [ChildEntity(z=5.5)](ChildEntity(z=4.0),)
sess.commit()"><pre class="notranslate"><code class="notranslate">from sqlalchemy import create_engine
from sqlalchemy import Column, Integer, String, Float, UniqueConstraint, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker, relationship, backref
from sqlalchemy.orm.dependency import OneToManyDP, attributes
Base = declarative_base()
class ParentEntity(Base):
__tablename__ = 'parent'
id = Column(Integer, primary_key=True)
name = Column(String)
class ChildEntity(Base):
__tablename__ = 'child'
__table_args__ = (UniqueConstraint('parent_id', 'z', name='child_uk'),)
id = Column(Integer, primary_key=True)
parent_id = Column(Integer, ForeignKey('parent.id'), nullable=False)
z = Column(Float)
parent = relationship("ParentEntity",
backref=backref("children",
cascade="all, delete-orphan"))
engine = create_engine('sqlite://', echo=True)
Session = sessionmaker(bind=engine)
sess = Session()
Base.metadata.create_all(engine)
p = ParentEntity(name='Datum')
p.children = [ChildEntity(z=3.5), ChildEntity(z=5.5)](ChildEntity(z=2.5),)
sess.add(p)
sess.commit()
# Remove all existing children and create new, one of which is identical to a previously existing child
p.children = [ChildEntity(z=5.5)](ChildEntity(z=4.0),)
sess.commit()
</code></pre></div>
<p dir="auto">Running this example produces the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.IntegrityError: (IntegrityError) columns parent_id, z are not unique u'INSERT INTO child (parent_id, z) VALUES (?, ?)' (1, 5.5)"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.IntegrityError: (IntegrityError) columns parent_id, z are not unique u'INSERT INTO child (parent_id, z) VALUES (?, ?)' (1, 5.5)
</code></pre></div>
<hr>
<p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/2765/echo_out.txt">echo_out.txt</a></p> | <p dir="auto">When I try to compile a query with datetime parameters using <code class="notranslate">literal_binds</code>, e.g.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, DateTime
from sqlalchemy.orm import sessionmaker
from datetime import datetime
engine = create_engine('sqlite:///:memory:', echo=True)
Base = declarative_base()
class M(Base):
__tablename__ = 'M'
d = Column(DateTime, primary_key=True)
Session = sessionmaker()
print(Session().query(M).filter(
M.d < datetime.now()
).statement.compile(
compile_kwargs={'literal_binds': True}
))"><pre class="notranslate"><code class="notranslate">from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, DateTime
from sqlalchemy.orm import sessionmaker
from datetime import datetime
engine = create_engine('sqlite:///:memory:', echo=True)
Base = declarative_base()
class M(Base):
__tablename__ = 'M'
d = Column(DateTime, primary_key=True)
Session = sessionmaker()
print(Session().query(M).filter(
M.d < datetime.now()
).statement.compile(
compile_kwargs={'literal_binds': True}
))
</code></pre></div>
<p dir="auto">the engine gives me the following error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NotImplementedError: Don't know how to literal-quote value datetime.datetime(2019, 12, 25, 14, 26, 42, 756674)"><pre class="notranslate"><code class="notranslate">NotImplementedError: Don't know how to literal-quote value datetime.datetime(2019, 12, 25, 14, 26, 42, 756674)
</code></pre></div>
<p dir="auto">There probably should be a default representation for datetimes as an iso-formatted string in single quotes.</p> | 0 |
<p dir="auto">I have a textfield that has keyboard type multiline and maxLines: null. The text will wrap on any device (including my real one) while I run the code in debug mode, but only continues on the same line when I run it on release mode.<br>
<code class="notranslate">new TextField( decoration: new InputDecoration.collapsed( hintText: 'Blah blah blah...'), maxLines: null, keyboardType: TextInputType.multiline, controller: _storyDescriptionController, ),</code></p> | <p dir="auto">From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mehmetf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mehmetf">@mehmetf</a></p>
<p dir="auto">Turns out the effect is dependent on the widgets in the column.</p>
<p dir="auto">The following is consistent between --debug and --release:</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Column(
children: [
new TextFormField(maxLines: null),
new TextFormField(maxLines: null),
],
),
Column(
children: [
new TextFormField(maxLines: null),
],
),"><pre class="notranslate"> <span class="pl-c1">Column</span>(
children<span class="pl-k">:</span> [
<span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(maxLines<span class="pl-k">:</span> <span class="pl-c1">null</span>),
<span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(maxLines<span class="pl-k">:</span> <span class="pl-c1">null</span>),
],
),
<span class="pl-c1">Column</span>(
children<span class="pl-k">:</span> [
<span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(maxLines<span class="pl-k">:</span> <span class="pl-c1">null</span>),
],
),</pre></div>
<p dir="auto">The following produces different behavior in --debug than --release mode.</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Column(
children: [
new TextFormField(maxLines: null),
new TextFormField(maxLines: 1),
],
),"><pre class="notranslate"> <span class="pl-c1">Column</span>(
children<span class="pl-k">:</span> [
<span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(maxLines<span class="pl-k">:</span> <span class="pl-c1">null</span>),
<span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(maxLines<span class="pl-k">:</span> <span class="pl-c1">1</span>),
],
),</pre></div> | 1 |
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Wosi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Wosi">@Wosi</a> on November 10, 2015 12:0</em></p>
<p dir="auto">I created a <a href="https://github.com/Wosi/vs.language.objectpascal/blob/master/objectpascalDef.js"><code class="notranslate">languageDef.js</code> file for ObjectPascal</a> that used to work from the first preview version until v0.9.2.<br>
As far as I know this format is no longer supported so I moved to the <code class="notranslate">.plist</code> definition format. I was able to rewrite the grammar definition in order to let the highlighted source look like 95% the same as before.</p>
<p dir="auto">But I have a problem to redefine the bracket matching.<br>
This screenshot shows the bracket matching for <code class="notranslate">begin</code> and <code class="notranslate">end</code> in version 0.9.2:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3448684/11061783/b52bfb88-87a9-11e5-8b0a-b7d0a417dfae.PNG"><img src="https://cloud.githubusercontent.com/assets/3448684/11061783/b52bfb88-87a9-11e5-8b0a-b7d0a417dfae.PNG" alt="vscodebeginendbracketmatching" style="max-width: 100%;"></a></p>
<p dir="auto">I used this code in 0.9.2 to enable the bracket matching:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" brackets: [
// ...
{ token: 'keyword.tag-begin', open: 'begin', close: 'end' },
// ...
],"><pre class="notranslate"><code class="notranslate"> brackets: [
// ...
{ token: 'keyword.tag-begin', open: 'begin', close: 'end' },
// ...
],
</code></pre></div>
<p dir="auto">How do I enable the bracket matching in version 0.10.0 for this kind of brackets?<br>
I tried to do it in the <code class="notranslate">languageMain.js</code> file inside the language configuration sections <code class="notranslate">brackets</code>, <code class="notranslate">__electricCharacterSupport</code> and <code class="notranslate">__characterPairSupport</code>. But none of the works when the brackets contain multiple characters.<br>
Is this feature completely broken in 0.10.0?</p>
<p dir="auto"><em>Copied from original issue: Microsoft/vscode-extensionbuilders#90</em></p> | <ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: OS X El Capitan 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">I'm trying to bind <code class="notranslate">quick open</code> (ctrl+p) command to <code class="notranslate">shift shift</code> (shift x2) keys like IntelliJ IDEA in VS Code Extension (TypeScript).</p>
<p dir="auto">But <code class="notranslate">vscode.commands.registerCommand('type', (args) => args.text)</code> can't detect shfit key.</p>
<p dir="auto">How can I detect shift shift key?</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// VSCode v0.10.12 or higher (not working <= v0.10.11)
'use strict';
import * as vscode from 'vscode';
export function activate(context: vscode.ExtensionContext) {
let disposable = vscode.commands.registerCommand('type', (args) => {
vscode.window.showInformationMessage(args.text);
vscode.commands.executeCommand('default:type', {
text: args.text
});
});
context.subscriptions.push(disposable);
}"><pre class="notranslate"><span class="pl-c">// VSCode v0.10.12 or higher (not working <= v0.10.11)</span>
<span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">vscode</span> <span class="pl-k">from</span> <span class="pl-s">'vscode'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-en">activate</span><span class="pl-kos">(</span><span class="pl-s1">context</span>: <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-smi">ExtensionContext</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">disposable</span> <span class="pl-c1">=</span> <span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">commands</span><span class="pl-kos">.</span><span class="pl-en">registerCommand</span><span class="pl-kos">(</span><span class="pl-s">'type'</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">window</span><span class="pl-kos">.</span><span class="pl-en">showInformationMessage</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">.</span><span class="pl-c1">text</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">vscode</span><span class="pl-kos">.</span><span class="pl-c1">commands</span><span class="pl-kos">.</span><span class="pl-en">executeCommand</span><span class="pl-kos">(</span><span class="pl-s">'default:type'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">text</span>: <span class="pl-s1">args</span><span class="pl-kos">.</span><span class="pl-c1">text</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">context</span><span class="pl-kos">.</span><span class="pl-c1">subscriptions</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-s1">disposable</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | 0 |
<p dir="auto">Was working on a <code class="notranslate">removeDiacritics()</code> helper for <code class="notranslate">deno_std</code> and it appears that Deno is not properly handling <code class="notranslate">string.normalize()</code>.<br>
<strong>env</strong>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno: 0.3.2
v8: 7.4.238
typescript: 3.2.1"><pre class="notranslate"><code class="notranslate">deno: 0.3.2
v8: 7.4.238
typescript: 3.2.1
</code></pre></div>
<p dir="auto"><strong>Example</strong>:<br>
strTest.ts</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let input = "éèñëàäáüúùìíîïæç";
console.log(input.normalize("NFD").replace(/[\u0300-\u036f]/g, ""));"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">input</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">input</span><span class="pl-kos">.</span><span class="pl-en">normalize</span><span class="pl-kos">(</span><span class="pl-s">"NFD"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span><span class="pl-kos">[</span><span class="pl-cce">\u</span>0300-<span class="pl-cce">\u</span>036f<span class="pl-kos">]</span><span class="pl-c1">/</span>g</span><span class="pl-kos">,</span> <span class="pl-s">""</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tsc strTest.ts -target esnext | node strTest.js // output: eeneaaauuuiiiiæc
deno strTest.ts // output: éèñëàäáüúùìíîïæç"><pre class="notranslate"><code class="notranslate">tsc strTest.ts -target esnext | node strTest.js // output: eeneaaauuuiiiiæc
deno strTest.ts // output: éèñëàäáüúùìíîïæç
</code></pre></div>
<p dir="auto">ref: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize</a></p> | <p dir="auto">As seen in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="422116599" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1952" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1952/hovercard" href="https://github.com/denoland/deno/issues/1952">#1952</a> / <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="405562913" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1636" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1636/hovercard" href="https://github.com/denoland/deno/issues/1636">#1636</a> ICU needs to be added in Deno build.</p>
<p dir="auto">Switching this flag to true maybe: <a href="https://github.com/denoland/deno/blob/master/.gn#L50">https://github.com/denoland/deno/blob/master/.gn#L50</a> ?</p>
<p dir="auto">ref: <a href="https://v8.dev/docs/i18n" rel="nofollow">https://v8.dev/docs/i18n</a></p> | 1 |
<p dir="auto">Suggest assign "Shift+Win+arrow" for Fancyzones and leave "Wim+arrow" with system's twin zones, then I have 2 options at the same time, 2 half zones by "Wim+arrow" , and 3 zones (or any others you want) by "Shift+Win+arrow".<br>
btw, I can drag and drop the board of both zone with "Wim+arrow" , but it need 3 actions by FancyZones.</p>
<p dir="auto">Actually already suggested in issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="605213718" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/2342" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/2342/hovercard" href="https://github.com/microsoft/PowerToys/issues/2342">#2342</a>, the response was 'Regarding 'win + shift + arrow', in 0.18 it will be optional.' but not find the settings?</p> | <p dir="auto">I recently installed a new application.<br>
But when I used PowerToys Run, I found that it could not recognize the new application.<br>
Only "XXX.lnk" and "Search: path" will be displayed instead of app name and "win32 app".<br>
Hope this problem can be fixed.</p> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1631" rel="nofollow">http://projects.scipy.org/numpy/ticket/1631</a> on 2010-10-10 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nstange/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nstange">@nstange</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charris/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charris">@charris</a>.</em></p>
<p dir="auto">Hi everybody,</p>
<p dir="auto">for numpy-1.5.0, the testsuite crashes here with an SIGBUS here:<br>
"Test filled w/ flexible dtype ... Bus Error (core dumped)" (numpy-1.5.0/numpy/ma/tests/test_core.py)<br>
and here:<br>
"Test that 'exotic' formats are processed properly ... Bus Error (core dumped)" (numpy-1.5.0/numpy/ma/tests/test_mrecords.py).</p>
<p dir="auto">The problem is that SPARC processors require alignment, that is 8 byte values have to be aligned at 8 byte memory boundraries.<br>
The good point is: numpy knows that the array is misaligned (verified using gdb) and thus, the fix is easy (see attached diff 02_put_mask_only_on_behaved_arrays.diff): The check for ISCONTINOUS isn't enough in PyArray_PutMask (item_selection.c), also check for ISBEHAVED (= ISALIGNED && ISWRITABLE).</p>
<h6 dir="auto"></h6>
<p dir="auto">But now, another problem arises:<br>
a SIGSEGV here:<br>
"Tests fields retrieval"<br>
(numpy-1.5.0/numpy/ma/tests/test_mrecords.py:77).</p>
<p dir="auto">The problem is in _copy_same_shape(numpy-1.5.0/numpy/core/src/multiarrayctors.c:732): dest->dimensions == NULL.<br>
Please also note that maxaxis == -1 at that point.<br>
Check the attached diff "04_copy_from_same_shape_zerodim_fix.diff" for details. There's one point in the diff I'm unsure about: The right position of<br>
PyArray_INCREF(src);<br>
PyArray_XDECREF(dest);<br>
I tried to resemble the original "logical" position, but since I have no clue about Python's reference counting, please have a look.</p>
<h6 dir="auto"></h6>
<p dir="auto">While debugging the last SIGSEGV-issue, I stumbled over another mistake (at least I think so):</p>
<p dir="auto">In PyArray_IterAllButAxis (numpy-1.5.0/numpy/core/src/multiarray/iterators.c), the minaxis won't be set if the first nonzero stride is the smallest one.<br>
See attached diff (03_fix_iterallbutaxis_minstride_search.diff) for a fix.</p>
<h6 dir="auto"></h6>
<p dir="auto">The reason why I poste those three issues into one report is that the testsuite still doesn't succeed and thus, I'm unsure if I've broken sth. with my diffs.</p>
<h1 dir="auto">What I get now is:</h1>
<h2 dir="auto">FAIL: Ticket <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="7728996" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/1897" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/1897/hovercard" href="https://github.com/numpy/numpy/issues/1897">#1897</a> second test</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/pf/m/m222086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/sit<br>
e-packages/numpy/core/tests/test_regression.py", line 1255, in test_structured_a<br>
rrays_with_objects2<br>
assert sys.getrefcount(strb) == numb<br>
AssertionError:<br>
7 = <module 'sys' (built-in)>.getrefcount('aaaa')<br>
array([[(0L, 'aaaa'), (0L, 'aaaa')]],<br>
dtype=[('f0', '>i8'), ('f1', '|O4')]) = <module 'numpy' from '/pf/m/m2<br>
22086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/site-packages/numpy<br>
/<strong>init</strong>.pyc'>.array([[(0,'aaaa'),(1,'bbbb')]], 'i8,O')</p>
<blockquote>
<blockquote>
<p dir="auto">array([[(0L, 'aaaa'), (0L, 'aaaa')]],<br>
dtype=[('f0', '>i8'), ('f1', '|O4')])[array([[(0L, 'aaaa'), (0L, 'aaaa<br>
')]],<br>
dtype=[('f0', '>i8'), ('f1', '|O4')]).nonzero()] = array([[(0L, 'aaaa'<br>
), (0L, 'aaaa')]],<br>
dtype=[('f0', '>i8'), ('f1', '|O4')]).ravel()[:1]<br>
assert <module 'sys' (built-in)>.getrefcount('bbbb') == 7<br>
assert <module 'sys' (built-in)>.getrefcount('aaaa') == 7 + 2</p>
</blockquote>
</blockquote>
<h1 dir="auto"></h1>
<h2 dir="auto">FAIL: Test filled w/ mvoid</h2>
<p dir="auto">Traceback (most recent call last):<br>
File "/pf/m/m222086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/sit<br>
e-packages/numpy/ma/tests/test_core.py", line 518, in test_filled_w_mvoid<br>
assert_equal(tuple(test), (1, default_fill_value(1.)))<br>
File "/pf/m/m222086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/sit<br>
e-packages/numpy/ma/testutils.py", line 94, in assert_equal<br>
return _assert_equal_on_sequences(actual, desired, err_msg='')<br>
File "/pf/m/m222086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/sit<br>
e-packages/numpy/ma/testutils.py", line 66, in _assert_equal_on_sequences<br>
assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg))<br>
File "/pf/m/m222086/xas/solaris10/python2/python-2.7-ve0-gcc/lib/python2.7/sit<br>
e-packages/numpy/ma/testutils.py", line 98, in assert_equal<br>
raise AssertionError(msg)<br>
AssertionError:<br>
Items are not equal:<br>
item=1</p>
<p dir="auto">ACTUAL: 2.0<br>
DESIRED: 1e+20</p>
<blockquote>
<blockquote>
<p dir="auto">raise AssertionError('\nItems are not equal:\nitem=1\n\n ACTUAL: 2.0\n DESIR<br>
ED: 1e+20')</p>
</blockquote>
</blockquote>
<p dir="auto">At least not segfaults/bus errors anymore ;).<br>
Btw.: I don't know what mvoid is, but have a look at the following:</p>
<p dir="auto">myuid@myhost:~$ ~/xas/solaris10/python2/python-2.7-ve0-gcc/bin/python Python 2.7 (r27:82500, Oct 9 2010, 17:26:38)<br>
[GCC 4.5.1] on sunos5<br>
Type "help", "copyright", "credits" or "license" for more information.</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">import numpy as np<br>
import numpy.ma as ma<br>
import numpy.ma.core<br>
from numpy.ma.core import *<br>
x = ma.array([(1,2.)], mask=[(0,1)], dtype=[('a', int), ('b', float)])<br>
print x.filled()<br>
[(1, 1e+20)]<br>
x = mvoid((1,2.), mask=[(0,1)], dtype=[('a', int), ('b', float)])<br>
print x.filled()<br>
(1, 2.0)</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">Since the non-working mvoid-mask could have an impact on results, I cannot release that build to our the scientists at our site. Do you have any idea what the issue could be?<br>
Do you know what a mvoid is? I can't find any documentation about it. I'm seriously thinking about just removing that class from my numpy build (If I knew that there weren't any dependants outside of numpy)...</p>
<p dir="auto">Wishes</p>
<p dir="auto">Nicolai</p> | <p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1094" rel="nofollow">http://projects.scipy.org/numpy/ticket/1094</a> on 2009-04-24 by trac user Gerard, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charris/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charris">@charris</a>.</em></p>
<p dir="auto">Running the numpy (version 1.3.0, but also occurs on 1.2.1) autotester fails on masked array test case with a bus error. Used system is Solaris 5.8:<br>
uname -a<br>
SunOS wsasd529 5.8 Generic_117350-18 sun4u sparc SUNW,Sun-Blade-1500</p>
<p dir="auto">output of "numpy.test(verbose=10)":</p>
<p dir="auto">...<br>
Tests how masks are initialized at the creation of Maskedarrays. ... ok<br>
Check the use of ndmin ... ok<br>
Make sure we're not losing the original mask w/ ndmin ... ok<br>
Tests creaating a masked array from alist of masked arrays. ... ok<br>
test_deepcopy (test_core.TestMaskedArray) ... ok<br>
Test printing a masked array w/ fancy dtype. ... ok<br>
Test filled w/ flexible dtype ... Bus error</p>
<p dir="auto">Bus error is caused by a misaligned memory write (see output of purify below):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="MAW: Misaligned memory write
This is occurring while in:
DOUBLE_fastputmask [arraytypes.inc.src:2282]
s_val = *vals;
for (i = 0; i < ni; i++) {
if (mask[i]) {
=> in[i] = s_val;
}
}
}
PyArray_PutMask [multiarraymodule.c:4687]
}
}
else {
=> func(dest, mask->data, ni, values->data, nv);
}
}
array_putmask [multiarraymodule.c:4600]
&array, &mask, &values)) {
return NULL;
}
=> return PyArray_PutMask((PyArrayObject *)array, values, mask);
}
/*NUMPY_API
PyCFunction_Call [methodobject.c:77]
PyEval_EvalFrameEx [ceval.c:3564]
PyEval_EvalFrameEx [ceval.c:3650]
PyEval_EvalCodeEx [ceval.c:2831]
PyEval_EvalFrameEx [ceval.c:3659]
..."><pre class="notranslate"><code class="notranslate">MAW: Misaligned memory write
This is occurring while in:
DOUBLE_fastputmask [arraytypes.inc.src:2282]
s_val = *vals;
for (i = 0; i < ni; i++) {
if (mask[i]) {
=> in[i] = s_val;
}
}
}
PyArray_PutMask [multiarraymodule.c:4687]
}
}
else {
=> func(dest, mask->data, ni, values->data, nv);
}
}
array_putmask [multiarraymodule.c:4600]
&array, &mask, &values)) {
return NULL;
}
=> return PyArray_PutMask((PyArrayObject *)array, values, mask);
}
/*NUMPY_API
PyCFunction_Call [methodobject.c:77]
PyEval_EvalFrameEx [ceval.c:3564]
PyEval_EvalFrameEx [ceval.c:3650]
PyEval_EvalCodeEx [ceval.c:2831]
PyEval_EvalFrameEx [ceval.c:3659]
...
</code></pre></div>
<p dir="auto">Commenting the execution of the fastputmask in multiarraymodule.c (and thus running the 'slower' version already implemented there) solves the problem:</p>
<p dir="auto">multiarraymodule.c, line 4676 (and further):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" func = self->descr->f->fastputmask;
/*if (func == NULL) {*/
for (i = 0; i < ni; i++) {
tmp = ((Bool *)(mask->data))[i];
if (tmp) {
src = values->data + chunk*(i % nv);
memmove(dest + i*chunk, src, chunk);
}
}
/*}
else {
func(dest, mask->data, ni, values->data, nv);
}*/"><pre class="notranslate"><code class="notranslate"> func = self->descr->f->fastputmask;
/*if (func == NULL) {*/
for (i = 0; i < ni; i++) {
tmp = ((Bool *)(mask->data))[i];
if (tmp) {
src = values->data + chunk*(i % nv);
memmove(dest + i*chunk, src, chunk);
}
}
/*}
else {
func(dest, mask->data, ni, values->data, nv);
}*/
</code></pre></div>
<p dir="auto">added here are the comment blocks such that func is not executed anymore.</p>
<p dir="auto">'Minimal' piece of python code to reproduce:</p>
<p dir="auto">from numpy.ma.core import *</p>
<p dir="auto">f = array([(1,1)], dtype=[('i',int),('f',float)])</p>
<p dir="auto">f.mask = [1,1]</p>
<p dir="auto">f.filled()</p> | 1 |
<p dir="auto">As subject says, always error msg saying "Safari cannot open the page, because it cannot open make the secure connection with the server". Has anybody encountered the problem and can you share your experience how to fix ?<br>
Opening the website from Firefox is OK.<br>
System: Mac 10.12.6.</p> | <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</p>
</li>
<li>
<p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br>
Ubuntu 16.04</p>
</li>
<li>
<p dir="auto"><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>:<br>
No</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br>
Checked out tag origin/r1.9</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow version (use command below)</strong>:<br>
r1.9.0</p>
</li>
<li>
<p dir="auto"><strong>Python version</strong>:<br>
3.6</p>
</li>
<li>
<p dir="auto"><strong>Bazel version (if compiling from source)</strong>:<br>
Build label: 0.15.2<br>
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar<br>
Build time: Tue Jul 17 12:22:40 2018 (1531830160)<br>
Build timestamp: 1531830160<br>
Build timestamp as int: 1531830160</p>
</li>
<li>
<p dir="auto"><strong>GCC/Compiler version (if compiling from source)</strong>:<br>
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)</p>
</li>
<li>
<p dir="auto"><strong>CUDA/cuDNN version</strong>:<br>
n/a; compiling for non-GPU machine</p>
</li>
<li>
<p dir="auto"><strong>GPU model and memory</strong>:<br>
n/a</p>
</li>
<li>
<p dir="auto"><strong>Exact command to reproduce</strong>:<br>
<code class="notranslate">bazel build --config opt //tensorflow/java:tensorflow //tensorflow/java:libtensorflow_jni</code></p>
</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(tensorflow_p36) ubuntu:/efs/tensorflow/tools$ bash tf_env_collect.sh
Collecting system information...
/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/matplotlib/__init__.py:962: UserWarning: Duplicate key in file "/home/ubuntu/.config/matplotlib/matplotlibrc", line #2
(fname, cnt))
/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/matplotlib/__init__.py:962: UserWarning: Duplicate key in file "/home/ubuntu/.config/matplotlib/matplotlibrc", line #3
(fname, cnt))
2018-07-31 10:32:11.836897: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-07-31 10:32:12.013176: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:895] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-07-31 10:32:12.013518: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:1e.0
totalMemory: 11.17GiB freeMemory: 11.10GiB
2018-07-31 10:32:12.013553: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: Tesla K80, pci bus id: 0000:00:1e.0, compute capability: 3.7)
Wrote environment to tf_env.txt. You can review the contents of that file.
and use it to populate the fields in the github issue template.
cat tf_env.txt"><pre class="notranslate"><code class="notranslate">(tensorflow_p36) ubuntu:/efs/tensorflow/tools$ bash tf_env_collect.sh
Collecting system information...
/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/matplotlib/__init__.py:962: UserWarning: Duplicate key in file "/home/ubuntu/.config/matplotlib/matplotlibrc", line #2
(fname, cnt))
/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/matplotlib/__init__.py:962: UserWarning: Duplicate key in file "/home/ubuntu/.config/matplotlib/matplotlibrc", line #3
(fname, cnt))
2018-07-31 10:32:11.836897: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-07-31 10:32:12.013176: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:895] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-07-31 10:32:12.013518: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1105] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:1e.0
totalMemory: 11.17GiB freeMemory: 11.10GiB
2018-07-31 10:32:12.013553: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: Tesla K80, pci bus id: 0000:00:1e.0, compute capability: 3.7)
Wrote environment to tf_env.txt. You can review the contents of that file.
and use it to populate the fields in the github issue template.
cat tf_env.txt
</code></pre></div>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.</p>
<p dir="auto">Here is the error message. It doesnt say much:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="external/curl/lib/vtls/openssl.c: At top level:
cc1: warning: unrecognized command line option "-Wno-string-plus-int" [enabled by default]
INFO: Elapsed time: 450.149s, Critical Path: 21.18s
INFO: 1372 processes: 1372 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">external/curl/lib/vtls/openssl.c: At top level:
cc1: warning: unrecognized command line option "-Wno-string-plus-int" [enabled by default]
INFO: Elapsed time: 450.149s, Critical Path: 21.18s
INFO: 1372 processes: 1372 local.
FAILED: Build did NOT complete successfully
</code></pre></div>
<p dir="auto">Here are the 100 lines that precede it:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In file included from external/curl/lib/vtls/openssl.c:72:0:
/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/../lib/gcc/../../include/openssl/ocsp.h:567:34: error: unknown type name 'OCSP_RESPONSE'
int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE *o, unsigned long flags);
^
external/curl/lib/vtls/openssl.c: In function 'verifystatus':
external/curl/lib/vtls/openssl.c:1262:3: error: unknown type name 'OCSP_RESPONSE'
OCSP_RESPONSE *rsp = NULL;
^
external/curl/lib/vtls/openssl.c:1267:3: warning: implicit declaration of function 'SSL_get_tlsext_status_ocsp_resp' [-Wimplicit-function-declaration]
long len = SSL_get_tlsext_status_ocsp_resp(connssl->handle, &p);
^
external/curl/lib/vtls/openssl.c:1275:3: warning: implicit declaration of function 'd2i_OCSP_RESPONSE' [-Wimplicit-function-declaration]
rsp = d2i_OCSP_RESPONSE(NULL, &p, len);
^
external/curl/lib/vtls/openssl.c:1275:7: warning: assignment makes pointer from integer without a cast [enabled by default]
rsp = d2i_OCSP_RESPONSE(NULL, &p, len);
^
external/curl/lib/vtls/openssl.c:1282:3: warning: implicit declaration of function 'OCSP_response_status' [-Wimplicit-function-declaration]
ocsp_status = OCSP_response_status(rsp);
^
external/curl/lib/vtls/openssl.c:1290:3: warning: implicit declaration of function 'OCSP_response_get1_basic' [-Wimplicit-function-declaration]
br = OCSP_response_get1_basic(rsp);
^
external/curl/lib/vtls/openssl.c:1290:6: warning: assignment makes pointer from integer without a cast [enabled by default]
br = OCSP_response_get1_basic(rsp);
^
external/curl/lib/vtls/openssl.c:1374:3: warning: implicit declaration of function 'OCSP_RESPONSE_free' [-Wimplicit-function-declaration]
OCSP_RESPONSE_free(rsp);
^
external/curl/lib/vtls/openssl.c: In function 'ossl_connect_step1':
external/curl/lib/vtls/openssl.c:2061:5: warning: implicit declaration of function 'SSL_set_tlsext_status_type' [-Wimplicit-function-declaration]
SSL_set_tlsext_status_type(connssl->handle, TLSEXT_STATUSTYPE_ocsp);
^
external/curl/lib/vtls/openssl.c: In function 'get_cert_chain':
external/curl/lib/vtls/openssl.c:2390:9: warning: passing argument 1 of 'X509_get0_signature' from incompatible pointer type [enabled by default]
X509_get0_signature(&psig, &palg, x);
^
In file included from external/boringssl/src/include/openssl/pem.h:66:0,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/x509.h:761:21: note: expected 'const struct ASN1_BIT_STRING **' but argument is of type 'struct ASN1_BIT_STRING **'
OPENSSL_EXPORT void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
external/curl/lib/vtls/openssl.c:2390:9: warning: passing argument 2 of 'X509_get0_signature' from incompatible pointer type [enabled by default]
X509_get0_signature(&psig, &palg, x);
^
In file included from external/boringssl/src/include/openssl/pem.h:66:0,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/x509.h:761:21: note: expected 'const struct X509_ALGOR **' but argument is of type 'struct X509_ALGOR **'
OPENSSL_EXPORT void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 4 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2456:11: warning: passing argument 2 of 'RSA_get0_factors' from incompatible pointer type [enabled by default]
RSA_get0_factors(rsa, &p, &q);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:100:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2456:11: warning: passing argument 3 of 'RSA_get0_factors' from incompatible pointer type [enabled by default]
RSA_get0_factors(rsa, &p, &q);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:100:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 2 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 3 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 4 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 2 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 3 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 4 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2501:11: warning: passing argument 2 of 'DSA_get0_key' from incompatible pointer type [enabled by default]
DSA_get0_key(dsa, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:96:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2501:11: warning: passing argument 3 of 'DSA_get0_key' from incompatible pointer type [enabled by default]
DSA_get0_key(dsa, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:96:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 2 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 3 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 4 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2534:11: warning: passing argument 2 of 'DH_get0_key' from incompatible pointer type [enabled by default]
DH_get0_key(dh, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:92:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2534:11: warning: passing argument 3 of 'DH_get0_key' from incompatible pointer type [enabled by default]
DH_get0_key(dh, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:92:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c: At top level:
cc1: warning: unrecognized command line option "-Wno-string-plus-int" [enabled by default]
INFO: Elapsed time: 450.149s, Critical Path: 21.18s
INFO: 1372 processes: 1372 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate"><code class="notranslate">In file included from external/curl/lib/vtls/openssl.c:72:0:
/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/../lib/gcc/../../include/openssl/ocsp.h:567:34: error: unknown type name 'OCSP_RESPONSE'
int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE *o, unsigned long flags);
^
external/curl/lib/vtls/openssl.c: In function 'verifystatus':
external/curl/lib/vtls/openssl.c:1262:3: error: unknown type name 'OCSP_RESPONSE'
OCSP_RESPONSE *rsp = NULL;
^
external/curl/lib/vtls/openssl.c:1267:3: warning: implicit declaration of function 'SSL_get_tlsext_status_ocsp_resp' [-Wimplicit-function-declaration]
long len = SSL_get_tlsext_status_ocsp_resp(connssl->handle, &p);
^
external/curl/lib/vtls/openssl.c:1275:3: warning: implicit declaration of function 'd2i_OCSP_RESPONSE' [-Wimplicit-function-declaration]
rsp = d2i_OCSP_RESPONSE(NULL, &p, len);
^
external/curl/lib/vtls/openssl.c:1275:7: warning: assignment makes pointer from integer without a cast [enabled by default]
rsp = d2i_OCSP_RESPONSE(NULL, &p, len);
^
external/curl/lib/vtls/openssl.c:1282:3: warning: implicit declaration of function 'OCSP_response_status' [-Wimplicit-function-declaration]
ocsp_status = OCSP_response_status(rsp);
^
external/curl/lib/vtls/openssl.c:1290:3: warning: implicit declaration of function 'OCSP_response_get1_basic' [-Wimplicit-function-declaration]
br = OCSP_response_get1_basic(rsp);
^
external/curl/lib/vtls/openssl.c:1290:6: warning: assignment makes pointer from integer without a cast [enabled by default]
br = OCSP_response_get1_basic(rsp);
^
external/curl/lib/vtls/openssl.c:1374:3: warning: implicit declaration of function 'OCSP_RESPONSE_free' [-Wimplicit-function-declaration]
OCSP_RESPONSE_free(rsp);
^
external/curl/lib/vtls/openssl.c: In function 'ossl_connect_step1':
external/curl/lib/vtls/openssl.c:2061:5: warning: implicit declaration of function 'SSL_set_tlsext_status_type' [-Wimplicit-function-declaration]
SSL_set_tlsext_status_type(connssl->handle, TLSEXT_STATUSTYPE_ocsp);
^
external/curl/lib/vtls/openssl.c: In function 'get_cert_chain':
external/curl/lib/vtls/openssl.c:2390:9: warning: passing argument 1 of 'X509_get0_signature' from incompatible pointer type [enabled by default]
X509_get0_signature(&psig, &palg, x);
^
In file included from external/boringssl/src/include/openssl/pem.h:66:0,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/x509.h:761:21: note: expected 'const struct ASN1_BIT_STRING **' but argument is of type 'struct ASN1_BIT_STRING **'
OPENSSL_EXPORT void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
external/curl/lib/vtls/openssl.c:2390:9: warning: passing argument 2 of 'X509_get0_signature' from incompatible pointer type [enabled by default]
X509_get0_signature(&psig, &palg, x);
^
In file included from external/boringssl/src/include/openssl/pem.h:66:0,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/x509.h:761:21: note: expected 'const struct X509_ALGOR **' but argument is of type 'struct X509_ALGOR **'
OPENSSL_EXPORT void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2455:11: warning: passing argument 4 of 'RSA_get0_key' from incompatible pointer type [enabled by default]
RSA_get0_key(rsa, &n, &e, &d);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:95:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n,
^
external/curl/lib/vtls/openssl.c:2456:11: warning: passing argument 2 of 'RSA_get0_factors' from incompatible pointer type [enabled by default]
RSA_get0_factors(rsa, &p, &q);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:100:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2456:11: warning: passing argument 3 of 'RSA_get0_factors' from incompatible pointer type [enabled by default]
RSA_get0_factors(rsa, &p, &q);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:100:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 2 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 3 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2457:11: warning: passing argument 4 of 'RSA_get0_crt_params' from incompatible pointer type [enabled by default]
RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
^
In file included from external/boringssl/src/include/openssl/x509.h:82:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/rsa.h:107:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 2 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 3 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2500:11: warning: passing argument 4 of 'DSA_get0_pqg' from incompatible pointer type [enabled by default]
DSA_get0_pqg(dsa, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:101:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2501:11: warning: passing argument 2 of 'DSA_get0_key' from incompatible pointer type [enabled by default]
DSA_get0_key(dsa, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:96:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2501:11: warning: passing argument 3 of 'DSA_get0_key' from incompatible pointer type [enabled by default]
DSA_get0_key(dsa, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:74:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dsa.h:96:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 2 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 3 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2533:11: warning: passing argument 4 of 'DH_get0_pqg' from incompatible pointer type [enabled by default]
DH_get0_pqg(dh, &p, &q, &g);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:102:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
^
external/curl/lib/vtls/openssl.c:2534:11: warning: passing argument 2 of 'DH_get0_key' from incompatible pointer type [enabled by default]
DH_get0_key(dh, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:92:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c:2534:11: warning: passing argument 3 of 'DH_get0_key' from incompatible pointer type [enabled by default]
DH_get0_key(dh, &pub_key, &priv_key);
^
In file included from external/boringssl/src/include/openssl/x509.h:73:0,
from external/boringssl/src/include/openssl/pem.h:66,
from external/boringssl/src/include/openssl/ssl.h:149,
from external/curl/lib/urldata.h:86,
from external/curl/lib/vtls/openssl.c:41:
external/boringssl/src/include/openssl/dh.h:92:21: note: expected 'const struct BIGNUM **' but argument is of type 'struct BIGNUM **'
OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
^
external/curl/lib/vtls/openssl.c: At top level:
cc1: warning: unrecognized command line option "-Wno-string-plus-int" [enabled by default]
INFO: Elapsed time: 450.149s, Critical Path: 21.18s
INFO: 1372 processes: 1372 local.
FAILED: Build did NOT complete successfully
</code></pre></div>
<h3 dir="auto">Source code / logs</h3>
<p dir="auto">Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.</p> | 0 |
<ul dir="auto">
<li>User defined, meaning that the user can actually customize the hotkeys to there own liking</li>
<li>not Microsoft Predefined hotkeys, that cant be changed (microsoft is bad at this)</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3206696/112462789-c0beb580-8d61-11eb-96eb-43f06a7e5e8d.png"><img src="https://user-images.githubusercontent.com/3206696/112462789-c0beb580-8d61-11eb-96eb-43f06a7e5e8d.png" alt="image" 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: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):"><pre class="notranslate"><code class="notranslate">Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<h1 dir="auto">Expected behavior</h1>
<h1 dir="auto">Actual behavior</h1>
<h1 dir="auto">Screenshots</h1> | 0 |
<h3 dir="auto">Scenario</h3>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ deno test ${pem_hello} ./hello.ts
$ deno test ${pem_world} ./world.ts
# WILD PERM
$ deno test -A
$ deno run ${perm_hello} ./hello.ts
$ deno run ${perm_hello} ./world.ts
$ deno compile ${perm_hello} ./hello.ts
$ deno compile ${perm_world} ./world.ts"><pre class="notranslate">$ deno <span class="pl-c1">test</span> <span class="pl-smi">${pem_hello}</span> ./hello.ts
$ deno <span class="pl-c1">test</span> <span class="pl-smi">${pem_world}</span> ./world.ts
<span class="pl-c"><span class="pl-c">#</span> WILD PERM</span>
$ deno <span class="pl-c1">test</span> -A
$ deno run <span class="pl-smi">${perm_hello}</span> ./hello.ts
$ deno run <span class="pl-smi">${perm_hello}</span> ./world.ts
$ deno compile <span class="pl-smi">${perm_hello}</span> ./hello.ts
$ deno compile <span class="pl-smi">${perm_world}</span> ./world.ts</pre></div>
<h3 dir="auto">Feat</h3>
<p dir="auto">deno.jsonc</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"perm": Perm | Path | WhatwgImportId
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"perm"</span>: <span class="pl-v">Perm</span> <span class="pl-c1">|</span> <span class="pl-v">Path</span> <span class="pl-c1">|</span> <span class="pl-v">WhatwgImportId</span>
<span class="pl-kos">}</span></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type Perm = Record<PermId, DenoPerm>
type PermId = ImportMapId | PlaceHolderImportId | WhatwgImportId;"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-smi">Perm</span> <span class="pl-c1">=</span> <span class="pl-smi">Record</span><span class="pl-kos"><</span><span class="pl-smi">PermId</span><span class="pl-kos">,</span> <span class="pl-smi">DenoPerm</span><span class="pl-kos">></span>
<span class="pl-k">type</span> <span class="pl-smi">PermId</span> <span class="pl-c1">=</span> <span class="pl-smi">ImportMapId</span> <span class="pl-c1">|</span> <span class="pl-smi">PlaceHolderImportId</span> <span class="pl-c1">|</span> <span class="pl-smi">WhatwgImportId</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ deno test
$ deno run ./hello.ts
$ deno run ./world.ts
$ deno compile ./hello.ts
$ deno compile ./world.ts"><pre class="notranslate">$ deno <span class="pl-c1">test</span>
$ deno run ./hello.ts
$ deno run ./world.ts
$ deno compile ./hello.ts
$ deno compile ./world.ts</pre></div> | <p dir="auto">With basic code such as this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const baseDir = "./";
const watcher = Deno.watchFs(baseDir);
for await (const event of watcher) {
console.log(event);
}"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">baseDir</span> <span class="pl-c1">=</span> <span class="pl-s">"./"</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">watcher</span> <span class="pl-c1">=</span> <span class="pl-v">Deno</span><span class="pl-kos">.</span><span class="pl-en">watchFs</span><span class="pl-kos">(</span><span class="pl-s1">baseDir</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-k">await</span> <span class="pl-kos">(</span><span class="pl-k">const</span> <span class="pl-s1">event</span> <span class="pl-k">of</span> <span class="pl-s1">watcher</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">event</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">And then when I go ahead and change a file, <strong>just once!</strong>, I get three concecutive events that look like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
kind: "modify",
paths: [ "index.html.hbs" ]
}
{
kind: "modify",
paths: [ "index.html.hbs" ]
}
{
kind: "modify",
paths: [ "index.html.hbs" ]
}"><pre class="notranslate"><code class="notranslate">{
kind: "modify",
paths: [ "index.html.hbs" ]
}
{
kind: "modify",
paths: [ "index.html.hbs" ]
}
{
kind: "modify",
paths: [ "index.html.hbs" ]
}
</code></pre></div>
<p dir="auto">Shouldn't I receive just one event since the file was changed just once?</p>
<hr>
<p dir="auto">deno 1.16.2 (release, aarch64-apple-darwin)<br>
v8 9.7.106.2<br>
typescript 4.4.2</p> | 0 |
<ul dir="auto">
<li><code class="notranslate">transformers</code> version: 3.0.2</li>
<li>Platform: Linux</li>
<li>Python version: 3.6</li>
<li>PyTorch version (GPU?): 1.4 (GPU)</li>
<li>Using GPU in script?: Yes</li>
<li>Using distributed or parallel set-up in script?: No</li>
</ul>
<h3 dir="auto">Who can help</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sshleifer/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sshleifer">@sshleifer</a></p>
<h2 dir="auto">Information</h2>
<p dir="auto">Model I am using (Bert, XLNet ...): BART</p>
<p dir="auto">The problem arises when using:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> the official example scripts: (give details below)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> my own modified scripts: (give details below)</li>
</ul>
<p dir="auto">The tasks I am working on is:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> an official GLUE/SQUaD task: (give the name)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> my own task or dataset: (give details below)</li>
</ul>
<h2 dir="auto">To reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Running the example script in <a href="https://github.com/huggingface/transformers/tree/master/examples/seq2seq">https://github.com/huggingface/transformers/tree/master/examples/seq2seq</a> (finetune_bart_tiny.sh), I'm getting this warning in the beginning of training. However, the training process is continuing after that.</li>
</ol>
<p dir="auto">Warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="finetune.py:245: UserWarning: All learning rates are 0
warnings.warn("All learning rates are 0")
Epoch 1: 0%|
/home/sajad/anaconda3/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:224: UserWarning: To get the last learning rate computed by the scheduler, please use `get_last_lr()`.
warnings.warn("To get the last learning rate computed by the scheduler, ""><pre class="notranslate"><code class="notranslate">finetune.py:245: UserWarning: All learning rates are 0
warnings.warn("All learning rates are 0")
Epoch 1: 0%|
/home/sajad/anaconda3/lib/python3.6/site-packages/torch/optim/lr_scheduler.py:224: UserWarning: To get the last learning rate computed by the scheduler, please use `get_last_lr()`.
warnings.warn("To get the last learning rate computed by the scheduler, "
</code></pre></div>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">While the training seemingly goes well, I'm wondering if this warning would cause problems, leading to deteriorate model's final performance? As a add-on, I've also incorporated the gradient checkpointing to some computational blocks of BART (modifying <code class="notranslate">modelling_bart.py</code> script a bit). But even w/o incorporating this module, I'm still getting this warning message? Any thoughts of how to solve it?</p> | <p dir="auto">transformers/examples/seq2seq/finetune.py 219row :<br>
if max(scheduler.get_last_lr()) > 0:<br>
warnings.warn("All learning rates are 0")</p>
<p dir="auto">why, is there something i left?</p> | 1 |
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class PDMixIn(object):
@property
def _constructor(self):
return self.__class__
class DF(PDMixIn, pd.DataFrame):
_metadata = ['my_prop']
def __init__(self, *args, **kwargs):
my_prop = kwargs.pop('my_prop', 'some_prop')
super().__init__(*args, *kwargs)
self.my_prop = my_prop
df = DF(my_prop='new_prop')
print(df.my_prop)
# 'new_prop'
# But after adding 1
df = df + 1
print(df.my_prop)
# 'some_prop'"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">PDMixIn</span>(<span class="pl-s1">object</span>):
<span class="pl-en">@<span class="pl-s1">property</span></span>
<span class="pl-k">def</span> <span class="pl-en">_constructor</span>(<span class="pl-s1">self</span>):
<span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">__class__</span>
<span class="pl-k">class</span> <span class="pl-v">DF</span>(<span class="pl-v">PDMixIn</span>, <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>):
<span class="pl-s1">_metadata</span> <span class="pl-c1">=</span> [<span class="pl-s">'my_prop'</span>]
<span class="pl-k">def</span> <span class="pl-en">__init__</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-s1">my_prop</span> <span class="pl-c1">=</span> <span class="pl-s1">kwargs</span>.<span class="pl-en">pop</span>(<span class="pl-s">'my_prop'</span>, <span class="pl-s">'some_prop'</span>)
<span class="pl-en">super</span>().<span class="pl-en">__init__</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-s1">self</span>.<span class="pl-s1">my_prop</span> <span class="pl-c1">=</span> <span class="pl-s1">my_prop</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DF</span>(<span class="pl-s1">my_prop</span><span class="pl-c1">=</span><span class="pl-s">'new_prop'</span>)
<span class="pl-en">print</span>(<span class="pl-s1">df</span>.<span class="pl-s1">my_prop</span>)
<span class="pl-c"># 'new_prop' </span>
<span class="pl-c"># But after adding 1</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>
<span class="pl-en">print</span>(<span class="pl-s1">df</span>.<span class="pl-s1">my_prop</span>)
<span class="pl-c"># 'some_prop'</span></pre></div>
<p dir="auto">Seems like DF is losing property value after addition I found similar behaviour for <strong>sub</strong> and others.</p>
<p dir="auto">I was able to solve the problem by adding following code to PDMixIn</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def __add__(self, other):
result = pd.DataFrame.__add__(self, other)
return self._constructor(result).__finalize__(self)
df = df + 1
print(df.my_prop)
# 'new_prop'"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">__add__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>):
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>.<span class="pl-en">__add__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">other</span>)
<span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_constructor</span>(<span class="pl-s1">result</span>).<span class="pl-en">__finalize__</span>(<span class="pl-s1">self</span>)
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>
<span class="pl-en">print</span>(<span class="pl-s1">df</span>.<span class="pl-s1">my_prop</span>)
<span class="pl-c"># 'new_prop'</span></pre></div>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.3.final.0<br>
python-bits: 64<br>
OS: Windows<br>
OS-release: 10<br>
machine: AMD64<br>
processor: Intel64 Family 6 Model 78 Stepping 3, GenuineIntel<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.22.0<br>
pytest: 3.3.0<br>
pip: 9.0.1<br>
setuptools: 36.5.0.post20170921<br>
Cython: 0.27.3<br>
numpy: 1.13.3<br>
scipy: 1.0.0<br>
pyarrow: None<br>
xarray: None<br>
IPython: 6.2.1<br>
sphinx: 1.6.3<br>
patsy: 0.4.1<br>
dateutil: 2.6.1<br>
pytz: 2017.3<br>
blosc: None<br>
bottleneck: 1.2.1<br>
tables: 3.4.2<br>
numexpr: 2.6.4<br>
feather: None<br>
matplotlib: 2.1.1<br>
openpyxl: 2.4.9<br>
xlrd: 1.1.0<br>
xlwt: 1.3.0<br>
xlsxwriter: 1.0.2<br>
lxml: 4.1.1<br>
bs4: 4.6.0<br>
html5lib: 1.0.1<br>
sqlalchemy: 1.1.13<br>
pymysql: None<br>
psycopg2: 2.7.3.2 (dt dec pq3 ext lo64)<br>
jinja2: 2.10<br>
s3fs: None<br>
fastparquet: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!/bin/env python
"""
Example bug in derived Pandas Series.
__finalized__ is not called in arithmetic binary operators, but it is in in some booleans cases.
>>> m = MySeries([1, 2, 3], name='test')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 1
1 2
dtype: int64
>>> n.x
42
>>> o=n+1
>>> o
0 2
1 3
dtype: int64
>>> o.x
Traceback (most recent call last):
...
AttributeError: 'MySeries' object has no attribute 'x'
>>> m = MySeries([True, False, True], name='test2')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 True
1 False
dtype: bool
>>> n.x
42
>>> o=n ^ True
>>> o
0 False
1 True
dtype: bool
>>> o.x
42
>>> p = n ^ o
>>> p
0 True
1 True
dtype: bool
>>> p.x
42
"""
import pandas as pd
class MySeries(pd.Series):
_metadata = ['x']
@property
def _constructor(self):
return MySeries
if __name__ == "__main__":
import doctest
doctest.testmod()
"><pre class="notranslate"><code class="notranslate">#!/bin/env python
"""
Example bug in derived Pandas Series.
__finalized__ is not called in arithmetic binary operators, but it is in in some booleans cases.
>>> m = MySeries([1, 2, 3], name='test')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 1
1 2
dtype: int64
>>> n.x
42
>>> o=n+1
>>> o
0 2
1 3
dtype: int64
>>> o.x
Traceback (most recent call last):
...
AttributeError: 'MySeries' object has no attribute 'x'
>>> m = MySeries([True, False, True], name='test2')
>>> m.x = 42
>>> n=m[:2]
>>> n
0 True
1 False
dtype: bool
>>> n.x
42
>>> o=n ^ True
>>> o
0 False
1 True
dtype: bool
>>> o.x
42
>>> p = n ^ o
>>> p
0 True
1 True
dtype: bool
>>> p.x
42
"""
import pandas as pd
class MySeries(pd.Series):
_metadata = ['x']
@property
def _constructor(self):
return MySeries
if __name__ == "__main__":
import doctest
doctest.testmod()
</code></pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">In all cases, the metadata 'x' should be transferred from the passed values when applying binary operators.<br>
When the right-hand value is a constant, the left-hand value metadata should be used in <strong>finalize</strong> for arithmetic operators, just like it is for Boolean binary operators.<br>
When two series are used in binary operators, some resolution should be possible in <strong>finalize</strong>.<br>
I would pass the second (right-hand) value by calling <strong>finalize</strong>(self, other=other), leaving the resolution to the derived class implementer, but there might be a smarter approach.</p>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<p dir="auto">pd.show_versions()</p>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 2.7.6.final.0<br>
python-bits: 64<br>
OS: Linux<br>
OS-release: 3.19.0-59-generic<br>
machine: x86_64<br>
processor: x86_64<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: en_US.UTF-8</p>
<p dir="auto">pandas: 0.18.1<br>
nose: 1.3.7<br>
pip: None<br>
setuptools: 20.2.2<br>
Cython: 0.24<br>
numpy: 1.11.0<br>
scipy: 0.17.0<br>
statsmodels: 0.6.1<br>
xarray: None<br>
IPython: 4.0.1<br>
sphinx: 1.3.1<br>
patsy: 0.4.0<br>
dateutil: 2.4.2<br>
pytz: 2015.7<br>
blosc: None<br>
bottleneck: 1.0.0<br>
tables: 3.2.2<br>
numexpr: 2.5.2<br>
matplotlib: 1.5.0<br>
openpyxl: 2.2.6<br>
xlrd: 0.9.4<br>
xlwt: 1.0.0<br>
xlsxwriter: 0.7.7<br>
lxml: 3.4.4<br>
bs4: 4.4.1<br>
html5lib: 0.9999999<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: 1.0.9<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.8<br>
boto: 2.38.0<br>
pandas_datareader: None</p> | 1 |
<p dir="auto"><code class="notranslate">pyplot.stem()</code> does not work when the data contains dates because <code class="notranslate">axes.stem()</code> forces the data to float (</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/matplotlib/matplotlib/blob/998676a8b88790ddb4e9447bdd38cc4ba08d3394/lib/matplotlib/axes/_axes.py#L2285">matplotlib/lib/matplotlib/axes/_axes.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 2285
in
<a data-pjax="true" class="commit-tease-sha" href="/matplotlib/matplotlib/commit/998676a8b88790ddb4e9447bdd38cc4ba08d3394">998676a</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L2285" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="2285"></td>
<td id="LC2285" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>(<span class="pl-s1">args</span>[<span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float</span>) </td>
</tr>
</tbody></table>
</div>
</div>
and <div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/matplotlib/matplotlib/blob/998676a8b88790ddb4e9447bdd38cc4ba08d3394/lib/matplotlib/axes/_axes.py#L2290">matplotlib/lib/matplotlib/axes/_axes.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 2290
in
<a data-pjax="true" class="commit-tease-sha" href="/matplotlib/matplotlib/commit/998676a8b88790ddb4e9447bdd38cc4ba08d3394">998676a</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L2290" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="2290"></td>
<td id="LC2290" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">second</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">asarray</span>(<span class="pl-s1">args</span>[<span class="pl-c1">0</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-s1">float</span>) </td>
</tr>
</tbody></table>
</div>
</div>
).<p></p>
<p dir="auto">Is this really necessary? by removing the conversion to float, plotting dates in the abscissa works, for instance.</p> | <p dir="auto">Hey everyone,</p>
<p dir="auto">I recently updated to MPL 1.3.1 on our group workstation and the stem function does not work anymore with datetime objects as the first argument floating point values on the y axis (same length of course). A similar issue with the same error was reported here two weeks ago:</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/19794225/python-plot-stem-with-datetime-base" rel="nofollow">http://stackoverflow.com/questions/19794225/python-plot-stem-with-datetime-base</a></p>
<p dir="auto">It used to work prior to the update. Do I have to convert the datetime arguments to floats and set the corresponding xlabels manually or will this feature be re-enabled in future releases?</p>
<p dir="auto">Thank you and best regards<br>
Florian</p> | 1 |
<p dir="auto">Error 'IO error: Broken pipe (os error 32)' contains boxed error of unknown type:<br>
Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" })<br>
Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }<br>
error: Uncaught (in promise) Error: IO error: Broken pipe (os error 32): Broken pipe (os error 32)<br>
at async deno:ext/websocket/01_websocket.js:514:13</p>
<p dir="auto">This situation can happen, but maybe there is a better way to handle it than crashing the whole server.</p> | <p dir="auto">[Using Deno 1.28.0]</p>
<p dir="auto">I frequently have the following exception that kills my program:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught (in promise) Error: IO error: Broken pipe (os error 32): Broken pipe (os error 32)
at async deno:ext/websocket/01_websocket.js:507:13"><pre class="notranslate"><code class="notranslate">error: Uncaught (in promise) Error: IO error: Broken pipe (os error 32): Broken pipe (os error 32)
at async deno:ext/websocket/01_websocket.js:507:13
</code></pre></div>
<p dir="auto">I had a look at the source code, and it seems that this set of lines should be included in a try-catch block:</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/denoland/deno/blob/1416713cb3af8a952b1ae9952091706e2540341c/ext/websocket/01_websocket.js#L507">deno/ext/websocket/01_websocket.js</a>
</p>
<p class="mb-0 color-fg-muted">
Line 507
in
<a data-pjax="true" class="commit-tease-sha" href="/denoland/deno/commit/1416713cb3af8a952b1ae9952091706e2540341c">1416713</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L507" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="507"></td>
<td id="LC507" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">await</span> <span class="pl-s1">core</span><span class="pl-kos">.</span><span class="pl-en">opAsync</span><span class="pl-kos">(</span><span class="pl-s">"op_ws_send"</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">[</span><span class="pl-s1">_rid</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="await core.opAsync("op_ws_send", this[_rid], {
kind: "ping",
});"><pre class="notranslate"><code class="notranslate">await core.opAsync("op_ws_send", this[_rid], {
kind: "ping",
});
</code></pre></div> | 1 |
<p dir="auto">Moving a file using the <code class="notranslate">mv</code> command while it is open in atom causes it to show the following error-message.</p>
<p dir="auto"><code class="notranslate">Uncaught TypeError: Cannot call method 'getScreenRow' of undefined /usr/local/share/atom/resources/app/src/editor.js:1311</code></p>
<p dir="auto">Version/Platform:<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/atom/commit/eaeb5b3b13c4627c249f3687a60033ed634c3385/hovercard" href="https://github.com/atom/atom/commit/eaeb5b3b13c4627c249f3687a60033ed634c3385"><tt>eaeb5b3</tt></a><br>
<code class="notranslate">Linux luto-portable 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="echo 1 > a.txt
atom a.txt &
sleep 2s
mv a.txt b.txt"><pre class="notranslate"><code class="notranslate">echo 1 > a.txt
atom a.txt &
sleep 2s
mv a.txt b.txt
</code></pre></div> | <h2 dir="auto">Repro Steps</h2>
<ol dir="auto">
<li>Open Atom</li>
<li>Create file <code class="notranslate">foo.md</code></li>
<li>Highlight file in tree view</li>
<li>Press Delete button</li>
<li>Click "Delete" option (not "Move to Trash")</li>
</ol>
<p dir="auto"><strong>Expected:</strong> No error occurs<br>
<strong>Actual:</strong> Exception happens:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught TypeError: Cannot call method 'getScreenRow' of undefined
/Applications/Atom.app/Contents/Resources/app/src/editor.js:1311"><pre lang="text" class="notranslate"><code class="notranslate">Uncaught TypeError: Cannot call method 'getScreenRow' of undefined
/Applications/Atom.app/Contents/Resources/app/src/editor.js:1311
</code></pre></div> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">remove the explicit type when assigning object<br>
<a href="https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java#L532">https://github.com/apache/dubbo/blob/master/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java#L532</a></p>
<p dir="auto"><a href="https://github.com/apache/dubbo/blob/master/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java#L72">https://github.com/apache/dubbo/blob/master/dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java#L72</a></p>
<p dir="auto">camel case:<br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/apache/dubbo/blob/ba89f44f5aeddd2d06024232a15e355c2e8dc5cd/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java#L299">dubbo/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java</a>
</p>
<p class="mb-0 color-fg-muted">
Line 299
in
<a data-pjax="true" class="commit-tease-sha" href="/apache/dubbo/commit/ba89f44f5aeddd2d06024232a15e355c2e8dc5cd">ba89f44</a>
</p>
</div>
<div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
<table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody><tr class="border-0">
<td id="L299" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="299"></td>
<td id="LC299" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">byte</span> <span class="pl-s1">callbackstatus</span> = <span class="pl-en">isCallBack</span>(<span class="pl-s1">url</span>, <span class="pl-s1">inv</span>.<span class="pl-en">getMethodName</span>(), <span class="pl-s1">paraIndex</span>); </td>
</tr>
</tbody></table>
</div>
</div>
<br>
<code class="notranslate">callbackstatus </code><br>
Pls. provide [GitHub address] to reproduce this issue.<p></p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.5</li>
<li>Operating System version: Red Hat 4.8.5-11</li>
<li>Java version:1.8.0</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>consumer use http protocol</li>
<li>submit a POST request</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">response data</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">report errors</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0]
at "><pre class="notranslate"><code class="notranslate">java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid use of BasicClientConnManager: connection still allocated.
Make sure to release the connection before allocating another one.
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0]
at
</code></pre></div> | 0 |
<p dir="auto">Is there any support to do async validation only when the form field lost focus or it is blur or when the user is done his data entry?<br>
currently validation is happening for each and every character entry, which is not right. I want to call a validation only when the user has completed his input for that particular form field.<br>
I have tried the proposed solutions from this post--<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134140934" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/7113" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/7113/hovercard" href="https://github.com/angular/angular/issues/7113">#7113</a>, but none of them seems working</p>
<p dir="auto"><strong>Current behavior</strong><br>
validation is called for every character entry.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
validation should be called only when the user is done with the input entry</p>
<p dir="auto">password: ['', Validators.compose([Validators.required]),this.customvalidator.validateasync(),{<br>
syncValidateEvent: 'change',<br>
asyncValidateEvent: 'blur'}]</p>
<p dir="auto">is anyone got a solution for this scenario?</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
The upgrade adapter silently fails to bootstrap a hybrid application in the following cases:</p>
<ul dir="auto">
<li>Invalid dependency in angular2 components . See reproduction plunk bellow</li>
<li>Template errors in angular 2 component. See reproduction plunk bellow</li>
</ul>
<p dir="auto"><strong>Expected behavior</strong><br>
Errors should be reported by the upgrade adapter</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ul dir="auto">
<li>
<p dir="auto">This first plunk illustrates the scenario with an invalid dependency being requested by a component:</p>
<p dir="auto"><a href="https://plnkr.co/edit/am6Ggf61dVG7WLvT7aa3?p=preview" rel="nofollow">https://plnkr.co/edit/am6Ggf61dVG7WLvT7aa3?p=preview</a></p>
<p dir="auto">Open the browser's developer tools when you open the plunk and you should see just a message</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
bootstrapping ..."><pre class="notranslate"><code class="notranslate">
bootstrapping ...
</code></pre></div>
<p dir="auto">To fix the bootstrapping issue, comment lines 21 and 22 in src/app.ts</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
// COMMENT ME TO FIX BOOTSTRAPPING ISSUE
constructor(foo:bar){
}"><pre class="notranslate"><code class="notranslate">
// COMMENT ME TO FIX BOOTSTRAPPING ISSUE
constructor(foo:bar){
}
</code></pre></div>
<ul dir="auto">
<li>
<p dir="auto">This second plunk illustrates the scenario with an invalid template being used in an angular 2 component:</p>
<p dir="auto"><a href="https://plnkr.co/edit/pomPcakWVjWLfjVw8qSq?p=preview" rel="nofollow">https://plnkr.co/edit/pomPcakWVjWLfjVw8qSq?p=preview</a></p>
<p dir="auto">Open the browser's developer tools when you open the plunk and you should see just a message</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
bootstrapping ..."><pre class="notranslate"><code class="notranslate">
bootstrapping ...
</code></pre></div>
<p dir="auto">To fix the bootstrapping issue, comment line 14 in src/app.ts</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
<!-- COMMENT ME TO FIX BOOTSTRAPPING ERROR -->
<BAD TEMPLATE div></div>"><pre class="notranslate"><code class="notranslate">
<!-- COMMENT ME TO FIX BOOTSTRAPPING ERROR -->
<BAD TEMPLATE div></div>
</code></pre></div>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong></p>
<p dir="auto">Improve development experience</p>
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.1</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> all</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> TypeScript 2.0.3</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> = N/A</p>
</li>
</ul> | 0 |
<p dir="auto">Run your app on an Android Emulator</p>
<p dir="auto">Type something in a textformfield (which has a validator)<br>
call .clear() on a TextEditingController</p>
<p dir="auto">Type with the on screen keyboard: fine<br>
Type with your computer's keyboard: crash<br>
iOS: fine</p>
<p dir="auto"><code class="notranslate">E/AndroidRuntime(21783): java.lang.IndexOutOfBoundsException: replace (0 ... -1) has end before start E/AndroidRuntime(21783): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1302)</code></p> | <p dir="auto">There is strange situation, when I enter the value for Phone number after completing the above fields then app crashes. All the text fields are right aligned. And keyboardType = TextInputType.text. But for phone number field keyboardType is TextInputType.phone.<br>
If I change the keyboardType: to TextInputType.text then it works fine.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1140343/45113283-5faf4200-b163-11e8-83d7-034799b2354c.jpeg"><img src="https://user-images.githubusercontent.com/1140343/45113283-5faf4200-b163-11e8-83d7-034799b2354c.jpeg" alt="screenshot_2018-09-05-23-19-33-088" style="max-width: 100%;"></a></p>
<p dir="auto">Error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Fatal Exception: java.lang.IndexOutOfBoundsException: replace (0 ... -1) has end before start
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1258)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:515)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:230)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:229)
at io.flutter.plugin.editing.InputConnectionAdaptor.sendKeyEvent(InputConnectionAdaptor.java:163)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:440)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:93)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)"><pre class="notranslate"><code class="notranslate">Fatal Exception: java.lang.IndexOutOfBoundsException: replace (0 ... -1) has end before start
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1258)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:515)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:230)
at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:229)
at io.flutter.plugin.editing.InputConnectionAdaptor.sendKeyEvent(InputConnectionAdaptor.java:163)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:440)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:93)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
</code></pre></div> | 1 |
<p dir="auto">Debugging crashes when adding watch and i get the below message</p>
<p dir="auto"><strong>Assertion failed: object->InternalFieldCount() > 0, file d:\jenkins\workspace\nodejs-msi-julien\d8c2e2bb\src\util-inl.h, line 117</strong></p>
<p dir="auto">Version 0.10.10<br>
Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/5b5f4db87c10345b9d5c8d0bed745bcad4533135/hovercard" href="https://github.com/microsoft/vscode/commit/5b5f4db87c10345b9d5c8d0bed745bcad4533135"><tt>5b5f4db</tt></a></p> | <p dir="auto">When debugging a NodeJS Express.js POST method using Postman (The Chrome app) with babeljs transpiled code this error is thrown:<br>
<code class="notranslate">Assertion failed: object->InternalFieldCount() > 0, file d:\jenkins\workspace\nodejs-msi-julien\d8c2e2bb\src\util-inl.h, line 117</code></p>
<ul dir="auto">
<li>This bug is reproducable over different POST url's.</li>
<li>Developer Tools doesn't say anything.<br>
I'm not allowed to share code but if absolutely necessary I might try and create an isolated use case where it's reproducable...</li>
</ul>
<p dir="auto">How to reproduce:</p>
<ul dir="auto">
<li>Create a NodeJS Express.js server with ES6 syntax and create a POST REST method, and transpile it using npm-babel (<a href="https://www.npmjs.com/package/babel" rel="nofollow">https://www.npmjs.com/package/babel</a>).</li>
<li>Place a breakpoint at the first entry point in your POST function</li>
<li>Using Postman, send a POST request and wait</li>
<li>It should first stop at the breakpoint and shortly after throw the error and exit the debugger.</li>
</ul> | 1 |
<h3 dir="auto">First check</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li>
</ul>
<h3 dir="auto">Description</h3>
<p dir="auto">How can I generate the swagger without starting the service?</p> | <h3 dir="auto">Is your feature request related to a problem</h3>
<p dir="auto">Not a bug, just a problem with my CI system.</p>
<p dir="auto">I want to be able to programmatically access the openapi schema and save it to a file without running the web server</p>
<h3 dir="auto">The solution you would like</h3>
<p dir="auto">Ideally, I'd like to write a script that would output the openapi schema without running the webserver.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from myapp.api import api
json.dump(
get_schema_from_app(api),
open('openapi_schema.json', 'w')
)"><pre class="notranslate"><code class="notranslate">from myapp.api import api
json.dump(
get_schema_from_app(api),
open('openapi_schema.json', 'w')
)
</code></pre></div>
<h3 dir="auto">Describe alternatives you've considered</h3>
<p dir="auto">I've considered running the app in my CICD workflow and requesting the schema via http, but that seems like a lot of overhead, and I'd bet the functions to do what I want are already in the code and just need to be invoked in the right order.</p>
<h3 dir="auto">Additional context</h3>
<p dir="auto">Nothing to add, other than I'm gonna open a PR and see if I can figure it out.</p> | 1 |
<p dir="auto">Because of the privileges control of the server,<br>
The Status Code that is sometimes returned is 401<br>
When I tried to process Status Code, I triggered an exception directly.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26639880/39346040-af7cf77a-4a1e-11e8-988a-bd654dc3218f.png"><img src="https://user-images.githubusercontent.com/26639880/39346040-af7cf77a-4a1e-11e8-988a-bd654dc3218f.png" alt="qq 20180427132351" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26639880/39346141-33446296-4a1f-11e8-9fcf-71f3e821530a.png"><img src="https://user-images.githubusercontent.com/26639880/39346141-33446296-4a1f-11e8-9fcf-71f3e821530a.png" alt="qq 20180427133031" style="max-width: 100%;"></a></p> | <p dir="auto">Hello All,</p>
<p dir="auto">We are working on react-redux client application where axios library used for any XHR request. Sometimes backend service (Spring Boot REST endpoint) returns 4xx/5xx series HTTP response code. While we are trying to catch response status code from error object, found it is not available. Is there anyway HTTP response code can be extracted during error scenarios. We are using axios version 0.15.2.</p>
<p dir="auto">Look forward to hear back from community.</p>
<p dir="auto">Thanks</p>
<p dir="auto">Context</p>
<ul dir="auto">
<li>axios version: <em>e.g.: v0.15.2</em> or v0.16.2</li>
<li>Environment: <em>e.g.: node v6.9.4, chrome 54, windows 7</em></li>
</ul> | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a = Array(Array{Float64,1},2)
a[1] = [1.;2.;3.]
a[2] = [3.;4.;5.]
broadcast(*,[2.;3.],a)"><pre class="notranslate"><code class="notranslate">a = Array(Array{Float64,1},2)
a[1] = [1.;2.;3.]
a[2] = [3.;4.;5.]
broadcast(*,[2.;3.],a)
</code></pre></div>
<p dir="auto">gives</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2-element Array{Any,1}:
[2.0,4.0,6.0]
[9.0,12.0,15.0]"><pre class="notranslate"><code class="notranslate">2-element Array{Any,1}:
[2.0,4.0,6.0]
[9.0,12.0,15.0]
</code></pre></div>
<p dir="auto">I would have expected an <code class="notranslate">Array{Array{Float64,1},1}</code>.</p> | <p dir="auto">The following code fails with an <code class="notranslate">InexactError()</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="X = [1,2,3]
Y = [4 5]
broadcast(atan2, X, Y)"><pre class="notranslate"><code class="notranslate">X = [1,2,3]
Y = [4 5]
broadcast(atan2, X, Y)
</code></pre></div>
<p dir="auto">whereas</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[atan2(x,y) for x in X, y in Y ]"><pre class="notranslate"><code class="notranslate">[atan2(x,y) for x in X, y in Y ]
</code></pre></div>
<p dir="auto">(albeit producing an array of type <code class="notranslate">Any</code>), while</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="atan2([1,2,3],[4,5,6])"><pre class="notranslate"><code class="notranslate">atan2([1,2,3],[4,5,6])
</code></pre></div>
<p dir="auto">produces an array of <code class="notranslate">Float64</code>.</p>
<p dir="auto">Can we improve the type inference so that all three cases can generate <code class="notranslate">Float64</code> arrays? Note that this is needed for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="20043830" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/4363" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/4363/hovercard" href="https://github.com/JuliaLang/julia/issues/4363">#4363</a> (for <code class="notranslate">@vectorize_2arg</code> to use <code class="notranslate">broadcast</code>).</p> | 1 |
<p dir="auto">In this case, picture is worth 1000 words:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3394202/33049327-275cc750-ce25-11e7-8936-153e4a5acc1b.png"><img width="989" alt="nextjs-css-bug" src="https://user-images.githubusercontent.com/3394202/33049327-275cc750-ce25-11e7-8936-153e4a5acc1b.png" style="max-width: 100%;"></a></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<ul dir="auto">
<li>Data urls should be left unmodified</li>
</ul>
<h2 dir="auto">Current Behavior</h2>
<ul dir="auto">
<li><code class="notranslate">filter: url('data:image/svg+xml;...</code> gets mangled into <code class="notranslate">filter: url("http://localhost:3000//'data:image/svg+xml;...</code></li>
</ul>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Clone <a href="https://github.com/agurtovoy/nextjs-css-substitution-bug">https://github.com/agurtovoy/nextjs-css-substitution-bug</a></li>
<li><code class="notranslate">npm install</code></li>
<li><code class="notranslate">npm dev</code></li>
<li>Open <a href="http://localhost:3000/" rel="nofollow">http://localhost:3000/</a> in Firefox, go to dev console's Style Editor tab, select "Show original sources" option to see the compiled CSS:</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3394202/33049500-0ba9afea-ce26-11e7-83eb-3e27bb3f3fc7.png"><img width="886" alt="screen shot 2017-11-20 at 7 06 37 pm" src="https://user-images.githubusercontent.com/3394202/33049500-0ba9afea-ce26-11e7-83eb-3e27bb3f3fc7.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">Note that <strong>the issue has more severe impact in production</strong>: a side-effect of this bug is that the browser ignores the rest of the CSS line in question due to unmatched <code class="notranslate">"</code>; because in production the CSS is likely to be minimized into a single line of text, that means that all styles following the <code class="notranslate">filter: drop-shadow</code> property will be silently ignored.</p>
<p dir="auto">You can see that effect in the repo with the reproduce: if you do <code class="notranslate">npm build && npm start</code>, you'll see that the "Hello" text loses its red styling.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>4.1.4</td>
</tr>
<tr>
<td>node</td>
<td>v6.11.1</td>
</tr>
<tr>
<td>OS</td>
<td>macOS</td>
</tr>
<tr>
<td>browser</td>
<td>any</td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">We use semantic-ui for our styling. I have tried the latest 5.0.1-canary17 and the problem is also there.</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When simply upgrading from 5.0.0 to 5.0.1-canary.1 I expect the CSS to be the same</p>
<p dir="auto">This is a screenshot with 5.0.0<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3585707/37816745-7a817ffc-2e74-11e8-9188-838a3d6a55cd.png"><img src="https://user-images.githubusercontent.com/3585707/37816745-7a817ffc-2e74-11e8-9188-838a3d6a55cd.png" alt="syjzry15z-screen5 0 0" style="max-width: 100%;"></a></p>
<p dir="auto">This is a screenshot with 5.0.1-canary.1<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3585707/37816735-73e9c168-2e74-11e8-9707-073bf7023ef2.png"><img src="https://user-images.githubusercontent.com/3585707/37816735-73e9c168-2e74-11e8-9707-073bf7023ef2.png" alt="r1e1whty5z-screen5 0 1 canary1" style="max-width: 100%;"></a><br>
I have made a small project where the problem can be seen. The repo can be found here -></p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The layout is rendered as we think it should look</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="git clone https://github.com/LarsBuur/test-semantic-ui-next-canary.git
cd test-semantic-ui-next-canary
npm install && npm run build && npm start"><pre class="notranslate"><code class="notranslate">git clone https://github.com/LarsBuur/test-semantic-ui-next-canary.git
cd test-semantic-ui-next-canary
npm install && npm run build && npm start
</code></pre></div>
<ol start="2" dir="auto">
<li>
<p dir="auto">open <a href="http://localhost:3000" rel="nofollow">http://localhost:3000</a></p>
</li>
<li>
<p dir="auto">confirm the layout renders with padding around black area</p>
</li>
<li>
<p dir="auto">change "next": "^5.0.0" to "next": "^5.0.1-canary.1" in package.json</p>
</li>
<li></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm run clean && npm install && npm run build && npm start"><pre class="notranslate"><code class="notranslate">npm run clean && npm install && npm run build && npm start
</code></pre></div>
<ol start="5" dir="auto">
<li>open <a href="http://localhost:3000" rel="nofollow">http://localhost:3000</a></li>
<li>confirm that the layout renders without padding around the black area</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">Build a next app with custom server for our endpoints.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>5.0.0</td>
</tr>
<tr>
<td>node</td>
<td>v.9.0.0</td>
</tr>
<tr>
<td>OS</td>
<td>OSX 10.13.4 Beta (17E182a)</td>
</tr>
<tr>
<td>browser</td>
<td>Google Chrome 65.0.3325.162 (Officiel version) (64-bit)</td>
</tr>
</tbody>
</table>
<p dir="auto">|<br>
-- | --</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="➜ src git clone git://github.com/symfony/symfony.git
Cloning into 'symfony'...
remote: Counting objects: 144068, done.
remote: Compressing objects: 100% (44515/44515), done.
remote: Total 144068 (delta 91155), reused 135518 (delta 83912)
Receiving objects: 100% (144068/144068), 22.84 MiB | 837 KiB/s, done.
Resolving deltas: 100% (91155/91155), done.
➜ src cd symfony
➜ symfony git:(master) composer install
Installing dependencies
- Installing doctrine/common (2.3.x-dev)
Cloning 605b1b8b5a7bc8daf9111fb35483e5708e30de35
- Installing twig/twig (dev-master)
Cloning 459720ff3b74ee0c0d159277c6f2f5df89d8a4f6
Writing lock file
Generating autoload files
➜ symfony git:(master) phpunit
Warning: require_once(/usr/local/src/symfony/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php): failed to open stream: No such file or directory in /usr/local/src/symfony/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 59
Call Stack:
0.0002 274896 1. {main}() /usr/local/src/phpunit/phpunit.php:0
0.0254 2845976 2. PHPUnit_TextUI_Command::main() /usr/local/src/phpunit/phpunit.php:46
0.0254 2846568 3. PHPUnit_TextUI_Command->run() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:130
0.0254 2847120 4. PHPUnit_TextUI_Command->handleArguments() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:139
0.0312 3242512 5. PHPUnit_TextUI_Command->handleBootstrap() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:615
0.0314 3252840 6. PHPUnit_Util_Fileloader::checkAndLoad() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:787
0.0314 3253224 7. PHPUnit_Util_Fileloader::load() /usr/local/src/phpunit/PHPUnit/Util/Fileloader.php:77
0.0315 3260656 8. include_once('/usr/local/src/symfony/autoload.php.dist') /usr/local/src/phpunit/PHPUnit/Util/Fileloader.php:93
0.0330 3385496 9. Doctrine\Common\Annotations\AnnotationRegistry::registerFile() /usr/local/src/symfony/autoload.php.dist:17"><pre class="notranslate"><code class="notranslate">➜ src git clone git://github.com/symfony/symfony.git
Cloning into 'symfony'...
remote: Counting objects: 144068, done.
remote: Compressing objects: 100% (44515/44515), done.
remote: Total 144068 (delta 91155), reused 135518 (delta 83912)
Receiving objects: 100% (144068/144068), 22.84 MiB | 837 KiB/s, done.
Resolving deltas: 100% (91155/91155), done.
➜ src cd symfony
➜ symfony git:(master) composer install
Installing dependencies
- Installing doctrine/common (2.3.x-dev)
Cloning 605b1b8b5a7bc8daf9111fb35483e5708e30de35
- Installing twig/twig (dev-master)
Cloning 459720ff3b74ee0c0d159277c6f2f5df89d8a4f6
Writing lock file
Generating autoload files
➜ symfony git:(master) phpunit
Warning: require_once(/usr/local/src/symfony/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php): failed to open stream: No such file or directory in /usr/local/src/symfony/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationRegistry.php on line 59
Call Stack:
0.0002 274896 1. {main}() /usr/local/src/phpunit/phpunit.php:0
0.0254 2845976 2. PHPUnit_TextUI_Command::main() /usr/local/src/phpunit/phpunit.php:46
0.0254 2846568 3. PHPUnit_TextUI_Command->run() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:130
0.0254 2847120 4. PHPUnit_TextUI_Command->handleArguments() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:139
0.0312 3242512 5. PHPUnit_TextUI_Command->handleBootstrap() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:615
0.0314 3252840 6. PHPUnit_Util_Fileloader::checkAndLoad() /usr/local/src/phpunit/PHPUnit/TextUI/Command.php:787
0.0314 3253224 7. PHPUnit_Util_Fileloader::load() /usr/local/src/phpunit/PHPUnit/Util/Fileloader.php:77
0.0315 3260656 8. include_once('/usr/local/src/symfony/autoload.php.dist') /usr/local/src/phpunit/PHPUnit/Util/Fileloader.php:93
0.0330 3385496 9. Doctrine\Common\Annotations\AnnotationRegistry::registerFile() /usr/local/src/symfony/autoload.php.dist:17
</code></pre></div> | <table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>4.0.8</td>
</tr>
</tbody>
</table>
<p dir="auto">Hi,</p>
<p dir="auto">I'd like to jump on the Symfony 4 bandwagon but I'm usure how a Command can use env vars when it's part of a website project.</p>
<p dir="auto">The symfony documentation recommends to define the necessary env vars <a href="https://symfony.com/doc/current/configuration/external_parameters.html#configuration-env-var-in-prod" rel="nofollow">in the web server</a>. In my case, that would be in the virtual host configuration file for apache2. So far,</p>
<p dir="auto">For example, let's say i define a <code class="notranslate">DATABASE_URL</code> var that is used by Doctrine to connect to my database. This works fine for my app when I access the website.</p>
<p dir="auto">Let's say I need a Command to be executed periodically (using <code class="notranslate">cron</code> the server) to compute and save some new data, based on the data currently stored in the database. My Command would need to access the database but it won't be launched from the web server, so the virtual host config file won't set the environment variables.</p>
<p dir="auto">I could put everything I need in an <code class="notranslate">.env</code> file, install <code class="notranslate">symfony/dotenv</code> in prod but :</p>
<ul dir="auto">
<li>that would go against the good practice recommended by Symfony :
<blockquote>
<p dir="auto">In production, it is recommended to configure the environment variables in your web server configuration.<br>
<a href="https://symfony.com/doc/current/configuration/environments.html#executing-an-application-in-different-environments" rel="nofollow">https://symfony.com/doc/current/configuration/environments.html#executing-an-application-in-different-environments</a></p>
</blockquote>
</li>
<li>I would have duplicated the same content across 2 files, which is a pain to maintain</li>
</ul>
<p dir="auto"><strong>Is there a way to keep within the best practices and not duplicate my config ?</strong></p> | 0 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown & rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<p dir="auto"><strong>Celery version</strong>:</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Messages printed only one time from the worker.</p>
<h1 dir="auto">Actual Behavior</h1>
<blockquote>
<p dir="auto">2020-11-23 17:33:17:rasterprediction.predictor: DEBUG - _get_predict_package_path - Read config file: pesi/config_pesi.json<br>
[2020-11-23 17:33:17,225: DEBUG/ForkPoolWorker-1] _get_predict_package_path - Read config file: pesi/config_pesi.json<br>
2020-11-23 17:33:17:rasterprediction.predictor: DEBUG - Trying to retrieve predict package URI for task: TaskTypology.semantic_segmentation, and object: ObjectClass.building<br>
[2020-11-23 17:33:17,226: DEBUG/ForkPoolWorker-1] Trying to retrieve predict package URI for task: TaskTypology.semantic_segmentation, and object: ObjectClass.building<br>
2020-11-23 17:33:17:rasterprediction.predictor: DEBUG - Collected predict package URI: /var/www/django_projects/earthalytics-api/pesi/buildings_segmentation<br>
[2020-11-23 17:33:17,226: DEBUG/ForkPoolWorker-1] Collected predict package URI: /var/www/django_projects/earthalytics-api/pesi/buildings_segmentation</p>
</blockquote> | <h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22Category%3A+Documentation%22+">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues in this issue<br>
(If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>
<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Description</h1>
<p dir="auto">The documentation <a href="https://docs.celeryproject.org/en/latest/history/whatsnew-4.0.html#latentcall-django-admonition" rel="nofollow">https://docs.celeryproject.org/en/latest/history/whatsnew-4.0.html#latentcall-django-admonition</a> is inconsistent when it comes to -*-_DB_SHORT_LIVED_SESSIONS.</p>
<p dir="auto">I can't find guidance about what does -*- represents and what should be the final name on that setting.</p>
<p dir="auto">I have tried CELERY_DEFAULT_DB_SHORT_LIVED_SESSIONS but the 2006 MySQL problem is supposed to fix continues to happen so I assume the setting is wrong. We need a clearer doc on how to use that setting.</p>
<h1 dir="auto">Suggestions</h1>
<p dir="auto">Give an example on how the configuration should look in a Django file and explain what -*- represents. Also, I have seen it as [...] in other places so it should be consistent unless it's meant to be intentionally different.</p> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.