text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">I'm using the latest matplotlib and pandas. If you run the following code, do the legends look right to you? The unit tests don't like them.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = DataFrame(
np.random.rand(10, 3),
index=list(string.ascii_letters[:10]))
df.plot(kind='area', subplots=True, sharex=True, legend=True)"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>(
<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">rand</span>(<span class="pl-c1">10</span>, <span class="pl-c1">3</span>),
<span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-en">list</span>(<span class="pl-s1">string</span>.<span class="pl-s1">ascii_letters</span>[:<span class="pl-c1">10</span>]))
<span class="pl-s1">df</span>.<span class="pl-en">plot</span>(<span class="pl-s1">kind</span><span class="pl-c1">=</span><span class="pl-s">'area'</span>, <span class="pl-s1">subplots</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">legend</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</pre></div> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Setup
import pandas as pd
dates = pd.to_datetime(range(1,300), unit='D', origin=pd.Timestamp('2000-01-01'))
se = pd.Series(range(1,300),dates)
df = pd.DataFrame(se).reset_index()
# The problem:
>>> df
index 0
0 2000-01-02 1
1 2000-01-03 2
2 2000-01-04 3
3 2000-01-05 4
4 2000-01-06 5
5 2000-01-07 6
.. ... ...
294 2000-10-22 295
295 2000-10-23 296
296 2000-10-24 297
297 2000-10-25 298
298 2000-10-26 299
[299 rows x 2 columns]
>>> pd.Series(df['index'], index = df[0])
0
1 2000-01-03
2 2000-01-04
3 2000-01-05
4 2000-01-06
5 2000-01-07
...
295 2000-10-23
296 2000-10-24
297 2000-10-25
298 2000-10-26
299 NaT
Name: index, Length: 299, dtype: datetime64[ns]"><pre class="notranslate"><span class="pl-c"># Setup</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">dates</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-en">range</span>(<span class="pl-c1">1</span>,<span class="pl-c1">300</span>), <span class="pl-s1">unit</span><span class="pl-c1">=</span><span class="pl-s">'D'</span>, <span class="pl-s1">origin</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-v">Timestamp</span>(<span class="pl-s">'2000-01-01'</span>))
<span class="pl-s1">se</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">1</span>,<span class="pl-c1">300</span>),<span class="pl-s1">dates</span>)
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">se</span>).<span class="pl-en">reset_index</span>()
<span class="pl-c"># The problem:</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span>
<span class="pl-s1">index</span> <span class="pl-c1">0</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">02</span> <span class="pl-c1">1</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">03</span> <span class="pl-c1">2</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">04</span> <span class="pl-c1">3</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">05</span> <span class="pl-c1">4</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">06</span> <span class="pl-c1">5</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">07</span> <span class="pl-c1">6</span>
.. ... ...
<span class="pl-c1">294</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">22</span> <span class="pl-c1">295</span>
<span class="pl-c1">295</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">23</span> <span class="pl-c1">296</span>
<span class="pl-c1">296</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">24</span> <span class="pl-c1">297</span>
<span class="pl-c1">297</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">25</span> <span class="pl-c1">298</span>
<span class="pl-c1">298</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">26</span> <span class="pl-c1">299</span>
[<span class="pl-c1">299</span> <span class="pl-s1">rows</span> <span class="pl-s1">x</span> <span class="pl-c1">2</span> <span class="pl-s1">columns</span>]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pd</span>.<span class="pl-v">Series</span>(<span class="pl-s1">df</span>[<span class="pl-s">'index'</span>], <span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>[<span class="pl-c1">0</span>])
<span class="pl-c1">0</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">03</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">04</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">05</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">06</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">07</span>
...
<span class="pl-c1">295</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">23</span>
<span class="pl-c1">296</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">24</span>
<span class="pl-c1">297</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">25</span>
<span class="pl-c1">298</span> <span class="pl-c1">2000</span><span class="pl-c1">-</span><span class="pl-c1">10</span><span class="pl-c1">-</span><span class="pl-c1">26</span>
<span class="pl-c1">299</span> <span class="pl-v">NaT</span>
<span class="pl-v">Name</span>: <span class="pl-s1">index</span>, <span class="pl-v">Length</span>: <span class="pl-c1">299</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">datetime64</span>[<span class="pl-s1">ns</span>]</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">The commands above should not generate any NaT.</p>
<p dir="auto">In a real life case, I tried to do the same thing with 56355 rows and had 53913 NaT at the end.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">No NaT<br>
My current work around is: <code class="notranslate">df.set_index('0')</code></p>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
>>> pd.show_versions()
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 3.6.1.final.0<br>
python-bits: 64<br>
OS: Darwin<br>
OS-release: 16.6.0<br>
machine: x86_64<br>
processor: i386<br>
byteorder: little<br>
LC_ALL: en_US.UTF-8<br>
LANG: en_US.UTF-8<br>
LOCALE: en_US.UTF-8</p>
<p dir="auto">pandas: 0.20.2<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 28.8.0<br>
Cython: None<br>
numpy: 1.13.0<br>
scipy: 0.19.0<br>
xarray: None<br>
IPython: 6.0.0<br>
sphinx: None<br>
patsy: 0.4.1<br>
dateutil: 2.6.0<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: 2.0.2<br>
openpyxl: 2.4.8<br>
xlrd: 1.0.0<br>
xlwt: None<br>
xlsxwriter: 0.9.6<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>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | 0 |
<h4 dir="auto">Code to reproduce:</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="passes1 = '''<html>
<head>
<title>test</title>
</head>
<body>
<table>
<tr>
<td>a</td>
</tr>
</table>
<table>
<tr>
<td>b</td>
</tr>
</table>
<table>
<td>c</td>
</tr>
</table>
</body>
</html>'''
passes2 = '''<html>
<head>
<title>test</title>
</head>
<body>
<table>
<td>a</td>
</tr>
</table>
<table>
<tr>
<td>a</td>
</tr>
</table>
<table>
<tr>
<td>b</td>
</tr>
</table>
</body>
</html>'''
fails1 = '''<html>
<head>
<title>test</title>
</head>
<body>
<table>
<tr>
<td>a</td>
</tr>
</table>
<table>
<tr>
<td>a</td>
</tr>
</table>
<table>
<td>b</td>
</tr>
</table>
</body>
</html>'''
fails2 = '''<html>
<head>
<title>test</title>
</head>
<body>
<table>
<td>a</td>
</tr>
</table>
<table>
<td>a</td>
</tr>
</table>
<table>
<tr>
<td>b</td>
</tr>
</table>
</body>
</html>'''
import pandas as pd
df_passes1 = pd.read_html(passes1, flavor='bs4')
print("passes1", df_passes1)
df_passes2 = pd.read_html(passes2, flavor='bs4')
print("passes2", df_passes2)
df_fails1 = pd.read_html(fails1, flavor='bs4')
print("fails1", df_fails1)
df_fails2 = pd.read_html(fails2, flavor='bs4')
print("fails2", df_fails2)"><pre class="notranslate"><span class="pl-s1">passes1</span> <span class="pl-c1">=</span> <span class="pl-s">'''<html></span>
<span class="pl-s"><head></span>
<span class="pl-s"><title>test</title></span>
<span class="pl-s"></head></span>
<span class="pl-s"><body></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>b</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <td>c</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"></body></span>
<span class="pl-s"></html>'''</span>
<span class="pl-s1">passes2</span> <span class="pl-c1">=</span> <span class="pl-s">'''<html></span>
<span class="pl-s"><head></span>
<span class="pl-s"><title>test</title></span>
<span class="pl-s"></head></span>
<span class="pl-s"><body></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>b</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"></body></span>
<span class="pl-s"></html>'''</span>
<span class="pl-s1">fails1</span> <span class="pl-c1">=</span> <span class="pl-s">'''<html></span>
<span class="pl-s"><head></span>
<span class="pl-s"><title>test</title></span>
<span class="pl-s"></head></span>
<span class="pl-s"><body></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <td>b</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"></body></span>
<span class="pl-s"></html>'''</span>
<span class="pl-s1">fails2</span> <span class="pl-c1">=</span> <span class="pl-s">'''<html></span>
<span class="pl-s"><head></span>
<span class="pl-s"><title>test</title></span>
<span class="pl-s"></head></span>
<span class="pl-s"><body></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <td>a</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"> <table></span>
<span class="pl-s"> <tr></span>
<span class="pl-s"> <td>b</td></span>
<span class="pl-s"> </tr></span>
<span class="pl-s"> </table></span>
<span class="pl-s"></body></span>
<span class="pl-s"></html>'''</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">df_passes1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_html</span>(<span class="pl-s1">passes1</span>, <span class="pl-s1">flavor</span><span class="pl-c1">=</span><span class="pl-s">'bs4'</span>)
<span class="pl-en">print</span>(<span class="pl-s">"passes1"</span>, <span class="pl-s1">df_passes1</span>)
<span class="pl-s1">df_passes2</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_html</span>(<span class="pl-s1">passes2</span>, <span class="pl-s1">flavor</span><span class="pl-c1">=</span><span class="pl-s">'bs4'</span>)
<span class="pl-en">print</span>(<span class="pl-s">"passes2"</span>, <span class="pl-s1">df_passes2</span>)
<span class="pl-s1">df_fails1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_html</span>(<span class="pl-s1">fails1</span>, <span class="pl-s1">flavor</span><span class="pl-c1">=</span><span class="pl-s">'bs4'</span>)
<span class="pl-en">print</span>(<span class="pl-s">"fails1"</span>, <span class="pl-s1">df_fails1</span>)
<span class="pl-s1">df_fails2</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_html</span>(<span class="pl-s1">fails2</span>, <span class="pl-s1">flavor</span><span class="pl-c1">=</span><span class="pl-s">'bs4'</span>)
<span class="pl-en">print</span>(<span class="pl-s">"fails2"</span>, <span class="pl-s1">df_fails2</span>)</pre></div>
<h4 dir="auto">Output:</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="passes1 [ 0
0 a, 0
0 b, 0
0 c]
passes2 [ 0
0 a, 0
0 a, 0
0 b]
fails1 [ 0
0 a, 0
0 b]
fails2 [ 0
0 a, 0
0 b]"><pre class="notranslate"><span class="pl-s1">passes1</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">c</span>]
<span class="pl-s1">passes2</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]
<span class="pl-s1">fails1</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]
<span class="pl-s1">fails2</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]</pre></div>
<h4 dir="auto">Problem description:</h4>
<p dir="auto">Each of the html examples contain one or more missing <code class="notranslate"><tr></code> tags. When identical tables and missing <code class="notranslate"><tr></code> tag(s) are present in html, <code class="notranslate">read_table()</code> with bs4 and html5lib flavors produce inconsistent results. This results in duplicate tables getting dropped from the created dataframe as seen in fails1 and fails2. I expect their dataframe produced to be the same as passes2.</p>
<h4 dir="auto">Expected Output:</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="passes1 [ 0
0 a, 0
0 b, 0
0 c]
passes2 [ 0
0 a, 0
0 a, 0
0 b]
fails1 [ 0
0 a, 0
0 a, 0
0 b]
fails2 [ 0
0 a, 0
0 a, 0
0 b]"><pre class="notranslate"><span class="pl-s1">passes1</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">c</span>]
<span class="pl-s1">passes2</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]
<span class="pl-s1">fails1</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]
<span class="pl-s1">fails2</span> [ <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">a</span>, <span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-s1">b</span>]</pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<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.1.final.0
python-bits: 64
OS: Darwin
OS-release: 16.7.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.20.3
pytest: None
pip: 9.0.1
setuptools: 36.2.7
Cython: None
numpy: 1.13.1
scipy: None
xarray: None
IPython: None
sphinx: None
patsy: None
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: None
lxml: 3.8.0
bs4: 4.6.0
html5lib: 0.999999999
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
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">1.</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">Darwin</span>
<span class="pl-v">OS</span><span class="pl-c1">-</span><span class="pl-s1">release</span>: <span class="pl-c1">16.7</span><span class="pl-c1">.0</span>
<span class="pl-s1">machine</span>: <span class="pl-s1">x86_64</span>
<span class="pl-s1">processor</span>: <span class="pl-s1">i386</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">en_US</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">en_US</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">None</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">7</span>
<span class="pl-v">Cython</span>: <span class="pl-c1">None</span>
<span class="pl-s1">numpy</span>: <span class="pl-c1">1.13</span>.<span class="pl-c1">1</span>
<span class="pl-s1">scipy</span>: <span class="pl-c1">None</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">None</span>
<span class="pl-s1">patsy</span>: <span class="pl-c1">None</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">None</span>
<span class="pl-s1">lxml</span>: <span class="pl-c1">3.8</span>.<span class="pl-c1">0</span>
<span class="pl-s1">bs4</span>: <span class="pl-c1">4.6</span>.<span class="pl-c1">0</span>
<span class="pl-s1">html5lib</span>: <span class="pl-c1">0.999999999</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">None</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">related <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="26262883" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6066" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6066/hovercard" href="https://github.com/pandas-dev/pandas/issues/6066">#6066</a> (on Float64Index too)</p>
<p dir="auto">The 'KeyError' on slicing was discussed multiple times but I'm still not sure if the issue below is a bug or just my misunderstanding.</p>
<p dir="auto">I'm experiencing 'KeyError' from time to time when I try to slice my dataframes with datetime or Timestamp objects, however slicing with strings works perfectly. I was unable to construct synthetic example with pandas.date_range, so I needed to upload the piece of real data where the issue appears:<br>
<a href="https://www.dropbox.com/s/ibzbwqs35tiydyc/tmp.h5" rel="nofollow">https://www.dropbox.com/s/ibzbwqs35tiydyc/tmp.h5</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df = pd.read_hdf('tmp.h5', 'data')
print df.head()"><pre class="notranslate"><code class="notranslate">df = pd.read_hdf('tmp.h5', 'data')
print df.head()
</code></pre></div>
<p dir="auto">When I try to slice it with the pandas.Timestamp objects it results in 'KeyError':</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tt1 = pd.Timestamp('2006-11-16 18:30:00')
tt2 = pd.Timestamp('2006-11-16 18:40:00')
print df.ix[tt1:tt2].head()"><pre class="notranslate"><code class="notranslate">tt1 = pd.Timestamp('2006-11-16 18:30:00')
tt2 = pd.Timestamp('2006-11-16 18:40:00')
print df.ix[tt1:tt2].head()
</code></pre></div>
<p dir="auto">Same for datetime objects:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tt1 = pd.Timestamp('2006-11-16 18:30:00').to_datetime()
tt2 = pd.Timestamp('2006-11-16 18:40:00').to_datetime()
print df.ix[tt1:tt2].head()"><pre class="notranslate"><code class="notranslate">tt1 = pd.Timestamp('2006-11-16 18:30:00').to_datetime()
tt2 = pd.Timestamp('2006-11-16 18:40:00').to_datetime()
print df.ix[tt1:tt2].head()
</code></pre></div>
<p dir="auto">However this slicing works perfectly:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tt1 = pd.Timestamp('2006-11-16 18:30:00').strftime('%Y-%m-%d %H:%M:%S')
tt2 = pd.Timestamp('2006-11-16 18:40:00').strftime('%Y-%m-%d %H:%M:%S')
print df[tt1:tt2].head()"><pre class="notranslate"><code class="notranslate">tt1 = pd.Timestamp('2006-11-16 18:30:00').strftime('%Y-%m-%d %H:%M:%S')
tt2 = pd.Timestamp('2006-11-16 18:40:00').strftime('%Y-%m-%d %H:%M:%S')
print df[tt1:tt2].head()
</code></pre></div>
<p dir="auto">Numpy version 1.8.0<br>
Pandas version 0.13.0</p> | 0 |
<p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>Start profile recording</li>
<li>Click once a component (some components will hide)</li>
<li>Stop profile recording</li>
<li>Click "Ranked" tab</li>
</ol>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.2.1-3816ae7c3</p>
<p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157108<br>
at Map.forEach ()<br>
at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157054)<br>
at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:157577)<br>
at vl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:314907)<br>
at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59907)<br>
at jl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107381)<br>
at Lc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92715)<br>
at Pc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:92640)<br>
at wc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:89544)</p>
<p dir="auto">Component stack: in vl<br>
in div<br>
in div<br>
in div<br>
in wo<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Li<br>
in $e<br>
in dn<br>
in Ca<br>
in Pc</p> | <p dir="auto">Why is the value of the <code class="notranslate">key</code>-attribute unavailable in <code class="notranslate">props</code>?</p>
<p dir="auto">I'm experimenting with state management abstractions, and I wanted to make <code class="notranslate">key</code> required and use the value as the key to a state container - something along the lines of this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<Provider store={store} key="count">
{count => <h1>Count: {count}</h1>}
</Provider>"><pre class="notranslate"><span class="pl-c1"><</span><span class="pl-ent">Provider</span> <span class="pl-c1">store</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">store</span><span class="pl-kos">}</span> <span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-s">"count"</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">count</span> <span class="pl-c1">=></span> <span class="pl-c1"><</span><span class="pl-ent">h1</span><span class="pl-c1">></span>Count: <span class="pl-kos">{</span><span class="pl-s1">count</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h1</span><span class="pl-c1">></span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Provider</span><span class="pl-c1">></span></pre></div>
<p dir="auto">This would be meaningful, because the <code class="notranslate">Provider</code> instance can't actually be reused if the key to the store changes, at least not without adding extra complexity.</p>
<p dir="auto">Currently, my only recourse is to duplicate this value with a different name:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<Provider store={store} key="count" storeKey="count">
{count => <h1>Count: {count}</h1>}
</Provider>"><pre class="notranslate"><span class="pl-c1"><</span><span class="pl-ent">Provider</span> <span class="pl-c1">store</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">store</span><span class="pl-kos">}</span> <span class="pl-c1">key</span><span class="pl-c1">=</span><span class="pl-s">"count"</span> <span class="pl-c1">storeKey</span><span class="pl-c1">=</span><span class="pl-s">"count"</span><span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">count</span> <span class="pl-c1">=></span> <span class="pl-c1"><</span><span class="pl-ent">h1</span><span class="pl-c1">></span>Count: <span class="pl-kos">{</span><span class="pl-s1">count</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">h1</span><span class="pl-c1">></span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Provider</span><span class="pl-c1">></span></pre></div>
<p dir="auto">This is rather inelegant and errorprone.</p>
<p dir="auto"><code class="notranslate">key</code> is a prop, so I'd expect it to exist in <code class="notranslate">props</code>.</p>
<p dir="auto">Why this seemingly arbitrary restriction?</p> | 0 |
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</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):</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
<li><strong>Install tools</strong>:</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">When we call the main function app.Run(s),at the beginning, we get the 'genericConfig' by "genericConfig := genericapiserver.NewConfig(). // create the new config<br>
ApplyOptions(s.ServerRunOptions). // apply the options selected<br>
Complete() "<br>
here we call the function "(c *Config) Complete()", and then,we get the struct master by "m, err := config.Complete().New()",in the function config.Complete(),we also call "c.GenericConfig.Complete()".<br>
Maybe we could remove the latter one, is my understanding right?</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">we call the function "(c *Config) Complete()" once</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | <p dir="auto">Mesos 1.0.0 has already support use docker images without docker daemon. I think it is an attractive feature for kubelet.</p> | 0 |
<p dir="auto">Hi<br>
I have global action mapped for shortcut: Alt+Shift+c<br>
The problem is that action is also executed when I press Alt+Shift+Control+c<br>
regards<br>
Martin</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">It would be great to get a <strong>previsualization</strong>, at least the the cover page, of <strong>epub</strong> files in the <strong>File Explorer</strong> PowerToys</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">I am not a developer, I would pick up the cover page image from the epub structure, but I don't know if it is feasible and if it fits to the PowerToy</p> | 0 |
<p dir="auto">Since 0.193 (last working version) the debian package is broken, or better: the atom editor which is installed via the package is broken.</p>
<p dir="auto">In X > 0.193 the editor starts per defaults with the chromium dev tools open (see attached screenshot). The following snipplets are from the latest git build (latest commit: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/atom/atom/commit/bc0e5ad4c33c1a72470680b3478715513b6c0b46/hovercard" href="https://github.com/atom/atom/commit/bc0e5ad4c33c1a72470680b3478715513b6c0b46"><tt>bc0e5ad</tt></a>). The console states the following error/warning:</p>
<p dir="auto">Error: Cannot find module '../build/Release/scrollbar-style-observer.node'<br>
at Module._resolveFilename (module.js:328:15)<br>
at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)<br>
at Function.Module._load (module.js:270:25)<br>
at Module.require (module.js:357:17)<br>
at require (module.js:376:17)<br>
at Object. (/usr/share/atom/resources/app.asar/node_modules/scrollbar-style/lib/scrollbar-style.js:6:28)<br>
at Object. (/usr/share/atom/resources/app.asar/node_modules/scrollbar-style/lib/scrollbar-style.js:27:4)<br>
at Module._compile (module.js:452:26)<br>
at Object.loadFile <a href="/usr/share/atom/resources/app.asar/src/babel.js:162:21">as .js</a><br>
at Module.load (module.js:347:32)</p>
<p dir="auto">Indeed the .deb which was build via script/grunt mkdeb contains the follwing files (seee atom-0.197-deb-content.txt) - the missing scrollbar-style-observer.node is not there. (BTW: The .deb distributed via the official website is also affected). Compared these two debs with the deb from 0.193 the file is there (atom-0.193-deb-content.txt).</p>
<p dir="auto">For me it looks like, as if something in the build process is broken and it would be cool to have a working editor back :-)<br>
<a target="_blank" rel="noopener noreferrer" href=""><img src="" alt="Uploading Bildschirmfoto von »2015-04-29 22:01:17«.png…" style="max-width: 100%;"></a></p> | <p dir="auto">Where is the "latest folder" out of the box feature??? why i have to add a extra addon for that? actually all of the editor out there support "latest folder" :/</p> | 0 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> import.meta.resolve()
Uncaught SyntaxError: Cannot use 'import.meta' outside a module"><pre class="notranslate"><code class="notranslate">> import.meta.resolve()
Uncaught SyntaxError: Cannot use 'import.meta' outside a module
</code></pre></div>
<p dir="auto">We should probably transpile it, like import statements.</p> | <p dir="auto">--inspect-brk does not actually stop the test.</p>
<p dir="auto">(Maybe this was introduced when we parallelized the test runner <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="833904902" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/9815" data-hovercard-type="pull_request" data-hovercard-url="/denoland/deno/pull/9815/hovercard" href="https://github.com/denoland/deno/pull/9815">#9815</a> ?)</p> | 0 |
<p dir="auto">Process: Electron [6002]<br>
Path: /Users/USER/Downloads/Visual Studio Code 2.app/Contents/MacOS/Electron<br>
Identifier: com.microsoft.VSCode<br>
Version: 0.10.3 (0.10.3)<br>
Code Type: X86-64 (Native)<br>
Parent Process: launchd [262]<br>
User ID: 501</p>
<p dir="auto">Date/Time: 2015-12-11 14:06:41.392 -0500<br>
OS Version: Mac OS X 10.8.5 (12F45)<br>
Report Version: 10</p>
<p dir="auto">Interval Since Last Report: 4804424 sec<br>
Crashes Since Last Report: 47<br>
Per-App Crashes Since Last Report: 6<br>
Anonymous UUID: A22229CF-FF1D-7DF6-69D5-EDE175EA071B</p>
<p dir="auto">Crashed Thread: 0 Dispatch queue: com.apple.main-thread</p>
<p dir="auto">Exception Type: EXC_BAD_ACCESS (SIGSEGV)<br>
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000</p>
<p dir="auto">VM Regions Near 0:<br>
--><br>
__TEXT 000000010a1a4000-000000010a1a5000 [ 4K] r-x/rwx SM=COW /Users/USER/Downloads/Visual Studio Code 2.app/Contents/MacOS/Electron</p>
<p dir="auto">Thread 0 Crashed:: Dispatch queue: com.apple.main-thread<br>
0 libsystem_c.dylib 0x00007fff85c60670 strlen + 16<br>
1 com.github.electron.framework 0x000000010be99e62 0x10a1b0000 + 30318178<br>
2 com.github.electron.framework 0x000000010a2265a0 atom::AtomBrowserMainParts::PreMainMessageLoopStart() + 16<br>
3 com.github.electron.framework 0x000000010a8162d3 0x10a1b0000 + 6709971<br>
4 com.github.electron.framework 0x000000010a81badc 0x10a1b0000 + 6732508<br>
5 com.github.electron.framework 0x000000010a815ac7 0x10a1b0000 + <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/67079113ce33e87c8caa1b2a108e7e682e22c1ca/hovercard" href="https://github.com/microsoft/vscode/commit/67079113ce33e87c8caa1b2a108e7e682e22c1ca"><tt>6707911</tt></a><br>
6 com.github.electron.framework 0x000000010a79f9dc 0x10a1b0000 + 6224348<br>
7 com.github.electron.framework 0x000000010a79f036 0x10a1b0000 + 6221878<br>
8 com.github.electron.framework 0x000000010a1b218d AtomMain + 77<br>
9 com.microsoft.VSCode 0x000000010a1a4eea main + 58<br>
10 libdyld.dylib 0x00007fff881197e1 start + 1</p>
<p dir="auto">Thread 1:<br>
0 libsystem_kernel.dylib 0x00007fff863f46d6 __workq_kernreturn + 10<br>
1 libsystem_c.dylib 0x00007fff85c74f1c _pthread_workq_return + 25<br>
2 libsystem_c.dylib 0x00007fff85c74ce3 _pthread_wqthread + 412<br>
3 libsystem_c.dylib 0x00007fff85c5f191 start_wqthread + 13</p>
<p dir="auto">Thread 2:: Dispatch queue: com.apple.libdispatch-manager<br>
0 libsystem_kernel.dylib 0x00007fff863f4d16 kevent + 10<br>
1 libdispatch.dylib 0x00007fff8dd3ddea _dispatch_mgr_invoke + 883<br>
2 libdispatch.dylib 0x00007fff8dd3d9ee _dispatch_mgr_thread + 54</p>
<p dir="auto">Thread 3:<br>
0 libsystem_kernel.dylib 0x00007fff863f46d6 __workq_kernreturn + 10<br>
1 libsystem_c.dylib 0x00007fff85c74f1c _pthread_workq_return + 25<br>
2 libsystem_c.dylib 0x00007fff85c74ce3 _pthread_wqthread + 412<br>
3 libsystem_c.dylib 0x00007fff85c5f191 start_wqthread + 13</p>
<p dir="auto">Thread 4:: WorkerPool/13827<br>
0 libnode.dylib 0x000000010e758e9c v8::internal::LAllocator::ProcessInstructions(v8::internal::HBasicBlock_, v8::internal::BitVector_) + 348<br>
1 libnode.dylib 0x000000010e75a16f v8::internal::LAllocator::BuildLiveRanges() + 207<br>
2 libnode.dylib 0x000000010e759dbc v8::internal::LAllocator::Allocate(v8::internal::LChunk_) + 396<br>
3 libnode.dylib 0x000000010e76118f v8::internal::LChunk::NewChunk(v8::internal::HGraph_) + 255<br>
4 libnode.dylib 0x000000010e594176 v8::internal::OptimizedCompileJob::OptimizeGraph() + 70<br>
5 libnode.dylib 0x000000010e7c4c01 v8::internal::OptimizingCompileDispatcher::CompileNext(v8::internal::OptimizedCompileJob*) + 33<br>
6 libnode.dylib 0x000000010e7c5bb6 0x10e100000 + 7101366<br>
7 com.github.electron.framework 0x000000010a37be42 0x10a1b0000 + 1883714<br>
8 com.github.electron.framework 0x000000010a37633b 0x10a1b0000 + 1860411<br>
9 libsystem_c.dylib 0x00007fff85c72772 _pthread_start + 327<br>
10 libsystem_c.dylib 0x00007fff85c5f1a1 thread_start + 13</p>
<p dir="auto">Thread 0 crashed with X86 Thread State (64-bit):<br>
rax: 0x00000000ffffffff rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000<br>
rdi: 0x0000000000000000 rsi: 0x00007fff89738990 rbp: 0x00007fff55a5b950 rsp: 0x00007fff55a5b918<br>
r8: 0x00007fef69c10780 r9: 0x0000000046364c5f r10: 0x00007fef69806060 r11: 0x00007fff8ad560f1<br>
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x000000010da7ee05 r15: 0x00007fef698099b8<br>
rip: 0x00007fff85c60670 rfl: 0x0000000000010286 cr2: 0x0000000000000000<br>
Logical CPU: 3</p>
<p dir="auto">Binary Images:<br>
0x10a1a4000 - 0x10a1a4ff7 +com.microsoft.VSCode (0.10.3 - 0.10.3) <074B4136-D76D-3961-89C9-63A495167516> /Users/USER/Downloads/Visual Studio Code 2.app/Contents/MacOS/Electron<br>
0x10a1b0000 - 0x10d7dcf97 +com.github.electron.framework (0) <6AE465ED-B1E7-3484-9CE0-AFC35A71CBFF> /Users/USER/Downloads/Visual Studio Code 2.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework<br>
0x10dfbd000 - 0x10dfd2ff7 +com.github.Squirrel (1.0 - 1) /Users/USER/Downloads/Visual Studio Code 2.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel<br>
0x10dff5000 - 0x10e058ff7 +org.reactivecocoa.ReactiveCocoa (1.0 - 1) <701B20DE-3ADD-3643-B52A-E05744C30DB3> /Users/USER/Downloads/Visual Studio Code 2.app/Contents/Frameworks/ReactiveCocoa.framework/Versions/A/ReactiveCocoa<br>
0x10e0d2000 - 0x10e0e6fff +org.mantle.Mantle (1.0 - ???) <31915DD6-48E6-3706-A076-C9D4CE17F4F6> /Users/USER/Downloads/Visual Studio Code 2.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle<br>
0x10e100000 - 0x10ecb9ff7 +libnode.dylib (0) /Users/USER/Downloads/Visual Studio Code 2.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib<br>
0x10f0ac000 - 0x10f0f6ff7 com.apple.audio.midi.CoreMIDI (1.9 - 78) <67E0B007-AE92-337E-A714-3455729EE240> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI<br>
0x10f121000 - 0x10fab1627 com.apple.CoreGraphics (1.600.0 - 333.1) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics<br>
0x7fff69da4000 - 0x7fff69dd893f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld<br>
0x7fff818e3000 - 0x7fff818feff7 libexpat.1.dylib (12) <95D59F1F-0A5C-3F33-BA97-26F7D796CE7A> /usr/lib/libexpat.1.dylib<br>
0x7fff81904000 - 0x7fff81a1dfff com.apple.ImageIO.framework (3.2.2 - 851) <6552C673-9F29-3B31-A12E-C4391A950965> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO<br>
0x7fff81a4f000 - 0x7fff81badfef com.apple.MediaControlSender (1.7 - 170.20) <853BE89D-49B0-3922-9ED5-DDBDE9A97356> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender<br>
0x7fff81be9000 - 0x7fff81bedfff libGIF.dylib (851) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib<br>
0x7fff81bff000 - 0x7fff81c01ff7 com.apple.print.framework.Print (8.0 - 258) <8F243E49-021F-3892-B555-3010A7F450A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print<br>
0x7fff81c02000 - 0x7fff81c38ff7 libsystem_info.dylib (406.17) /usr/lib/system/libsystem_info.dylib<br>
0x7fff81c6b000 - 0x7fff81c6cfff libsystem_blocks.dylib (59) /usr/lib/system/libsystem_blocks.dylib<br>
0x7fff81c6d000 - 0x7fff81c95fff libJPEG.dylib (851) <64A3EB03-34FB-308C-817B-6106D1F4D80F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib<br>
0x7fff81c9c000 - 0x7fff81ccdff7 com.apple.DictionaryServices (1.2 - 184.4) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices<br>
0x7fff81cce000 - 0x7fff81d93ff7 com.apple.coreui (2.0 - 181.1) <83D2C92D-6842-3C9D-9289-39D5B4554C3A> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI<br>
0x7fff81d94000 - 0x7fff8218bfff libLAPACK.dylib (1073.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib<br>
0x7fff8218c000 - 0x7fff82191fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib<br>
0x7fff82192000 - 0x7fff82198fff com.apple.DiskArbitration (2.5.2 - 2.5.2) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration<br>
0x7fff823b5000 - 0x7fff823f2fef libGLImage.dylib (8.10.1) <91E31B9B-4141-36D5-ABDC-20F1D6D1D0CF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib<br>
0x7fff823f3000 - 0x7fff8244aff7 com.apple.ScalableUserInterface (1.0 - 1) <93C14595-6172-37E9-88F2-CBC80A1C54D0> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface<br>
0x7fff8244b000 - 0x7fff8271cff7 com.apple.security (7.0 - 55179.13) /System/Library/Frameworks/Security.framework/Versions/A/Security<br>
0x7fff8271d000 - 0x7fff8276afff com.apple.CoreMediaIO (309.0 - 4163.1) <8FD1C1A9-25C5-3B9E-A76D-BE813253B358> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO<br>
0x7fff8276b000 - 0x7fff82779fff libcommonCrypto.dylib (60027) /usr/lib/system/libcommonCrypto.dylib<br>
0x7fff8277a000 - 0x7fff827bdff7 com.apple.bom (12.0 - 192) <0EFE0F2D-B6DE-3D1E-93C2-EED6D96F70A2> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom<br>
0x7fff8281b000 - 0x7fff8283cfff com.apple.Ubiquity (1.2 - 243.15) /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity<br>
0x7fff8283d000 - 0x7fff82dadff7 com.apple.CoreAUC (6.22.03 - 6.22.03) /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC<br>
0x7fff82dc3000 - 0x7fff82dc3fff libkeymgr.dylib (25) /usr/lib/system/libkeymgr.dylib<br>
0x7fff82dc4000 - 0x7fff82dcafff libmacho.dylib (829) /usr/lib/system/libmacho.dylib<br>
0x7fff82e08000 - 0x7fff82e36ff7 libsystem_m.dylib (3022.6) <11B6081D-6212-3EAB-9975-BED6234BD6A5> /usr/lib/system/libsystem_m.dylib<br>
0x7fff82e37000 - 0x7fff830dbff7 com.apple.CoreImage (8.4.0 - 1.0.1) /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage<br>
0x7fff8312a000 - 0x7fff8332afff libicucore.A.dylib (491.11.3) <5783D305-04E8-3D17-94F7-1CEAFA975240> /usr/lib/libicucore.A.dylib<br>
0x7fff8332b000 - 0x7fff8332cff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib<br>
0x7fff8332d000 - 0x7fff83331fff libpam.2.dylib (20) /usr/lib/libpam.2.dylib<br>
0x7fff83334000 - 0x7fff83436fff libJP2.dylib (851) <26FFBDBF-9CCE-33D7-A45B-0A31C98DA37E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib<br>
0x7fff83437000 - 0x7fff834e8fff com.apple.LaunchServices (539.9 - 539.9) <07FC6766-778E-3479-8F28-D2C9917E1DD1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices<br>
0x7fff834e9000 - 0x7fff834fcff7 libbsm.0.dylib (32) /usr/lib/libbsm.0.dylib<br>
0x7fff834fd000 - 0x7fff8364ffff com.apple.audio.toolbox.AudioToolbox (1.9.2 - 1.9.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox<br>
0x7fff836a0000 - 0x7fff836aafff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) <5A4B532E-3428-3F0A-8032-B0AFFF72CA3D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition<br>
0x7fff836f7000 - 0x7fff836fffff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib<br>
0x7fff83745000 - 0x7fff83745fff com.apple.Accelerate (1.8 - Accelerate 1.8) <878A6E7E-CB34-380F-8212-47FBF12C7C96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate<br>
0x7fff837d6000 - 0x7fff839c0ff7 com.apple.CoreFoundation (6.8 - 744.19) <0F7403CA-2CB8-3D0A-992B-679701DF27CA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation<br>
0x7fff839c1000 - 0x7fff83a40ff7 com.apple.securityfoundation (6.0 - 55115.4) <8676E0DF-295F-3690-BDAA-6C9C1D210B88> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation<br>
0x7fff83a70000 - 0x7fff83a9cfff com.apple.framework.Apple80211 (8.5 - 850.252) <73506CA1-CF76-3A98-A6F2-3DDAC10CB67A> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211<br>
0x7fff83afb000 - 0x7fff83e2bfff com.apple.HIToolbox (2.0 - 626.1) <656D08C2-9068-3532-ABDD-32EC5057CCB2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox<br>
0x7fff83e2c000 - 0x7fff83ec7fff com.apple.CoreSymbolication (3.0 - 117) <7D43ED93-BD81-338C-8076-6A932A1D19E8> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication<br>
0x7fff83f03000 - 0x7fff83f71ff7 com.apple.framework.IOKit (2.0.1 - 755.42.1) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit<br>
0x7fff83f72000 - 0x7fff83fceff7 com.apple.Symbolication (1.3 - 93) /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication<br>
0x7fff83fcf000 - 0x7fff83fd0ff7 libsystem_sandbox.dylib (220.3) /usr/lib/system/libsystem_sandbox.dylib<br>
0x7fff847b7000 - 0x7fff847b9fff libCVMSPluginSupport.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib<br>
0x7fff847ba000 - 0x7fff847d9ff7 libresolv.9.dylib (51) <0882DC2D-A892-31FF-AD8C-0BB518C48B23> /usr/lib/libresolv.9.dylib<br>
0x7fff84c16000 - 0x7fff84c38ff7 libxpc.dylib (140.43) <70BC645B-6952-3264-930C-C835010CCEF9> /usr/lib/system/libxpc.dylib<br>
0x7fff84c89000 - 0x7fff84d2fff7 com.apple.CoreServices.OSServices (557.6 - 557.6) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices<br>
0x7fff84d30000 - 0x7fff84d7ffff com.apple.framework.CoreWiFi (1.3 - 130.13) /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi<br>
0x7fff84dc7000 - 0x7fff84e1eff7 com.apple.AppleVAFramework (5.0.19 - 5.0.19) <541A7DBE-F8E4-3023-A3C0-8D5A2A550CFB> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA<br>
0x7fff84e2e000 - 0x7fff84e3bfff libbz2.1.0.dylib (29) /usr/lib/libbz2.1.0.dylib<br>
0x7fff8535a000 - 0x7fff85362ff7 libsystem_dnssd.dylib (379.38.1) /usr/lib/system/libsystem_dnssd.dylib<br>
0x7fff853f2000 - 0x7fff853f2ffd com.apple.audio.units.AudioUnit (1.9.2 - 1.9.2) <6D314680-7409-3BC7-A807-36341411AF9A> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit<br>
0x7fff853f3000 - 0x7fff8541afff com.apple.framework.familycontrols (4.1 - 410) <50F5A52C-8FB6-300A-977D-5CFDE4D5796B> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls<br>
0x7fff8541b000 - 0x7fff8547afff com.apple.AE (645.6 - 645.6) <44F403C1-660A-3543-AB9C-3902E02F936F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE<br>
0x7fff8547b000 - 0x7fff85498ff7 com.apple.openscripting (1.3.6 - 148.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting<br>
0x7fff85499000 - 0x7fff854eaff7 com.apple.SystemConfiguration (1.12.2 - 1.12.2) <581BF463-C15A-363B-999A-E830222FA925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration<br>
0x7fff854ed000 - 0x7fff854eefff libDiagnosticMessagesClient.dylib (8) <8548E0DC-0D2F-30B6-B045-FE8A038E76D8> /usr/lib/libDiagnosticMessagesClient.dylib<br>
0x7fff8585e000 - 0x7fff85860fff libquarantine.dylib (52.1) <143B726E-DF47-37A8-90AA-F059CFD1A2E4> /usr/lib/system/libquarantine.dylib<br>
0x7fff85aef000 - 0x7fff85bacff7 com.apple.ColorSync (4.8.0 - 4.8.0) <73BE495D-8985-3B88-A7D0-23DF0CB50304> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync<br>
0x7fff85bad000 - 0x7fff85bb0fff libRadiance.dylib (851) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib<br>
0x7fff85bb1000 - 0x7fff85bb5ff7 com.apple.CommonPanels (1.2.5 - 94) <5F81D593-4B87-3DCC-B934-625D436B4CB1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels<br>
0x7fff85c08000 - 0x7fff85c5dff7 libTIFF.dylib (851) <7706BB07-E7E8-38BE-A5F0-D8B63E3B9283> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib<br>
0x7fff85c5e000 - 0x7fff85d2aff7 libsystem_c.dylib (825.40.1) <543B05AE-CFA5-3EFE-8E58-77225411BA6B> /usr/lib/system/libsystem_c.dylib<br>
0x7fff860e5000 - 0x7fff86130fff com.apple.CoreMedia (1.0 - 926.106) <64467905-48DC-37F9-9F32-186768CF2640> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia<br>
0x7fff862e3000 - 0x7fff8630aff7 com.apple.PerformanceAnalysis (1.16 - 16) <1BDA3662-18B7-3F38-94E5-9ACD477A7682> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis<br>
0x7fff863ab000 - 0x7fff863e1fff com.apple.DebugSymbols (98 - 98) <7059F71D-9A82-3D32-99BB-E043DEDA6174> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols<br>
0x7fff863e2000 - 0x7fff863fdff7 libsystem_kernel.dylib (2050.48.12) <4B7993C3-F62D-3AC1-AF92-414A0D6EED5E> /usr/lib/system/libsystem_kernel.dylib<br>
0x7fff86459000 - 0x7fff86470fff com.apple.CFOpenDirectory (10.8 - 151.10) <10F41DA4-AD54-3F52-B898-588D9A117171> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory<br>
0x7fff86471000 - 0x7fff86788ff7 com.apple.CoreServices.CarbonCore (1037.6 - 1037.6) <1E567A52-677F-3168-979F-5FBB0818D52B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore<br>
0x7fff86789000 - 0x7fff86796ff7 com.apple.NetAuth (4.0 - 4.0) /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth<br>
0x7fff86797000 - 0x7fff86797fff com.apple.CoreServices (57 - 57) <45F1466A-8264-3BB7-B0EC-E5E5BFBED143> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices<br>
0x7fff86798000 - 0x7fff86800fff libvDSP.dylib (380.10) <3CA154A3-1BE5-3CF4-BE48-F0A719A963BB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib<br>
0x7fff86801000 - 0x7fff8688eff7 com.apple.SearchKit (1.4.0 - 1.4.0) <54A8069C-E497-3B07-BEA7-D3BC9DB5B649> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit<br>
0x7fff868f4000 - 0x7fff86a0c92f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib<br>
0x7fff86a0d000 - 0x7fff86b0afff libsqlite3.dylib (138.1) /usr/lib/libsqlite3.dylib<br>
0x7fff86b0b000 - 0x7fff86b4ffff libcups.2.dylib (327.7) <9F35B58A-F47E-348A-8E09-E235FA4B9270> /usr/lib/libcups.2.dylib<br>
0x7fff86b50000 - 0x7fff86c2afff com.apple.backup.framework (1.4.3 - 1.4.3) <6B65C44C-7777-3331-AD9D-438D10AAC777> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup<br>
0x7fff86c2f000 - 0x7fff86c33fff libCoreVMClient.dylib (32.5) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib<br>
0x7fff86c49000 - 0x7fff86c5ffff com.apple.MultitouchSupport.framework (237.4 - 237.4) <0F7FEE29-161B-3D8E-BE91-308CBD354461> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport<br>
0x7fff86c60000 - 0x7fff86c64ff7 com.apple.TCC (1.0 - 1) /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC<br>
0x7fff8751c000 - 0x7fff87531fff com.apple.ImageCapture (8.0 - 8.0) <71B24609-DEE9-3927-9C82-62E72270299C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture<br>
0x7fff87532000 - 0x7fff87539fff libGFXShared.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib<br>
0x7fff87657000 - 0x7fff87663fff com.apple.CoreBluetooth (100.9 - 1) <94C4EAB8-20E6-3892-BD9E-27952318CF32> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth<br>
0x7fff87664000 - 0x7fff87664fff libOpenScriptingUtil.dylib (148.3) /usr/lib/libOpenScriptingUtil.dylib<br>
0x7fff876a9000 - 0x7fff8777bff7 com.apple.CoreText (260.0 - 275.17) /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText<br>
0x7fff8777c000 - 0x7fff877a7fff libxslt.1.dylib (11.3) <441776B8-9130-3893-956F-39C85FFA644F> /usr/lib/libxslt.1.dylib<br>
0x7fff877a8000 - 0x7fff87829fff com.apple.Metadata (10.7.0 - 707.12) <69E3EEF7-8B7B-3652-8320-B8E885370E56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata<br>
0x7fff8782a000 - 0x7fff8782afff com.apple.ApplicationServices (45 - 45) <5302CC85-D534-3FE5-9E56-CA16762177F6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices<br>
0x7fff8782b000 - 0x7fff87885fff com.apple.print.framework.PrintCore (8.3 - 387.2) <5BA0CBED-4D80-386A-9646-F835C9805B71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore<br>
0x7fff87898000 - 0x7fff878b7ff7 com.apple.ChunkingLibrary (2.0 - 133.3) <8BEC9AFB-DCAA-37E8-A5AB-24422B234ECF> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary<br>
0x7fff878db000 - 0x7fff878e1ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib<br>
0x7fff8792a000 - 0x7fff87941fff libGL.dylib (8.10.1) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib<br>
0x7fff879bd000 - 0x7fff879c4fff com.apple.NetFS (5.0 - 4.0) <195D8EC9-72BB-3E04-A64D-E1A89B4850C1> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS<br>
0x7fff879c9000 - 0x7fff879d4fff libsystem_notify.dylib (98.5) /usr/lib/system/libsystem_notify.dylib<br>
0x7fff879d5000 - 0x7fff879f7ff7 com.apple.Kerberos (2.0 - 1) <416543F5-E7AF-3269-843F-C8CDA8DD0FFA> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos<br>
0x7fff879f8000 - 0x7fff87a22ff7 com.apple.CoreVideo (1.8 - 99.4) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo<br>
0x7fff87a86000 - 0x7fff87aeeff7 libc++.1.dylib (65.1) /usr/lib/libc++.1.dylib<br>
0x7fff87aef000 - 0x7fff87b89fff libvMisc.dylib (380.10) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib<br>
0x7fff87b8a000 - 0x7fff87bd6fff com.apple.framework.CoreWLAN (3.4 - 340.18) <3735FB49-30C0-3B11-BE25-2ACDD96041B5> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN<br>
0x7fff87bd7000 - 0x7fff87be6fff com.apple.opengl (1.8.10 - 1.8.10) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL<br>
0x7fff87be7000 - 0x7fff87d58ff7 com.apple.QTKit (7.7.1 - 2599.41) /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit<br>
0x7fff87dc4000 - 0x7fff87e1afff com.apple.HIServices (1.20 - 417) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices<br>
0x7fff87e1b000 - 0x7fff87e2eff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <023D909C-3AFA-3438-88EB-05D0BDA5AFFE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis<br>
0x7fff87e7a000 - 0x7fff87e83ff7 com.apple.CommerceCore (1.0 - 26.2) /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore<br>
0x7fff87e84000 - 0x7fff8800afff libBLAS.dylib (1073.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib<br>
0x7fff8800b000 - 0x7fff8800dff7 libunc.dylib (25) <2FDC94A7-3039-3680-85F3-2164E63B464D> /usr/lib/system/libunc.dylib<br>
0x7fff8803b000 - 0x7fff8803bfff com.apple.Cocoa (6.7 - 19) <3CFC90D2-2BE9-3E5C-BFDB-5E161A2C2B29> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa<br>
0x7fff8803c000 - 0x7fff88076ff7 com.apple.GSS (3.0 - 2.0) <423BDFCC-9187-3F3E-ABB0-D280003EB15E> /System/Library/Frameworks/GSS.framework/Versions/A/GSS<br>
0x7fff88117000 - 0x7fff8811aff7 libdyld.dylib (210.2.3) /usr/lib/system/libdyld.dylib<br>
0x7fff8866b000 - 0x7fff88676ff7 com.apple.bsd.ServiceManagement (2.0 - 2.0) /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement<br>
0x7fff88677000 - 0x7fff887ecff7 com.apple.CFNetwork (596.5 - 596.5) <22372475-6EF4-3A04-83FC-C061FE4717B3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork<br>
0x7fff888b1000 - 0x7fff88cedfff com.apple.VideoToolbox (1.0 - 926.106) /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox<br>
0x7fff88cee000 - 0x7fff88ceefff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib<br>
0x7fff88d95000 - 0x7fff88db5fff libPng.dylib (851) <3466F35C-EC1A-3D1A-80DC-175857FA19D5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib<br>
0x7fff88db6000 - 0x7fff899e3fff com.apple.AppKit (6.8 - 1187.40) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit<br>
0x7fff899e9000 - 0x7fff899f7ff7 libsystem_network.dylib (77.10) <2AAA67A1-525E-38F0-8028-1D2B64716611> /usr/lib/system/libsystem_network.dylib<br>
0x7fff899f8000 - 0x7fff89a37ff7 com.apple.QD (3.42.1 - 285.1) <77A20C25-EBB5-341C-A05C-5D458B97AD5C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD<br>
0x7fff89a38000 - 0x7fff89e55fff FaceCoreLight (2.4.1) /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight<br>
0x7fff89e56000 - 0x7fff89e6dfff com.apple.GenerationalStorage (1.1 - 132.3) /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage<br>
0x7fff89e80000 - 0x7fff89e8eff7 libkxld.dylib (2050.48.12) /usr/lib/system/libkxld.dylib<br>
0x7fff8ab65000 - 0x7fff8ac85fff com.apple.desktopservices (1.7.4 - 1.7.4) /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv<br>
0x7fff8ac86000 - 0x7fff8acc9ff7 com.apple.RemoteViewServices (2.0 - 80.6) <5CFA361D-4853-3ACC-9EFC-A2AC1F43BA4B> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices<br>
0x7fff8ace3000 - 0x7fff8ace7fff com.apple.IOSurface (86.0.4 - 86.0.4) <26F01CD4-B76B-37A3-989D-66E8140542B3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface<br>
0x7fff8ace8000 - 0x7fff8b047fff com.apple.Foundation (6.8 - 945.18) <1D7E58E6-FA3A-3CE8-AC85-B9D06B8C0AA0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation<br>
0x7fff8b048000 - 0x7fff8b04afff com.apple.securityhi (4.0 - 55002) <26E6D477-EF61-351F-BA8C-67824AA231C6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI<br>
0x7fff8b04b000 - 0x7fff8b165fff com.apple.coreavchd (5.6.0 - 5600.4.16) <85670361-96CA-3805-B981-B41B47E99A37> /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD<br>
0x7fff8b166000 - 0x7fff8b18bff7 libc++abi.dylib (26) /usr/lib/libc++abi.dylib<br>
0x7fff8b18c000 - 0x7fff8b1f9ff7 com.apple.datadetectorscore (4.1 - 269.3) <5775F0DB-87D6-310D-8B03-E2AD729EFB28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore<br>
0x7fff8b1fa000 - 0x7fff8b205fff com.apple.CommonAuth (3.0 - 2.0) <1CA95702-DDC7-3ADB-891E-7F037ABDDA14> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth<br>
0x7fff8b592000 - 0x7fff8b5a6fff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) <94EDF2AB-809C-3D15-BED5-7AD45B2A7C16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis<br>
0x7fff8b5a7000 - 0x7fff8b645ff7 com.apple.ink.framework (10.8.2 - 150) <3D8D16A2-7E01-3EA1-B637-83A36D353308> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink<br>
0x7fff8b646000 - 0x7fff8b6a9fff com.apple.audio.CoreAudio (4.1.2 - 4.1.2) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio<br>
0x7fff8b8f3000 - 0x7fff8b902ff7 libxar.1.dylib (105) /usr/lib/libxar.1.dylib<br>
0x7fff8b903000 - 0x7fff8b904ff7 libSystem.B.dylib (169.3) <92475A81-385C-32B9-9D6D-38E4BAC90996> /usr/lib/libSystem.B.dylib<br>
0x7fff8b905000 - 0x7fff8ba02ff7 libxml2.2.dylib (22.3) <7FD09F53-83DA-3ECD-8DD9-870E1A2F0427> /usr/lib/libxml2.2.dylib<br>
0x7fff8ba9f000 - 0x7fff8bb08fff libstdc++.6.dylib (56) /usr/lib/libstdc++.6.dylib<br>
0x7fff8be06000 - 0x7fff8be18ff7 libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib<br>
0x7fff8be19000 - 0x7fff8bf0efff libiconv.2.dylib (34) /usr/lib/libiconv.2.dylib<br>
0x7fff8bf0f000 - 0x7fff8bf12fff com.apple.help (1.3.2 - 42) <418A9A41-BCB4-32A2-97ED-3A388F69CA9D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help<br>
0x7fff8bf13000 - 0x7fff8bf1ffff com.apple.CrashReporterSupport (10.8.3 - 418) /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport<br>
0x7fff8bf65000 - 0x7fff8bfafff7 libGLU.dylib (8.10.1) <6699DEA6-9EEB-3B84-A57F-B25AE44EC584> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib<br>
0x7fff8bfb0000 - 0x7fff8bfffff7 libFontRegistry.dylib (100) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib<br>
0x7fff8c0ff000 - 0x7fff8c100ff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib<br>
0x7fff8c163000 - 0x7fff8c311fff com.apple.QuartzCore (1.8 - 304.3) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore<br>
0x7fff8c3a7000 - 0x7fff8c3acfff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib<br>
0x7fff8c3ad000 - 0x7fff8c664ff7 com.apple.MediaToolbox (1.0 - 926.106) <57043584-98E7-375A-89AE-F46480AA5D97> /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox<br>
0x7fff8d62e000 - 0x7fff8d630fff com.apple.TrustEvaluationAgent (2.0 - 23) /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent<br>
0x7fff8d631000 - 0x7fff8d63efff com.apple.AppleFSCompression (49 - 1.0) /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression<br>
0x7fff8d72c000 - 0x7fff8d77bff7 libcorecrypto.dylib (106.2) /usr/lib/system/libcorecrypto.dylib<br>
0x7fff8d7d1000 - 0x7fff8d883fff com.apple.Bluetooth (4.1.7 - 4.1.7f4) <675C5A3B-7C69-382E-9A88-657409EC4197> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth<br>
0x7fff8d99e000 - 0x7fff8daa9fff libFontParser.dylib (84.6) <96C42E49-79A6-3475-B5E4-6A782599A6DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib<br>
0x7fff8daaa000 - 0x7fff8dc45fef com.apple.vImage (6.0 - 6.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage<br>
0x7fff8dc46000 - 0x7fff8dc4dfff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib<br>
0x7fff8dc4e000 - 0x7fff8dcceff7 com.apple.ApplicationServices.ATS (332 - 341.1) <39B53565-FA31-3F61-B090-C787C983142E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS<br>
0x7fff8dccf000 - 0x7fff8dcd0fff liblangid.dylib (116) <864C409D-D56B-383E-9B44-A435A47F2346> /usr/lib/liblangid.dylib<br>
0x7fff8dd39000 - 0x7fff8dd4eff7 libdispatch.dylib (228.23) /usr/lib/system/libdispatch.dylib<br>
0x7fff8dd64000 - 0x7fff8dd69fff com.apple.OpenDirectory (10.8 - 151.10) <1F47EC96-7403-3690-8D8D-C31D3B6FDA0A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory<br>
0x7fff8dd6a000 - 0x7fff8ddecff7 com.apple.Heimdal (3.0 - 2.0) /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal<br>
0x7fff8de15000 - 0x7fff8de61ff7 libauto.dylib (185.4) /usr/lib/libauto.dylib<br>
0x7fff8de62000 - 0x7fff8de62fff com.apple.vecLib (3.8 - vecLib 3.8) <6CBBFDC4-415C-3910-9558-B67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib<br>
0x7fff8ded3000 - 0x7fff8deedfff com.apple.CoreMediaAuthoring (2.1 - 914) <23F2B9D0-7B73-3C42-8EDC-8ADBF9C7B8C2> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthoring<br>
0x7fff8df06000 - 0x7fff8df06fff com.apple.Carbon (154 - 155) <1B2846B1-384E-3D1C-8999-201215723349> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon<br>
0x7fff8df0a000 - 0x7fff8df64ff7 com.apple.opencl (2.2.19 - 2.2.19) <3C7DFB2C-B3F9-3447-A1FC-EAAA42181A6E> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL<br>
0x7fff8dfa9000 - 0x7fff8e1deff7 com.apple.CoreData (106.1 - 407.7) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData<br>
0x7fff8e1e6000 - 0x7fff8e207ff7 libCRFSuite.dylib (33) /usr/lib/libCRFSuite.dylib</p>
<p dir="auto">External Modification Summary:<br>
Calls made by other processes targeting this process:<br>
task_for_pid: 2<br>
thread_create: 0<br>
thread_set_state: 0<br>
Calls made by this process:<br>
task_for_pid: 0<br>
thread_create: 0<br>
thread_set_state: 0<br>
Calls made by all processes on this machine:<br>
task_for_pid: 2641<br>
thread_create: 0<br>
thread_set_state: 0</p>
<p dir="auto">VM Region Summary:<br>
ReadOnly portion of Libraries: Total=236.7M resident=143.2M(60%) swapped_out_or_unallocated=93.5M(40%)<br>
Writable regions: Total=73.9M written=11.2M(15%) resident=11.4M(15%) swapped_out=0K(0%) unallocated=62.5M(85%)</p>
<p dir="auto">REGION TYPE VIRTUAL<br>
=========== =======<br>
CG shared images 96K<br>
MALLOC 44.0M<br>
MALLOC guard page 48K<br>
Memory tag=255 554.1M<br>
Memory tag=255 (reserved) 256K reserved VM address space (unallocated)<br>
STACK GUARD 56.0M<br>
Stack 17.5M<br>
VM_ALLOCATE 16K<br>
__DATA 16.6M<br>
__IMAGE 528K<br>
__LINKEDIT 60.8M<br>
__TEXT 175.9M<br>
__UNICODE 544K<br>
mapped file 45.4M<br>
shared memory 308K<br>
=========== =======<br>
TOTAL 972.1M<br>
TOTAL, minus reserved VM space 971.9M</p>
<p dir="auto">Model: Macmini6,1, BootROM MM61.0106.B03, 2 processors, Intel Core i5, 2.5 GHz, 10 GB, SMC 2.7f0<br>
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 768 MB<br>
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020<br>
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x0198, 0x393955353432382D3035322E4130304C4620<br>
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.17)<br>
Bluetooth: Version 4.1.7f4 12974, 3 service, 13 devices, 3 incoming serial ports<br>
Network Service: Wi-Fi, AirPort, en1<br>
Serial ATA Device: APPLE HDD HTS545050A7E362, 500.11 GB<br>
USB Device: Wired Keyboard 400, 0x045e (Microsoft Corporation), 0x0752, 0x14300000 / 2<br>
USB Device: USB Optical Mouse, 0x046d (Logitech Inc.), 0xc05a, 0x14400000 / 1<br>
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2<br>
USB Device: hub_device, 0x0424 (SMSC), 0x2512, 0x1d180000 / 3<br>
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 5<br>
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x828a, 0x1d181300 / 6<br>
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 4<br>
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2</p> | <p dir="auto">On a Mac (running OSX 10.11.1), if the network connection to a connected Samba share with open files interrupts, VSCode crashes with the error that says it needs to restart.</p> | 0 |
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">Other project which use webpack, it works well(maybe I test not enough)<br>
At first I want to new a project base on Next, but it's Hot-reload doesn't work, even I buy a new Mac<g-emoji class="g-emoji" alias="joy" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f602.png">😂</g-emoji></p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">I follow the Guide<br>
new a project<br>
new a "./pages/index.js"<br>
run <code class="notranslate">npx next dev</code><br>
change the file, Hot-reload doesn't work</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">When I have changed the file, page can show these lastest changes</p>
<h2 dir="auto">Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9976575/43031998-a3ed5626-8cdf-11e8-846d-0a79f00d0da3.png"><img src="https://user-images.githubusercontent.com/9976575/43031998-a3ed5626-8cdf-11e8-846d-0a79f00d0da3.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9976575/43032006-b20d9dce-8cdf-11e8-91d0-71cf53dac0ee.png"><img src="https://user-images.githubusercontent.com/9976575/43032006-b20d9dce-8cdf-11e8-91d0-71cf53dac0ee.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9976575/43032030-2a61f9be-8ce0-11e8-8357-9fbfd77621c6.png"><img src="https://user-images.githubusercontent.com/9976575/43032030-2a61f9be-8ce0-11e8-8357-9fbfd77621c6.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9976575/43032020-11af9c14-8ce0-11e8-81b0-94f271ac4eed.png"><img src="https://user-images.githubusercontent.com/9976575/43032020-11af9c14-8ce0-11e8-81b0-94f271ac4eed.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9976575/43032016-07a2a590-8ce0-11e8-98ac-895d117e1226.png"><img src="https://user-images.githubusercontent.com/9976575/43032016-07a2a590-8ce0-11e8-98ac-895d117e1226.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">System information</h2>
<ul dir="auto">
<li>OS: macOS 10.13.6</li>
<li>Browser (if applies) Chrome 67.0.3396.99</li>
<li>Version of Next.js: 6.1.1</li>
</ul> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Following the README.md instructions to run a next.js project, but create the project's folder in a subfolder which starts with a "."</p>
<p dir="auto">Changing the text in index.js should initiate a recompile which is reflected in the browser.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Next never recompiles after change are made to index.js. Must <code class="notranslate">ctrl+c</code> to quit, then run <code class="notranslate">npm run dev</code> again.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Please review video here: <a href="https://www.youtube.com/watch?v=HfOiCxw6bKw&feature=youtu.be" rel="nofollow">https://www.youtube.com/watch?v=HfOiCxw6bKw&feature=youtu.be</a><br>
note that the project is running out a folder ".nosync" (because of this: <a href="https://discussions.apple.com/thread/6811420?start=0&tstart=0" rel="nofollow">https://discussions.apple.com/thread/6811420?start=0&tstart=0</a>)</p>
<h2 dir="auto">Context</h2>
<p dir="auto">Simply trying out next. basic HMR is not working correctly.</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.3</td>
</tr>
<tr>
<td>node</td>
<td>8.7.0</td>
</tr>
<tr>
<td>OS</td>
<td>OSX 10.13</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 61</td>
</tr>
<tr>
<td>etc</td>
<td>npm 5.4.2</td>
</tr>
</tbody>
</table> | 1 |
<p dir="auto">How do I prevent the untar from the above get_file() call from creating duplicate "._*" files?</p>
<p dir="auto">I get double the images in the dataset when I run the following, and the duplicated images have a prefix of ._</p>
<p dir="auto">import pathlib<br>
import matplotlib.pyplot as plt<br>
import numpy as np<br>
import PIL<br>
import tensorflow as tf</p>
<p dir="auto">from tensorflow import keras<br>
from tensorflow.keras import layers<br>
from tensorflow.keras.models import Sequential</p>
<h1 dir="auto">custom data attempt</h1>
<p dir="auto">weeds_dataset_url = "<a href="https://storage.googleapis.com/aquarium-public/datasets/deepweeds/full_image_set/weed_images.tar" rel="nofollow">https://storage.googleapis.com/aquarium-public/datasets/deepweeds/full_image_set/weed_images.tar</a>"<br>
weeds_data_dir = tf.keras.utils.get_file('weed_images', origin=weeds_dataset_url, untar=True)<br>
weeds_data_dir = pathlib.Path(weeds_data_dir)</p>
<p dir="auto">snake_weeds = list(weeds_data_dir.glob('Snake weed/*'))<br>
print(snake_weeds[0]) # gives me a file starting with ._</p> | <p dir="auto">I'm using a data generator to feed the <code class="notranslate">fit_generator</code>. My generator have as output the tuple <code class="notranslate">(x_val, y_val, val_sample_weights)</code> so showing sample weights. This is like:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import keras
import librosa
from time import time
import random
from config import *
class DataGenerator(keras.utils.Sequence):
'Generates data for Keras'
def __init__(self, dataframe, batch_size=None, dim=None, labels_dim=None,
n_classes=None, shuffle=True, samples=None, duration=None, sample_weights=None):
'Initialization'
self.dim = dim
self.batch_size = batch_size
self.dataframe = dataframe
self.dataframe = self.dataframe.sample(n=len(self.dataframe))
self.samples = samples
self.on_epoch_end()
self.shuffle = shuffle
self.sample_weights = sample_weights
def __len__(self):
'Denotes the number of batches per epoch'
return int(np.floor(len(self.dataframe) / self.batch_size))
def __getitem__(self, index):
'Generate one batch of data'
random_pd = self.dataframe.iloc[self.batch_size*index : (index+1)*self.batch_size]
# Generate data
X, y = self.__data_generation(random_pd)
return X, y
def __data_generation(self, random_pd):
'Generates data containing batch_size samples' # X : (n_samples, *dim, n_channels)
# Initialization
X = np.empty((self.batch_size, 1, self.samples))
y = np.empty((self.batch_size, self.n_classes))
i = 0
while i < self.batch_size:
for index, row in random_pd.iterrows():
# generate
y[i,] = label
X[i,] = ...
i += 1
return X, y, self.sample_weights"><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">keras</span>
<span class="pl-k">import</span> <span class="pl-s1">librosa</span>
<span class="pl-k">from</span> <span class="pl-s1">time</span> <span class="pl-k">import</span> <span class="pl-s1">time</span>
<span class="pl-k">import</span> <span class="pl-s1">random</span>
<span class="pl-k">from</span> <span class="pl-s1">config</span> <span class="pl-k">import</span> <span class="pl-c1">*</span>
<span class="pl-k">class</span> <span class="pl-v">DataGenerator</span>(<span class="pl-s1">keras</span>.<span class="pl-s1">utils</span>.<span class="pl-v">Sequence</span>):
<span class="pl-s">'Generates data for Keras'</span>
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">dataframe</span>, <span class="pl-s1">batch_size</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">dim</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">labels_dim</span><span class="pl-c1">=</span><span class="pl-c1">None</span>,
<span class="pl-s1">n_classes</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">shuffle</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">samples</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">duration</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">sample_weights</span><span class="pl-c1">=</span><span class="pl-c1">None</span>):
<span class="pl-s">'Initialization'</span>
<span class="pl-s1">self</span>.<span class="pl-s1">dim</span> <span class="pl-c1">=</span> <span class="pl-s1">dim</span>
<span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span> <span class="pl-c1">=</span> <span class="pl-s1">batch_size</span>
<span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span> <span class="pl-c1">=</span> <span class="pl-s1">dataframe</span>
<span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span>.<span class="pl-en">sample</span>(<span class="pl-s1">n</span><span class="pl-c1">=</span><span class="pl-en">len</span>(<span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span>))
<span class="pl-s1">self</span>.<span class="pl-s1">samples</span> <span class="pl-c1">=</span> <span class="pl-s1">samples</span>
<span class="pl-s1">self</span>.<span class="pl-en">on_epoch_end</span>()
<span class="pl-s1">self</span>.<span class="pl-s1">shuffle</span> <span class="pl-c1">=</span> <span class="pl-s1">shuffle</span>
<span class="pl-s1">self</span>.<span class="pl-s1">sample_weights</span> <span class="pl-c1">=</span> <span class="pl-s1">sample_weights</span>
<span class="pl-k">def</span> <span class="pl-en">__len__</span>(<span class="pl-s1">self</span>):
<span class="pl-s">'Denotes the number of batches per epoch'</span>
<span class="pl-k">return</span> <span class="pl-en">int</span>(<span class="pl-s1">np</span>.<span class="pl-en">floor</span>(<span class="pl-en">len</span>(<span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span>) <span class="pl-c1">/</span> <span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span>))
<span class="pl-k">def</span> <span class="pl-en">__getitem__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">index</span>):
<span class="pl-s">'Generate one batch of data'</span>
<span class="pl-s1">random_pd</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">dataframe</span>.<span class="pl-s1">iloc</span>[<span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span><span class="pl-c1">*</span><span class="pl-s1">index</span> : (<span class="pl-s1">index</span><span class="pl-c1">+</span><span class="pl-c1">1</span>)<span class="pl-c1">*</span><span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span>]
<span class="pl-c"># Generate data</span>
<span class="pl-v">X</span>, <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">__data_generation</span>(<span class="pl-s1">random_pd</span>)
<span class="pl-k">return</span> <span class="pl-v">X</span>, <span class="pl-s1">y</span>
<span class="pl-k">def</span> <span class="pl-en">__data_generation</span>(<span class="pl-s1">self</span>, <span class="pl-s1">random_pd</span>):
<span class="pl-s">'Generates data containing batch_size samples'</span> <span class="pl-c"># X : (n_samples, *dim, n_channels)</span>
<span class="pl-c"># Initialization</span>
<span class="pl-v">X</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">empty</span>((<span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span>, <span class="pl-c1">1</span>, <span class="pl-s1">self</span>.<span class="pl-s1">samples</span>))
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">empty</span>((<span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span>, <span class="pl-s1">self</span>.<span class="pl-s1">n_classes</span>))
<span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span>
<span class="pl-k">while</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">self</span>.<span class="pl-s1">batch_size</span>:
<span class="pl-k">for</span> <span class="pl-s1">index</span>, <span class="pl-s1">row</span> <span class="pl-c1">in</span> <span class="pl-s1">random_pd</span>.<span class="pl-en">iterrows</span>():
<span class="pl-c"># generate </span>
<span class="pl-s1">y</span>[<span class="pl-s1">i</span>,] <span class="pl-c1">=</span> <span class="pl-s1">label</span>
<span class="pl-v">X</span>[<span class="pl-s1">i</span>,] <span class="pl-c1">=</span> ...
<span class="pl-s1">i</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span>
<span class="pl-k">return</span> <span class="pl-v">X</span>, <span class="pl-s1">y</span>, <span class="pl-s1">self</span>.<span class="pl-s1">sample_weights</span></pre></div>
<p dir="auto">so it will return <code class="notranslate">X, y, self.sample_weights</code>.</p>
<p dir="auto">The problem is that we will get a <code class="notranslate">StopIteration: too many values to unpack </code> as it would expect 2 but I'm giving 3 values - as actually I'm doing.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "train.py", line 438, in <module>
train()
File "train.py", line 422, in train
callbacks=callbacks
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 1315, in fit_generator
initial_epoch=initial_epoch)
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2250, in fit_generator
max_queue_size=max_queue_size)
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2383, in evaluate_generator
generator_output = next(output_generator)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/data_utils.py", line 584, in get
six.raise_from(StopIteration(e), e)
File "/usr/local/lib/python2.7/dist-packages/six.py", line 737, in raise_from
raise value
StopIteration: too many values to unpack "><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "train.py", line 438, in <module>
train()
File "train.py", line 422, in train
callbacks=callbacks
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 1315, in fit_generator
initial_epoch=initial_epoch)
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2250, in fit_generator
max_queue_size=max_queue_size)
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2383, in evaluate_generator
generator_output = next(output_generator)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/data_utils.py", line 584, in get
six.raise_from(StopIteration(e), e)
File "/usr/local/lib/python2.7/dist-packages/six.py", line 737, in raise_from
raise value
StopIteration: too many values to unpack
</code></pre></div>
<p dir="auto">I call the fit_generator as usual passing my <code class="notranslate">training_generator</code> then</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="history = model.fit_generator(generator=training_generator,
class_weight=class_weights,
verbose=1,
use_multiprocessing=True,
workers=24,
steps_per_epoch=training_steps_per_epoch,
epochs=epochs,
validation_data=validation_generator,
validation_steps = validation_steps_per_epoch,
callbacks=callbacks
)"><pre class="notranslate"><span class="pl-s1">history</span> <span class="pl-c1">=</span> <span class="pl-s1">model</span>.<span class="pl-en">fit_generator</span>(<span class="pl-s1">generator</span><span class="pl-c1">=</span><span class="pl-s1">training_generator</span>,
<span class="pl-s1">class_weight</span><span class="pl-c1">=</span><span class="pl-s1">class_weights</span>,
<span class="pl-s1">verbose</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
<span class="pl-s1">use_multiprocessing</span><span class="pl-c1">=</span><span class="pl-c1">True</span>,
<span class="pl-s1">workers</span><span class="pl-c1">=</span><span class="pl-c1">24</span>,
<span class="pl-s1">steps_per_epoch</span><span class="pl-c1">=</span><span class="pl-s1">training_steps_per_epoch</span>,
<span class="pl-s1">epochs</span><span class="pl-c1">=</span><span class="pl-s1">epochs</span>,
<span class="pl-s1">validation_data</span><span class="pl-c1">=</span><span class="pl-s1">validation_generator</span>,
<span class="pl-s1">validation_steps</span> <span class="pl-c1">=</span> <span class="pl-s1">validation_steps_per_epoch</span>,
<span class="pl-s1">callbacks</span><span class="pl-c1">=</span><span class="pl-s1">callbacks</span>
)</pre></div>
<p dir="auto">I do this because when using the <code class="notranslate">fit_generator</code> it is not possibile to pass the <code class="notranslate">sample_weight</code>, since the method signature only supports the <code class="notranslate">class_weight</code> - see here <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="387720418" data-permission-text="Title is private" data-url="https://github.com/keras-team/keras/issues/11800" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/11800/hovercard" href="https://github.com/keras-team/keras/issues/11800">#11800</a></p> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2>
<ul dir="auto">
<li>Windows build number: win10 1909 build 18363.959</li>
<li>PowerToys version: 0.20</li>
<li>PowerToy module:</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<p dir="auto">power toys not responding<br>
i tried right clicking system tray powertoys icon<br>
then i killed powertoys in taskmgr<br>
then i started powertoys from started menu<br>
it crashed</p>
<h3 dir="auto">✔️ Expected result</h3>
<p dir="auto"><em>What is the expected result of the above steps?</em></p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3>
<p dir="auto"><em>What is the actual result of the above steps?</em></p>
<h2 dir="auto">📷 Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/25423046/89118550-01b74080-d4d9-11ea-82fd-5134d529b0dc.png"><img src="https://user-images.githubusercontent.com/25423046/89118550-01b74080-d4d9-11ea-82fd-5134d529b0dc.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p>
<p dir="auto">Please open new issue in: <a href="https://github.com/microsoft/PowerToys/issues">https://github.com/microsoft/PowerToys/issues</a></p>
<ol dir="auto">
<li>upload log file: C:\Users\yan\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\1.0.0\2020-08-02.txt</li>
<li>copy below exception message</li>
</ol>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.18363.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 08/02/2020 15:55:42<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5011801/2020-08-02.txt">2020-08-02.txt</a></p> | <p dir="auto">Popup tells me to give y'all this.</p>
<p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p>
<p dir="auto">Version: 1.0.0<br>
OS Version: Microsoft Windows NT 10.0.19041.0<br>
IntPtr Length: 8<br>
x64: True<br>
Date: 07/31/2020 17:29:59<br>
Exception:<br>
System.ObjectDisposedException: Cannot access a disposed object.<br>
Object name: 'Timer'.<br>
at System.Timers.Timer.set_Enabled(Boolean value)<br>
at System.Timers.Timer.Start()<br>
at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br>
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br>
at System.Windows.UIElement.UpdateIsVisibleCache()<br>
at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br>
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br>
at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br>
at System.Windows.Window.SetRootVisual()<br>
at System.Windows.Window.SetRootVisualAndUpdateSTC()<br>
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br>
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br>
at System.Windows.Window.CreateSourceWindowDuringShow()<br>
at System.Windows.Window.SafeCreateWindowDuringShow()<br>
at System.Windows.Window.ShowHelper(Object booleanBox)<br>
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br>
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Version 1909 (OS Build 18363.836)]
PowerToys version: v 0.18.1
PowerToy module for which you are reporting the bug (if applicable): Global Function"><pre class="notranslate"><code class="notranslate">Windows build number: [Version 1909 (OS Build 18363.836)]
PowerToys version: v 0.18.1
PowerToy module for which you are reporting the bug (if applicable): Global Function
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Just Open it, It does NOT work, I can only search my software.</p>
<h1 dir="auto">Expected behavior</h1>
<h1 dir="auto">Actual behavior</h1>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/36319693/82898082-31c9ec80-9f48-11ea-8daa-a107409e3bd0.png"><img src="https://user-images.githubusercontent.com/36319693/82898082-31c9ec80-9f48-11ea-8daa-a107409e3bd0.png" alt="Annotation 2020-05-26 195810" style="max-width: 100%;"></a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">In the context of i3, allow users to toggle on/off a capability that enables windows of various applications to respect each other's space on-screen. This capability maximizes screen-use, minimizes white-space, and prevents any windows from overlapping eachother.</p>
<p dir="auto">Eg: I have 3 windows snapped in equal columns on-screen. If I manually resize the left-most widow in a way that it would ordinarily overlap with the middle window, I want the middle window to dynamically contract and ensure no overlapping occurs.</p>
<p dir="auto">Eg2: If a window pops up, my existing windows should dynamically resize to make the minimally required space for the pop up window to exist without creating any white space or resulting in overlapping windows.</p>
<p dir="auto">Eg3: If a window is closed, the other windows should dynamically resize to equally take advantage of the newly-created whitespace.</p> | 0 |
<h3 dir="auto">System Info</h3>
<p dir="auto">Hi. I am working code that only can run on Transformers==3.0.2, however there are other method which only can run on higher version. So I want to ask if there are higher version that is compatible with transformers==3.0.2 or with little revision? Many thanks!</p>
<h3 dir="auto">Who can help?</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/NielsRogge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/NielsRogge">@NielsRogge</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sgugger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sgugger">@sgugger</a></p>
<h3 dir="auto">Information</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> The official example scripts</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> My own modified scripts</li>
</ul>
<p dir="auto">Code of facebook research <a href="https://github.com/facebookresearch/FiD">FiD</a></p>
<h3 dir="auto">Tasks</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> An officially supported task in the <code class="notranslate">examples</code> folder (such as GLUE/SQuAD, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> My own task or dataset (give details below)</li>
</ul>
<p dir="auto">NaturalQuestions | TriviaQA</p>
<h3 dir="auto">Reproduction</h3>
<p dir="auto">Run the <a href="https://github.com/facebookresearch/FiD">FiD code</a> on a different version of transformers</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Attribute error</p> | <h3 dir="auto">Description</h3>
<p dir="auto">There are duplicate sentences in <code class="notranslate">document_question_answering.mdx</code> from line number 40 to 45.</p>
<h3 dir="auto">Document / Language</h3>
<p dir="auto"><code class="notranslate">document_question_answering.mdx</code> / <a href="https://huggingface.co/docs/transformers/tasks/document_question_answering" rel="nofollow">en</a></p>
<h3 dir="auto">Suggestion</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/46880056/240509754-899f6de9-3730-44f7-95eb-32f3f7d34be7.png"><img src="https://user-images.githubusercontent.com/46880056/240509754-899f6de9-3730-44f7-95eb-32f3f7d34be7.png" alt="Capture 20230524_1541@2x" style="max-width: 100%;"></a><br>
should be either:</p>
<table role="table">
<tbody><tr>
<td> candidate 1 </td> <td> candidate 2 </td>
</tr>
<tr>
<td>
<p dir="auto">(...), to predict the positions of the start and end tokens of the answer. (...)</p>
</td>
<td>
<p dir="auto">(...), in order to predict which token is at the start of the answer and which token is at the end of the answer. (...)</p>
</td>
</tr>
</tbody></table>
<p dir="auto">Please let me know which of the two candidates you would prefer.</p> | 0 |
<p dir="auto">GitHub Actions MacOS CI jobs have been failing consistently. A sample log is available here: <a href="https://github.com/scipy/scipy/pull/13094/checks?check_run_id=1436142836">https://github.com/scipy/scipy/pull/13094/checks?check_run_id=1436142836</a></p>
<p dir="auto">SciPy itself is built successfully, but runtime access to gfortran dynamic libraries (via openblas lib) is compromised, causing a cascade of failures during the testsuite that look like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="E ImportError: dlopen(/Users/runner/work/scipy/scipy/build/testenv/lib/python3.8/site-packages/scipy/spatial/qhull.cpython-38-darwin.so, 2): Library not loaded: /libgfortran.3.dylib
E Referenced from: /Users/runner/work/scipy/scipy/openblas/lib/libopenblasp-r0.3.9.dylib
E Reason: image not found
_ ERROR collecting build/testenv/lib/python3.8/site-packages/scipy/cluster/tests/test_hierarchy.py _
ImportError while importing test module '/Users/runner/work/scipy/scipy/build/testenv/lib/python3.8/site-packages/scipy/cluster/tests/test_hierarchy.py'."><pre class="notranslate"><code class="notranslate">E ImportError: dlopen(/Users/runner/work/scipy/scipy/build/testenv/lib/python3.8/site-packages/scipy/spatial/qhull.cpython-38-darwin.so, 2): Library not loaded: /libgfortran.3.dylib
E Referenced from: /Users/runner/work/scipy/scipy/openblas/lib/libopenblasp-r0.3.9.dylib
E Reason: image not found
_ ERROR collecting build/testenv/lib/python3.8/site-packages/scipy/cluster/tests/test_hierarchy.py _
ImportError while importing test module '/Users/runner/work/scipy/scipy/build/testenv/lib/python3.8/site-packages/scipy/cluster/tests/test_hierarchy.py'.
</code></pre></div>
<p dir="auto">There are quite a few shims in that CI code that deal with dynamic library behavior--I'll try to check this today as it will be important for CI to be consistently green with 1.6.0 branching imminent. If someone else is already close to a solution please chime in to avoid duplicated effort.</p> | <p dir="auto">I had made two np arrays xxx & yyy: (*** are later edits)</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> len(xxx)
22092
>>> len(yyy)
22092
>>> def myfn(x, a, b):
... return a*exp( -b*x)
...
>>> optimize.curve_fit(myfn, xxx, yyy)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 506, in curve_fit
res = leastsq(func, p0, args=args, full_output=1, **kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 348, in leastsq
m = _check_func('leastsq', 'func', func, x0, args, n)[0]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 14, in _check_func
res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 418, in _general_function
return function(xdata, *params) - ydata
File "<stdin>", line 2, in myfn
TypeError: only length-1 arrays can be converted to Python scalars ************"><pre class="notranslate"><code class="notranslate">>>> len(xxx)
22092
>>> len(yyy)
22092
>>> def myfn(x, a, b):
... return a*exp( -b*x)
...
>>> optimize.curve_fit(myfn, xxx, yyy)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 506, in curve_fit
res = leastsq(func, p0, args=args, full_output=1, **kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 348, in leastsq
m = _check_func('leastsq', 'func', func, x0, args, n)[0]
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 14, in _check_func
res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/minpack.py", line 418, in _general_function
return function(xdata, *params) - ydata
File "<stdin>", line 2, in myfn
TypeError: only length-1 arrays can be converted to Python scalars ************
</code></pre></div>
<h1 dir="auto"></h1>
<p dir="auto">******* So I tried to duplicate the example in the scipy documentation:<br>
******* Failure on the second line!<br>
******* It's not really a curve_fit problem ****</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> def myfn(x, a, b):
... return a*exp( -b*x)
...
>>> tstx=np.linspace(0, 4, 50)
>>> tsty=myfn(tstx,2.5, 1.3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in myfn
TypeError: only length-1 arrays can be converted to Python scalars ************
>>>"><pre class="notranslate"><code class="notranslate">>>> def myfn(x, a, b):
... return a*exp( -b*x)
...
>>> tstx=np.linspace(0, 4, 50)
>>> tsty=myfn(tstx,2.5, 1.3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in myfn
TypeError: only length-1 arrays can be converted to Python scalars ************
>>>
</code></pre></div>
<h1 dir="auto"></h1>
<p dir="auto">What have I done wrong?</p>
<p dir="auto">Thanks for any help</p>
<p dir="auto">Peter R<br>
~</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">main</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://github.com/celery/celery/discussions">discussions forum</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="https://docs.celeryq.dev/en/main/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/main">commit log</a><br>
to find out if the bug was already fixed in the main branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have verified that the issue exists against the <code class="notranslate">main</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><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="962236209" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6898" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/6898/hovercard" href="https://github.com/celery/celery/pull/6898">#6898</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="956370924" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6885" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/6885/hovercard" href="https://github.com/celery/celery/issues/6885">#6885</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>:</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>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 'args': req.argsrepr,
'kwargs': req.kwargsrepr,"><pre class="notranslate"> <span class="pl-s">'args'</span>: <span class="pl-s1">req</span>.<span class="pl-s1">argsrepr</span>,
<span class="pl-s">'kwargs'</span>: <span class="pl-s1">req</span>.<span class="pl-s1">kwargsrepr</span>,</pre></div>
<h1 dir="auto">Actual Behavior</h1>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 'args': safe_repr(args),
'kwargs': safe_repr(kwargs),"><pre class="notranslate"> <span class="pl-s">'args'</span>: <span class="pl-en">safe_repr</span>(<span class="pl-s1">args</span>),
<span class="pl-s">'kwargs'</span>: <span class="pl-en">safe_repr</span>(<span class="pl-s1">kwargs</span>),</pre></div> | <p dir="auto">Hi, I am running celery worker command as follows:-<br>
pipenv run celery worker -A <celery_instance_file> -l info on windows OS.</p>
<p dir="auto">I checked the version of celery module installed in python. It says 5.0.0.</p>
<p dir="auto">#Python interpreter<br>
import celery<br>
celery.<strong>version</strong><br>
'5.0.0'</p>
<p dir="auto">So the error is as follows:-<br>
Usage: celery worker [OPTIONS]<br>
Try 'celery worker --help' for help.</p>
<p dir="auto">Error: no such option: -A</p>
<p dir="auto">I checked the documentation of celery version 5.0.0, and it still has the option -A.<br>
<a href="https://docs.celeryproject.org/en/latest/reference/cli.html" rel="nofollow">https://docs.celeryproject.org/en/latest/reference/cli.html</a></p>
<p dir="auto">So let me know if this is limitation with windows or if this is a bug.</p> | 0 |
<p dir="auto">It always use pickle instead.</p> | <h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 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>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>: 5.0.0 (singularity)</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="root@ad36e1cf0d81:/app# celery -A app.worker report
software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.7.5
billiard:3.6.3.0 py-amqp:5.0.1
platform -> system:Linux arch:64bit
kernel version:5.4.0-1025-aws imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
broker_url: 'amqp://prediction_celery:********@broker:5672//'
deprecated_settings: None
task_routes: {
'app.worker.*': {'queue': 'high_memory_usage'}}
task_serializer: 'pickle'
accept_content: ['json', 'pickle']
broker_transport_options: {
'interval_max': 0.5,
'interval_start': 0,
'interval_step': 0.2,
'max_retries': 3}
worker_prefetch_multiplier: 1
software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.7.5
billiard:3.6.3.0 py-amqp:5.0.1
platform -> system:Linux arch:64bit
kernel version:5.4.0-1025-aws imp:CPython
loader -> celery.loaders.default.Loader
settings -> transport:amqp results:disabled
deprecated_settings: None"><pre class="notranslate"><code class="notranslate">root@ad36e1cf0d81:/app# celery -A app.worker report
software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.7.5
billiard:3.6.3.0 py-amqp:5.0.1
platform -> system:Linux arch:64bit
kernel version:5.4.0-1025-aws imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:amqp results:disabled
broker_url: 'amqp://prediction_celery:********@broker:5672//'
deprecated_settings: None
task_routes: {
'app.worker.*': {'queue': 'high_memory_usage'}}
task_serializer: 'pickle'
accept_content: ['json', 'pickle']
broker_transport_options: {
'interval_max': 0.5,
'interval_start': 0,
'interval_step': 0.2,
'max_retries': 3}
worker_prefetch_multiplier: 1
software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.7.5
billiard:3.6.3.0 py-amqp:5.0.1
platform -> system:Linux arch:64bit
kernel version:5.4.0-1025-aws 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>: 3.7.5</li>
<li><strong>Minimal Celery Version</strong>: 5.0.0</li>
<li><strong>Minimal Kombu Version</strong>: 5.0.2</li>
<li><strong>Minimal Broker Version</strong>: RabbitMQ version: 3.8.9</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.1
bidalgo-common==0.0
billiard==3.6.3.0
boto3==1.10.45
botocore==1.13.45
celery==5.0.0
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-repl==0.1.6
colormath==3.0.0
common==0.1
coverage==5.0.3
creative-analysis===-module.-creative-analysis.version-.from.-tmp-pip-req-build-v4szy4xr-creative-analysis-version.py-
custom-stats==0.1
cycler==0.10.0
dataclasses==0.6
dataclasses-json==0.3.7
decorator==4.4.2
docutils==0.15.2
idna==2.8
importlib-metadata==2.0.0
jmespath==0.10.0
joblib==0.16.0
kiwisolver==1.2.0
kombu==5.0.2
marshmallow==3.8.0
marshmallow-enum==1.5.1
matplotlib==3.1.1
mypy-extensions==0.4.3
mysqlclient==2.0.1
networkx==2.5
nlp-tools==0.0
nltk==3.4.5
numpy==1.16.5
pandas==0.25.1
patsy==0.5.1
Pillow==5.4.1
prompt-toolkit==3.0.7
pydantic==1.6.1
PyMySQL==0.9.3
pyparsing==2.4.7
python-dateutil==2.8.1
python-dotenv==0.10.3
pytz==2020.1
redis==3.3.11
requests==2.22.0
s3transfer==0.2.1
scikit-learn==0.21.3
scipy==1.3.1
six==1.15.0
SQLAlchemy==1.3.19
statsmodels==0.11.0
stringcase==1.2.0
text2digits==0.0.9
typing-extensions==3.7.4.3
typing-inspect==0.6.0
urllib3==1.25.10
vine==5.0.0
wcwidth==0.2.5
Werkzeug==1.0.1
zipp==3.2.0
"><pre class="notranslate"><code class="notranslate">amqp==5.0.1
bidalgo-common==0.0
billiard==3.6.3.0
boto3==1.10.45
botocore==1.13.45
celery==5.0.0
certifi==2020.6.20
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-repl==0.1.6
colormath==3.0.0
common==0.1
coverage==5.0.3
creative-analysis===-module.-creative-analysis.version-.from.-tmp-pip-req-build-v4szy4xr-creative-analysis-version.py-
custom-stats==0.1
cycler==0.10.0
dataclasses==0.6
dataclasses-json==0.3.7
decorator==4.4.2
docutils==0.15.2
idna==2.8
importlib-metadata==2.0.0
jmespath==0.10.0
joblib==0.16.0
kiwisolver==1.2.0
kombu==5.0.2
marshmallow==3.8.0
marshmallow-enum==1.5.1
matplotlib==3.1.1
mypy-extensions==0.4.3
mysqlclient==2.0.1
networkx==2.5
nlp-tools==0.0
nltk==3.4.5
numpy==1.16.5
pandas==0.25.1
patsy==0.5.1
Pillow==5.4.1
prompt-toolkit==3.0.7
pydantic==1.6.1
PyMySQL==0.9.3
pyparsing==2.4.7
python-dateutil==2.8.1
python-dotenv==0.10.3
pytz==2020.1
redis==3.3.11
requests==2.22.0
s3transfer==0.2.1
scikit-learn==0.21.3
scipy==1.3.1
six==1.15.0
SQLAlchemy==1.3.19
statsmodels==0.11.0
stringcase==1.2.0
text2digits==0.0.9
typing-extensions==3.7.4.3
typing-inspect==0.6.0
urllib3==1.25.10
vine==5.0.0
wcwidth==0.2.5
Werkzeug==1.0.1
zipp==3.2.0
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
Status of node rabbit@f1b3c114b8d6 ...
Runtime
</p><p dir="auto">OS PID: 275<br>
OS: Linux<br>
Uptime (seconds): 759<br>
Is under maintenance?: false<br>
RabbitMQ version: 3.8.9<br>
Node name: rabbit@f1b3c114b8d6<br>
Erlang configuration: Erlang/OTP 23 [erts-11.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:64]<br>
Erlang processes: 669 used, 1048576 limit<br>
Scheduler run queue: 1<br>
Cluster heartbeat timeout (net_ticktime): 60</p>
<p dir="auto"></p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><p dir="auto">task.py:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os
from celery import Celery
from time import sleep
celery_app = Celery("worker", broker=os.environ['CELERY_BROKER_URL'])
@celery_app.task()
def run():
sleep(60)
return
"><pre class="notranslate"><code class="notranslate">import os
from celery import Celery
from time import sleep
celery_app = Celery("worker", broker=os.environ['CELERY_BROKER_URL'])
@celery_app.task()
def run():
sleep(60)
return
</code></pre></div>
<p dir="auto">run.py:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from task import run
if __name__ == '__main__':
run.apply_async()
run.apply_async()"><pre class="notranslate"><code class="notranslate">from task import run
if __name__ == '__main__':
run.apply_async()
run.apply_async()
</code></pre></div>
<ol dir="auto">
<li>
<p dir="auto">IMPORTANT - Start broker - <strong>bug happens only when first tasks run after broker starts.</strong></p>
</li>
<li>
<p dir="auto">Run celery:<br>
<code class="notranslate">$ celery -A task worker --pool=prefork --concurrency=2</code></p>
</li>
<li>
<p dir="auto">Run tasks:<br>
<code class="notranslate">$ python run.py</code></p>
</li>
<li>
<p dir="auto">inspect active tasks:<br>
<code class="notranslate">$ celery -A task inspect active</code></p>
</li>
<li>
<p dir="auto">inspect reserved tasks:<br>
<code class="notranslate">$ celery -A task inspect reserved</code></p>
</li>
</ol>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Worker is running 2 active tasks</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">The worker is running only 1 active task and you can see 1 reserved task.</p>
<p dir="auto">Same test performed on 4.4.7 (cliffs) worked as expected</p>
<p dir="auto">Even in 5.0.0 when you run again</p>
<ol start="3" dir="auto">
<li>
<p dir="auto">Run tasks:<br>
<code class="notranslate">$ python run.py</code></p>
</li>
<li>
<p dir="auto">inspect active tasks:<br>
<code class="notranslate">$ celery -A task inspect active</code></p>
</li>
<li>
<p dir="auto">inspect reserved tasks:<br>
<code class="notranslate">$ celery -A task inspect reserved</code></p>
</li>
</ol>
<p dir="auto">It will work as expected - you will see 2 active tasks and 0 reserved</p> | 0 |
<h1 dir="auto">Environment</h1>
<p dir="auto">Windows build number: 10.0.18362.0<br>
Windows Terminal version: 0.4.2382.0</p>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Enter any command with more string then windows height.<br>
$a = @{<br>
1<br>
2<br>
... etc</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">Terminal allow entering command with as many string as needed.</p>
<h1 dir="auto">Actual behavior</h1>
<h2 dir="auto">Oops, something went wrong. Please report this bug with the details below.<br>
Report on GitHub: <a href="https://github.com/lzybkr/PSReadLine/issues/new">https://github.com/lzybkr/PSReadLine/issues/new</a></h2>
<p dir="auto">Last 43 Keys:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $ a Space = Space @ { Enter
1 Enter
2 Enter
3 Enter
4 Enter
5 Enter
6 Enter
7 Enter
8 Enter
9 Enter
0 Enter
q Enter
w Enter
e Enter
r Enter
t Enter
y Enter
u Enter
i"><pre class="notranslate"><code class="notranslate"> $ a Space = Space @ { Enter
1 Enter
2 Enter
3 Enter
4 Enter
5 Enter
6 Enter
7 Enter
8 Enter
9 Enter
0 Enter
q Enter
w Enter
e Enter
r Enter
t Enter
y Enter
u Enter
i
</code></pre></div>
<p dir="auto">Exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)"><pre class="notranslate"><code class="notranslate">System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
</code></pre></div> | <h1 dir="auto">Other</h1>
<p dir="auto">This bug seems to be tied to yarn or react-scripts. I ran a python interpreter in one tab, opened another tab and then closed my terminal. Everything worked as expected. It maybe a bug in yarn or react-scripts, but I am fairly confident that it is not due to step 4. in steps to reproduce. The fact that you have to be out of the tab running the long running process in order to trigger the bug implies to me that this is an issue with terminal.</p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.4.2382
Yarn: 1.17.3
react-scripts: 3.0.1"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.4.2382
Yarn: 1.17.3
react-scripts: 3.0.1
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ol dir="auto">
<li>Open a terminal<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28187128/65383000-cd6be300-dd51-11e9-838f-1ed666d2f202.png"><img src="https://user-images.githubusercontent.com/28187128/65383000-cd6be300-dd51-11e9-838f-1ed666d2f202.png" alt="image" style="max-width: 100%;"></a></li>
<li>Run yarn start on a CRA Project.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28187128/65383016-fd1aeb00-dd51-11e9-822b-6ad9656a0273.png"><img src="https://user-images.githubusercontent.com/28187128/65383016-fd1aeb00-dd51-11e9-822b-6ad9656a0273.png" alt="image" style="max-width: 100%;"></a></li>
<li>Open a new tab<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28187128/65383019-073ce980-dd52-11e9-8c83-338425063184.png"><img src="https://user-images.githubusercontent.com/28187128/65383019-073ce980-dd52-11e9-8c83-338425063184.png" alt="image" style="max-width: 100%;"></a></li>
<li>Navigate to the new tab (this is a requirement)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28187128/65383020-0ad07080-dd52-11e9-8aa3-975b9e2bfb3c.png"><img src="https://user-images.githubusercontent.com/28187128/65383020-0ad07080-dd52-11e9-8aa3-975b9e2bfb3c.png" alt="image" style="max-width: 100%;"></a></li>
<li>Click the close button.</li>
<li>Wonder why the terminal is still running<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/28187128/65383029-2b98c600-dd52-11e9-99c8-7731131c9846.png"><img src="https://user-images.githubusercontent.com/28187128/65383029-2b98c600-dd52-11e9-99c8-7731131c9846.png" alt="image" style="max-width: 100%;"></a></li>
</ol>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">No matter the amount of open tabs and long running processes, clicking close should kill all running processes in all tabs.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">When a user opens a tab and runs a long running process in it, then opens another tab and then finally closes the terminal, the terminal should kill all running processes.<br>
In my instance I run <code class="notranslate">yarn start</code> with my CRA project in one tab and use the other tab for testing and running git commands. When I click the close button, the terminal does not kill all processes.</p> | 0 |
<p dir="auto">I'm having some issues using the <a href="https://github.com/quartzjer/ursa">ursa</a> module on electron.</p>
<p dir="auto">I installed the module using npm like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm install --save ursa"><pre class="notranslate"><code class="notranslate">npm install --save ursa
</code></pre></div>
<p dir="auto">Then rebuilt the native extensions for electron like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="./node_modules/.bin/electron-rebuild"><pre class="notranslate"><code class="notranslate">./node_modules/.bin/electron-rebuild
</code></pre></div>
<p dir="auto">This seemed to exit immediately / not actually do anything, and when I ran the app I got the usual error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: Module version mismatch. Expected 44, got 14."><pre class="notranslate"><code class="notranslate">Error: Module version mismatch. Expected 44, got 14.
</code></pre></div>
<p dir="auto">So I rebuild the native extension manually using node-gyp like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="HOME=~/.electron-gyp node-gyp rebuild --target=0.28.1 --arch=ia64 --dist-url=https://atom.io/download/atom-shell"><pre class="notranslate"><code class="notranslate">HOME=~/.electron-gyp node-gyp rebuild --target=0.28.1 --arch=ia64 --dist-url=https://atom.io/download/atom-shell
</code></pre></div>
<p dir="auto">And I now get the following error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dyld: lazy symbol binding failed: Symbol not found: _RSA_generate_key
Referenced from: /Users/daniel/work/kuddl/electron-client/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup
dyld: Symbol not found: _RSA_generate_key
Referenced from: /Users/daniel/work/kuddl/electron-client/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup"><pre class="notranslate"><code class="notranslate">dyld: lazy symbol binding failed: Symbol not found: _RSA_generate_key
Referenced from: /Users/daniel/work/kuddl/electron-client/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup
dyld: Symbol not found: _RSA_generate_key
Referenced from: /Users/daniel/work/kuddl/electron-client/node_modules/ursa/build/Release/ursaNative.node
Expected in: dynamic lookup
</code></pre></div>
<p dir="auto">Here's my code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var ursa = require('ursa');
var key = ursa.generatePrivateKey(2048, 65537);"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">ursa</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'ursa'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">key</span> <span class="pl-c1">=</span> <span class="pl-s1">ursa</span><span class="pl-kos">.</span><span class="pl-en">generatePrivateKey</span><span class="pl-kos">(</span><span class="pl-c1">2048</span><span class="pl-kos">,</span> <span class="pl-c1">65537</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I think this may be related to this issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="67929002" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/1410" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/1410/hovercard" href="https://github.com/electron/electron/issues/1410">#1410</a></p>
<p dir="auto">Version Numbers:</p>
<table role="table">
<tbody><tr>
<th>Electron Version</th>
<td>v0.28.1</td>
</tr>
<tr>
<th>Operating System</th>
<td>Mac OSX 10.10.0</td>
</tr>
<tr>
<th>ursa</th>
<td>v0.8.5</td>
</tr>
</tbody></table> | <p dir="auto">Hello, my app uses the native ursa module. I just upgraded to atom-shell 0.23.0, rebuilt the ursa module and now my app is broken. Atom-Shell v0.22.3 was working properly.</p>
<p dir="auto">Debian Linux x64, [email protected], [email protected], [email protected]</p>
<p dir="auto">Here's the error I get when I launch my application:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/lib/node_modules/atom-shell/dist/atom .: symbol lookup error: /home/matt/noxious/node_modules/ursa/build/Release/ursaNative.node: undefined symbol: BN_new"><pre class="notranslate"><code class="notranslate">/usr/lib/node_modules/atom-shell/dist/atom .: symbol lookup error: /home/matt/noxious/node_modules/ursa/build/Release/ursaNative.node: undefined symbol: BN_new
</code></pre></div>
<p dir="auto">You can see my build script for the ursa module here: <a href="https://github.com/mattcollier/noxious/blob/master/build_x64.sh">https://github.com/mattcollier/noxious/blob/master/build_x64.sh</a></p>
<p dir="auto">Here is the output of the build: <a href="http://hastebin.com/asalunuxop.vhdl" rel="nofollow">http://hastebin.com/asalunuxop.vhdl</a></p>
<p dir="auto">Of course, I have changed the target to 0.23.0.</p> | 1 |
<p dir="auto">Currently it is difficult to have an overview of which extensions have been installed. I would advise marking installed components in the command palette.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12623827/13323000/ac6fc9d4-dbd7-11e5-94a7-f96ae282a8aa.jpg"><img src="https://cloud.githubusercontent.com/assets/12623827/13323000/ac6fc9d4-dbd7-11e5-94a7-f96ae282a8aa.jpg" alt="extentions" style="max-width: 100%;"></a></p> | <p dir="auto">Hello,</p>
<p dir="auto">Typescript and javascript support <code class="notranslate">debugger;</code> to stop the debugging process when hitting.</p>
<p dir="auto">It would be great to show those breakpoints in the breakpoints panel for info and even add a checkbox to show/hide such a feature.</p>
<p dir="auto">Thank you in advance for your feedback.</p> | 0 |
<h2 dir="auto">Returns an error</h2>
<p dir="auto">Hope to repair it as soon as possible, thank you. Point a praise</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/20368037/50500024-42431280-0a89-11e9-8fbd-21f7295b8884.png"><img src="https://user-images.githubusercontent.com/20368037/50500024-42431280-0a89-11e9-8fbd-21f7295b8884.png" alt="image" style="max-width: 100%;"></a></p> | <p dir="auto">EDIT (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nicolo-ribaudo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nicolo-ribaudo">@nicolo-ribaudo</a>): We have identifier the issue and reported it upstream (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="394948254" data-permission-text="Title is private" data-url="https://github.com/mjackson/unpkg/issues/162" data-hovercard-type="issue" data-hovercard-url="/mjackson/unpkg/issues/162/hovercard" href="https://github.com/mjackson/unpkg/issues/162">mjackson/unpkg#162</a>). If you are affected, please give a 👍 to that issue and, if requested, give any information that could help fixing it!</p>
<p dir="auto">Note: Different people are affected but not everyone, and part of the discussion is at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="383761856" data-permission-text="Title is private" data-url="https://github.com/babel/website/issues/1901" data-hovercard-type="issue" data-hovercard-url="/babel/website/issues/1901/hovercard" href="https://github.com/babel/website/issues/1901">#1901</a>.</p>
<hr>
<p dir="auto">Original issue submitted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/renyuns/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/renyuns">@renyuns</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="393377639" data-permission-text="Title is private" data-url="https://github.com/babel/babel/issues/9223" data-hovercard-type="issue" data-hovercard-url="/babel/babel/issues/9223/hovercard" href="https://github.com/babel/babel/issues/9223">babel/babel#9223</a></p>
<h2 dir="auto">Bug Report</h2>
<p dir="auto"><strong>Current Behavior</strong><br>
A clear and concise description of the behavior.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/22095724/50334333-eafde900-0542-11e9-9aa3-9cdb5d009b3d.png"><img src="https://user-images.githubusercontent.com/22095724/50334333-eafde900-0542-11e9-9aa3-9cdb5d009b3d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Input Code</strong></p>
<ul dir="auto">
<li>REPL or Repo link if applicable:</li>
</ul>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var your => (code) => here;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">your</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-s1">code</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-s1">here</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior/code</strong><br>
A clear and concise description of what you expected to happen (or code).</p>
<p dir="auto"><strong>Babel Configuration (.babelrc, package.json, cli command)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"your": { "config": "here" }
}"><pre class="notranslate"><span class="pl-kos">{</span>
<span class="pl-s">"your"</span>: <span class="pl-kos">{</span> <span class="pl-s">"config"</span>: <span class="pl-s">"here"</span> <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Environment</strong></p>
<ul dir="auto">
<li>Babel version(s): [e.g. v6.0.0, v7.0.0-beta.34]</li>
<li>Node/npm version: [e.g. Node 8/npm 5]</li>
<li>OS: [e.g. OSX 10.13.4, Windows 10]</li>
<li>Monorepo: [e.g. yes/no/Lerna]</li>
<li>How you are using Babel: [e.g. <code class="notranslate">cli</code>, <code class="notranslate">register</code>, <code class="notranslate">loader</code>]</li>
</ul>
<p dir="auto"><strong>Possible Solution</strong></p>
<p dir="auto"><strong>Additional context/Screenshots</strong><br>
Add any other context about the problem here. If applicable, add screenshots to help explain.</p> | 1 |
<h2 dir="auto">ℹ Computer information</h2>
<ul dir="auto">
<li>PowerToys version: v0.24.0</li>
<li>PowerToy Utility: FancyZones</li>
<li>Running PowerToys as Admin: YES</li>
<li>Windows build number: 19041.508 (2004)</li>
</ul>
<h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2>
<ol dir="auto">
<li>Launch zones editor</li>
<li>Select template</li>
<li>Select "Edit selected layout"</li>
<li>FancyZones crashes</li>
</ol>
<h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/72847202/95942344-244ebb00-0da0-11eb-969d-fb1ae0ae05f4.png"><img src="https://user-images.githubusercontent.com/72847202/95942344-244ebb00-0da0-11eb-969d-fb1ae0ae05f4.png" alt="Screenshot 2020-10-13 220445" style="max-width: 100%;"></a></p>
<h2 dir="auto">Exception</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System.ComponentModel.Win32Exception: The system cannot find the file specified
Source: MahApps.Metro
TargetAssembly: MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f
TargetModule: MahApps.Metro.dll
TargetSite: System.String GetWindowText(System.Windows.Window)
at MahApps.Metro.Controls.WinApiHelper.GetWindowText(Window window)
at MahApps.Metro.Automation.Peers.MetroWindowAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Interop.HwndSource.SetLayoutSize()
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.ShowHelper(Object booleanBox)
at FancyZonesEditor.MainWindow.EditLayout_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at FancyZonesEditor.App.Main()
"><pre class="notranslate"><code class="notranslate">System.ComponentModel.Win32Exception: The system cannot find the file specified
Source: MahApps.Metro
TargetAssembly: MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f
TargetModule: MahApps.Metro.dll
TargetSite: System.String GetWindowText(System.Windows.Window)
at MahApps.Metro.Controls.WinApiHelper.GetWindowText(Window window)
at MahApps.Metro.Automation.Peers.MetroWindowAutomationPeer.GetNameCore()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Interop.HwndSource.SetLayoutSize()
at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.ShowHelper(Object booleanBox)
at FancyZonesEditor.MainWindow.EditLayout_Click(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at FancyZonesEditor.App.Main()
</code></pre></div>
<h2 dir="auto">Environment</h2>
<ul dir="auto">
<li>Command Line: "C:\Program Files\PowerToys\modules\FancyZones\FancyZonesEditor.exe" 0_40_3072_1688 "17360"</li>
<li>Timestamp: 10/13/2020 22:03:58</li>
<li>OS Version: Microsoft Windows NT 6.2.9200.0</li>
<li>IntPtr Length: 8</li>
<li>x64: True</li>
<li>CLR Version: 4.0.30319.42000</li>
</ul>
<h2 dir="auto">Assemblies - FancyZonesEditor.exe</h2>
<ul dir="auto">
<li>FancyZonesEditor, Version=0.24.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\FancyZonesEditor.exe)</li>
<li>System.Text.Json, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Text.Json.dll)</li>
<li>System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Memory.dll)</li>
<li>System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\System.Runtime.CompilerServices.Unsafe.dll)</li>
<li>System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Buffers.dll)</li>
<li>System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\System.Numerics.Vectors.dll)</li>
<li>System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.ValueTuple.dll)</li>
<li>MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f (C:\Program Files\PowerToys\modules\FancyZones\MahApps.Metro.dll)</li>
<li>ControlzEx, Version=4.0.0.0, Culture=neutral, PublicKeyToken=69f1c32f803d307e (C:\Program Files\PowerToys\modules\FancyZones\ControlzEx.dll)</li>
<li>ManagedCommon, Version=0.24.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\ManagedCommon.dll)</li>
<li>Telemetry, Version=0.24.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\Telemetry.dll)</li>
<li>Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\Microsoft.Xaml.Behaviors.dll)</li>
<li>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll)</li>
<li>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll)</li>
<li>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll)</li>
<li>PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll)</li>
<li>WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll)</li>
<li>PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll)</li>
<li>System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll)</li>
<li>System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll)</li>
<li>System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll)</li>
<li>PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll)</li>
<li>PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll)</li>
<li>System.Windows.Controls.Ribbon, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Controls.Ribbon\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Controls.Ribbon.dll)</li>
<li>netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\netstandard\v4.0_2.0.0.0__cc7b13ffcd2ddd51\netstandard.dll)</li>
<li>UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationT</li>
</ul> | <p dir="auto">I got also an error. Trying to edit the custom FancyZones. FZEditorCrashLog.txt contains:</p>
<h2 dir="auto">Exception</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
Source: MahApps.Metro
TargetAssembly: MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f
TargetModule: MahApps.Metro.dll
TargetSite: System.String GetWindowText(System.Windows.Window)
bei MahApps.Metro.Controls.WinApiHelper.GetWindowText(Window window)
bei MahApps.Metro.Automation.Peers.MetroWindowAutomationPeer.GetNameCore()
bei System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
bei System.Windows.ContextLayoutManager.fireAutomationEvents()
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.Interop.HwndSource.SetLayoutSize()
bei System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
bei System.Windows.Window.SetRootVisual()
bei System.Windows.Window.SetRootVisualAndUpdateSTC()
bei System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
bei System.Windows.Window.CreateSourceWindow(Boolean duringShow)
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei FancyZonesEditor.MainWindow.EditLayout_Click(Object sender, RoutedEventArgs e)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
bei System.Windows.Controls.Button.OnClick()
bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei FancyZonesEditor.App.Main()
"><pre class="notranslate"><code class="notranslate">System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
Source: MahApps.Metro
TargetAssembly: MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f
TargetModule: MahApps.Metro.dll
TargetSite: System.String GetWindowText(System.Windows.Window)
bei MahApps.Metro.Controls.WinApiHelper.GetWindowText(Window window)
bei MahApps.Metro.Automation.Peers.MetroWindowAutomationPeer.GetNameCore()
bei System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
bei System.Windows.ContextLayoutManager.fireAutomationEvents()
bei System.Windows.ContextLayoutManager.UpdateLayout()
bei System.Windows.Interop.HwndSource.SetLayoutSize()
bei System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
bei System.Windows.Window.SetRootVisual()
bei System.Windows.Window.SetRootVisualAndUpdateSTC()
bei System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
bei System.Windows.Window.CreateSourceWindow(Boolean duringShow)
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei FancyZonesEditor.MainWindow.EditLayout_Click(Object sender, RoutedEventArgs e)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
bei System.Windows.Controls.Button.OnClick()
bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei FancyZonesEditor.App.Main()
</code></pre></div>
<h2 dir="auto">Environment</h2>
<ul dir="auto">
<li>Command Line: "C:\Program Files\PowerToys\modules\FancyZones\FancyZonesEditor.exe" 0_0_3840_1560 "15216"</li>
<li>Timestamp: 10/01/2020 07:26:54</li>
<li>OS Version: Microsoft Windows NT 6.2.9200.0</li>
<li>IntPtr Length: 8</li>
<li>x64: True</li>
<li>CLR Version: 4.0.30319.42000</li>
</ul>
<h2 dir="auto">Assemblies - FancyZonesEditor.exe</h2>
<ul dir="auto">
<li>FancyZonesEditor, Version=0.23.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\FancyZonesEditor.exe)</li>
<li>System.Text.Json, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Text.Json.dll)</li>
<li>System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Memory.dll)</li>
<li>System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\System.Runtime.CompilerServices.Unsafe.dll)</li>
<li>System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.Buffers.dll)</li>
<li>System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\System.Numerics.Vectors.dll)</li>
<li>System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\Program Files\PowerToys\modules\FancyZones\System.ValueTuple.dll)</li>
<li>MahApps.Metro, Version=2.0.0.0, Culture=neutral, PublicKeyToken=51482d6f650b2b3f (C:\Program Files\PowerToys\modules\FancyZones\MahApps.Metro.dll)</li>
<li>ControlzEx, Version=4.0.0.0, Culture=neutral, PublicKeyToken=69f1c32f803d307e (C:\Program Files\PowerToys\modules\FancyZones\ControlzEx.dll)</li>
<li>ManagedCommon, Version=0.23.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\ManagedCommon.dll)</li>
<li>Telemetry, Version=0.23.0.0, Culture=neutral, PublicKeyToken=null (C:\Program Files\PowerToys\modules\FancyZones\Telemetry.dll)</li>
<li>Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\Program Files\PowerToys\modules\FancyZones\Microsoft.Xaml.Behaviors.dll)</li>
<li>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll)</li>
<li>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll)</li>
<li>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll)</li>
<li>PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll)</li>
<li>WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll)</li>
<li>PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll)</li>
<li>System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll)</li>
<li>System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll)</li>
<li>System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll)</li>
<li>PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll)</li>
<li>PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll)</li>
<li>System.Windows.Controls.Ribbon, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Controls.Ribbon\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Controls.Ribbon.dll)</li>
<li>netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 (C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\netstandard\v4.0_2.0.0.0__cc7b13ffcd2ddd51\netstandard.dll)</li>
<li>mscorlib.resources, Version=4.0.0.0, Culture=de, PublicKeyToken=b77a5c561934e089 (C:\WINDO</li>
</ul>
<p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgisler/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgisler">@rgisler</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="710468604" data-permission-text="Title is private" data-url="https://github.com/microsoft/PowerToys/issues/6877" data-hovercard-type="issue" data-hovercard-url="/microsoft/PowerToys/issues/6877/hovercard?comment_id=701895391&comment_type=issue_comment" href="https://github.com/microsoft/PowerToys/issues/6877#issuecomment-701895391">#6877 (comment)</a></em></p> | 1 |
<p dir="auto">TS 1.7.5, Target ES6, Environment Windows 8.1, Node 5.6</p>
<p dir="auto">Since switching the "target" to ES 6, "target.name" is empty in class decorators. With ES5 ist worked as expected.</p>
<p dir="auto">I'm decorating my classes with class and property decorators:</p>
<p dir="auto">The decorated TS class:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@sg.DMClass
export class User implements IUser {
@sg.DMProperty
firstName: string;
@sg.DMProperty
lastName: string;
@sg.DMProperty
friends: User[];
@sg.DMProperty
blogPosts: BlogPost[];
@sg.DMProperty
test: User;
}"><pre class="notranslate">@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMClass</span>
<span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-v">User</span> <span class="pl-s1">implements</span> <span class="pl-v">IUser</span> <span class="pl-kos">{</span>
@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span>
<span class="pl-c1">firstName</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span>
@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span>
<span class="pl-c1">lastName</span>: <span class="pl-s1">string</span><span class="pl-kos">;</span>
@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span>
<span class="pl-c1">friends</span>: <span class="pl-v">User</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span>
<span class="pl-c1">blogPosts</span>: <span class="pl-v">BlogPost</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
@<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span>
<span class="pl-c1">test</span>: <span class="pl-c1">User</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">The TS decorator:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function DMClass(target: any) {
var t = Reflect.getMetadata("design:paramtypes", target);
var om = Reflect.getOwnMetadataKeys(target);
console.log("schemaGen.DMClass: target: %s: %O", target.name, target);
var schema = target.prototype[Schema];
target[IsDomainClass] = true;
target[Schema] = target.prototype[Schema];
schema.class = target.name;
console.log("schemaGen.DMClass: schema: %O", schema);
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-v">DMClass</span><span class="pl-kos">(</span><span class="pl-s1">target</span>: <span class="pl-s1">any</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">getMetadata</span><span class="pl-kos">(</span><span class="pl-s">"design:paramtypes"</span><span class="pl-kos">,</span> <span class="pl-s1">target</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">om</span> <span class="pl-c1">=</span> <span class="pl-v">Reflect</span><span class="pl-kos">.</span><span class="pl-en">getOwnMetadataKeys</span><span class="pl-kos">(</span><span class="pl-s1">target</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"schemaGen.DMClass: target: %s: %O"</span><span class="pl-kos">,</span> <span class="pl-s1">target</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">,</span> <span class="pl-s1">target</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">schema</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">[</span><span class="pl-v">Schema</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-s1">target</span><span class="pl-kos">[</span><span class="pl-v">IsDomainClass</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-s1">target</span><span class="pl-kos">[</span><span class="pl-v">Schema</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">[</span><span class="pl-v">Schema</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-s1">schema</span><span class="pl-kos">.</span><span class="pl-c1">class</span> <span class="pl-c1">=</span> <span class="pl-s1">target</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"schemaGen.DMClass: schema: %O"</span><span class="pl-kos">,</span> <span class="pl-s1">schema</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto"><strong>Current (faulty) behaviour:</strong><br>
So "target.name" is empty. Having a look at the generated js file seems to reveal the problem:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var gq = require("./gq");
var sg = require("./schemaGen");
var cons = console;
let User = class {
};
__decorate([
sg.DMProperty,
__metadata('design:type', String)
], User.prototype, "firstName", void 0);
__decorate([
sg.DMProperty,
__metadata('design:type', String)
], User.prototype, "lastName", void 0);
__decorate([
sg.DMProperty,
__metadata('design:type', {name: 'Array<User>', type:'Array', elemType:'User'})
], User.prototype, "friends", void 0);
__decorate([
sg.DMProperty,
__metadata('design:type', {name: 'Array<BlogPost>', type:'Array', elemType:'BlogPost'})
], User.prototype, "blogPosts", void 0);
__decorate([
sg.DMProperty,
__metadata('design:type', User)
], User.prototype, "test", void 0);
User = __decorate([
sg.DMClass,
__metadata('design:paramtypes', [])
], User);
exports.User = User;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">gq</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./gq"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">sg</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./schemaGen"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">cons</span> <span class="pl-c1">=</span> <span class="pl-smi">console</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-v">User</span> <span class="pl-c1">=</span> <span class="pl-k">class</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-v">String</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">User</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">"firstName"</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-v">String</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">User</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">"lastName"</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">name</span>: <span class="pl-s">'Array<User>'</span><span class="pl-kos">,</span> <span class="pl-c1">type</span>:<span class="pl-s">'Array'</span><span class="pl-kos">,</span> <span class="pl-c1">elemType</span>:<span class="pl-s">'User'</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">User</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">"friends"</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">name</span>: <span class="pl-s">'Array<BlogPost>'</span><span class="pl-kos">,</span> <span class="pl-c1">type</span>:<span class="pl-s">'Array'</span><span class="pl-kos">,</span> <span class="pl-c1">elemType</span>:<span class="pl-s">'BlogPost'</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">User</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">"blogPosts"</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMProperty</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:type'</span><span class="pl-kos">,</span> <span class="pl-v">User</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-v">User</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">,</span> <span class="pl-s">"test"</span><span class="pl-kos">,</span> <span class="pl-k">void</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-v">User</span> <span class="pl-c1">=</span> <span class="pl-en">__decorate</span><span class="pl-kos">(</span><span class="pl-kos">[</span>
<span class="pl-s1">sg</span><span class="pl-kos">.</span><span class="pl-c1">DMClass</span><span class="pl-kos">,</span>
<span class="pl-en">__metadata</span><span class="pl-kos">(</span><span class="pl-s">'design:paramtypes'</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">User</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-c1">User</span> <span class="pl-c1">=</span> <span class="pl-v">User</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behaviour:</strong><br>
So TS generates class without name. I think it should generate following:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let User = class User {
};"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-v">User</span> <span class="pl-c1">=</span> <span class="pl-k">class</span> <span class="pl-v">User</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Manually adding "User" as class name of course solves the problem, because then "target.name"( == "class.name") is just accessing an ES 6 property.</p>
<p dir="auto">Any help ist appreciated,<br>
best Mind</p> | <p dir="auto">I have decorator:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export function Document() {
return function(objectConstructor: Function) {
console.log(objectConstructor.name); // when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything
}
}"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">function</span> <span class="pl-smi">Document</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-k">function</span><span class="pl-kos">(</span><span class="pl-s1">objectConstructor</span>: <span class="pl-smi">Function</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">objectConstructor</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">// when targeting es5 it gives me what I want - the name of my class. When targeting es6 it does not give anything</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Here is decorator usage:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Document()
export class User {
}"><pre class="notranslate">@<span class="pl-smi">Document</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">User</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Im using "User" class name to create a document called "User", I need information how class is called. I always used es5, but now when I switched to es6 compile target I dont have information about class name anymore. Is it a bug, or it by design? If second then what is the way to get the class name?</p> | 1 |
<p dir="auto">Hello, I'd like to import some JSX files in my test files. My use case is to import test helpers from my main codebase. Those include JSX code.</p>
<p dir="auto">Right now, when I import those files, I get this kind of errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SyntaxError: Unexpected token '<'"><pre class="notranslate"><code class="notranslate">SyntaxError: Unexpected token '<'
</code></pre></div>
<p dir="auto">Is there a simple way to add JSX support to <code class="notranslate">playwright test</code>?</p> | <p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>Playwright Version: 1.28.1</li>
<li>Operating System: Mac</li>
<li>Node.js version: v16.16.0</li>
<li>Browser: All</li>
<li>Extra: Typescript Monorepo</li>
</ul>
<p dir="auto"><strong>Code Snippet</strong></p>
<p dir="auto">Here is an example repo which demonstrates the issue<br>
<a href="https://github.com/rubber-duck-software/playwright-typescript-monorepo-tsx">https://github.com/rubber-duck-software/playwright-typescript-monorepo-tsx</a></p>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">This is a followup to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1403540941" data-permission-text="Title is private" data-url="https://github.com/microsoft/playwright/issues/17964" data-hovercard-type="issue" data-hovercard-url="/microsoft/playwright/issues/17964/hovercard" href="https://github.com/microsoft/playwright/issues/17964">#17964</a>. Playwright can now do the jsx transform in general, but it cannot handle jsx fragments. As far as I can tell <code class="notranslate">babel-plugin-syntax-jsx</code> does support fragments, so I am not sure about the underlying cause of this issue.</p> | 1 |
<p dir="auto"><b>Issue Type:</b> Feature Idea<br>
<b>Component Name:</b> module_utils/ec2.py<br>
<b>Ansible Version:</b> devel<br>
<b>Summary:</b><br>
I know there is this module:</p>
<p dir="auto"><a href="http://docs.ansible.com/ansible/sts_assume_role_module.html" rel="nofollow">http://docs.ansible.com/ansible/sts_assume_role_module.html</a></p>
<p dir="auto">But having this in the ec2.py module utility seems like a much better way to go as it is a lot of boiler plate to have to add sts_assume_role to every playbook that assumes roles. We only assume roles at our company to do anything with AWS so it is painful for us. It would be pretty trivial for me to add this to ec2.py.</p> | <h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">ec2 dynamic inventory script</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<p dir="auto">ansible 2.0.1.0</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">On Ubuntu Linux, and Amazon Linux on AWS</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I cannot assume a role on the command line by exporting the new temporary credentials as environment variables and run the inventory script.</p>
<p dir="auto">I have my 'master' AWS account's credentials in ~/.aws/credentials, then I assume a role on another account, and export the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SECRET_TOKEN and AWS_SESSION_TOKEN values it gives me. When I run the inventory script (which I have updated from latest devel, as of now) I get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: "Authentication error retrieving ec2 inventory.
- AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment vars found but may not be correct
- Boto configs found at '~/.aws/credentials', but the credentials contained may not be correct", while: getting EC2 instances"><pre class="notranslate"><code class="notranslate">ERROR: "Authentication error retrieving ec2 inventory.
- AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment vars found but may not be correct
- Boto configs found at '~/.aws/credentials', but the credentials contained may not be correct", while: getting EC2 instances
</code></pre></div>
<p dir="auto">I am using the latest inv/ec2.py as of now.</p>
<p dir="auto">Thanks</p> | 1 |
<p dir="auto"><code class="notranslate">test_extract_xi</code> failing for <code class="notranslate">MB_PYTHON_VERSION=3.6 PLAT=i686</code> and <code class="notranslate">MB_PYTHON_VERSION=3.7 PLAT=i686</code></p>
<p dir="auto"><a href="https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/525429182" rel="nofollow">https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/525429182</a><br>
<a href="https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/525429184" rel="nofollow">https://travis-ci.org/MacPython/scikit-learn-wheels/jobs/525429184</a></p> | <p dir="auto">I'm re-posting the issue</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="366643587" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/12273" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/12273/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/12273">#12273</a></p>
<p dir="auto">as its owner no longer works on scikit-learn.</p>
<p dir="auto">Here is a code snippet, fitting 2-cluster Gaussian data (blue) in 1-d with well-separated means. Fitting with mean_concentration_prior set to 0.001 (orange), BayesianGaussianMixture finds the 2 clusters nicely. However, with mean_concentration_prior set to 35, we can clearly see the 2 clusters biased towards mean_prior, which is by default the sample mean of the data.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7442591/56758251-2c5a0b80-6764-11e9-8298-ea0b2ae032ae.png"><img src="https://user-images.githubusercontent.com/7442591/56758251-2c5a0b80-6764-11e9-8298-ea0b2ae032ae.png" alt="prior_effect" style="max-width: 100%;"></a></p>
<p dir="auto">The documentation states</p>
<h1 dir="auto">| mean_precision_prior : float | None, optional.</h1>
<h1 dir="auto">| The precision prior on the mean distribution (Gaussian).</h1>
<h1 dir="auto">| Controls the extend to where means can be placed. Smaller (LARGER??)</h1>
<h1 dir="auto">| values concentrate the means of each clusters around <code class="notranslate">mean_prior</code>.</h1>
<h1 dir="auto">| The value of the parameter must be greater than 0.</h1>
<h1 dir="auto">| If it is None, it's set to 1.</h1>
<p dir="auto">while running the code, it seems larger values of mean_precision_prior concentrate the prior around mean_prior.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as _N
from sklearn.mixture import BayesianGaussianMixture
import matplotlib.pyplot as _plt
# generate data - 2-component Gaussian mixture
N1 = 220
N2 = 380
X = _N.empty((N1+N2, 1))
X[0:N1, 0] = 0.1*_N.random.randn(N1)
X[N1:N1+N2, 0] = 5 + 0.1*_N.random.randn(N2) # 2nd cluster well separted from 1st.
# max # of components for finite approx of Dirichlet process
n_components = 4
# example - setting dof_prior and cov. prior to reasonable value
# still produces very wide
# [dof_prior, cov_prior, mean_prec_prior]
prm_sets = [[0.1, 0.1, 0.001],
[0.1, 0.1, 35.]]
# Documentation for mean_prec_prior says small value concentrates around
# mean prior. In this case, I expect the 1st param set to not be able
# to fit the 2 clusters which are well separated.
# However running code shows the opposite.
# Therefore, I believe the documentation should say
# LARGER values concentrate the means of each clusters around `mean_prior`
# | mean_precision_prior : float | None, optional.
# | The precision prior on the mean distribution (Gaussian).
# | Controls the extend to where means can be placed. Smaller (LARGER??)
# | values concentrate the means of each clusters around `mean_prior`.
# | The value of the parameter must be greater than 0.
# | If it is None, it's set to 1.
fig = _plt.figure(figsize=(7, 4))
i_subpl = 0
random_state = 10
BNS=140
# bins for histogram
xbns = _N.linspace(-1, 6, BNS+1)
xms = 0.5*(xbns[0:-1] + xbns[1:])
dx = _N.diff(xbns)[0]
for prm in prm_sets:
i_subpl += 1
occ_cnts, bnsx = _N.histogram(X[:, 0], bins=xbns)
bgm = BayesianGaussianMixture(\
n_components=n_components,\
################ priors
weight_concentration_prior_type="dirichlet_process",\
weight_concentration_prior=0.9,\
degrees_of_freedom_prior=prm[0],\
covariance_prior=_N.array([prm[1]]),\
mean_precision_prior=prm[2],\
################ priors
reg_covar=0, init_params='random',\
max_iter=1500,\
random_state=random_state, covariance_type="diag")
bgm.fit(X)
pcs = bgm.means_.shape[0]
mns_r = bgm.means_.T.reshape((1, pcs))
isd2s_r= bgm.precisions_.T.reshape((1, pcs))
sd2s_r = bgm.covariances_.T.reshape((1, pcs))
xms_r = xms.reshape((BNS, 1))
A = (bgm.weights_ / _N.sqrt(2*_N.pi*sd2s_r)) * dx
occ_x = _N.sum(A*_N.exp(-0.5*(xms_r - mns_r)*(xms_r - mns_r)*isd2s_r), axis=1)
fig.add_subplot(1, 2, i_subpl)
_plt.ylim(0, 0.15)
_plt.plot(xms, occ_cnts/(X.shape[0]))
_plt.plot(xms, occ_x)
_plt.title("[%(dof).1f, %(cov).1f, %(prc).3f]" % {"dof" : prm[0], "cov" : prm[1], "prc" : prm[2]})
_plt.suptitle("[dof prior, cov prior, mn prec prior]")
_plt.savefig("prior_effect.png")"><pre class="notranslate"><code class="notranslate">import numpy as _N
from sklearn.mixture import BayesianGaussianMixture
import matplotlib.pyplot as _plt
# generate data - 2-component Gaussian mixture
N1 = 220
N2 = 380
X = _N.empty((N1+N2, 1))
X[0:N1, 0] = 0.1*_N.random.randn(N1)
X[N1:N1+N2, 0] = 5 + 0.1*_N.random.randn(N2) # 2nd cluster well separted from 1st.
# max # of components for finite approx of Dirichlet process
n_components = 4
# example - setting dof_prior and cov. prior to reasonable value
# still produces very wide
# [dof_prior, cov_prior, mean_prec_prior]
prm_sets = [[0.1, 0.1, 0.001],
[0.1, 0.1, 35.]]
# Documentation for mean_prec_prior says small value concentrates around
# mean prior. In this case, I expect the 1st param set to not be able
# to fit the 2 clusters which are well separated.
# However running code shows the opposite.
# Therefore, I believe the documentation should say
# LARGER values concentrate the means of each clusters around `mean_prior`
# | mean_precision_prior : float | None, optional.
# | The precision prior on the mean distribution (Gaussian).
# | Controls the extend to where means can be placed. Smaller (LARGER??)
# | values concentrate the means of each clusters around `mean_prior`.
# | The value of the parameter must be greater than 0.
# | If it is None, it's set to 1.
fig = _plt.figure(figsize=(7, 4))
i_subpl = 0
random_state = 10
BNS=140
# bins for histogram
xbns = _N.linspace(-1, 6, BNS+1)
xms = 0.5*(xbns[0:-1] + xbns[1:])
dx = _N.diff(xbns)[0]
for prm in prm_sets:
i_subpl += 1
occ_cnts, bnsx = _N.histogram(X[:, 0], bins=xbns)
bgm = BayesianGaussianMixture(\
n_components=n_components,\
################ priors
weight_concentration_prior_type="dirichlet_process",\
weight_concentration_prior=0.9,\
degrees_of_freedom_prior=prm[0],\
covariance_prior=_N.array([prm[1]]),\
mean_precision_prior=prm[2],\
################ priors
reg_covar=0, init_params='random',\
max_iter=1500,\
random_state=random_state, covariance_type="diag")
bgm.fit(X)
pcs = bgm.means_.shape[0]
mns_r = bgm.means_.T.reshape((1, pcs))
isd2s_r= bgm.precisions_.T.reshape((1, pcs))
sd2s_r = bgm.covariances_.T.reshape((1, pcs))
xms_r = xms.reshape((BNS, 1))
A = (bgm.weights_ / _N.sqrt(2*_N.pi*sd2s_r)) * dx
occ_x = _N.sum(A*_N.exp(-0.5*(xms_r - mns_r)*(xms_r - mns_r)*isd2s_r), axis=1)
fig.add_subplot(1, 2, i_subpl)
_plt.ylim(0, 0.15)
_plt.plot(xms, occ_cnts/(X.shape[0]))
_plt.plot(xms, occ_x)
_plt.title("[%(dof).1f, %(cov).1f, %(prc).3f]" % {"dof" : prm[0], "cov" : prm[1], "prc" : prm[2]})
_plt.suptitle("[dof prior, cov prior, mn prec prior]")
_plt.savefig("prior_effect.png")
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">>> import sklearn; sklearn.show_versions()
System:
python: 3.7.1 (default, Dec 14 2018, 13:28:58) [Clang 4.0.1 (tags/RELEASE_401/final)]
executable: /Users/arai/miniconda2/envs/py37/bin/python
machine: Darwin-14.5.0-x86_64-i386-64bit
BLAS:
macros: SCIPY_MKL_H=None, HAVE_CBLAS=None
lib_dirs: /Users/arai/miniconda2/envs/py37/lib
cblas_libs: mkl_rt, pthread
Python deps:
pip: 18.1
setuptools: 40.6.3
sklearn: 0.20.3
numpy: 1.15.4
scipy: 1.1.0
Cython: 0.29.2
pandas: 0.24.1"><pre class="notranslate"><code class="notranslate">>>> import sklearn; sklearn.show_versions()
System:
python: 3.7.1 (default, Dec 14 2018, 13:28:58) [Clang 4.0.1 (tags/RELEASE_401/final)]
executable: /Users/arai/miniconda2/envs/py37/bin/python
machine: Darwin-14.5.0-x86_64-i386-64bit
BLAS:
macros: SCIPY_MKL_H=None, HAVE_CBLAS=None
lib_dirs: /Users/arai/miniconda2/envs/py37/lib
cblas_libs: mkl_rt, pthread
Python deps:
pip: 18.1
setuptools: 40.6.3
sklearn: 0.20.3
numpy: 1.15.4
scipy: 1.1.0
Cython: 0.29.2
pandas: 0.24.1
</code></pre></div> | 0 |
<p dir="auto"><strong>Issue Type:</strong> Bug Report</p>
<p dir="auto"><strong>Ansible Version:</strong> ansible 1.9.3</p>
<p dir="auto"><strong>Environment:</strong> Debian Jessie x64</p>
<p dir="auto"><strong>Summary:</strong></p>
<p dir="auto">Recurrence of issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="43281192" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9074" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9074/hovercard" href="https://github.com/ansible/ansible/issues/9074">#9074</a>. The same steps may be used to reproduce this bug.</p> | <h5 dir="auto">Issue Type: Bug Report</h5>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">root@68b23fe4c544:~/Code/devel/tools/python/atlas# ansible --version<br>
ansible 1.9<br>
configured module search path = /usr/share/ansible:./modules</p>
<p dir="auto">root@68b23fe4c544:/opt/ansible-new# git log -p -1<br>
commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible-modules-core/commit/fb717ffd6c6afece578241fd43dce02e3287fab5/hovercard" href="https://github.com/ansible/ansible-modules-core/commit/fb717ffd6c6afece578241fd43dce02e3287fab5"><tt>fb717ff</tt></a><br>
Merge: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible-modules-core/commit/a68ca90a00ce7f21f4b2f9b961b508f356c1661e/hovercard" href="https://github.com/ansible/ansible-modules-core/commit/a68ca90a00ce7f21f4b2f9b961b508f356c1661e"><tt>a68ca90</tt></a> <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible-modules-core/commit/57c81dfcf7146597b8539a79be16fa03b932cc25/hovercard" href="https://github.com/ansible/ansible-modules-core/commit/57c81dfcf7146597b8539a79be16fa03b932cc25"><tt>57c81df</tt></a><br>
Author: Brian Coca <a href="mailto:[email protected]">[email protected]</a><br>
Date: Fri Mar 6 11:45:07 2015 -0500</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Merge pull request #10345 from emonty/features/openstack-inventory-docs
Add documentation for the new OpenStack Inventory"><pre class="notranslate"><code class="notranslate">Merge pull request #10345 from emonty/features/openstack-inventory-docs
Add documentation for the new OpenStack Inventory
</code></pre></div>
<h5 dir="auto">Environment:</h5>
<p dir="auto">I am running ansible from within a cloudfoundry/lucid64:minbase Docker image. I installed ansible from git.</p>
<p dir="auto">The system that I am orchestrating is a Fedora 15 machine.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Service module tries to use systemctl when it detects the system is using systemd, but the service I am trying to restart is using still using Sys V style init script. Further described ( including a possible fix ) on the ansible developer list ( see <a href="https://groups.google.com/forum/#!topic/ansible-devel/0ml1y6gkmEc" rel="nofollow">https://groups.google.com/forum/#!topic/ansible-devel/0ml1y6gkmEc</a> )</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">On the Fedora 15 system I am managing, auditd and sshd are both Sys V init scripts as well as our custom service init scripts.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: fedora
sudo: yes
tasks:
- service: name=auditd state=restarted enabled=yes"><pre class="notranslate"><code class="notranslate">- hosts: fedora
sudo: yes
tasks:
- service: name=auditd state=restarted enabled=yes
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">I would expect the service module to recognize that the service is not managed by systemd and use rc.local or the init script to manage the service.</p>
<h5 dir="auto">Actual Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [service name=auditd enabled=yes] ***************************************
<10.17.217.203> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO 10.17.217.203
<10.17.217.203> REMOTE_MODULE service name=auditd enabled=yes
<10.17.217.203> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968 && echo $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968'
<10.17.217.203> PUT /tmp/tmpAPdmFn TO /home/sgadmin/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968/service
<10.17.217.203> EXEC /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /home/sgadmin/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968/service'
failed: [10.17.217.203] => {"failed": true}
msg: Error when trying to enable auditd: rc=1 Unit name auditd is not a valid unit name.
Cannot install unit auditd: Invalid argument
FATAL: all hosts have already failed -- aborting"><pre class="notranslate"><code class="notranslate">TASK: [service name=auditd enabled=yes] ***************************************
<10.17.217.203> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO 10.17.217.203
<10.17.217.203> REMOTE_MODULE service name=auditd enabled=yes
<10.17.217.203> EXEC /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968 && echo $HOME/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968'
<10.17.217.203> PUT /tmp/tmpAPdmFn TO /home/sgadmin/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968/service
<10.17.217.203> EXEC /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python /home/sgadmin/.ansible/tmp/ansible-tmp-1425923472.38-164975472934968/service'
failed: [10.17.217.203] => {"failed": true}
msg: Error when trying to enable auditd: rc=1 Unit name auditd is not a valid unit name.
Cannot install unit auditd: Invalid argument
FATAL: all hosts have already failed -- aborting
</code></pre></div> | 1 |
<pre class="notranslate">package p
type F1 func(i int) (i int)
type F2 func(i int, i int) (i int)
type F3 func(i int) (i int, i int)
Compiling this with 6g gives an error "duplicate argument i" for the F2 and F3
lines, but does not give an error for the F1 line. I think that either all or none
should give errors.
My reading of the spec is that none should give errors. The spec does not say anything
about the parameter names in a function type. It is implied that they serve only as
comments. So I think the correct action is to change F2 and F3 to not give errors.
But it would also be OK with me to change the spec and to make F1 give an error.
(Of course all three should and do give an errors when used in a function declaration
rather than a function type declaration.)</pre> | <p dir="auto">by <strong>yunge.fu</strong>:</p>
<pre class="notranslate">When http.Client receives http redirect response, it just copy part of origin Headers,
such as "Referer", for the new Request.
But sometimes people need original or custom Headers, such as UserAgent, by now
http.Client will always use defaultUserAgent.
I think just copy the original Header for the new Request is a better way.
The related code is in:
<a href="http://golang.org/src/pkg/net/http/client.go" rel="nofollow">http://golang.org/src/pkg/net/http/client.go</a>, func doFollowingRedirects()</pre> | 0 |
<p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mattflix/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mattflix">@mattflix</a> on April 24, 2016 10:6</em></p>
<ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: Mac OS 10.11.3</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Create the example project outlined below. (This is a valid program than runs under Node.)</li>
<li>Intellisense for imports within ./index.js does not work.</li>
</ol>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// ./jsconfig.json
{
"compilerOptions": {
"target": "es6",
"module": "commonjs"
}
}"><pre class="notranslate"><code class="notranslate">// ./jsconfig.json
{
"compilerOptions": {
"target": "es6",
"module": "commonjs"
}
}
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// ./index.js
var hello = require('foo');
console.log(hello('world'));"><pre class="notranslate"><code class="notranslate">// ./index.js
var hello = require('foo');
console.log(hello('world'));
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// ./node_modules/foo/index.js
module.exports = function(name) {
return 'hello ' + name;
}"><pre class="notranslate"><code class="notranslate">// ./node_modules/foo/index.js
module.exports = function(name) {
return 'hello ' + name;
}
</code></pre></div>
<p dir="auto">With VS Code opened to the folder designated by the dot (.) in the paths above, there is no meaningful Intellisense provided for symbol "hello" in ./index.js. Why not?</p>
<p dir="auto">I did notice that, if an appropriate ./node_modules/foo/index.d.ts file is added, then Intellisense appears. But, I can't and/or don't want to use a Typescript definition for every module in my program.</p>
<p dir="auto">In any case, TypeScript embellishment is beside the point... I thought VS Code was <em>supposed</em> to provide some minimum useful Intellisense even for plain Javascript, no? The advertised "rich editing support" features for Javascript described at <a href="https://code.visualstudio.com/Docs/languages/javascript" rel="nofollow">https://code.visualstudio.com/Docs/languages/javascript</a> certainly implied as much to me.</p>
<p dir="auto">I mean, the static analysis engine should at least be able to infer that the default export of module "foo" is a function, with a parameter called "name", returning "any", right?</p>
<p dir="auto">Or, do I not understand what the following feature descriptions (quoted from the aforementioned web page) are trying to say?</p>
<blockquote>
<p dir="auto">IntelliSense<br>
The JavaScript Support uses different strategies to provide IntelliSense.</p>
<p dir="auto">IntelliSense based on type inference<br>
JavaScript uses the same inference as TypeScript to determine the type of a value.</p>
<p dir="auto">The following patterns are also recognized:</p>
<p dir="auto">"ES3-style" classes, specified using a constructor function and assignments to the prototype property.<br>
CommonJS-style module patterns, specified as property assignments on the exports object, or assignments to the module.exports property.</p>
</blockquote>
<p dir="auto">The "IntelliSense based on type inference" and "CommonJS-style module patterns" is what initially caught my eye when looking into using VS Code for my Javascript work.</p>
<p dir="auto">But, when I tried the example code shown above, in an attempt to test out both of these features, I could not get them to work even in the simplest of toy projects.</p>
<p dir="auto">Am I doing something wrong?</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="150646334" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/5714" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/5714/hovercard" href="https://github.com/microsoft/vscode/issues/5714">microsoft/vscode#5714</a></em></p> | <p dir="auto"><em>From <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alexandrudima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alexandrudima">@alexandrudima</a> on January 27, 2016 14:48</em></p>
<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="60046420" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript/issues/2218" data-hovercard-type="pull_request" data-hovercard-url="/microsoft/TypeScript/pull/2218/hovercard" href="https://github.com/microsoft/TypeScript/pull/2218">#2218</a></p>
<p dir="auto">File structure:</p>
<ul dir="auto">
<li>node_modules
<ul dir="auto">
<li>something2
<ul dir="auto">
<li>main.js</li>
<li>package.json</li>
</ul>
</li>
</ul>
</li>
<li>consumer.js</li>
</ul>
<p dir="auto"><code class="notranslate">node_modules/something2/main.js</code>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var f = function() {
if (true || true) {
return 5;
}
return '5';
}
exports.x = f();"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-en">f</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">true</span> <span class="pl-c1">||</span> <span class="pl-c1">true</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-c1">5</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s">'5'</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-c1">x</span> <span class="pl-c1">=</span> <span class="pl-en">f</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><code class="notranslate">node_modules/something2/package.json</code>:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"name": "something2",
"version": "0.0.0",
"main": "./main.js"
}"><pre class="notranslate">{
<span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>something2<span class="pl-pds">"</span></span>,
<span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.0.0<span class="pl-pds">"</span></span>,
<span class="pl-ent">"main"</span>: <span class="pl-s"><span class="pl-pds">"</span>./main.js<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto"><code class="notranslate">consumer.js</code></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var s2 = require('something2');
s2."><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">s2</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'something2'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">s2</span><span class="pl-kos">.</span></pre></div>
<blockquote>
<p dir="auto">Observe: <code class="notranslate">x</code> is not suggested for <code class="notranslate">s2</code></p>
</blockquote>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="129165052" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/2459" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/2459/hovercard" href="https://github.com/microsoft/vscode/issues/2459">microsoft/vscode#2459</a></em></p> | 1 |
<p dir="auto">The following code:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pub fn log(x: f64) -> f64
{
let out: f64;
unsafe {
asm!("fldln2
fldl $1
fyl2x" : "=t"(out) : "m"(x));}
out
}"><pre class="notranslate"><span class="pl-k">pub</span> <span class="pl-k">fn</span> <span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">x</span><span class="pl-kos">:</span> <span class="pl-smi">f64</span><span class="pl-kos">)</span> -> <span class="pl-smi">f64</span>
<span class="pl-kos">{</span>
<span class="pl-k">let</span> out<span class="pl-kos">:</span> <span class="pl-smi">f64</span><span class="pl-kos">;</span>
<span class="pl-k">unsafe</span> <span class="pl-kos">{</span>
<span class="pl-en">asm</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"fldln2</span>
<span class="pl-s"> fldl $1</span>
<span class="pl-s"> fyl2x"</span> : <span class="pl-s">"=t"</span><span class="pl-kos">(</span>out<span class="pl-kos">)</span> : <span class="pl-s">"m"</span><span class="pl-kos">(</span>x<span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-kos">}</span>
out
<span class="pl-kos">}</span></pre></div>
<p dir="auto">errors with the message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: couldn't allocate output register for constraint 't' at line 27"><pre class="notranslate"><code class="notranslate">error: couldn't allocate output register for constraint 't' at line 27
</code></pre></div>
<p dir="auto">The constraint <code class="notranslate">t</code> refers to the top of the floating point stack in GCC's inline assembly, and the unsafe guide says our constraints mirror theirs.</p> | <p dir="auto">The <code class="notranslate">sum</code> and <code class="notranslate">product</code> methods are wrappers around <code class="notranslate">fold</code>, but only work with iterators where the element type <code class="notranslate">A</code> directly implements <code class="notranslate">Add<A, A></code>/<code class="notranslate">Mul<A, A></code>. With an iterator of references to numbers, you can do <code class="notranslate">iter().fold(0, |a, b| a + *b)</code>, but with <code class="notranslate">sum</code>/<code class="notranslate">product</code> the elements have to be cloned via <code class="notranslate">map</code> (inefficient for big integers, and uglier than using <code class="notranslate">fold</code>).</p>
<p dir="auto">The <code class="notranslate">to_owned_vec</code> method simply calls <code class="notranslate">collect</code>, and removes the need to specify a type annotation. It's the only method on iterators using a specific container type, which is ugly. A language solution to this problem (partial type hints? <code class="notranslate">collect::<~[_]>()</code>) would be nice.</p>
<p dir="auto">These are good candidates for being marked with a stability warning attribute.</p> | 0 |
<p dir="auto"><strong>Issue Type:</strong> “Bug Report”</p>
<p dir="auto"><strong>Ansible Version</strong>: ansible 1.7.2</p>
<p dir="auto"><strong>Environment:</strong> Fedora/Centos</p>
<p dir="auto"><strong>Summary:</strong></p>
<p dir="auto">In order to configure two servers (backend & frontend) I need to expose the backend variables in order to configure the frontend playbook. After that ansible-playbook is run and no variables defined in group_vars, it doesn't expand the nested variables.</p>
<p dir="auto"><strong>Steps To Reproduce:</strong></p>
<p dir="auto"><em>Create group_vars/all</em></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="backend_version: 2.0.0"><pre class="notranslate"><span class="pl-ent">backend_version</span>: <span class="pl-s">2.0.0</span></pre></div>
<p dir="auto"><em>Create group_vars/backend</em></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="backend_version: 2.3.0
backend_foldername: application
backend_name: "{{ backend_foldername }}-{{ backend_version }}""><pre class="notranslate"><span class="pl-ent">backend_version</span>: <span class="pl-s">2.3.0</span>
<span class="pl-ent">backend_foldername</span>: <span class="pl-s">application</span>
<span class="pl-ent">backend_name</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ backend_foldername }}-{{ backend_version }}<span class="pl-pds">"</span></span></pre></div>
<p dir="auto"><em>Create hosts</em></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="[frontend]
test-server1 backend_server=test-server2
[backend]
test-server2 "><pre class="notranslate"><span class="pl-s">[frontend]</span>
<span class="pl-s">test-server1 backend_server=test-server2 </span>
<span class="pl-s">[backend]</span>
<span class="pl-s">test-server2 </span></pre></div>
<p dir="auto"><em>Create site.yml</em></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
---
- name: Configure and deploy Frontend
hosts: frontend
roles:
- frontend
- name: Configure and deploy Backend
hosts: backend
roles:
- backend"><pre class="notranslate">---
- <span class="pl-ent">name</span>: <span class="pl-s">Configure and deploy Frontend</span>
<span class="pl-ent">hosts</span>: <span class="pl-s">frontend</span>
<span class="pl-ent">roles</span>:
- <span class="pl-s">frontend</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Configure and deploy Backend</span>
<span class="pl-ent">hosts</span>: <span class="pl-s">backend</span>
<span class="pl-ent">roles</span>:
- <span class="pl-s">backend</span></pre></div>
<p dir="auto"><em>Create role/frontend/tasks/main.yml</em></p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
---
- name: Does expand properties
debug: msg={{ hostvars[item]['backend_version'] }}
with_items: backend_server
- name: Does not expand nested properties
debug: msg={{ hostvars[item]['backend_name'] }}
with_items: backend_server"><pre class="notranslate">---
- <span class="pl-ent">name</span>: <span class="pl-s">Does expand properties</span>
<span class="pl-ent">debug</span>: <span class="pl-s">msg={{ hostvars[item]['backend_version'] }}</span>
<span class="pl-ent">with_items</span>: <span class="pl-s">backend_server</span>
- <span class="pl-ent">name</span>: <span class="pl-s">Does not expand nested properties</span>
<span class="pl-ent">debug</span>: <span class="pl-s">msg={{ hostvars[item]['backend_name'] }}</span>
<span class="pl-ent">with_items</span>: <span class="pl-s">backend_server</span></pre></div>
<p dir="auto"><strong>Results:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [Configure and deploy Frontend] ****************
GATHERING FACTS ***************************************************************
ok: [test-server1]
TASK: [frontend | Does expand properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0"
}
TASK: [frontend | Does not expand nested properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": "{{adaptersuite_foldername}}-{{adaptersuite_version}}"
}"><pre class="notranslate"><code class="notranslate">PLAY [Configure and deploy Frontend] ****************
GATHERING FACTS ***************************************************************
ok: [test-server1]
TASK: [frontend | Does expand properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0"
}
TASK: [frontend | Does not expand nested properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": "{{adaptersuite_foldername}}-{{adaptersuite_version}}"
}
</code></pre></div>
<p dir="auto"><strong>Expected Results:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [Configure and deploy Frontend] ****************
GATHERING FACTS ***************************************************************
ok: [test-server1]
TASK: [frontend | Does expand properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0"
}
TASK: [frontend | Does not expand nested properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0-application"
}"><pre class="notranslate"><code class="notranslate">PLAY [Configure and deploy Frontend] ****************
GATHERING FACTS ***************************************************************
ok: [test-server1]
TASK: [frontend | Does expand properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0"
}
TASK: [frontend | Does not expand nested properties] *****************************************************
ok: [test-server1] => (item=test-server2) => {
"item": "test-server2",
"msg": " 2.3.0-application"
}
</code></pre></div>
<p dir="auto">It doesn't expand those nested properties, likely because they aren't part of the visibility of the test-server1. But I guess just using {{ hostvars[item]['backend_name'] }} it will expand those properties...</p>
<p dir="auto">Any ideas?</p> | <h5 dir="auto">Issue Type: Bug Report</h5>
<h5 dir="auto">Ansible Version: ansible 1.7 (devel <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/d0dd4ac10c11cafcb143071cff945e1b27838f86/hovercard" href="https://github.com/ansible/ansible/commit/d0dd4ac10c11cafcb143071cff945e1b27838f86"><tt>d0dd4ac</tt></a>)</h5>
<h5 dir="auto">Environment: N/A</h5>
<h5 dir="auto">Summary:</h5>
<p dir="auto">Values comming from hostvars should go through similar variable expansion process as all the others.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">$ ansible-playbook -i vars_inv hostvars_example.yml</p>
<p dir="auto">vars_inv:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost ansible_connection=local varA="{{ some_var }}"
otherhost ansible_connection=local varA="{{ varB }}" varB="{{ other_var }}""><pre class="notranslate"><code class="notranslate">localhost ansible_connection=local varA="{{ some_var }}"
otherhost ansible_connection=local varA="{{ varB }}" varB="{{ other_var }}"
</code></pre></div>
<p dir="auto">hostvars_example.yml:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: all
gather_facts: no
vars:
some_var: "some value"
other_var: "other value"
tasks:
- debug: "msg='localhost: {{ hostvars['localhost'].varA }}'"
- debug: "msg='otherhost: {{ hostvars['otherhost'].varA }}'""><pre class="notranslate"><code class="notranslate">- hosts: all
gather_facts: no
vars:
some_var: "some value"
other_var: "other value"
tasks:
- debug: "msg='localhost: {{ hostvars['localhost'].varA }}'"
- debug: "msg='otherhost: {{ hostvars['otherhost'].varA }}'"
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [debug msg='localhost: {{hostvars['localhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "localhost: some value"
}
ok: [otherhost] => {
"msg": "localhost: some value"
}
TASK: [debug msg='otherhost: {{hostvars['otherhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "otherhost: other value"
}
ok: [otherhost] => {
"msg": "otherhost: other value"
}"><pre class="notranslate"><code class="notranslate">TASK: [debug msg='localhost: {{hostvars['localhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "localhost: some value"
}
ok: [otherhost] => {
"msg": "localhost: some value"
}
TASK: [debug msg='otherhost: {{hostvars['otherhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "otherhost: other value"
}
ok: [otherhost] => {
"msg": "otherhost: other value"
}
</code></pre></div>
<h5 dir="auto">Actual Results:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [debug msg='localhost: {{hostvars['localhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "localhost: {{some_var}}"
}
ok: [otherhost] => {
"msg": "localhost: {{some_var}}"
}
TASK: [debug msg='otherhost: {{hostvars['otherhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "otherhost: {{varB}}"
}
ok: [otherhost] => {
"msg": "otherhost: {{varB}}"
}"><pre class="notranslate"><code class="notranslate">TASK: [debug msg='localhost: {{hostvars['localhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "localhost: {{some_var}}"
}
ok: [otherhost] => {
"msg": "localhost: {{some_var}}"
}
TASK: [debug msg='otherhost: {{hostvars['otherhost'].varA}}'] *****************
ok: [localhost] => {
"msg": "otherhost: {{varB}}"
}
ok: [otherhost] => {
"msg": "otherhost: {{varB}}"
}
</code></pre></div>
<h5 dir="auto">Other notes:</h5>
<p dir="auto">The expected result above was created with help of the patch below.<br>
I'm afraid it's not usable as is, that's why I'm submitting this as an issue and not a PR - if you think otherwise I'll happily resubmit it as one</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py
index 7848dd1..47772c6 100644
--- a/lib/ansible/utils/template.py
+++ b/lib/ansible/utils/template.py
@@ -139,6 +139,42 @@ def template(basedir, varname, vars, lookup_fatal=True, depth=0, expand_lists=Tr
return varname
+class _jinja2_host_vars(object):
+ '''Wrapper around HostVars to make sure they are templated properly'''
+ def __init__(self, hostvars, vars):
+ self.vars = vars
+ self.hostvars = hostvars
+
+ def __contains__(self, k):
+ return k in self.hostvars
+
+ def __getitem__(self, hostname):
+ return _jinja2_vars(
+ self.vars.basedir,
+ chained_dicts(self.hostvars[hostname], self.vars),
+ self.vars.globals,
+ self.vars.fail_on_undefined)
+
+
+class chained_dicts(object):
+ def __init__(self, *dicts):
+ self.dicts = dicts
+
+ def __contains__(self, k):
+ return any(k in d for d in self.dicts)
+
+ def __getitem__(self, k):
+ for d in self.dicts[:-1]:
+ try:
+ return d[k]
+ except KeyError:
+ pass
+ return self.dicts[-1][k]
+
+ def keys(self):
+ return sorted({k for d in self.dicts for k in d.keys()})
+
+
class _jinja2_vars(object):
'''
Helper class to template all variable content before jinja2 sees it.
@@ -179,7 +215,7 @@ class _jinja2_vars(object):
var = self.vars[varname]
# HostVars is special, return it as-is
if isinstance(var, dict) and type(var) != dict:
- return var
+ return _jinja2_host_vars(var, self)
else:
return template(self.basedir, var, self.vars, fail_on_undefined=self.fail_on_undefined)"><pre class="notranslate"><code class="notranslate">diff --git a/lib/ansible/utils/template.py b/lib/ansible/utils/template.py
index 7848dd1..47772c6 100644
--- a/lib/ansible/utils/template.py
+++ b/lib/ansible/utils/template.py
@@ -139,6 +139,42 @@ def template(basedir, varname, vars, lookup_fatal=True, depth=0, expand_lists=Tr
return varname
+class _jinja2_host_vars(object):
+ '''Wrapper around HostVars to make sure they are templated properly'''
+ def __init__(self, hostvars, vars):
+ self.vars = vars
+ self.hostvars = hostvars
+
+ def __contains__(self, k):
+ return k in self.hostvars
+
+ def __getitem__(self, hostname):
+ return _jinja2_vars(
+ self.vars.basedir,
+ chained_dicts(self.hostvars[hostname], self.vars),
+ self.vars.globals,
+ self.vars.fail_on_undefined)
+
+
+class chained_dicts(object):
+ def __init__(self, *dicts):
+ self.dicts = dicts
+
+ def __contains__(self, k):
+ return any(k in d for d in self.dicts)
+
+ def __getitem__(self, k):
+ for d in self.dicts[:-1]:
+ try:
+ return d[k]
+ except KeyError:
+ pass
+ return self.dicts[-1][k]
+
+ def keys(self):
+ return sorted({k for d in self.dicts for k in d.keys()})
+
+
class _jinja2_vars(object):
'''
Helper class to template all variable content before jinja2 sees it.
@@ -179,7 +215,7 @@ class _jinja2_vars(object):
var = self.vars[varname]
# HostVars is special, return it as-is
if isinstance(var, dict) and type(var) != dict:
- return var
+ return _jinja2_host_vars(var, self)
else:
return template(self.basedir, var, self.vars, fail_on_undefined=self.fail_on_undefined)
</code></pre></div> | 1 |
<p dir="auto">In one application I am having a second twig environment where I only use a different loader, to be precise a string loader for some advance rendering. In the second environment I want to be able to leverage the same options to have access to the same settings as in the main environment.</p>
<p dir="auto">Therefore I had this service definition:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" app.core.twig_string_loader:
class: "Twig_Loader_String"
app.core.twig_string:
class: "%twig.class%"
arguments: [@app.core.twig_string_loader, %twig.options%]"><pre class="notranslate"> app.core.twig_string_loader:
<span class="pl-k">class</span>: "<span class="pl-s">Twig_Loader_String</span>"
app.core.twig_string:
<span class="pl-k">class</span>: "<span class="pl-s">%twig.class%</span>"
arguments: [@app.core.twig_string_loader, %twig.options%]</pre></div>
<p dir="auto">Actually it seems that many were using this parameter in their application. A GitHub search shows 3.855 occurences for the term "%twig.options%".</p>
<p dir="auto">I understand as per <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="54976062" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/13476" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/13476/hovercard" href="https://github.com/symfony/symfony/pull/13476">#13476</a> that there is no BC promise on parameters, however as it looks like there were many using that parameter at least we should state a recommended upgrade path in the upgrade documentation.</p> | <p dir="auto">Related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4242344" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4087" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/4087/hovercard" href="https://github.com/symfony/symfony/issues/4087">#4087</a></p>
<p dir="auto">I encountered kind of the same issue today.</p>
<p dir="auto">Here is the inheritance scheme of my use case:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FOSUser
└─ User
├─ Customer
└─ Society"><pre class="notranslate"><code class="notranslate">FOSUser
└─ User
├─ Customer
└─ Society
</code></pre></div>
<p dir="auto">The <code class="notranslate">BaseUser</code>, handled by <code class="notranslate">FOSUserBundle</code>, defines an <code class="notranslate">UniqueEntity</code> constraint on both <code class="notranslate">emailCanonical</code> and <code class="notranslate">usernameCanonical</code> fields. But this constraint use the entity repository depending of the real child type of the user I want to register (i.e <code class="notranslate">CustomerRepository</code> when trying to register a new <code class="notranslate">Customer</code>).</p>
<p dir="auto">Therefore, trying to register a new <code class="notranslate">Customer</code> with the same email or username as a <code class="notranslate">Society</code> will not fail the validation, but fails at database level.</p>
<p dir="auto">Given the fact that a new <code class="notranslate">repositoryMethod</code> option was added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5713336" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4979" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/4979/hovercard" href="https://github.com/symfony/symfony/pull/4979">#4979</a>, an easy workaround is to create a dedicated method in both Customer and Society repositories, calling internally the <code class="notranslate">UserRepository</code>, as for example:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# CustomerRepository | SocietyRepository
/**
* @param array $criteria
* @return array
*/
public function findByInRootUser(array $criteria)
{
return $this->_em->getRepository('ACMEUserBundle:User')
->findBy($criteria);
}"><pre class="notranslate"><span class="pl-c"># CustomerRepository | SocietyRepository</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * @param array $criteria</span>
<span class="pl-c"> * @return array</span>
<span class="pl-c"> */</span>
<span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">findByInRootUser</span>(<span class="pl-smi">array</span> <span class="pl-s1"><span class="pl-c1">$</span>criteria</span>)
{
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">_em</span>-><span class="pl-en">getRepository</span>(<span class="pl-s">'ACMEUserBundle:User'</span>)
-><span class="pl-en">findBy</span>(<span class="pl-s1"><span class="pl-c1">$</span>criteria</span>);
}</pre></div>
<p dir="auto">and use it in <code class="notranslate">UniqueEntity</code> constraint definition in both entities :</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#ACME\UserBundle\Entity\Customer
/**
* @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\CustomerRepository")
*
* @UniqueEntity(fields="usernameCanonical", repositoryMethod="findByInRootUser",
* message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})
* @UniqueEntity(fields="emailCanonical", repositoryMethod="findByInRootUser",
* message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})
*
*/
class Customer extends User
{
}
#ACME\UserBundle\Entity\Society
/**
* @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\SocietyRepository")
*
* @UniqueEntity(fields="usernameCanonical", repositoryMethod="findByInRootUser",
* message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})
* @UniqueEntity(fields="emailCanonical", repositoryMethod="findByInRootUser",
* message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})
*
*/
class Society extends User
{
}
"><pre class="notranslate"><span class="pl-c">#ACME\UserBundle\Entity\Customer</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\CustomerRepository")</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @UniqueEntity(fields="usernameCanonical", repositoryMethod="findByInRootUser",</span>
<span class="pl-c"> * message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})</span>
<span class="pl-c"> * @UniqueEntity(fields="emailCanonical", repositoryMethod="findByInRootUser",</span>
<span class="pl-c"> * message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})</span>
<span class="pl-c"> *</span>
<span class="pl-c"> */</span>
<span class="pl-k">class</span> <span class="pl-v">Customer</span> <span class="pl-k">extends</span> <span class="pl-v">User</span>
{
}
<span class="pl-c">#ACME\UserBundle\Entity\Society</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\SocietyRepository")</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @UniqueEntity(fields="usernameCanonical", repositoryMethod="findByInRootUser",</span>
<span class="pl-c"> * message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})</span>
<span class="pl-c"> * @UniqueEntity(fields="emailCanonical", repositoryMethod="findByInRootUser",</span>
<span class="pl-c"> * message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})</span>
<span class="pl-c"> *</span>
<span class="pl-c"> */</span>
<span class="pl-k">class</span> <span class="pl-v">Society</span> <span class="pl-k">extends</span> <span class="pl-v">User</span>
{
}</pre></div>
<p dir="auto">Although it works, this induces useless code duplication (beside the fact that the FOSUser defined constraints are useless, but triggered, because we cannot overload the <code class="notranslate">validation/orm.xml</code>. But that is another story :) )<br>
I certainly could have define the <code class="notranslate">UniqueEntity</code> constraint into my own <code class="notranslate">User</code> class. But then, when adding a new user type, I must not forget to create the <code class="notranslate">findByInRootUser</code> method into the new repository (or create a repository class to extend).</p>
<p dir="auto">Here comes my suggestion:<br>
Add a <code class="notranslate">repository</code> option to the <code class="notranslate">UniqueEntity</code> validator.</p>
<p dir="auto">This will ensure the proper repository will be used by the constraint, and I could define it only at the <code class="notranslate">User</code> entity level:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#ACME\UserBundle\Entity\User
/**
* @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\UserRepository")
*
* @UniqueEntity(fields="usernameCanonical", repository="ACME\UserBundle\Entity\Repositories\UserRepository",
* message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})
* @UniqueEntity(fields="emailCanonical", repository="ACME\UserBundle\Entity\Repositories\UserRepository",
* message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})
*
*/
class User extends FOSUser
{
}"><pre class="notranslate"><span class="pl-c">#ACME\UserBundle\Entity\User</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * @ORM\Entity(repositoryClass="ACME\UserBundle\Entity\Repositories\UserRepository")</span>
<span class="pl-c"> *</span>
<span class="pl-c"> * @UniqueEntity(fields="usernameCanonical", repository="ACME\UserBundle\Entity\Repositories\UserRepository",</span>
<span class="pl-c"> * message="fos_user.username.already_used", errorPath="username", groups={"Registration", "Profile"})</span>
<span class="pl-c"> * @UniqueEntity(fields="emailCanonical", repository="ACME\UserBundle\Entity\Repositories\UserRepository",</span>
<span class="pl-c"> * message="fos_user.email.already_used", errorPath="email", groups={"Registration", "Profile"})</span>
<span class="pl-c"> *</span>
<span class="pl-c"> */</span>
<span class="pl-k">class</span> <span class="pl-v">User</span> <span class="pl-k">extends</span> <span class="pl-v">FOSUser</span>
{
}</pre></div>
<p dir="auto">If a value for the <code class="notranslate">repository</code> option isn't provided, the behavior remains the same: The <code class="notranslate">UniqueConstraintValidator</code> will get the repository from the real class at runtime.<br>
Do you see any issue with that approach ?</p>
<p dir="auto">I'm not sure of the component ability to guess the class on which the constraint was defined, but if it is possible, it could not be considered, because of the BC promise. That's why a suggested another approach.<br>
Maybe for the 3.0 ? But it might lead to more unwanted behaviors than benefits.</p> | 0 |
<p dir="auto">I am getting the same errors as I can see in old threads of discussions. But I don't see any solution. why is it still not resolved ?</p>
<p dir="auto">LINK 2019 unresolved external symbol "double __cdecl cvGetPropVsync_W32(char const *)" (?cvGetPropVsync_W32@@YANPEBD@Z) referenced in function cvGetWindowProperty etc</p> | <h5 dir="auto">System information (version)</h5>
<ul dir="auto">
<li>OpenCV => 2.4.13.2</li>
<li>Operating System / Platform => Ubuntu 14.04 64-bit</li>
<li>Compiler => g++ (Ubuntu 4.8.5-4ubuntu8~14.04.2) 4.8.5</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">When resize CV_16UC3 image of a constant color with INTER_LINEAR, the resized image had shuffled channel values.</p>
<p dir="auto">original image with size 8x4<br>
[10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000]</p>
<p dir="auto">resized image with size 16x8<br>
[10000, 20000, 30000, <strong>10000, 30000, 10000,</strong> 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000;<br>
10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 10000, 20000, 30000, 10000, 30000, 10000, 20000, 30000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000, 10000, 20000, 30000]</p>
<p dir="auto">Notice how the bolded pixel is not [10000, 20000, 30000], as it should have been.</p>
<p dir="auto">Resize does not have this problem when interpolation is set to INTER_NEAREST. Or when image type is CV_8UC3, or CV_16UC4.</p>
<h5 dir="auto">Steps to reproduce</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="int main(int argc, char** argv) {
int width = 8;
int height = 4;
constexpr int kBlueVal = 30000, kGreenVal = 20000, kRedVal = 10000;
cv::Vec<uint16_t, 3>* multi_channel_row_ptr;
cv::Mat image(height, width, CV_16UC3);
for (int row = 0; row < height; ++row) {
multi_channel_row_ptr = image.ptr<cv::Vec<uint16_t, 3> >(row);
for (int col = 0; col < width; ++col) {
multi_channel_row_ptr[col] = cv::Vec<uint16_t, 3>(kRedVal, kGreenVal, kBlueVal);
}
}
cv::Mat big_image(2*height, 2*width, image.type());
std::cout << image << std::endl;
cv::resize(image, big_image, big_image.size(), 0, 0, cv::INTER_LINEAR);
std::cout << big_image << std::endl;
cv::imshow("image", image);
cv::imshow("big_image", big_image);
cv::waitKey(0);
return 0;
}"><pre class="notranslate"><code class="notranslate">int main(int argc, char** argv) {
int width = 8;
int height = 4;
constexpr int kBlueVal = 30000, kGreenVal = 20000, kRedVal = 10000;
cv::Vec<uint16_t, 3>* multi_channel_row_ptr;
cv::Mat image(height, width, CV_16UC3);
for (int row = 0; row < height; ++row) {
multi_channel_row_ptr = image.ptr<cv::Vec<uint16_t, 3> >(row);
for (int col = 0; col < width; ++col) {
multi_channel_row_ptr[col] = cv::Vec<uint16_t, 3>(kRedVal, kGreenVal, kBlueVal);
}
}
cv::Mat big_image(2*height, 2*width, image.type());
std::cout << image << std::endl;
cv::resize(image, big_image, big_image.size(), 0, 0, cv::INTER_LINEAR);
std::cout << big_image << std::endl;
cv::imshow("image", image);
cv::imshow("big_image", big_image);
cv::waitKey(0);
return 0;
}
</code></pre></div> | 0 |
<p dir="auto">As reported by someone who tried this yesterday on Android. Confirmed on both Android N and Android O.</p>
<p dir="auto">This was the chunk of code that when added, lead to the exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// Modify the _buildTextComposer method with the code below to define the
// send button.
// ...
new Container( //new
margin: new EdgeInsets.symmetric(horizontal: 4.0), //new
child: new IconButton( //new
icon: new Icon(Icons.send),
onPressed: () => _handleSubmitted(_textController.text)),//new
), "><pre class="notranslate"><code class="notranslate">// Modify the _buildTextComposer method with the code below to define the
// send button.
// ...
new Container( //new
margin: new EdgeInsets.symmetric(horizontal: 4.0), //new
child: new IconButton( //new
icon: new Icon(Icons.send),
onPressed: () => _handleSubmitted(_textController.text)),//new
),
</code></pre></div>
<p dir="auto">After this step in the codelab, the user can type into the text field, but when they hit the arrow button, they get this exception:</p>
<p dir="auto">here's the log from adb logcat from Android N 7.1.2:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="06-16 15:09:41.380 29675 29751 W GAv4 : Discarding hit. Too many hits sent too quickly, rate limiting invoked: sr=1080x1794,sf=100.0,ec=sync,ev=0,cid=6aeba2c7-3c46-492c-91a4-e84f0b5e5dae,_v=ma10.2.98,av=1.7.232.05.40,aip=1,v=1,a=1129632470,an=Slides,ul=en-us,t=event,tid=UA-21125203-7,aiid=com.android.vending,ea=entriesChanged,aid=com.google.android.apps.docs.editors.slides,el=null
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: Failed to handle method call
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.Selection.setSelection(Selection.java:76)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.MessageQueue.nativePollOnce(Native Method)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.MessageQueue.next(MessageQueue.java:323)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.Looper.loop(Looper.java:136)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.app.ActivityThread.main(ActivityThread.java:6121)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at java.lang.reflect.Method.invoke(Native Method)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-16 15:09:42.277 29524 29544 I flutter : ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
06-16 15:09:42.295 29524 29544 I flutter : The following assertion was thrown during paint():
06-16 15:09:42.295 29524 29544 I flutter : 'package:flutter/src/rendering/object.dart': Failed assertion: line 2110: 'owner == null ||
06-16 15:09:42.295 29524 29544 I flutter : !owner.debugDoingPaint': is not true.
06-16 15:09:42.302 29524 29544 I flutter :
06-16 15:09:42.302 29524 29544 I flutter : Either the assertion indicates an error in the framework itself, or we should provide substantially
06-16 15:09:42.302 29524 29544 I flutter : more information in this error message to help you determine and fix the underlying cause.
06-16 15:09:42.303 29524 29544 I flutter : In either case, please report this assertion by filing a bug on GitHub:
06-16 15:09:42.303 29524 29544 I flutter : https://github.com/flutter/flutter/issues/new
06-16 15:09:42.303 29524 29544 I flutter :
06-16 15:09:42.303 29524 29544 I flutter : When the exception was thrown, this was the stack:
06-16 15:09:42.311 29524 29544 I flutter : #2 RenderObject.markNeedsPaint (package:flutter/src/rendering/object.dart:2110)
06-16 15:09:42.312 29524 29544 I flutter : #3 _RenderInkFeatures._didChangeLayout (package:flutter/src/material/material.dart:315)
06-16 15:09:42.312 29524 29544 I flutter : #4 _MaterialState.build.<anonymous closure> (package:flutter/src/material/material.dart:228)
06-16 15:09:42.312 29524 29544 I flutter : #5 NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:110)
06-16 15:09:42.312 29524 29544 I flutter : #6 Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:43)
06-16 15:09:42.312 29524 29544 I flutter : #7 LayoutChangedNotification&ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:36)
06-16 15:09:42.312 29524 29544 I flutter : #8 Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3103)
06-16 15:09:42.312 29524 29544 I flutter : #9 Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:57)
06-16 15:09:42.312 29524 29544 I flutter : #10 ScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:90)
06-16 15:09:42.312 29524 29544 I flutter : #11 ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:543)
06-16 15:09:42.312 29524 29544 I flutter : #12 ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:535)
06-16 15:09:42.312 29524 29544 I flutter : #13 ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:119)
06-16 15:09:42.312 29524 29544 I flutter : #14 ScrollPositionWithSingleContext.animateTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:186)
06-16 15:09:42.312 29524 29544 I flutter : #15 ScrollController.animateTo (package:flutter/src/widgets/scroll_controller.dart:143)
06-16 15:09:42.312 29524 29544 I flutter : #16 EditableTextState._handleCaretChanged (package:flutter/src/widgets/editable_text.dart:463)
06-16 15:09:42.312 29524 29544 I flutter : #17 RenderEditable._paintCaret (package:flutter/src/rendering/editable.dart:497)
06-16 15:09:42.312 29524 29544 I flutter : #18 RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:515)
06-16 15:09:42.312 29524 29544 I flutter : #19 RenderEditable.paint (package:flutter/src/rendering/editable.dart:531)
06-16 15:09:42.312 29524 29544 I flutter : #20 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #21 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #22 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #23 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #24 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #25 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #26 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #27 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #28 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #29 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #30 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #31 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #32 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #33 PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96)
06-16 15:09:42.313 29524 29544 I flutter : #34 PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1085)
06-16 15:09:42.313 29524 29544 I flutter : #35 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:253)
06-16 15:09:42.313 29524 29544 I flutter : #36 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:504)
06-16 15:09:42.313 29524 29544 I flutter : #37 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189)
06-16 15:09:42.314 29524 29544 I flutter : #38 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:688)
06-16 15:09:42.314 29524 29544 I flutter : #39 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:636)
06-16 15:09:42.314 29524 29544 I flutter : #40 _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:70)
06-16 15:09:42.314 29524 29544 I flutter : (elided 2 frames from class _AssertionError)
06-16 15:09:42.334 29524 29544 I flutter :
06-16 15:09:42.334 29524 29544 I flutter : The following RenderObject was being processed when the exception was fired:
06-16 15:09:42.334 29524 29544 I flutter : RenderEditable#1023788513 relayoutBoundary=up14
06-16 15:09:42.334 29524 29544 I flutter : creator: _Editable ← _ScrollableScope ← IgnorePointer-[GlobalKey#548512129] ← Listener ←
06-16 15:09:42.334 29524 29544 I flutter : _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#404540233] ←
06-16 15:09:42.334 29524 29544 I flutter : RepaintBoundary ← CustomPaint ← RepaintBoundary ← NotificationListener<ScrollNotification> ←
06-16 15:09:42.334 29524 29544 I flutter : GlowingOverscrollIndicator ← Scrollable ← ⋯
06-16 15:09:42.334 29524 29544 I flutter : parentData: <none> (can use size)
06-16 15:09:42.334 29524 29544 I flutter : constraints: BoxConstraints(w=339.4, 0.0<=h<=321.1)
06-16 15:09:42.334 29524 29544 I flutter : size: Size(339.4, 38.0)
06-16 15:09:42.334 29524 29544 I flutter : cursorColor: Color(0xff90caf9)
06-16 15:09:42.334 29524 29544 I flutter : showCursor: ValueNotifier<bool>#369763540(true)
06-16 15:09:42.334 29524 29544 I flutter : maxLines: 2
06-16 15:09:42.334 29524 29544 I flutter : selectionColor: Color(0xff90caf9)
06-16 15:09:42.334 29524 29544 I flutter : textScaleFactor: 1.0
06-16 15:09:42.334 29524 29544 I flutter : selection: TextSelection(baseOffset: -1, extentOffset: -1, affinity: TextAffinity.downstream,
06-16 15:09:42.334 29524 29544 I flutter : isDirectional: false)
06-16 15:09:42.334 29524 29544 I flutter : offset: ScrollPositionWithSingleContext#309474994(offset: 0.0, range: 0.0..0.0, viewport: 38.0,
06-16 15:09:42.334 29524 29544 I flutter : ScrollableState, ClampingScrollPhysics -> ClampingScrollPhysics,
06-16 15:09:42.334 29524 29544 I flutter : DrivenScrollActivity#359018454(AnimationController#111705517(▶ 0.000; for DrivenScrollActivity)),
06-16 15:09:42.334 29524 29544 I flutter : ScrollDirection.idle)
06-16 15:09:42.334 29524 29544 I flutter : This RenderObject has no descendants.
06-16 15:09:42.334 29524 29544 I flutter : ════════════════════════════════════════════════════════════════════════════════════════════════════
06-16 15:09:42.345 29524 29544 E flutter : [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
06-16 15:09:42.345 29524 29544 E flutter : PlatformException(error, setSpan (-1 ... -1) starts before 0, null)
06-16 15:09:42.345 29524 29544 E flutter : #0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:145)
06-16 15:09:42.345 29524 29544 E flutter : #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154)
06-16 15:09:42.345 29524 29544 E flutter : <asynchronous suspension>
06-16 15:09:42.345 29524 29544 E flutter : #2 OptionalMethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:228)
06-16 15:09:42.345 29524 29544 E flutter : <asynchronous suspension>
06-16 15:09:42.345 29524 29544 E flutter : #3 TextInputConnection.setEditingState (package:flutter/src/services/text_input.dart:248)
06-16 15:09:42.345 29524 29544 E flutter : #4 EditableTextState._updateRemoteEditingValueIfNeeded (package:flutter/src/widgets/editable_text.dart:342)
06-16 15:09:42.345 29524 29544 E flutter : #5 EditableTextState._didChangeTextEditingValue (package:flutter/src/widgets/editable_text.dart:516)
06-16 15:09:42.345 29524 29544 E flutter : #6 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:129)
06-16 15:09:42.345 29524 29544 E flutter : #7 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:184)
06-16 15:09:42.345 29524 29544 E flutter : #8 TextEditingController.clear (package:flutter/src/widgets/editable_text.dart:95)
06-16 15:09:42.345 29524 29544 E flutter : #9 ChatScreenState._handleSubmitted (file:///Users/nasir/flutter-work/my_friendlychat/lib/main.dart:67)
06-16 15:09:42.345 29524 29544 E flutter : #10 ChatScreenState._buildTextComposer.<anonymous closure> (file:///Users/nasir/flutter-work/my_friendlychat/lib/main.dart:58)
06-16 15:09:42.345 29524 29544 E flutter : #11 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:229)
06-16 15:09:42.345 29524 29544 E flutter : #12 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:67)
06-16 15:09:42.345 29524 29544 E flutter : #13 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:149)
06-16 15:09:42.345 29524 29544 E flutter : #14 TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:92)
06-16 15:09:42.345 29524 29544 E flutter : #15 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:268)
06-16 15:09:42.345 29524 29544 E flutter : #16 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73)
06-16 15:09:42.345 29524 29544 E flutter : #17 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101)
06-16 15:09:42.345 29524 29544 E flutter : #18 BindingBase&SchedulerBinding&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:127)
06-16 15:09:42.345 29524 29544 E flutter : #19 BindingBase&SchedulerBinding&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:105)
06-16 15:09:42.345 29524 29544 E flutter : #20 BindingBase&SchedulerBinding&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:86)
06-16 15:09:42.345 29524 29544 E flutter : #21 BindingBase&SchedulerBinding&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:45)
06-16 15:09:42.345 29524 29544 E flutter : #22 BindingBase&SchedulerBinding&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:38)
06-16 15:09:42.345 29524 29544 E flutter : #23 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:55)
06-16 15:09:44.684 1058 1068 I art : Background sticky concurrent mark sweep GC freed 71424(4MB) AllocSpace objects, 42(4MB) LOS objects, 14% free, 50MB/59MB, paused 2.829ms total 102.627ms
06-16 15:09:44.862 29675 29874 W JSVM : JSVM cleanup: hasContext=true, isCleaned=false
"><pre class="notranslate"><code class="notranslate">06-16 15:09:41.380 29675 29751 W GAv4 : Discarding hit. Too many hits sent too quickly, rate limiting invoked: sr=1080x1794,sf=100.0,ec=sync,ev=0,cid=6aeba2c7-3c46-492c-91a4-e84f0b5e5dae,_v=ma10.2.98,av=1.7.232.05.40,aip=1,v=1,a=1129632470,an=Slides,ul=en-us,t=event,tid=UA-21125203-7,aiid=com.android.vending,ea=entriesChanged,aid=com.google.android.apps.docs.editors.slides,el=null
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: Failed to handle method call
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.text.Selection.setSelection(Selection.java:76)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.MessageQueue.nativePollOnce(Native Method)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.MessageQueue.next(MessageQueue.java:323)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.os.Looper.loop(Looper.java:136)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at android.app.ActivityThread.main(ActivityThread.java:6121)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at java.lang.reflect.Method.invoke(Native Method)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-16 15:09:42.255 29524 29524 E MethodChannel#flutter/textinput: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-16 15:09:42.277 29524 29544 I flutter : ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
06-16 15:09:42.295 29524 29544 I flutter : The following assertion was thrown during paint():
06-16 15:09:42.295 29524 29544 I flutter : 'package:flutter/src/rendering/object.dart': Failed assertion: line 2110: 'owner == null ||
06-16 15:09:42.295 29524 29544 I flutter : !owner.debugDoingPaint': is not true.
06-16 15:09:42.302 29524 29544 I flutter :
06-16 15:09:42.302 29524 29544 I flutter : Either the assertion indicates an error in the framework itself, or we should provide substantially
06-16 15:09:42.302 29524 29544 I flutter : more information in this error message to help you determine and fix the underlying cause.
06-16 15:09:42.303 29524 29544 I flutter : In either case, please report this assertion by filing a bug on GitHub:
06-16 15:09:42.303 29524 29544 I flutter : https://github.com/flutter/flutter/issues/new
06-16 15:09:42.303 29524 29544 I flutter :
06-16 15:09:42.303 29524 29544 I flutter : When the exception was thrown, this was the stack:
06-16 15:09:42.311 29524 29544 I flutter : #2 RenderObject.markNeedsPaint (package:flutter/src/rendering/object.dart:2110)
06-16 15:09:42.312 29524 29544 I flutter : #3 _RenderInkFeatures._didChangeLayout (package:flutter/src/material/material.dart:315)
06-16 15:09:42.312 29524 29544 I flutter : #4 _MaterialState.build.<anonymous closure> (package:flutter/src/material/material.dart:228)
06-16 15:09:42.312 29524 29544 I flutter : #5 NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:110)
06-16 15:09:42.312 29524 29544 I flutter : #6 Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:43)
06-16 15:09:42.312 29524 29544 I flutter : #7 LayoutChangedNotification&ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:36)
06-16 15:09:42.312 29524 29544 I flutter : #8 Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3103)
06-16 15:09:42.312 29524 29544 I flutter : #9 Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:57)
06-16 15:09:42.312 29524 29544 I flutter : #10 ScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:90)
06-16 15:09:42.312 29524 29544 I flutter : #11 ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:543)
06-16 15:09:42.312 29524 29544 I flutter : #12 ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:535)
06-16 15:09:42.312 29524 29544 I flutter : #13 ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:119)
06-16 15:09:42.312 29524 29544 I flutter : #14 ScrollPositionWithSingleContext.animateTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:186)
06-16 15:09:42.312 29524 29544 I flutter : #15 ScrollController.animateTo (package:flutter/src/widgets/scroll_controller.dart:143)
06-16 15:09:42.312 29524 29544 I flutter : #16 EditableTextState._handleCaretChanged (package:flutter/src/widgets/editable_text.dart:463)
06-16 15:09:42.312 29524 29544 I flutter : #17 RenderEditable._paintCaret (package:flutter/src/rendering/editable.dart:497)
06-16 15:09:42.312 29524 29544 I flutter : #18 RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:515)
06-16 15:09:42.312 29524 29544 I flutter : #19 RenderEditable.paint (package:flutter/src/rendering/editable.dart:531)
06-16 15:09:42.312 29524 29544 I flutter : #20 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #21 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #22 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #23 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #24 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #25 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #26 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #27 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #28 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #29 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #30 PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)
06-16 15:09:42.313 29524 29544 I flutter : #31 RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)
06-16 15:09:42.313 29524 29544 I flutter : #32 RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)
06-16 15:09:42.313 29524 29544 I flutter : #33 PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96)
06-16 15:09:42.313 29524 29544 I flutter : #34 PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1085)
06-16 15:09:42.313 29524 29544 I flutter : #35 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:253)
06-16 15:09:42.313 29524 29544 I flutter : #36 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:504)
06-16 15:09:42.313 29524 29544 I flutter : #37 BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189)
06-16 15:09:42.314 29524 29544 I flutter : #38 BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:688)
06-16 15:09:42.314 29524 29544 I flutter : #39 BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:636)
06-16 15:09:42.314 29524 29544 I flutter : #40 _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:70)
06-16 15:09:42.314 29524 29544 I flutter : (elided 2 frames from class _AssertionError)
06-16 15:09:42.334 29524 29544 I flutter :
06-16 15:09:42.334 29524 29544 I flutter : The following RenderObject was being processed when the exception was fired:
06-16 15:09:42.334 29524 29544 I flutter : RenderEditable#1023788513 relayoutBoundary=up14
06-16 15:09:42.334 29524 29544 I flutter : creator: _Editable ← _ScrollableScope ← IgnorePointer-[GlobalKey#548512129] ← Listener ←
06-16 15:09:42.334 29524 29544 I flutter : _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#404540233] ←
06-16 15:09:42.334 29524 29544 I flutter : RepaintBoundary ← CustomPaint ← RepaintBoundary ← NotificationListener<ScrollNotification> ←
06-16 15:09:42.334 29524 29544 I flutter : GlowingOverscrollIndicator ← Scrollable ← ⋯
06-16 15:09:42.334 29524 29544 I flutter : parentData: <none> (can use size)
06-16 15:09:42.334 29524 29544 I flutter : constraints: BoxConstraints(w=339.4, 0.0<=h<=321.1)
06-16 15:09:42.334 29524 29544 I flutter : size: Size(339.4, 38.0)
06-16 15:09:42.334 29524 29544 I flutter : cursorColor: Color(0xff90caf9)
06-16 15:09:42.334 29524 29544 I flutter : showCursor: ValueNotifier<bool>#369763540(true)
06-16 15:09:42.334 29524 29544 I flutter : maxLines: 2
06-16 15:09:42.334 29524 29544 I flutter : selectionColor: Color(0xff90caf9)
06-16 15:09:42.334 29524 29544 I flutter : textScaleFactor: 1.0
06-16 15:09:42.334 29524 29544 I flutter : selection: TextSelection(baseOffset: -1, extentOffset: -1, affinity: TextAffinity.downstream,
06-16 15:09:42.334 29524 29544 I flutter : isDirectional: false)
06-16 15:09:42.334 29524 29544 I flutter : offset: ScrollPositionWithSingleContext#309474994(offset: 0.0, range: 0.0..0.0, viewport: 38.0,
06-16 15:09:42.334 29524 29544 I flutter : ScrollableState, ClampingScrollPhysics -> ClampingScrollPhysics,
06-16 15:09:42.334 29524 29544 I flutter : DrivenScrollActivity#359018454(AnimationController#111705517(▶ 0.000; for DrivenScrollActivity)),
06-16 15:09:42.334 29524 29544 I flutter : ScrollDirection.idle)
06-16 15:09:42.334 29524 29544 I flutter : This RenderObject has no descendants.
06-16 15:09:42.334 29524 29544 I flutter : ════════════════════════════════════════════════════════════════════════════════════════════════════
06-16 15:09:42.345 29524 29544 E flutter : [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
06-16 15:09:42.345 29524 29544 E flutter : PlatformException(error, setSpan (-1 ... -1) starts before 0, null)
06-16 15:09:42.345 29524 29544 E flutter : #0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:145)
06-16 15:09:42.345 29524 29544 E flutter : #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:154)
06-16 15:09:42.345 29524 29544 E flutter : <asynchronous suspension>
06-16 15:09:42.345 29524 29544 E flutter : #2 OptionalMethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:228)
06-16 15:09:42.345 29524 29544 E flutter : <asynchronous suspension>
06-16 15:09:42.345 29524 29544 E flutter : #3 TextInputConnection.setEditingState (package:flutter/src/services/text_input.dart:248)
06-16 15:09:42.345 29524 29544 E flutter : #4 EditableTextState._updateRemoteEditingValueIfNeeded (package:flutter/src/widgets/editable_text.dart:342)
06-16 15:09:42.345 29524 29544 E flutter : #5 EditableTextState._didChangeTextEditingValue (package:flutter/src/widgets/editable_text.dart:516)
06-16 15:09:42.345 29524 29544 E flutter : #6 ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:129)
06-16 15:09:42.345 29524 29544 E flutter : #7 ValueNotifier.value= (package:flutter/src/foundation/change_notifier.dart:184)
06-16 15:09:42.345 29524 29544 E flutter : #8 TextEditingController.clear (package:flutter/src/widgets/editable_text.dart:95)
06-16 15:09:42.345 29524 29544 E flutter : #9 ChatScreenState._handleSubmitted (file:///Users/nasir/flutter-work/my_friendlychat/lib/main.dart:67)
06-16 15:09:42.345 29524 29544 E flutter : #10 ChatScreenState._buildTextComposer.<anonymous closure> (file:///Users/nasir/flutter-work/my_friendlychat/lib/main.dart:58)
06-16 15:09:42.345 29524 29544 E flutter : #11 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:229)
06-16 15:09:42.345 29524 29544 E flutter : #12 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:67)
06-16 15:09:42.345 29524 29544 E flutter : #13 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:149)
06-16 15:09:42.345 29524 29544 E flutter : #14 TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:92)
06-16 15:09:42.345 29524 29544 E flutter : #15 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:268)
06-16 15:09:42.345 29524 29544 E flutter : #16 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73)
06-16 15:09:42.345 29524 29544 E flutter : #17 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101)
06-16 15:09:42.345 29524 29544 E flutter : #18 BindingBase&SchedulerBinding&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:127)
06-16 15:09:42.345 29524 29544 E flutter : #19 BindingBase&SchedulerBinding&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:105)
06-16 15:09:42.345 29524 29544 E flutter : #20 BindingBase&SchedulerBinding&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:86)
06-16 15:09:42.345 29524 29544 E flutter : #21 BindingBase&SchedulerBinding&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:45)
06-16 15:09:42.345 29524 29544 E flutter : #22 BindingBase&SchedulerBinding&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:38)
06-16 15:09:42.345 29524 29544 E flutter : #23 _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:55)
06-16 15:09:44.684 1058 1068 I art : Background sticky concurrent mark sweep GC freed 71424(4MB) AllocSpace objects, 42(4MB) LOS objects, 14% free, 50MB/59MB, paused 2.829ms total 102.627ms
06-16 15:09:44.862 29675 29874 W JSVM : JSVM cleanup: hasContext=true, isCleaned=false
</code></pre></div> | <p dir="auto">I hit it first after making minor changes to the flutter code lab, and am hitting it now, while trying to put together a simpler flutter app.</p>
<p dir="auto">Hot reload is not working, cold launches sometimes work.</p>
<p dir="auto">Flutter run from IJ.</p>
<p dir="auto">Launching lib/main.dart on Nexus 6P in debug mode...<br>
Built build/app/outputs/apk/app-debug.apk (21.7MB).<br>
W/IInputConnectionWrapper(21208): reportFullscreenMode on inexistent InputConnection<br>
I/flutter (21208): executeQuery<br>
Restarted app in 1,286ms.<br>
E/MethodChannel#flutter/textinput(21208): Failed to handle method call<br>
E/MethodChannel#flutter/textinput(21208): java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.Selection.setSelection(Selection.java:76)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.nativePollOnce(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.next(MessageQueue.java:323)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.Looper.loop(Looper.java:136)<br>
E/MethodChannel#flutter/textinput(21208): at android.app.ActivityThread.main(ActivityThread.java:6121)<br>
E/MethodChannel#flutter/textinput(21208): at java.lang.reflect.Method.invoke(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)<br>
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)</p>
<p dir="auto">flutter analyze:<br>
~/src/github/flutter/bin/flutter analyze<br>
Analyzing jwren/src/github/flutter_google_knowledge_graph...<br>
hint • The value of the local variable 'v' isn't used at lib/main.dart:97:9 • unused_local_variable<br>
1 issue found.<br>
(Ran in 4.5s)</p> | 1 |
<p dir="auto"><code class="notranslate">iris = sns.load_dataset("iris")</code><br>
<code class="notranslate">sns.pairplot(data=iris, x_vars=['sepal_length', 'petal_length','petal_width'], y_vars=['sepal_width']);</code><br>
<code class="notranslate">sns.pairplot(data=iris, x_vars=['','sepal_length', 'petal_length','petal_width'], y_vars=['sepal_width']);</code><br>
<code class="notranslate">sns.pairplot(data=iris, x_vars=['sepal_length', '', 'petal_length','petal_width'], y_vars=['sepal_width']);</code></p>
<p dir="auto">First plot of pairplot is not being displayed when using multiple variables in [x_vars.]<br>
(<a href="https://github.com/RPunyatoya/Seaborn-Issue/blob/master/Seaborn%200.11.0%20Issue.ipynb">https://github.com/RPunyatoya/Seaborn-Issue/blob/master/Seaborn%200.11.0%20Issue.ipynb</a>)<br>
Also when giving wrong column name such as blank (''), It's not throwing any error instead just displaying empty plot in the 1st place where as getting appropriate error when providing '' as 2nd onward column name.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/53420500/93029352-0f172d00-f638-11ea-835b-8e32cca3a8d5.PNG"><img src="https://user-images.githubusercontent.com/53420500/93029352-0f172d00-f638-11ea-835b-8e32cca3a8d5.PNG" alt="Capture" style="max-width: 100%;"></a></p>
<p dir="auto">Thank you..!!</p> | <p dir="auto">Just updated to seaborn 0.11.0 and matplotlib 3.3.1.</p>
<p dir="auto">Run this code:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="iris = sns.load_dataset("iris")
sns.pairplot(data=iris, hue="species", y_vars='sepal_width');
sns.pairplot(data=iris, hue="species", y_vars='sepal_width', x_vars=['sepal_length', 'petal_length']);"><pre class="notranslate"><span class="pl-s1">iris</span> <span class="pl-c1">=</span> <span class="pl-s1">sns</span>.<span class="pl-en">load_dataset</span>(<span class="pl-s">"iris"</span>)
<span class="pl-s1">sns</span>.<span class="pl-en">pairplot</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">iris</span>, <span class="pl-s1">hue</span><span class="pl-c1">=</span><span class="pl-s">"species"</span>, <span class="pl-s1">y_vars</span><span class="pl-c1">=</span><span class="pl-s">'sepal_width'</span>);
<span class="pl-s1">sns</span>.<span class="pl-en">pairplot</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">iris</span>, <span class="pl-s1">hue</span><span class="pl-c1">=</span><span class="pl-s">"species"</span>, <span class="pl-s1">y_vars</span><span class="pl-c1">=</span><span class="pl-s">'sepal_width'</span>, <span class="pl-s1">x_vars</span><span class="pl-c1">=</span>[<span class="pl-s">'sepal_length'</span>, <span class="pl-s">'petal_length'</span>]);</pre></div>
<p dir="auto">And saw it:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24957288/92593736-438e9000-f2aa-11ea-93ac-3fb7b2c94a68.PNG"><img src="https://user-images.githubusercontent.com/24957288/92593736-438e9000-f2aa-11ea-93ac-3fb7b2c94a68.PNG" alt="screen" style="max-width: 100%;"></a></p>
<p dir="auto">And this problem appeared in all previously created pairplots, that have parameter y_vars</p> | 1 |
<p dir="auto">For Keyboard Manager, one can remap a keyboard key for combination of keys.</p>
<p dir="auto">Example, one can map:<br>
[Fn] + [Right Arrow] = End<br>
[Fn] + [Left Arrow] = Home</p>
<p dir="auto">Also, one can remap a shortcut using "Function" key". The possibilities are amazing and endless!!<br>
Example: [Fn] + M = Opens Minecraft</p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I really love this feature since I am a mac user first but started using windows for some WFH on my gaming machine.<br>
however it would be great to disable power toys run automatically when not needed, e.g. full screen/borderless windowed applications such as games.</p>
<p dir="auto">if disabling automatically is not possible, how about a little toggle when right clicking the taskbar icon.</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">The code used on last Thursday worked fine. But after updated to latest code on Monday (GMT+8), the modal dialog when clicks to dismiss for seconds onward cannot be close.</p>
<p dir="auto">I am checking on source code line 932, if I commented out this line then it is working again.</p>
<p dir="auto">this.$element<br>
.removeClass('in')<br>
.attr('aria-hidden', true)<br>
//.off('click.dismiss.modal')</p>
<p dir="auto">Am I missing anything...?</p>
<p dir="auto">Sorry for the grammar. Thanks.</p> | 1 |
|
<pre class="notranslate">1. What is a short input program that triggers the error?
package foo
type Foo interface {
X()
}
func Test(f Foo) {
_ = f.(struct{Foo})
}
package main
import (
"local/foo"
)
func main() {
foo.Test(nil)
}
2. What is the full compiler output?
./tst.go:3: impossible type assertion:
struct {} does not implement foo.Foo (missing X method)
./tst.go:7: internal compiler error: typename <T>
3. What version of the compiler are you using? (Run it with the -V flag.)
6g version go1.1.2
This might be the same as <a href="https://golang.org/issue/5974" rel="nofollow">issue #5974</a>.</pre> | <pre class="notranslate">Running `go get` on Linux (Ubuntu 12.04) produces errors for go.net/ipv6 dependencies
$ go get ./...
# code.google.com/p/go.net/ipv6
code.google.com/p/go.net/ipv6/control_rfc3542_linux.go:83: undefined: syscall.SizeofIPv6MTUInfo
code.google.com/p/go.net/ipv6/control_rfc3542_linux.go:112: undefined: syscall.SizeofIPv6MTUInfo
code.google.com/p/go.net/ipv6/control_rfc3542_linux.go:113: undefined: syscall.SizeofIPv6MTUInfo
code.google.com/p/go.net/ipv6/control_rfc3542_linux.go:142: undefined: syscall.IPv6MTUInfo
code.google.com/p/go.net/ipv6/icmp.go:30: defer requires function call, not conversion
code.google.com/p/go.net/ipv6/icmp.go:37: defer requires function call, not conversion
code.google.com/p/go.net/ipv6/icmp.go:44: defer requires function call, not conversion
code.google.com/p/go.net/ipv6/icmp_linux.go:10: undefined: syscall.ICMPv6Filter
code.google.com/p/go.net/ipv6/sockopt_rfc3542_linux.go:13: undefined: syscall.GetsockoptIPv6MTUInfo
code.google.com/p/go.net/ipv6/sockopt_rfc3542_linux.go:33: undefined: syscall.GetsockoptICMPv6Filter
code.google.com/p/go.net/ipv6/sockopt_rfc3542_linux.go:33: too many errors</pre> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">For my project I need to load/unload various models avoiding main JS thread to get blocked (models are a little heavy in MB) So I tried this approach:</p>
<p dir="auto"><strong>Worker code</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="importScripts( "lib/dev.three.js/build/Three.js" );
function privateComponentLoaded( geometry ) {
postMessage( geometry );
self.close();
}
self.onmessage = function(event) {
var componentLoader = new THREE.JSONLoader();
componentLoader.load( event.data, self.privateComponentLoaded );
};"><pre class="notranslate"><span class="pl-en">importScripts</span><span class="pl-kos">(</span> <span class="pl-s">"lib/dev.three.js/build/Three.js"</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">privateComponentLoaded</span><span class="pl-kos">(</span> <span class="pl-s1">geometry</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">postMessage</span><span class="pl-kos">(</span> <span class="pl-s1">geometry</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">close</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-en">onmessage</span> <span class="pl-c1">=</span> <span class="pl-k">function</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-k">var</span> <span class="pl-s1">componentLoader</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">JSONLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">componentLoader</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span> <span class="pl-s1">event</span><span class="pl-kos">.</span><span class="pl-c1">data</span><span class="pl-kos">,</span> <span class="pl-s1">self</span><span class="pl-kos">.</span><span class="pl-c1">privateComponentLoaded</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>Main code</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var _self = this;
var worker = new Worker( "ComponentLoaderWorker.js" );
worker.onmessage = function(event) {
_self.createComponent( event.data );
};
worker.onerror = function(error) { console.error( "Worker error: Error al cargar" ) };
worker.postMessage( myURL );
this.createComponent = function ( geometry ) {
myMesh = new THREE.Mesh( geometry, new THREE.MeshFaceMaterial() );
myObj.add( myMesh );
};"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">_self</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">;</span>
<span class="pl-k">var</span> <span class="pl-s1">worker</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Worker</span><span class="pl-kos">(</span> <span class="pl-s">"ComponentLoaderWorker.js"</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">worker</span><span class="pl-kos">.</span><span class="pl-en">onmessage</span> <span class="pl-c1">=</span> <span class="pl-k">function</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-s1">_self</span><span class="pl-kos">.</span><span class="pl-en">createComponent</span><span class="pl-kos">(</span> <span class="pl-s1">event</span><span class="pl-kos">.</span><span class="pl-c1">data</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">worker</span><span class="pl-kos">.</span><span class="pl-en">onerror</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">error</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">error</span><span class="pl-kos">(</span> <span class="pl-s">"Worker error: Error al cargar"</span> <span class="pl-kos">)</span> <span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-s1">worker</span><span class="pl-kos">.</span><span class="pl-en">postMessage</span><span class="pl-kos">(</span> <span class="pl-s1">myURL</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">createComponent</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span> <span class="pl-s1">geometry</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">myMesh</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Mesh</span><span class="pl-kos">(</span> <span class="pl-s1">geometry</span><span class="pl-kos">,</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">MeshFaceMaterial</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">myObj</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span> <span class="pl-s1">myMesh</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>Error given by chrome for previous code</strong></p>
<p dir="auto"><code class="notranslate">Uncaught TypeError: Object has no method 'computeBoundingSphere' Three.js:133</code></p>
<p dir="auto">I checked that line and what crashed was this:</p>
<p dir="auto"><code class="notranslate">this.geometry.computeBoundingSphere()</code></p>
<p dir="auto">So I came up to the conclusion that geometry was not a ThreeJS geometry due to JSON communication parsing from Worker to main thread.</p>
<p dir="auto">So I think Worker support has to be implemented inside JSONLoader directly. However, maybe the geometry can be recovered somehow or maybe I'm missing something important.</p>
<p dir="auto"><strong>What I think needs to be done</strong></p>
<p dir="auto">The worker has to just do the <code class="notranslate">XMLHttpRequest</code> Then, the main thread has to call createModel so geometry object gets created. What do you think?</p>
<p dir="auto">I think if we also put the createModel function inside worker we will come to the same problem I have here (although it could be desirable to have this inside worker too in the name of performance for main thread)</p>
<p dir="auto">I think I can try to do this changes in JSONLoader.</p> | <p dir="auto">Currently (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/mrdoob/three.js/commit/0b340e7e5edc78872901d34eef04b12151e2ff85/hovercard" href="https://github.com/mrdoob/three.js/commit/0b340e7e5edc78872901d34eef04b12151e2ff85"><tt>0b340e7</tt></a>) the GLTFExporter generates new meshes, buffer views and accessors, referencing buffers full of duplicated data even if the geometry / attribute is reused in the scene.</p>
<p dir="auto"><strong>Steps to reproduce</strong>:</p>
<ol dir="auto">
<li>Create a single <code class="notranslate">BoxBufferGeometry</code> is and attach to three different meshes.</li>
<li>Add the meshes to a scene.</li>
<li>Export the scene using the <code class="notranslate">GLTFExporter.parse()</code>-method.</li>
</ol>
<p dir="auto">Fiddle that recreates this problem: <a href="https://jsfiddle.net/jxg9b67a/3/" rel="nofollow">https://jsfiddle.net/jxg9b67a/3/</a></p>
<p dir="auto">The resulting GLTF object has three different <code class="notranslate">nodes</code> (as expected), but also three different <code class="notranslate">meshes</code>. Additionally each mesh references unique accessors with unique bufferviews referencing a single buffer but at different offsets (meaning that the all the data is duplicated to multiple positions).</p>
<p dir="auto"><strong>Expected behaviour</strong> according to the <a href="https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#instantiation">GLTF spec</a> would be that the GLTF object has three <code class="notranslate">nodes</code>, all referencing a single mesh.</p>
<p dir="auto">Note that if the meshes use different materials, different objects will have to be created; but they could still reference the same accessors for attributes and index.</p> | 0 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto"><code class="notranslate">flutter run --preview-dart-2</code></p>
<p dir="auto">Make any tiny tweak to <code class="notranslate">widget_inspector.dart</code> or any other file in package:flutter</p>
<p dir="auto">Trigger hot reload</p>
<p dir="auto">See the warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app (by pressing "R") for the changes to have an effect.
• _RenderSliverPersistentHeaderForWidgetsMixin.handleEvent (package:flutter/src/widgets/sliver_persistent_header.dart:253)
• #errors (file:///)
• #errors (file:///)
• _RenderSliverPinnedPersistentHeader.handleEvent (package:flutter/src/widgets/sliver_persistent_header.dart:309)
"><pre class="notranslate"><code class="notranslate"> Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app (by pressing "R") for the changes to have an effect.
• _RenderSliverPersistentHeaderForWidgetsMixin.handleEvent (package:flutter/src/widgets/sliver_persistent_header.dart:253)
• #errors (file:///)
• #errors (file:///)
• _RenderSliverPinnedPersistentHeader.handleEvent (package:flutter/src/widgets/sliver_persistent_header.dart:309)
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I was working through the <a href="https://flutter.io/get-started/codelab/" rel="nofollow">Write Your First App</a> tutorial. I received warnings that some program elements didn't run when the view was reassembled, but the UI seemed to be updated correctly.</p>
<p dir="auto">For example, when I changed my code from <a href="https://gist.githubusercontent.com/Sfshaza/bb51e3b7df4ebbf3dfd02a4a38db2655/raw/57c25b976ec34d56591cb898a3df0b320e903b99/main.dart" rel="nofollow">step 2</a> to <a href="https://gist.githubusercontent.com/Sfshaza/d7f13ddd8888556232476be8578efe40/raw/329c397b97309ce99f834bf70ebb90778baa5cfe/main.dart" rel="nofollow">step 3</a>, I received the following message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Performing hot reload...
Reloaded 1 of 430 libraries in 627ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
• RandomWordsState.didUpdateWidget (lib/main.dart:28)
• RandomWordsState._widget= (lib/main.dart:28)"><pre class="notranslate"><code class="notranslate">Performing hot reload...
Reloaded 1 of 430 libraries in 627ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
• RandomWordsState.didUpdateWidget (lib/main.dart:28)
• RandomWordsState._widget= (lib/main.dart:28)
</code></pre></div>
<p dir="auto">In addition to the UI appeared to be fine, I didn't know how relevant RandomWordsState.didUpdateWidget and RandomWordsState._widget were to me, since these two methods were not actually in the code I wrote.</p>
<p dir="auto">Then, when I changed my code from <a href="https://gist.githubusercontent.com/Sfshaza/d7f13ddd8888556232476be8578efe40/raw/329c397b97309ce99f834bf70ebb90778baa5cfe/main.dart" rel="nofollow">step 3</a> to <a href="https://gist.githubusercontent.com/Sfshaza/d6f9460a04d3a429eb6ac0b0f07da564/raw/34fe240f4122435c871bb737708ee0357741801c/main.dart" rel="nofollow">step 4</a>, I got the following message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Initializing hot reload...
Reloaded 1 of 430 libraries in 915ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
• RandomWordsState._suggestions (lib/main.dart:22)
• RandomWordsState._biggerFont (lib/main.dart:24)"><pre class="notranslate"><code class="notranslate">Initializing hot reload...
Reloaded 1 of 430 libraries in 915ms.
Some program elements were changed during reload but did not run when the view was reassembled;
you may need to restart the app for the changes to have an effect.
• RandomWordsState._suggestions (lib/main.dart:22)
• RandomWordsState._biggerFont (lib/main.dart:24)
</code></pre></div>
<p dir="auto">Again, the UI seemed to be functioning correctly, including the font size, which the message says the relevant code didn't run.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.2.9-pre.9, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.2.9-pre.9 at /Users/taodong/Code/flutter_repos/flutter
• Framework revision 5e9424419e (35 minutes ago), 2018-04-03 10:35:07 -0700
• Engine revision 04f3c6557c
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[!] Android toolchain - develop for Android devices (Android SDK 27.0.0)
• Android SDK at /Users/taodong/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin installed
• Dart plugin version 181.4203.498
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.0
[✓] Connected devices (1 available)
• iPhone SE • AD00445E-9D4A-454D-892F-1419FF77D3A1 • ios • iOS 11.2 (simulator)
! Doctor found issues in 1 category."><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.2.9-pre.9, on Mac OS X 10.13.3 17D102, locale en-US)
• Flutter version 0.2.9-pre.9 at /Users/taodong/Code/flutter_repos/flutter
• Framework revision 5e9424419e (35 minutes ago), 2018-04-03 10:35:07 -0700
• Engine revision 04f3c6557c
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[!] Android toolchain - develop for Android devices (Android SDK 27.0.0)
• Android SDK at /Users/taodong/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
✗ Android license status unknown.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin installed
• Dart plugin version 181.4203.498
[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.9.0
[✓] Connected devices (1 available)
• iPhone SE • AD00445E-9D4A-454D-892F-1419FF77D3A1 • ios • iOS 11.2 (simulator)
! Doctor found issues in 1 category.
</code></pre></div>
<blockquote>
<p dir="auto">For more information about diagnosing and reporting Flutter bugs, please see <a href="https://flutter.io/bug-reports/" rel="nofollow">https://flutter.io/bug-reports/</a>.</p>
</blockquote> | 1 |
<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="[ ] bug report => search github for a similar issue or PR before submitting
[x] 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">[ ] bug report => search github for a similar issue or PR before submitting
[x] 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">I am logging a feature request to support more dynamic i18n lookups.</p>
<p dir="auto"><strong>Current behavior</strong><br>
From what I can tell the current i18n approach can only target elements with a static reference in the markup.<br>
(e.g. <code class="notranslate"><div i18n="meaning|description">English Text</div></code>)</p>
<p dir="auto"><strong>Expected behavior</strong><br>
One of the challenges I see with this is building a data driven ui with translations. If you come from the <code class="notranslate">ng-translate</code> world it's not uncommon to loop over a list of language keys and do lookups to resolve translated values.</p>
<p dir="auto">It's not clear to me how to replicate this behavior using i18n in angular.<br>
It would be nice if i18n allowed us to specify the keys based on data binding instead of hard coded references in the markup.</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<div *ngFor="let key of keys">
<div i18n="@@{{key}}"></div>
</div>"><pre class="notranslate"><code class="notranslate"><div *ngFor="let key of keys">
<div i18n="@@{{key}}"></div>
</div>
</code></pre></div>
<p dir="auto">It looks like the ability to set your own @<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/keys/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/keys">@keys</a> was added in 4.0. Thinking this key is perfect for the lookup, but it would need to be generated based on bindings.</p>
<p dir="auto">This would also assume that we are allowed to manually create the xlf file instead of relying on the i18n compiler cli tool to generate it. The list of keys could potentially come from an api and would not be a fixed list. There would be no way for the generator to know the set until runtime.</p>
<p dir="auto">I still think this can be made compatible with AoT. It would require one more level of indirection in the translation lookup though.</p>
<p dir="auto">Instead of<br>
<code class="notranslate">var currVal_2 = inlineInterpolate(1, ‘Welcome ', this.parentView.context.firstNameName, '');</code></p>
<p dir="auto">You could maybe have<br>
<code class="notranslate">var currVal_2 = inlineInterpolate(1, lookupKey('@@Welcome'), this.parentView.context.firstNameName, '');</code></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
The motivation is a more flexible translation experience.</p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.X</li>
</ul>
<ul dir="auto">
<li><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]</li>
</ul>
<ul dir="auto">
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p>
</li>
</ul> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] feature request"><pre class="notranslate"><code class="notranslate">[x] feature request
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="159302131" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/9104" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/9104/hovercard?comment_id=244909246&comment_type=issue_comment" href="https://github.com/angular/angular/issues/9104#issuecomment-244909246">#9104 (comment)</a></p>
<blockquote>
<p dir="auto">I don't think it is possible, like I said before it only works with static text, it won't parse text on the js code, only templates</p>
</blockquote>
<p dir="auto"><strong>Expected/desired behavior</strong><br>
Be able to translate strings used anywhere in the code, using an API.</p>
<h2 dir="auto"><strong>Reproduction of the problem</strong></h2>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
I'm referencing the usage of <code class="notranslate">$translate.instant</code> to exposure real use cases:</p>
<ul dir="auto">
<li>Custom rendered text:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="if (data._current_results === data._total) {
content = this.$translate.instant('CLIPPINGS__LIST__SUMMARY_ALL', {'num': data._current_results});
} else {
if (undefined === data._total) {
data._total = '...';
}
content = this.$translate.instant('CLIPPINGS__LIST__SUMMARY', {
'num': data._current_results,
'total': data._total
});
}
// Put 'mentions' first
data = angular.merge({}, {
mentions: mentions
}, data);
_.each(data, (value:number, key:string):void => {
if (value) {
details += value + ' ' + this.$translate.instant('CLIPPINGS__LIST__SUMMARY_TYPE_' + key) + ', ';
}
});
if (details) {
details = '(' + _.trim(details, ', ') + ')';
}
content = content.replace(':details', details);"><pre class="notranslate"><span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_current_results</span> <span class="pl-c1">===</span> <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_total</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'CLIPPINGS__LIST__SUMMARY_ALL'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-s">'num'</span>: <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_current_results</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">if</span> <span class="pl-kos">(</span><span class="pl-c1">undefined</span> <span class="pl-c1">===</span> <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_total</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_total</span> <span class="pl-c1">=</span> <span class="pl-s">'...'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'CLIPPINGS__LIST__SUMMARY'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-s">'num'</span>: <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_current_results</span><span class="pl-kos">,</span>
<span class="pl-s">'total'</span>: <span class="pl-s1">data</span><span class="pl-kos">.</span><span class="pl-c1">_total</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">// Put 'mentions' first</span>
<span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">angular</span><span class="pl-kos">.</span><span class="pl-en">merge</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">mentions</span>: <span class="pl-s1">mentions</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">data</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">each</span><span class="pl-kos">(</span><span class="pl-s1">data</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">value</span>:<span class="pl-smi">number</span><span class="pl-kos">,</span> <span class="pl-s1">key</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">value</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">details</span> <span class="pl-c1">+=</span> <span class="pl-s1">value</span> <span class="pl-c1">+</span> <span class="pl-s">' '</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'CLIPPINGS__LIST__SUMMARY_TYPE_'</span> <span class="pl-c1">+</span> <span class="pl-s1">key</span><span class="pl-kos">)</span> <span class="pl-c1">+</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-kos">;</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">details</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">details</span> <span class="pl-c1">=</span> <span class="pl-s">'('</span> <span class="pl-c1">+</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">trim</span><span class="pl-kos">(</span><span class="pl-s1">details</span><span class="pl-kos">,</span> <span class="pl-s">', '</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">')'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-s1">content</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s">':details'</span><span class="pl-kos">,</span> <span class="pl-s1">details</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">More examples:</p>
<details>
- Getting image's file name from exported image of a HTML rendered report:
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="getExportImageName(hideExtension:boolean):string {
let fileName:string;
fileName = this.$translate.instant('D_CHART_FACET_authors__EXPORT_FILENAME', {
'profileName': this.ExportService.GetProfileName(),
'period': this.ExportService.GetPeriodString(this.SearchFilter.GetPeriodFromInterval())
});
if (!Boolean(hideExtension)) {
fileName += '.png';
}
return fileName;
}"><pre class="notranslate"><span class="pl-en">getExportImageName</span><span class="pl-kos">(</span><span class="pl-s1">hideExtension</span>:boolean<span class="pl-kos">)</span>:string <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">fileName</span>:<span class="pl-smi">string</span><span class="pl-kos">;</span>
<span class="pl-s1">fileName</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'D_CHART_FACET_authors__EXPORT_FILENAME'</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-s">'profileName'</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">ExportService</span><span class="pl-kos">.</span><span class="pl-en">GetProfileName</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s">'period'</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">ExportService</span><span class="pl-kos">.</span><span class="pl-en">GetPeriodString</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">SearchFilter</span><span class="pl-kos">.</span><span class="pl-en">GetPeriodFromInterval</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">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-smi">Boolean</span><span class="pl-kos">(</span><span class="pl-s1">hideExtension</span><span class="pl-kos">)</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">fileName</span> <span class="pl-c1">+=</span> <span class="pl-s">'.png'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">fileName</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>Sometimes you're translating, sometimes use model data (could be very verbose in a template):</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="private _getTitle():string {
if (this.inShareColumn) {
return this.$translate.instant('COMPARISONS__SHARE_COLUMN_share_of_voice_TITLE');
} else if (this.inTotalsColumn) {
return this.$translate.instant('COMPARISONS__TOTAL_COLUMN_share_of_voice_TITLE');
} else {
return _.get<string>(this.group, 'profileName', '');
}
}"><pre class="notranslate"><span class="pl-k">private</span> <span class="pl-en">_getTitle</span><span class="pl-kos">(</span><span class="pl-kos">)</span>:string <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">inShareColumn</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'COMPARISONS__SHARE_COLUMN_share_of_voice_TITLE'</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-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">inTotalsColumn</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'COMPARISONS__TOTAL_COLUMN_share_of_voice_TITLE'</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">return</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos"><</span><span class="pl-smi">string</span><span class="pl-kos">></span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">group</span><span class="pl-kos">,</span> <span class="pl-s">'profileName'</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></pre></div>
<ul dir="auto">
<li>Using a third party chart plugin (Highcharts)</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="this.chart = new Highcharts.Chart(<any>{
title: {
text: this.$translate.instant('REPORTS_BLOG_MAPPING_CHART_TITLE_tone').toUpperCase(),
},
xAxis: {
title: {
text: this.$translate.instant('REPORTS_BLOG_MAPPING_CHART_TITLE_tone_xaxis')
}
},
yAxis: {
min: 0,
title: {
text: this.$translate.instant('REPORTS_BLOG_MAPPING_CHART_TITLE_tone_yaxis')
}
},
plotOptions: {
scatter: {
tooltip: {
headerFormat: '<b>{point.key}</b><br>',
pointFormat: '{point.y} ' + this.$translate.instant('REPORTS_BLOG_MAPPING_CHART_mentions')
}
}
}
});"><pre class="notranslate"><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">chart</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Highcharts</span><span class="pl-kos">.</span><span class="pl-c1">Chart</span><span class="pl-kos">(</span><span class="pl-kos"><</span><span class="pl-smi">any</span><span class="pl-kos">></span><span class="pl-kos">{</span>
<span class="pl-c1">title</span>: <span class="pl-kos">{</span>
<span class="pl-c1">text</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'REPORTS_BLOG_MAPPING_CHART_TITLE_tone'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toUpperCase</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">xAxis</span>: <span class="pl-kos">{</span>
<span class="pl-c1">title</span>: <span class="pl-kos">{</span>
<span class="pl-c1">text</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'REPORTS_BLOG_MAPPING_CHART_TITLE_tone_xaxis'</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">yAxis</span>: <span class="pl-kos">{</span>
<span class="pl-c1">min</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c1">title</span>: <span class="pl-kos">{</span>
<span class="pl-c1">text</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'REPORTS_BLOG_MAPPING_CHART_TITLE_tone_yaxis'</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">plotOptions</span>: <span class="pl-kos">{</span>
<span class="pl-c1">scatter</span>: <span class="pl-kos">{</span>
<span class="pl-c1">tooltip</span>: <span class="pl-kos">{</span>
<span class="pl-c1">headerFormat</span>: <span class="pl-s">'<b>{point.key}</b><br>'</span><span class="pl-kos">,</span>
<span class="pl-c1">pointFormat</span>: <span class="pl-s">'{point.y} '</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'REPORTS_BLOG_MAPPING_CHART_mentions'</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>
<ul dir="auto">
<li>To setup config variables and render the text without pipes as it's not always a translated string</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="this.config = {
requiredList: true,
bannedList: false,
allowSpaces: false,
allowComma: false,
colorsType: false,
defaultEnterAction: 'required',
requiredTooltip: this.$translate.instant('D_CLIPPING_TAGS__REQUIRED_TOOLTIP'),
bannedTooltip: this.$translate.instant('D_CLIPPING_TAGS__BANNED_TOOLTIP')
};"><pre class="notranslate"><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">requiredList</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">bannedList</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">allowSpaces</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">allowComma</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">colorsType</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span>
<span class="pl-c1">defaultEnterAction</span>: <span class="pl-s">'required'</span><span class="pl-kos">,</span>
<span class="pl-c1">requiredTooltip</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'D_CLIPPING_TAGS__REQUIRED_TOOLTIP'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">bannedTooltip</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'D_CLIPPING_TAGS__BANNED_TOOLTIP'</span><span class="pl-kos">)</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<ul dir="auto">
<li>To set window.title :) :</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="SetWindowTitle(title:string) {
if (!!title) {
this.$window.document.title = this.$translate.instant(title);
}
}"><pre class="notranslate"><span class="pl-smi">SetWindowTitle</span><span class="pl-kos">(</span><span class="pl-s1">title</span>:<span class="pl-s1">string</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">title</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$window</span><span class="pl-kos">.</span><span class="pl-c1">document</span><span class="pl-kos">.</span><span class="pl-c1">title</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s1">title</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>Custom date formatting:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="dateHuman(date:Date):string {
return date.getDate() + ' ' + this.$translate.instant('GLOBAL_CALENDAR_MONTH_' + date.getMonth())
+ ' ' + date.getFullYear();
}"><pre class="notranslate"><span class="pl-en">dateHuman</span><span class="pl-kos">(</span><span class="pl-s1">date</span>:<span class="pl-smi">Date</span><span class="pl-kos">)</span>:string <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">date</span><span class="pl-kos">.</span><span class="pl-en">getDate</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">+</span> <span class="pl-s">' '</span> <span class="pl-c1">+</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_'</span> <span class="pl-c1">+</span> <span class="pl-s1">date</span><span class="pl-kos">.</span><span class="pl-en">getMonth</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-c1">+</span> <span class="pl-s">' '</span> <span class="pl-c1">+</span> <span class="pl-s1">date</span><span class="pl-kos">.</span><span class="pl-en">getFullYear</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>Sort things based on translated values:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Sort types
tmpTypes = _.sortBy(tmpTypes, (type:string):string => {
// 'MISC' at the end
if ('MISC' === type) {
return 'zzzzz';
}
return this.$translate.instant('FACET_phrases2__TYPE_' + type);
});"><pre class="notranslate"><span class="pl-c">// Sort types</span>
<span class="pl-s1">tmpTypes</span> <span class="pl-c1">=</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">sortBy</span><span class="pl-kos">(</span><span class="pl-s1">tmpTypes</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">type</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-c">// 'MISC' at the end</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s">'MISC'</span> <span class="pl-c1">===</span> <span class="pl-s1">type</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s">'zzzzz'</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'FACET_phrases2__TYPE_'</span> <span class="pl-c1">+</span> <span class="pl-s1">type</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>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="GetSortedLanguages():IFacetLangDetectedCommonServiceLanguageObject[] {
// We have to sort by translated languages!
return _.sortBy(_.map(this.facetOptions, (item:string):any => {
return {
key: item,
label: this.$translate.instant('FACET_langDetected_' + item),
cssStyle: (_.includes(['english', 'catalan', 'spanish', 'french', 'italian'], item))
? {'font-weight': 'bold'} : null,
flag: _.get(this.lutFlags, item, null)
};
}), (item):string => {
return item.label.toLowerCase();
});
}"><pre class="notranslate"><span class="pl-smi">GetSortedLanguages</span><span class="pl-kos">(</span><span class="pl-kos">)</span>:<span class="pl-smi">IFacetLangDetectedCommonServiceLanguageObject</span><span class="pl-kos">[</span><span class="pl-kos">]</span> <span class="pl-kos">{</span>
<span class="pl-c">// We have to sort by translated languages!</span>
<span class="pl-c1">return</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-s1">sortBy</span><span class="pl-kos">(</span><span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">facetOptions</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">item</span>:<span class="pl-smi">string</span><span class="pl-kos">)</span>:<span class="pl-smi">any</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-c1">key</span>: <span class="pl-s1">item</span><span class="pl-kos">,</span>
<span class="pl-c1">label</span>: <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'FACET_langDetected_'</span> <span class="pl-c1">+</span> <span class="pl-s1">item</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c1">cssStyle</span>: <span class="pl-kos">(</span><span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">includes</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">'english'</span><span class="pl-kos">,</span> <span class="pl-s">'catalan'</span><span class="pl-kos">,</span> <span class="pl-s">'spanish'</span><span class="pl-kos">,</span> <span class="pl-s">'french'</span><span class="pl-kos">,</span> <span class="pl-s">'italian'</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-s1">item</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
? <span class="pl-kos">{</span><span class="pl-s">'font-weight'</span>: <span class="pl-s">'bold'</span><span class="pl-kos">}</span> : <span class="pl-c1">null</span><span class="pl-kos">,</span>
<span class="pl-c1">flag</span>: <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">get</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">lutFlags</span><span class="pl-kos">,</span> <span class="pl-s1">item</span><span class="pl-kos">,</span> <span class="pl-c1">null</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"></span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">)</span>:<span class="pl-smi">string</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-c1">label</span><span class="pl-kos">.</span><span class="pl-en">toLowerCase</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>
<ul dir="auto">
<li>Export raw data to CSV or Excel with translated values:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="getDataExportStacked(inputData:any):any {
let exportData = angular.copy(inputData);
if (angular.isArray(exportData) && exportData.length) {
exportData[0].name = this.$translate.instant('CLIPPINGS__CHARTS_volume_TITLE');
exportData[0].data = _.map(exportData[0].data, (inputDataItem:any):any => {
return {
'label': inputDataItem.association.profileName,
'value': inputDataItem.value
};
});
}
return exportData;
}"><pre class="notranslate"><span class="pl-en">getDataExportStacked</span><span class="pl-kos">(</span><span class="pl-s1">inputData</span>:any<span class="pl-kos">)</span>:any <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">exportData</span> <span class="pl-c1">=</span> <span class="pl-s1">angular</span><span class="pl-kos">.</span><span class="pl-en">copy</span><span class="pl-kos">(</span><span class="pl-s1">inputData</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">angular</span><span class="pl-kos">.</span><span class="pl-en">isArray</span><span class="pl-kos">(</span><span class="pl-s1">exportData</span><span class="pl-kos">)</span> <span class="pl-c1">&&</span> <span class="pl-s1">exportData</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">exportData</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-c1">name</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'CLIPPINGS__CHARTS_volume_TITLE'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">exportData</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-c1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">_</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">exportData</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-c1">data</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-s1">inputDataItem</span>:<span class="pl-smi">any</span><span class="pl-kos">)</span>:<span class="pl-smi">any</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">{</span>
<span class="pl-s">'label'</span>: <span class="pl-s1">inputDataItem</span><span class="pl-kos">.</span><span class="pl-c1">association</span><span class="pl-kos">.</span><span class="pl-c1">profileName</span><span class="pl-kos">,</span>
<span class="pl-s">'value'</span>: <span class="pl-s1">inputDataItem</span><span class="pl-kos">.</span><span class="pl-c1">value</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">exportData</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<ul dir="auto">
<li>Set config strings to third party plugins:</li>
</ul>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="UpdateCalendarStrings():void {
Highcharts.setOptions({
lang: {
months: [
this.$translate.instant('GLOBAL_CALENDAR_MONTH_January'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_February'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_March'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_April'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_May'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_June'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_July'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_August'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_September'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_October'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_November'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_December')
],
shortMonths: [
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Jan'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Feb'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Mar'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Apr'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_May'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Jun'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Jul'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Aug'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Sep'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Oct'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Nov'),
this.$translate.instant('GLOBAL_CALENDAR_MONTH_SHORT_Dec')
],
weekdays: [
this.$translate.instant('GLOBAL_CALENDAR_DAY_Sunday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Monday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Tuesday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Wednesday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Thursday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Friday'),
this.$translate.instant('GLOBAL_CALENDAR_DAY_Saturday')
]
}
});
}"><pre class="notranslate"><span class="pl-smi">UpdateCalendarStrings</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-smi">Highcharts</span><span class="pl-kos">.</span><span class="pl-en">setOptions</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">lang</span>: <span class="pl-kos">{</span>
<span class="pl-c1">months</span>: <span class="pl-kos">[</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_January'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_February'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_March'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_April'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_May'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_June'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_July'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_August'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_September'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_October'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_November'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_December'</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">shortMonths</span>: <span class="pl-kos">[</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Jan'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Feb'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Mar'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Apr'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_May'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Jun'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Jul'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Aug'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Sep'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Oct'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Nov'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_MONTH_SHORT_Dec'</span><span class="pl-kos">)</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-c1">weekdays</span>: <span class="pl-kos">[</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Sunday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Monday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Tuesday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Wednesday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Thursday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Friday'</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">$translate</span><span class="pl-kos">.</span><span class="pl-en">instant</span><span class="pl-kos">(</span><span class="pl-s">'GLOBAL_CALENDAR_DAY_Saturday'</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>
</details>
**What is the motivation / use case for changing the behavior?**
Be able to translate strings outside templates.
<p dir="auto"><strong>Please tell us about your environment:</strong></p>
<ul dir="auto">
<li><strong>Angular version:</strong> 2.0.0-rc.6</li>
<li><strong>Browser:</strong> [all]</li>
<li><strong>Language:</strong> [TypeScript 2.0.2 | ES5 | SystemJS]</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vicb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vicb">@vicb</a></p> | 1 |
<p dir="auto">A clear and concise description of what the bug is.</p>
<p dir="auto">This is my first time using Superset and I followed the instructions here<br>
<a href="https://superset.apache.org/installation.html#start-with-docker" rel="nofollow">https://superset.apache.org/installation.html#start-with-docker</a></p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">I was able to clone and run <code class="notranslate">docker-compose up</code> successfully.<br>
I opened <code class="notranslate">http://localhost:8088</code> on my browser and entered <code class="notranslate">admin</code> for both username and password.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">I got an <code class="notranslate">Invalid login. Please try again.</code> message</p>
<h4 dir="auto">Screenshots</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/14838084/89612407-be006600-d84d-11ea-98d4-408581d12662.png"><img src="https://user-images.githubusercontent.com/14838084/89612407-be006600-d84d-11ea-98d4-408581d12662.png" alt="Screen Shot 2020-08-07 at 1 31 18 AM" style="max-width: 100%;"></a></p>
<h4 dir="auto">How to reproduce the bug</h4>
<p dir="auto">I followed <a href="https://superset.apache.org/installation.html#start-with-docker" rel="nofollow">https://superset.apache.org/installation.html#start-with-docker</a></p>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>superset version: <code class="notranslate">NA</code></li>
<li>python version: <code class="notranslate">3.7.3</code></li>
<li>node.js version: <code class="notranslate">11.0..0</code></li>
<li>npm version: <code class="notranslate">6.14.4</code></li>
</ul> | <p dir="auto">A clear and concise description of what the bug is.</p>
<h3 dir="auto">Expected results</h3>
<p dir="auto">Successful login</p>
<p dir="auto">what you expected to happen.</p>
<h3 dir="auto">Actual results</h3>
<p dir="auto">Trying admin username and admin as password. Getting<br>
Invalid login. Please try again.</p>
<p dir="auto">what actually happens.</p>
<h4 dir="auto">Screenshots</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26261691/85518942-6ea80280-b61e-11ea-8f98-543ec1c98782.png"><img src="https://user-images.githubusercontent.com/26261691/85518942-6ea80280-b61e-11ea-8f98-543ec1c98782.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">If applicable, add screenshots to help explain your problem.</p>
<h4 dir="auto">How to reproduce the bug</h4>
<ol dir="auto">
<li>Go to '...'</li>
<li>Click on '....'</li>
<li>Scroll down to '....'</li>
<li>See error</li>
</ol>
<h3 dir="auto">Environment</h3>
<p dir="auto">(please complete the following information):</p>
<p dir="auto">Running docker setup</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/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Should not get deprecated warning when fresh install.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">I am receiving deprecated warn:<br>
npm WARN deprecated [email protected]: Use uuid module instead</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Go to this blog: <a href="https://zeit.co/blog/next4" rel="nofollow">https://zeit.co/blog/next4</a></li>
<li>Copy how to start: npm i next@latest react@latest react-dom@latest</li>
<li>Install and receive warning</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">This warning didn't effect me but deprecated modules should be replaced.</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>8.9.0</td>
</tr>
<tr>
<td>OS</td>
<td>Linux Mint</td>
</tr>
<tr>
<td>browser</td>
<td>-</td>
</tr>
<tr>
<td>npm</td>
<td>5.5.1</td>
</tr>
</tbody>
</table> | <p dir="auto">In our application we have forms and want to prompt the user when they click the browser's Back or Forward buttons to notify them they will lose their data if they continue.</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>
<p dir="auto">Although it is similar in nature to <a href="https://github.com/zeit/next.js/issues/2236" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/2236/hovercard">this issue</a> that has been marked as Exploration</p>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When user clicks back button, <code class="notranslate">window.onbeforeunload</code> function that is defined fires</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Browser redirects user to previous page without triggering <code class="notranslate">window.onbeforeunload</code> action</p>
<h2 dir="auto">Special Notes</h2>
<p dir="auto">If I navigate directly to the page with the form by typing in the url, clicking the Back button <strong>correctly triggers</strong> <code class="notranslate">window.onbeforeunload</code>.</p>
<p dir="auto">If I navigate away from the page with the form by typing in the url for another page, the <code class="notranslate">window.onbeforeunload</code> event <strong>fires correctly</strong>.</p>
<p dir="auto">If I navigate to the page using links within the application, clicking the Back button <strong>does not trigger</strong> <code class="notranslate">window.onbeforeunload</code>.</p>
<p dir="auto">I <em>think</em> this has something to do with they way the browser is treating our application when the user navigates within the application using Next Links. Instead of seeing each view as its own page and loading/unloading the page resources as the user navigates, it sees the entire application as just one page, thereby never loading/unloading resources and thus not triggering <code class="notranslate">window.onbeforeunload</code>.</p> | 0 |
<p dir="auto">Since release of 2.0.0 the sdist / *.tar.gz release is not present in pypi package repo. This will prevent automated pipelines from ingesting the release and generating customized wheels that is usually the process in bigger companies.</p>
<p dir="auto">Considering that we already have the tooling to create sdist packages as part of CI code present in the codebase, Please kindly re-instate sdist as part of generic release process and make sdist available as part of pypi artifacts.</p>
<p dir="auto">Thanks<br>
-Ali</p> | <p dir="auto">Source package distribution in PyPi repository</p>
<p dir="auto">To ensure that the correct libraries are linked, we rely on the source distribution package like <a href="https://files.pythonhosted.org/packages/db/f7/43fecb94d66959c1e23aa53d6161231dca0e93ec500224cf31b3c4073e37/lxml-4.6.2.tar.gz" rel="nofollow">https://files.pythonhosted.org/packages/db/f7/43fecb94d66959c1e23aa53d6161231dca0e93ec500224cf31b3c4073e37/lxml-4.6.2.tar.gz</a> (lxml <a href="https://pypi.org/project/lxml/#files" rel="nofollow">https://pypi.org/project/lxml/#files</a> ). It would be great if the source distribution is also included in <a href="https://pypi.org/project/apache-airflow/#files" rel="nofollow">https://pypi.org/project/apache-airflow/#files</a></p>
<p dir="auto"><strong>Acceptance Criteria</strong><br>
apache_airflow-2.0.0.tar.gz should be present in <a href="https://pypi.org/project/apache-airflow/#files" rel="nofollow">https://pypi.org/project/apache-airflow/#files</a></p>
<p dir="auto"><strong>Are you willing to submit a PR?</strong></p>
<p dir="auto">Yes.</p>
<p dir="auto"><strong>Related Issues</strong></p>
<p dir="auto">No</p> | 1 |
<p dir="auto">Uncaught Error: spawn /usr/share/atom/atom (deleted) ENOENT</p>
<p dir="auto"><strong>Atom Version</strong>: 0.161.0<br>
<strong>System</strong>: linux 3.11.0-19-generic<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Steps To Reproduce</h3>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<h3 dir="auto">Stack Trace</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85
Error: spawn /usr/share/atom/atom (deleted) ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
"><pre class="notranslate"><code class="notranslate">At events.js:85
Error: spawn /usr/share/atom/atom (deleted) ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
</code></pre></div> | <p dir="auto"><strong>TEMPORARY WORKAROUND</strong>: <code class="notranslate">ln -s /usr/share/atom/atom "/usr/share/atom/atom (deleted)"</code></p>
<p dir="auto">Uncaught Error: spawn /opt/atom/atom (deleted) ENOENT</p>
<p dir="auto"><strong>Atom Version</strong>: 0.152.0<br>
<strong>System</strong>: linux 3.13.0-40-generic<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Steps To Reproduce</h3>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<h3 dir="auto">Stack Trace</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:85
Error: spawn /opt/atom/atom (deleted) ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
"><pre class="notranslate"><code class="notranslate">At events.js:85
Error: spawn /opt/atom/atom (deleted) ENOENT
at exports._errnoException (util.js:742:11)
at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
at child_process.js:1142:20
at process._tickCallback (node.js:378:11)
</code></pre></div> | 1 |
<p dir="auto">When using <code class="notranslate">acl:set</code> with <code class="notranslate">--class-scope</code>, it seems that I need to specify an ID:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app/console acl:set --class-scope --user=PartKeepr/AuthBundle/Entity/User:admin VIEW PartKeepr/PartBundle/Entity/Part
[InvalidArgumentException]
The code "PartKeepr/PartBundle/Entity/Part" is not supported
"><pre class="notranslate"><code class="notranslate">app/console acl:set --class-scope --user=PartKeepr/AuthBundle/Entity/User:admin VIEW PartKeepr/PartBundle/Entity/Part
[InvalidArgumentException]
The code "PartKeepr/PartBundle/Entity/Part" is not supported
</code></pre></div>
<p dir="auto">As it is a class scope, it shouldn't be necessary to specify an ID.</p> | 1 |
|
<p dir="auto">On revision 134/135 (and maybe more versions but not on 131 and below) there seems to be a slow glTF loading time with some glTF models.</p>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Go to <a href="https://gltf-viewer.donmccurdy.com/" rel="nofollow">donmccurdy's gltf-viewer</a>.</li>
<li>Click on the upload button.</li>
<li>Select <a href="https://cdn.hexa3d.io/models/35792_GLTF.glb" rel="nofollow">this file</a>.</li>
<li>Experience a huge lag.</li>
</ol>
<p dir="auto"><strong>Platform:</strong></p>
<ul dir="auto">
<li>Device: [Desktop]</li>
<li>OS: [Windows</li>
<li>Browser: [Chrome]</li>
<li>Three.js version: [r134, r135]</li>
</ul> | <p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">The introduction of <code class="notranslate">SRGB8_ALPHA8</code> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="999998796" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/22551" data-hovercard-type="pull_request" data-hovercard-url="/mrdoob/three.js/pull/22551/hovercard" href="https://github.com/mrdoob/three.js/pull/22551">#22551</a> improved the render quality of sRGB textures, but also added significant synchronous conversion times that block the main thread. Every sRGB texture adds to the total blocking time, resulting in a poor user experience, especially when the scene contains many textures.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Set <code class="notranslate">encoding</code> of any Uint8 RGBA texture to <code class="notranslate">sRGBEncoding</code>. (WebGL 2 context is required.)</li>
<li>Render a scene that uses the texture.</li>
<li>See the main thread being blocked for a noticeable period of time during the first frame.</li>
</ol>
<p dir="auto"><em><strong>Code</strong></em></p>
<p dir="auto">The following example loads a cube map and sets its encoding to <code class="notranslate">sRGBEncoding</code>:<br>
<a href="https://codesandbox.io/s/srgb8-alpha8-wv3jf?runonclick=1&file=/index.js" rel="nofollow">https://codesandbox.io/s/srgb8-alpha8-wv3jf?runonclick=1&file=/index.js</a></p>
<p dir="auto"><em><strong>Live example</strong></em></p>
<ul dir="auto">
<li><a href="https://wv3jf.csb.app/?linear" rel="nofollow">LinearEncoding (0.16 seconds blocking)</a> (Refresh to see small freeze)</li>
<li><a href="https://wv3jf.csb.app/" rel="nofollow">sRGBEncoding (1.49 seconds blocking)</a> (Refresh to see long freeze)</li>
</ul>
<p dir="auto">The blocking behaviour can also be observed in live examples that load GLTF models, such as <a href="https://threejs.org/examples/?q=gltf#webgl_loader_gltf" rel="nofollow">https://threejs.org/examples/?q=gltf#webgl_loader_gltf</a>.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto">Ideally, the main thread should not be blocked at all. Blocking time should at least be reduced as much as possible.</p>
<p dir="auto"><strong>Screenshots</strong></p>
<table role="table">
<thead>
<tr>
<th>With <code class="notranslate">LinearEncoding</code> or <code class="notranslate">sRGBEncoding</code> pre r133</th>
<th>With <code class="notranslate">sRGBEncoding</code> since r133</th>
</tr>
</thead>
<tbody>
<tr>
<td><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9214917/135754996-e35ea610-4ac2-4d7c-8884-0ca101353a8a.jpg"><img width="320" src="https://user-images.githubusercontent.com/9214917/135754996-e35ea610-4ac2-4d7c-8884-0ca101353a8a.jpg" style="max-width: 100%;"></a></td>
<td><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9214917/135754998-966cd217-45c8-487a-a0f3-b1895b836faf.jpg"><img width="320" src="https://user-images.githubusercontent.com/9214917/135754998-966cd217-45c8-487a-a0f3-b1895b836faf.jpg" style="max-width: 100%;"></a></td>
</tr>
<tr>
<td>Longest blocking time = 160 ms</td>
<td>Longest blocking time = 1496 ms</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>Platform:</strong></p>
<ul dir="auto">
<li>Device: Desktop</li>
<li>OS: Windows</li>
<li>Browser: Chrome, Brave, Firefox</li>
<li>Three.js version: r133</li>
</ul> | 1 |
<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/ramda</code> package 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" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
</ul>
<p dir="auto">Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/donnut/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/donnut">@donnut</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mdekrey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mdekrey">@mdekrey</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrdziuban/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrdziuban">@mrdziuban</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sbking/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sbking">@sbking</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/afharo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/afharo">@afharo</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/teves-castro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/teves-castro">@teves-castro</a> @1M0reBug <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hojberg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hojberg">@hojberg</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/charlespwd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/charlespwd">@charlespwd</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/samsonkeung/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/samsonkeung">@samsonkeung</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/angeloocana/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/angeloocana">@angeloocana</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/raynerd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/raynerd">@raynerd</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/googol/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/googol">@googol</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/moshensky/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/moshensky">@moshensky</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ethanresnick/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ethanresnick">@ethanresnick</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/leighman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/leighman">@leighman</a> @CaptJakk</p>
<p dir="auto">Hi. I'm trying to use <code class="notranslate">R.pipe</code> with <code class="notranslate">R.filter</code>, but I couldn't get the typing to work. But if I ignore the typings by adding <code class="notranslate">// @ts-ignore</code> the code works. I'm not asking this on StackOverflow because I'm almost sure it's a bug on the typings.</p>
<p dir="auto"><strong>This doesn't work (the typings, the code is great, as ignoring the error part with // <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ts-ignore/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ts-ignore">@ts-ignore</a> makes it work</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const searchRegexp = /\.dev\.test\.io/;
const env = 'prod';
const data = [
'https://testing.dev.test.io',
'https://testing2.local.dev.test.io',
'https://testing3.dev.test.io',
];
const values = pipe<string[], string[], string[], string[]>(
map(v => v.trim()),
/*
Below line throws:
Argument of type 'Filter<{}>' is not assignable to parameter of type '(x: string[]) => string[]'.
Type '{}[]' is not assignable to type 'string[]'.
Type '{}' is not assignable to type 'string'. (2345)
*/
filter(v => !(contains('.local.', v) && env !== 'dev')),
map(v => v.replace(searchRegexp, env === 'prod' ? '.test.com' : `.${env}.test.io`)),
)(data.split(','));"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">searchRegexp</span> <span class="pl-c1">=</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>dev<span class="pl-cce">\.</span>test<span class="pl-cce">\.</span>io<span class="pl-c1">/</span></span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s">'prod'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>
<span class="pl-s">'https://testing.dev.test.io'</span><span class="pl-kos">,</span>
<span class="pl-s">'https://testing2.local.dev.test.io'</span><span class="pl-kos">,</span>
<span class="pl-s">'https://testing3.dev.test.io'</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">values</span> <span class="pl-c1">=</span> <span class="pl-en">pipe</span><span class="pl-kos"><</span><span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">></span><span class="pl-kos">(</span>
<span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-s1">v</span><span class="pl-kos">.</span><span class="pl-en">trim</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c">/*</span>
<span class="pl-c"> Below line throws:</span>
<span class="pl-c"></span>
<span class="pl-c"> Argument of type 'Filter<{}>' is not assignable to parameter of type '(x: string[]) => string[]'.</span>
<span class="pl-c"> Type '{}[]' is not assignable to type 'string[]'.</span>
<span class="pl-c"> Type '{}' is not assignable to type 'string'. (2345)</span>
<span class="pl-c"> */</span>
<span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-c1">!</span><span class="pl-kos">(</span><span class="pl-en">contains</span><span class="pl-kos">(</span><span class="pl-s">'.local.'</span><span class="pl-kos">,</span> <span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-c1">&&</span> <span class="pl-s1">env</span> <span class="pl-c1">!==</span> <span class="pl-s">'dev'</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-s1">v</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s1">searchRegexp</span><span class="pl-kos">,</span> <span class="pl-s1">env</span> <span class="pl-c1">===</span> <span class="pl-s">'prod'</span> ? <span class="pl-s">'.test.com'</span> : <span class="pl-s">`.<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">env</span><span class="pl-kos">}</span></span>.test.io`</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">data</span><span class="pl-kos">.</span><span class="pl-en">split</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>
<p dir="auto"><strong>This works (both typings & code)</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const searchRegexp = /\.dev\.test\.io/;
const env = 'prod';
const data = [
'https://testing.dev.test.io',
'https://testing2.local.dev.test.io',
'https://testing3.dev.test.io',
];
const values = pipe<string[], string[], string[], string[]>(
map(v => v.trim()),
// adding this extra anonymous function here, makes everything to work
list => filter(v => !(contains('.local.', v) && env !== 'dev'), list),
map(v => v.replace(searchRegexp, env === 'prod' ? '.test.com' : `.${env}.test.io`)),
)(data.split(','));"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">searchRegexp</span> <span class="pl-c1">=</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>dev<span class="pl-cce">\.</span>test<span class="pl-cce">\.</span>io<span class="pl-c1">/</span></span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">env</span> <span class="pl-c1">=</span> <span class="pl-s">'prod'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>
<span class="pl-s">'https://testing.dev.test.io'</span><span class="pl-kos">,</span>
<span class="pl-s">'https://testing2.local.dev.test.io'</span><span class="pl-kos">,</span>
<span class="pl-s">'https://testing3.dev.test.io'</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">values</span> <span class="pl-c1">=</span> <span class="pl-en">pipe</span><span class="pl-kos"><</span><span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-smi">string</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">></span><span class="pl-kos">(</span>
<span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-s1">v</span><span class="pl-kos">.</span><span class="pl-en">trim</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-c">// adding this extra anonymous function here, makes everything to work</span>
<span class="pl-s1">list</span> <span class="pl-c1">=></span> <span class="pl-en">filter</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-c1">!</span><span class="pl-kos">(</span><span class="pl-en">contains</span><span class="pl-kos">(</span><span class="pl-s">'.local.'</span><span class="pl-kos">,</span> <span class="pl-s1">v</span><span class="pl-kos">)</span> <span class="pl-c1">&&</span> <span class="pl-s1">env</span> <span class="pl-c1">!==</span> <span class="pl-s">'dev'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">list</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">v</span> <span class="pl-c1">=></span> <span class="pl-s1">v</span><span class="pl-kos">.</span><span class="pl-en">replace</span><span class="pl-kos">(</span><span class="pl-s1">searchRegexp</span><span class="pl-kos">,</span> <span class="pl-s1">env</span> <span class="pl-c1">===</span> <span class="pl-s">'prod'</span> ? <span class="pl-s">'.test.com'</span> : <span class="pl-s">`.<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">env</span><span class="pl-kos">}</span></span>.test.io`</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">data</span><span class="pl-kos">.</span><span class="pl-en">split</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> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tomwanzek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomwanzek">@tomwanzek</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ledragon/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ledragon">@Ledragon</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gustavderdrache/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gustavderdrache">@gustavderdrache</a></li>
</ul>
</li>
</ul>
<p dir="auto">I just looked at the release notes for the RC1 of D3 Version 5. <strong>d3-fetch</strong> will be added in as a replacement for <strong>d3-request</strong>.</p>
<p dir="auto">So we'll need definitions for it proactively for D3 v5.</p> | 0 |
<h5 dir="auto">ISSUE TYPE</h5>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">COMPONENT NAME</h5>
<p dir="auto">task executor</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides"><pre class="notranslate"><code class="notranslate">ansible 2.2.0.0
config file =
configured module search path = Default w/o overrides
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<p dir="auto">tryed with different option on <em>ssh_args</em> (-o ControlPersist=3600s -o ServerAliveInterval=5)<br>
tryed with different option on "scp_on_ssh"<br>
same issue each time<br>
working with python3</p>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">manager: fedora<br>
managed: debian jessie</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">Have a complex playbook with many dependencies and many tasks with own handlers.<br>
On recursive <em>template</em> and <em>copy</em> tasks with 1-3 items and notified handlers, tasks with <em>changed=true</em> are very likely too hang : I need to wait Ansible go to the next step for 10-30 minutes<br>
while modification is done on the remote system and there is no more remote Ansible process.<br>
If I rerun the playbook, change is already done and I don't need to wait … for this task. But I lose handler execution.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Have complex playbook with 30 roles included through dependencies. Some few times.<br>
Each one raise at least two handlers. Some handlers can raise other handlers.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">Same with very higher speed</p>
<h5 dir="auto">ACTUAL RESULTS</h5> | <h5 dir="auto">SUMMARY</h5>
<p dir="auto">In continuation of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="383486084" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/49022" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/49022/hovercard" href="https://github.com/ansible/ansible/issues/49022">#49022</a>. The exponential slowdown depending on number of hosts in play was fixed. But but now overall speed of single handler notification became extremely slow, plus notification is done sequentially per host, so the slowness just adds up linearly.</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-playbook</p>
<h5 dir="auto">ANSIBLE VERSION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.8.2"><pre lang="paste" class="notranslate"><code class="notranslate">ansible 2.8.2
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="hash_behaviour = merge"><pre lang="paste" class="notranslate"><code class="notranslate">hash_behaviour = merge
</code></pre></div>
<h5 dir="auto">OS / ENVIRONMENT</h5>
<p dir="auto">FreeBSD 11.2</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>
<p dir="auto">Reproduction relies on amount of handlers, variables, hosts, roles, and role dependencies.<br>
Any inventory with dozens of hosts sorted into dozens of hierarchical groups (providing dicts with different default data by OS, distributions, locations, networks, roles, etc.).<br>
Any playbook with 15-25 interdependent roles containing handlers.<br>
A task placed anywhere notifying a handler at later roles.</p>
<h5 dir="auto">EXPECTED RESULTS</h5>
<p dir="auto">A handler gets norified, variables recalculated only once for a role containing notified handler.</p>
<h5 dir="auto">ACTUAL RESULTS</h5>
<p dir="auto">Variables recalculated For each and every handler in completely undeduplicated playbook.<br>
A play with 25 simple roles during notification explodes into 170 role iterations (dependency duplicates), 220 handler iterations (all handlers in duplicated roles), each recalculating the entire variable structure.<br>
With <code class="notranslate">ANSIBLE_DEBUG=1</code></p>
<details><summary>VariableManager calls</summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="3693 1562845073.13381: in VariableManager get_vars()
3693 1562845073.47800: done with get_vars()
3693 1562845073.68109: in VariableManager get_vars()
3693 1562845074.10258: done with get_vars()
3693 1562845074.39065: in VariableManager get_vars()
3693 1562845074.73850: done with get_vars()
3693 1562845074.90236: in VariableManager get_vars()
3693 1562845075.27555: done with get_vars()
3693 1562845075.39610: in VariableManager get_vars()
3693 1562845075.74022: done with get_vars()
3693 1562845075.74819: in VariableManager get_vars()
3693 1562845076.10584: done with get_vars()
3693 1562845076.11370: in VariableManager get_vars()
3693 1562845076.46047: done with get_vars()
3693 1562845076.46856: in VariableManager get_vars()
3693 1562845076.81712: done with get_vars()
3693 1562845076.82532: in VariableManager get_vars()
3693 1562845077.17848: done with get_vars()
3693 1562845109.96483: in VariableManager get_vars()
3693 1562845110.45942: done with get_vars()
3693 1562845110.46927: in VariableManager get_vars()
3693 1562845111.01206: done with get_vars()
3693 1562845111.04593: in VariableManager get_vars()
3693 1562845111.59820: done with get_vars()
3693 1562845111.62970: in VariableManager get_vars()
3693 1562845112.25615: done with get_vars()
3693 1562845112.28830: in VariableManager get_vars()
3693 1562845112.81393: done with get_vars()
3693 1562845112.84555: in VariableManager get_vars()
3693 1562845113.36888: done with get_vars()
3693 1562845113.39978: in VariableManager get_vars()
3693 1562845113.92366: done with get_vars()
3693 1562845113.95467: in VariableManager get_vars()
3693 1562845114.48308: done with get_vars()
3693 1562845114.51473: in VariableManager get_vars()
3693 1562845115.03816: done with get_vars()
3693 1562845115.06890: in VariableManager get_vars()
3693 1562845115.62322: done with get_vars()
3693 1562845115.65497: in VariableManager get_vars()
3693 1562845116.21111: done with get_vars()
3693 1562845116.24227: in VariableManager get_vars()
3693 1562845116.77168: done with get_vars()
3693 1562845116.80338: in VariableManager get_vars()
3693 1562845117.32858: done with get_vars()
3693 1562845117.35945: in VariableManager get_vars()
3693 1562845117.88534: done with get_vars()
3693 1562845117.91657: in VariableManager get_vars()
3693 1562845118.44143: done with get_vars()
3693 1562845118.47357: in VariableManager get_vars()
3693 1562845119.02958: done with get_vars()
3693 1562845119.06167: in VariableManager get_vars()
3693 1562845119.61302: done with get_vars()
3693 1562845119.64455: in VariableManager get_vars()
3693 1562845120.18604: done with get_vars()
3693 1562845120.21749: in VariableManager get_vars()
3693 1562845120.75676: done with get_vars()
3693 1562845120.78823: in VariableManager get_vars()
3693 1562845121.31478: done with get_vars()
3693 1562845121.34691: in VariableManager get_vars()
3693 1562845121.89229: done with get_vars()
3693 1562845121.92356: in VariableManager get_vars()
3693 1562845122.47078: done with get_vars()
3693 1562845122.50212: in VariableManager get_vars()
3693 1562845123.02591: done with get_vars()
3693 1562845123.05738: in VariableManager get_vars()
3693 1562845123.58405: done with get_vars()
3693 1562845123.61644: in VariableManager get_vars()
3693 1562845124.16204: done with get_vars()
3693 1562845124.19349: in VariableManager get_vars()
3693 1562845124.73944: done with get_vars()
3693 1562845124.77116: in VariableManager get_vars()
3693 1562845125.30681: done with get_vars()
3693 1562845125.33848: in VariableManager get_vars()
3693 1562845125.87795: done with get_vars()
3693 1562845125.90997: in VariableManager get_vars()
3693 1562845126.35928: done with get_vars()
3693 1562845126.39077: in VariableManager get_vars()
3693 1562845126.84051: done with get_vars()
3693 1562845126.87172: in VariableManager get_vars()
3693 1562845127.34931: done with get_vars()
3693 1562845127.38085: in VariableManager get_vars()
3693 1562845127.85868: done with get_vars()
3693 1562845128.02881: in VariableManager get_vars()
3693 1562845128.55449: done with get_vars()
3693 1562845128.56618: in VariableManager get_vars()
3693 1562845129.10810: done with get_vars()
3693 1562845129.12011: in VariableManager get_vars()
3693 1562845129.65890: done with get_vars()
3693 1562845129.67003: in VariableManager get_vars()
3693 1562845130.20285: done with get_vars()
3693 1562845130.21593: in VariableManager get_vars()
3693 1562845130.72310: done with get_vars()
3693 1562845130.73519: in VariableManager get_vars()
3693 1562845131.24794: done with get_vars()
3693 1562845131.26050: in VariableManager get_vars()
3693 1562845131.77116: done with get_vars()
3693 1562845131.78202: in VariableManager get_vars()
3693 1562845132.28939: done with get_vars()
3693 1562845132.30101: in VariableManager get_vars()
3693 1562845132.81703: done with get_vars()
3693 1562845132.82868: in VariableManager get_vars()
3693 1562845133.36514: done with get_vars()
3693 1562845133.37698: in VariableManager get_vars()
3693 1562845133.91445: done with get_vars()
3693 1562845133.92549: in VariableManager get_vars()
3693 1562845134.44220: done with get_vars()
3693 1562845134.45489: in VariableManager get_vars()
3693 1562845134.96272: done with get_vars()
3693 1562845134.97443: in VariableManager get_vars()
3693 1562845135.48053: done with get_vars()
3693 1562845135.49308: in VariableManager get_vars()
3693 1562845136.00167: done with get_vars()
3693 1562845136.01253: in VariableManager get_vars()
3693 1562845136.54834: done with get_vars()
3693 1562845136.56019: in VariableManager get_vars()
3693 1562845137.09674: done with get_vars()
3693 1562845137.10838: in VariableManager get_vars()
3693 1562845137.63543: done with get_vars()
3693 1562845137.64807: in VariableManager get_vars()
3693 1562845138.17328: done with get_vars()
3693 1562845138.18385: in VariableManager get_vars()
3693 1562845138.68994: done with get_vars()
3693 1562845138.70279: in VariableManager get_vars()
3693 1562845139.23269: done with get_vars()
3693 1562845139.24449: in VariableManager get_vars()
3693 1562845139.77096: done with get_vars()
3693 1562845139.78285: in VariableManager get_vars()
3693 1562845140.29036: done with get_vars()
3693 1562845140.30115: in VariableManager get_vars()
3693 1562845140.81226: done with get_vars()
3693 1562845140.82497: in VariableManager get_vars()
3693 1562845141.47603: done with get_vars()
3693 1562845141.48877: in VariableManager get_vars()
3693 1562845142.02053: done with get_vars()
3693 1562845142.03253: in VariableManager get_vars()
3693 1562845142.55286: done with get_vars()
3693 1562845142.56459: in VariableManager get_vars()
3693 1562845143.08599: done with get_vars()
3693 1562845143.09724: in VariableManager get_vars()
3693 1562845143.52063: done with get_vars()
3693 1562845143.53175: in VariableManager get_vars()
3693 1562845143.96240: done with get_vars()
3693 1562845143.97352: in VariableManager get_vars()
3693 1562845144.43444: done with get_vars()
3693 1562845144.44564: in VariableManager get_vars()
3693 1562845144.90883: done with get_vars()
3693 1562845145.01275: in VariableManager get_vars()
3693 1562845145.51465: done with get_vars()
3693 1562845145.60066: in VariableManager get_vars()
3693 1562845146.09565: done with get_vars()
3693 1562845146.10667: in VariableManager get_vars()
3693 1562845146.65135: done with get_vars()
3693 1562845146.66240: in VariableManager get_vars()
3693 1562845147.19699: done with get_vars()
3693 1562845147.20840: in VariableManager get_vars()
3693 1562845147.74441: done with get_vars()
3693 1562845147.75630: in VariableManager get_vars()
3693 1562845148.26704: done with get_vars()
3693 1562845148.27790: in VariableManager get_vars()
3693 1562845148.79405: done with get_vars()
3693 1562845148.80590: in VariableManager get_vars()
3693 1562845149.28329: done with get_vars()
3693 1562845149.29453: in VariableManager get_vars()
3693 1562845149.80491: done with get_vars()
3693 1562845149.81554: in VariableManager get_vars()
3693 1562845150.32502: done with get_vars()
3693 1562845150.33581: in VariableManager get_vars()
3693 1562845150.87668: done with get_vars()
3693 1562845150.88823: in VariableManager get_vars()
3693 1562845151.42930: done with get_vars()
3693 1562845151.44005: in VariableManager get_vars()
3693 1562845151.95346: done with get_vars()
3693 1562845151.96501: in VariableManager get_vars()
3693 1562845152.47494: done with get_vars()
3693 1562845152.48568: in VariableManager get_vars()
3693 1562845152.99218: done with get_vars()
3693 1562845153.00293: in VariableManager get_vars()
3693 1562845153.51185: done with get_vars()
3693 1562845153.52361: in VariableManager get_vars()
3693 1562845154.06168: done with get_vars()
3693 1562845154.07295: in VariableManager get_vars()
3693 1562845154.61136: done with get_vars()
3693 1562845154.62211: in VariableManager get_vars()
3693 1562845155.15239: done with get_vars()
3693 1562845155.16386: in VariableManager get_vars()
3693 1562845155.69020: done with get_vars()
3693 1562845155.70088: in VariableManager get_vars()
3693 1562845156.20748: done with get_vars()
3693 1562845156.21852: in VariableManager get_vars()
3693 1562845156.75030: done with get_vars()
3693 1562845156.76121: in VariableManager get_vars()
3693 1562845157.29197: done with get_vars()
3693 1562845157.30262: in VariableManager get_vars()
3693 1562845157.81103: done with get_vars()
3693 1562845157.82063: in VariableManager get_vars()
3693 1562845158.33310: done with get_vars()
3693 1562845158.34520: in VariableManager get_vars()
3693 1562845158.87855: done with get_vars()
3693 1562845158.88983: in VariableManager get_vars()
3693 1562845159.42142: done with get_vars()
3693 1562845159.43236: in VariableManager get_vars()
3693 1562845159.95546: done with get_vars()
3693 1562845159.96630: in VariableManager get_vars()
3693 1562845160.48870: done with get_vars()
3693 1562845160.49914: in VariableManager get_vars()
3693 1562845160.93156: done with get_vars()
3693 1562845160.94147: in VariableManager get_vars()
3693 1562845161.37391: done with get_vars()
3693 1562845161.38388: in VariableManager get_vars()
3693 1562845161.85129: done with get_vars()
3693 1562845161.86333: in VariableManager get_vars()
3693 1562845162.32817: done with get_vars()
3693 1562845162.41261: in VariableManager get_vars()
3693 1562845162.90831: in VariableManager get_vars()
3693 1562845163.24063: done with get_vars()
3693 1562845163.24084: done with get_vars()
3693 1562845163.33775: in VariableManager get_vars()
3693 1562845163.83566: done with get_vars()
3693 1562845163.84692: in VariableManager get_vars()
4038 1562845163.87570: in VariableManager get_vars()
4038 1562845164.04735: done with get_vars()
3693 1562845164.35165: done with get_vars()
3693 1562845164.36583: in VariableManager get_vars()
4039 1562845164.38977: in VariableManager get_vars()
4039 1562845164.56118: done with get_vars()
3693 1562845164.86139: done with get_vars()
3693 1562845164.87556: in VariableManager get_vars()
4040 1562845164.90013: in VariableManager get_vars()
4040 1562845165.07483: done with get_vars()
3693 1562845165.37027: done with get_vars()
3693 1562845165.38288: in VariableManager get_vars()
4041 1562845165.41993: in VariableManager get_vars()
4041 1562845165.58344: done with get_vars()
3693 1562845165.86382: done with get_vars()
3693 1562845165.87852: in VariableManager get_vars()
4042 1562845165.90271: in VariableManager get_vars()
4042 1562845166.04183: done with get_vars()
3693 1562845166.35578: done with get_vars()
3693 1562845166.36956: in VariableManager get_vars()
4043 1562845166.39382: in VariableManager get_vars()
4043 1562845166.53309: done with get_vars()
3693 1562845166.84556: done with get_vars()
3693 1562845166.85939: in VariableManager get_vars()
4044 1562845166.88321: in VariableManager get_vars()
4044 1562845167.02114: done with get_vars()
3693 1562845167.33667: done with get_vars()
3693 1562845167.35021: in VariableManager get_vars()
4045 1562845167.37388: in VariableManager get_vars()
4045 1562845167.51258: done with get_vars()
3693 1562845167.82868: done with get_vars()
3693 1562845167.84252: in VariableManager get_vars()
4046 1562845167.86615: in VariableManager get_vars()
4046 1562845168.01248: done with get_vars()
3693 1562845168.34782: done with get_vars()
3693 1562845168.36040: in VariableManager get_vars()
4047 1562845168.39209: in VariableManager get_vars()
4047 1562845168.56074: done with get_vars()
3693 1562845168.86365: done with get_vars()
3693 1562845168.87857: in VariableManager get_vars()
4048 1562845168.90225: in VariableManager get_vars()
4048 1562845169.07240: done with get_vars()
3693 1562845169.35173: done with get_vars()
3693 1562845169.36577: in VariableManager get_vars()
4049 1562845169.38910: in VariableManager get_vars()
4049 1562845169.52869: done with get_vars()
3693 1562845169.84449: done with get_vars()
3693 1562845169.85823: in VariableManager get_vars()
4050 1562845169.88210: in VariableManager get_vars()
4050 1562845170.02082: done with get_vars()
3693 1562845170.33128: done with get_vars()
3693 1562845170.34484: in VariableManager get_vars()
4051 1562845170.36859: in VariableManager get_vars()
4051 1562845170.50421: done with get_vars()
3693 1562845170.82222: done with get_vars()
3693 1562845170.83613: in VariableManager get_vars()
4052 1562845170.85994: in VariableManager get_vars()
4052 1562845171.00413: done with get_vars()
3693 1562845171.34174: done with get_vars()
3693 1562845171.35428: in VariableManager get_vars()
4053 1562845171.38489: in VariableManager get_vars()
4053 1562845171.55297: done with get_vars()
3693 1562845171.85436: done with get_vars()
3693 1562845171.86968: in VariableManager get_vars()
4054 1562845171.89343: in VariableManager get_vars()
4054 1562845172.06086: done with get_vars()
3693 1562845172.35704: done with get_vars()
3693 1562845172.37127: in VariableManager get_vars()
4055 1562845172.39481: in VariableManager get_vars()
4055 1562845172.55041: done with get_vars()
3693 1562845172.86184: done with get_vars()
3693 1562845172.87544: in VariableManager get_vars()
4056 1562845172.89898: in VariableManager get_vars()
4056 1562845173.05387: done with get_vars()
3693 1562845173.34601: done with get_vars()
3693 1562845173.35968: in VariableManager get_vars()
4057 1562845173.38350: in VariableManager get_vars()
4057 1562845173.51872: done with get_vars()
3693 1562845173.85972: done with get_vars()
3693 1562845173.87340: in VariableManager get_vars()
4058 1562845173.89725: in VariableManager get_vars()
4058 1562845174.06297: done with get_vars()
3693 1562845174.37018: done with get_vars()
3693 1562845174.38305: in VariableManager get_vars()
4059 1562845174.41331: in VariableManager get_vars()
4059 1562845174.57317: done with get_vars()
3693 1562845174.85728: done with get_vars()
3693 1562845174.87160: in VariableManager get_vars()
4060 1562845174.89488: in VariableManager get_vars()
4060 1562845175.03227: done with get_vars()
3693 1562845175.34675: done with get_vars()
3693 1562845175.36062: in VariableManager get_vars()
4061 1562845175.38459: in VariableManager get_vars()
4061 1562845175.52308: done with get_vars()
3693 1562845175.86424: done with get_vars()
3693 1562845175.87818: in VariableManager get_vars()
4062 1562845175.90226: in VariableManager get_vars()
4062 1562845176.06433: done with get_vars()
3693 1562845176.37340: done with get_vars()
3693 1562845176.38803: in VariableManager get_vars()
4067 1562845176.41242: in VariableManager get_vars()
4067 1562845176.57441: done with get_vars()
3693 1562845176.87470: done with get_vars()
3693 1562845176.88851: in VariableManager get_vars()
4094 1562845176.91224: in VariableManager get_vars()
4094 1562845177.07181: done with get_vars()
3693 1562845177.37461: done with get_vars()
3693 1562845177.38789: in VariableManager get_vars()
4095 1562845177.42173: in VariableManager get_vars()
4095 1562845177.78114: done with get_vars()
3693 1562845177.78981: done with get_vars()
3693 1562845177.80459: in VariableManager get_vars()
3693 1562845178.34539: done with get_vars()
3693 1562845178.35962: in VariableManager get_vars()
3693 1562845178.82063: done with get_vars()
3693 1562845178.83362: in VariableManager get_vars()
4102 1562845178.85749: in VariableManager get_vars()
4102 1562845178.95041: done with get_vars()
3693 1562845179.27999: done with get_vars()
4103 1562845179.31733: in VariableManager get_vars()
4103 1562845179.40946: done with get_vars()
3693 1562845179.47786: in VariableManager get_vars()
3693 1562845179.97562: done with get_vars()
3693 1562845179.98644: in VariableManager get_vars()
3693 1562845180.52767: done with get_vars()
3693 1562845180.53936: in VariableManager get_vars()
3693 1562845181.07361: done with get_vars()
3693 1562845181.08468: in VariableManager get_vars()
3693 1562845181.61743: done with get_vars()
3693 1562845181.62861: in VariableManager get_vars()
3693 1562845182.14377: done with get_vars()
3693 1562845182.15578: in VariableManager get_vars()
3693 1562845182.66590: done with get_vars()
3693 1562845182.67691: in VariableManager get_vars()
3693 1562845183.18660: done with get_vars()
3693 1562845183.19763: in VariableManager get_vars()
3693 1562845183.70681: done with get_vars()
3693 1562845183.71742: in VariableManager get_vars()
3693 1562845184.22976: done with get_vars()
3693 1562845184.24041: in VariableManager get_vars()
3693 1562845184.78371: done with get_vars()
3693 1562845184.79446: in VariableManager get_vars()
3693 1562845185.34158: done with get_vars()
3693 1562845185.35315: in VariableManager get_vars()
3693 1562845185.86314: done with get_vars()
3693 1562845185.87454: in VariableManager get_vars()
3693 1562845186.38486: done with get_vars()
3693 1562845186.39572: in VariableManager get_vars()
3693 1562845186.90250: done with get_vars()
3693 1562845186.91305: in VariableManager get_vars()
3693 1562845187.42148: done with get_vars()
3693 1562845187.43217: in VariableManager get_vars()
3693 1562845187.97176: done with get_vars()
3693 1562845187.98230: in VariableManager get_vars()
3693 1562845188.52574: done with get_vars()
3693 1562845188.53727: in VariableManager get_vars()
3693 1562845189.06117: done with get_vars()
3693 1562845189.07197: in VariableManager get_vars()
3693 1562845189.59814: done with get_vars()
3693 1562845189.60899: in VariableManager get_vars()
3693 1562845190.11453: done with get_vars()
3693 1562845190.12508: in VariableManager get_vars()
3693 1562845190.65377: done with get_vars()
3693 1562845190.66451: in VariableManager get_vars()
3693 1562845191.19628: done with get_vars()
3693 1562845191.20693: in VariableManager get_vars()
3693 1562845191.71879: done with get_vars()
3693 1562845191.73036: in VariableManager get_vars()
3693 1562845192.23791: done with get_vars()
3693 1562845192.24840: in VariableManager get_vars()
3693 1562845192.77915: done with get_vars()
3693 1562845192.79030: in VariableManager get_vars()
3693 1562845193.32287: done with get_vars()
3693 1562845193.33391: in VariableManager get_vars()
3693 1562845193.85479: done with get_vars()
3693 1562845193.86599: in VariableManager get_vars()
3693 1562845194.39017: done with get_vars()
3693 1562845194.40187: in VariableManager get_vars()
3693 1562845194.83506: done with get_vars()
3693 1562845194.84466: in VariableManager get_vars()
3693 1562845195.27996: done with get_vars()
3693 1562845195.29116: in VariableManager get_vars()
3693 1562845195.75446: done with get_vars()
3693 1562845195.76489: in VariableManager get_vars()
3693 1562845196.22771: done with get_vars()
3693 1562845196.31618: in VariableManager get_vars()
3693 1562845196.81183: in VariableManager get_vars()
3693 1562845197.14390: done with get_vars()
3693 1562845197.14411: done with get_vars()
3693 1562845197.68758: in VariableManager get_vars()
3693 1562845198.18269: done with get_vars()
3693 1562845198.19372: in VariableManager get_vars()
4144 1562845198.21987: in VariableManager get_vars()
4144 1562845198.39227: done with get_vars()
3693 1562845198.69836: done with get_vars()
3693 1562845198.71082: in VariableManager get_vars()
4146 1562845198.73695: in VariableManager get_vars()
4146 1562845198.90840: done with get_vars()
3693 1562845199.20883: done with get_vars()
3693 1562845199.21872: in VariableManager get_vars()
4151 1562845199.24501: in VariableManager get_vars()
4151 1562845199.42188: done with get_vars()
3693 1562845199.73939: done with get_vars()
3693 1562845199.75266: in VariableManager get_vars()
4156 1562845199.77749: in VariableManager get_vars()
4156 1562845199.94190: done with get_vars()
3693 1562845200.22609: done with get_vars()
3693 1562845200.23995: in VariableManager get_vars()
4175 1562845200.26404: in VariableManager get_vars()
4175 1562845200.40347: done with get_vars()
3693 1562845200.72361: done with get_vars()
3693 1562845200.73744: in VariableManager get_vars()
4180 1562845200.76145: in VariableManager get_vars()
4180 1562845200.90148: done with get_vars()
3693 1562845201.21040: done with get_vars()
3693 1562845201.22559: in VariableManager get_vars()
4185 1562845201.24915: in VariableManager get_vars()
4185 1562845201.38848: done with get_vars()
3693 1562845201.69933: done with get_vars()
3693 1562845201.71146: in VariableManager get_vars()
4190 1562845201.73701: in VariableManager get_vars()
4190 1562845201.87920: done with get_vars()
3693 1562845202.20505: done with get_vars()
3693 1562845202.21666: in VariableManager get_vars()
4195 1562845202.24009: in VariableManager get_vars()
4195 1562845202.38897: done with get_vars()
3693 1562845202.75144: done with get_vars()
3693 1562845202.76650: in VariableManager get_vars()
4200 1562845202.78988: in VariableManager get_vars()
4200 1562845202.95914: done with get_vars()
3693 1562845203.26851: done with get_vars()
3693 1562845203.28308: in VariableManager get_vars()
4205 1562845203.30644: in VariableManager get_vars()
4205 1562845203.47637: done with get_vars()
3693 1562845203.75759: done with get_vars()
3693 1562845203.77102: in VariableManager get_vars()
4210 1562845203.79472: in VariableManager get_vars()
4210 1562845203.93465: done with get_vars()
3693 1562845204.24153: done with get_vars()
3693 1562845204.25364: in VariableManager get_vars()
4215 1562845204.27931: in VariableManager get_vars()
4215 1562845204.41847: done with get_vars()
3693 1562845204.75265: done with get_vars()
3693 1562845204.76649: in VariableManager get_vars()
4217 1562845204.79004: in VariableManager get_vars()
4217 1562845204.92575: done with get_vars()
3693 1562845205.23979: done with get_vars()
3693 1562845205.25085: in VariableManager get_vars()
4219 1562845205.27422: in VariableManager get_vars()
4219 1562845205.41986: done with get_vars()
3693 1562845205.75791: done with get_vars()
3693 1562845205.76984: in VariableManager get_vars()
4224 1562845205.79572: in VariableManager get_vars()
4224 1562845205.96415: done with get_vars()
3693 1562845206.27088: done with get_vars()
3693 1562845206.28377: in VariableManager get_vars()
4237 1562845206.30944: in VariableManager get_vars()
4237 1562845206.47659: done with get_vars()
3693 1562845206.79261: done with get_vars()
3693 1562845206.80650: in VariableManager get_vars()
4242 1562845206.83073: in VariableManager get_vars()
4242 1562845206.98658: done with get_vars()
3693 1562845207.29678: done with get_vars()
3693 1562845207.31134: in VariableManager get_vars()
4258 1562845207.33522: in VariableManager get_vars()
4258 1562845207.49078: done with get_vars()
3693 1562845207.78757: done with get_vars()
3693 1562845207.80132: in VariableManager get_vars()
4274 1562845207.82491: in VariableManager get_vars()
4274 1562845207.95981: done with get_vars()
3693 1562845208.34281: done with get_vars()
3693 1562845208.35617: in VariableManager get_vars()
4293 1562845208.37816: in VariableManager get_vars()
4293 1562845208.54610: done with get_vars()
3693 1562845208.86534: done with get_vars()
3693 1562845208.87924: in VariableManager get_vars()
4298 1562845208.90277: in VariableManager get_vars()
4298 1562845209.06351: done with get_vars()
3693 1562845209.40413: done with get_vars()
3693 1562845209.41716: in VariableManager get_vars()
4303 1562845209.44016: in VariableManager get_vars()
4303 1562845209.57753: done with get_vars()
3693 1562845209.91582: done with get_vars()
3693 1562845209.92874: in VariableManager get_vars()
4305 1562845209.95256: in VariableManager get_vars()
4305 1562845210.09058: done with get_vars()
3693 1562845210.42117: done with get_vars()
3693 1562845210.43385: in VariableManager get_vars()
4307 1562845210.45953: in VariableManager get_vars()
4307 1562845210.62231: done with get_vars()
3693 1562845210.93029: done with get_vars()
3693 1562845210.94331: in VariableManager get_vars()
4309 1562845210.96912: in VariableManager get_vars()
4309 1562845211.13078: done with get_vars()
3693 1562845211.43008: done with get_vars()
3693 1562845211.44304: in VariableManager get_vars()
4311 1562845211.46885: in VariableManager get_vars()
4311 1562845211.62841: done with get_vars()
3693 1562845211.93701: done with get_vars()
3693 1562845211.94721: in VariableManager get_vars()
4316 1562845211.97273: in VariableManager get_vars()
4316 1562845212.12449: done with get_vars()
3693 1562845212.34088: done with get_vars()
3693 1562845212.35186: in VariableManager get_vars()
4318 1562845212.37755: in VariableManager get_vars()
4318 1562845212.43767: done with get_vars()
3693 1562845212.74565: done with get_vars()
3693 1562845212.75795: in VariableManager get_vars()
4324 1562845212.78346: in VariableManager get_vars()
4324 1562845212.84377: done with get_vars()
3693 1562845213.18421: done with get_vars()
3693 1562845213.19619: in VariableManager get_vars()
4330 1562845213.22199: in VariableManager get_vars()
4330 1562845213.31460: done with get_vars()
3693 1562845213.63384: done with get_vars()
4338 1562845213.66982: in VariableManager get_vars()
4338 1562845213.76139: done with get_vars()
3693 1562845233.90164: in VariableManager get_vars()
3693 1562845234.39507: done with get_vars()
3693 1562845234.40625: in VariableManager get_vars()
3693 1562845234.91181: done with get_vars()
3693 1562845234.92678: in VariableManager get_vars()
3693 1562845235.42690: done with get_vars()
3693 1562845235.43664: in VariableManager get_vars()
3693 1562845235.99889: done with get_vars()
3693 1562845236.00990: in VariableManager get_vars()
3693 1562845236.68065: done with get_vars()
3693 1562845236.69141: in VariableManager get_vars()
3693 1562845237.20233: done with get_vars()
3693 1562845237.21485: in VariableManager get_vars()
3693 1562845237.69695: done with get_vars()
3693 1562845237.70963: in VariableManager get_vars()
3693 1562845238.18418: done with get_vars()
3693 1562845238.19606: in VariableManager get_vars()
3693 1562845238.66895: done with get_vars()
3693 1562845238.68082: in VariableManager get_vars()
3693 1562845239.18976: done with get_vars()
3693 1562845239.20178: in VariableManager get_vars()
3693 1562845239.71727: done with get_vars()
3693 1562845239.72977: in VariableManager get_vars()
3693 1562845240.20442: done with get_vars()
3693 1562845240.21640: in VariableManager get_vars()
3693 1562845240.69934: done with get_vars()
3693 1562845240.71138: in VariableManager get_vars()
3693 1562845241.17888: done with get_vars()
3693 1562845241.18962: in VariableManager get_vars()
3693 1562845241.66186: done with get_vars()
3693 1562845241.67265: in VariableManager get_vars()
3693 1562845242.21797: done with get_vars()
3693 1562845242.23032: in VariableManager get_vars()
3693 1562845242.77005: done with get_vars()
3693 1562845242.78240: in VariableManager get_vars()
3693 1562845243.32232: done with get_vars()
3693 1562845243.33422: in VariableManager get_vars()
3693 1562845243.82336: done with get_vars()
3693 1562845243.83511: in VariableManager get_vars()
3693 1562845244.33709: done with get_vars()
3693 1562845244.34906: in VariableManager get_vars()
3693 1562845244.88403: done with get_vars()
3693 1562845244.89505: in VariableManager get_vars()
3693 1562845245.38781: done with get_vars()
3693 1562845245.39829: in VariableManager get_vars()
3693 1562845245.87063: done with get_vars()
3693 1562845245.88107: in VariableManager get_vars()
3693 1562845246.35758: done with get_vars()
3693 1562845246.36805: in VariableManager get_vars()
3693 1562845246.86262: done with get_vars()
3693 1562845246.87328: in VariableManager get_vars()
3693 1562845247.36817: done with get_vars()
3693 1562845247.37988: in VariableManager get_vars()
3693 1562845247.86508: done with get_vars()
3693 1562845247.87688: in VariableManager get_vars()
3693 1562845248.38812: done with get_vars()
3693 1562845248.40163: in VariableManager get_vars()
3693 1562845248.85891: done with get_vars()
3693 1562845248.87031: in VariableManager get_vars()
3693 1562845249.27361: done with get_vars()
3693 1562845249.28483: in VariableManager get_vars()
3693 1562845249.71036: done with get_vars()
3693 1562845249.72104: in VariableManager get_vars()
3693 1562845250.16575: done with get_vars()
3693 1562845300.49436: in VariableManager get_vars()
3693 1562845300.99215: done with get_vars()
3693 1562845301.00401: in VariableManager get_vars()
3693 1562845301.51268: done with get_vars()
3693 1562845301.52539: in VariableManager get_vars()
3693 1562845302.02667: done with get_vars()
3693 1562845302.03896: in VariableManager get_vars()
4495 1562845302.35973: in VariableManager get_vars()
4495 1562845302.53122: done with get_vars()
3693 1562845302.54408: done with get_vars()
3693 1562845302.55429: in VariableManager get_vars()
4497 1562845302.72040: in VariableManager get_vars()
4497 1562845302.89087: done with get_vars()
3693 1562845303.02965: done with get_vars()
3693 1562845303.04166: in VariableManager get_vars()
4502 1562845303.26339: in VariableManager get_vars()
4502 1562845303.42962: done with get_vars()
3693 1562845303.53246: done with get_vars()
3693 1562845303.54427: in VariableManager get_vars()
4508 1562845303.65927: in VariableManager get_vars()
4508 1562845303.83332: done with get_vars()
3693 1562845304.02201: done with get_vars()
3693 1562845304.03419: in VariableManager get_vars()
4516 1562845304.32724: in VariableManager get_vars()
4516 1562845304.46581: done with get_vars()
3693 1562845304.51737: done with get_vars()
3693 1562845304.53033: in VariableManager get_vars()
4535 1562845304.76699: in VariableManager get_vars()
4535 1562845304.90575: done with get_vars()
3693 1562845304.94539: done with get_vars()
3693 1562845304.94659: in VariableManager get_vars()
4544 1562845305.15790: in VariableManager get_vars()
4544 1562845305.29701: done with get_vars()
3693 1562845305.32423: done with get_vars()
3693 1562845305.32459: in VariableManager get_vars()
3693 1562845305.66281: done with get_vars()
3693 1562845305.66320: in VariableManager get_vars()
4558 1562845305.78183: in VariableManager get_vars()
4558 1562845305.92107: done with get_vars()
3693 1562845305.99068: done with get_vars()
3693 1562845305.99107: in VariableManager get_vars()
3693 1562845306.37648: done with get_vars()
3693 1562845306.37720: in VariableManager get_vars()
3693 1562845306.74896: done with get_vars()
3693 1562845306.74968: in VariableManager get_vars()
3693 1562845307.14673: done with get_vars()
3693 1562845307.14750: in VariableManager get_vars()
3693 1562845307.48952: done with get_vars()
3693 1562845307.48991: in VariableManager get_vars()
3693 1562845307.88774: done with get_vars()
3693 1562845307.88828: in VariableManager get_vars()
3693 1562845308.21920: done with get_vars()
3693 1562845308.21946: in VariableManager get_vars()
3693 1562845308.55362: done with get_vars()
3693 1562845308.55390: in VariableManager get_vars()
3693 1562845308.88566: done with get_vars()
3693 1562845308.88592: in VariableManager get_vars()
3693 1562845309.21590: done with get_vars()
3693 1562845309.21616: in VariableManager get_vars()
3693 1562845309.54389: done with get_vars()
3693 1562845309.54415: in VariableManager get_vars()
3693 1562845309.87156: done with get_vars()
3693 1562845309.87182: in VariableManager get_vars()
3693 1562845310.19969: done with get_vars()
3693 1562845310.19994: in VariableManager get_vars()
3693 1562845310.52820: done with get_vars()
3693 1562845310.52846: in VariableManager get_vars()
3693 1562845310.85617: done with get_vars()
3693 1562845310.85643: in VariableManager get_vars()
3693 1562845311.18336: done with get_vars()
3693 1562845311.18361: in VariableManager get_vars()
3693 1562845311.51152: done with get_vars()
3693 1562845311.51178: in VariableManager get_vars()
3693 1562845311.84505: done with get_vars()
3693 1562845311.84531: in VariableManager get_vars()
3693 1562845312.17276: done with get_vars()
3693 1562845312.17333: in VariableManager get_vars()
3693 1562845312.50146: done with get_vars()
3693 1562845312.50174: in VariableManager get_vars()
3693 1562845312.84136: done with get_vars()
3693 1562845312.84162: in VariableManager get_vars()
3693 1562845313.17026: done with get_vars()
3693 1562845313.17051: in VariableManager get_vars()
3693 1562845313.49970: done with get_vars()
3693 1562845313.49998: in VariableManager get_vars()
3693 1562845313.82795: done with get_vars()
3693 1562845313.82824: in VariableManager get_vars()
3693 1562845314.15465: done with get_vars()
3693 1562845314.15490: in VariableManager get_vars()
3693 1562845314.48131: done with get_vars()
3693 1562845314.48159: in VariableManager get_vars()
3693 1562845314.81179: done with get_vars()
3693 1562845314.81211: in VariableManager get_vars()
3693 1562845315.13878: done with get_vars()
3693 1562845315.13903: in VariableManager get_vars()
3693 1562845315.46571: done with get_vars()
3693 1562845315.46595: in VariableManager get_vars()
3693 1562845315.79225: done with get_vars()
3693 1562845315.79249: in VariableManager get_vars()
3693 1562845316.13786: done with get_vars()
3693 1562845316.13810: in VariableManager get_vars()
3693 1562845316.47559: done with get_vars()
3693 1562845316.47583: in VariableManager get_vars()
3693 1562845316.80750: done with get_vars()
3693 1562845316.80775: in VariableManager get_vars()
3693 1562845317.15276: done with get_vars()
3693 1562845317.15300: in VariableManager get_vars()
3693 1562845317.47956: done with get_vars()
3693 1562845317.47981: in VariableManager get_vars()
3693 1562845317.80640: done with get_vars()
3693 1562845317.80664: in VariableManager get_vars()
3693 1562845318.15110: done with get_vars()
3693 1562845318.15134: in VariableManager get_vars()
3693 1562845318.48804: done with get_vars()
3693 1562845318.48828: in VariableManager get_vars()
3693 1562845318.81500: done with get_vars()
3693 1562845318.81523: in VariableManager get_vars()
3693 1562845319.15511: done with get_vars()
3693 1562845319.15535: in VariableManager get_vars()
3693 1562845319.48274: done with get_vars()
3693 1562845319.48298: in VariableManager get_vars()
3693 1562845319.81048: done with get_vars()
3693 1562845319.81078: in VariableManager get_vars()
3693 1562845320.15606: done with get_vars()
3693 1562845320.15632: in VariableManager get_vars()
3693 1562845320.48808: done with get_vars()
3693 1562845320.48832: in VariableManager get_vars()
3693 1562845320.81746: done with get_vars()
3693 1562845320.81771: in VariableManager get_vars()
3693 1562845321.14345: done with get_vars()
3693 1562845321.14369: in VariableManager get_vars()
3693 1562845321.47856: done with get_vars()
3693 1562845321.47880: in VariableManager get_vars()
3693 1562845321.82361: done with get_vars()
3693 1562845321.82394: in VariableManager get_vars()
3693 1562845322.15110: done with get_vars()
3693 1562845322.15144: in VariableManager get_vars()
3693 1562845322.47846: done with get_vars()
3693 1562845322.47872: in VariableManager get_vars()
3693 1562845322.81440: done with get_vars()
3693 1562845322.81465: in VariableManager get_vars()
3693 1562845323.14144: done with get_vars()
3693 1562845323.14169: in VariableManager get_vars()
3693 1562845323.46967: done with get_vars()
3693 1562845323.46991: in VariableManager get_vars()
3693 1562845323.81164: done with get_vars()
3693 1562845323.81188: in VariableManager get_vars()
3693 1562845324.13967: done with get_vars()
3693 1562845324.13990: in VariableManager get_vars()
3693 1562845324.46995: done with get_vars()
3693 1562845324.47019: in VariableManager get_vars()
3693 1562845324.80013: done with get_vars()
3693 1562845324.80036: in VariableManager get_vars()
3693 1562845325.15012: done with get_vars()
3693 1562845325.15036: in VariableManager get_vars()
3693 1562845325.48551: done with get_vars()
3693 1562845325.48576: in VariableManager get_vars()
3693 1562845325.81735: done with get_vars()
3693 1562845325.81759: in VariableManager get_vars()
3693 1562845326.16110: done with get_vars()
3693 1562845326.16134: in VariableManager get_vars()
3693 1562845326.49148: done with get_vars()
3693 1562845326.49172: in VariableManager get_vars()
3693 1562845326.82274: done with get_vars()
3693 1562845326.82298: in VariableManager get_vars()
3693 1562845327.15203: done with get_vars()
3693 1562845327.15227: in VariableManager get_vars()
3693 1562845327.48247: done with get_vars()
3693 1562845327.48272: in VariableManager get_vars()
3693 1562845327.81302: done with get_vars()
3693 1562845327.81326: in VariableManager get_vars()
3693 1562845328.14903: done with get_vars()
3693 1562845328.14928: in VariableManager get_vars()
3693 1562845328.48709: done with get_vars()
3693 1562845328.48735: in VariableManager get_vars()
3693 1562845328.81399: done with get_vars()
3693 1562845328.81422: in VariableManager get_vars()
3693 1562845329.14123: done with get_vars()
3693 1562845329.14161: in VariableManager get_vars()
3693 1562845329.46946: done with get_vars()
3693 1562845329.46987: in VariableManager get_vars()
3693 1562845329.80295: done with get_vars()
3693 1562845329.80333: in VariableManager get_vars()
3693 1562845330.13253: done with get_vars()
3693 1562845330.13294: in VariableManager get_vars()
3693 1562845330.46101: done with get_vars()
3693 1562845330.46135: in VariableManager get_vars()
3693 1562845330.78882: done with get_vars()
3693 1562845330.78907: in VariableManager get_vars()
3693 1562845331.11645: done with get_vars()
3693 1562845331.11670: in VariableManager get_vars()
3693 1562845331.44287: done with get_vars()
3693 1562845331.44311: in VariableManager get_vars()
3693 1562845331.77002: done with get_vars()
3693 1562845331.77027: in VariableManager get_vars()
3693 1562845332.11356: done with get_vars()
3693 1562845332.11380: in VariableManager get_vars()
3693 1562845332.44103: done with get_vars()
3693 1562845332.44126: in VariableManager get_vars()
3693 1562845332.76786: done with get_vars()
3693 1562845332.76811: in VariableManager get_vars()
3693 1562845333.09489: done with get_vars()
3693 1562845333.09513: in VariableManager get_vars()
3693 1562845333.42174: done with get_vars()
3693 1562845333.42198: in VariableManager get_vars()
3693 1562845333.75623: done with get_vars()
3693 1562845333.75648: in VariableManager get_vars()
3693 1562845334.08326: done with get_vars()
3693 1562845334.08350: in VariableManager get_vars()
3693 1562845334.43417: done with get_vars()
3693 1562845334.43440: in VariableManager get_vars()
3693 1562845334.76084: done with get_vars()
3693 1562845334.76109: in VariableManager get_vars()
3693 1562845335.11218: done with get_vars()
3693 1562845335.11243: in VariableManager get_vars()
3693 1562845335.44183: done with get_vars()
3693 1562845335.44207: in VariableManager get_vars()
3693 1562845335.77198: done with get_vars()
3693 1562845335.77222: in VariableManager get_vars()
3693 1562845336.11069: done with get_vars()
3693 1562845336.11093: in VariableManager get_vars()
3693 1562845336.43785: done with get_vars()
3693 1562845336.43809: in VariableManager get_vars()
3693 1562845336.76565: done with get_vars()
3693 1562845336.76589: in VariableManager get_vars()
3693 1562845337.09542: done with get_vars()
3693 1562845337.09567: in VariableManager get_vars()
3693 1562845337.43215: done with get_vars()
3693 1562845337.43239: in VariableManager get_vars()
3693 1562845337.77689: done with get_vars()
3693 1562845337.77713: in VariableManager get_vars()
3693 1562845338.11068: done with get_vars()
3693 1562845338.11092: in VariableManager get_vars()
3693 1562845338.43827: done with get_vars()
3693 1562845338.43851: in VariableManager get_vars()
3693 1562845338.76747: done with get_vars()
3693 1562845338.76772: in VariableManager get_vars()
3693 1562845339.09630: done with get_vars()
3693 1562845339.09654: in VariableManager get_vars()
3693 1562845339.42313: done with get_vars()
3693 1562845339.42337: in VariableManager get_vars()
3693 1562845339.75063: done with get_vars()
3693 1562845339.75086: in VariableManager get_vars()
3693 1562845340.07808: done with get_vars()
3693 1562845340.07832: in VariableManager get_vars()
3693 1562845340.40534: done with get_vars()
3693 1562845340.40557: in VariableManager get_vars()
3693 1562845340.76529: done with get_vars()
3693 1562845340.76553: in VariableManager get_vars()
3693 1562845341.09159: done with get_vars()
3693 1562845341.09184: in VariableManager get_vars()
3693 1562845341.42605: done with get_vars()
3693 1562845341.42628: in VariableManager get_vars()
3693 1562845341.76452: done with get_vars()
3693 1562845341.76476: in VariableManager get_vars()
3693 1562845342.09181: done with get_vars()
3693 1562845342.09206: in VariableManager get_vars()
3693 1562845342.42616: done with get_vars()
3693 1562845342.42640: in VariableManager get_vars()
3693 1562845342.75288: done with get_vars()
3693 1562845342.75312: in VariableManager get_vars()
3693 1562845343.08336: done with get_vars()
3693 1562845343.08361: in VariableManager get_vars()
3693 1562845343.41083: done with get_vars()
3693 1562845343.41106: in VariableManager get_vars()
3693 1562845343.73780: done with get_vars()
3693 1562845343.73804: in VariableManager get_vars()
3693 1562845344.06449: done with get_vars()
3693 1562845344.06472: in VariableManager get_vars()
3693 1562845344.39184: done with get_vars()
3693 1562845344.39208: in VariableManager get_vars()
3693 1562845344.72636: done with get_vars()
3693 1562845344.72660: in VariableManager get_vars()
3693 1562845345.05328: done with get_vars()
3693 1562845345.05352: in VariableManager get_vars()
3693 1562845345.38510: done with get_vars()
3693 1562845345.38534: in VariableManager get_vars()
3693 1562845345.72682: done with get_vars()
3693 1562845345.72705: in VariableManager get_vars()
3693 1562845346.05275: done with get_vars()
3693 1562845346.05302: in VariableManager get_vars()
3693 1562845346.39042: done with get_vars()
3693 1562845346.39067: in VariableManager get_vars()
3693 1562845346.71840: done with get_vars()
3693 1562845346.71865: in VariableManager get_vars()
3693 1562845347.04416: done with get_vars()
3693 1562845347.04440: in VariableManager get_vars()
3693 1562845347.37168: done with get_vars()
3693 1562845347.37193: in VariableManager get_vars()
3693 1562845347.69915: done with get_vars()
3693 1562845347.69939: in VariableManager get_vars()
3693 1562845348.02814: done with get_vars()
3693 1562845348.02837: in VariableManager get_vars()
3693 1562845348.37353: done with get_vars()
3693 1562845348.37378: in VariableManager get_vars()
3693 1562845348.71416: done with get_vars()
3693 1562845348.71440: in VariableManager get_vars()
3693 1562845349.04274: done with get_vars()
3693 1562845349.04297: in VariableManager get_vars()
3693 1562845349.38112: done with get_vars()
3693 1562845349.38140: in VariableManager get_vars()
3693 1562845349.70831: done with get_vars()
3693 1562845349.70855: in VariableManager get_vars()
3693 1562845350.03543: done with get_vars()
3693 1562845350.03567: in VariableManager get_vars()
3693 1562845350.36201: done with get_vars()
3693 1562845350.36225: in VariableManager get_vars()
3693 1562845350.68903: done with get_vars()
3693 1562845350.68928: in VariableManager get_vars()
3693 1562845351.01599: done with get_vars()
3693 1562845351.01624: in VariableManager get_vars()
3693 1562845351.34277: done with get_vars()
3693 1562845351.34301: in VariableManager get_vars()
3693 1562845351.67035: done with get_vars()
3693 1562845351.67059: in VariableManager get_vars()
3693 1562845351.99745: done with get_vars()
3693 1562845351.99768: in VariableManager get_vars()
3693 1562845352.34019: done with get_vars()
3693 1562845352.34043: in VariableManager get_vars()
3693 1562845352.66730: done with get_vars()
3693 1562845352.66754: in VariableManager get_vars()
3693 1562845352.99487: done with get_vars()
3693 1562845352.99511: in VariableManager get_vars()
3693 1562845353.32319: done with get_vars()
3693 1562845353.32342: in VariableManager get_vars()
3693 1562845353.66647: done with get_vars()
3693 1562845353.66672: in VariableManager get_vars()
3693 1562845354.00175: done with get_vars()
3693 1562845354.00199: in VariableManager get_vars()
3693 1562845354.32990: done with get_vars()
3693 1562845354.33014: in VariableManager get_vars()
3693 1562845354.65900: done with get_vars()
3693 1562845354.65936: in VariableManager get_vars()
3693 1562845354.98770: done with get_vars()
3693 1562845354.98799: in VariableManager get_vars()
3693 1562845355.31467: done with get_vars()
3693 1562845355.31490: in VariableManager get_vars()
3693 1562845355.65607: done with get_vars()
3693 1562845355.65632: in VariableManager get_vars()
3693 1562845355.98342: done with get_vars()
3693 1562845355.98366: in VariableManager get_vars()
3693 1562845356.31835: done with get_vars()
3693 1562845356.31859: in VariableManager get_vars()
3693 1562845356.64783: done with get_vars()
3693 1562845356.64807: in VariableManager get_vars()
3693 1562845356.97501: done with get_vars()
3693 1562845356.97525: in VariableManager get_vars()
3693 1562845357.30187: done with get_vars()
3693 1562845357.30210: in VariableManager get_vars()
3693 1562845357.63315: done with get_vars()
3693 1562845357.63339: in VariableManager get_vars()
3693 1562845357.96247: done with get_vars()
3693 1562845357.96272: in VariableManager get_vars()
3693 1562845358.32248: done with get_vars()
3693 1562845358.32273: in VariableManager get_vars()
3693 1562845358.65018: done with get_vars()
3693 1562845358.65042: in VariableManager get_vars()
3693 1562845358.97819: done with get_vars()
3693 1562845358.97843: in VariableManager get_vars()
3693 1562845359.30646: done with get_vars()
3693 1562845359.30671: in VariableManager get_vars()
3693 1562845359.63684: done with get_vars()
3693 1562845359.63708: in VariableManager get_vars()
3693 1562845359.96762: done with get_vars()
3693 1562845359.96786: in VariableManager get_vars()
3693 1562845360.30103: done with get_vars()
3693 1562845360.30126: in VariableManager get_vars()
3693 1562845360.64696: done with get_vars()
3693 1562845360.64720: in VariableManager get_vars()
3693 1562845360.97738: done with get_vars()
3693 1562845360.97763: in VariableManager get_vars()
3693 1562845361.31638: done with get_vars()
3693 1562845361.31662: in VariableManager get_vars()
3693 1562845361.64782: done with get_vars()
3693 1562845361.64806: in VariableManager get_vars()
3693 1562845361.98445: done with get_vars()
3693 1562845361.98469: in VariableManager get_vars()
3693 1562845362.32220: done with get_vars()
3693 1562845362.32243: in VariableManager get_vars()
3693 1562845362.64938: done with get_vars()
3693 1562845362.64962: in VariableManager get_vars()
3693 1562845362.98670: done with get_vars()
3693 1562845362.98694: in VariableManager get_vars()
3693 1562845363.32385: done with get_vars()
3693 1562845363.32409: in VariableManager get_vars()
3693 1562845363.66466: done with get_vars()
3693 1562845363.66490: in VariableManager get_vars()
3693 1562845364.00223: done with get_vars()
3693 1562845364.00247: in VariableManager get_vars()
3693 1562845364.32882: done with get_vars()
3693 1562845364.32907: in VariableManager get_vars()
3693 1562845364.67914: done with get_vars()
3693 1562845364.67938: in VariableManager get_vars()
3693 1562845365.02332: done with get_vars()
3693 1562845365.02356: in VariableManager get_vars()
3693 1562845365.35049: done with get_vars()
3693 1562845365.35073: in VariableManager get_vars()
3693 1562845365.69493: done with get_vars()
3693 1562845365.69517: in VariableManager get_vars()
3693 1562845366.03238: done with get_vars()
3693 1562845366.03262: in VariableManager get_vars()
3693 1562845366.37263: done with get_vars()
3693 1562845366.37292: in VariableManager get_vars()
3693 1562845366.70309: done with get_vars()
3693 1562845366.70332: in VariableManager get_vars()
3693 1562845367.03052: done with get_vars()
3693 1562845367.03076: in VariableManager get_vars()
3693 1562845367.36457: done with get_vars()
3693 1562845367.36481: in VariableManager get_vars()
3693 1562845367.69241: done with get_vars()
3693 1562845367.69265: in VariableManager get_vars()
3693 1562845368.02096: done with get_vars()
3693 1562845368.02119: in VariableManager get_vars()
3693 1562845368.35043: done with get_vars()
3693 1562845368.35068: in VariableManager get_vars()
3693 1562845368.67768: done with get_vars()
3693 1562845368.67793: in VariableManager get_vars()
3693 1562845369.00902: done with get_vars()
3693 1562845369.00926: in VariableManager get_vars()
3693 1562845369.35503: done with get_vars()
3693 1562845369.35527: in VariableManager get_vars()
3693 1562845369.69312: done with get_vars()
3693 1562845369.69336: in VariableManager get_vars()
3693 1562845370.02056: done with get_vars()
3693 1562845370.02080: in VariableManager get_vars()
3693 1562845370.34745: done with get_vars()
3693 1562845370.34769: in VariableManager get_vars()
3693 1562845370.67936: done with get_vars()
3693 1562845370.67959: in VariableManager get_vars()
3693 1562845371.00627: done with get_vars()
3693 1562845371.00651: in VariableManager get_vars()
3693 1562845371.33389: done with get_vars()
3693 1562845371.33413: in VariableManager get_vars()
3693 1562845371.66212: done with get_vars()
3693 1562845371.66236: in VariableManager get_vars()
3693 1562845371.99660: done with get_vars()
3693 1562845371.99684: in VariableManager get_vars()
3693 1562845372.32470: done with get_vars()
3693 1562845372.32494: in VariableManager get_vars()
3693 1562845372.65287: done with get_vars()
3693 1562845372.65312: in VariableManager get_vars()
3693 1562845372.99994: done with get_vars()
3693 1562845373.00018: in VariableManager get_vars()
3693 1562845373.33223: done with get_vars()
3693 1562845373.33246: in VariableManager get_vars()
3693 1562845373.67776: done with get_vars()
3693 1562845373.67800: in VariableManager get_vars()
3693 1562845374.00819: done with get_vars()
3693 1562845374.00843: in VariableManager get_vars()
3693 1562845374.35855: done with get_vars()
3693 1562845374.35879: in VariableManager get_vars()
3693 1562845374.68854: done with get_vars()
3693 1562845374.68881: in VariableManager get_vars()
3693 1562845375.05746: done with get_vars()
3693 1562845375.05771: in VariableManager get_vars()
3693 1562845375.41834: done with get_vars()
3693 1562845375.41858: in VariableManager get_vars()
3693 1562845375.74821: done with get_vars()
3693 1562845375.74846: in VariableManager get_vars()
3693 1562845376.09065: done with get_vars()
3693 1562845376.09089: in VariableManager get_vars()
3693 1562845376.42848: done with get_vars()
3693 1562845376.42872: in VariableManager get_vars()
3693 1562845376.76630: done with get_vars()
3693 1562845376.76654: in VariableManager get_vars()
3693 1562845377.10251: done with get_vars()
3693 1562845377.10593: in VariableManager get_vars()
3693 1562845377.43206: done with get_vars()
3693 1562845377.43230: in VariableManager get_vars()
3693 1562845377.77783: done with get_vars()
3693 1562845377.77807: in VariableManager get_vars()
3693 1562845378.10498: done with get_vars()
3693 1562845378.10522: in VariableManager get_vars()
3693 1562845378.44327: done with get_vars()
3693 1562845378.44351: in VariableManager get_vars()
3693 1562845378.76964: done with get_vars()
3693 1562845378.76992: in VariableManager get_vars()
3693 1562845379.09786: done with get_vars()
3693 1562845379.09809: in VariableManager get_vars()
3693 1562845379.43078: done with get_vars()
3693 1562845379.43102: in VariableManager get_vars()
3693 1562845379.75779: done with get_vars()
3693 1562845379.75803: in VariableManager get_vars()
3693 1562845380.10221: done with get_vars()
3693 1562845380.10244: in VariableManager get_vars()
3693 1562845380.42905: done with get_vars()
3693 1562845380.42929: in VariableManager get_vars()
3693 1562845380.76429: done with get_vars()
3693 1562845380.76453: in VariableManager get_vars()
3693 1562845381.10460: done with get_vars()
3693 1562845381.10484: in VariableManager get_vars()
3693 1562845381.43191: done with get_vars()
3693 1562845381.43215: in VariableManager get_vars()
3693 1562845381.75950: done with get_vars()
3693 1562845381.75974: in VariableManager get_vars()
3693 1562845382.08703: done with get_vars()
3693 1562845382.08727: in VariableManager get_vars()
3693 1562845382.41476: done with get_vars()
3693 1562845382.41500: in VariableManager get_vars()
3693 1562845382.75161: done with get_vars()
3693 1562845382.75185: in VariableManager get_vars()
3693 1562845383.07934: done with get_vars()
3693 1562845383.07959: in VariableManager get_vars()
3693 1562845383.42170: done with get_vars()
3693 1562845383.42194: in VariableManager get_vars()
3693 1562845383.76045: done with get_vars()
3693 1562845383.76069: in VariableManager get_vars()
3693 1562845384.08743: done with get_vars()
3693 1562845384.08768: in VariableManager get_vars()
3693 1562845384.41505: done with get_vars()
3693 1562845384.41528: in VariableManager get_vars()
3693 1562845384.76525: done with get_vars()
3693 1562845384.76549: in VariableManager get_vars()
3693 1562845385.09261: done with get_vars()
3693 1562845385.09285: in VariableManager get_vars()
3693 1562845385.42640: done with get_vars()
3693 1562845385.42664: in VariableManager get_vars()
3693 1562845385.76978: done with get_vars()
3693 1562845385.77002: in VariableManager get_vars()
3693 1562845386.10700: done with get_vars()
3693 1562845386.10724: in VariableManager get_vars()
3693 1562845386.43745: done with get_vars()
3693 1562845386.43769: in VariableManager get_vars()
3693 1562845386.78534: done with get_vars()
3693 1562845386.78558: in VariableManager get_vars()
3693 1562845387.11309: done with get_vars()
3693 1562845387.11346: in VariableManager get_vars()
3693 1562845387.46130: done with get_vars()
3693 1562845387.46154: in VariableManager get_vars()
3693 1562845387.79280: done with get_vars()
3693 1562845387.79306: in VariableManager get_vars()
3693 1562845388.12290: done with get_vars()
3693 1562845388.12313: in VariableManager get_vars()
3693 1562845388.48701: done with get_vars()
3693 1562845388.48727: in VariableManager get_vars()
3693 1562845388.81972: done with get_vars()
3693 1562845388.82011: in VariableManager get_vars()
3693 1562845389.15113: done with get_vars()
3693 1562845389.15138: in VariableManager get_vars()
3693 1562845389.48198: done with get_vars()
3693 1562845389.48227: in VariableManager get_vars()
3693 1562845389.81266: done with get_vars()
3693 1562845389.81290: in VariableManager get_vars()
3693 1562845390.14328: done with get_vars()
3693 1562845390.14352: in VariableManager get_vars()
3693 1562845390.47397: done with get_vars()
3693 1562845390.47423: in VariableManager get_vars()
3693 1562845390.80272: done with get_vars()
3693 1562845390.80296: in VariableManager get_vars()
3693 1562845391.14020: done with get_vars()
3693 1562845391.14044: in VariableManager get_vars()
3693 1562845391.48168: done with get_vars()
3693 1562845391.48193: in VariableManager get_vars()
3693 1562845391.81813: done with get_vars()
3693 1562845391.81837: in VariableManager get_vars()
3693 1562845392.15356: done with get_vars()
3693 1562845392.15383: in VariableManager get_vars()
3693 1562845392.48916: done with get_vars()
3693 1562845392.48943: in VariableManager get_vars()
3693 1562845392.81810: done with get_vars()
3693 1562845392.81834: in VariableManager get_vars()
3693 1562845393.16049: done with get_vars()
3693 1562845393.16073: in VariableManager get_vars()
3693 1562845393.49360: done with get_vars()
3693 1562845393.49385: in VariableManager get_vars()
3693 1562845393.82034: done with get_vars()
3693 1562845393.82057: in VariableManager get_vars()
3693 1562845394.14695: done with get_vars()
3693 1562845394.14719: in VariableManager get_vars()
3693 1562845394.48600: done with get_vars()
3693 1562845394.48624: in VariableManager get_vars()
3693 1562845394.81521: done with get_vars()
3693 1562845394.81545: in VariableManager get_vars()
3693 1562845395.14146: done with get_vars()
3693 1562845395.14170: in VariableManager get_vars()
3693 1562845395.46857: done with get_vars()
3693 1562845395.46881: in VariableManager get_vars()
3693 1562845395.79544: done with get_vars()
3693 1562845395.79568: in VariableManager get_vars()
3693 1562845396.13422: done with get_vars()
3693 1562845396.13445: in VariableManager get_vars()
3693 1562845396.46910: done with get_vars()
3693 1562845396.46934: in VariableManager get_vars()
3693 1562845396.79886: done with get_vars()
3693 1562845396.79909: in VariableManager get_vars()
3693 1562845397.12658: done with get_vars()
3693 1562845397.12682: in VariableManager get_vars()
3693 1562845397.46730: done with get_vars()
3693 1562845397.46754: in VariableManager get_vars()
3693 1562845397.79904: done with get_vars()
3693 1562845397.79928: in VariableManager get_vars()
3693 1562845398.12907: done with get_vars()
3693 1562845398.12932: in VariableManager get_vars()
3693 1562845398.45848: done with get_vars()
3693 1562845398.45873: in VariableManager get_vars()
3693 1562845398.78586: done with get_vars()
3693 1562845398.78610: in VariableManager get_vars()
3693 1562845399.11303: done with get_vars()
3693 1562845399.11327: in VariableManager get_vars()
3693 1562845399.44921: done with get_vars()
3693 1562845399.44945: in VariableManager get_vars()
3693 1562845399.77710: done with get_vars()
3693 1562845399.77734: in VariableManager get_vars()
3693 1562845400.10385: done with get_vars()
3693 1562845400.10408: in VariableManager get_vars()
3693 1562845400.43073: done with get_vars()
3693 1562845400.43096: in VariableManager get_vars()
3693 1562845400.75791: done with get_vars()
3693 1562845400.75815: in VariableManager get_vars()
3693 1562845401.08820: done with get_vars()
3693 1562845401.08844: in VariableManager get_vars()
3693 1562845401.45131: done with get_vars()
3693 1562845401.45155: in VariableManager get_vars()
3693 1562845401.77789: done with get_vars()
3693 1562845401.77814: in VariableManager get_vars()
3693 1562845402.12513: done with get_vars()
3693 1562845402.12537: in VariableManager get_vars()
3693 1562845402.45462: done with get_vars()
3693 1562845402.45485: in VariableManager get_vars()
3693 1562845402.78291: done with get_vars()
3693 1562845402.78315: in VariableManager get_vars()
3693 1562845403.11028: done with get_vars()
3693 1562845403.11052: in VariableManager get_vars()
3693 1562845403.43878: done with get_vars()
3693 1562845403.43902: in VariableManager get_vars()
3693 1562845403.76699: done with get_vars()
3693 1562845403.76723: in VariableManager get_vars()
3693 1562845404.10320: done with get_vars()
3693 1562845404.10343: in VariableManager get_vars()
3693 1562845404.42973: done with get_vars()
3693 1562845404.42996: in VariableManager get_vars()
3693 1562845404.77379: done with get_vars()
3693 1562845404.77403: in VariableManager get_vars()
3693 1562845405.11055: done with get_vars()
3693 1562845405.11079: in VariableManager get_vars()
3693 1562845405.43722: done with get_vars()
3693 1562845405.43746: in VariableManager get_vars()
3693 1562845405.76386: done with get_vars()
3693 1562845405.76410: in VariableManager get_vars()
3693 1562845406.11101: done with get_vars()
3693 1562845406.11125: in VariableManager get_vars()
3693 1562845406.43734: done with get_vars()
3693 1562845406.43758: in VariableManager get_vars()
3693 1562845406.76492: done with get_vars()
3693 1562845406.76516: in VariableManager get_vars()
3693 1562845407.09896: done with get_vars()
3693 1562845407.09920: in VariableManager get_vars()
3693 1562845407.42969: done with get_vars()
3693 1562845407.42992: in VariableManager get_vars()
3693 1562845407.75888: done with get_vars()
3693 1562845407.75912: in VariableManager get_vars()
3693 1562845408.08978: done with get_vars()
3693 1562845408.09002: in VariableManager get_vars()
3693 1562845408.41638: done with get_vars()
3693 1562845408.41662: in VariableManager get_vars()
3693 1562845408.74693: done with get_vars()
3693 1562845408.74716: in VariableManager get_vars()
3693 1562845409.07518: done with get_vars()
3693 1562845409.07542: in VariableManager get_vars()
3693 1562845409.41143: done with get_vars()
3693 1562845409.41167: in VariableManager get_vars()
3693 1562845409.73843: done with get_vars()
3693 1562845409.73866: in VariableManager get_vars()
3693 1562845410.06586: done with get_vars()
3693 1562845410.06610: in VariableManager get_vars()
3693 1562845410.40846: done with get_vars()
3693 1562845410.40870: in VariableManager get_vars()
3693 1562845410.75015: done with get_vars()
3693 1562845410.75039: in VariableManager get_vars()
3693 1562845411.07852: done with get_vars()
3693 1562845411.07880: in VariableManager get_vars()
3693 1562845411.42578: done with get_vars()
3693 1562845411.42602: in VariableManager get_vars()
3693 1562845411.75368: done with get_vars()
3693 1562845411.75392: in VariableManager get_vars()
3693 1562845412.08443: done with get_vars()
3693 1562845412.08468: in VariableManager get_vars()
3693 1562845412.41131: done with get_vars()
3693 1562845412.41156: in VariableManager get_vars()
3693 1562845412.76097: done with get_vars()
3693 1562845412.76121: in VariableManager get_vars()
3693 1562845413.08831: done with get_vars()
3693 1562845413.08855: in VariableManager get_vars()
3693 1562845413.42674: done with get_vars()
3693 1562845413.42698: in VariableManager get_vars()
3693 1562845413.75448: done with get_vars()
3693 1562845413.75471: in VariableManager get_vars()
3693 1562845414.08110: done with get_vars()
3693 1562845414.08133: in VariableManager get_vars()
3693 1562845414.40963: done with get_vars()
3693 1562845414.40988: in VariableManager get_vars()
3693 1562845414.73976: done with get_vars()
3693 1562845414.74001: in VariableManager get_vars()
3693 1562845415.06673: done with get_vars()
3693 1562845415.06697: in VariableManager get_vars()
3693 1562845415.40719: done with get_vars()
3693 1562845415.40743: in VariableManager get_vars()
3693 1562845415.73843: done with get_vars()
3693 1562845415.73867: in VariableManager get_vars()
3693 1562845416.06836: done with get_vars()
3693 1562845416.06860: in VariableManager get_vars()
3693 1562845416.39627: done with get_vars()
3693 1562845416.39651: in VariableManager get_vars()
3693 1562845416.74134: done with get_vars()
3693 1562845416.74170: in VariableManager get_vars()
3693 1562845417.07023: done with get_vars()
3693 1562845417.07060: in VariableManager get_vars()
3693 1562845417.40356: done with get_vars()
3693 1562845417.40383: in VariableManager get_vars()
3693 1562845417.73102: done with get_vars()
3693 1562845417.73126: in VariableManager get_vars()
3693 1562845418.05770: done with get_vars()
3693 1562845418.05794: in VariableManager get_vars()
3693 1562845418.38492: done with get_vars()
3693 1562845418.38516: in VariableManager get_vars()
3693 1562845418.72707: done with get_vars()
3693 1562845418.72731: in VariableManager get_vars()
3693 1562845419.05980: done with get_vars()
3693 1562845419.06004: in VariableManager get_vars()
3693 1562845419.39613: done with get_vars()
3693 1562845419.39648: in VariableManager get_vars()
3693 1562845419.72830: done with get_vars()
3693 1562845419.72854: in VariableManager get_vars()
3693 1562845420.05510: done with get_vars()
3693 1562845420.05534: in VariableManager get_vars()
3693 1562845420.38763: done with get_vars()
3693 1562845420.38789: in VariableManager get_vars()
3693 1562845420.71619: done with get_vars()
3693 1562845420.71643: in VariableManager get_vars()
3693 1562845421.04860: done with get_vars()
3693 1562845421.04884: in VariableManager get_vars()
3693 1562845421.37703: done with get_vars()
3693 1562845421.37727: in VariableManager get_vars()
3693 1562845421.70499: done with get_vars()
3693 1562845421.70524: in VariableManager get_vars()
3693 1562845422.03550: done with get_vars()
3693 1562845422.03574: in VariableManager get_vars()
3693 1562845422.36534: done with get_vars()
3693 1562845422.36558: in VariableManager get_vars()
3693 1562845422.69603: done with get_vars()
3693 1562845422.69628: in VariableManager get_vars()
3693 1562845423.04350: done with get_vars()
3693 1562845423.04374: in VariableManager get_vars()
3693 1562845423.37533: done with get_vars()
3693 1562845423.37558: in VariableManager get_vars()
3693 1562845423.71432: done with get_vars()
3693 1562845423.71456: in VariableManager get_vars()
3693 1562845424.04979: done with get_vars()
3693 1562845424.05003: in VariableManager get_vars()
3693 1562845424.39631: done with get_vars()
3693 1562845424.39654: in VariableManager get_vars()
3693 1562845424.72667: done with get_vars()
3693 1562845424.72692: in VariableManager get_vars()
3693 1562845425.05717: done with get_vars()
3693 1562845425.05741: in VariableManager get_vars()
3693 1562845425.40059: done with get_vars()
3693 1562845425.40083: in VariableManager get_vars()
3693 1562845425.73751: done with get_vars()
3693 1562845425.73776: in VariableManager get_vars()
3693 1562845426.07452: done with get_vars()
3693 1562845426.07476: in VariableManager get_vars()
3693 1562845426.40191: done with get_vars()
3693 1562845426.40214: in VariableManager get_vars()
3693 1562845426.72848: done with get_vars()
3693 1562845426.72872: in VariableManager get_vars()
3693 1562845427.05489: done with get_vars()
3693 1562845427.05513: in VariableManager get_vars()
3693 1562845427.38343: done with get_vars()
3693 1562845427.38367: in VariableManager get_vars()
3693 1562845427.71077: done with get_vars()
3693 1562845427.71100: in VariableManager get_vars()
3693 1562845428.03770: done with get_vars()
3693 1562845428.03794: in VariableManager get_vars()
3693 1562845428.36488: done with get_vars()
3693 1562845428.36512: in VariableManager get_vars()
3693 1562845428.70291: done with get_vars()
3693 1562845428.70315: in VariableManager get_vars()
3693 1562845429.03327: done with get_vars()
3693 1562845429.03351: in VariableManager get_vars()
3693 1562845429.36518: done with get_vars()
3693 1562845429.36541: in VariableManager get_vars()
3693 1562845429.69307: done with get_vars()
3693 1562845429.69331: in VariableManager get_vars()
3693 1562845430.02106: done with get_vars()
3693 1562845430.02130: in VariableManager get_vars()
3693 1562845430.34920: done with get_vars()
3693 1562845430.34949: in VariableManager get_vars()
3693 1562845430.67912: done with get_vars()
3693 1562845430.67936: in VariableManager get_vars()
3693 1562845431.00925: done with get_vars()
3693 1562845431.00949: in VariableManager get_vars()
3693 1562845431.34388: done with get_vars()
3693 1562845431.34411: in VariableManager get_vars()
3693 1562845431.67155: done with get_vars()
3693 1562845431.67178: in VariableManager get_vars()
3693 1562845432.00008: done with get_vars()
3693 1562845432.00032: in VariableManager get_vars()
3693 1562845432.32670: done with get_vars()
3693 1562845432.32694: in VariableManager get_vars()
3693 1562845432.66281: done with get_vars()
3693 1562845432.66304: in VariableManager get_vars()
3693 1562845432.98998: done with get_vars()
3693 1562845432.99023: in VariableManager get_vars()
3693 1562845433.31790: done with get_vars()
3693 1562845433.31814: in VariableManager get_vars()
3693 1562845433.66974: done with get_vars()
3693 1562845433.66997: in VariableManager get_vars()
3693 1562845433.99901: done with get_vars()
3693 1562845433.99926: in VariableManager get_vars()
3693 1562845434.32890: done with get_vars()
3693 1562845434.32913: in VariableManager get_vars()
3693 1562845434.65683: done with get_vars()
3693 1562845434.65707: in VariableManager get_vars()
3693 1562845434.98533: done with get_vars()
3693 1562845434.98557: in VariableManager get_vars()
3693 1562845435.32888: done with get_vars()
3693 1562845435.32916: in VariableManager get_vars()
3693 1562845435.67664: done with get_vars()
3693 1562845435.67689: in VariableManager get_vars()
3693 1562845436.00866: done with get_vars()
3693 1562845436.00892: in VariableManager get_vars()
3693 1562845436.33898: done with get_vars()
3693 1562845436.33922: in VariableManager get_vars()
3693 1562845436.67069: done with get_vars()
3693 1562845436.67092: in VariableManager get_vars()
3693 1562845437.00148: done with get_vars()
3693 1562845437.00172: in VariableManager get_vars()
3693 1562845437.33873: done with get_vars()
3693 1562845437.33897: in VariableManager get_vars()
3693 1562845437.66975: done with get_vars()
3693 1562845437.66999: in VariableManager get_vars()
3693 1562845438.04256: done with get_vars()
3693 1562845438.04280: in VariableManager get_vars()
3693 1562845438.38437: done with get_vars()
3693 1562845438.38462: in VariableManager get_vars()
3693 1562845438.75303: done with get_vars()
3693 1562845438.75327: in VariableManager get_vars()
3693 1562845439.12307: done with get_vars()
3693 1562845439.12331: in VariableManager get_vars()
3693 1562845439.46078: done with get_vars()
3693 1562845439.46392: in VariableManager get_vars()
3693 1562845439.79056: done with get_vars()
3693 1562845439.79080: in VariableManager get_vars()
3693 1562845440.11738: done with get_vars()
3693 1562845440.11762: in VariableManager get_vars()
3693 1562845440.44485: done with get_vars()
3693 1562845440.44509: in VariableManager get_vars()
3693 1562845440.77364: done with get_vars()
3693 1562845440.77388: in VariableManager get_vars()
3693 1562845441.10498: done with get_vars()
3693 1562845441.10522: in VariableManager get_vars()
3693 1562845441.44989: done with get_vars()
3693 1562845441.45012: in VariableManager get_vars()
3693 1562845441.79482: done with get_vars()
3693 1562845441.79505: in VariableManager get_vars()
3693 1562845442.13785: done with get_vars()
3693 1562845442.13809: in VariableManager get_vars()
3693 1562845442.46480: done with get_vars()
3693 1562845442.46504: in VariableManager get_vars()
3693 1562845442.80358: done with get_vars()
3693 1562845442.80382: in VariableManager get_vars()
3693 1562845443.13672: done with get_vars()
3693 1562845443.13696: in VariableManager get_vars()
3693 1562845443.46667: done with get_vars()
3693 1562845443.46694: in VariableManager get_vars()
3693 1562845443.80810: done with get_vars()
3693 1562845443.80833: in VariableManager get_vars()
3693 1562845444.15564: done with get_vars()
3693 1562845444.15588: in VariableManager get_vars()
3693 1562845444.49144: done with get_vars()
3693 1562845444.49168: in VariableManager get_vars()
3693 1562845444.81900: done with get_vars()
3693 1562845444.81924: in VariableManager get_vars()
3693 1562845445.15037: done with get_vars()
3693 1562845445.15061: in VariableManager get_vars()
3693 1562845445.49259: done with get_vars()
3693 1562845445.49284: in VariableManager get_vars()
3693 1562845445.82324: done with get_vars()
3693 1562845445.82348: in VariableManager get_vars()
3693 1562845446.16562: done with get_vars()
3693 1562845446.16586: in VariableManager get_vars()
3693 1562845446.49262: done with get_vars()
3693 1562845446.49286: in VariableManager get_vars()
3693 1562845446.81942: done with get_vars()
3693 1562845446.81965: in VariableManager get_vars()
3693 1562845447.15561: done with get_vars()
3693 1562845447.15588: in VariableManager get_vars()
3693 1562845447.48981: done with get_vars()
3693 1562845447.49008: in VariableManager get_vars()
3693 1562845447.82934: done with get_vars()
3693 1562845447.82958: in VariableManager get_vars()
3693 1562845448.16957: done with get_vars()
3693 1562845448.16997: in VariableManager get_vars()
3693 1562845448.50776: done with get_vars()
3693 1562845448.50799: in VariableManager get_vars()
3693 1562845448.84068: done with get_vars()
3693 1562845448.84092: in VariableManager get_vars()
3693 1562845449.16953: done with get_vars()
3693 1562845449.16978: in VariableManager get_vars()
3693 1562845449.49811: done with get_vars()
3693 1562845449.49837: in VariableManager get_vars()
3693 1562845449.82633: done with get_vars()
3693 1562845449.82657: in VariableManager get_vars()
3693 1562845450.15740: done with get_vars()
3693 1562845450.15764: in VariableManager get_vars()
3693 1562845450.48756: done with get_vars()
3693 1562845450.48780: in VariableManager get_vars()
3693 1562845450.81776: done with get_vars()
3693 1562845450.81800: in VariableManager get_vars()
3693 1562845451.15404: done with get_vars()
3693 1562845451.15428: in VariableManager get_vars()
3693 1562845451.48431: done with get_vars()
3693 1562845451.48454: in VariableManager get_vars()
3693 1562845451.81453: done with get_vars()
3693 1562845451.81489: in VariableManager get_vars()
3693 1562845452.14503: done with get_vars()
3693 1562845452.14530: in VariableManager get_vars()
3693 1562845452.47566: done with get_vars()
3693 1562845452.47589: in VariableManager get_vars()
3693 1562845452.82354: done with get_vars()
3693 1562845452.82381: in VariableManager get_vars()
3693 1562845453.15520: done with get_vars()
3693 1562845453.15544: in VariableManager get_vars()
3693 1562845453.48240: done with get_vars()
3693 1562845453.48264: in VariableManager get_vars()
3693 1562845453.80956: done with get_vars()
3693 1562845453.80980: in VariableManager get_vars()
3693 1562845454.13690: done with get_vars()
3693 1562845454.13714: in VariableManager get_vars()
3693 1562845454.48320: done with get_vars()
3693 1562845454.48344: in VariableManager get_vars()
3693 1562845454.82621: done with get_vars()
3693 1562845454.82646: in VariableManager get_vars()
3693 1562845455.16876: done with get_vars()
3693 1562845455.16899: in VariableManager get_vars()
3693 1562845455.49574: done with get_vars()
3693 1562845455.49598: in VariableManager get_vars()
3693 1562845455.82230: done with get_vars()
3693 1562845455.82254: in VariableManager get_vars()
3693 1562845456.15004: done with get_vars()
3693 1562845456.15028: in VariableManager get_vars()
3693 1562845456.49649: done with get_vars()
3693 1562845456.49674: in VariableManager get_vars()
3693 1562845456.82366: done with get_vars()
3693 1562845456.82391: in VariableManager get_vars()
3693 1562845457.14965: done with get_vars()
3693 1562845457.14989: in VariableManager get_vars()
3693 1562845457.47912: done with get_vars()
3693 1562845457.47936: in VariableManager get_vars()
3693 1562845457.80680: done with get_vars()
3693 1562845457.80704: in VariableManager get_vars()
3693 1562845458.14028: done with get_vars()
3693 1562845458.14052: in VariableManager get_vars()
3693 1562845458.46737: done with get_vars()
3693 1562845458.46761: in VariableManager get_vars()
3693 1562845458.80018: done with get_vars()
3693 1562845458.80042: in VariableManager get_vars()
3693 1562845459.12715: done with get_vars()
3693 1562845459.12739: in VariableManager get_vars()
3693 1562845459.45497: done with get_vars()
3693 1562845459.45521: in VariableManager get_vars()
3693 1562845459.78238: done with get_vars()
3693 1562845459.78261: in VariableManager get_vars()
3693 1562845460.12603: done with get_vars()
3693 1562845460.12627: in VariableManager get_vars()
3693 1562845460.47003: done with get_vars()
3693 1562845460.47027: in VariableManager get_vars()
3693 1562845460.82364: done with get_vars()
3693 1562845460.82388: in VariableManager get_vars()
3693 1562845461.16358: done with get_vars()
3693 1562845461.16382: in VariableManager get_vars()
3693 1562845461.49072: done with get_vars()
3693 1562845461.49096: in VariableManager get_vars()
3693 1562845461.81744: done with get_vars()
3693 1562845461.81768: in VariableManager get_vars()
3693 1562845462.15205: done with get_vars()
3693 1562845462.15230: in VariableManager get_vars()
3693 1562845462.47921: done with get_vars()
3693 1562845462.47945: in VariableManager get_vars()
3693 1562845462.80678: done with get_vars()
3693 1562845462.80702: in VariableManager get_vars()
3693 1562845463.13428: done with get_vars()
3693 1562845463.13452: in VariableManager get_vars()
3693 1562845463.47024: done with get_vars()
3693 1562845463.47048: in VariableManager get_vars()
3693 1562845463.82149: done with get_vars()
3693 1562845463.82173: in VariableManager get_vars()
3693 1562845464.15677: done with get_vars()
3693 1562845464.15702: in VariableManager get_vars()
3693 1562845464.49372: done with get_vars()
3693 1562845464.49396: in VariableManager get_vars()
3693 1562845464.82109: done with get_vars()
3693 1562845464.82133: in VariableManager get_vars()
3693 1562845465.14846: done with get_vars()
3693 1562845465.14870: in VariableManager get_vars()
3693 1562845465.47486: done with get_vars()
3693 1562845465.47510: in VariableManager get_vars()
3693 1562845465.80560: done with get_vars()
3693 1562845465.80584: in VariableManager get_vars()
3693 1562845466.13282: done with get_vars()
3693 1562845466.13306: in VariableManager get_vars()
3693 1562845466.45953: done with get_vars()
3693 1562845466.45977: in VariableManager get_vars()
3693 1562845466.79047: done with get_vars()
3693 1562845466.79072: in VariableManager get_vars()
3693 1562845467.12100: done with get_vars()
3693 1562845467.12124: in VariableManager get_vars()
3693 1562845467.45825: done with get_vars()
3693 1562845467.45849: in VariableManager get_vars()
3693 1562845467.78641: done with get_vars()
3693 1562845467.78664: in VariableManager get_vars()
3693 1562845468.11369: done with get_vars()
3693 1562845468.11393: in VariableManager get_vars()
3693 1562845468.45602: done with get_vars()
3693 1562845468.45626: in VariableManager get_vars()
3693 1562845468.79886: done with get_vars()"><pre class="notranslate"><code class="notranslate">3693 1562845073.13381: in VariableManager get_vars()
3693 1562845073.47800: done with get_vars()
3693 1562845073.68109: in VariableManager get_vars()
3693 1562845074.10258: done with get_vars()
3693 1562845074.39065: in VariableManager get_vars()
3693 1562845074.73850: done with get_vars()
3693 1562845074.90236: in VariableManager get_vars()
3693 1562845075.27555: done with get_vars()
3693 1562845075.39610: in VariableManager get_vars()
3693 1562845075.74022: done with get_vars()
3693 1562845075.74819: in VariableManager get_vars()
3693 1562845076.10584: done with get_vars()
3693 1562845076.11370: in VariableManager get_vars()
3693 1562845076.46047: done with get_vars()
3693 1562845076.46856: in VariableManager get_vars()
3693 1562845076.81712: done with get_vars()
3693 1562845076.82532: in VariableManager get_vars()
3693 1562845077.17848: done with get_vars()
3693 1562845109.96483: in VariableManager get_vars()
3693 1562845110.45942: done with get_vars()
3693 1562845110.46927: in VariableManager get_vars()
3693 1562845111.01206: done with get_vars()
3693 1562845111.04593: in VariableManager get_vars()
3693 1562845111.59820: done with get_vars()
3693 1562845111.62970: in VariableManager get_vars()
3693 1562845112.25615: done with get_vars()
3693 1562845112.28830: in VariableManager get_vars()
3693 1562845112.81393: done with get_vars()
3693 1562845112.84555: in VariableManager get_vars()
3693 1562845113.36888: done with get_vars()
3693 1562845113.39978: in VariableManager get_vars()
3693 1562845113.92366: done with get_vars()
3693 1562845113.95467: in VariableManager get_vars()
3693 1562845114.48308: done with get_vars()
3693 1562845114.51473: in VariableManager get_vars()
3693 1562845115.03816: done with get_vars()
3693 1562845115.06890: in VariableManager get_vars()
3693 1562845115.62322: done with get_vars()
3693 1562845115.65497: in VariableManager get_vars()
3693 1562845116.21111: done with get_vars()
3693 1562845116.24227: in VariableManager get_vars()
3693 1562845116.77168: done with get_vars()
3693 1562845116.80338: in VariableManager get_vars()
3693 1562845117.32858: done with get_vars()
3693 1562845117.35945: in VariableManager get_vars()
3693 1562845117.88534: done with get_vars()
3693 1562845117.91657: in VariableManager get_vars()
3693 1562845118.44143: done with get_vars()
3693 1562845118.47357: in VariableManager get_vars()
3693 1562845119.02958: done with get_vars()
3693 1562845119.06167: in VariableManager get_vars()
3693 1562845119.61302: done with get_vars()
3693 1562845119.64455: in VariableManager get_vars()
3693 1562845120.18604: done with get_vars()
3693 1562845120.21749: in VariableManager get_vars()
3693 1562845120.75676: done with get_vars()
3693 1562845120.78823: in VariableManager get_vars()
3693 1562845121.31478: done with get_vars()
3693 1562845121.34691: in VariableManager get_vars()
3693 1562845121.89229: done with get_vars()
3693 1562845121.92356: in VariableManager get_vars()
3693 1562845122.47078: done with get_vars()
3693 1562845122.50212: in VariableManager get_vars()
3693 1562845123.02591: done with get_vars()
3693 1562845123.05738: in VariableManager get_vars()
3693 1562845123.58405: done with get_vars()
3693 1562845123.61644: in VariableManager get_vars()
3693 1562845124.16204: done with get_vars()
3693 1562845124.19349: in VariableManager get_vars()
3693 1562845124.73944: done with get_vars()
3693 1562845124.77116: in VariableManager get_vars()
3693 1562845125.30681: done with get_vars()
3693 1562845125.33848: in VariableManager get_vars()
3693 1562845125.87795: done with get_vars()
3693 1562845125.90997: in VariableManager get_vars()
3693 1562845126.35928: done with get_vars()
3693 1562845126.39077: in VariableManager get_vars()
3693 1562845126.84051: done with get_vars()
3693 1562845126.87172: in VariableManager get_vars()
3693 1562845127.34931: done with get_vars()
3693 1562845127.38085: in VariableManager get_vars()
3693 1562845127.85868: done with get_vars()
3693 1562845128.02881: in VariableManager get_vars()
3693 1562845128.55449: done with get_vars()
3693 1562845128.56618: in VariableManager get_vars()
3693 1562845129.10810: done with get_vars()
3693 1562845129.12011: in VariableManager get_vars()
3693 1562845129.65890: done with get_vars()
3693 1562845129.67003: in VariableManager get_vars()
3693 1562845130.20285: done with get_vars()
3693 1562845130.21593: in VariableManager get_vars()
3693 1562845130.72310: done with get_vars()
3693 1562845130.73519: in VariableManager get_vars()
3693 1562845131.24794: done with get_vars()
3693 1562845131.26050: in VariableManager get_vars()
3693 1562845131.77116: done with get_vars()
3693 1562845131.78202: in VariableManager get_vars()
3693 1562845132.28939: done with get_vars()
3693 1562845132.30101: in VariableManager get_vars()
3693 1562845132.81703: done with get_vars()
3693 1562845132.82868: in VariableManager get_vars()
3693 1562845133.36514: done with get_vars()
3693 1562845133.37698: in VariableManager get_vars()
3693 1562845133.91445: done with get_vars()
3693 1562845133.92549: in VariableManager get_vars()
3693 1562845134.44220: done with get_vars()
3693 1562845134.45489: in VariableManager get_vars()
3693 1562845134.96272: done with get_vars()
3693 1562845134.97443: in VariableManager get_vars()
3693 1562845135.48053: done with get_vars()
3693 1562845135.49308: in VariableManager get_vars()
3693 1562845136.00167: done with get_vars()
3693 1562845136.01253: in VariableManager get_vars()
3693 1562845136.54834: done with get_vars()
3693 1562845136.56019: in VariableManager get_vars()
3693 1562845137.09674: done with get_vars()
3693 1562845137.10838: in VariableManager get_vars()
3693 1562845137.63543: done with get_vars()
3693 1562845137.64807: in VariableManager get_vars()
3693 1562845138.17328: done with get_vars()
3693 1562845138.18385: in VariableManager get_vars()
3693 1562845138.68994: done with get_vars()
3693 1562845138.70279: in VariableManager get_vars()
3693 1562845139.23269: done with get_vars()
3693 1562845139.24449: in VariableManager get_vars()
3693 1562845139.77096: done with get_vars()
3693 1562845139.78285: in VariableManager get_vars()
3693 1562845140.29036: done with get_vars()
3693 1562845140.30115: in VariableManager get_vars()
3693 1562845140.81226: done with get_vars()
3693 1562845140.82497: in VariableManager get_vars()
3693 1562845141.47603: done with get_vars()
3693 1562845141.48877: in VariableManager get_vars()
3693 1562845142.02053: done with get_vars()
3693 1562845142.03253: in VariableManager get_vars()
3693 1562845142.55286: done with get_vars()
3693 1562845142.56459: in VariableManager get_vars()
3693 1562845143.08599: done with get_vars()
3693 1562845143.09724: in VariableManager get_vars()
3693 1562845143.52063: done with get_vars()
3693 1562845143.53175: in VariableManager get_vars()
3693 1562845143.96240: done with get_vars()
3693 1562845143.97352: in VariableManager get_vars()
3693 1562845144.43444: done with get_vars()
3693 1562845144.44564: in VariableManager get_vars()
3693 1562845144.90883: done with get_vars()
3693 1562845145.01275: in VariableManager get_vars()
3693 1562845145.51465: done with get_vars()
3693 1562845145.60066: in VariableManager get_vars()
3693 1562845146.09565: done with get_vars()
3693 1562845146.10667: in VariableManager get_vars()
3693 1562845146.65135: done with get_vars()
3693 1562845146.66240: in VariableManager get_vars()
3693 1562845147.19699: done with get_vars()
3693 1562845147.20840: in VariableManager get_vars()
3693 1562845147.74441: done with get_vars()
3693 1562845147.75630: in VariableManager get_vars()
3693 1562845148.26704: done with get_vars()
3693 1562845148.27790: in VariableManager get_vars()
3693 1562845148.79405: done with get_vars()
3693 1562845148.80590: in VariableManager get_vars()
3693 1562845149.28329: done with get_vars()
3693 1562845149.29453: in VariableManager get_vars()
3693 1562845149.80491: done with get_vars()
3693 1562845149.81554: in VariableManager get_vars()
3693 1562845150.32502: done with get_vars()
3693 1562845150.33581: in VariableManager get_vars()
3693 1562845150.87668: done with get_vars()
3693 1562845150.88823: in VariableManager get_vars()
3693 1562845151.42930: done with get_vars()
3693 1562845151.44005: in VariableManager get_vars()
3693 1562845151.95346: done with get_vars()
3693 1562845151.96501: in VariableManager get_vars()
3693 1562845152.47494: done with get_vars()
3693 1562845152.48568: in VariableManager get_vars()
3693 1562845152.99218: done with get_vars()
3693 1562845153.00293: in VariableManager get_vars()
3693 1562845153.51185: done with get_vars()
3693 1562845153.52361: in VariableManager get_vars()
3693 1562845154.06168: done with get_vars()
3693 1562845154.07295: in VariableManager get_vars()
3693 1562845154.61136: done with get_vars()
3693 1562845154.62211: in VariableManager get_vars()
3693 1562845155.15239: done with get_vars()
3693 1562845155.16386: in VariableManager get_vars()
3693 1562845155.69020: done with get_vars()
3693 1562845155.70088: in VariableManager get_vars()
3693 1562845156.20748: done with get_vars()
3693 1562845156.21852: in VariableManager get_vars()
3693 1562845156.75030: done with get_vars()
3693 1562845156.76121: in VariableManager get_vars()
3693 1562845157.29197: done with get_vars()
3693 1562845157.30262: in VariableManager get_vars()
3693 1562845157.81103: done with get_vars()
3693 1562845157.82063: in VariableManager get_vars()
3693 1562845158.33310: done with get_vars()
3693 1562845158.34520: in VariableManager get_vars()
3693 1562845158.87855: done with get_vars()
3693 1562845158.88983: in VariableManager get_vars()
3693 1562845159.42142: done with get_vars()
3693 1562845159.43236: in VariableManager get_vars()
3693 1562845159.95546: done with get_vars()
3693 1562845159.96630: in VariableManager get_vars()
3693 1562845160.48870: done with get_vars()
3693 1562845160.49914: in VariableManager get_vars()
3693 1562845160.93156: done with get_vars()
3693 1562845160.94147: in VariableManager get_vars()
3693 1562845161.37391: done with get_vars()
3693 1562845161.38388: in VariableManager get_vars()
3693 1562845161.85129: done with get_vars()
3693 1562845161.86333: in VariableManager get_vars()
3693 1562845162.32817: done with get_vars()
3693 1562845162.41261: in VariableManager get_vars()
3693 1562845162.90831: in VariableManager get_vars()
3693 1562845163.24063: done with get_vars()
3693 1562845163.24084: done with get_vars()
3693 1562845163.33775: in VariableManager get_vars()
3693 1562845163.83566: done with get_vars()
3693 1562845163.84692: in VariableManager get_vars()
4038 1562845163.87570: in VariableManager get_vars()
4038 1562845164.04735: done with get_vars()
3693 1562845164.35165: done with get_vars()
3693 1562845164.36583: in VariableManager get_vars()
4039 1562845164.38977: in VariableManager get_vars()
4039 1562845164.56118: done with get_vars()
3693 1562845164.86139: done with get_vars()
3693 1562845164.87556: in VariableManager get_vars()
4040 1562845164.90013: in VariableManager get_vars()
4040 1562845165.07483: done with get_vars()
3693 1562845165.37027: done with get_vars()
3693 1562845165.38288: in VariableManager get_vars()
4041 1562845165.41993: in VariableManager get_vars()
4041 1562845165.58344: done with get_vars()
3693 1562845165.86382: done with get_vars()
3693 1562845165.87852: in VariableManager get_vars()
4042 1562845165.90271: in VariableManager get_vars()
4042 1562845166.04183: done with get_vars()
3693 1562845166.35578: done with get_vars()
3693 1562845166.36956: in VariableManager get_vars()
4043 1562845166.39382: in VariableManager get_vars()
4043 1562845166.53309: done with get_vars()
3693 1562845166.84556: done with get_vars()
3693 1562845166.85939: in VariableManager get_vars()
4044 1562845166.88321: in VariableManager get_vars()
4044 1562845167.02114: done with get_vars()
3693 1562845167.33667: done with get_vars()
3693 1562845167.35021: in VariableManager get_vars()
4045 1562845167.37388: in VariableManager get_vars()
4045 1562845167.51258: done with get_vars()
3693 1562845167.82868: done with get_vars()
3693 1562845167.84252: in VariableManager get_vars()
4046 1562845167.86615: in VariableManager get_vars()
4046 1562845168.01248: done with get_vars()
3693 1562845168.34782: done with get_vars()
3693 1562845168.36040: in VariableManager get_vars()
4047 1562845168.39209: in VariableManager get_vars()
4047 1562845168.56074: done with get_vars()
3693 1562845168.86365: done with get_vars()
3693 1562845168.87857: in VariableManager get_vars()
4048 1562845168.90225: in VariableManager get_vars()
4048 1562845169.07240: done with get_vars()
3693 1562845169.35173: done with get_vars()
3693 1562845169.36577: in VariableManager get_vars()
4049 1562845169.38910: in VariableManager get_vars()
4049 1562845169.52869: done with get_vars()
3693 1562845169.84449: done with get_vars()
3693 1562845169.85823: in VariableManager get_vars()
4050 1562845169.88210: in VariableManager get_vars()
4050 1562845170.02082: done with get_vars()
3693 1562845170.33128: done with get_vars()
3693 1562845170.34484: in VariableManager get_vars()
4051 1562845170.36859: in VariableManager get_vars()
4051 1562845170.50421: done with get_vars()
3693 1562845170.82222: done with get_vars()
3693 1562845170.83613: in VariableManager get_vars()
4052 1562845170.85994: in VariableManager get_vars()
4052 1562845171.00413: done with get_vars()
3693 1562845171.34174: done with get_vars()
3693 1562845171.35428: in VariableManager get_vars()
4053 1562845171.38489: in VariableManager get_vars()
4053 1562845171.55297: done with get_vars()
3693 1562845171.85436: done with get_vars()
3693 1562845171.86968: in VariableManager get_vars()
4054 1562845171.89343: in VariableManager get_vars()
4054 1562845172.06086: done with get_vars()
3693 1562845172.35704: done with get_vars()
3693 1562845172.37127: in VariableManager get_vars()
4055 1562845172.39481: in VariableManager get_vars()
4055 1562845172.55041: done with get_vars()
3693 1562845172.86184: done with get_vars()
3693 1562845172.87544: in VariableManager get_vars()
4056 1562845172.89898: in VariableManager get_vars()
4056 1562845173.05387: done with get_vars()
3693 1562845173.34601: done with get_vars()
3693 1562845173.35968: in VariableManager get_vars()
4057 1562845173.38350: in VariableManager get_vars()
4057 1562845173.51872: done with get_vars()
3693 1562845173.85972: done with get_vars()
3693 1562845173.87340: in VariableManager get_vars()
4058 1562845173.89725: in VariableManager get_vars()
4058 1562845174.06297: done with get_vars()
3693 1562845174.37018: done with get_vars()
3693 1562845174.38305: in VariableManager get_vars()
4059 1562845174.41331: in VariableManager get_vars()
4059 1562845174.57317: done with get_vars()
3693 1562845174.85728: done with get_vars()
3693 1562845174.87160: in VariableManager get_vars()
4060 1562845174.89488: in VariableManager get_vars()
4060 1562845175.03227: done with get_vars()
3693 1562845175.34675: done with get_vars()
3693 1562845175.36062: in VariableManager get_vars()
4061 1562845175.38459: in VariableManager get_vars()
4061 1562845175.52308: done with get_vars()
3693 1562845175.86424: done with get_vars()
3693 1562845175.87818: in VariableManager get_vars()
4062 1562845175.90226: in VariableManager get_vars()
4062 1562845176.06433: done with get_vars()
3693 1562845176.37340: done with get_vars()
3693 1562845176.38803: in VariableManager get_vars()
4067 1562845176.41242: in VariableManager get_vars()
4067 1562845176.57441: done with get_vars()
3693 1562845176.87470: done with get_vars()
3693 1562845176.88851: in VariableManager get_vars()
4094 1562845176.91224: in VariableManager get_vars()
4094 1562845177.07181: done with get_vars()
3693 1562845177.37461: done with get_vars()
3693 1562845177.38789: in VariableManager get_vars()
4095 1562845177.42173: in VariableManager get_vars()
4095 1562845177.78114: done with get_vars()
3693 1562845177.78981: done with get_vars()
3693 1562845177.80459: in VariableManager get_vars()
3693 1562845178.34539: done with get_vars()
3693 1562845178.35962: in VariableManager get_vars()
3693 1562845178.82063: done with get_vars()
3693 1562845178.83362: in VariableManager get_vars()
4102 1562845178.85749: in VariableManager get_vars()
4102 1562845178.95041: done with get_vars()
3693 1562845179.27999: done with get_vars()
4103 1562845179.31733: in VariableManager get_vars()
4103 1562845179.40946: done with get_vars()
3693 1562845179.47786: in VariableManager get_vars()
3693 1562845179.97562: done with get_vars()
3693 1562845179.98644: in VariableManager get_vars()
3693 1562845180.52767: done with get_vars()
3693 1562845180.53936: in VariableManager get_vars()
3693 1562845181.07361: done with get_vars()
3693 1562845181.08468: in VariableManager get_vars()
3693 1562845181.61743: done with get_vars()
3693 1562845181.62861: in VariableManager get_vars()
3693 1562845182.14377: done with get_vars()
3693 1562845182.15578: in VariableManager get_vars()
3693 1562845182.66590: done with get_vars()
3693 1562845182.67691: in VariableManager get_vars()
3693 1562845183.18660: done with get_vars()
3693 1562845183.19763: in VariableManager get_vars()
3693 1562845183.70681: done with get_vars()
3693 1562845183.71742: in VariableManager get_vars()
3693 1562845184.22976: done with get_vars()
3693 1562845184.24041: in VariableManager get_vars()
3693 1562845184.78371: done with get_vars()
3693 1562845184.79446: in VariableManager get_vars()
3693 1562845185.34158: done with get_vars()
3693 1562845185.35315: in VariableManager get_vars()
3693 1562845185.86314: done with get_vars()
3693 1562845185.87454: in VariableManager get_vars()
3693 1562845186.38486: done with get_vars()
3693 1562845186.39572: in VariableManager get_vars()
3693 1562845186.90250: done with get_vars()
3693 1562845186.91305: in VariableManager get_vars()
3693 1562845187.42148: done with get_vars()
3693 1562845187.43217: in VariableManager get_vars()
3693 1562845187.97176: done with get_vars()
3693 1562845187.98230: in VariableManager get_vars()
3693 1562845188.52574: done with get_vars()
3693 1562845188.53727: in VariableManager get_vars()
3693 1562845189.06117: done with get_vars()
3693 1562845189.07197: in VariableManager get_vars()
3693 1562845189.59814: done with get_vars()
3693 1562845189.60899: in VariableManager get_vars()
3693 1562845190.11453: done with get_vars()
3693 1562845190.12508: in VariableManager get_vars()
3693 1562845190.65377: done with get_vars()
3693 1562845190.66451: in VariableManager get_vars()
3693 1562845191.19628: done with get_vars()
3693 1562845191.20693: in VariableManager get_vars()
3693 1562845191.71879: done with get_vars()
3693 1562845191.73036: in VariableManager get_vars()
3693 1562845192.23791: done with get_vars()
3693 1562845192.24840: in VariableManager get_vars()
3693 1562845192.77915: done with get_vars()
3693 1562845192.79030: in VariableManager get_vars()
3693 1562845193.32287: done with get_vars()
3693 1562845193.33391: in VariableManager get_vars()
3693 1562845193.85479: done with get_vars()
3693 1562845193.86599: in VariableManager get_vars()
3693 1562845194.39017: done with get_vars()
3693 1562845194.40187: in VariableManager get_vars()
3693 1562845194.83506: done with get_vars()
3693 1562845194.84466: in VariableManager get_vars()
3693 1562845195.27996: done with get_vars()
3693 1562845195.29116: in VariableManager get_vars()
3693 1562845195.75446: done with get_vars()
3693 1562845195.76489: in VariableManager get_vars()
3693 1562845196.22771: done with get_vars()
3693 1562845196.31618: in VariableManager get_vars()
3693 1562845196.81183: in VariableManager get_vars()
3693 1562845197.14390: done with get_vars()
3693 1562845197.14411: done with get_vars()
3693 1562845197.68758: in VariableManager get_vars()
3693 1562845198.18269: done with get_vars()
3693 1562845198.19372: in VariableManager get_vars()
4144 1562845198.21987: in VariableManager get_vars()
4144 1562845198.39227: done with get_vars()
3693 1562845198.69836: done with get_vars()
3693 1562845198.71082: in VariableManager get_vars()
4146 1562845198.73695: in VariableManager get_vars()
4146 1562845198.90840: done with get_vars()
3693 1562845199.20883: done with get_vars()
3693 1562845199.21872: in VariableManager get_vars()
4151 1562845199.24501: in VariableManager get_vars()
4151 1562845199.42188: done with get_vars()
3693 1562845199.73939: done with get_vars()
3693 1562845199.75266: in VariableManager get_vars()
4156 1562845199.77749: in VariableManager get_vars()
4156 1562845199.94190: done with get_vars()
3693 1562845200.22609: done with get_vars()
3693 1562845200.23995: in VariableManager get_vars()
4175 1562845200.26404: in VariableManager get_vars()
4175 1562845200.40347: done with get_vars()
3693 1562845200.72361: done with get_vars()
3693 1562845200.73744: in VariableManager get_vars()
4180 1562845200.76145: in VariableManager get_vars()
4180 1562845200.90148: done with get_vars()
3693 1562845201.21040: done with get_vars()
3693 1562845201.22559: in VariableManager get_vars()
4185 1562845201.24915: in VariableManager get_vars()
4185 1562845201.38848: done with get_vars()
3693 1562845201.69933: done with get_vars()
3693 1562845201.71146: in VariableManager get_vars()
4190 1562845201.73701: in VariableManager get_vars()
4190 1562845201.87920: done with get_vars()
3693 1562845202.20505: done with get_vars()
3693 1562845202.21666: in VariableManager get_vars()
4195 1562845202.24009: in VariableManager get_vars()
4195 1562845202.38897: done with get_vars()
3693 1562845202.75144: done with get_vars()
3693 1562845202.76650: in VariableManager get_vars()
4200 1562845202.78988: in VariableManager get_vars()
4200 1562845202.95914: done with get_vars()
3693 1562845203.26851: done with get_vars()
3693 1562845203.28308: in VariableManager get_vars()
4205 1562845203.30644: in VariableManager get_vars()
4205 1562845203.47637: done with get_vars()
3693 1562845203.75759: done with get_vars()
3693 1562845203.77102: in VariableManager get_vars()
4210 1562845203.79472: in VariableManager get_vars()
4210 1562845203.93465: done with get_vars()
3693 1562845204.24153: done with get_vars()
3693 1562845204.25364: in VariableManager get_vars()
4215 1562845204.27931: in VariableManager get_vars()
4215 1562845204.41847: done with get_vars()
3693 1562845204.75265: done with get_vars()
3693 1562845204.76649: in VariableManager get_vars()
4217 1562845204.79004: in VariableManager get_vars()
4217 1562845204.92575: done with get_vars()
3693 1562845205.23979: done with get_vars()
3693 1562845205.25085: in VariableManager get_vars()
4219 1562845205.27422: in VariableManager get_vars()
4219 1562845205.41986: done with get_vars()
3693 1562845205.75791: done with get_vars()
3693 1562845205.76984: in VariableManager get_vars()
4224 1562845205.79572: in VariableManager get_vars()
4224 1562845205.96415: done with get_vars()
3693 1562845206.27088: done with get_vars()
3693 1562845206.28377: in VariableManager get_vars()
4237 1562845206.30944: in VariableManager get_vars()
4237 1562845206.47659: done with get_vars()
3693 1562845206.79261: done with get_vars()
3693 1562845206.80650: in VariableManager get_vars()
4242 1562845206.83073: in VariableManager get_vars()
4242 1562845206.98658: done with get_vars()
3693 1562845207.29678: done with get_vars()
3693 1562845207.31134: in VariableManager get_vars()
4258 1562845207.33522: in VariableManager get_vars()
4258 1562845207.49078: done with get_vars()
3693 1562845207.78757: done with get_vars()
3693 1562845207.80132: in VariableManager get_vars()
4274 1562845207.82491: in VariableManager get_vars()
4274 1562845207.95981: done with get_vars()
3693 1562845208.34281: done with get_vars()
3693 1562845208.35617: in VariableManager get_vars()
4293 1562845208.37816: in VariableManager get_vars()
4293 1562845208.54610: done with get_vars()
3693 1562845208.86534: done with get_vars()
3693 1562845208.87924: in VariableManager get_vars()
4298 1562845208.90277: in VariableManager get_vars()
4298 1562845209.06351: done with get_vars()
3693 1562845209.40413: done with get_vars()
3693 1562845209.41716: in VariableManager get_vars()
4303 1562845209.44016: in VariableManager get_vars()
4303 1562845209.57753: done with get_vars()
3693 1562845209.91582: done with get_vars()
3693 1562845209.92874: in VariableManager get_vars()
4305 1562845209.95256: in VariableManager get_vars()
4305 1562845210.09058: done with get_vars()
3693 1562845210.42117: done with get_vars()
3693 1562845210.43385: in VariableManager get_vars()
4307 1562845210.45953: in VariableManager get_vars()
4307 1562845210.62231: done with get_vars()
3693 1562845210.93029: done with get_vars()
3693 1562845210.94331: in VariableManager get_vars()
4309 1562845210.96912: in VariableManager get_vars()
4309 1562845211.13078: done with get_vars()
3693 1562845211.43008: done with get_vars()
3693 1562845211.44304: in VariableManager get_vars()
4311 1562845211.46885: in VariableManager get_vars()
4311 1562845211.62841: done with get_vars()
3693 1562845211.93701: done with get_vars()
3693 1562845211.94721: in VariableManager get_vars()
4316 1562845211.97273: in VariableManager get_vars()
4316 1562845212.12449: done with get_vars()
3693 1562845212.34088: done with get_vars()
3693 1562845212.35186: in VariableManager get_vars()
4318 1562845212.37755: in VariableManager get_vars()
4318 1562845212.43767: done with get_vars()
3693 1562845212.74565: done with get_vars()
3693 1562845212.75795: in VariableManager get_vars()
4324 1562845212.78346: in VariableManager get_vars()
4324 1562845212.84377: done with get_vars()
3693 1562845213.18421: done with get_vars()
3693 1562845213.19619: in VariableManager get_vars()
4330 1562845213.22199: in VariableManager get_vars()
4330 1562845213.31460: done with get_vars()
3693 1562845213.63384: done with get_vars()
4338 1562845213.66982: in VariableManager get_vars()
4338 1562845213.76139: done with get_vars()
3693 1562845233.90164: in VariableManager get_vars()
3693 1562845234.39507: done with get_vars()
3693 1562845234.40625: in VariableManager get_vars()
3693 1562845234.91181: done with get_vars()
3693 1562845234.92678: in VariableManager get_vars()
3693 1562845235.42690: done with get_vars()
3693 1562845235.43664: in VariableManager get_vars()
3693 1562845235.99889: done with get_vars()
3693 1562845236.00990: in VariableManager get_vars()
3693 1562845236.68065: done with get_vars()
3693 1562845236.69141: in VariableManager get_vars()
3693 1562845237.20233: done with get_vars()
3693 1562845237.21485: in VariableManager get_vars()
3693 1562845237.69695: done with get_vars()
3693 1562845237.70963: in VariableManager get_vars()
3693 1562845238.18418: done with get_vars()
3693 1562845238.19606: in VariableManager get_vars()
3693 1562845238.66895: done with get_vars()
3693 1562845238.68082: in VariableManager get_vars()
3693 1562845239.18976: done with get_vars()
3693 1562845239.20178: in VariableManager get_vars()
3693 1562845239.71727: done with get_vars()
3693 1562845239.72977: in VariableManager get_vars()
3693 1562845240.20442: done with get_vars()
3693 1562845240.21640: in VariableManager get_vars()
3693 1562845240.69934: done with get_vars()
3693 1562845240.71138: in VariableManager get_vars()
3693 1562845241.17888: done with get_vars()
3693 1562845241.18962: in VariableManager get_vars()
3693 1562845241.66186: done with get_vars()
3693 1562845241.67265: in VariableManager get_vars()
3693 1562845242.21797: done with get_vars()
3693 1562845242.23032: in VariableManager get_vars()
3693 1562845242.77005: done with get_vars()
3693 1562845242.78240: in VariableManager get_vars()
3693 1562845243.32232: done with get_vars()
3693 1562845243.33422: in VariableManager get_vars()
3693 1562845243.82336: done with get_vars()
3693 1562845243.83511: in VariableManager get_vars()
3693 1562845244.33709: done with get_vars()
3693 1562845244.34906: in VariableManager get_vars()
3693 1562845244.88403: done with get_vars()
3693 1562845244.89505: in VariableManager get_vars()
3693 1562845245.38781: done with get_vars()
3693 1562845245.39829: in VariableManager get_vars()
3693 1562845245.87063: done with get_vars()
3693 1562845245.88107: in VariableManager get_vars()
3693 1562845246.35758: done with get_vars()
3693 1562845246.36805: in VariableManager get_vars()
3693 1562845246.86262: done with get_vars()
3693 1562845246.87328: in VariableManager get_vars()
3693 1562845247.36817: done with get_vars()
3693 1562845247.37988: in VariableManager get_vars()
3693 1562845247.86508: done with get_vars()
3693 1562845247.87688: in VariableManager get_vars()
3693 1562845248.38812: done with get_vars()
3693 1562845248.40163: in VariableManager get_vars()
3693 1562845248.85891: done with get_vars()
3693 1562845248.87031: in VariableManager get_vars()
3693 1562845249.27361: done with get_vars()
3693 1562845249.28483: in VariableManager get_vars()
3693 1562845249.71036: done with get_vars()
3693 1562845249.72104: in VariableManager get_vars()
3693 1562845250.16575: done with get_vars()
3693 1562845300.49436: in VariableManager get_vars()
3693 1562845300.99215: done with get_vars()
3693 1562845301.00401: in VariableManager get_vars()
3693 1562845301.51268: done with get_vars()
3693 1562845301.52539: in VariableManager get_vars()
3693 1562845302.02667: done with get_vars()
3693 1562845302.03896: in VariableManager get_vars()
4495 1562845302.35973: in VariableManager get_vars()
4495 1562845302.53122: done with get_vars()
3693 1562845302.54408: done with get_vars()
3693 1562845302.55429: in VariableManager get_vars()
4497 1562845302.72040: in VariableManager get_vars()
4497 1562845302.89087: done with get_vars()
3693 1562845303.02965: done with get_vars()
3693 1562845303.04166: in VariableManager get_vars()
4502 1562845303.26339: in VariableManager get_vars()
4502 1562845303.42962: done with get_vars()
3693 1562845303.53246: done with get_vars()
3693 1562845303.54427: in VariableManager get_vars()
4508 1562845303.65927: in VariableManager get_vars()
4508 1562845303.83332: done with get_vars()
3693 1562845304.02201: done with get_vars()
3693 1562845304.03419: in VariableManager get_vars()
4516 1562845304.32724: in VariableManager get_vars()
4516 1562845304.46581: done with get_vars()
3693 1562845304.51737: done with get_vars()
3693 1562845304.53033: in VariableManager get_vars()
4535 1562845304.76699: in VariableManager get_vars()
4535 1562845304.90575: done with get_vars()
3693 1562845304.94539: done with get_vars()
3693 1562845304.94659: in VariableManager get_vars()
4544 1562845305.15790: in VariableManager get_vars()
4544 1562845305.29701: done with get_vars()
3693 1562845305.32423: done with get_vars()
3693 1562845305.32459: in VariableManager get_vars()
3693 1562845305.66281: done with get_vars()
3693 1562845305.66320: in VariableManager get_vars()
4558 1562845305.78183: in VariableManager get_vars()
4558 1562845305.92107: done with get_vars()
3693 1562845305.99068: done with get_vars()
3693 1562845305.99107: in VariableManager get_vars()
3693 1562845306.37648: done with get_vars()
3693 1562845306.37720: in VariableManager get_vars()
3693 1562845306.74896: done with get_vars()
3693 1562845306.74968: in VariableManager get_vars()
3693 1562845307.14673: done with get_vars()
3693 1562845307.14750: in VariableManager get_vars()
3693 1562845307.48952: done with get_vars()
3693 1562845307.48991: in VariableManager get_vars()
3693 1562845307.88774: done with get_vars()
3693 1562845307.88828: in VariableManager get_vars()
3693 1562845308.21920: done with get_vars()
3693 1562845308.21946: in VariableManager get_vars()
3693 1562845308.55362: done with get_vars()
3693 1562845308.55390: in VariableManager get_vars()
3693 1562845308.88566: done with get_vars()
3693 1562845308.88592: in VariableManager get_vars()
3693 1562845309.21590: done with get_vars()
3693 1562845309.21616: in VariableManager get_vars()
3693 1562845309.54389: done with get_vars()
3693 1562845309.54415: in VariableManager get_vars()
3693 1562845309.87156: done with get_vars()
3693 1562845309.87182: in VariableManager get_vars()
3693 1562845310.19969: done with get_vars()
3693 1562845310.19994: in VariableManager get_vars()
3693 1562845310.52820: done with get_vars()
3693 1562845310.52846: in VariableManager get_vars()
3693 1562845310.85617: done with get_vars()
3693 1562845310.85643: in VariableManager get_vars()
3693 1562845311.18336: done with get_vars()
3693 1562845311.18361: in VariableManager get_vars()
3693 1562845311.51152: done with get_vars()
3693 1562845311.51178: in VariableManager get_vars()
3693 1562845311.84505: done with get_vars()
3693 1562845311.84531: in VariableManager get_vars()
3693 1562845312.17276: done with get_vars()
3693 1562845312.17333: in VariableManager get_vars()
3693 1562845312.50146: done with get_vars()
3693 1562845312.50174: in VariableManager get_vars()
3693 1562845312.84136: done with get_vars()
3693 1562845312.84162: in VariableManager get_vars()
3693 1562845313.17026: done with get_vars()
3693 1562845313.17051: in VariableManager get_vars()
3693 1562845313.49970: done with get_vars()
3693 1562845313.49998: in VariableManager get_vars()
3693 1562845313.82795: done with get_vars()
3693 1562845313.82824: in VariableManager get_vars()
3693 1562845314.15465: done with get_vars()
3693 1562845314.15490: in VariableManager get_vars()
3693 1562845314.48131: done with get_vars()
3693 1562845314.48159: in VariableManager get_vars()
3693 1562845314.81179: done with get_vars()
3693 1562845314.81211: in VariableManager get_vars()
3693 1562845315.13878: done with get_vars()
3693 1562845315.13903: in VariableManager get_vars()
3693 1562845315.46571: done with get_vars()
3693 1562845315.46595: in VariableManager get_vars()
3693 1562845315.79225: done with get_vars()
3693 1562845315.79249: in VariableManager get_vars()
3693 1562845316.13786: done with get_vars()
3693 1562845316.13810: in VariableManager get_vars()
3693 1562845316.47559: done with get_vars()
3693 1562845316.47583: in VariableManager get_vars()
3693 1562845316.80750: done with get_vars()
3693 1562845316.80775: in VariableManager get_vars()
3693 1562845317.15276: done with get_vars()
3693 1562845317.15300: in VariableManager get_vars()
3693 1562845317.47956: done with get_vars()
3693 1562845317.47981: in VariableManager get_vars()
3693 1562845317.80640: done with get_vars()
3693 1562845317.80664: in VariableManager get_vars()
3693 1562845318.15110: done with get_vars()
3693 1562845318.15134: in VariableManager get_vars()
3693 1562845318.48804: done with get_vars()
3693 1562845318.48828: in VariableManager get_vars()
3693 1562845318.81500: done with get_vars()
3693 1562845318.81523: in VariableManager get_vars()
3693 1562845319.15511: done with get_vars()
3693 1562845319.15535: in VariableManager get_vars()
3693 1562845319.48274: done with get_vars()
3693 1562845319.48298: in VariableManager get_vars()
3693 1562845319.81048: done with get_vars()
3693 1562845319.81078: in VariableManager get_vars()
3693 1562845320.15606: done with get_vars()
3693 1562845320.15632: in VariableManager get_vars()
3693 1562845320.48808: done with get_vars()
3693 1562845320.48832: in VariableManager get_vars()
3693 1562845320.81746: done with get_vars()
3693 1562845320.81771: in VariableManager get_vars()
3693 1562845321.14345: done with get_vars()
3693 1562845321.14369: in VariableManager get_vars()
3693 1562845321.47856: done with get_vars()
3693 1562845321.47880: in VariableManager get_vars()
3693 1562845321.82361: done with get_vars()
3693 1562845321.82394: in VariableManager get_vars()
3693 1562845322.15110: done with get_vars()
3693 1562845322.15144: in VariableManager get_vars()
3693 1562845322.47846: done with get_vars()
3693 1562845322.47872: in VariableManager get_vars()
3693 1562845322.81440: done with get_vars()
3693 1562845322.81465: in VariableManager get_vars()
3693 1562845323.14144: done with get_vars()
3693 1562845323.14169: in VariableManager get_vars()
3693 1562845323.46967: done with get_vars()
3693 1562845323.46991: in VariableManager get_vars()
3693 1562845323.81164: done with get_vars()
3693 1562845323.81188: in VariableManager get_vars()
3693 1562845324.13967: done with get_vars()
3693 1562845324.13990: in VariableManager get_vars()
3693 1562845324.46995: done with get_vars()
3693 1562845324.47019: in VariableManager get_vars()
3693 1562845324.80013: done with get_vars()
3693 1562845324.80036: in VariableManager get_vars()
3693 1562845325.15012: done with get_vars()
3693 1562845325.15036: in VariableManager get_vars()
3693 1562845325.48551: done with get_vars()
3693 1562845325.48576: in VariableManager get_vars()
3693 1562845325.81735: done with get_vars()
3693 1562845325.81759: in VariableManager get_vars()
3693 1562845326.16110: done with get_vars()
3693 1562845326.16134: in VariableManager get_vars()
3693 1562845326.49148: done with get_vars()
3693 1562845326.49172: in VariableManager get_vars()
3693 1562845326.82274: done with get_vars()
3693 1562845326.82298: in VariableManager get_vars()
3693 1562845327.15203: done with get_vars()
3693 1562845327.15227: in VariableManager get_vars()
3693 1562845327.48247: done with get_vars()
3693 1562845327.48272: in VariableManager get_vars()
3693 1562845327.81302: done with get_vars()
3693 1562845327.81326: in VariableManager get_vars()
3693 1562845328.14903: done with get_vars()
3693 1562845328.14928: in VariableManager get_vars()
3693 1562845328.48709: done with get_vars()
3693 1562845328.48735: in VariableManager get_vars()
3693 1562845328.81399: done with get_vars()
3693 1562845328.81422: in VariableManager get_vars()
3693 1562845329.14123: done with get_vars()
3693 1562845329.14161: in VariableManager get_vars()
3693 1562845329.46946: done with get_vars()
3693 1562845329.46987: in VariableManager get_vars()
3693 1562845329.80295: done with get_vars()
3693 1562845329.80333: in VariableManager get_vars()
3693 1562845330.13253: done with get_vars()
3693 1562845330.13294: in VariableManager get_vars()
3693 1562845330.46101: done with get_vars()
3693 1562845330.46135: in VariableManager get_vars()
3693 1562845330.78882: done with get_vars()
3693 1562845330.78907: in VariableManager get_vars()
3693 1562845331.11645: done with get_vars()
3693 1562845331.11670: in VariableManager get_vars()
3693 1562845331.44287: done with get_vars()
3693 1562845331.44311: in VariableManager get_vars()
3693 1562845331.77002: done with get_vars()
3693 1562845331.77027: in VariableManager get_vars()
3693 1562845332.11356: done with get_vars()
3693 1562845332.11380: in VariableManager get_vars()
3693 1562845332.44103: done with get_vars()
3693 1562845332.44126: in VariableManager get_vars()
3693 1562845332.76786: done with get_vars()
3693 1562845332.76811: in VariableManager get_vars()
3693 1562845333.09489: done with get_vars()
3693 1562845333.09513: in VariableManager get_vars()
3693 1562845333.42174: done with get_vars()
3693 1562845333.42198: in VariableManager get_vars()
3693 1562845333.75623: done with get_vars()
3693 1562845333.75648: in VariableManager get_vars()
3693 1562845334.08326: done with get_vars()
3693 1562845334.08350: in VariableManager get_vars()
3693 1562845334.43417: done with get_vars()
3693 1562845334.43440: in VariableManager get_vars()
3693 1562845334.76084: done with get_vars()
3693 1562845334.76109: in VariableManager get_vars()
3693 1562845335.11218: done with get_vars()
3693 1562845335.11243: in VariableManager get_vars()
3693 1562845335.44183: done with get_vars()
3693 1562845335.44207: in VariableManager get_vars()
3693 1562845335.77198: done with get_vars()
3693 1562845335.77222: in VariableManager get_vars()
3693 1562845336.11069: done with get_vars()
3693 1562845336.11093: in VariableManager get_vars()
3693 1562845336.43785: done with get_vars()
3693 1562845336.43809: in VariableManager get_vars()
3693 1562845336.76565: done with get_vars()
3693 1562845336.76589: in VariableManager get_vars()
3693 1562845337.09542: done with get_vars()
3693 1562845337.09567: in VariableManager get_vars()
3693 1562845337.43215: done with get_vars()
3693 1562845337.43239: in VariableManager get_vars()
3693 1562845337.77689: done with get_vars()
3693 1562845337.77713: in VariableManager get_vars()
3693 1562845338.11068: done with get_vars()
3693 1562845338.11092: in VariableManager get_vars()
3693 1562845338.43827: done with get_vars()
3693 1562845338.43851: in VariableManager get_vars()
3693 1562845338.76747: done with get_vars()
3693 1562845338.76772: in VariableManager get_vars()
3693 1562845339.09630: done with get_vars()
3693 1562845339.09654: in VariableManager get_vars()
3693 1562845339.42313: done with get_vars()
3693 1562845339.42337: in VariableManager get_vars()
3693 1562845339.75063: done with get_vars()
3693 1562845339.75086: in VariableManager get_vars()
3693 1562845340.07808: done with get_vars()
3693 1562845340.07832: in VariableManager get_vars()
3693 1562845340.40534: done with get_vars()
3693 1562845340.40557: in VariableManager get_vars()
3693 1562845340.76529: done with get_vars()
3693 1562845340.76553: in VariableManager get_vars()
3693 1562845341.09159: done with get_vars()
3693 1562845341.09184: in VariableManager get_vars()
3693 1562845341.42605: done with get_vars()
3693 1562845341.42628: in VariableManager get_vars()
3693 1562845341.76452: done with get_vars()
3693 1562845341.76476: in VariableManager get_vars()
3693 1562845342.09181: done with get_vars()
3693 1562845342.09206: in VariableManager get_vars()
3693 1562845342.42616: done with get_vars()
3693 1562845342.42640: in VariableManager get_vars()
3693 1562845342.75288: done with get_vars()
3693 1562845342.75312: in VariableManager get_vars()
3693 1562845343.08336: done with get_vars()
3693 1562845343.08361: in VariableManager get_vars()
3693 1562845343.41083: done with get_vars()
3693 1562845343.41106: in VariableManager get_vars()
3693 1562845343.73780: done with get_vars()
3693 1562845343.73804: in VariableManager get_vars()
3693 1562845344.06449: done with get_vars()
3693 1562845344.06472: in VariableManager get_vars()
3693 1562845344.39184: done with get_vars()
3693 1562845344.39208: in VariableManager get_vars()
3693 1562845344.72636: done with get_vars()
3693 1562845344.72660: in VariableManager get_vars()
3693 1562845345.05328: done with get_vars()
3693 1562845345.05352: in VariableManager get_vars()
3693 1562845345.38510: done with get_vars()
3693 1562845345.38534: in VariableManager get_vars()
3693 1562845345.72682: done with get_vars()
3693 1562845345.72705: in VariableManager get_vars()
3693 1562845346.05275: done with get_vars()
3693 1562845346.05302: in VariableManager get_vars()
3693 1562845346.39042: done with get_vars()
3693 1562845346.39067: in VariableManager get_vars()
3693 1562845346.71840: done with get_vars()
3693 1562845346.71865: in VariableManager get_vars()
3693 1562845347.04416: done with get_vars()
3693 1562845347.04440: in VariableManager get_vars()
3693 1562845347.37168: done with get_vars()
3693 1562845347.37193: in VariableManager get_vars()
3693 1562845347.69915: done with get_vars()
3693 1562845347.69939: in VariableManager get_vars()
3693 1562845348.02814: done with get_vars()
3693 1562845348.02837: in VariableManager get_vars()
3693 1562845348.37353: done with get_vars()
3693 1562845348.37378: in VariableManager get_vars()
3693 1562845348.71416: done with get_vars()
3693 1562845348.71440: in VariableManager get_vars()
3693 1562845349.04274: done with get_vars()
3693 1562845349.04297: in VariableManager get_vars()
3693 1562845349.38112: done with get_vars()
3693 1562845349.38140: in VariableManager get_vars()
3693 1562845349.70831: done with get_vars()
3693 1562845349.70855: in VariableManager get_vars()
3693 1562845350.03543: done with get_vars()
3693 1562845350.03567: in VariableManager get_vars()
3693 1562845350.36201: done with get_vars()
3693 1562845350.36225: in VariableManager get_vars()
3693 1562845350.68903: done with get_vars()
3693 1562845350.68928: in VariableManager get_vars()
3693 1562845351.01599: done with get_vars()
3693 1562845351.01624: in VariableManager get_vars()
3693 1562845351.34277: done with get_vars()
3693 1562845351.34301: in VariableManager get_vars()
3693 1562845351.67035: done with get_vars()
3693 1562845351.67059: in VariableManager get_vars()
3693 1562845351.99745: done with get_vars()
3693 1562845351.99768: in VariableManager get_vars()
3693 1562845352.34019: done with get_vars()
3693 1562845352.34043: in VariableManager get_vars()
3693 1562845352.66730: done with get_vars()
3693 1562845352.66754: in VariableManager get_vars()
3693 1562845352.99487: done with get_vars()
3693 1562845352.99511: in VariableManager get_vars()
3693 1562845353.32319: done with get_vars()
3693 1562845353.32342: in VariableManager get_vars()
3693 1562845353.66647: done with get_vars()
3693 1562845353.66672: in VariableManager get_vars()
3693 1562845354.00175: done with get_vars()
3693 1562845354.00199: in VariableManager get_vars()
3693 1562845354.32990: done with get_vars()
3693 1562845354.33014: in VariableManager get_vars()
3693 1562845354.65900: done with get_vars()
3693 1562845354.65936: in VariableManager get_vars()
3693 1562845354.98770: done with get_vars()
3693 1562845354.98799: in VariableManager get_vars()
3693 1562845355.31467: done with get_vars()
3693 1562845355.31490: in VariableManager get_vars()
3693 1562845355.65607: done with get_vars()
3693 1562845355.65632: in VariableManager get_vars()
3693 1562845355.98342: done with get_vars()
3693 1562845355.98366: in VariableManager get_vars()
3693 1562845356.31835: done with get_vars()
3693 1562845356.31859: in VariableManager get_vars()
3693 1562845356.64783: done with get_vars()
3693 1562845356.64807: in VariableManager get_vars()
3693 1562845356.97501: done with get_vars()
3693 1562845356.97525: in VariableManager get_vars()
3693 1562845357.30187: done with get_vars()
3693 1562845357.30210: in VariableManager get_vars()
3693 1562845357.63315: done with get_vars()
3693 1562845357.63339: in VariableManager get_vars()
3693 1562845357.96247: done with get_vars()
3693 1562845357.96272: in VariableManager get_vars()
3693 1562845358.32248: done with get_vars()
3693 1562845358.32273: in VariableManager get_vars()
3693 1562845358.65018: done with get_vars()
3693 1562845358.65042: in VariableManager get_vars()
3693 1562845358.97819: done with get_vars()
3693 1562845358.97843: in VariableManager get_vars()
3693 1562845359.30646: done with get_vars()
3693 1562845359.30671: in VariableManager get_vars()
3693 1562845359.63684: done with get_vars()
3693 1562845359.63708: in VariableManager get_vars()
3693 1562845359.96762: done with get_vars()
3693 1562845359.96786: in VariableManager get_vars()
3693 1562845360.30103: done with get_vars()
3693 1562845360.30126: in VariableManager get_vars()
3693 1562845360.64696: done with get_vars()
3693 1562845360.64720: in VariableManager get_vars()
3693 1562845360.97738: done with get_vars()
3693 1562845360.97763: in VariableManager get_vars()
3693 1562845361.31638: done with get_vars()
3693 1562845361.31662: in VariableManager get_vars()
3693 1562845361.64782: done with get_vars()
3693 1562845361.64806: in VariableManager get_vars()
3693 1562845361.98445: done with get_vars()
3693 1562845361.98469: in VariableManager get_vars()
3693 1562845362.32220: done with get_vars()
3693 1562845362.32243: in VariableManager get_vars()
3693 1562845362.64938: done with get_vars()
3693 1562845362.64962: in VariableManager get_vars()
3693 1562845362.98670: done with get_vars()
3693 1562845362.98694: in VariableManager get_vars()
3693 1562845363.32385: done with get_vars()
3693 1562845363.32409: in VariableManager get_vars()
3693 1562845363.66466: done with get_vars()
3693 1562845363.66490: in VariableManager get_vars()
3693 1562845364.00223: done with get_vars()
3693 1562845364.00247: in VariableManager get_vars()
3693 1562845364.32882: done with get_vars()
3693 1562845364.32907: in VariableManager get_vars()
3693 1562845364.67914: done with get_vars()
3693 1562845364.67938: in VariableManager get_vars()
3693 1562845365.02332: done with get_vars()
3693 1562845365.02356: in VariableManager get_vars()
3693 1562845365.35049: done with get_vars()
3693 1562845365.35073: in VariableManager get_vars()
3693 1562845365.69493: done with get_vars()
3693 1562845365.69517: in VariableManager get_vars()
3693 1562845366.03238: done with get_vars()
3693 1562845366.03262: in VariableManager get_vars()
3693 1562845366.37263: done with get_vars()
3693 1562845366.37292: in VariableManager get_vars()
3693 1562845366.70309: done with get_vars()
3693 1562845366.70332: in VariableManager get_vars()
3693 1562845367.03052: done with get_vars()
3693 1562845367.03076: in VariableManager get_vars()
3693 1562845367.36457: done with get_vars()
3693 1562845367.36481: in VariableManager get_vars()
3693 1562845367.69241: done with get_vars()
3693 1562845367.69265: in VariableManager get_vars()
3693 1562845368.02096: done with get_vars()
3693 1562845368.02119: in VariableManager get_vars()
3693 1562845368.35043: done with get_vars()
3693 1562845368.35068: in VariableManager get_vars()
3693 1562845368.67768: done with get_vars()
3693 1562845368.67793: in VariableManager get_vars()
3693 1562845369.00902: done with get_vars()
3693 1562845369.00926: in VariableManager get_vars()
3693 1562845369.35503: done with get_vars()
3693 1562845369.35527: in VariableManager get_vars()
3693 1562845369.69312: done with get_vars()
3693 1562845369.69336: in VariableManager get_vars()
3693 1562845370.02056: done with get_vars()
3693 1562845370.02080: in VariableManager get_vars()
3693 1562845370.34745: done with get_vars()
3693 1562845370.34769: in VariableManager get_vars()
3693 1562845370.67936: done with get_vars()
3693 1562845370.67959: in VariableManager get_vars()
3693 1562845371.00627: done with get_vars()
3693 1562845371.00651: in VariableManager get_vars()
3693 1562845371.33389: done with get_vars()
3693 1562845371.33413: in VariableManager get_vars()
3693 1562845371.66212: done with get_vars()
3693 1562845371.66236: in VariableManager get_vars()
3693 1562845371.99660: done with get_vars()
3693 1562845371.99684: in VariableManager get_vars()
3693 1562845372.32470: done with get_vars()
3693 1562845372.32494: in VariableManager get_vars()
3693 1562845372.65287: done with get_vars()
3693 1562845372.65312: in VariableManager get_vars()
3693 1562845372.99994: done with get_vars()
3693 1562845373.00018: in VariableManager get_vars()
3693 1562845373.33223: done with get_vars()
3693 1562845373.33246: in VariableManager get_vars()
3693 1562845373.67776: done with get_vars()
3693 1562845373.67800: in VariableManager get_vars()
3693 1562845374.00819: done with get_vars()
3693 1562845374.00843: in VariableManager get_vars()
3693 1562845374.35855: done with get_vars()
3693 1562845374.35879: in VariableManager get_vars()
3693 1562845374.68854: done with get_vars()
3693 1562845374.68881: in VariableManager get_vars()
3693 1562845375.05746: done with get_vars()
3693 1562845375.05771: in VariableManager get_vars()
3693 1562845375.41834: done with get_vars()
3693 1562845375.41858: in VariableManager get_vars()
3693 1562845375.74821: done with get_vars()
3693 1562845375.74846: in VariableManager get_vars()
3693 1562845376.09065: done with get_vars()
3693 1562845376.09089: in VariableManager get_vars()
3693 1562845376.42848: done with get_vars()
3693 1562845376.42872: in VariableManager get_vars()
3693 1562845376.76630: done with get_vars()
3693 1562845376.76654: in VariableManager get_vars()
3693 1562845377.10251: done with get_vars()
3693 1562845377.10593: in VariableManager get_vars()
3693 1562845377.43206: done with get_vars()
3693 1562845377.43230: in VariableManager get_vars()
3693 1562845377.77783: done with get_vars()
3693 1562845377.77807: in VariableManager get_vars()
3693 1562845378.10498: done with get_vars()
3693 1562845378.10522: in VariableManager get_vars()
3693 1562845378.44327: done with get_vars()
3693 1562845378.44351: in VariableManager get_vars()
3693 1562845378.76964: done with get_vars()
3693 1562845378.76992: in VariableManager get_vars()
3693 1562845379.09786: done with get_vars()
3693 1562845379.09809: in VariableManager get_vars()
3693 1562845379.43078: done with get_vars()
3693 1562845379.43102: in VariableManager get_vars()
3693 1562845379.75779: done with get_vars()
3693 1562845379.75803: in VariableManager get_vars()
3693 1562845380.10221: done with get_vars()
3693 1562845380.10244: in VariableManager get_vars()
3693 1562845380.42905: done with get_vars()
3693 1562845380.42929: in VariableManager get_vars()
3693 1562845380.76429: done with get_vars()
3693 1562845380.76453: in VariableManager get_vars()
3693 1562845381.10460: done with get_vars()
3693 1562845381.10484: in VariableManager get_vars()
3693 1562845381.43191: done with get_vars()
3693 1562845381.43215: in VariableManager get_vars()
3693 1562845381.75950: done with get_vars()
3693 1562845381.75974: in VariableManager get_vars()
3693 1562845382.08703: done with get_vars()
3693 1562845382.08727: in VariableManager get_vars()
3693 1562845382.41476: done with get_vars()
3693 1562845382.41500: in VariableManager get_vars()
3693 1562845382.75161: done with get_vars()
3693 1562845382.75185: in VariableManager get_vars()
3693 1562845383.07934: done with get_vars()
3693 1562845383.07959: in VariableManager get_vars()
3693 1562845383.42170: done with get_vars()
3693 1562845383.42194: in VariableManager get_vars()
3693 1562845383.76045: done with get_vars()
3693 1562845383.76069: in VariableManager get_vars()
3693 1562845384.08743: done with get_vars()
3693 1562845384.08768: in VariableManager get_vars()
3693 1562845384.41505: done with get_vars()
3693 1562845384.41528: in VariableManager get_vars()
3693 1562845384.76525: done with get_vars()
3693 1562845384.76549: in VariableManager get_vars()
3693 1562845385.09261: done with get_vars()
3693 1562845385.09285: in VariableManager get_vars()
3693 1562845385.42640: done with get_vars()
3693 1562845385.42664: in VariableManager get_vars()
3693 1562845385.76978: done with get_vars()
3693 1562845385.77002: in VariableManager get_vars()
3693 1562845386.10700: done with get_vars()
3693 1562845386.10724: in VariableManager get_vars()
3693 1562845386.43745: done with get_vars()
3693 1562845386.43769: in VariableManager get_vars()
3693 1562845386.78534: done with get_vars()
3693 1562845386.78558: in VariableManager get_vars()
3693 1562845387.11309: done with get_vars()
3693 1562845387.11346: in VariableManager get_vars()
3693 1562845387.46130: done with get_vars()
3693 1562845387.46154: in VariableManager get_vars()
3693 1562845387.79280: done with get_vars()
3693 1562845387.79306: in VariableManager get_vars()
3693 1562845388.12290: done with get_vars()
3693 1562845388.12313: in VariableManager get_vars()
3693 1562845388.48701: done with get_vars()
3693 1562845388.48727: in VariableManager get_vars()
3693 1562845388.81972: done with get_vars()
3693 1562845388.82011: in VariableManager get_vars()
3693 1562845389.15113: done with get_vars()
3693 1562845389.15138: in VariableManager get_vars()
3693 1562845389.48198: done with get_vars()
3693 1562845389.48227: in VariableManager get_vars()
3693 1562845389.81266: done with get_vars()
3693 1562845389.81290: in VariableManager get_vars()
3693 1562845390.14328: done with get_vars()
3693 1562845390.14352: in VariableManager get_vars()
3693 1562845390.47397: done with get_vars()
3693 1562845390.47423: in VariableManager get_vars()
3693 1562845390.80272: done with get_vars()
3693 1562845390.80296: in VariableManager get_vars()
3693 1562845391.14020: done with get_vars()
3693 1562845391.14044: in VariableManager get_vars()
3693 1562845391.48168: done with get_vars()
3693 1562845391.48193: in VariableManager get_vars()
3693 1562845391.81813: done with get_vars()
3693 1562845391.81837: in VariableManager get_vars()
3693 1562845392.15356: done with get_vars()
3693 1562845392.15383: in VariableManager get_vars()
3693 1562845392.48916: done with get_vars()
3693 1562845392.48943: in VariableManager get_vars()
3693 1562845392.81810: done with get_vars()
3693 1562845392.81834: in VariableManager get_vars()
3693 1562845393.16049: done with get_vars()
3693 1562845393.16073: in VariableManager get_vars()
3693 1562845393.49360: done with get_vars()
3693 1562845393.49385: in VariableManager get_vars()
3693 1562845393.82034: done with get_vars()
3693 1562845393.82057: in VariableManager get_vars()
3693 1562845394.14695: done with get_vars()
3693 1562845394.14719: in VariableManager get_vars()
3693 1562845394.48600: done with get_vars()
3693 1562845394.48624: in VariableManager get_vars()
3693 1562845394.81521: done with get_vars()
3693 1562845394.81545: in VariableManager get_vars()
3693 1562845395.14146: done with get_vars()
3693 1562845395.14170: in VariableManager get_vars()
3693 1562845395.46857: done with get_vars()
3693 1562845395.46881: in VariableManager get_vars()
3693 1562845395.79544: done with get_vars()
3693 1562845395.79568: in VariableManager get_vars()
3693 1562845396.13422: done with get_vars()
3693 1562845396.13445: in VariableManager get_vars()
3693 1562845396.46910: done with get_vars()
3693 1562845396.46934: in VariableManager get_vars()
3693 1562845396.79886: done with get_vars()
3693 1562845396.79909: in VariableManager get_vars()
3693 1562845397.12658: done with get_vars()
3693 1562845397.12682: in VariableManager get_vars()
3693 1562845397.46730: done with get_vars()
3693 1562845397.46754: in VariableManager get_vars()
3693 1562845397.79904: done with get_vars()
3693 1562845397.79928: in VariableManager get_vars()
3693 1562845398.12907: done with get_vars()
3693 1562845398.12932: in VariableManager get_vars()
3693 1562845398.45848: done with get_vars()
3693 1562845398.45873: in VariableManager get_vars()
3693 1562845398.78586: done with get_vars()
3693 1562845398.78610: in VariableManager get_vars()
3693 1562845399.11303: done with get_vars()
3693 1562845399.11327: in VariableManager get_vars()
3693 1562845399.44921: done with get_vars()
3693 1562845399.44945: in VariableManager get_vars()
3693 1562845399.77710: done with get_vars()
3693 1562845399.77734: in VariableManager get_vars()
3693 1562845400.10385: done with get_vars()
3693 1562845400.10408: in VariableManager get_vars()
3693 1562845400.43073: done with get_vars()
3693 1562845400.43096: in VariableManager get_vars()
3693 1562845400.75791: done with get_vars()
3693 1562845400.75815: in VariableManager get_vars()
3693 1562845401.08820: done with get_vars()
3693 1562845401.08844: in VariableManager get_vars()
3693 1562845401.45131: done with get_vars()
3693 1562845401.45155: in VariableManager get_vars()
3693 1562845401.77789: done with get_vars()
3693 1562845401.77814: in VariableManager get_vars()
3693 1562845402.12513: done with get_vars()
3693 1562845402.12537: in VariableManager get_vars()
3693 1562845402.45462: done with get_vars()
3693 1562845402.45485: in VariableManager get_vars()
3693 1562845402.78291: done with get_vars()
3693 1562845402.78315: in VariableManager get_vars()
3693 1562845403.11028: done with get_vars()
3693 1562845403.11052: in VariableManager get_vars()
3693 1562845403.43878: done with get_vars()
3693 1562845403.43902: in VariableManager get_vars()
3693 1562845403.76699: done with get_vars()
3693 1562845403.76723: in VariableManager get_vars()
3693 1562845404.10320: done with get_vars()
3693 1562845404.10343: in VariableManager get_vars()
3693 1562845404.42973: done with get_vars()
3693 1562845404.42996: in VariableManager get_vars()
3693 1562845404.77379: done with get_vars()
3693 1562845404.77403: in VariableManager get_vars()
3693 1562845405.11055: done with get_vars()
3693 1562845405.11079: in VariableManager get_vars()
3693 1562845405.43722: done with get_vars()
3693 1562845405.43746: in VariableManager get_vars()
3693 1562845405.76386: done with get_vars()
3693 1562845405.76410: in VariableManager get_vars()
3693 1562845406.11101: done with get_vars()
3693 1562845406.11125: in VariableManager get_vars()
3693 1562845406.43734: done with get_vars()
3693 1562845406.43758: in VariableManager get_vars()
3693 1562845406.76492: done with get_vars()
3693 1562845406.76516: in VariableManager get_vars()
3693 1562845407.09896: done with get_vars()
3693 1562845407.09920: in VariableManager get_vars()
3693 1562845407.42969: done with get_vars()
3693 1562845407.42992: in VariableManager get_vars()
3693 1562845407.75888: done with get_vars()
3693 1562845407.75912: in VariableManager get_vars()
3693 1562845408.08978: done with get_vars()
3693 1562845408.09002: in VariableManager get_vars()
3693 1562845408.41638: done with get_vars()
3693 1562845408.41662: in VariableManager get_vars()
3693 1562845408.74693: done with get_vars()
3693 1562845408.74716: in VariableManager get_vars()
3693 1562845409.07518: done with get_vars()
3693 1562845409.07542: in VariableManager get_vars()
3693 1562845409.41143: done with get_vars()
3693 1562845409.41167: in VariableManager get_vars()
3693 1562845409.73843: done with get_vars()
3693 1562845409.73866: in VariableManager get_vars()
3693 1562845410.06586: done with get_vars()
3693 1562845410.06610: in VariableManager get_vars()
3693 1562845410.40846: done with get_vars()
3693 1562845410.40870: in VariableManager get_vars()
3693 1562845410.75015: done with get_vars()
3693 1562845410.75039: in VariableManager get_vars()
3693 1562845411.07852: done with get_vars()
3693 1562845411.07880: in VariableManager get_vars()
3693 1562845411.42578: done with get_vars()
3693 1562845411.42602: in VariableManager get_vars()
3693 1562845411.75368: done with get_vars()
3693 1562845411.75392: in VariableManager get_vars()
3693 1562845412.08443: done with get_vars()
3693 1562845412.08468: in VariableManager get_vars()
3693 1562845412.41131: done with get_vars()
3693 1562845412.41156: in VariableManager get_vars()
3693 1562845412.76097: done with get_vars()
3693 1562845412.76121: in VariableManager get_vars()
3693 1562845413.08831: done with get_vars()
3693 1562845413.08855: in VariableManager get_vars()
3693 1562845413.42674: done with get_vars()
3693 1562845413.42698: in VariableManager get_vars()
3693 1562845413.75448: done with get_vars()
3693 1562845413.75471: in VariableManager get_vars()
3693 1562845414.08110: done with get_vars()
3693 1562845414.08133: in VariableManager get_vars()
3693 1562845414.40963: done with get_vars()
3693 1562845414.40988: in VariableManager get_vars()
3693 1562845414.73976: done with get_vars()
3693 1562845414.74001: in VariableManager get_vars()
3693 1562845415.06673: done with get_vars()
3693 1562845415.06697: in VariableManager get_vars()
3693 1562845415.40719: done with get_vars()
3693 1562845415.40743: in VariableManager get_vars()
3693 1562845415.73843: done with get_vars()
3693 1562845415.73867: in VariableManager get_vars()
3693 1562845416.06836: done with get_vars()
3693 1562845416.06860: in VariableManager get_vars()
3693 1562845416.39627: done with get_vars()
3693 1562845416.39651: in VariableManager get_vars()
3693 1562845416.74134: done with get_vars()
3693 1562845416.74170: in VariableManager get_vars()
3693 1562845417.07023: done with get_vars()
3693 1562845417.07060: in VariableManager get_vars()
3693 1562845417.40356: done with get_vars()
3693 1562845417.40383: in VariableManager get_vars()
3693 1562845417.73102: done with get_vars()
3693 1562845417.73126: in VariableManager get_vars()
3693 1562845418.05770: done with get_vars()
3693 1562845418.05794: in VariableManager get_vars()
3693 1562845418.38492: done with get_vars()
3693 1562845418.38516: in VariableManager get_vars()
3693 1562845418.72707: done with get_vars()
3693 1562845418.72731: in VariableManager get_vars()
3693 1562845419.05980: done with get_vars()
3693 1562845419.06004: in VariableManager get_vars()
3693 1562845419.39613: done with get_vars()
3693 1562845419.39648: in VariableManager get_vars()
3693 1562845419.72830: done with get_vars()
3693 1562845419.72854: in VariableManager get_vars()
3693 1562845420.05510: done with get_vars()
3693 1562845420.05534: in VariableManager get_vars()
3693 1562845420.38763: done with get_vars()
3693 1562845420.38789: in VariableManager get_vars()
3693 1562845420.71619: done with get_vars()
3693 1562845420.71643: in VariableManager get_vars()
3693 1562845421.04860: done with get_vars()
3693 1562845421.04884: in VariableManager get_vars()
3693 1562845421.37703: done with get_vars()
3693 1562845421.37727: in VariableManager get_vars()
3693 1562845421.70499: done with get_vars()
3693 1562845421.70524: in VariableManager get_vars()
3693 1562845422.03550: done with get_vars()
3693 1562845422.03574: in VariableManager get_vars()
3693 1562845422.36534: done with get_vars()
3693 1562845422.36558: in VariableManager get_vars()
3693 1562845422.69603: done with get_vars()
3693 1562845422.69628: in VariableManager get_vars()
3693 1562845423.04350: done with get_vars()
3693 1562845423.04374: in VariableManager get_vars()
3693 1562845423.37533: done with get_vars()
3693 1562845423.37558: in VariableManager get_vars()
3693 1562845423.71432: done with get_vars()
3693 1562845423.71456: in VariableManager get_vars()
3693 1562845424.04979: done with get_vars()
3693 1562845424.05003: in VariableManager get_vars()
3693 1562845424.39631: done with get_vars()
3693 1562845424.39654: in VariableManager get_vars()
3693 1562845424.72667: done with get_vars()
3693 1562845424.72692: in VariableManager get_vars()
3693 1562845425.05717: done with get_vars()
3693 1562845425.05741: in VariableManager get_vars()
3693 1562845425.40059: done with get_vars()
3693 1562845425.40083: in VariableManager get_vars()
3693 1562845425.73751: done with get_vars()
3693 1562845425.73776: in VariableManager get_vars()
3693 1562845426.07452: done with get_vars()
3693 1562845426.07476: in VariableManager get_vars()
3693 1562845426.40191: done with get_vars()
3693 1562845426.40214: in VariableManager get_vars()
3693 1562845426.72848: done with get_vars()
3693 1562845426.72872: in VariableManager get_vars()
3693 1562845427.05489: done with get_vars()
3693 1562845427.05513: in VariableManager get_vars()
3693 1562845427.38343: done with get_vars()
3693 1562845427.38367: in VariableManager get_vars()
3693 1562845427.71077: done with get_vars()
3693 1562845427.71100: in VariableManager get_vars()
3693 1562845428.03770: done with get_vars()
3693 1562845428.03794: in VariableManager get_vars()
3693 1562845428.36488: done with get_vars()
3693 1562845428.36512: in VariableManager get_vars()
3693 1562845428.70291: done with get_vars()
3693 1562845428.70315: in VariableManager get_vars()
3693 1562845429.03327: done with get_vars()
3693 1562845429.03351: in VariableManager get_vars()
3693 1562845429.36518: done with get_vars()
3693 1562845429.36541: in VariableManager get_vars()
3693 1562845429.69307: done with get_vars()
3693 1562845429.69331: in VariableManager get_vars()
3693 1562845430.02106: done with get_vars()
3693 1562845430.02130: in VariableManager get_vars()
3693 1562845430.34920: done with get_vars()
3693 1562845430.34949: in VariableManager get_vars()
3693 1562845430.67912: done with get_vars()
3693 1562845430.67936: in VariableManager get_vars()
3693 1562845431.00925: done with get_vars()
3693 1562845431.00949: in VariableManager get_vars()
3693 1562845431.34388: done with get_vars()
3693 1562845431.34411: in VariableManager get_vars()
3693 1562845431.67155: done with get_vars()
3693 1562845431.67178: in VariableManager get_vars()
3693 1562845432.00008: done with get_vars()
3693 1562845432.00032: in VariableManager get_vars()
3693 1562845432.32670: done with get_vars()
3693 1562845432.32694: in VariableManager get_vars()
3693 1562845432.66281: done with get_vars()
3693 1562845432.66304: in VariableManager get_vars()
3693 1562845432.98998: done with get_vars()
3693 1562845432.99023: in VariableManager get_vars()
3693 1562845433.31790: done with get_vars()
3693 1562845433.31814: in VariableManager get_vars()
3693 1562845433.66974: done with get_vars()
3693 1562845433.66997: in VariableManager get_vars()
3693 1562845433.99901: done with get_vars()
3693 1562845433.99926: in VariableManager get_vars()
3693 1562845434.32890: done with get_vars()
3693 1562845434.32913: in VariableManager get_vars()
3693 1562845434.65683: done with get_vars()
3693 1562845434.65707: in VariableManager get_vars()
3693 1562845434.98533: done with get_vars()
3693 1562845434.98557: in VariableManager get_vars()
3693 1562845435.32888: done with get_vars()
3693 1562845435.32916: in VariableManager get_vars()
3693 1562845435.67664: done with get_vars()
3693 1562845435.67689: in VariableManager get_vars()
3693 1562845436.00866: done with get_vars()
3693 1562845436.00892: in VariableManager get_vars()
3693 1562845436.33898: done with get_vars()
3693 1562845436.33922: in VariableManager get_vars()
3693 1562845436.67069: done with get_vars()
3693 1562845436.67092: in VariableManager get_vars()
3693 1562845437.00148: done with get_vars()
3693 1562845437.00172: in VariableManager get_vars()
3693 1562845437.33873: done with get_vars()
3693 1562845437.33897: in VariableManager get_vars()
3693 1562845437.66975: done with get_vars()
3693 1562845437.66999: in VariableManager get_vars()
3693 1562845438.04256: done with get_vars()
3693 1562845438.04280: in VariableManager get_vars()
3693 1562845438.38437: done with get_vars()
3693 1562845438.38462: in VariableManager get_vars()
3693 1562845438.75303: done with get_vars()
3693 1562845438.75327: in VariableManager get_vars()
3693 1562845439.12307: done with get_vars()
3693 1562845439.12331: in VariableManager get_vars()
3693 1562845439.46078: done with get_vars()
3693 1562845439.46392: in VariableManager get_vars()
3693 1562845439.79056: done with get_vars()
3693 1562845439.79080: in VariableManager get_vars()
3693 1562845440.11738: done with get_vars()
3693 1562845440.11762: in VariableManager get_vars()
3693 1562845440.44485: done with get_vars()
3693 1562845440.44509: in VariableManager get_vars()
3693 1562845440.77364: done with get_vars()
3693 1562845440.77388: in VariableManager get_vars()
3693 1562845441.10498: done with get_vars()
3693 1562845441.10522: in VariableManager get_vars()
3693 1562845441.44989: done with get_vars()
3693 1562845441.45012: in VariableManager get_vars()
3693 1562845441.79482: done with get_vars()
3693 1562845441.79505: in VariableManager get_vars()
3693 1562845442.13785: done with get_vars()
3693 1562845442.13809: in VariableManager get_vars()
3693 1562845442.46480: done with get_vars()
3693 1562845442.46504: in VariableManager get_vars()
3693 1562845442.80358: done with get_vars()
3693 1562845442.80382: in VariableManager get_vars()
3693 1562845443.13672: done with get_vars()
3693 1562845443.13696: in VariableManager get_vars()
3693 1562845443.46667: done with get_vars()
3693 1562845443.46694: in VariableManager get_vars()
3693 1562845443.80810: done with get_vars()
3693 1562845443.80833: in VariableManager get_vars()
3693 1562845444.15564: done with get_vars()
3693 1562845444.15588: in VariableManager get_vars()
3693 1562845444.49144: done with get_vars()
3693 1562845444.49168: in VariableManager get_vars()
3693 1562845444.81900: done with get_vars()
3693 1562845444.81924: in VariableManager get_vars()
3693 1562845445.15037: done with get_vars()
3693 1562845445.15061: in VariableManager get_vars()
3693 1562845445.49259: done with get_vars()
3693 1562845445.49284: in VariableManager get_vars()
3693 1562845445.82324: done with get_vars()
3693 1562845445.82348: in VariableManager get_vars()
3693 1562845446.16562: done with get_vars()
3693 1562845446.16586: in VariableManager get_vars()
3693 1562845446.49262: done with get_vars()
3693 1562845446.49286: in VariableManager get_vars()
3693 1562845446.81942: done with get_vars()
3693 1562845446.81965: in VariableManager get_vars()
3693 1562845447.15561: done with get_vars()
3693 1562845447.15588: in VariableManager get_vars()
3693 1562845447.48981: done with get_vars()
3693 1562845447.49008: in VariableManager get_vars()
3693 1562845447.82934: done with get_vars()
3693 1562845447.82958: in VariableManager get_vars()
3693 1562845448.16957: done with get_vars()
3693 1562845448.16997: in VariableManager get_vars()
3693 1562845448.50776: done with get_vars()
3693 1562845448.50799: in VariableManager get_vars()
3693 1562845448.84068: done with get_vars()
3693 1562845448.84092: in VariableManager get_vars()
3693 1562845449.16953: done with get_vars()
3693 1562845449.16978: in VariableManager get_vars()
3693 1562845449.49811: done with get_vars()
3693 1562845449.49837: in VariableManager get_vars()
3693 1562845449.82633: done with get_vars()
3693 1562845449.82657: in VariableManager get_vars()
3693 1562845450.15740: done with get_vars()
3693 1562845450.15764: in VariableManager get_vars()
3693 1562845450.48756: done with get_vars()
3693 1562845450.48780: in VariableManager get_vars()
3693 1562845450.81776: done with get_vars()
3693 1562845450.81800: in VariableManager get_vars()
3693 1562845451.15404: done with get_vars()
3693 1562845451.15428: in VariableManager get_vars()
3693 1562845451.48431: done with get_vars()
3693 1562845451.48454: in VariableManager get_vars()
3693 1562845451.81453: done with get_vars()
3693 1562845451.81489: in VariableManager get_vars()
3693 1562845452.14503: done with get_vars()
3693 1562845452.14530: in VariableManager get_vars()
3693 1562845452.47566: done with get_vars()
3693 1562845452.47589: in VariableManager get_vars()
3693 1562845452.82354: done with get_vars()
3693 1562845452.82381: in VariableManager get_vars()
3693 1562845453.15520: done with get_vars()
3693 1562845453.15544: in VariableManager get_vars()
3693 1562845453.48240: done with get_vars()
3693 1562845453.48264: in VariableManager get_vars()
3693 1562845453.80956: done with get_vars()
3693 1562845453.80980: in VariableManager get_vars()
3693 1562845454.13690: done with get_vars()
3693 1562845454.13714: in VariableManager get_vars()
3693 1562845454.48320: done with get_vars()
3693 1562845454.48344: in VariableManager get_vars()
3693 1562845454.82621: done with get_vars()
3693 1562845454.82646: in VariableManager get_vars()
3693 1562845455.16876: done with get_vars()
3693 1562845455.16899: in VariableManager get_vars()
3693 1562845455.49574: done with get_vars()
3693 1562845455.49598: in VariableManager get_vars()
3693 1562845455.82230: done with get_vars()
3693 1562845455.82254: in VariableManager get_vars()
3693 1562845456.15004: done with get_vars()
3693 1562845456.15028: in VariableManager get_vars()
3693 1562845456.49649: done with get_vars()
3693 1562845456.49674: in VariableManager get_vars()
3693 1562845456.82366: done with get_vars()
3693 1562845456.82391: in VariableManager get_vars()
3693 1562845457.14965: done with get_vars()
3693 1562845457.14989: in VariableManager get_vars()
3693 1562845457.47912: done with get_vars()
3693 1562845457.47936: in VariableManager get_vars()
3693 1562845457.80680: done with get_vars()
3693 1562845457.80704: in VariableManager get_vars()
3693 1562845458.14028: done with get_vars()
3693 1562845458.14052: in VariableManager get_vars()
3693 1562845458.46737: done with get_vars()
3693 1562845458.46761: in VariableManager get_vars()
3693 1562845458.80018: done with get_vars()
3693 1562845458.80042: in VariableManager get_vars()
3693 1562845459.12715: done with get_vars()
3693 1562845459.12739: in VariableManager get_vars()
3693 1562845459.45497: done with get_vars()
3693 1562845459.45521: in VariableManager get_vars()
3693 1562845459.78238: done with get_vars()
3693 1562845459.78261: in VariableManager get_vars()
3693 1562845460.12603: done with get_vars()
3693 1562845460.12627: in VariableManager get_vars()
3693 1562845460.47003: done with get_vars()
3693 1562845460.47027: in VariableManager get_vars()
3693 1562845460.82364: done with get_vars()
3693 1562845460.82388: in VariableManager get_vars()
3693 1562845461.16358: done with get_vars()
3693 1562845461.16382: in VariableManager get_vars()
3693 1562845461.49072: done with get_vars()
3693 1562845461.49096: in VariableManager get_vars()
3693 1562845461.81744: done with get_vars()
3693 1562845461.81768: in VariableManager get_vars()
3693 1562845462.15205: done with get_vars()
3693 1562845462.15230: in VariableManager get_vars()
3693 1562845462.47921: done with get_vars()
3693 1562845462.47945: in VariableManager get_vars()
3693 1562845462.80678: done with get_vars()
3693 1562845462.80702: in VariableManager get_vars()
3693 1562845463.13428: done with get_vars()
3693 1562845463.13452: in VariableManager get_vars()
3693 1562845463.47024: done with get_vars()
3693 1562845463.47048: in VariableManager get_vars()
3693 1562845463.82149: done with get_vars()
3693 1562845463.82173: in VariableManager get_vars()
3693 1562845464.15677: done with get_vars()
3693 1562845464.15702: in VariableManager get_vars()
3693 1562845464.49372: done with get_vars()
3693 1562845464.49396: in VariableManager get_vars()
3693 1562845464.82109: done with get_vars()
3693 1562845464.82133: in VariableManager get_vars()
3693 1562845465.14846: done with get_vars()
3693 1562845465.14870: in VariableManager get_vars()
3693 1562845465.47486: done with get_vars()
3693 1562845465.47510: in VariableManager get_vars()
3693 1562845465.80560: done with get_vars()
3693 1562845465.80584: in VariableManager get_vars()
3693 1562845466.13282: done with get_vars()
3693 1562845466.13306: in VariableManager get_vars()
3693 1562845466.45953: done with get_vars()
3693 1562845466.45977: in VariableManager get_vars()
3693 1562845466.79047: done with get_vars()
3693 1562845466.79072: in VariableManager get_vars()
3693 1562845467.12100: done with get_vars()
3693 1562845467.12124: in VariableManager get_vars()
3693 1562845467.45825: done with get_vars()
3693 1562845467.45849: in VariableManager get_vars()
3693 1562845467.78641: done with get_vars()
3693 1562845467.78664: in VariableManager get_vars()
3693 1562845468.11369: done with get_vars()
3693 1562845468.11393: in VariableManager get_vars()
3693 1562845468.45602: done with get_vars()
3693 1562845468.45626: in VariableManager get_vars()
3693 1562845468.79886: done with get_vars()
</code></pre></div>
<p dir="auto"></p>
</details>
Each sequence takes more than 1 minute on Xeon E5-2640. If playing on 30 hosts, it adds up linearly.
Such extreme slowdowns happen only during handler notifications. | 1 |
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function f(a=99) {
}"><pre class="notranslate"><code class="notranslate">function f(a=99) {
}
</code></pre></div>
<p dir="auto">should be compiled to</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="f([a=99]) {
}"><pre class="notranslate"><code class="notranslate">f([a=99]) {
}
</code></pre></div> | <p dir="auto">E.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="compile(component:Type, element:Element = null){}
==>
compile(Type component, [Element element = null]){}
"><pre class="notranslate"><code class="notranslate">compile(component:Type, element:Element = null){}
==>
compile(Type component, [Element element = null]){}
</code></pre></div> | 1 |
<p dir="auto">Here is a minimal working example.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module MWE
module A
struct S
x
end
export S
end
module B
using ..A
f(x::S) = x # stops "working" if I comment it out
S() = S(1)
end
end # module
MWE.A.S() # works!"><pre class="notranslate"><span class="pl-k">module</span> MWE
<span class="pl-k">module</span> A
<span class="pl-k">struct</span> S
x
<span class="pl-k">end</span>
<span class="pl-k">export</span> S
<span class="pl-k">end</span>
<span class="pl-k">module</span> B
<span class="pl-k">using</span> <span class="pl-k">..</span>A
<span class="pl-en">f</span>(x<span class="pl-k">::</span><span class="pl-c1">S</span>) <span class="pl-k">=</span> x <span class="pl-c"><span class="pl-c">#</span> stops "working" if I comment it out</span>
<span class="pl-en">S</span>() <span class="pl-k">=</span> <span class="pl-c1">S</span>(<span class="pl-c1">1</span>)
<span class="pl-k">end</span>
<span class="pl-k">end</span> <span class="pl-c"><span class="pl-c">#</span> module</span>
MWE<span class="pl-k">.</span>A<span class="pl-k">.</span><span class="pl-c1">S</span>() <span class="pl-c"><span class="pl-c">#</span> works!</span></pre></div>
<p dir="auto">I tried to find if the issue is already posted but I couldn't find any. I checked the MWE with 1.1.0-DEV.98 and 1.0.0.</p> | <p dir="auto">Not sure if this is intended:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> UUID
ERROR: UndefVarError: UUID not defined
julia> using Random: UUID
julia> UUID(x::String) = UUID(rand(UInt128)) # OK?
UUID
julia> UUID("foo")
8c68d00a-33d1-777d-c4a1-0a41759d1581
julia> using Base: getindex
julia> struct Foo end
julia> getindex(::Foo) = print("Hello")
ERROR: error in method definition: function Base.getindex must be explicitly imported to be extended"><pre class="notranslate">julia<span class="pl-k">></span> UUID
ERROR<span class="pl-k">:</span> UndefVarError<span class="pl-k">:</span> UUID not defined
julia<span class="pl-k">></span> <span class="pl-k">using</span> Random<span class="pl-k">:</span> UUID
julia<span class="pl-k">></span> <span class="pl-en">UUID</span>(x<span class="pl-k">::</span><span class="pl-c1">String</span>) <span class="pl-k">=</span> <span class="pl-c1">UUID</span>(<span class="pl-c1">rand</span>(UInt128)) <span class="pl-c"><span class="pl-c">#</span> OK?</span>
UUID
julia<span class="pl-k">></span> <span class="pl-c1">UUID</span>(<span class="pl-s"><span class="pl-pds">"</span>foo<span class="pl-pds">"</span></span>)
<span class="pl-c1">8</span>c68d00a<span class="pl-k">-</span><span class="pl-c1">33</span>d1<span class="pl-k">-</span><span class="pl-c1">777</span>d<span class="pl-k">-</span>c4a1<span class="pl-k">-</span><span class="pl-c1">0</span>a41759d1581
julia<span class="pl-k">></span> <span class="pl-k">using</span> Base<span class="pl-k">:</span> getindex
julia<span class="pl-k">></span> <span class="pl-k">struct</span> Foo <span class="pl-k">end</span>
julia<span class="pl-k">></span> <span class="pl-en">getindex</span>(<span class="pl-k">::</span><span class="pl-c1">Foo</span>) <span class="pl-k">=</span> <span class="pl-c1">print</span>(<span class="pl-s"><span class="pl-pds">"</span>Hello<span class="pl-pds">"</span></span>)
ERROR<span class="pl-k">:</span> error <span class="pl-k">in</span> method definition<span class="pl-k">:</span> <span class="pl-k">function</span> Base<span class="pl-k">.</span>getindex must be explicitly imported to be extended</pre></div> | 1 |
<ul dir="auto">
<li>[ x] I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">This isn't an issue with the project.</p>
<p dir="auto"><a href="https://codesandbox.io/s/23qv662q00" rel="nofollow">This CodeSandBox</a> linked to in <a href="https://material-ui-next.com/customization/themes/" rel="nofollow">this doc page</a> is missing the <a href="https://github.com/mui-org/material-ui/blob/v1-beta/docs/src/pages/customization/WithTheme.js">WithTheme.js</a> file.</p>
<p dir="auto">I don't know how (or if it's possible) to PR from CodeSandBox. <a href="https://codesandbox.io/s/w0x52r6kol" rel="nofollow">Here's a fork</a>.</p>
<p dir="auto">Thanks</p> | <h3 dir="auto">Problem description</h3>
<p dir="auto">When using this with react-starter-kit it generates warnng:<br>
<code class="notranslate">(program):44 Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server: (client) ;width:100%;display:flex;padding-left:24 (server) ;width:100%;display:-webkit-box,-moz-box</code></p>
<p dir="auto">I've looked at other related issues and know this has been a reoccuring theme. It seems that everywhere the process.env.NODE_ENV is set the same.</p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Open an instance with chrome (v. 50) using react-starter-kit as boilerplate.</p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 0.15.0 and ^0.15.0-beta.2</li>
<li>React: 15.1.0</li>
<li>Browser: Chrome 50.0.2661.102 (64-bit)</li>
</ul> | 0 |
<p dir="auto">On 3/4/2015 on playpen, the following code:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait Foo {
type A;
}
struct FooStruct;
impl Foo for FooStruct {
type A = <FooStruct as Foo>::A;
}
fn main() { }"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-k">type</span> <span class="pl-smi">A</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">struct</span> <span class="pl-smi">FooStruct</span><span class="pl-kos">;</span>
<span class="pl-k">impl</span> <span class="pl-smi">Foo</span> <span class="pl-k">for</span> <span class="pl-smi">FooStruct</span> <span class="pl-kos">{</span>
<span class="pl-k">type</span> <span class="pl-smi">A</span> = <<span class="pl-smi">FooStruct</span> <span class="pl-k">as</span> <span class="pl-smi">Foo</span>><span class="pl-kos">::</span><span class="pl-smi">A</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">...gives the following error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="thread 'rustc' has overflowed its stack
Illegal instruction (core dumped)
playpen: application terminated with error code 132"><pre class="notranslate"><code class="notranslate">thread 'rustc' has overflowed its stack
Illegal instruction (core dumped)
playpen: application terminated with error code 132
</code></pre></div>
<p dir="auto">This may be considered a duplicate of issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="53358617" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/20551" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/20551/hovercard" href="https://github.com/rust-lang/rust/issues/20551">#20551</a>, which notes a similar problem with recursive trait bounds. I figured this may be unique given that this involves a recursive associated type on a trait, rather than a recursive trait itself.</p> | <p dir="auto">This works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let mut nums=vec![10i,11,12,13];
let index=nums.len()-2;
*nums.get_mut(index)=2;
}"><pre class="notranslate"><code class="notranslate">fn main() {
let mut nums=vec![10i,11,12,13];
let index=nums.len()-2;
*nums.get_mut(index)=2;
}
</code></pre></div>
<p dir="auto">I would like to be able to write this instead:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="fn main() {
let mut nums=vec![10i,11,12,13];
*nums.get_mut(nums.len()-2)=2;
}"><pre class="notranslate"><code class="notranslate">fn main() {
let mut nums=vec![10i,11,12,13];
*nums.get_mut(nums.len()-2)=2;
}
</code></pre></div>
<p dir="auto">But:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="test.rs:3:16: 3:20 error: cannot borrow `nums` as immutable because it is also borrowed as mutable
test.rs:3 *nums.get_mut(nums.len()-2)=2;
^~~~
test.rs:3:3: 3:7 note: previous borrow of `nums` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `nums` until the borrow ends
test.rs:3 *nums.get_mut(nums.len()-2)=2;
^~~~"><pre class="notranslate"><code class="notranslate">test.rs:3:16: 3:20 error: cannot borrow `nums` as immutable because it is also borrowed as mutable
test.rs:3 *nums.get_mut(nums.len()-2)=2;
^~~~
test.rs:3:3: 3:7 note: previous borrow of `nums` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of `nums` until the borrow ends
test.rs:3 *nums.get_mut(nums.len()-2)=2;
^~~~
</code></pre></div>
<p dir="auto">Lexically, the receivers appears before the parameters, but semantically it appears later, which is when I'd expect the borrow to happen.</p> | 0 |
<p dir="auto">Right now getting a direction or spot light's direction is somewhat complex and only present in the renderers, rather than as a method on the SpotLight and DirectionalLight classes.</p>
<p dir="auto">Specifically to get the true direction of a light one uses this code:</p>
<p dir="auto"><a href="https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js#L5020">https://github.com/mrdoob/three.js/blob/master/src/renderers/WebGLRenderer.js#L5020</a><br>
<a href="https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/SVGRenderer.js#L225">https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/SVGRenderer.js#L225</a><br>
<a href="https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/WebGLDeferredRenderer.js#L431">https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/WebGLDeferredRenderer.js#L431</a></p>
<p dir="auto">I would like to move the repeated code from the renderers into the base Light class. Thus I would like to add to Light this (and use it in the renderers):</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="THREE.Light.prototype.getWorldDirection = function() {
var targetPosition = new THREE.Vector3();
return function ( optionalTarget ) {
var direction = optionalTarget || new THREE.Vector3();
if( this.target ) {
direction.setFromMatrixPosition( this.matrixWorld );
targetPosition.setFromMatrixPosition( this.target.matrixWorld );
direction.sub( targetPosition );
direction.normalize();
}
return direction;
};
}();"><pre class="notranslate"><span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Light</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">getWorldDirection</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">targetPosition</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Vector3</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-k">function</span> <span class="pl-kos">(</span> <span class="pl-s1">optionalTarget</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">direction</span> <span class="pl-c1">=</span> <span class="pl-s1">optionalTarget</span> <span class="pl-c1">||</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Vector3</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">if</span><span class="pl-kos">(</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">target</span> <span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-s1">direction</span><span class="pl-kos">.</span><span class="pl-en">setFromMatrixPosition</span><span class="pl-kos">(</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">matrixWorld</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">targetPosition</span><span class="pl-kos">.</span><span class="pl-en">setFromMatrixPosition</span><span class="pl-kos">(</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">target</span><span class="pl-kos">.</span><span class="pl-c1">matrixWorld</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">direction</span><span class="pl-kos">.</span><span class="pl-en">sub</span><span class="pl-kos">(</span> <span class="pl-s1">targetPosition</span> <span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">direction</span><span class="pl-kos">.</span><span class="pl-en">normalize</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-s1">direction</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">I added the check for <code class="notranslate">this.target</code> because in order to share the code between SpotLight and DirectionalLight it had to go on the base class, and thus it may be used by Lights that do not have a <code class="notranslate">this.target</code> on them.</p>
<p dir="auto">PS. I am proposing this because I would have to again duplicate this code in the new batching renderer.</p> | <h5 dir="auto">Description of the problem</h5>
<p dir="auto">A <code class="notranslate">WebGLRenderer</code> is used to render a scene with:</p>
<ul dir="auto">
<li>a sprite</li>
<li>background color set (or renderer gets clear color set) to another color than black (e.g. blue)</li>
</ul>
<p dir="auto">Next, the scene's background color (or render clear color) is set to black, and the scene rendered again. The background color will stay the same value as before.</p>
<p dir="auto">For example see: <a href="https://jsfiddle.net/w9t5h1h2/3/" rel="nofollow">https://jsfiddle.net/w9t5h1h2/3/</a><br>
In the example, double-clicking the canvas will cycle the background color between black, red and blue. You can see that it never gets set back to black, but rather keeps the red color when it should have been black. Setting the color to blue/red again works.</p>
<p dir="auto">The problem seems to be caused by the <code class="notranslate">SpritePlugin</code> calling <code class="notranslate">renderer.resetGLState()</code>, which resets the tracked <code class="notranslate">currentClearColor</code> to black, while leaving the context's clear color untouched.</p>
<p dir="auto">A workaround is to use nearly-black (<code class="notranslate">0x000001</code>) for the background instead of black.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r85</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> iOS</li>
</ul> | 0 |
<p dir="auto">I'm trying to create a panel with three tabs.<br>
I have a strange problem, if I add the "col-xs-12 col-sm-12 col-md-8 col-lg-6" classes the panel background won't match the form height,</p>
<p dir="auto"><a href="http://jsfiddle.net/YXuNr/15/" rel="nofollow">http://jsfiddle.net/YXuNr/15/</a><br>
not growing</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1990816/3410441/25955f16-fde7-11e3-8398-105a5a108c34.png"><img src="https://cloud.githubusercontent.com/assets/1990816/3410441/25955f16-fde7-11e3-8398-105a5a108c34.png" alt="screen shot 2014-06-27 at 11 39 53" style="max-width: 100%;"></a></p>
<p dir="auto">while it's perfectly fine if I remove the responsive classes</p>
<p dir="auto"><a href="http://jsfiddle.net/YXuNr/16/" rel="nofollow">http://jsfiddle.net/YXuNr/16/</a></p>
<p dir="auto">growing correctly</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1990816/3410442/2aafd6ac-fde7-11e3-9542-525122ac330d.png"><img src="https://cloud.githubusercontent.com/assets/1990816/3410442/2aafd6ac-fde7-11e3-9542-525122ac330d.png" alt="screen shot 2014-06-27 at 11 40 10" style="max-width: 100%;"></a></p>
<p dir="auto">I've checked the html and apparently it's all good, I wouldn't like to force a min-height on these panels, do you have any idea how to fix this? (I've also tried to assign a background and removing the alert alert-info from the tab-pane, but it won't grow anyway.</p> | <p dir="auto">I cannot close alerts on a iPhone 4S.</p>
<p dir="auto">An example can be duplicated on <a href="http://twitter.github.com/bootstrap/components#alerts">http://twitter.github.com/bootstrap/components#alerts</a></p> | 0 |
<p dir="auto">As per the following issue -><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178249057" data-permission-text="Title is private" data-url="https://github.com/angular/angular/issues/11780" data-hovercard-type="issue" data-hovercard-url="/angular/angular/issues/11780/hovercard" href="https://github.com/angular/angular/issues/11780">#11780</a><br>
Compiler is not available in AOT. Do we have this available in near future in upcoming releases of Angular ?</p>
<p dir="auto">regards<br>
Vasuneet Arya</p> | <p dir="auto">When I run a command</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=">"node_modules/.bin/ngc" -p ./"><pre class="notranslate"><code class="notranslate">>"node_modules/.bin/ngc" -p ./
</code></pre></div>
<p dir="auto">I get the error:</p>
<blockquote>
<p dir="auto">Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 65:17 in the original .ts file), resolving symbol COMPILER_PROVIDERS in .../node_modules/@angular/compiler/src/compiler.d.ts,</p>
</blockquote>
<p dir="auto">That all is related to this piece of code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="@NgModule({
...
providers: [
COMPILER_PROVIDERS
],
})
export class AppModule {}"><pre class="notranslate"><code class="notranslate">@NgModule({
...
providers: [
COMPILER_PROVIDERS
],
})
export class AppModule {}
</code></pre></div>
<p dir="auto">Once COMPILER_PROVIDERS are not declared</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" providers: [
// COMPILER_PROVIDERS"><pre class="notranslate"><code class="notranslate"> providers: [
// COMPILER_PROVIDERS
</code></pre></div>
<p dir="auto">then <strong>AOT works</strong> as expected... just ... <strong>as also expected, the app is not</strong> working <em>(simply, COMPILER_PROVIDERS are needed for it)</em></p>
<p dir="auto">I did see this "encouraging disclaimer"</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/**
* @module
* @description
* Entry point for all APIs of the compiler package.
*
* <div class="callout is-critical">
* <header>Unstable APIs</header>
* <p>
* All compiler apis are currently considered experimental and private!
* </p>
* <p>
* We expect the APIs in this package to keep on changing. Do not rely on them.
* </p>
* </div>"><pre class="notranslate"><code class="notranslate">/**
* @module
* @description
* Entry point for all APIs of the compiler package.
*
* <div class="callout is-critical">
* <header>Unstable APIs</header>
* <p>
* All compiler apis are currently considered experimental and private!
* </p>
* <p>
* We expect the APIs in this package to keep on changing. Do not rely on them.
* </p>
* </div>
</code></pre></div>
<p dir="auto">So - it is <strong>experimental</strong>, <strong>private</strong>, <strong>"I cannot rely on it"</strong> ... but I need it.</p>
<p dir="auto">Please, am I doing something wrong? or is intended ... <strong>COMPILER_PROVIDERS will never be supported by AOT</strong>?</p> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=vguhesan" rel="nofollow">Venkatt Guhesan</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-692?redirect=false" rel="nofollow">SPR-692</a></strong> and commented</p>
<p dir="auto">I have a simple application where the following scenerio:</p>
<ul dir="auto">
<li>LoginController extends SimpleFormController</li>
<li>LoginValidator implements Validator</li>
</ul>
<p dir="auto">Within LoginController I override the following method:</p>
<p dir="auto">protected ModelAndView onSubmit(HttpServletRequest request,<br>
HttpServletResponse response,<br>
Object command,<br>
BindException errors)<br>
throws Exception</p>
<hr>
<p dir="auto">on proper validation with no errors, I would expect the app to call the "onSubmit" method with the defined signature but it does not. If on the other hand I override, the following method:</p>
<p dir="auto">protected ModelAndView onSubmit(Object command)<br>
throws Exception</p>
<hr>
<p dir="auto">it calls the "onSubmit" method properly but I need to access the request scope to set a variable in the session.</p>
<p dir="auto">Why does it not work when I implement the onSubmit(request,response,command,errors)? I have tried both Spring - 1.1.3 and 1.1.4 JARs.</p>
<p dir="auto">PS: There is only one onSubmit method in the class. I have verified to make sure there were nother onSubmit methods...</p>
<p dir="auto">Thanks</p>
<p dir="auto">Venkatt Guhesan</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.1.3, 1.1.4</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398055717" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5521" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5521/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5521">#5521</a> invalid doSubmit method executed for SimpleFormController (<em><strong>"is duplicated by"</strong></em>)</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kev.lee.wright" rel="nofollow">Kevin Wright</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7562?redirect=false" rel="nofollow">SPR-7562</a></strong> and commented</p>
<p dir="auto">The start of forElementType() is defined as:</p>
<p dir="auto">if (getType().equals(elementType)) {<br>
return this;<br>
}</p>
<p dir="auto">Unfortunately, this fails when the TypeDescriptor represents a List<List<...>><br>
When calling getElementType(), the call stack will be getElementType() -> getElementTypeDescriptor() -> forElementType()<br>
at which point, the elementType field will still be null.</p>
<p dir="auto">The equality check will therefore see that List<null> == List<null>, and so the TypeDescriptor will be returned as its own element descriptor.<br>
This leads to a recursive definition, where the descriptor now represents a List<List<List<...<List<List<... etc.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.3</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398105728" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11948" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11948/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11948">#11948</a> StackOverflowError when converting nested Lists (<em><strong>"duplicates"</strong></em>)</li>
</ul> | 0 |
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<h4 dir="auto">Problem description</h4>
<p dir="auto">I find a bug when using panel.apply(), and with some digging, I find an interesting indexing problem caused by multiindex in Panel Object. It is demonstrated below:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#
import pandas as pd
pn1 = pd.Panel(pd.np.random.random(size=(3,4,5)),items=['AAA','BBB','CCC'])
print pn1.loc[:,:,1]
pn2 = pn1.copy()
pn2.major_axis = pd.MultiIndex.from_product([list('AB'),list('ab')])
print pn2.loc[:,:,1]
"><pre class="notranslate"><span class="pl-c"># </span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">pn1</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Panel</span>(<span class="pl-s1">pd</span>.<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">random</span>(<span class="pl-s1">size</span><span class="pl-c1">=</span>(<span class="pl-c1">3</span>,<span class="pl-c1">4</span>,<span class="pl-c1">5</span>)),<span class="pl-s1">items</span><span class="pl-c1">=</span>[<span class="pl-s">'AAA'</span>,<span class="pl-s">'BBB'</span>,<span class="pl-s">'CCC'</span>])
<span class="pl-k">print</span> <span class="pl-s1">pn1</span>.<span class="pl-s1">loc</span>[:,:,<span class="pl-c1">1</span>]
<span class="pl-s1">pn2</span> <span class="pl-c1">=</span> <span class="pl-s1">pn1</span>.<span class="pl-en">copy</span>()
<span class="pl-s1">pn2</span>.<span class="pl-s1">major_axis</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">MultiIndex</span>.<span class="pl-en">from_product</span>([<span class="pl-en">list</span>(<span class="pl-s">'AB'</span>),<span class="pl-en">list</span>(<span class="pl-s">'ab'</span>)])
<span class="pl-k">print</span> <span class="pl-s1">pn2</span>.<span class="pl-s1">loc</span>[:,:,<span class="pl-c1">1</span>]</pre></div>
<h4 dir="auto">Output:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" AAA BBB CCC
0 0.182982 0.774812 0.894589
1 0.654716 0.695453 0.790078
2 0.340826 0.941283 0.938544
3 0.351851 0.971896 0.362317
A B
a b a b
AAA 0.182982 0.654716 0.340826 0.351851
BBB 0.774812 0.695453 0.941283 0.971896
CCC 0.894589 0.790078 0.938544 0.362317"><pre class="notranslate"><code class="notranslate"> AAA BBB CCC
0 0.182982 0.774812 0.894589
1 0.654716 0.695453 0.790078
2 0.340826 0.941283 0.938544
3 0.351851 0.971896 0.362317
A B
a b a b
AAA 0.182982 0.654716 0.340826 0.351851
BBB 0.774812 0.695453 0.941283 0.971896
CCC 0.894589 0.790078 0.938544 0.362317
</code></pre></div>
<p dir="auto">With a multiindex as the major_axis of Panel object, the indexing result is transposed. And because of that, when using <code class="notranslate"> pn.apply(func, axis=('items','major'))</code>, it give you the wrong results when the major_axis is a multiindex.<br>
Is this a bug? if not, then what is the purpose that it is designed like this?<br>
Thanks for help.</p> | <p dir="auto">If you have a Panel with a MultiIndex, you can read but not write to it with <code class="notranslate">.ix</code> (same with <code class="notranslate">.loc</code>).</p>
<p dir="auto">Before 0.13 I would normally do something like <code class="notranslate">pn[item].ix[a, b][stuff] = values</code>, surprisingly it used to work (now it spits out a <code class="notranslate">SettingWithCopyWarning</code> but still kinda works).</p>
<p dir="auto">So what are the valid options in 0.13?</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=">>> df = pd.DataFrame([1] * 3, pd.MultiIndex.from_tuples(zip(range(3), range(3))))
>>> df
0
0 0 1
1 1 1
2 2 1
[3 rows x 1 columns]
>>> pn = pd.Panel(dict((k, df.copy() * k) for k in xrange(2)))
>>> pn
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 3 (major_axis) x 1 (minor_axis)
Items axis: 0 to 1
Major_axis axis: (0, 0) to (2, 2)
Minor_axis axis: 0 to 0
>>> pn.ix[1, (0, 0), 0]
1
>>> pn.ix[1, (0, 0), 0] = 1
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-64-f48c3a7f93c3> in <module>()
----> 1 pn.ix[1, (0, 0), 0] = 1
/home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in __setitem__(self, key, value)
96 indexer = self._convert_to_indexer(key, is_setter=True)
97
---> 98 self._setitem_with_indexer(indexer, value)
99
100 def _has_valid_type(self, k, axis):
/home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value)
299 obj = self.obj[item]
300 index = obj.index
--> 301 idx = indexer[:info_axis][0]
302 try:
303 if idx in index:
IndexError: tuple index out of range
> /home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.py(301)_setitem_with_indexer()
300 index = obj.index
--> 301 idx = indexer[:info_axis][0]
302 try:"><pre class="notranslate"><span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([<span class="pl-c1">1</span>] <span class="pl-c1">*</span> <span class="pl-c1">3</span>, <span class="pl-s1">pd</span>.<span class="pl-v">MultiIndex</span>.<span class="pl-en">from_tuples</span>(<span class="pl-en">zip</span>(<span class="pl-en">range</span>(<span class="pl-c1">3</span>), <span class="pl-en">range</span>(<span class="pl-c1">3</span>))))
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">df</span>
<span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span>
<span class="pl-c1">1</span> <span class="pl-c1">1</span> <span class="pl-c1">1</span>
<span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">1</span>
[<span class="pl-c1">3</span> <span class="pl-s1">rows</span> <span class="pl-s1">x</span> <span class="pl-c1">1</span> <span class="pl-s1">columns</span>]
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pn</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">Panel</span>(<span class="pl-en">dict</span>((<span class="pl-s1">k</span>, <span class="pl-s1">df</span>.<span class="pl-en">copy</span>() <span class="pl-c1">*</span> <span class="pl-s1">k</span>) <span class="pl-k">for</span> <span class="pl-s1">k</span> <span class="pl-c1">in</span> <span class="pl-en">xrange</span>(<span class="pl-c1">2</span>)))
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pn</span>
<span class="pl-c1"><</span><span class="pl-k">class</span> <span class="pl-s">'pandas.core.panel.Panel'</span><span class="pl-c1">></span>
<span class="pl-v">Dimensions</span>: <span class="pl-c1">2</span> (<span class="pl-s1">items</span>) <span class="pl-s1">x</span> <span class="pl-c1">3</span> (<span class="pl-s1">major_axis</span>) <span class="pl-s1">x</span> <span class="pl-c1">1</span> (<span class="pl-s1">minor_axis</span>)
<span class="pl-v">Items</span> <span class="pl-s1">axis</span>: <span class="pl-c1">0</span> <span class="pl-s1">to</span> <span class="pl-c1">1</span>
<span class="pl-v">Major_axis</span> <span class="pl-s1">axis</span>: (<span class="pl-c1">0</span>, <span class="pl-c1">0</span>) <span class="pl-s1">to</span> (<span class="pl-c1">2</span>, <span class="pl-c1">2</span>)
<span class="pl-v">Minor_axis</span> <span class="pl-s1">axis</span>: <span class="pl-c1">0</span> <span class="pl-s1">to</span> <span class="pl-c1">0</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pn</span>.<span class="pl-s1">ix</span>[<span class="pl-c1">1</span>, (<span class="pl-c1">0</span>, <span class="pl-c1">0</span>), <span class="pl-c1">0</span>]
<span class="pl-c1">1</span>
<span class="pl-c1">>></span><span class="pl-c1">></span> <span class="pl-s1">pn</span>.<span class="pl-s1">ix</span>[<span class="pl-c1">1</span>, (<span class="pl-c1">0</span>, <span class="pl-c1">0</span>), <span class="pl-c1">0</span>] <span class="pl-c1">=</span> <span class="pl-c1">1</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</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">IndexError</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">64</span><span class="pl-c1">-</span><span class="pl-s1">f48c3a7f93c3</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">pn</span>.<span class="pl-s1">ix</span>[<span class="pl-c1">1</span>, (<span class="pl-c1">0</span>, <span class="pl-c1">0</span>), <span class="pl-c1">0</span>] <span class="pl-c1">=</span> <span class="pl-c1">1</span>
<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">smirnov</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">1</span><span class="pl-c1">-</span><span class="pl-s1">py2</span>.<span class="pl-c1">7</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">indexing</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">__setitem__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">key</span>, <span class="pl-s1">value</span>)
<span class="pl-c1">96</span> <span class="pl-s1">indexer</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_convert_to_indexer</span>(<span class="pl-s1">key</span>, <span class="pl-s1">is_setter</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)
<span class="pl-c1">97</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">98</span> <span class="pl-s1">self</span>.<span class="pl-en">_setitem_with_indexer</span>(<span class="pl-s1">indexer</span>, <span class="pl-s1">value</span>)
<span class="pl-c1">99</span>
<span class="pl-c1">100</span> <span class="pl-k">def</span> <span class="pl-en">_has_valid_type</span>(<span class="pl-s1">self</span>, <span class="pl-s1">k</span>, <span class="pl-s1">axis</span>):
<span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">smirnov</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">1</span><span class="pl-c1">-</span><span class="pl-s1">py2</span>.<span class="pl-c1">7</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">indexing</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_setitem_with_indexer</span>(<span class="pl-s1">self</span>, <span class="pl-s1">indexer</span>, <span class="pl-s1">value</span>)
<span class="pl-c1">299</span> <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">obj</span>[<span class="pl-s1">item</span>]
<span class="pl-c1">300</span> <span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</span>.<span class="pl-s1">index</span>
<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">></span> <span class="pl-c1">301</span> <span class="pl-s1">idx</span> <span class="pl-c1">=</span> <span class="pl-s1">indexer</span>[:<span class="pl-s1">info_axis</span>][<span class="pl-c1">0</span>]
<span class="pl-c1">302</span> <span class="pl-k">try</span>:
<span class="pl-c1">303</span> <span class="pl-k">if</span> <span class="pl-s1">idx</span> <span class="pl-c1">in</span> <span class="pl-s1">index</span>:
<span class="pl-v">IndexError</span>: <span class="pl-s1">tuple</span> <span class="pl-s1">index</span> <span class="pl-s1">out</span> <span class="pl-s1">of</span> <span class="pl-s1">range</span>
<span class="pl-c1">></span> <span class="pl-c1">/</span><span class="pl-s1">home</span><span class="pl-c1">/</span><span class="pl-s1">smirnov</span><span class="pl-c1">/</span><span class="pl-s1">anaconda</span><span class="pl-c1">/</span><span class="pl-s1">lib</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">-</span><span class="pl-c1">0.13</span>.<span class="pl-c1">1</span><span class="pl-c1">-</span><span class="pl-s1">py2</span>.<span class="pl-c1">7</span><span class="pl-c1">-</span><span class="pl-s1">linux</span><span class="pl-c1">-</span><span class="pl-s1">x86_64</span>.<span class="pl-s1">egg</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">core</span><span class="pl-c1">/</span><span class="pl-s1">indexing</span>.<span class="pl-en">py</span>(<span class="pl-c1">301</span>)<span class="pl-s1">_setitem_with_indexer</span>()
<span class="pl-c1">300</span> <span class="pl-s1">index</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</span>.<span class="pl-s1">index</span>
<span class="pl-c1">-</span><span class="pl-c1">-></span> <span class="pl-c1">301</span> <span class="pl-s1">idx</span> <span class="pl-c1">=</span> <span class="pl-s1">indexer</span>[:<span class="pl-s1">info_axis</span>][<span class="pl-c1">0</span>]
<span class="pl-c1">302</span> <span class="pl-k">try</span>:</pre></div> | 1 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.2.5 (latest released)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">A backfill launched from the scheduler pod, queues tasks as it should but while they are in the process of starting the kubernentes executor loop running in the scheduler clears these tasks and reschedules them via this function </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/airflow/blob/9449a107f092f2f6cfa9c8bbcf5fd62fadfa01be/airflow/executors/kubernetes_executor.py#L444">airflow/airflow/executors/kubernetes_executor.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 444
in
<a data-pjax="true" class="commit-tease-sha" href="/apache/airflow/commit/9449a107f092f2f6cfa9c8bbcf5fd62fadfa01be">9449a10</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="L444" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="444"></td>
<td id="LC444" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">clear_not_launched_queued_tasks</span>(<span class="pl-s1">self</span>, <span class="pl-s1">session</span><span class="pl-c1">=</span><span class="pl-c1">None</span>) <span class="pl-c1">-></span> <span class="pl-c1">None</span>: </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto">This causes the backfill to not queue any more tasks and enters an endless loop of waiting for the task it has queued to complete.</p>
<p dir="auto">The way I have mitigated this is to set the <code class="notranslate">AIRFLOW__KUBERNETES__WORKER_PODS_QUEUED_CHECK_INTERVAL</code> to 3600, which is not ideal</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The function clear_not_launched_queued_tasks should respect tasks launched by a backfill process and not clear them.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">start a backfill with large number of tasks and watch as they get queued and then subsequently rescheduled by the kubernetes executor running in the scheduler pod</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Debian GNU/Linux 10 (buster)</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
apache-airflow 2.2.5 py38h578d9bd_0
apache-airflow-providers-cncf-kubernetes 3.0.2 pyhd8ed1ab_0
apache-airflow-providers-docker 2.4.1 pyhd8ed1ab_0
apache-airflow-providers-ftp 2.1.2 pyhd8ed1ab_0
apache-airflow-providers-http 2.1.2 pyhd8ed1ab_0
apache-airflow-providers-imap 2.2.3 pyhd8ed1ab_0
apache-airflow-providers-postgres 3.0.0 pyhd8ed1ab_0
apache-airflow-providers-sqlite 2.1.3 pyhd8ed1ab_0
"><pre class="notranslate"><code class="notranslate">
apache-airflow 2.2.5 py38h578d9bd_0
apache-airflow-providers-cncf-kubernetes 3.0.2 pyhd8ed1ab_0
apache-airflow-providers-docker 2.4.1 pyhd8ed1ab_0
apache-airflow-providers-ftp 2.1.2 pyhd8ed1ab_0
apache-airflow-providers-http 2.1.2 pyhd8ed1ab_0
apache-airflow-providers-imap 2.2.3 pyhd8ed1ab_0
apache-airflow-providers-postgres 3.0.0 pyhd8ed1ab_0
apache-airflow-providers-sqlite 2.1.3 pyhd8ed1ab_0
</code></pre></div>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Other 3rd-party Helm chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">Deployment is running the latest helm chart of Airflow Community Edition</p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | <h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.2.4</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">We are running airflow 2.2.4 with KubernetesExecutor. I have created a dag to run airflow backfill command with SubprocessHook. What was observed is that when I started to backfill a few days' dagruns the backfill would get stuck with some dag runs having tasks staying in the "scheduled" state and never getting running.</p>
<p dir="auto">We are using the default pool and the pool is totoally free when the tasks got stuck.</p>
<p dir="auto">I could find some logs saying:<br>
<code class="notranslate">TaskInstance: <TaskInstance: test_dag_2.task_1 backfill__2022-03-29T00:00:00+00:00 [queued]> found in queued state but was not launched, rescheduling</code> and nothing else in the log.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The tasks stuck in "scheduled" should start running when there is free slot in the pool.</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">Airflow 2.2.4 with python 3.8.13, KubernetesExecutor running in AWS EKS.</p>
<p dir="auto">One backfill command example is: <code class="notranslate">airflow dags backfill test_dag_2 -s 2022-03-01 -e 2022-03-10 --rerun-failed-tasks</code></p>
<p dir="auto">The test_dag_2 dag is like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import time
from datetime import timedelta
import pendulum
from airflow import DAG
from airflow.decorators import task
from airflow.models.dag import dag
from airflow.operators.bash import BashOperator
from airflow.operators.dummy import DummyOperator
from airflow.operators.python import PythonOperator
default_args = {
'owner': 'airflow',
'depends_on_past': False,
'email': ['[email protected]'],
'email_on_failure': True,
'email_on_retry': False,
'retries': 1,
'retry_delay': timedelta(minutes=5),
}
def get_execution_date(**kwargs):
ds = kwargs['ds']
print(ds)
with DAG(
'test_dag_2',
default_args=default_args,
description='Testing dag',
start_date=pendulum.datetime(2022, 4, 2, tz='UTC'),
schedule_interval="@daily", catchup=True, max_active_runs=1,
) as dag:
t1 = BashOperator(
task_id='task_1',
depends_on_past=False,
bash_command='sleep 30'
)
t2 = PythonOperator(
task_id='get_execution_date',
python_callable=get_execution_date
)
t1 >> t2"><pre class="notranslate"><code class="notranslate">import time
from datetime import timedelta
import pendulum
from airflow import DAG
from airflow.decorators import task
from airflow.models.dag import dag
from airflow.operators.bash import BashOperator
from airflow.operators.dummy import DummyOperator
from airflow.operators.python import PythonOperator
default_args = {
'owner': 'airflow',
'depends_on_past': False,
'email': ['[email protected]'],
'email_on_failure': True,
'email_on_retry': False,
'retries': 1,
'retry_delay': timedelta(minutes=5),
}
def get_execution_date(**kwargs):
ds = kwargs['ds']
print(ds)
with DAG(
'test_dag_2',
default_args=default_args,
description='Testing dag',
start_date=pendulum.datetime(2022, 4, 2, tz='UTC'),
schedule_interval="@daily", catchup=True, max_active_runs=1,
) as dag:
t1 = BashOperator(
task_id='task_1',
depends_on_past=False,
bash_command='sleep 30'
)
t2 = PythonOperator(
task_id='get_execution_date',
python_callable=get_execution_date
)
t1 >> t2
</code></pre></div>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Debian GNU/Linux</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-amazon==3.0.0<br>
apache-airflow-providers-celery==2.1.0<br>
apache-airflow-providers-cncf-kubernetes==3.0.2<br>
apache-airflow-providers-docker==2.4.1<br>
apache-airflow-providers-elasticsearch==2.2.0<br>
apache-airflow-providers-ftp==2.0.1<br>
apache-airflow-providers-google==6.4.0<br>
apache-airflow-providers-grpc==2.0.1<br>
apache-airflow-providers-hashicorp==2.1.1<br>
apache-airflow-providers-http==2.0.3<br>
apache-airflow-providers-imap==2.2.0<br>
apache-airflow-providers-microsoft-azure==3.6.0<br>
apache-airflow-providers-microsoft-mssql==2.1.0<br>
apache-airflow-providers-odbc==2.0.1<br>
apache-airflow-providers-postgres==3.0.0<br>
apache-airflow-providers-redis==2.0.1<br>
apache-airflow-providers-sendgrid==2.0.1<br>
apache-airflow-providers-sftp==2.4.1<br>
apache-airflow-providers-slack==4.2.0<br>
apache-airflow-providers-snowflake==2.5.0<br>
apache-airflow-providers-sqlite==2.1.0<br>
apache-airflow-providers-ssh==2.4.0</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Official Apache Airflow Helm Chart</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul> | 1 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>...</li>
<li>...</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.168.0<br>
<strong>System</strong>: Mac OS X 10.10.1<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Atom can only handle files < 2MB for now.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /Applications/Atom.app/Contents/Resources/app/src/project.js:355
Error: Atom can only handle files < 2MB for now.
at Project.module.exports.Project.buildBuffer (/Applications/Atom.app/Contents/Resources/app/src/project.js:355:15)
at Project.module.exports.Project.bufferForPath (/Applications/Atom.app/Contents/Resources/app/src/project.js:332:63)
at Project.module.exports.Project.open (/Applications/Atom.app/Contents/Resources/app/src/project.js:286:19)
at Workspace.module.exports.Workspace.openUriInPane (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:485:29)
at Workspace.module.exports.Workspace.open (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:412:19)
at Ipc.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:45:32)
at Ipc.emit (events.js:110:17)
at process.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:22:29)
at process.emit (events.js:118:17)
"><pre class="notranslate"><code class="notranslate">At /Applications/Atom.app/Contents/Resources/app/src/project.js:355
Error: Atom can only handle files < 2MB for now.
at Project.module.exports.Project.buildBuffer (/Applications/Atom.app/Contents/Resources/app/src/project.js:355:15)
at Project.module.exports.Project.bufferForPath (/Applications/Atom.app/Contents/Resources/app/src/project.js:332:63)
at Project.module.exports.Project.open (/Applications/Atom.app/Contents/Resources/app/src/project.js:286:19)
at Workspace.module.exports.Workspace.openUriInPane (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:485:29)
at Workspace.module.exports.Workspace.open (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:412:19)
at Ipc.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:45:32)
at Ipc.emit (events.js:110:17)
at process.<anonymous> (/Applications/Atom.app/Contents/Resources/atom/renderer/api/lib/ipc.js:22:29)
at process.emit (events.js:118:17)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 62x -5:43.1 core:backspace (atom-text-editor.editor)
-3:18.6 core:save (atom-text-editor.editor)
-3:02.7 find-and-replace:select-next (atom-text-editor.editor)
-3:01.1 core:move-to-bottom (atom-text-editor.editor)
-2:59.3 core:move-to-top (atom-text-editor.editor)
2x -2:49.2 core:move-down (atom-text-editor.editor)
11x -2:47.5 core:move-right (atom-text-editor.editor)
-2:39.9 find-and-replace:select-next (atom-text-editor.editor)
-2:37.9 core:move-to-bottom (atom-text-editor.editor)
7x -2:19.2 core:backspace (atom-text-editor.editor)
9x -0:36.7 find-and-replace:select-next (atom-text-editor.editor)
-0:29.1 core:backspace (atom-text-editor.editor)
-0:12.7 core:copy (atom-text-editor.editor)
-0:07.8 editor:newline (atom-text-editor.editor)
-0:06.4 core:paste (atom-text-editor.editor)
-0:00.0 core:save (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> 62x -5:43.1 core:backspace (atom-text-editor.editor)
-3:18.6 core:save (atom-text-editor.editor)
-3:02.7 find-and-replace:select-next (atom-text-editor.editor)
-3:01.1 core:move-to-bottom (atom-text-editor.editor)
-2:59.3 core:move-to-top (atom-text-editor.editor)
2x -2:49.2 core:move-down (atom-text-editor.editor)
11x -2:47.5 core:move-right (atom-text-editor.editor)
-2:39.9 find-and-replace:select-next (atom-text-editor.editor)
-2:37.9 core:move-to-bottom (atom-text-editor.editor)
7x -2:19.2 core:backspace (atom-text-editor.editor)
9x -0:36.7 find-and-replace:select-next (atom-text-editor.editor)
-0:29.1 core:backspace (atom-text-editor.editor)
-0:12.7 core:copy (atom-text-editor.editor)
-0:07.8 editor:newline (atom-text-editor.editor)
-0:06.4 core:paste (atom-text-editor.editor)
-0:00.0 core:save (atom-text-editor.editor)
</code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"core": {},
"editor": {
"tabLength": 4,
"invisibles": {}
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
<span class="pl-ent">"invisibles"</span>: {}
}
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
pdf-view, v0.14.0
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
pdf<span class="pl-k">-</span>view, v0.<span class="pl-ii">14</span>.<span class="pl-ii">0</span>
<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div> | <p dir="auto">So, I use my text editor for all kinds of things (writing code, reading readmes, editing dotfiles, etc). One of the things I do most often during any given day is open up large log files to troubleshoot Enterprise problems. These files can sometimes get as large as 500-800MB.</p>
<p dir="auto">I just tried viewing a 350MB log file and Atom locked up immediately -- the file selector didn't change and the entire window went completely white 4 seconds after I tried viewing the file. I could still close the top level window, but we should still have better handling for this kind of thing.</p>
<p dir="auto">Sublime Text 2 took about 55 seconds to open the file, but gave a nice progress indicator while it was loading:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/402a77c9e676b55fa95c38e26e4345d76be5e51f1cb9b2e2790d94de0ce90c00/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3234342f3139303337392f63306162633237652d376565352d313165322d386563342d3432303563646565306164302e706e67"><img src="https://camo.githubusercontent.com/402a77c9e676b55fa95c38e26e4345d76be5e51f1cb9b2e2790d94de0ce90c00/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3234342f3139303337392f63306162633237652d376565352d313165322d386563342d3432303563646565306164302e706e67" alt="Screen Shot 2013-02-24 at 4 50 56 PM" data-canonical-src="https://f.cloud.github.com/assets/244/190379/c0abc27e-7ee5-11e2-8ec4-4205cdee0ad0.png" style="max-width: 100%;"></a></p>
<p dir="auto">Once it loaded it was as responsive as any other file I load (scrolled fast, normal text highlight performance, etc). It would be nice if we set this as a baseline for expected behavior (progress bar + responsive after loading).</p> | 1 |
<p dir="auto">In BinaryFilesResponse.php's "prepare" method, the partial response is created only if no "If-Range" request header found, or if it matches the response's ETag.<br>
Default behavior of this response is to not send ETag header, but Last-Modified, so we have no browser cache.<br>
As per the spec, "If-Range" request header value may also be compared with the response's Last-Modified time.<br>
And that would be usefull :-)</p> | <p dir="auto">According to w3c specification <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html" rel="nofollow">http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html</a>,<br>
in the request, If-range header can contains last modified date of file, but in BinaryFileResponse(symfony v2.6.8) only etag accepted.<br>
As in current realization etag generating by sha1_file function in takes much time with big files.</p> | 1 |
<p dir="auto"><a href="https://golang.org/pkg/crypto/rand/" rel="nofollow">https://golang.org/pkg/crypto/rand/</a><br>
The last example, <code class="notranslate">Read</code> prints an error upon running.</p>
<p dir="auto">I don't see anything wrong with the example code, though I don't play with this package much.</p>
<p dir="auto">out:<br>
<code class="notranslate">error: read /dev/urandom: Invalid argument</code></p>
<p dir="auto">Screenshot:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2741356/10922467/1eea9f72-8230-11e5-8761-638888c0d51a.png"><img width="787" alt="screen shot 2015-11-03 at 1 33 19 pm" src="https://cloud.githubusercontent.com/assets/2741356/10922467/1eea9f72-8230-11e5-8761-638888c0d51a.png" style="max-width: 100%;"></a></p>
<p dir="auto">Wish I could be more help :/</p>
<p dir="auto">Sarah</p> | <p dir="auto">by <strong>fgergo</strong>:</p>
<pre class="notranslate">On <a href="http://golang.org/pkg/crypto/rand/#Prime" rel="nofollow">http://golang.org/pkg/crypto/rand/#Prime</a> click Example then click Run.
What is the expected output?
10 cryptographically secure pseudorandom numbers
What do you see instead?
error: permission denied
Program exited.
Which operating system are you using?
Chrome (25.0.1364.172) and firefox (19.0.2) on windows 7, though it probably does not
matter.</pre> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=flozano" rel="nofollow">Francisco Lozano</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9487?redirect=false" rel="nofollow">SPR-9487</a></strong> and commented</p>
<p dir="auto">Spring for Android 's StringHttpMessageConverter has a very useful constructor which allows to specify a default charset different from ISO-8859-1:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/**
* Create a new StringHttpMessageConverter instance with a default {@link Charset},
* and default list of available {@link Charset}'s from {@link Charset#availableCharsets()}.
* @param defaultCharset the Charset to use
*/
public StringHttpMessageConverter(Charset defaultCharset) {
this(defaultCharset, new ArrayList<Charset>(Charset.availableCharsets().values()));
}"><pre class="notranslate"><span class="pl-c">/**</span>
<span class="pl-c"> * Create a new StringHttpMessageConverter instance with a default {@link Charset},</span>
<span class="pl-c"> * and default list of available {@link Charset}'s from {@link Charset#availableCharsets()}.</span>
<span class="pl-c"> * @param defaultCharset the Charset to use </span>
<span class="pl-c"> */</span>
<span class="pl-k">public</span> <span class="pl-s1">StringHttpMessageConverter</span>(<span class="pl-smi">Charset</span> <span class="pl-s1">defaultCharset</span>) {
<span class="pl-smi">this</span>(<span class="pl-s1">defaultCharset</span>, <span class="pl-s1">new</span> <span class="pl-s1">ArrayList</span><<span class="pl-s1">Charset</span>>(<span class="pl-smi">Charset</span>.<span class="pl-en">availableCharsets</span>().<span class="pl-en">values</span>()));
}</pre></div>
<p dir="auto">Could this be backported to full Spring's StringHttpMessageConverter</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1.1, 3.2 M1</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113222" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13132" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13132/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13132">#13132</a> StringHttpMessageConverter doesn't work under UTF-8 (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398109788" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12559" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12559/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12559">#12559</a> Setting default charset in StringHttpMessageConverter (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/9aa43fcef6e4cc20104b89cc974f553bb6d77b67/hovercard" href="https://github.com/spring-projects/spring-framework/commit/9aa43fcef6e4cc20104b89cc974f553bb6d77b67"><tt>9aa43fc</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/98b281ea45aeee2f7ea8fcf941d7cac1f671c419/hovercard" href="https://github.com/spring-projects/spring-framework/commit/98b281ea45aeee2f7ea8fcf941d7cac1f671c419"><tt>98b281e</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/a4240d28643f5d6f7b435ce4512d240efc6db7b9/hovercard" href="https://github.com/spring-projects/spring-framework/commit/a4240d28643f5d6f7b435ce4512d240efc6db7b9"><tt>a4240d2</tt></a></p> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=mzz6wh" rel="nofollow">David Melia</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7905?redirect=false" rel="nofollow">SPR-7905</a></strong> and commented</p>
<p dir="auto">Hi,</p>
<p dir="auto">Currently in my REST service which supports both XML and JSON I am using the accept header so the same URL can provide different end points which will provide versioning. So my accept header is of the format</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Accept=application/appname-v1+xml or Accept=application/appname-v1+json"><pre class="notranslate"><code class="notranslate">Accept=application/appname-v1+xml or Accept=application/appname-v1+json
</code></pre></div>
<p dir="auto">which can route through the the v1 (version1) version of my REST method. The above is fine for XML as AbstractXmlHttpMessageConverter (subclass of Jaxb2RootElementHttpMessageConverter) registers the media type</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="new MediaType("application", "*+xml")
``` so this wildcard satisfies my accept header no problem.
However, for JSON, MappingJacksonHttpMessageConverter only registers ```
new MediaType("application", "json", DEFAULT_CHARSET)
``` which means I cannot use <mvc:annotation-driven/> out of the box :-(
Any chance we could have MappingJacksonHttpMessageConverter also registering ```
new MediaType("application", "*+json", DEFAULT_CHARSET)"><pre class="notranslate"><code class="notranslate">new MediaType("application", "*+xml")
``` so this wildcard satisfies my accept header no problem.
However, for JSON, MappingJacksonHttpMessageConverter only registers ```
new MediaType("application", "json", DEFAULT_CHARSET)
``` which means I cannot use <mvc:annotation-driven/> out of the box :-(
Any chance we could have MappingJacksonHttpMessageConverter also registering ```
new MediaType("application", "*+json", DEFAULT_CHARSET)
</code></pre></div>
<p dir="auto">This would result in a lot less configuration as I have to do the following in place of mvc:annotation-driven/</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="messageConverters" ref="messageConverters" />
</bean>
<!-- Message converters -->
<util:list id="messageConverters">
<bean class="org.springframework.http.converter.StringHttpMessageConverter" />
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<bean class="org.springframework.http.MediaType">
<constructor-arg value="application" />
<constructor-arg value="json" />
</bean>
<bean class="org.springframework.http.MediaType">
<constructor-arg value="application" />
<constructor-arg value="*+json" />
</bean>
</list>
</property>
</bean>
<bean class="org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter" />
<bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter" />
<bean class="org.springframework.http.converter.FormHttpMessageConverter" />
<bean class="org.springframework.http.converter.xml.SourceHttpMessageConverter" />
</util:list> "><pre class="notranslate"><code class="notranslate"><bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping" />
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="messageConverters" ref="messageConverters" />
</bean>
<!-- Message converters -->
<util:list id="messageConverters">
<bean class="org.springframework.http.converter.StringHttpMessageConverter" />
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<bean class="org.springframework.http.MediaType">
<constructor-arg value="application" />
<constructor-arg value="json" />
</bean>
<bean class="org.springframework.http.MediaType">
<constructor-arg value="application" />
<constructor-arg value="*+json" />
</bean>
</list>
</property>
</bean>
<bean class="org.springframework.http.converter.xml.Jaxb2RootElementHttpMessageConverter" />
<bean class="org.springframework.http.converter.ByteArrayHttpMessageConverter" />
<bean class="org.springframework.http.converter.FormHttpMessageConverter" />
<bean class="org.springframework.http.converter.xml.SourceHttpMessageConverter" />
</util:list>
</code></pre></div>
<p dir="auto">Thanks</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.5</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398152097" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14269" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14269/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14269">#14269</a> MediaType's include method does not check for generalization when using a format extension/suffix (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398153512" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14440" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14440/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14440">#14440</a> ContentNegotiatingViewResolver does not support wildcards in contentType</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/8270d82bda85f227780f03e6cdcac9ae721118ad/hovercard" href="https://github.com/spring-projects/spring-framework/commit/8270d82bda85f227780f03e6cdcac9ae721118ad"><tt>8270d82</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/e16c40359a1809a647d0adfc2d7cfffcfaa9963a/hovercard" href="https://github.com/spring-projects/spring-framework/commit/e16c40359a1809a647d0adfc2d7cfffcfaa9963a"><tt>e16c403</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/4f114a657f71fd71b34509c686c5e8adce763c2d/hovercard" href="https://github.com/spring-projects/spring-framework/commit/4f114a657f71fd71b34509c686c5e8adce763c2d"><tt>4f114a6</tt></a></p>
<p dir="auto">4 votes, 8 watchers</p> | 0 |
<p dir="auto">Full error is:</p>
<p dir="auto">--- FAIL: TestInterfaces (0.00s)<br>
interface_test.go:74: route ip+net: invalid network interface name</p> | <p dir="auto">by <strong>smith.winston.101</strong>:</p>
<pre class="notranslate">Building Go 1.3-beta1 on FreeBSD-CURRENT-r264670/armv6 (Beaglebone Black) fails the
following tests (see below for details):
1) math
2) net
3) strconv
Go 1.3beta1 was built as follows:
CC=clang ./all.bash
`go version` shows:
go version devel +f8b50ad4cac4 Mon Apr 21 17:00:27 2014 -0700 + freebsd/arm
`clang --version` shows:
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
NOTES:
1) Go 1.3-beta1 compiled and ran tests OK on FreeBSD-RELEASE-10 using Clang 3.3 (tags/RELEASE_33/final 183502)
2) Go 1.3-beta1 compiled and ran tests OK on the same BeagleBone Black hardware running Linux (Debian Wheezy, GCC 4.6.3).
--- FAIL: TestFrexp (0.00 seconds)
all_test.go:2048: Frexp(0) = 0, 0, want 0.9999999999999998, -1022
all_test.go:2048: Frexp(0) = 0, 0, want 0.5, -1073
all_test.go:2048: Frexp(0) = 0, 0, want -0.9999999999999998, -1022
all_test.go:2048: Frexp(0) = 0, 0, want -0.5, -1073
--- FAIL: TestIlogb (0.00 seconds)
all_test.go:2108: Ilogb(0) = -2147483648, want -1023
all_test.go:2108: Ilogb(0) = -2147483648, want -1074
all_test.go:2108: Ilogb(0) = -2147483648, want -1023
all_test.go:2108: Ilogb(0) = -2147483648, want -1074
--- FAIL: TestLdexp (0.00 seconds)
all_test.go:2169: Ldexp(0.9999999999999998, -1022) = 2.225073858507201e-308, want 0
all_test.go:2169: Ldexp(0.5, -1073) = 5e-324, want 0
all_test.go:2169: Ldexp(-0.9999999999999998, -1022) = -2.225073858507201e-308, want 0
all_test.go:2169: Ldexp(-0.5, -1073) = -5e-324, want 0
all_test.go:2169: Ldexp(2.2250738585072014e-308, -52) = 5e-324, want 0
all_test.go:2169: Ldexp(0, 1074) = 0, want 1
all_test.go:2169: Ldexp(1.7976931348623157e+308, -2097) = 1e-323, want 0
--- FAIL: TestLogb (0.00 seconds)
all_test.go:2229: Logb(0) = -Inf, want -1023
all_test.go:2229: Logb(0) = -Inf, want -1074
all_test.go:2229: Logb(0) = -Inf, want -1023
all_test.go:2229: Logb(0) = -Inf, want -1074
--- FAIL: TestNextafter (0.00 seconds)
all_test.go:2314: Nextafter(0, -1) = -5e-324 want 0
all_test.go:2314: Nextafter(-0, 1) = 5e-324 want 0
all_test.go:2314: Nextafter(-0, -1) = -5e-324 want 0
--- FAIL: TestFloatMinMax (0.00 seconds)
all_test.go:2577: Sprint(SmallestNonzeroFloat64) = 0, want 5e-324
all_test.go:2577: Sprint(SmallestNonzeroFloat32) = 0, want 1e-45
FAIL
FAIL math 1.036s
--- FAIL: TestInterfaces (0.00 seconds)
interface_test.go:59: table: len/cap = 2/2
interface_test.go:71: InterfaceByName("") failed: invalid network interface name
FAIL
FAIL net 5.944s
--- FAIL: TestFtoa (0.01 seconds)
ftoa_test.go:149: testN=64 0 g -1 want 2.225073858507201e-308 got 0
ftoa_test.go:149: AppendFloat testN=64 0 g -1 want abc2.225073858507201e-308 got abc0
ftoa_test.go:147: testN=32 0 g -1 want 2.225073858507201e-308 got 0
ftoa_test.go:151: AppendFloat testN=32 0 g -1 want abc2.225073858507201e-308 got abc0
FAIL
FAIL strconv 6.168s</pre> | 1 |
<p dir="auto">Question : Is there any way we can <code class="notranslate">.crossFade()</code> image when we load image as <code class="notranslate">.asBitmap()</code>?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Glide.with(getContext())
.load(url)
.asBitmap()
.crossFade() --> Not possible.
.into(imageView);"><pre class="notranslate"><code class="notranslate"> Glide.with(getContext())
.load(url)
.asBitmap()
.crossFade() --> Not possible.
.into(imageView);
</code></pre></div>
<p dir="auto">Or do we need to customize the animate ?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Glide.with(imageView.getContext())
.load(url)
.animate("do something here") // TODO
.into(imageView);
"><pre class="notranslate"><code class="notranslate"> Glide.with(imageView.getContext())
.load(url)
.animate("do something here") // TODO
.into(imageView);
</code></pre></div>
<p dir="auto">Just curious why we lose <code class="notranslate">.crossFade()</code> when we load <code class="notranslate">.asBitmap()</code>?</p>
<p dir="auto">Thanks!<br>
Manju</p> | <p dir="auto">Is it possible to change the load format between ARGB and RGB_565 for specific loads and still load a drawable to get the transition effect between thumbnail and actual image?</p> | 1 |
<p dir="auto">As seen in this <a href="http://jsbin.com/tafofahece" rel="nofollow">Jupyter notebook (in HTML format)</a> - (<a href="https://gist.github.com/anonymous/6d2d02a24e428bfc19315726c7084899">gist of the HTML here</a>), using <code class="notranslate">FacetGrid</code> and <code class="notranslate">seaborn.boxplot</code> may produce incorrect/incomplete outputs.</p>
<p dir="auto">This problem appears primarily when data has gaps or missing values, the target column is used for <code class="notranslate">FacetGrid(row=...)</code> and the dtype of said column is <code class="notranslate">object</code>. The problem is gone when columns are converted to <code class="notranslate">category</code>. Detailed examples on the linked HTML document.</p> | <p dir="auto">As shown in the screenshot, FacetGrid erroneously moves countplot's columns towards the leftmost position on the subplot's x-axis whenever any of countplot's lowest-value columns are empty. As the (correct) sns.factorplot right above the faulty FacetGrid illustrates, this error occurs for the subplots t_s_len = 1 and t_s_len = 2 (where no data point has a yr_diff value of -1).</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1872375/24712781/19fadb66-1a24-11e7-9341-9be31d03e750.png"><img src="https://cloud.githubusercontent.com/assets/1872375/24712781/19fadb66-1a24-11e7-9341-9be31d03e750.png" alt="screenshot from 2017-04-05 17-19-48" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">I didn't notice any deviation from the behavior I expected from the component.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d1b03571a29e8be88842e2a3aff150bbcbeda3212aeeb13185df31701b572d3c/68747470733a2f2f692e6962622e636f2f53784c484734392f696d6167652d323032322d30352d30352d5430362d31322d32322d3336392d5a2e706e67"><img src="https://camo.githubusercontent.com/d1b03571a29e8be88842e2a3aff150bbcbeda3212aeeb13185df31701b572d3c/68747470733a2f2f692e6962622e636f2f53784c484734392f696d6167652d323032322d30352d30352d5430362d31322d32322d3336392d5a2e706e67" alt="Please notify react team" data-canonical-src="https://i.ibb.co/SxLHG49/image-2022-05-05-T06-12-22-369-Z.png" style="max-width: 100%;"></a></p>
<h3 dir="auto">component:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
export const Contract: FC<ContractProps> = ({
contract = demo_contract,
hide,
show
}) => {
if (!show) {
return <></>
}
const { user } = useAppSelector(store => store.users)
const [loan_contract, set_loan_contract] = useState(compute_whole_contract(contract, user as User));
useEffect(() => {
set_loan_contract(compute_whole_contract(contract, user as User))
}, [contract])
return (
<Modal show={show} fullscreen onHide={hide} className="addloan_contract">
<Modal.Header closeButton>
<Modal.Title>Loan Contract</Modal.Title>
</Modal.Header>
<Modal.Body className="add_loan_contract_form">
<ContractContext.Provider value={{ loan_contract, set_loan_contract }}>
<ContractForm />
<LoanRepaymentSchedule />
</ContractContext.Provider>
</Modal.Body>
</Modal>
)
}"><pre class="notranslate"><code class="notranslate">
export const Contract: FC<ContractProps> = ({
contract = demo_contract,
hide,
show
}) => {
if (!show) {
return <></>
}
const { user } = useAppSelector(store => store.users)
const [loan_contract, set_loan_contract] = useState(compute_whole_contract(contract, user as User));
useEffect(() => {
set_loan_contract(compute_whole_contract(contract, user as User))
}, [contract])
return (
<Modal show={show} fullscreen onHide={hide} className="addloan_contract">
<Modal.Header closeButton>
<Modal.Title>Loan Contract</Modal.Title>
</Modal.Header>
<Modal.Body className="add_loan_contract_form">
<ContractContext.Provider value={{ loan_contract, set_loan_contract }}>
<ContractForm />
<LoanRepaymentSchedule />
</ContractContext.Provider>
</Modal.Body>
</Modal>
)
}
</code></pre></div> | <p dir="auto">React version: V18.0.0<br>
React router DOM: V5.2.1</p>
<h2 dir="auto">Steps To Reproduce</h2>
<ol dir="auto">
<li>Going to profile page</li>
<li>Warning: Internal React error: Expected static flag was missing. Please notify the React team.</li>
</ol>
<p dir="auto">Link to code example:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51002164/163707500-3ee1ca51-9695-4e2e-b3c4-3f5e8f7a98b3.png"><img src="https://user-images.githubusercontent.com/51002164/163707500-3ee1ca51-9695-4e2e-b3c4-3f5e8f7a98b3.png" alt="Screenshot 2022-04-17 124859" style="max-width: 100%;"></a><br>
DynamicFilter.js component<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/51002164/163707576-b8536b98-3b47-4c7e-84f3-abfa9f93dddf.png"><img src="https://user-images.githubusercontent.com/51002164/163707576-b8536b98-3b47-4c7e-84f3-abfa9f93dddf.png" alt="Screenshot 2022-04-17 125107" style="max-width: 100%;"></a></p>
<h2 dir="auto">The current behavior</h2>
<h2 dir="auto">The expected behavior</h2> | 1 |
<p dir="auto">Reading rust documentation online can be confusing because it may be out of date with the latest version.<br>
The output of rustdoc should including the date and version number of the crate to help identify if the documentation is relevant.</p> | <p dir="auto">If I try to create a <code class="notranslate">const &'static Fn(u32)</code>, I trigger an ICE:</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 'assertion failed: self.mode == Mode::Var', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/middle/check_const.rs:254
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 'assertion failed: self.mode == Mode::Var', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc/middle/check_const.rs:254
error code 101
</code></pre></div>
<p dir="auto">A small example code snippet is on the playpen (see <a href="http://is.gd/U0DmxV" rel="nofollow">http://is.gd/U0DmxV</a>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const x: &'static Fn() = &|| println!("ICE here"); //ICE
fn main() {}"><pre class="notranslate"><code class="notranslate">const x: &'static Fn() = &|| println!("ICE here"); //ICE
fn main() {}
</code></pre></div> | 0 |
<p dir="auto">I'd like to use cross_validation.cross_val_score with metrics.precision_recall_fscore_support so that I can get all relevant cross-validation metrics without having to run my cross-validation once for accuracy, once for precision, once for recall, and once for f1. But when I try this I get a ValueError:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sklearn.datasets import fetch_20newsgroups
from sklearn.svm import LinearSVC
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn import metrics
from sklearn import cross_validation
import numpy as np
data_train = fetch_20newsgroups(subset='train', #categories=categories,
shuffle=True, random_state=42)
clf = LinearSVC(loss='l1', penalty='l2')
vectorizer = TfidfVectorizer(
sublinear_tf=False,
max_df=0.5,
min_df=2,
ngram_range = (1,1),
use_idf=False,
stop_words='english')
X_train = vectorizer.fit_transform(data_train.data)
# Cross-validate:
scores = cross_validation.cross_val_score(
clf, X_train, data_train.target, cv=5,
scoring=metrics.precision_recall_fscore_support)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">datasets</span> <span class="pl-k">import</span> <span class="pl-s1">fetch_20newsgroups</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">svm</span> <span class="pl-k">import</span> <span class="pl-v">LinearSVC</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span>.<span class="pl-s1">feature_extraction</span>.<span class="pl-s1">text</span> <span class="pl-k">import</span> <span class="pl-v">TfidfVectorizer</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span> <span class="pl-k">import</span> <span class="pl-s1">metrics</span>
<span class="pl-k">from</span> <span class="pl-s1">sklearn</span> <span class="pl-k">import</span> <span class="pl-s1">cross_validation</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">data_train</span> <span class="pl-c1">=</span> <span class="pl-en">fetch_20newsgroups</span>(<span class="pl-s1">subset</span><span class="pl-c1">=</span><span class="pl-s">'train'</span>, <span class="pl-c">#categories=categories,</span>
<span class="pl-s1">shuffle</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">random_state</span><span class="pl-c1">=</span><span class="pl-c1">42</span>)
<span class="pl-s1">clf</span> <span class="pl-c1">=</span> <span class="pl-v">LinearSVC</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-s">'l1'</span>, <span class="pl-s1">penalty</span><span class="pl-c1">=</span><span class="pl-s">'l2'</span>)
<span class="pl-s1">vectorizer</span> <span class="pl-c1">=</span> <span class="pl-v">TfidfVectorizer</span>(
<span class="pl-s1">sublinear_tf</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">max_df</span><span class="pl-c1">=</span><span class="pl-c1">0.5</span>,
<span class="pl-s1">min_df</span><span class="pl-c1">=</span><span class="pl-c1">2</span>,
<span class="pl-s1">ngram_range</span> <span class="pl-c1">=</span> (<span class="pl-c1">1</span>,<span class="pl-c1">1</span>),
<span class="pl-s1">use_idf</span><span class="pl-c1">=</span><span class="pl-c1">False</span>,
<span class="pl-s1">stop_words</span><span class="pl-c1">=</span><span class="pl-s">'english'</span>)
<span class="pl-v">X_train</span> <span class="pl-c1">=</span> <span class="pl-s1">vectorizer</span>.<span class="pl-en">fit_transform</span>(<span class="pl-s1">data_train</span>.<span class="pl-s1">data</span>)
<span class="pl-c"># Cross-validate:</span>
<span class="pl-s1">scores</span> <span class="pl-c1">=</span> <span class="pl-s1">cross_validation</span>.<span class="pl-en">cross_val_score</span>(
<span class="pl-s1">clf</span>, <span class="pl-v">X_train</span>, <span class="pl-s1">data_train</span>.<span class="pl-s1">target</span>, <span class="pl-s1">cv</span><span class="pl-c1">=</span><span class="pl-c1">5</span>,
<span class="pl-s1">scoring</span><span class="pl-c1">=</span><span class="pl-s1">metrics</span>.<span class="pl-s1">precision_recall_fscore_support</span>)</pre></div> | <p dir="auto">Scikit-learn does not specify any of its dependencies in the <code class="notranslate">setup.py</code> file, despite requiring (and explicitly stating in documentation) both the NumPy and SciPy packages.</p>
<p dir="auto">These requirements should be included in the <code class="notranslate">setup.py</code> file using the <code class="notranslate">install_requires</code> convention documented here to make installation easier:<br>
<a href="http://python-packaging.readthedocs.io/en/latest/dependencies.html" rel="nofollow">http://python-packaging.readthedocs.io/en/latest/dependencies.html</a></p> | 0 |
<p dir="auto">Issue Id: <b>7cdf41c7-6071-4fe6-0ad7-ebedc86c54c9</b><br><br><em>Versions</em> <br>- 0.10.5<br>- <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/hovercard" href="https://github.com/microsoft/vscode/commit/a80232bbcfe8a5cdad1ebc98638673d9dcb02458"><tt>a80232b</tt></a><br><em>Stack</em> <br>Error: AbstractMirrorModel.getPositionFromOffset: Model is disposed<br>[/vs/editor/common/model/mirrorModel.ts#L130:9 (AbstractMirrorModel.getPositionFromOffset)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/editor/common/model/mirrorModel.ts#L130:9">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/editor/common/model/mirrorModel.ts#L130:9</a> %28AbstractMirrorModel.getPositionFromOffset%29)<br>[/vs/languages/json/common/jsonWorker.ts#L174:37 (JSONWorker.doValidate)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/languages/json/common/jsonWorker.ts#L174:37">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/languages/json/common/jsonWorker.ts#L174:37</a> %28JSONWorker.doValidate%29)<br> at Array.forEach (native)<br>[/vs/languages/json/common/jsonWorker.ts#L169:41 (JSONWorker.doValidate)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/languages/json/common/jsonWorker.ts#L169:41">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/src/vs/languages/json/common/jsonWorker.ts#L169:41</a> %28JSONWorker.doValidate%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0 (onComplete)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0</a> %28onComplete%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0 (_notify)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0</a> %28_notify%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0 (enter)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0</a> %28enter%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0 (_run)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0</a> %28_run%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1826:0 (onComplete)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1826:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1826:0</a> %28onComplete%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1023:0 (then)](<a href="https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1023:0">https://github.com/microsoft/vscode/blob/dfc08dc9edf6607483b193bf934d3badc3fa2e11/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1023:0</a> %28then%29)<br></p> | <p dir="auto">Issue Id: <b>70b18577-7bef-134a-009f-883d9af52536</b><br><br><em>Versions</em> <br>- 0.10.6-release<br>- <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/dfc08dc9edf6607483b193bf934d3badc3fa2e11/hovercard" href="https://github.com/microsoft/vscode/commit/dfc08dc9edf6607483b193bf934d3badc3fa2e11"><tt>dfc08dc</tt></a><br><em>Stack</em> <br>Error: AbstractMirrorModel.getPositionFromOffset: Model is disposed<br>[/vs/editor/common/model/mirrorModel.ts#L130:9 (AbstractMirrorModel.getPositionFromOffset)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/editor/common/model/mirrorModel.ts#L130:9">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/editor/common/model/mirrorModel.ts#L130:9</a> %28AbstractMirrorModel.getPositionFromOffset%29)<br>[/vs/languages/json/common/jsonWorker.ts#L174:37 (JSONWorker.doValidate)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/languages/json/common/jsonWorker.ts#L174:37">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/languages/json/common/jsonWorker.ts#L174:37</a> %28JSONWorker.doValidate%29)<br> at Array.forEach (native)<br>[/vs/languages/json/common/jsonWorker.ts#L169:41 (JSONWorker.doValidate)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/languages/json/common/jsonWorker.ts#L169:41">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/src/vs/languages/json/common/jsonWorker.ts#L169:41</a> %28JSONWorker.doValidate%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0 (onComplete)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0</a> %28onComplete%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0 (_notify)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0</a> %28_notify%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0 (enter)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1343:0</a> %28enter%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0 (_run)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1311:0</a> %28_run%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0 (onComplete)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1440:0</a> %28onComplete%29)<br>[vs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0 (_notify)](<a href="https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0">https://github.com/microsoft/vscode/blob/a80232bbcfe8a5cdad1ebc98638673d9dcb02458/srcvs/base/common/worker/vs/base/common/winjs.base.raw.js#L1127:0</a> %28_notify%29)<br></p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">Friendlychat<br>
step_3_displaying_messages<br>
run main.dart from webstorm or IntelliJ<br>
app freezes after adding 1 message on acer T06</p>
<h2 dir="auto">Logs - console output</h2>
<p dir="auto">Launching lib/main.dart on T06 in debug mode...<br>
Built build/app/outputs/apk/app-debug.apk (21.6MB).<br>
V/InputMethodManager(20921): START INPUT: io.flutter.view.FlutterView{45d515a VFE...... .F...... 0,0-720,1184} ic=io.flutter.plugin.editing.InputConnectionAdaptor@b0a27d6 tba=android.view.inputmethod.EditorInfo@fa5a57 controlFlags=#0<br>
I/SurfaceView(20921): updateWindow -- setFrame, this = io.flutter.view.FlutterView{45d515a VFE...... .F....I. 0,0-720,1184}<br>
I/SurfaceView(20921): updateWindow -- OnPreDrawListener, mHaveFrame = true, this = io.flutter.view.FlutterView{45d515a VFE...... .F....I. 0,0-720,1184}<br>
I/SurfaceView(20921): updateWindow -- setFrame, this = io.flutter.view.FlutterView{45d515a VFE...... .F....I. 0,0-720,1184}<br>
I/SurfaceView(20921): updateWindow -- OnPreDrawListener, mHaveFrame = true, this = io.flutter.view.FlutterView{45d515a VFE...... .F....I. 0,0-720,1184}<br>
D/GraphicBuffer(20921): register, handle(0xb937bcc0) (w:720 h:1184 s:720 f:0x1 u:0x000f02)<br>
E/MethodChannel#flutter/textinput(20921): Failed to handle method call<br>
E/MethodChannel#flutter/textinput(20921): java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0<br>
E/MethodChannel#flutter/textinput(20921): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1113)<br>
E/MethodChannel#flutter/textinput(20921): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:680)<br>
E/MethodChannel#flutter/textinput(20921): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:673)<br>
E/MethodChannel#flutter/textinput(20921): at android.text.Selection.setSelection(Selection.java:76)<br>
E/MethodChannel#flutter/textinput(20921): at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)<br>
E/MethodChannel#flutter/textinput(20921): at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)<br>
E/MethodChannel#flutter/textinput(20921): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)<br>
E/MethodChannel#flutter/textinput(20921): at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)<br>
E/MethodChannel#flutter/textinput(20921): at android.os.MessageQueue.nativePollOnce(Native Method)<br>
E/MethodChannel#flutter/textinput(20921): at android.os.MessageQueue.next(MessageQueue.java:328)<br>
E/MethodChannel#flutter/textinput(20921): at android.os.Looper.loop(Looper.java:164)<br>
E/MethodChannel#flutter/textinput(20921): at android.app.ActivityThread.main(ActivityThread.java:5730)<br>
E/MethodChannel#flutter/textinput(20921): at java.lang.reflect.Method.invoke(Native Method)<br>
E/MethodChannel#flutter/textinput(20921): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)<br>
E/MethodChannel#flutter/textinput(20921): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)<br>
I/flutter (20921): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════<br>
I/flutter (20921): The following assertion was thrown during paint():<br>
I/flutter (20921): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2110: 'owner == null ||<br>
I/flutter (20921): !owner.debugDoingPaint': is not true.<br>
I/flutter (20921): Either the assertion indicates an error in the framework itself, or we should provide substantially<br>
I/flutter (20921): more information in this error message to help you determine and fix the underlying cause.<br>
I/flutter (20921): In either case, please report this assertion by filing a bug on GitHub:<br>
I/flutter (20921): <a href="https://github.com/flutter/flutter/issues/new">https://github.com/flutter/flutter/issues/new</a><br>
I/flutter (20921): When the exception was thrown, this was the stack:<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68751766" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/2" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/2/hovercard" href="https://github.com/flutter/flutter/pull/2">#2</a> RenderObject.markNeedsPaint (package:flutter/src/rendering/object.dart:2110)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68752111" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/3" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/3/hovercard" href="https://github.com/flutter/flutter/pull/3">#3</a> _RenderInkFeatures._didChangeLayout (package:flutter/src/material/material.dart:315)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72064312" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/4" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/4/hovercard" href="https://github.com/flutter/flutter/issues/4">#4</a> _MaterialState.build. (package:flutter/src/material/material.dart:228)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72238122" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/5" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/5/hovercard" href="https://github.com/flutter/flutter/issues/5">#5</a> NotificationListener._dispatch (package:flutter/src/widgets/notification_listener.dart:110)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72263185" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/6" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/6/hovercard" href="https://github.com/flutter/flutter/issues/6">#6</a> Notification.visitAncestor (package:flutter/src/widgets/notification_listener.dart:43)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72496230" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/7" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/7/hovercard" href="https://github.com/flutter/flutter/issues/7">#7</a> LayoutChangedNotification&ViewportNotificationMixin.visitAncestor (package:flutter/src/widgets/scroll_notification.dart:36)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72651304" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/8" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/8/hovercard" href="https://github.com/flutter/flutter/pull/8">#8</a> Element.visitAncestorElements (package:flutter/src/widgets/framework.dart:3103)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72675262" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/9" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/9/hovercard" href="https://github.com/flutter/flutter/issues/9">#9</a> Notification.dispatch (package:flutter/src/widgets/notification_listener.dart:57)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72756817" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/10" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/10/hovercard" href="https://github.com/flutter/flutter/pull/10">#10</a> ScrollActivity.dispatchScrollStartNotification (package:flutter/src/widgets/scroll_activity.dart:90)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72841105" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/11" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/11/hovercard" href="https://github.com/flutter/flutter/pull/11">#11</a> ScrollPosition.didStartScroll (package:flutter/src/widgets/scroll_position.dart:543)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72965326" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/12" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/12/hovercard" href="https://github.com/flutter/flutter/issues/12">#12</a> ScrollPosition.beginActivity (package:flutter/src/widgets/scroll_position.dart:535)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73108529" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/13" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/13/hovercard" href="https://github.com/flutter/flutter/pull/13">#13</a> ScrollPositionWithSingleContext.beginActivity (package:flutter/src/widgets/scroll_position_with_single_context.dart:119)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73706022" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/14" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/14/hovercard" href="https://github.com/flutter/flutter/pull/14">#14</a> ScrollPositionWithSingleContext.animateTo (package:flutter/src/widgets/scroll_position_with_single_context.dart:186)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73709580" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/15" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/15/hovercard" href="https://github.com/flutter/flutter/pull/15">#15</a> ScrollController.animateTo (package:flutter/src/widgets/scroll_controller.dart:143)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73721333" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/16" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/16/hovercard" href="https://github.com/flutter/flutter/issues/16">#16</a> EditableTextState._handleCaretChanged (package:flutter/src/widgets/editable_text.dart:463)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73890723" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/17" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/17/hovercard" href="https://github.com/flutter/flutter/pull/17">#17</a> RenderEditable._paintCaret (package:flutter/src/rendering/editable.dart:497)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="74860511" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/18" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/18/hovercard" href="https://github.com/flutter/flutter/pull/18">#18</a> RenderEditable._paintContents (package:flutter/src/rendering/editable.dart:515)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="76447916" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/19" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/19/hovercard" href="https://github.com/flutter/flutter/pull/19">#19</a> RenderEditable.paint (package:flutter/src/rendering/editable.dart:531)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="77733414" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/20" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/20/hovercard" href="https://github.com/flutter/flutter/issues/20">#20</a> RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="77747079" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/21" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/21/hovercard" href="https://github.com/flutter/flutter/issues/21">#21</a> PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="77747878" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/22" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/22/hovercard" href="https://github.com/flutter/flutter/issues/22">#22</a> RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="77756409" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/23" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/23/hovercard" href="https://github.com/flutter/flutter/issues/23">#23</a> RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="78196623" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/24" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/24/hovercard" href="https://github.com/flutter/flutter/issues/24">#24</a> PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="85864779" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/25" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/25/hovercard" href="https://github.com/flutter/flutter/issues/25">#25</a> RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="87876933" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/26" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/26/hovercard" href="https://github.com/flutter/flutter/issues/26">#26</a> RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="93121634" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/27" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/27/hovercard" href="https://github.com/flutter/flutter/issues/27">#27</a> PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114479773" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/28" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/28/hovercard" href="https://github.com/flutter/flutter/pull/28">#28</a> RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114747959" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/29" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/29/hovercard" href="https://github.com/flutter/flutter/pull/29">#29</a> RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="114760908" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/30" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/30/hovercard" href="https://github.com/flutter/flutter/pull/30">#30</a> PaintingContext.paintChild (package:flutter/src/rendering/object.dart:116)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115215427" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/31" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/31/hovercard" href="https://github.com/flutter/flutter/pull/31">#31</a> RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint (package:flutter/src/rendering/proxy_box.dart:123)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115226631" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/32" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/32/hovercard" href="https://github.com/flutter/flutter/pull/32">#32</a> RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:2259)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115231274" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/33" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/33/hovercard" href="https://github.com/flutter/flutter/pull/33">#33</a> PaintingContext.repaintCompositedChild (package:flutter/src/rendering/object.dart:96)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115401180" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/34" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/34/hovercard" href="https://github.com/flutter/flutter/pull/34">#34</a> PipelineOwner.flushPaint (package:flutter/src/rendering/object.dart:1085)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115594162" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/35" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/35/hovercard" href="https://github.com/flutter/flutter/pull/35">#35</a> BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:253)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115634087" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/36" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/36/hovercard" href="https://github.com/flutter/flutter/pull/36">#36</a> BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:504)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115644646" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/37" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/37/hovercard" href="https://github.com/flutter/flutter/pull/37">#37</a> BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:189)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115645648" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/38" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/38/hovercard" href="https://github.com/flutter/flutter/pull/38">#38</a> BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:688)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115648495" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/39" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/39/hovercard" href="https://github.com/flutter/flutter/issues/39">#39</a> BindingBase&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:636)<br>
I/flutter (20921): <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="115648552" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/40" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/40/hovercard" href="https://github.com/flutter/flutter/issues/40">#40</a> _drawFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:70)<br>
I/flutter (20921): (elided 2 frames from class _AssertionError)<br>
I/flutter (20921): The following RenderObject was being processed when the exception was fired:<br>
I/flutter (20921): RenderEditable#108999517 relayoutBoundary=up16<br>
I/flutter (20921): creator: _Editable ← _ScrollableScope ← IgnorePointer-[GlobalKey#655002960] ← Listener ←<br>
I/flutter (20921): _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey#71161294] ←<br>
I/flutter (20921): RepaintBoundary ← CustomPaint ← RepaintBoundary ← NotificationListener ←<br>
I/flutter (20921): GlowingOverscrollIndicator ← Scrollable ← ⋯<br>
I/flutter (20921): parentData: (can use size)<br>
I/flutter (20921): constraints: BoxConstraints(w=288.0, 0.0<=h<=Infinity)<br>
I/flutter (20921): size: Size(288.0, 19.0)<br>
I/flutter (20921): cursorColor: Color(0xff90caf9)<br>
I/flutter (20921): showCursor: ValueNotifier#547527972(true)<br>
I/flutter (20921): maxLines: 1<br>
I/flutter (20921): selectionColor: Color(0xff90caf9)<br>
I/flutter (20921): textScaleFactor: 1.0<br>
I/flutter (20921): selection: TextSelection(baseOffset: -1, extentOffset: -1, affinity: TextAffinity.downstream,<br>
I/flutter (20921): isDirectional: false)<br>
I/flutter (20921): offset: ScrollPositionWithSingleContext#554787583(offset: 0.0, range: 0.0..0.0, viewport: 288.0,<br>
I/flutter (20921): ScrollableState, ClampingScrollPhysics -> ClampingScrollPhysics,<br>
I/flutter (20921): DrivenScrollActivity#13191381(AnimationController#202864342(<g-emoji class="g-emoji" alias="arrow_forward" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/25b6.png">▶</g-emoji> 0.000; for DrivenScrollActivity)),<br>
I/flutter (20921): ScrollDirection.idle)<br>
I/flutter (20921): This RenderObject has no descendants.<br>
I/flutter (20921): ════════════════════════════════════════════════════════════════════════════════════════════════════</p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">/home/blakveld/flutter/bin/flutter --no-color doctor<br>
[✓] Flutter (on Linux, locale nl_BE.UTF-8, channel alpha)<br>
• Flutter at /home/blakveld/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/3b6d84b083956df5652b2fe34c68287579e9b73d/hovercard" href="https://github.com/flutter/flutter/commit/3b6d84b083956df5652b2fe34c68287579e9b73d"><tt>3b6d84b</tt></a> (4 days ago), 2017-06-16 12:58:23 -0700<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/784e9756720f7f6daa15c95ba3df6215bb54783f/hovercard" href="https://github.com/flutter/flutter/commit/784e9756720f7f6daa15c95ba3df6215bb54783f"><tt>784e975</tt></a><br>
• Tools Dart version 1.24.0-dev.6.7</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)<br>
• Android SDK at /home/blakveld/Android/Sdk<br>
• Platform android-26, build-tools 26.0.0<br>
• Java binary at: /home/blakveld/android-studio/jre/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)</p>
<p dir="auto">[✓] Android Studio (version 2.3)<br>
• Android Studio at /home/blakveld/android-studio<br>
• Gradle version 3.2<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)</p>
<p dir="auto">[✓] WebStorm (version 2017.1)<br>
• Flutter plugin version 14.0</p>
<p dir="auto">[-] IntelliJ IDEA Ultimate Edition (version 15)<br>
✗ Flutter plugin not installed; this adds Flutter specific functionality.<br>
✗ Dart plugin not installed; this adds Dart specific functionality.<br>
• For information about managing plugins, see<br>
<a href="https://www.jetbrains.com/help/idea/managing-plugins.html" rel="nofollow">https://www.jetbrains.com/help/idea/managing-plugins.html</a><br>
✗ This install is older than the minimum recommended version of 2017.1.0.</p>
<p dir="auto">[✓] IntelliJ IDEA Community Edition (version 2017.1)<br>
• Flutter plugin version 14.0<br>
• Dart plugin version 171.4694.29</p>
<p dir="auto">[✓] Connected devices<br>
• T06 • HMHU6EE001639020024 • android-arm • Android 6.0 (API 23)</p> | <p dir="auto">I hit it first after making minor changes to the flutter code lab, and am hitting it now, while trying to put together a simpler flutter app.</p>
<p dir="auto">Hot reload is not working, cold launches sometimes work.</p>
<p dir="auto">Flutter run from IJ.</p>
<p dir="auto">Launching lib/main.dart on Nexus 6P in debug mode...<br>
Built build/app/outputs/apk/app-debug.apk (21.7MB).<br>
W/IInputConnectionWrapper(21208): reportFullscreenMode on inexistent InputConnection<br>
I/flutter (21208): executeQuery<br>
Restarted app in 1,286ms.<br>
E/MethodChannel#flutter/textinput(21208): Failed to handle method call<br>
E/MethodChannel#flutter/textinput(21208): java.lang.IndexOutOfBoundsException: setSpan (-1 ... -1) starts before 0<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:683)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)<br>
E/MethodChannel#flutter/textinput(21208): at android.text.Selection.setSelection(Selection.java:76)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.setTextInputEditingState(TextInputPlugin.java:147)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.editing.TextInputPlugin.onMethodCall(TextInputPlugin.java:66)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)<br>
E/MethodChannel#flutter/textinput(21208): at io.flutter.view.FlutterView.handlePlatformMessage(FlutterView.java:643)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.nativePollOnce(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.MessageQueue.next(MessageQueue.java:323)<br>
E/MethodChannel#flutter/textinput(21208): at android.os.Looper.loop(Looper.java:136)<br>
E/MethodChannel#flutter/textinput(21208): at android.app.ActivityThread.main(ActivityThread.java:6121)<br>
E/MethodChannel#flutter/textinput(21208): at java.lang.reflect.Method.invoke(Native Method)<br>
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)<br>
E/MethodChannel#flutter/textinput(21208): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)</p>
<p dir="auto">flutter analyze:<br>
~/src/github/flutter/bin/flutter analyze<br>
Analyzing jwren/src/github/flutter_google_knowledge_graph...<br>
hint • The value of the local variable 'v' isn't used at lib/main.dart:97:9 • unused_local_variable<br>
1 issue found.<br>
(Ran in 4.5s)</p> | 1 |
<p dir="auto">Running tests requires linking to <code class="notranslate">std</code>, where the test runner lives. core has a huge hack in it to allow it to link to std when building with <code class="notranslate">--test</code>.</p>
<p dir="auto">When building core tests (an executable), core links to std, which then links to <em>the actual core shared library</em>. As a result coretest actually includes two entire copies of core at runtime. The tests are exercising the core code compiled into the executable, and std is exercising the core library.</p>
<p dir="auto">This caused a confusing problem with the TLS tests which use function addresses as keys, because std and coretest were using two different functions.</p>
<p dir="auto">Two solutions</p>
<ul dir="auto">
<li>move std::test to core</li>
<li>move core tests to their own crate</li>
</ul> | <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="struct Foo;
trait Bar {
fn bar(&self) -> int;
}
impl Bar for Foo {
fn bar(&self) -> int {1}
fn bar(&self) -> int {2}
}
fn main() {
printfln!(Foo.bar())
}"><pre class="notranslate"><span class="pl-k">struct</span> <span class="pl-smi">Foo</span><span class="pl-kos">;</span>
<span class="pl-k">trait</span> <span class="pl-smi">Bar</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">int</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">impl</span> <span class="pl-smi">Bar</span> <span class="pl-k">for</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span>
<span class="pl-k">fn</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">int</span> <span class="pl-kos">{</span><span class="pl-c1">1</span><span class="pl-kos">}</span>
<span class="pl-k">fn</span> <span class="pl-en">bar</span><span class="pl-kos">(</span><span class="pl-c1">&</span><span class="pl-smi">self</span><span class="pl-kos">)</span> -> <span class="pl-smi">int</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">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">printfln</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-v">Foo</span>.bar<span class="pl-kos">(</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="$ rustc double-def.rs
$ ./double-def
1"><pre class="notranslate"><code class="notranslate">$ rustc double-def.rs
$ ./double-def
1
</code></pre></div> | 0 |
<p dir="auto">I'd like to have console option behaving in this way:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#1. The option is not used at all, so don't use any value of it
./app.php command
#2. Use default value of the option
./app.php command --myoption
#3. Use custom value of the option
./app.php command --myoption=myvalue"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span>1. The option is not used at all, so don't use any value of it</span>
./app.php <span class="pl-c1">command</span>
<span class="pl-c"><span class="pl-c">#</span>2. Use default value of the option</span>
./app.php <span class="pl-c1">command</span> --myoption
<span class="pl-c"><span class="pl-c">#</span>3. Use custom value of the option</span>
./app.php <span class="pl-c1">command</span> --myoption=myvalue</pre></div>
<p dir="auto">However, as far as I know, there is currently not a clean way how to do it - because if you define default value for your option, then using <code class="notranslate">$input->getOption('myoption')</code> you will get the default value even for the case 1. (= even if the option was not passed at all).</p>
<p dir="auto">The real-world use case is that I have an option, that is not always needed, but when you use it, you need in 95% of cases the same value (smart default), but for the remaining edge cases you must have an ability how to override the default.</p>
<p dir="auto">This was already suggested with some workaround in issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="14755487" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/8135" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/8135/hovercard?comment_id=49789298&comment_type=issue_comment" href="https://github.com/symfony/symfony/issues/8135#issuecomment-49789298">#8135 (comment)</a>, but this issue was primarily about different topic, so I am creating a separate issue for this.</p> | <p dir="auto">This issue was already reported for Twig (<a href="https://github.com/fabpot/Twig/issues/792#issuecomment-7393946">https://github.com/fabpot/Twig/issues/792#issuecomment-7393946</a>), but since other users may be having problems with this:</p>
<p dir="auto">When I render a form using the Twig function <code class="notranslate">form_widget(form)</code> I get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""An exception has been thrown during the rendering of a template ("Notice: Undefined index: parent ...""><pre class="notranslate"><code class="notranslate">"An exception has been thrown during the rendering of a template ("Notice: Undefined index: parent ..."
</code></pre></div>
<p dir="auto">This happens because one of the Twig templates for rendering a form tries to access <code class="notranslate">form.parent</code>, which should retrieve the public property <code class="notranslate">FormView::$parent</code>. Instead, it calls <code class="notranslate">FormView::offsetGet('parent')</code>, which results in the above-mentioned exception being thrown. The cause for this misbehavior is a bug in the Twig PHP extension.</p>
<p dir="auto">The solution would be to (temporarily) disable the Twig PHP extension by removing it from the list of extensions in your php.ini file.</p>
<p dir="auto">A question to the maintainer of the Form Component: are unit tests run with <em>and</em> without the Twig PHP extension?</p> | 0 |
<p dir="auto"><strong>Apache Airflow version</strong>:<br>
2.2.0.dev0 (possible older versions too)</p>
<p dir="auto"><strong>OS</strong>:<br>
Linux Debian 11</p>
<p dir="auto">(BTW Here we have a typo in comment inside bug report template in <code class="notranslate">.github/ISSUE_TEMPLATE/bug_report.md</code>: <code class="notranslate">cat /etc/oss-release</code> <- double 's'.)</p>
<p dir="auto"><strong>Apache Airflow Provider versions</strong>: -</p>
<p dir="auto"><strong>Deployment</strong>:<br>
Docker-compose 1.25.0</p>
<p dir="auto"><strong>What happened</strong>:<br>
The issue is related to Airflow UI and it shows duplicated notifications when removing all the tags from the input after filtering DAGs.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
The notifications should not be duplicated.</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
In the main view, above the list of the DAGs (just below the top bar menu), there is a place where notifications appear. Suppose that there are 2 notifications (no matter which). Now try to search DAGs by tag using 'Filter DAGs by tag' input and use a valid tag. After the filtering is done, clear the input either by clicking on 'x' next to the tag or on the 'x' near the right side of the input. Notice that the notifications are duplicated and now you have 4 instead of 2 (each one is displayed twice). The input id is <code class="notranslate">s2id_autogen1</code>.<br>
This bug happens only if all the tags are removed from the filtering input. If you remove the tag while there is still another one in the input, the bug will not appear. Also, it is not present while searching DAGs by name using the input 'Search DAGs'.</p>
<p dir="auto">After search, before removing tags from input:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7412964/130072185-ca2b3bd4-023d-4574-9d28-71061bf55db6.png"><img src="https://user-images.githubusercontent.com/7412964/130072185-ca2b3bd4-023d-4574-9d28-71061bf55db6.png" alt="notif" style="max-width: 100%;"></a><br>
Duplicated notifications after removing tag from input:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7412964/130072195-1d1e0eec-c10a-42d8-b75c-1904e05d44fc.png"><img src="https://user-images.githubusercontent.com/7412964/130072195-1d1e0eec-c10a-42d8-b75c-1904e05d44fc.png" alt="notif_dup" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Are you willing to submit a PR?</strong><br>
I can try.</p> | <p dir="auto"><strong>Apache Airflow version</strong>: 2.0.0</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>OS</strong> (e.g. from /etc/os-release): RHEL7</li>
<li><strong>Python</strong>: 3.8.6</li>
<li><strong>Executor</strong>: CeleryExecutor</li>
<li><strong>Workers</strong>: 4 worker nodes</li>
<li><strong>logs dir</strong>: /opt/airflow/logs/</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Scenario: Assume there are four workers labeled <code class="notranslate">host_a</code>, <code class="notranslate">host_b</code>, <code class="notranslate">host_c</code>, and <code class="notranslate">host_d</code>. The webserver and scheduler are running on another host <code class="notranslate">host_z</code>. When a task is ran for the first time it executes on <code class="notranslate">host_a</code> and the log file is created locally on that host. If the same task is cleared and ran again, it may execute on another host such as <code class="notranslate">host_b</code>. When navigating back to <code class="notranslate">1.log</code> after looking at <code class="notranslate">2.log</code> the webserver replaces hostname from <code class="notranslate">host_a</code> to <code class="notranslate">host_b</code> leading to the log file not being found.</p>
<ol dir="auto">
<li>Task runs for first time <code class="notranslate">1.log</code> is created on <code class="notranslate">host_a</code></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Fetching from: http://hosta.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
...."><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Fetching from: http://hosta.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
....
</code></pre></div>
<ol start="2" dir="auto">
<li>Manually clear and run task again <code class="notranslate">2.log</code> created on <code class="notranslate">host_b</code></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/2.log
*** Fetching from: http://hostb.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/2.log
.... rest of log"><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/2.log
*** Fetching from: http://hostb.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/2.log
.... rest of log
</code></pre></div>
<ol start="3" dir="auto">
<li>Navigate back to <code class="notranslate">1.log</code>. Host has been replaced from <code class="notranslate">host_a</code> to <code class="notranslate">host_b</code> <strong>hostb.domain.com:8793</strong></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Fetching from: http://hostb.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Failed to fetch log file from worker. 404 Client Error: NOT FOUND for url: http://hosta.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log"><pre class="notranslate"><code class="notranslate">*** Log file does not exist: /opt/airflow/logs/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Fetching from: http://hostb.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
*** Failed to fetch log file from worker. 404 Client Error: NOT FOUND for url: http://hosta.domain.com:8793/log/dag_foo/task_bar/2021-05-10T15:54:44.662671+00:00/1.log
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
Webserver should remember where a task ran.</p> | 0 |
<p dir="auto">The <code class="notranslate">DatePickerDialog</code> is a very nice date picker component. Currently, it's only available to be used internally in the <code class="notranslate">DatePicker</code> component. It would be nice to have it as a component that can be used by consumers of <code class="notranslate">material-ui</code>, not just internally.</p>
<p dir="auto">I also think that the <code class="notranslate">open</code> state should be controlled via a prop. It's pretty nasty to have the component only be able to opened / closed via instance methods.</p> | <p dir="auto">How can I add a custom attribute and get its value within <code class="notranslate">onCheck</code> handler?</p>
<p dir="auto">Example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<Checkbox
label={this.props.label}
onCheck={this.onCheck}
checked={this.props.checked}
labelStyle={{width: 'initial'}}
data-my-custom-attribute="FOO" // the attribute
/>
onCheck(e, checked) {
// How to get the attribute here?
let foo = e.target.getAttribute('data-my-custom-attribute'); // foo === "FOO"
}"><pre class="notranslate"><code class="notranslate"><Checkbox
label={this.props.label}
onCheck={this.onCheck}
checked={this.props.checked}
labelStyle={{width: 'initial'}}
data-my-custom-attribute="FOO" // the attribute
/>
onCheck(e, checked) {
// How to get the attribute here?
let foo = e.target.getAttribute('data-my-custom-attribute'); // foo === "FOO"
}
</code></pre></div> | 0 |
<p dir="auto">Hello, when I use a flask, I found that the request will execute multiple responses, I don't know where the problem is</p>
<p dir="auto">main.py:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import server
def print_hi(name):
print(f'Hi, {name}')
if __name__ == '__main__':
# print_hi('PyCharm')
server.start_server()
"><pre class="notranslate"><code class="notranslate">import server
def print_hi(name):
print(f'Hi, {name}')
if __name__ == '__main__':
# print_hi('PyCharm')
server.start_server()
</code></pre></div>
<p dir="auto">server.py:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import json
from flask import Flask, request
from threading import Thread
import logger
import alertManager
import captureutil
app = Flask('')
@app.route('/webhook', methods=['POST', 'GET'])
def post_message():
try:
jsonRequest=request.args.get("jsonRequest")
data = request.data
body_unicode = data.decode('utf-8')
logger.log_handler(f"Trigger response begin ---")
if request.method == 'POST':
if jsonRequest == "true":
if check_json(body_unicode):
json_data = json.loads(data)
logger.log_handler(f" post jsonData:{json_data}")
sendJsonFunc(json_data)
return 'success', 200
else:
logger.log_handler(f" post text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
else:
logger.log_handler(f" post text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
else:
logger.log_handler(f" get text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
except Exception as e:
logger.log_handler("[X] Exception Occured : ", e)
return 'failure', 500
@app.route('/')
def main():
return 'Your bot is alive!'
def run():
logger.log_handler("run 新的一次启动")
app.run(host='127.0.0.1', port=5000)
def start_server_async():
server = Thread(target=run)
server.start()
def start_server():
logger.log_handler("start_server : NewServer Begin")
app.run(host='127.0.0.1', port=5000)
def check_json(input_str):
try:
json.loads(input_str)
return True
except:
return False
def sendJsonFunc(json_data):
return ""
# alertManager.sendJsonMsg(json_data)
def sendTextFunc(TextMsg):
return ""
# alertManager.sendTextMsg(TextMsg)"><pre class="notranslate"><code class="notranslate">import json
from flask import Flask, request
from threading import Thread
import logger
import alertManager
import captureutil
app = Flask('')
@app.route('/webhook', methods=['POST', 'GET'])
def post_message():
try:
jsonRequest=request.args.get("jsonRequest")
data = request.data
body_unicode = data.decode('utf-8')
logger.log_handler(f"Trigger response begin ---")
if request.method == 'POST':
if jsonRequest == "true":
if check_json(body_unicode):
json_data = json.loads(data)
logger.log_handler(f" post jsonData:{json_data}")
sendJsonFunc(json_data)
return 'success', 200
else:
logger.log_handler(f" post text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
else:
logger.log_handler(f" post text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
else:
logger.log_handler(f" get text :{body_unicode}")
sendTextFunc(body_unicode)
return 'success', 200
except Exception as e:
logger.log_handler("[X] Exception Occured : ", e)
return 'failure', 500
@app.route('/')
def main():
return 'Your bot is alive!'
def run():
logger.log_handler("run 新的一次启动")
app.run(host='127.0.0.1', port=5000)
def start_server_async():
server = Thread(target=run)
server.start()
def start_server():
logger.log_handler("start_server : NewServer Begin")
app.run(host='127.0.0.1', port=5000)
def check_json(input_str):
try:
json.loads(input_str)
return True
except:
return False
def sendJsonFunc(json_data):
return ""
# alertManager.sendJsonMsg(json_data)
def sendTextFunc(TextMsg):
return ""
# alertManager.sendTextMsg(TextMsg)
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9263032/162741376-6569a261-e9f0-4a70-be16-38e7bc069e65.png"><img width="1001" alt="1" src="https://user-images.githubusercontent.com/9263032/162741376-6569a261-e9f0-4a70-be16-38e7bc069e65.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9263032/162741380-0afdcf8b-cf91-45c9-8da7-f791a157aa70.png"><img width="1003" alt="2" src="https://user-images.githubusercontent.com/9263032/162741380-0afdcf8b-cf91-45c9-8da7-f791a157aa70.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9263032/162741385-cc3ad23f-9c04-4e9b-9630-242a756a8a23.png"><img width="857" alt="3" src="https://user-images.githubusercontent.com/9263032/162741385-cc3ad23f-9c04-4e9b-9630-242a756a8a23.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9263032/162741386-de955c9a-0d8d-4229-a649-8d7397fa0930.png"><img width="1083" alt="4" src="https://user-images.githubusercontent.com/9263032/162741386-de955c9a-0d8d-4229-a649-8d7397fa0930.png" style="max-width: 100%;"></a></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9263032/162742875-80487b03-5479-43d1-b396-2fc584352fa9.png"><img src="https://user-images.githubusercontent.com/9263032/162742875-80487b03-5479-43d1-b396-2fc584352fa9.png" alt="5" style="max-width: 100%;"></a></p> | <p dir="auto">With the following example:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from flask import Flask
app = Flask(__name__)
@app.route('/', methods=['POST'])
def hello_world():
return 'Hello World!'
if __name__ == '__main__':
app.run()"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">flask</span> <span class="pl-k">import</span> <span class="pl-v">Flask</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Flask</span>(<span class="pl-s1">__name__</span>)
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/'</span>, <span class="pl-s1">methods</span><span class="pl-c1">=</span>[<span class="pl-s">'POST'</span>])</span>
<span class="pl-k">def</span> <span class="pl-en">hello_world</span>():
<span class="pl-k">return</span> <span class="pl-s">'Hello World!'</span>
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-s1">app</span>.<span class="pl-en">run</span>()</pre></div>
<p dir="auto">When you set the request body to <code class="notranslate">{}</code> with Postman or any HTTP clients, the first request will return 200, while the second request will return a 405 error response. The log shows the request method is <code class="notranslate">{}POST</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""{}POST / HTTP/1.1" 405"><pre class="notranslate"><code class="notranslate">"{}POST / HTTP/1.1" 405
</code></pre></div>
<p dir="auto">Notice the request body became the part of the request method.</p> | 1 |
<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://www.github.com/electron/electron/issues">issue tracker</a> for a feature request that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Electron Version</h3>
<p dir="auto">12.0.13</p>
<h3 dir="auto">What operating system are you using?</h3>
<p dir="auto">macOS</p>
<h3 dir="auto">Operating System Version</h3>
<p dir="auto">macos 11.5</p>
<h3 dir="auto">What arch are you using?</h3>
<p dir="auto">x64</p>
<h3 dir="auto">Last Known Working Electron version</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">The debug button can be clicked</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">The debug button can't be clicked</p>
<h3 dir="auto">Testcase Gist URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional Information</h3>
<h2 dir="auto">This is the describe</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/29660825/128110003-da95c97d-daac-4034-9410-c21479d952c8.png"><img src="https://user-images.githubusercontent.com/29660825/128110003-da95c97d-daac-4034-9410-c21479d952c8.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">This is the code</h2>
<p dir="auto"><a href="https://github.com/electron/electron/files/6928127/my-electron-app.zip">my-electron-app.zip</a></p>
<h3 dir="auto">steps</h3>
<ol dir="auto">
<li>unzip</li>
<li><code class="notranslate">npm i && npm start</code></li>
<li>Click the button at the top</li>
<li>then debug buttons cannot be clicked</li>
</ol> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong> 11.0.1</li>
<li><strong>Operating System:</strong> macOS 10.14.6</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Devtools should be interactive and the user can control debugging process</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Devtools not interactive and the user unable to click on any tabs or buttons. Only scroll works.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">I created a repo to reproduce this behavior - <a href="https://github.com/Karine91/devtools-webview">https://github.com/Karine91/devtools-webview</a><br>
To install:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/Karine91/devtools-webview.git
$ yarn
$ yarn start"><pre class="notranslate">$ git clone https://github.com/Karine91/devtools-webview.git
$ yarn
$ yarn start</pre></div>
<p dir="auto">After running the project go to the source of preload.js file<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26932594/106044114-f9d30480-60e7-11eb-840a-17b9407b9751.png"><img src="https://user-images.githubusercontent.com/26932594/106044114-f9d30480-60e7-11eb-840a-17b9407b9751.png" alt="image" style="max-width: 100%;"></a><br>
Add debugger breakpoint<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26932594/106044238-1cfdb400-60e8-11eb-9ba1-82fdc45a4e22.png"><img src="https://user-images.githubusercontent.com/26932594/106044238-1cfdb400-60e8-11eb-9ba1-82fdc45a4e22.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Reload the page by clicking on github logo<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/26932594/106045246-61d61a80-60e9-11eb-8f79-8215a88f9462.png"><img src="https://user-images.githubusercontent.com/26932594/106045246-61d61a80-60e9-11eb-8f79-8215a88f9462.png" alt="image" style="max-width: 100%;"></a><br>
After that debugger paused but you not able to click on any buttons in webview, but scroll works</p> | 1 |
<p dir="auto">Found when trying to build the wheels for 0.19.2:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="________________________ test_non_meta_estimators[969] _________________________
self = <sklearn.utils.testing._named_check object at 0x1091aaa58>
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.220446049...state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
kwargs = {}
def __call__(self, *args, **kwargs):
> return self.check(*args, **kwargs)
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.220446049...state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
kwargs = {}
self = <sklearn.utils.testing._named_check object at 0x1091aaa58>
../venv/lib/python3.4/site-packages/sklearn/utils/testing.py:775:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../venv/lib/python3.4/site-packages/sklearn/utils/testing.py:291: in wrapper
return fn(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'GaussianProcess'
estimator_orig = GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.2204460492503131e-15, optimiz..._state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False)
@ignore_warnings(category=(DeprecationWarning, FutureWarning))
def check_supervised_y_2d(name, estimator_orig):
if "MultiTask" in name:
# These only work on 2d, so this test makes no sense
return
rnd = np.random.RandomState(0)
X = rnd.uniform(size=(10, 3))
y = np.arange(10) % 3
estimator = clone(estimator_orig)
set_random_state(estimator)
# fit
estimator.fit(X, y)
y_pred = estimator.predict(X)
set_random_state(estimator)
# Check that when a 2D y is given, a DataConversionWarning is
# raised
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always", DataConversionWarning)
warnings.simplefilter("ignore", RuntimeWarning)
estimator.fit(X, y[:, np.newaxis])
y_pred_2d = estimator.predict(X)
msg = "expected 1 DataConversionWarning, got: %s" % (
", ".join([str(w_x) for w_x in w]))
if name not in MULTI_OUTPUT:
# check that we warned if we don't support multi-output
assert_greater(len(w), 0, msg)
assert_true("DataConversionWarning('A column-vector y"
" was passed when a 1d array was expected" in msg)
> assert_allclose(y_pred.ravel(), y_pred_2d.ravel())
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E (mismatch 40.0%)
E x: array([ -1.086908e-13, 1.000000e+00, 2.000000e+00, 1.155742e-13,
E 1.000000e+00, 2.000000e+00, 5.062617e-14, 1.000000e+00,
E 2.000000e+00, 9.325873e-15])
E y: array([ -1.089129e-13, 1.000000e+00, 2.000000e+00, 1.272316e-13,
E 1.000000e+00, 2.000000e+00, 5.051515e-14, 1.000000e+00,
E 2.000000e+00, 9.214851e-15])
X = array([[ 0.5488135 , 0.71518937, 0.60276338],
[ 0.54488318, 0.4236548 , 0.64589411],
[ 0.43758721, ...6147936, 0.78052918],
[ 0.11827443, 0.63992102, 0.14335329],
[ 0.94466892, 0.52184832, 0.41466194]])
estimator = GaussianProcess(beta0=None,
corr=<function squared_exponential at 0x1063c0730>, normalize=True,
nugget...constant at 0x1063c02f0>, storage_mode='full',
theta0=array([[ 0.1]]), thetaL=None, thetaU=None, verbose=False)
estimator_orig = GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.2204460492503131e-15, optimiz..._state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False)
msg = 'expected 1 DataConversionWarning, got: '
name = 'GaussianProcess'
rnd = <mtrand.RandomState object at 0x10ab87e58>
w = []
y = array([0, 1, 2, 0, 1, 2, 0, 1, 2, 0])
y_pred = array([ -1.08690834e-13, 1.00000000e+00, 2.00000000e+00,
1.15574217e-13, 1.00000000e+00, 2.00000000e+00,
5.06261699e-14, 1.00000000e+00, 2.00000000e+00,
9.32587341e-15])
y_pred_2d = array([[ -1.08912879e-13],
[ 1.00000000e+00],
[ 2.00000000e+00],
[ 1.27231559e-13],
[ ...0000e+00],
[ 5.05151476e-14],
[ 1.00000000e+00],
[ 2.00000000e+00],
[ 9.21485110e-15]])
../venv/lib/python3.4/site-packages/sklearn/utils/estimator_checks.py:1226: AssertionError"><pre class="notranslate"><code class="notranslate">________________________ test_non_meta_estimators[969] _________________________
self = <sklearn.utils.testing._named_check object at 0x1091aaa58>
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.220446049...state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
kwargs = {}
def __call__(self, *args, **kwargs):
> return self.check(*args, **kwargs)
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.220446049...state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
kwargs = {}
self = <sklearn.utils.testing._named_check object at 0x1091aaa58>
../venv/lib/python3.4/site-packages/sklearn/utils/testing.py:775:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../venv/lib/python3.4/site-packages/sklearn/utils/testing.py:291: in wrapper
return fn(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'GaussianProcess'
estimator_orig = GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.2204460492503131e-15, optimiz..._state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False)
@ignore_warnings(category=(DeprecationWarning, FutureWarning))
def check_supervised_y_2d(name, estimator_orig):
if "MultiTask" in name:
# These only work on 2d, so this test makes no sense
return
rnd = np.random.RandomState(0)
X = rnd.uniform(size=(10, 3))
y = np.arange(10) % 3
estimator = clone(estimator_orig)
set_random_state(estimator)
# fit
estimator.fit(X, y)
y_pred = estimator.predict(X)
set_random_state(estimator)
# Check that when a 2D y is given, a DataConversionWarning is
# raised
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always", DataConversionWarning)
warnings.simplefilter("ignore", RuntimeWarning)
estimator.fit(X, y[:, np.newaxis])
y_pred_2d = estimator.predict(X)
msg = "expected 1 DataConversionWarning, got: %s" % (
", ".join([str(w_x) for w_x in w]))
if name not in MULTI_OUTPUT:
# check that we warned if we don't support multi-output
assert_greater(len(w), 0, msg)
assert_true("DataConversionWarning('A column-vector y"
" was passed when a 1d array was expected" in msg)
> assert_allclose(y_pred.ravel(), y_pred_2d.ravel())
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E (mismatch 40.0%)
E x: array([ -1.086908e-13, 1.000000e+00, 2.000000e+00, 1.155742e-13,
E 1.000000e+00, 2.000000e+00, 5.062617e-14, 1.000000e+00,
E 2.000000e+00, 9.325873e-15])
E y: array([ -1.089129e-13, 1.000000e+00, 2.000000e+00, 1.272316e-13,
E 1.000000e+00, 2.000000e+00, 5.051515e-14, 1.000000e+00,
E 2.000000e+00, 9.214851e-15])
X = array([[ 0.5488135 , 0.71518937, 0.60276338],
[ 0.54488318, 0.4236548 , 0.64589411],
[ 0.43758721, ...6147936, 0.78052918],
[ 0.11827443, 0.63992102, 0.14335329],
[ 0.94466892, 0.52184832, 0.41466194]])
estimator = GaussianProcess(beta0=None,
corr=<function squared_exponential at 0x1063c0730>, normalize=True,
nugget...constant at 0x1063c02f0>, storage_mode='full',
theta0=array([[ 0.1]]), thetaL=None, thetaU=None, verbose=False)
estimator_orig = GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
nugget=2.2204460492503131e-15, optimiz..._state=None, regr='constant',
storage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False)
msg = 'expected 1 DataConversionWarning, got: '
name = 'GaussianProcess'
rnd = <mtrand.RandomState object at 0x10ab87e58>
w = []
y = array([0, 1, 2, 0, 1, 2, 0, 1, 2, 0])
y_pred = array([ -1.08690834e-13, 1.00000000e+00, 2.00000000e+00,
1.15574217e-13, 1.00000000e+00, 2.00000000e+00,
5.06261699e-14, 1.00000000e+00, 2.00000000e+00,
9.32587341e-15])
y_pred_2d = array([[ -1.08912879e-13],
[ 1.00000000e+00],
[ 2.00000000e+00],
[ 1.27231559e-13],
[ ...0000e+00],
[ 5.05151476e-14],
[ 1.00000000e+00],
[ 2.00000000e+00],
[ 9.21485110e-15]])
../venv/lib/python3.4/site-packages/sklearn/utils/estimator_checks.py:1226: AssertionError
</code></pre></div>
<p dir="auto">Details:</p>
<p dir="auto"><a href="https://travis-ci.org/MacPython/scikit-learn-wheels/builds/400338565" rel="nofollow">https://travis-ci.org/MacPython/scikit-learn-wheels/builds/400338565</a></p>
<p dir="auto">we have not changed anything between 0.19.1 and 0.19.2 for this model so it's probably a change on the travis environment that caused this issue to appear now.</p>
<p dir="auto">It would be great if someone with a mac could try to reproduce those failures both on master and 0.19.X branches.</p> | <p dir="auto">In a number of places in tests, <code class="notranslate">numpy.testing.assert_allclose</code> is used with default absolute tolerance parameter which is <code class="notranslate">atol=0</code>.</p>
<p dir="auto">This means in particular that <code class="notranslate">np.testing.assert_allclose(0, 1e-16)</code> will fail. More context for the reasons behind this choice can be found in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="12645508" data-permission-text="Title is private" data-url="https://github.com/numpy/numpy/issues/3183" data-hovercard-type="issue" data-hovercard-url="/numpy/numpy/issues/3183/hovercard?comment_id=350892896&comment_type=issue_comment" href="https://github.com/numpy/numpy/issues/3183#issuecomment-350892896">numpy/numpy#3183 (comment)</a> and <a href="https://www.python.org/dev/peps/pep-0485/#absolute-tolerance-default" rel="nofollow">PEP485</a>, which can be summed up with,</p>
<blockquote>
<p dir="auto">If, for a given use case, a user needs to compare to zero, the test will be guaranteed to fail the first time, and the user can select an appropriate value.</p>
</blockquote>
<p dir="auto">The issue is that occasionally, the tests will pass, and but then may fail on some other platform.</p>
<p dir="auto">For instance, <a href="https://github.com/scikit-learn/scikit-learn/blob/4a9034a97c9a303326e1cc4ae40eb06accea8657/sklearn/utils/estimator_checks.py#L1443">this test in <code class="notranslate">estimator_checks.py</code></a> passes CI on master, but then randomly fail for osx: <a href="https://travis-ci.org/MacPython/scikit-learn-wheels/builds/334709556?utm_source=github_status&utm_medium=notification" rel="nofollow">[1]</a>, <a href="https://travis-ci.org/rth/scikit-learn-wheels/builds/334709530" rel="nofollow">[2]</a> correspond to the same commit, one for the PR, one in the forked repo (this test fails with the bellow message and not necessary for the same Python versions) ,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="```
________________________ test_non_meta_estimators[1045] ________________________
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
...orage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
[...]
> assert_allclose(y_pred.ravel(), y_pred_2d.ravel())
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E (mismatch 40.0%)
E x: array([ -1.089129e-13, 1.000000e+00, 2.000000e+00, 1.272316e-13,
E 1.000000e+00, 2.000000e+00, 5.051515e-14, 1.000000e+00,
E 2.000000e+00, 9.214851e-15])
E y: array([ -1.086908e-13, 1.000000e+00, 2.000000e+00, 1.155742e-13,
E 1.000000e+00, 2.000000e+00, 5.062617e-14, 1.000000e+00,
E 2.000000e+00, 9.325873e-15])
```"><pre class="notranslate"><code class="notranslate">```
________________________ test_non_meta_estimators[1045] ________________________
args = ('GaussianProcess', GaussianProcess(beta0=None, corr='squared_exponential', normalize=True,
...orage_mode='full', theta0=0.1, thetaL=None, thetaU=None,
verbose=False))
[...]
> assert_allclose(y_pred.ravel(), y_pred_2d.ravel())
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E (mismatch 40.0%)
E x: array([ -1.089129e-13, 1.000000e+00, 2.000000e+00, 1.272316e-13,
E 1.000000e+00, 2.000000e+00, 5.051515e-14, 1.000000e+00,
E 2.000000e+00, 9.214851e-15])
E y: array([ -1.086908e-13, 1.000000e+00, 2.000000e+00, 1.155742e-13,
E 1.000000e+00, 2.000000e+00, 5.062617e-14, 1.000000e+00,
E 2.000000e+00, 9.325873e-15])
```
</code></pre></div>
<ul dir="auto">
<li>this <a href="https://github.com/scikit-learn/scikit-learn/blob/b6854944fb2b2e13579160e61f3b0b43e12a2e1c/sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py#L152">test in <code class="notranslate">test_gradient_boosting_loss_functions.py</code></a> compares floats to 0 with <code class="notranslate">atol=0</code> but doesn't fail.</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="293119124" data-permission-text="Title is private" data-url="https://github.com/scikit-learn/scikit-learn/issues/10561" data-hovercard-type="issue" data-hovercard-url="/scikit-learn/scikit-learn/issues/10561/hovercard" href="https://github.com/scikit-learn/scikit-learn/issues/10561">#10561</a> is another manifestation of this that fails on ppc64le</li>
</ul>
<p dir="auto">When <code class="notranslate">atol</code> is used, it <a href="https://github.com/scikit-learn/scikit-learn/search?p=2&q=atol&type=&utf8=%E2%9C%93">not very consistent</a>.</p>
<p dir="auto">As to <a href="https://github.com/scikit-learn/scikit-learn/blob/c429a4d72ee49cfdb8f8b9a80559292d69dd14b9/sklearn/utils/testing.py#L388"><code class="notranslate">sklearn.utils.testing.assert_allclose_dense_sparse</code></a> it has by default <code class="notranslate">atol=1e-9</code> and not 0.</p>
<p dir="auto">While the necessary absolute tolerance is test dependent, it might still be useful to</p>
<ul dir="auto">
<li>have a default value (e.g. 1e-9) when it's needed (e.g. <code class="notranslate">DEFAULT_ATOL</code> in <code class="notranslate">sklearn.utils.testing</code>) , except for the cases when it has to be increased for specific reasons.</li>
<li>use <code class="notranslate">atol</code> when it's definitely reasonable to do so (e.g. in probability equalities)</li>
<li>make <code class="notranslate">sklearn.utils.testing.assert_allclose_dense_sparse</code> and <code class="notranslate">sklearn.utils.testing.assert_allclose</code> have the same default <code class="notranslate">atol</code>.</li>
<li>Check that we don't have floating point equalities with 0.0 even if CI tests passes (<a href="https://github.com/scikit-learn/scikit-learn/blob/6bd1cf594b05fdf16f827077e719a4ab0c0bd7ab/sklearn/linear_model/tests/test_logistic.py#L928">[1]</a>, <a href="https://github.com/scikit-learn/scikit-learn/blob/6bd1cf594b05fdf16f827077e719a4ab0c0bd7ab/sklearn/cluster/tests/test_mean_shift.py#L41">[2]</a>, <a href="https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/svm/tests/test_svm.py#L902">[3]</a> ..)</li>
</ul>
<p dir="auto">This might help improving the numerical stability of tests and prevent some of the tests failures on less common platforms cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/yarikoptic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/yarikoptic">@yarikoptic</a></p>
<p dir="auto">What do you think?</p> | 1 |
<ol dir="auto">
<li>Run Gallery -> Text fields</li>
<li>Rotate into landscape mode</li>
<li>Enter some text into the Name field and dismiss the keyboard</li>
<li>Scroll to the bottom of the form, and then scroll back to the top. The Name field will now be blank.</li>
</ol>
<p dir="auto">I noticed that the framework is disposing the EditableTextState when the field scrolls out of view. Is that a new behavior and is it intentional?</p>
<p dir="auto">EditableTextState.dispose() also hides the keyboard, so the dispose might be causing other bugs related to showing/hiding the keyboard during scrolling and relayout (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="219667265" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/9221" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/9221/hovercard" href="https://github.com/flutter/flutter/issues/9221">#9221</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="219730668" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/9231" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/9231/hovercard" href="https://github.com/flutter/flutter/issues/9231">#9231</a>)</p> | <p dir="auto">Not clear here why this is duplicated – although it seems copied.</p>
<p dir="auto">At a minimum, it'd be nice if this file explained why it's not pub_semver.</p> | 0 |
<h2 dir="auto">Bug Report</h2>
<p dir="auto">ParsingReultCache Object may cause Memory leak</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">3.1.0</p>
<h3 dir="auto">Which project did you use? Sharding-JDBC or Sharding-Proxy?</h3>
<p dir="auto">Sharding-JDBC</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">query data</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">query data</p>
<h3 dir="auto">Reason analyze (If you can)</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12479469/53321292-f7236f80-3912-11e9-9c44-cadc3f7a2d22.png"><img src="https://user-images.githubusercontent.com/12479469/53321292-f7236f80-3912-11e9-9c44-cadc3f7a2d22.png" alt="image" style="max-width: 100%;"></a><br>
Cache SQL 2.9G, Meybe Memory leak</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">select * from table where time</p>
<p dir="auto">select id, user_id, room_id,, member_type from table_20190225 WHERE id = ? and dateline between ? and ?</p>
<h3 dir="auto">Example codes for reproduce this issue (such as a github link).</h3> | <h2 dir="auto">Question</h2>
<p dir="auto"><strong>For English only</strong>, other languages will not accept.</p>
<p dir="auto">Before asking a question, make sure you have:</p>
<p dir="auto">Multi data source problem</p>
<p dir="auto">When the table name is repeated, the latter will override the former</p>
<p dir="auto">For example:</p>
<p dir="auto">X0 data source , table name: A1</p>
<p dir="auto">X1 data source, table name: A1</p>
<p dir="auto">During automatic routing, X1 data source will be executed and cannot be specified as x0 data source</p>
<p dir="auto">Looking for solutions?</p>
<ul dir="auto">
<li>Googled your question.</li>
<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> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">since a few days our Historical Nodes on AWS have temporarily problems connecting to S3. The Data are still written in S3, but from time to time follwoing error occurs (I replaced sensitive Information with <>):</p>
<p dir="auto"><strong>ERROR-Message:</strong></p>
<blockquote>
<p dir="auto">Failed on try 1, retrying in 739ms.<br>
org.jets3t.service.ServiceException: Request Error: <BUCKETNAME>.s3.eu-central-1.amazonaws.com: Name or service not known<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:625) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:279) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRestHead(RestStorageService.java:1052) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.getObjectImpl(RestStorageService.java:2264) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.getObjectDetailsImpl(RestStorageService.java:2193) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.StorageService.getObjectDetails(StorageService.java:1120) ~[jets3t-0.9.4.jar:0.9.4]<br>
at org.jets3t.service.StorageService.getObjectDetails(StorageService.java:575) ~[jets3t-0.9.4.jar:0.9.4]<br>
at io.druid.storage.s3.S3Utils.isObjectInBucket(S3Utils.java:96) ~[?:?]<br>
at io.druid.storage.s3.S3DataSegmentPuller$4.call(S3DataSegmentPuller.java:318) ~[?:?]<br>
at io.druid.storage.s3.S3DataSegmentPuller$4.call(S3DataSegmentPuller.java:314) ~[?:?]<br>
at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:63) [java-util-0.12.3.jar:0.12.3]<br>
at io.druid.java.util.common.RetryUtils.retry(RetryUtils.java:81) [java-util-0.12.3.jar:0.12.3]<br>
at io.druid.storage.s3.S3Utils.retryS3Operation(S3Utils.java:89) [druid-s3-extensions-0.12.3.jar:0.12.3]<br>
at io.druid.storage.s3.S3DataSegmentPuller.isObjectInBucket(S3DataSegmentPuller.java:312) [druid-s3-extensions-0.12.3.jar:0.12.3]<br>
at io.druid.storage.s3.S3DataSegmentPuller.getSegmentFiles(S3DataSegmentPuller.java:176) [druid-s3-extensions-0.12.3.jar:0.12.3]<br>
at io.druid.storage.s3.S3LoadSpec.loadSegment(S3LoadSpec.java:60) [druid-s3-extensions-0.12.3.jar:0.12.3]<br>
at io.druid.segment.loading.SegmentLoaderLocalCacheManager.loadInLocation(SegmentLoaderLocalCacheManager.java:205) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.segment.loading.SegmentLoaderLocalCacheManager.loadInLocationWithStartMarker(SegmentLoaderLocalCacheManager.java:193) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.segment.loading.SegmentLoaderLocalCacheManager.loadSegmentWithRetry(SegmentLoaderLocalCacheManager.java:151) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegmentFiles(SegmentLoaderLocalCacheManager.java:133) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegment(SegmentLoaderLocalCacheManager.java:108) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.SegmentManager.getAdapter(SegmentManager.java:196) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.SegmentManager.loadSegment(SegmentManager.java:157) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.coordination.SegmentLoadDropHandler.loadSegment(SegmentLoadDropHandler.java:261) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.coordination.SegmentLoadDropHandler.addSegment(SegmentLoadDropHandler.java:307) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.coordination.SegmentChangeRequestLoad.go(SegmentChangeRequestLoad.java:47) [druid-server-0.12.3.jar:0.12.3]<br>
at io.druid.server.coordination.ZkCoordinator$1.childEvent(ZkCoordinator.java:118) [druid-server-0.12.3.jar:0.12.3]<br>
at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:520) [curator-recipes-4.0.0.jar:4.0.0]<br>
at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:514) [curator-recipes-4.0.0.jar:4.0.0]<br>
at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:93) [curator-framework-4.0.0.jar:4.0.0]<br>
at org.apache.curator.shaded.com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:296) [curator-client-4.0.0.jar:?]<br>
at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:85) [curator-framework-4.0.0.jar:4.0.0]<br>
at org.apache.curator.framework.recipes.cache.PathChildrenCache.callListeners(PathChildrenCache.java:512) [curator-recipes-4.0.0.jar:4.0.0]<br>
at org.apache.curator.framework.recipes.cache.EventOperation.invoke(EventOperation.java:35) [curator-recipes-4.0.0.jar:4.0.0]<br>
at org.apache.curator.framework.recipes.cache.PathChildrenCache$9.run(PathChildrenCache.java:771) [curator-recipes-4.0.0.jar:4.0.0]<br>
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]<br>
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_181]<br>
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_181]<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]<br>
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]<br>
Caused by: java.net.UnknownHostException: <BUCKETNAME>.s3.eu-central-1.amazonaws.com: Name or service not known<br>
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_181]<br>
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) ~[?:1.8.0_181]<br>
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) ~[?:1.8.0_181]<br>
at java.net.InetAddress.getAllByName0(InetAddress.java:1276) ~[?:1.8.0_181]<br>
at java.net.InetAddress.getAllByName(InetAddress.java:1192) ~[?:1.8.0_181]<br>
at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[?:1.8.0_181]<br>
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) ~[httpclient-4.5.1.jar:4.5.1]<br>
at org.jets3t.service.impl.rest.httpclient.RestStorageService.performRequest(RestStorageService.java:328) ~[jets3t-0.9.4.jar:0.9.4]<br>
... 41 more</p>
</blockquote>
<p dir="auto">We are using currently Druid 0.12.3 with following configuration:</p>
<p dir="auto"><strong>common.runtime.properties:</strong></p>
<blockquote>
<p dir="auto"># Extensions<br>
druid.extensions.loadList=["druid-kafka-indexing-service", "druid-histogram", "druid-datasketches", <br>
"druid-lookups-cached-global", "postgresql-metadata-storage", "druid-s3-extensions", "druid-avro-extensions", <br>
"graphite-emitter"]</p>
<p dir="auto"># Zookeeper<br>
druid.zk.service.host=<ZK_HOST><br>
druid.zk.paths.base=/druid</p>
<p dir="auto"># Metadata storage<br>
druid.metadata.storage.type=postgresql<br>
druid.metadata.storage.connector.connectURI=jdbc:postgresql://<POSTGRES_URL>:5432/druid<br>
druid.metadata.storage.connector.user=<USER><br>
druid.metadata.storage.connector.password=<PASSWORD></p>
<p dir="auto"># Deep storage<br>
druid.storage.type=s3<br>
druid.storage.bucket=<BUCKET><br>
druid.storage.baseKey=segments<br>
druid.s3.accessKey=<ACCESS_KEY><br>
druid.s3.secretKey=<SECRET_KEY></p>
<p dir="auto"># Logging<br>
druid.startup.logging.logProperties=true<br>
druid.indexer.logs.type=noop</p>
<p dir="auto"># Service discovery<br>
druid.selectors.indexing.serviceName=druid/overlord<br>
druid.selectors.coordinator.serviceName=druid/coordinator</p>
<p dir="auto"># Monitoring<br>
druid.monitoring.monitors=["io.druid.java.util.metrics.JvmMonitor"]<br>
druid.emitter=graphite<br>
druid.emitter.logging.logLevel=info<br>
druid.emitter.graphite.hostname=<GRAPHITE_HOST><br>
druid.emitter.graphite.port=9109<br>
druid.emitter.graphite.eventConverter={"type":"all", "namespacePrefix": "druid"}<br>
druid.emitter.graphite.protocol=plaintext</p>
<p dir="auto"># Caching<br>
druid.cache.type=caffeine<br>
druid.cache.sizeInBytes=1073741824</p>
<p dir="auto"># Storage type of double columns<br>
druid.indexing.doubleStorage=double</p>
<p dir="auto"># Misc<br>
druid.javascript.enabled=true<br>
druid.sql.enable=true</p>
<p dir="auto"># Maximum Amount of Heap space to use for the string dictionary during merging (broker, historical, middlemanager)<br>
druid.query.groupBy.maxMergingDictionarySize = 250000000<br>
druid.query.groupBy.maxOnDiskStorage = 4294967296</p>
</blockquote>
<p dir="auto"><strong>jets3t.properties:</strong></p>
<blockquote>
<p dir="auto">s3service.s3-endpoint=s3.eu-central-1.amazonaws.com<br>
storage-service.request-signature-version=AWS4-HMAC-SHA256</p>
</blockquote>
<p dir="auto">Does anybody else experience this behavior? I gladly provide more information/configuration to solve this issue.</p>
<p dir="auto">Thanks,<br>
Stephan</p> | <p dir="auto">We have seen problem scenarios like the following:</p>
<ol dir="auto">
<li>A user has load rules like: load 30 days, drop forever.</li>
<li>The user loads some data from slightly in the future (maybe some clocks are running a bit fast or slow) using streaming ingestion. This creates a segment with an interval that is in the future.</li>
<li>The coordinator disables the segment immediately upon noticing it (since it is not within the last 30 days).</li>
<li>The Kafka tasks time out during handoff (because the segments are never loaded).</li>
<li>And after that timeout, the data that was slightly in the future is <em>still</em> not available!</li>
</ol>
<p dir="auto">It would be better, I think, if period-based load rules included an unbounded time into the future too. I bet this lines up better with users' intuitive idea of what "retain 30 days" means. Of course it could be changeable with some optional parameters (or a different kind of rule?) but I think the default behavior should be the intuitive one.</p>
<p dir="auto">NB: A workaround to this is to use rules like "load 30 days" followed by "drop 1000 years" followed by "load forever". That has the same effect as what I am suggesting for the new default behavior: we'll drop anything older than 30 days, but retain the last 30 days and also anything that is in the future.</p>
<p dir="auto">Related, but different: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="331028349" data-permission-text="Title is private" data-url="https://github.com/apache/druid/issues/5868" data-hovercard-type="issue" data-hovercard-url="/apache/druid/issues/5868/hovercard" href="https://github.com/apache/druid/issues/5868">#5868</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"> 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"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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.</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><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="417799131" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5371" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5371/hovercard" href="https://github.com/celery/celery/issues/5371">#5371</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="575623570" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5988" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5988/hovercard" href="https://github.com/celery/celery/issues/5988">#5988</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment & Settings</h2>
<ul dir="auto">
<li>Celery: 5.0.0</li>
<li>Kombu: 5.0.2</li>
<li>Redis: 3.5.3</li>
<li>vine: 5.0.0</li>
<li>billiard: 3.6.3.0</li>
</ul>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: Python 3.6.5 :: Anaconda, Inc.</li>
<li><strong>Minimal Celery Version</strong>: 5.0.0</li>
<li><strong>Minimal Kombu Version</strong>: 5.0.2</li>
<li><strong>Minimal Broker Version</strong>: Redis Server 6.0.8</li>
<li><strong>Minimal Result Backend Version</strong>: Memory / Redis Server 6.0.8</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: CentOS 7</li>
<li><strong>Minimal Broker Client Version</strong>: RedisPy 3.5.3</li>
<li><strong>Minimal Result Backend Client Version</strong>: Memory / RedisPy 3.5.3</li>
</ul>
<h3 dir="auto">Other Dependencies</h3>
<p dir="auto">Needs SSL certificates for Redis TLS setup - I used <a href="https://github.com/michaelklishin/tls-gen">https://github.com/michaelklishin/tls-gen</a> to create them</p>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<p dir="auto">I have the following configs:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="redis_ssl =
broker_connection_retry = False
broker_transport_options = broker_transport_options
# result_backend_transport_options = broker_transport_options
broker_use_ssl = {
'ssl_keyfile': '/home/centos/redis/tls-gen/basic/result/client_key.pem',
'ssl_certfile': '/home/centos/redis/tls-gen/basic/result/client_certificate.pem',
'ssl_ca_certs': '/home/centos/redis/tls-gen/basic/result/ca_certificate.pem',
'ssl_cert_reqs': 'required',
}
# redis_backend_use_ssl = redis_ssl
CELERY_BROKER_URL = 'sentinel://127.0.0.1:29876'
CELERY_RESULT_BACKEND = 'cache+memory://' # Used only for testing - even with Redis here, it doesnt work"><pre class="notranslate"><span class="pl-s1">redis_ssl</span> <span class="pl-c1">=</span>
<span class="pl-s1">broker_connection_retry</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>
<span class="pl-s1">broker_transport_options</span> <span class="pl-c1">=</span> <span class="pl-s1">broker_transport_options</span>
<span class="pl-c"># result_backend_transport_options = broker_transport_options</span>
<span class="pl-s1">broker_use_ssl</span> <span class="pl-c1">=</span> {
<span class="pl-s">'ssl_keyfile'</span>: <span class="pl-s">'/home/centos/redis/tls-gen/basic/result/client_key.pem'</span>,
<span class="pl-s">'ssl_certfile'</span>: <span class="pl-s">'/home/centos/redis/tls-gen/basic/result/client_certificate.pem'</span>,
<span class="pl-s">'ssl_ca_certs'</span>: <span class="pl-s">'/home/centos/redis/tls-gen/basic/result/ca_certificate.pem'</span>,
<span class="pl-s">'ssl_cert_reqs'</span>: <span class="pl-s">'required'</span>,
}
<span class="pl-c"># redis_backend_use_ssl = redis_ssl</span>
<span class="pl-v">CELERY_BROKER_URL</span> <span class="pl-c1">=</span> <span class="pl-s">'sentinel://127.0.0.1:29876'</span>
<span class="pl-v">CELERY_RESULT_BACKEND</span> <span class="pl-c1">=</span> <span class="pl-s">'cache+memory://'</span> <span class="pl-c"># Used only for testing - even with Redis here, it doesnt work</span></pre></div>
<p dir="auto">With redis.conf:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bind 0.0.0.0
protected-mode yes
port 0
tls-port 9875
tls-cert-file /home/centos/redis/tls-gen/basic/result/server_certificate.pem
tls-key-file /home/centos/redis/tls-gen/basic/result/server_key.pem
tls-ca-cert-file /home/centos/redis/tls-gen/basic/result/ca_certificate.pem
tls-replication yes
daemonize yes
pidfile /home/centos/redis/redis.pid
logfile /home/centos/redis/redis.log
dir /home/centos/redis"><pre class="notranslate"><code class="notranslate">bind 0.0.0.0
protected-mode yes
port 0
tls-port 9875
tls-cert-file /home/centos/redis/tls-gen/basic/result/server_certificate.pem
tls-key-file /home/centos/redis/tls-gen/basic/result/server_key.pem
tls-ca-cert-file /home/centos/redis/tls-gen/basic/result/ca_certificate.pem
tls-replication yes
daemonize yes
pidfile /home/centos/redis/redis.pid
logfile /home/centos/redis/redis.log
dir /home/centos/redis
</code></pre></div>
<p dir="auto">With redis-sentinel.conf:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="port 29876
tls-port 29875
tls-cert-file "/home/centos/redis/tls-gen/basic/result/server_certificate.pem"
tls-key-file "/home/centos/redis/tls-gen/basic/result/server_key.pem"
tls-ca-cert-file "/home/centos/redis/tls-gen/basic/result/ca_certificate.pem"
tls-replication yes
daemonize yes
pidfile /home/centos/redis/sentinel.pid
logfile /home/centos/redis/sentinel.log
dir /home/centos/redis
sentinel monitor mymaster 127.0.0.1 9875 1
sentinel deny-scripts-reconfig yes
sentinel config-epoch mymaster 6"><pre class="notranslate"><code class="notranslate">port 29876
tls-port 29875
tls-cert-file "/home/centos/redis/tls-gen/basic/result/server_certificate.pem"
tls-key-file "/home/centos/redis/tls-gen/basic/result/server_key.pem"
tls-ca-cert-file "/home/centos/redis/tls-gen/basic/result/ca_certificate.pem"
tls-replication yes
daemonize yes
pidfile /home/centos/redis/sentinel.pid
logfile /home/centos/redis/sentinel.log
dir /home/centos/redis
sentinel monitor mymaster 127.0.0.1 9875 1
sentinel deny-scripts-reconfig yes
sentinel config-epoch mymaster 6
</code></pre></div>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">I was expecting Celery to be able to connect to Sentinel, fetch the host and port of the Master.<br>
And then use TLS to connect to the Redis Master.</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">It gives an error <code class="notranslate">TypeError: __init__() got an unexpected keyword argument 'connection_pool'</code><br>
Traceback:</p>
<details>
<pre class="notranslate"> -------------- celery@ip v5.0.0 (singularity)
--- ***** -----
-- ******* ---- Linux-3.10.0-862.3.2.el7.x86_64-x86_64-with-centos-7.5.1804-Core 2020-11-02 14:00:50
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app: corridor_api:0x7fce57b40860
- ** ---------- .> transport: sentinel://IP:29876//
- ** ---------- .> results: memory:///
- *** --- * --- .> concurrency: 1 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
.> apilocal exchange=apilocal(direct) key=apilocal
.> celery exchange=celery(direct) key=celery
<p dir="auto">[2020-11-02 14:00:50,595: CRITICAL/MainProcess] Unrecoverable error: TypeError("<strong>init</strong>() got an unexpected keyword argument 'connection_pool'",)<br>
Traceback (most recent call last):<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/transport/virtual/base.py", line 918, in create_channel<br>
return self._avail_channels.pop()<br>
IndexError: pop from empty list</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/connection.py", line 1185, in get_connection<br>
connection = self._available_connections.pop()<br>
IndexError: pop from empty list</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/worker.py", line 203, in start<br>
self.blueprint.start(self)<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/bootsteps.py", line 116, in start<br>
step.start(parent)<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/bootsteps.py", line 365, in start<br>
return self.obj.start()<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 311, in start<br>
blueprint.start(self)<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/bootsteps.py", line 116, in start<br>
step.start(parent)<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/consumer/connection.py", line 21, in start<br>
c.connection = c.connect()<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 398, in connect<br>
conn = self.connection_for_read(heartbeat=self.amqheartbeat)<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 405, in connection_for_read<br>
self.app.connection_for_read(heartbeat=heartbeat))<br>
File "/opt/app/venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 427, in ensure_connected<br>
conn.connect()<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/connection.py", line 277, in connect<br>
max_retries=1, reraise_as_library_errors=False<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/connection.py", line 439, in _ensure_connection<br>
callback, timeout=timeout<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/utils/functional.py", line 325, in retry_over_time<br>
return fun(*args, **kwargs)<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/connection.py", line 866, in _connection_factory<br>
self._connection = self._establish_connection()<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/connection.py", line 801, in _establish_connection<br>
conn = self.transport.establish_connection()<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/transport/virtual/base.py", line 938, in establish_connection<br>
self._avail_channels.append(self.create_channel(self))<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/transport/virtual/base.py", line 920, in create_channel<br>
channel = self.Channel(connection)<br>
File "/opt/app/venv/lib/python3.6/site-packages/kombu/transport/redis.py", line 526, in <strong>init</strong><br>
self.client.ping()<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/client.py", line 1378, in ping<br>
return self.execute_command('PING')<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/client.py", line 898, in execute_command<br>
conn = self.connection or pool.get_connection(command_name, **options)<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/connection.py", line 1187, in get_connection<br>
connection = self.make_connection()<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/connection.py", line 1227, in make_connection<br>
return self.connection_class(**self.connection_kwargs)<br>
File "/opt/app/venv/lib/python3.6/site-packages/redis/connection.py", line 828, in <strong>init</strong><br>
super(SSLConnection, self).<strong>init</strong>(**kwargs)<br>
TypeError: <strong>init</strong>() got an unexpected keyword argument 'connection_pool'<br>
</p></pre><p dir="auto"></p>
</details> | <h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" 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>: celery==4.4.2</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="[2020-05-31 23:28:34,434: INFO/MainProcess] Connected to amqp://remote_worker:**@127.0.0.1:5672//
[2020-05-31 23:28:34,453: INFO/MainProcess] mingle: searching for neighbors
[2020-05-31 23:28:35,487: INFO/MainProcess] mingle: all alone
[2020-05-31 23:28:35,528: WARNING/MainProcess] /home/ubuntu/.local/lib/python3.7/site-packages/celery/fixups/django.py:203: UserWarning: Using settings.DEBUG leads to a memory
leak, never use this setting in production environments!
leak, never use this setting in production environments!''')
[2020-05-31 23:28:35,529: INFO/MainProcess] celery@testroom ready.
[2020-05-31 23:28:47,351: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906]
[2020-05-31 23:28:47,689: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:47,690: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:28:47,721: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:28:57.692348+00:00]
[2020-05-31 23:28:47,722: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:28:57.716321+00:00]
[2020-05-31 23:28:47,777: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:28:57,999: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:58,000: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:28:58,062: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.34440315900428686s: None
[2020-05-31 23:28:58,301: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:58,302: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:28:58,304: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:08.303091+00:00]
[2020-05-31 23:28:58,307: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:08.306141+00:00]
[2020-05-31 23:28:58,368: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:29:08,572: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:08,573: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:29:08,633: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.3256059319974156s: None
[2020-05-31 23:29:08,872: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:08,873: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:29:08,875: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:18.873799+00:00]
[2020-05-31 23:29:08,880: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:18.877550+00:00]
[2020-05-31 23:29:08,940: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:29:19,144: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:19,145: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:29:19,205: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.326258520995907s: None
[2020-05-31 23:29:19,444: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:19,445: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:29:19,505: ERROR/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] raised unexpected: Exception('i have filled now')
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/trace.py", line 650, in __protected_call__
return self.run(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/base.py", line 500, in run
raise task.retry(exc=exc, **retry_kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/task.py", line 704, in retry
raise_with_context(exc)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/base.py", line 487, in run
return task._orig_run(*args, **kwargs)
File "/var/www/django_projects/earthalytics-api/api_v3/tests.py", line 26, in execute
self.retry(exc=Exception("i have filled now"), args=[param_a, param_b], kwargs=kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/task.py", line 704, in retry
raise_with_context(exc)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/utils/serialization.py", line 288, in raise_with_context
_raise_with_context(exc, exc_info[1])
File "<string>", line 1, in _raise_with_context
Exception: i have filled now
"><pre class="notranslate"><code class="notranslate">[2020-05-31 23:28:34,434: INFO/MainProcess] Connected to amqp://remote_worker:**@127.0.0.1:5672//
[2020-05-31 23:28:34,453: INFO/MainProcess] mingle: searching for neighbors
[2020-05-31 23:28:35,487: INFO/MainProcess] mingle: all alone
[2020-05-31 23:28:35,528: WARNING/MainProcess] /home/ubuntu/.local/lib/python3.7/site-packages/celery/fixups/django.py:203: UserWarning: Using settings.DEBUG leads to a memory
leak, never use this setting in production environments!
leak, never use this setting in production environments!''')
[2020-05-31 23:28:35,529: INFO/MainProcess] celery@testroom ready.
[2020-05-31 23:28:47,351: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906]
[2020-05-31 23:28:47,689: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:47,690: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:28:47,721: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:28:57.692348+00:00]
[2020-05-31 23:28:47,722: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:28:57.716321+00:00]
[2020-05-31 23:28:47,777: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:28:57,999: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:58,000: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:28:58,062: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.34440315900428686s: None
[2020-05-31 23:28:58,301: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:28:58,302: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:28:58,304: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:08.303091+00:00]
[2020-05-31 23:28:58,307: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:08.306141+00:00]
[2020-05-31 23:28:58,368: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:29:08,572: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:08,573: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:29:08,633: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.3256059319974156s: None
[2020-05-31 23:29:08,872: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:08,873: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:29:08,875: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:18.873799+00:00]
[2020-05-31 23:29:08,880: INFO/MainProcess] Received task: api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] ETA:[2020-05-31 23:29:18.877550+00:00]
[2020-05-31 23:29:08,940: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] retry: Retry in 10s: Retry(Retry(...), Exception('i have filled now'), 10)
[2020-05-31 23:29:19,144: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:19,145: WARNING/ForkPoolWorker-1] ended
[2020-05-31 23:29:19,205: INFO/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] succeeded in 0.326258520995907s: None
[2020-05-31 23:29:19,444: WARNING/ForkPoolWorker-1] started
[2020-05-31 23:29:19,445: WARNING/ForkPoolWorker-1] retry
[2020-05-31 23:29:19,505: ERROR/ForkPoolWorker-1] Task api_v3.tests.execute[e97d93b5-b0e5-4b87-96ab-1aab66119906] raised unexpected: Exception('i have filled now')
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/trace.py", line 650, in __protected_call__
return self.run(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/base.py", line 500, in run
raise task.retry(exc=exc, **retry_kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/task.py", line 704, in retry
raise_with_context(exc)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/base.py", line 487, in run
return task._orig_run(*args, **kwargs)
File "/var/www/django_projects/earthalytics-api/api_v3/tests.py", line 26, in execute
self.retry(exc=Exception("i have filled now"), args=[param_a, param_b], kwargs=kwargs)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/app/task.py", line 704, in retry
raise_with_context(exc)
File "/home/ubuntu/.local/lib/python3.7/site-packages/celery/utils/serialization.py", line 288, in raise_with_context
_raise_with_context(exc, exc_info[1])
File "<string>", line 1, in _raise_with_context
Exception: i have filled now
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">Make a celery task with a retry changing one parameters.<br>
Set the max_retries and countdown.</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=""><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="
@app_cluster.task(bind=True, autoretry_for=(Exception,), max_retries=3,
default_retry_delay=10)
def execute(self, param_a, param_b=None, **kwargs):
print("started")
if param_b is None:
param_b = "filled"
print("retry")
self.retry(exc=Exception("i have filled now"), args=[param_a, param_b], kwargs=kwargs)
print("ended")
def test_celery(self):
sig = execute.si("something")
t = sig.delay()
t = 0"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app_cluster</span>.<span class="pl-en">task</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">autoretry_for</span><span class="pl-c1">=</span>(<span class="pl-v">Exception</span>,), <span class="pl-s1">max_retries</span><span class="pl-c1">=</span><span class="pl-c1">3</span>,</span>
<span class="pl-en"> <span class="pl-s1">default_retry_delay</span><span class="pl-c1">=</span><span class="pl-c1">10</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">execute</span>(<span class="pl-s1">self</span>, <span class="pl-s1">param_a</span>, <span class="pl-s1">param_b</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-c1">**</span><span class="pl-s1">kwargs</span>):
<span class="pl-en">print</span>(<span class="pl-s">"started"</span>)
<span class="pl-k">if</span> <span class="pl-s1">param_b</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>:
<span class="pl-s1">param_b</span> <span class="pl-c1">=</span> <span class="pl-s">"filled"</span>
<span class="pl-en">print</span>(<span class="pl-s">"retry"</span>)
<span class="pl-s1">self</span>.<span class="pl-en">retry</span>(<span class="pl-s1">exc</span><span class="pl-c1">=</span><span class="pl-v">Exception</span>(<span class="pl-s">"i have filled now"</span>), <span class="pl-s1">args</span><span class="pl-c1">=</span>[<span class="pl-s1">param_a</span>, <span class="pl-s1">param_b</span>], <span class="pl-s1">kwargs</span><span class="pl-c1">=</span><span class="pl-s1">kwargs</span>)
<span class="pl-en">print</span>(<span class="pl-s">"ended"</span>)
<span class="pl-k">def</span> <span class="pl-en">test_celery</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">sig</span> <span class="pl-c1">=</span> <span class="pl-s1">execute</span>.<span class="pl-en">si</span>(<span class="pl-s">"something"</span>)
<span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s1">sig</span>.<span class="pl-en">delay</span>()
<span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">I expect the task get overrided with updated parameters</p>
<h1 dir="auto">Actual Behavior</h1>
The task goes in retry with origianl parameters.
<p dir="auto">A new task is made with new parameters and get scheduled.<br>
The "old" task get executed.<br>
The "new" task get executed.<br>
The "old" task goes in retry making a "new" "new task" with updated parameters and the "old" goes scheduled again with original parameters.</p> | 0 |
<p dir="auto">Our current API strategy is to add annotations for new features. These annotations are expected to overlay on top of the existing API fields, and alter system behavior in other components. Our primary reason for annotations today:</p>
<ol dir="auto">
<li>They are unstructured and can be preserved in etcd even after the feature is graduated from alpha.</li>
<li>They can contain arbitrarily complex values (like init containers) or simple fields (like hostname for pods)</li>
</ol>
<p dir="auto">Annotations come with a set of issues:</p>
<ol dir="auto">
<li>
<p dir="auto">Alpha annotations are not discoverable and do not show up in our docs - users don't know how to use the features, and we get no automatic benefits from swagger or other tools</p>
<ol dir="auto">
<li>No way to communicate lifecycle via <code class="notranslate">kubectl explain</code> to end users</li>
</ol>
</li>
<li>
<p dir="auto">Developers who implement those annotations must merge the value in to the internal or external types at various points in the lifecycle - conversion, validation, in client libraries, and in nested utilities.</p>
<ol dir="auto">
<li>Client utilities that receive a partial struct (like <code class="notranslate">api.PodSpec</code>) must also receive a list of annotations that alter that pod spec (for things like init containers) and potentially merge those</li>
<li>When an alpha feature is graduated, we typically change the implementation of that feature significantly as well (moving from annotation to field) which causes extra churn in the implementation, and the potential for new bugs</li>
</ol>
</li>
<li>
<p dir="auto">Some alpha features may be missed by a developer unfamiliar with the annotation - without any of the normal tools to introspect code (code completion, reflective tests on structs) it is more likely that the impact of an annotation is missed when adding new code.</p>
</li>
<li>
<p dir="auto">The security implications of an annotation are harder to convey than a field, and code that allows annotation mutation but <em>not</em> field annotation can be exposed to malicious authors accidentally (bind, status, and a few other sub resources that protect spec can be abused to mutate init containers, for example).</p>
</li>
<li>
<p dir="auto">A malicious user can introduce an annotation for an upcoming alpha feature on a cluster before the feature is introduced, which means that prior to enabling an alpha feature a cluster admin has to sweep all possible objects to ensure no dangerous annotations are set.</p>
<p dir="auto">This occurred for init containers - podsecuritypolicy is applied at creation time, but because init containers are represented as annotations a malicious user can set an init container annotation before Kube 1.3 is rolled out, and as soon as the cluster is upgraded that container would be executed. This means that admins have to run a pre-upgrade migration to purge any dangerous / out of policy annotations.</p>
</li>
</ol>
<p dir="auto">For these reasons, I believe we should not be using annotations for alpha level fields internally, and probably not externally.</p>
<h2 dir="auto">Alternative</h2>
<p dir="auto">Instead, I believe we should represent alpha level fields in our Go structs and clearly denote them as alpha (perhaps with an named prefix). Once the feature is out of alpha, we would leave the alpha level field in the external struct for at least 1 major version to allow upgraders to use that field. We would then drop the alpha field, which would clean the database of that value. Internal code would simply rename the field, and ignore the external field.</p>
<p dir="auto">Alpha level fields would be denoted by struct tags that allowed them to show up in swagger. Once we dropped support for the field, swagger would no longer show them. We would have to have a "drop by default" rule in place for swagger validations on fields that are no longer recognized for old alpha fields that aren't supported, but that's what we want for alpha.</p>
<p dir="auto">E.g.:</p>
<p dir="auto">Kube 1.2:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pod:
spec:
alphaInitContainers: # silently dropped by the storage layer
- name: init-1"><pre class="notranslate"><code class="notranslate">pod:
spec:
alphaInitContainers: # silently dropped by the storage layer
- name: init-1
</code></pre></div>
<p dir="auto">Kube 1.3:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pod:
spec:
alphaInitContainers: # visible in swagger
- name: init-1
...
$ kubectl explain pod.spec.alphaInitContainers
This field allows you to provide specify "init containers" - run before other containers.
...
Feature is alpha and may change without notice."><pre class="notranslate"><code class="notranslate">pod:
spec:
alphaInitContainers: # visible in swagger
- name: init-1
...
$ kubectl explain pod.spec.alphaInitContainers
This field allows you to provide specify "init containers" - run before other containers.
...
Feature is alpha and may change without notice.
</code></pre></div>
<p dir="auto">Kube 1.4:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pod:
spec:
alphaInitContainers: # ignored, but visible in swagger. kubectl validate could flag this as unsupported
- name: init-1
initContainers:
- name: init-1
$ kubectl explain pod.spec.alphaInitContainers
This field has been removed - use pod.spec.initContainers"><pre class="notranslate"><code class="notranslate">pod:
spec:
alphaInitContainers: # ignored, but visible in swagger. kubectl validate could flag this as unsupported
- name: init-1
initContainers:
- name: init-1
$ kubectl explain pod.spec.alphaInitContainers
This field has been removed - use pod.spec.initContainers
</code></pre></div>
<p dir="auto">Kube 1.5</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pod:
spec:
alphaInitContainers: # fails kubectl validate - alpha is no longer supported
# silently dropped from storage whenever a pod is updated
initContainers:
- name: init-1
$ kubectl explain pod.spec.alphaInitContainers
This field has been removed - use pod.spec.initContainers"><pre class="notranslate"><code class="notranslate">pod:
spec:
alphaInitContainers: # fails kubectl validate - alpha is no longer supported
# silently dropped from storage whenever a pod is updated
initContainers:
- name: init-1
$ kubectl explain pod.spec.alphaInitContainers
This field has been removed - use pod.spec.initContainers
</code></pre></div> | <p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.): Kind of. More like a bug report.</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): kubernetes apiserver CPU usage 100%</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): 1.3</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: AWS</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): CoreOS 1122.3.0</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):4.7.0-coreos-r1</li>
<li><strong>Install tools</strong>: kube-aws</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>: /hyperkube apiserver on the controller takes up all the CPU time, together with the kernel.</p>
<p dir="auto"><strong>What you expected to happen</strong>: /hyperkube apiserver doesn't use up all the CPU time.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible): Run the cluster for a long time.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">The problem did not exist in the beginning. I started noticing it today. Our performance logs are only kept back for about 2 weeks. The controller shows the high CPU usage for that whole time frame.</p>
<p dir="auto">Log from the kubelet unit:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[continues infinitely]
Nov 11 18:11:03 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:03.940785 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/db72bac5-8625-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") pod "db72bac5-8625-11e6-ad16-0253cca96ab9" (UID: "db72bac5-8625-11e6-ad16-0253cca96ab9").
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.735952 1501 reconciler.go:254] MountVolume operation started for volume "kubernetes.io/secret/779b0278-9a1c-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") to pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9"). Volume is already mounted to pod, but remount was requested.
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.736264 1501 reconciler.go:254] MountVolume operation started for volume "kubernetes.io/configmap/779b0278-9a1c-11e6-ad16-0253cca96ab9-td-agent-config" (spec.Name: "td-agent-config") to pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9"). Volume is already mounted to pod, but remount was requested.
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.744729 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/configmap/779b0278-9a1c-11e6-ad16-0253cca96ab9-td-agent-config" (spec.Name: "td-agent-config") pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9").
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.745843 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/779b0278-9a1c-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9")."><pre class="notranslate"><code class="notranslate">[continues infinitely]
Nov 11 18:11:03 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:03.940785 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/db72bac5-8625-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") pod "db72bac5-8625-11e6-ad16-0253cca96ab9" (UID: "db72bac5-8625-11e6-ad16-0253cca96ab9").
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.735952 1501 reconciler.go:254] MountVolume operation started for volume "kubernetes.io/secret/779b0278-9a1c-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") to pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9"). Volume is already mounted to pod, but remount was requested.
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.736264 1501 reconciler.go:254] MountVolume operation started for volume "kubernetes.io/configmap/779b0278-9a1c-11e6-ad16-0253cca96ab9-td-agent-config" (spec.Name: "td-agent-config") to pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9"). Volume is already mounted to pod, but remount was requested.
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.744729 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/configmap/779b0278-9a1c-11e6-ad16-0253cca96ab9-td-agent-config" (spec.Name: "td-agent-config") pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9").
Nov 11 18:11:23 ip-10-0-0-50.eu-west-1.compute.internal kubelet-wrapper[1501]: I1111 18:11:23.745843 1501 operation_executor.go:740] MountVolume.SetUp succeeded for volume "kubernetes.io/secret/779b0278-9a1c-11e6-ad16-0253cca96ab9-default-token-6vjgz" (spec.Name: "default-token-6vjgz") pod "779b0278-9a1c-11e6-ad16-0253cca96ab9" (UID: "779b0278-9a1c-11e6-ad16-0253cca96ab9").
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# uptime
18:12:36 up 17:38, 1 user, load average: 2.14, 2.39, 2.35"><pre class="notranslate"><code class="notranslate"># uptime
18:12:36 up 17:38, 1 user, load average: 2.14, 2.39, 2.35
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3606849/20225354/312f6f52-a843-11e6-97ad-76659ab9b87f.png"><img src="https://cloud.githubusercontent.com/assets/3606849/20225354/312f6f52-a843-11e6-97ad-76659ab9b87f.png" alt="screenshot of htop on controller" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto"><strong>Mac OSx 10.9 - Atom 0.115.0</strong><br>
Not sure if this is Atom's fault, but is the only editor doing it. When working on a file if I use "cmd + z" Atom reverts all changes made since I opened that file, not just the last change. Frustrating!</p> | <h2 dir="auto">Version 0.105.00</h2>
<p dir="auto">When initiating an undo oftentimes Atom will undo an excessive amount of changes, other times it does it character by character.</p>
<p dir="auto">I've had undo revert a file to it's original condition or previous saved state after an hour of work by a single undo. What is worse, redo no longer works at all.</p>
<p dir="auto">I am using Vim mode so this may be related, I believe it might be undo everything done during the current insert.</p> | 1 |
<p dir="auto">$ rustc --version<br>
rustc 1.2.0 (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/082e4763615bdbe7b4dd3dfd6fc2210b7773edf5/hovercard" href="https://github.com/rust-lang/rust/commit/082e4763615bdbe7b4dd3dfd6fc2210b7773edf5"><tt>082e476</tt></a> 2015-08-03)</p>
<p dir="auto">$ RUST_BACKTRACE=1 cargo build<br>
error: internal compiler error: unexpected panic<br>
note: the compiler unexpectedly panicked. this is a bug.<br>
note: we would appreciate a bug report: <a href="https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports">https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports</a><br>
thread 'rustc' panicked at 'assertion failed: index.end <= self.len()', ../src/libcore/slice.rs:544</p>
<p dir="auto">stack backtrace:<br>
1: 0x1058dd7b5 - sys::backtrace::write::hf5ea20500b66cd24uns<br>
2: 0x1058e6013 - panicking::on_panic::hbe02cb0d925cad49iGw<br>
3: 0x1058a1dd2 - rt::unwind::begin_unwind_inner::h12ba0ba9dffdecc2uow<br>
4: 0x1058a2b29 - rt::unwind::begin_unwind_fmt::hadf0dbf11d345ebfAnw<br>
5: 0x1058e5b9c - rust_begin_unwind<br>
6: 0x105939d95 - panicking::panic_fmt::h987a4890059dc6e0H8B<br>
7: 0x1059327e1 - panicking::panic::hfd3e1c225039d9cae7B<br>
8: 0x1029106ae - astconv::finish_resolving_def_to_ty::he5ea7cd41915b99d76v<br>
9: 0x1028cee6b - astconv::ast_ty_to_ty::hf914e7106582dfb2V8v<br>
10: 0x10291bf9f - astconv::ast_ty_arg_to_ty::hd7f3449b6ed7d80f3Zv<br>
11: 0x10291bc4a - vec::Vec.FromIterator::from_iter::h14554187055721803077<br>
12: 0x102919bb7 - astconv::convert_angle_bracketed_parameters::h1f04abd7bdcd3d52H2u<br>
13: 0x1028cc5aa - astconv::ast_path_substs_for_ty::h0a1cd0aaeb5403f5lLu<br>
14: 0x102920de5 - astconv::ast_path_to_ty::h8c49a0891a1ce609Brv<br>
15: 0x10290e149 - astconv::finish_resolving_def_to_ty::he5ea7cd41915b99d76v<br>
16: 0x1028cee6b - astconv::ast_ty_to_ty::hf914e7106582dfb2V8v<br>
17: 0x10291ce02 - astconv::convert_ty_with_lifetime_elision::h4459fb498cc71b5756u<br>
18: 0x102925bfd - astconv::ty_of_method_or_bare_fn::haa63c3b9895211a0Now<br>
19: 0x1029412b9 - collect::convert_method::h80cba98fe26dd14afLx<br>
20: 0x10292f9b6 - collect::convert_item::h2cca9c39f6b8d796R0x<br>
21: 0x102928706 - collect::collect_item_types::hf0bc00065ee6508bW7w<br>
22: 0x10297948a - check_crate::h117ec0c1269afe619fD<br>
23: 0x1021bad16 - driver::phase_3_run_analysis_passes::closure.15766<br>
24: 0x1021b9204 - middle::ty::with_ctxt::h14728011725879770170<br>
25: 0x1021b400a - driver::phase_3_run_analysis_passes::h16713467199444562124<br>
26: 0x102197107 - driver::compile_input::hb6d2be5b0fa2247fTba<br>
27: 0x10227313f - run_compiler::h21d74b88eec3fe3bx7b<br>
28: 0x1022709f3 - boxed::F.FnBox::call_box::h1689969825914258414<br>
29: 0x1022701b7 - rt::unwind::try::try_fn::h11273853850686318048<br>
30: 0x105970cc8 - rust_try_inner<br>
31: 0x105970cb5 - rust_try<br>
32: 0x1058cfc95 - rt::unwind::try::inner_try::h480e3107f6a4b5b9nkw<br>
33: 0x1022703e8 - boxed::F.FnBox::call_box::h888215220722514405<br>
34: 0x1058e4a9d - sys:<g-emoji class="g-emoji" alias="thread" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f9f5.png">🧵</g-emoji>:Thread:<g-emoji class="g-emoji" alias="new" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f195.png">🆕</g-emoji>:thread_start::hdb3d925f69c5da4aHIv<br>
35: 0x7fff9916d267 - _pthread_body<br>
36: 0x7fff9916d1e4 - _pthread_start</p>
<p dir="auto">Any guidance on finding the code which is tickling this would be appreciated as I am dead in the water.</p>
<p dir="auto">Thanks.</p> | <p dir="auto">with rustc 1.0.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/157614249594f187f421cd97f928e64c5ab5c1fa/hovercard" href="https://github.com/rust-lang/rust/commit/157614249594f187f421cd97f928e64c5ab5c1fa"><tt>1576142</tt></a> 2015-03-01) (built 2015-03-01)</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="use std::iter::IntoIterator::IntoIter;
fn main()
{
let mul2 = |x:IntoIter| x.iter().map(|x| x);
}"><pre class="notranslate"><span class="pl-k">use</span> std<span class="pl-kos">::</span>iter<span class="pl-kos">::</span><span class="pl-smi">IntoIterator</span><span class="pl-kos">::</span><span class="pl-v">IntoIter</span><span class="pl-kos">;</span>
<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
<span class="pl-k">let</span> mul2 = |<span class="pl-s1">x</span><span class="pl-kos">:</span><span class="pl-smi">IntoIter</span>| x<span class="pl-kos">.</span><span class="pl-en">iter</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span>|x| x<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | 1 |
<p dir="auto">Since JSX is a global namespace, it is not possible to use typings declared in a module for its Element or ElementClass.</p>
<p dir="auto">When writing a module, it would then be convenient to write something like ;</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import {MyEltType, JSX} from 'my-custom-jsx-lib'
var myelt = <div> ...</div>"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">MyEltType</span><span class="pl-kos">,</span> <span class="pl-smi">JSX</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'my-custom-jsx-lib'</span>
<span class="pl-k">var</span> <span class="pl-s1">myelt</span> <span class="pl-c1">=</span> <span class="pl-c1"><</span><span class="pl-smi">div</span><span class="pl-c1">></span> ...<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-s1">div</span><span class="pl-c1">></span></pre></div>
<p dir="auto">and have typescript check Element, ElementClass and so on on its local JSX instance.</p>
<p dir="auto">Also, when not providing any JSX namespace but having a factory that has a return type, the compiler crashes nastily with a</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/usr/lib/node_modules/typescript/lib/tsc.js:33078
throw e;
^
TypeError: Cannot read property 'flags' of undefined
at isRelatedTo (/usr/lib/node_modules/typescript/lib/tsc.js:16013:32)
at checkTypeRelatedTo (/usr/lib/node_modules/typescript/lib/tsc.js:15941:26)
at checkTypeAssignableTo (/usr/lib/node_modules/typescript/lib/tsc.js:15819:20)
at isTypeAssignableTo (/usr/lib/node_modules/typescript/lib/tsc.js:15813:20)
at getJsxElementAttributesType (/usr/lib/node_modules/typescript/lib/tsc.js:18463:47)
at checkJsxOpeningLikeElement (/usr/lib/node_modules/typescript/lib/tsc.js:18564:40)
at checkJsxSelfClosingElement (/usr/lib/node_modules/typescript/lib/tsc.js:18265:13)
at checkExpressionWorker (/usr/lib/node_modules/typescript/lib/tsc.js:20439:28)
at checkExpression (/usr/lib/node_modules/typescript/lib/tsc.js:20349:42)
at checkExpressionCached (/usr/lib/node_modules/typescript/lib/tsc.js:20310:38)"><pre class="notranslate"><code class="notranslate">/usr/lib/node_modules/typescript/lib/tsc.js:33078
throw e;
^
TypeError: Cannot read property 'flags' of undefined
at isRelatedTo (/usr/lib/node_modules/typescript/lib/tsc.js:16013:32)
at checkTypeRelatedTo (/usr/lib/node_modules/typescript/lib/tsc.js:15941:26)
at checkTypeAssignableTo (/usr/lib/node_modules/typescript/lib/tsc.js:15819:20)
at isTypeAssignableTo (/usr/lib/node_modules/typescript/lib/tsc.js:15813:20)
at getJsxElementAttributesType (/usr/lib/node_modules/typescript/lib/tsc.js:18463:47)
at checkJsxOpeningLikeElement (/usr/lib/node_modules/typescript/lib/tsc.js:18564:40)
at checkJsxSelfClosingElement (/usr/lib/node_modules/typescript/lib/tsc.js:18265:13)
at checkExpressionWorker (/usr/lib/node_modules/typescript/lib/tsc.js:20439:28)
at checkExpression (/usr/lib/node_modules/typescript/lib/tsc.js:20349:42)
at checkExpressionCached (/usr/lib/node_modules/typescript/lib/tsc.js:20310:38)
</code></pre></div> | <p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.2</p>
<p dir="auto"><strong>Code</strong></p>
<p dir="auto">tsconfig.json:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"compilerOptions": {
"jsx": "react"
},
"files": [
"app.tsx"
]
}"><pre class="notranslate"><code class="notranslate">{
"compilerOptions": {
"jsx": "react"
},
"files": [
"app.tsx"
]
}
</code></pre></div>
<p dir="auto">app.tsx:</p>
<div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function Test() { }
<Test></Test>"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-smi">Test</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-smi">Test</span><span class="pl-c1">></span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-smi">Test</span><span class="pl-c1">></span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto">Successful compilation, because undefined JSX.Element should be treated as any type.</p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">Throws exception:<br>
typescript/lib/tsc.js:32989<br>
throw e;<br>
^</p>
<p dir="auto">TypeError: Cannot read property 'flags' of undefined<br>
at isRelatedTo (typescript\lib\tsc.js:15954:32)<br>
at checkTypeRelatedTo (typescript\lib\tsc.js:15882:26)<br>
at checkTypeAssignableTo (typescript\lib\tsc.js:15760:20)<br>
at isTypeAssignableTo (typescript\lib\tsc.js:15754:20)<br>
at getJsxElementAttributesType (typescript\lib\tsc.js:18394:47)<br>
at checkJsxOpeningLikeElement (typescript\lib\tsc.js:18495:40)<br>
at checkJsxElement (typescript\lib\tsc.js:18200:13)<br>
at checkExpressionWorker (typescript\lib\tsc.js:20367:28)<br>
at checkExpression (typescript\lib\tsc.js:20279:42)<br>
at checkExpressionStatement (typescript\lib\tsc.js:21539:13)</p> | 1 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">A call to <code class="notranslate">axhline</code> followed by plotting with dates yields an exception.</p>
<p dir="auto">This arises when trying to reproduce <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="198766370" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/7742" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/7742/hovercard" href="https://github.com/matplotlib/matplotlib/issues/7742">#7742</a>.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
from datetime import datetime
fig, ax = plt.subplots()
ax.axhline(1.5)
ax.plot([datetime(2016, 1, 1, 0, 0, 0), datetime(2016, 1, 2, 0, 0, 0)], [1, 2])
"><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">from</span> <span class="pl-s1">datetime</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</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">ax</span>.<span class="pl-en">axhline</span>(<span class="pl-c1">1.5</span>)
<span class="pl-s1">ax</span>.<span class="pl-en">plot</span>([<span class="pl-en">datetime</span>(<span class="pl-c1">2016</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>), <span class="pl-en">datetime</span>(<span class="pl-c1">2016</span>, <span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>)], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>])</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError Traceback (most recent call last)
<ipython-input-5-02e4fc5c74c6> in <module>
5
6 ax.axhline(1.5)
----> 7 ax.plot([datetime(2016, 1, 1, 0, 0, 0), datetime(2016, 1, 2, 0, 0, 0)], [1, 2])
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_axes.py in plot(self, scalex, scaley, data, *args, **kwargs)
1743 lines = [*self._get_lines(*args, data=data, **kwargs)]
1744 for line in lines:
-> 1745 self.add_line(line)
1746 self._request_autoscale_view(scalex=scalex, scaley=scaley)
1747 return lines
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_base.py in add_line(self, line)
1975 line.set_clip_path(self.patch)
1976
-> 1977 self._update_line_limits(line)
1978 if not line.get_label():
1979 line.set_label('_line%d' % len(self.lines))
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_base.py in _update_line_limits(self, line)
1997 Figures out the data limit of the given line, updating self.dataLim.
1998 """
-> 1999 path = line.get_path()
2000 if path.vertices.size == 0:
2001 return
~/work/programs/py/mpl/matplotlib/lib/matplotlib/lines.py in get_path(self)
1009 """
1010 if self._invalidy or self._invalidx:
-> 1011 self.recache()
1012 return self._path
1013
~/work/programs/py/mpl/matplotlib/lib/matplotlib/lines.py in recache(self, always)
651 if always or self._invalidx:
652 xconv = self.convert_xunits(self._xorig)
--> 653 x = _to_unmasked_float_array(xconv).ravel()
654 else:
655 x = self._x
~/work/programs/py/mpl/matplotlib/lib/matplotlib/cbook/__init__.py in _to_unmasked_float_array(x)
1296 return np.ma.asarray(x, float).filled(np.nan)
1297 else:
-> 1298 return np.asarray(x, float)
1299
1300
~/miniconda3/envs/mpl1/lib/python3.7/site-packages/numpy/core/_asarray.py in asarray(a, dtype, order)
83
84 """
---> 85 return array(a, dtype, copy=False, order=order)
86
87
TypeError: float() argument must be a string or a number, not 'datetime.datetime'
"><pre class="notranslate"><code class="notranslate">TypeError Traceback (most recent call last)
<ipython-input-5-02e4fc5c74c6> in <module>
5
6 ax.axhline(1.5)
----> 7 ax.plot([datetime(2016, 1, 1, 0, 0, 0), datetime(2016, 1, 2, 0, 0, 0)], [1, 2])
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_axes.py in plot(self, scalex, scaley, data, *args, **kwargs)
1743 lines = [*self._get_lines(*args, data=data, **kwargs)]
1744 for line in lines:
-> 1745 self.add_line(line)
1746 self._request_autoscale_view(scalex=scalex, scaley=scaley)
1747 return lines
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_base.py in add_line(self, line)
1975 line.set_clip_path(self.patch)
1976
-> 1977 self._update_line_limits(line)
1978 if not line.get_label():
1979 line.set_label('_line%d' % len(self.lines))
~/work/programs/py/mpl/matplotlib/lib/matplotlib/axes/_base.py in _update_line_limits(self, line)
1997 Figures out the data limit of the given line, updating self.dataLim.
1998 """
-> 1999 path = line.get_path()
2000 if path.vertices.size == 0:
2001 return
~/work/programs/py/mpl/matplotlib/lib/matplotlib/lines.py in get_path(self)
1009 """
1010 if self._invalidy or self._invalidx:
-> 1011 self.recache()
1012 return self._path
1013
~/work/programs/py/mpl/matplotlib/lib/matplotlib/lines.py in recache(self, always)
651 if always or self._invalidx:
652 xconv = self.convert_xunits(self._xorig)
--> 653 x = _to_unmasked_float_array(xconv).ravel()
654 else:
655 x = self._x
~/work/programs/py/mpl/matplotlib/lib/matplotlib/cbook/__init__.py in _to_unmasked_float_array(x)
1296 return np.ma.asarray(x, float).filled(np.nan)
1297 else:
-> 1298 return np.asarray(x, float)
1299
1300
~/miniconda3/envs/mpl1/lib/python3.7/site-packages/numpy/core/_asarray.py in asarray(a, dtype, order)
83
84 """
---> 85 return array(a, dtype, copy=False, order=order)
86
87
TypeError: float() argument must be a string or a number, not 'datetime.datetime'
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong><br>
A plot, with or without the bug from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="198766370" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/7742" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/7742/hovercard" href="https://github.com/matplotlib/matplotlib/issues/7742">#7742</a>.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Matplotlib version: 3.3.0rc1.post273+gb803891a4b</li>
</ul> | <h3 dir="auto">Bug report</h3>
<p dir="auto">On master branch, plotting datetimes appears to be broken. This error bisects to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/matplotlib/matplotlib/commit/a793bde0571709597d7434c4bdbf6e3ad5cd183b/hovercard" href="https://github.com/matplotlib/matplotlib/commit/a793bde0571709597d7434c4bdbf6e3ad5cd183b"><tt>a793bde</tt></a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="593692299" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/17022" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/17022/hovercard" href="https://github.com/matplotlib/matplotlib/pull/17022">#17022</a></p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
from datetime import datetime
fig, ax = plt.subplots()
ax.plot(datetime.now(), 1)
plt.show()"><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">from</span> <span class="pl-s1">datetime</span> <span class="pl-k">import</span> <span class="pl-s1">datetime</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">ax</span>.<span class="pl-en">plot</span>(<span class="pl-s1">datetime</span>.<span class="pl-en">now</span>(), <span class="pl-c1">1</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" File "test.py", line 5, in <module>
ax.plot(datetime.now(), 1)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_axes.py", line 1745, in plot
self.add_line(line)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_base.py", line 1977, in add_line
self._update_line_limits(line)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_base.py", line 1999, in _update_line_limits
path = line.get_path()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/lines.py", line 1011, in get_path
self.recache()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/lines.py", line 653, in recache
x = _to_unmasked_float_array(xconv).ravel()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/cbook/__init__.py", line 1298, in _to_unmasked_float_array
return np.asarray(x, float)
File "/Users/dstansby/miniconda3/envs/dev/lib/python3.8/site-packages/numpy/core/_asarray.py", line 83, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'datetime.datetime'"><pre class="notranslate"><code class="notranslate"> File "test.py", line 5, in <module>
ax.plot(datetime.now(), 1)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_axes.py", line 1745, in plot
self.add_line(line)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_base.py", line 1977, in add_line
self._update_line_limits(line)
File "/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_base.py", line 1999, in _update_line_limits
path = line.get_path()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/lines.py", line 1011, in get_path
self.recache()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/lines.py", line 653, in recache
x = _to_unmasked_float_array(xconv).ravel()
File "/Users/dstansby/github/matplotlib/lib/matplotlib/cbook/__init__.py", line 1298, in _to_unmasked_float_array
return np.asarray(x, float)
File "/Users/dstansby/miniconda3/envs/dev/lib/python3.8/site-packages/numpy/core/_asarray.py", line 83, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'datetime.datetime'
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system:</li>
<li>Matplotlib version:</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li>
<li>Python version:</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul> | 1 |
<p dir="auto"><em>/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py:2728: DtypeWarning: Columns (17) have mixed types. Specify dtype option on import or set low_memory=False.<br>
interactivity=interactivity, compiler=compiler, result=result</em>)</p>
<h4 dir="auto">Problem description</h4>
<p dir="auto">I'm getting a mixed data type warning in a column. The column number is shown as 17. However it isn't clear if the error is in 18 th column considering the column index starts at 0 or 17th column by general counting.</p>
<p dir="auto">It would be better and easier if the column name also shows up in the warning message to avoid ambiguity and confusion.</p>
<p dir="auto">Thanks,<br>
Arun</p> | <p dir="auto">The output columns from <code class="notranslate">get_dummies()</code> are binary by nature, changing this default from float64 to int8 would save 7 bytes per dummy.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df=pd.DataFrame({ 'x':[1,2,3] })
pd.get_dummies(df.x)"><pre class="notranslate"><code class="notranslate">df=pd.DataFrame({ 'x':[1,2,3] })
pd.get_dummies(df.x)
</code></pre></div> | 0 |
<p dir="auto">How to debug "Multiple widgets used the same GlobalKey"?</p>
<p dir="auto">What output after press 'W' in the console, should more helpful for this?</p>
<h2 dir="auto">Logs</h2>
<p dir="auto">Another exception was thrown: Child with id 134 is invisible and should not be added to tree.<br>
Another exception was thrown: Child with id 134 is invisible and should not be added to tree.<br>
Another exception was thrown: Child with id 134 is invisible and should not be added to tree.<br>
Another exception was thrown: Multiple widgets used the same GlobalKey.<br>
Another exception was thrown: Duplicate GlobalKey detected in widget tree.</p>
<h2 dir="auto">Flutter Doctor</h2>
<p dir="auto">[✓] Flutter (on Mac OS X 10.13.2 17C88, locale en-HK, channel master)<br>
• Flutter at /Users/-/wa/flutter/flutter<br>
• Framework revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/598c0427a1f52197cceec178b084674a6367c46a/hovercard" href="https://github.com/flutter/flutter/commit/598c0427a1f52197cceec178b084674a6367c46a"><tt>598c042</tt></a> (33 hours ago), 2018-01-02 16:29:00 -0800<br>
• Engine revision <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/flutter/flutter/commit/0a93f9ffbff17ab96616fe742ffb1c82dba2868e/hovercard" href="https://github.com/flutter/flutter/commit/0a93f9ffbff17ab96616fe742ffb1c82dba2868e"><tt>0a93f9f</tt></a><br>
• Tools Dart version 1.25.0-dev.11.0<br>
• Engine Dart version 2.0.0-edge.e122f4825726035e4579471ef83848b1aa796444</p>
<p dir="auto">[✓] Android toolchain - develop for Android devices (Android SDK 26.0.3)<br>
• Android SDK at /Users/-/Library/Android/sdk<br>
• Android NDK at /Users/-/Library/Android/sdk/ndk-bundle<br>
• Platform android-26, build-tools 26.0.3<br>
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)</p>
<p dir="auto">[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)<br>
• Xcode at /Applications/Xcode.app/Contents/Developer<br>
• Xcode 9.2, Build version 9C40b<br>
• ios-deploy 1.9.2<br>
• CocoaPods version 1.3.1</p>
<p dir="auto">[✓] Android Studio (version 3.0)<br>
• Android Studio at /Applications/Android Studio.app/Contents<br>
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)</p>
<p dir="auto">[✓] IntelliJ IDEA Community Edition (version 2017.3)<br>
• Flutter plugin version 20.0.3<br>
• Dart plugin version 173.3727.108</p> | <p dir="auto">Hi folks ,<br>
flutter has crashed when i tried to run the application 'flutter run'<br>
please find the attached log</p>
<p dir="auto"><a href="https://github.com/flutter/flutter/files/2105970/flutter_01.log">flutter_01.log</a></p> | 0 |
<p dir="auto">If I type <code class="notranslate">*for</code>, or any template directive, without an attribute value, it will error with <code class="notranslate">Cannot read property 'split' of null</code>.</p>
<p dir="auto">It should give me a proper error.</p>
<p dir="auto">You might ask, "But Andrew, how can you forget to provide an attribute value?"</p>
<p dir="auto">Well, I forgot my leading quote: <code class="notranslate"><div *for=#item of items"></div></code></p> | <p dir="auto">Quick, can you spot an error? (Currently it fails silently.)</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ul>
<li *ng-for="item in items">{{item}}</li>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span> <span class="pl-c1">*ng-for</span>="<span class="pl-s">item in items</span>"<span class="pl-kos">></span>{{item}}<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<p dir="auto">There are two issues:</p>
<ul dir="auto">
<li>It is <code class="notranslate">for of</code> not <code class="notranslate">for in</code></li>
<li>It needs <code class="notranslate">var item</code> or <code class="notranslate">#item</code> instead of <code class="notranslate">item</code></li>
</ul>
<p dir="auto">The current binding expands to</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ul>
<template [ng-for]="item" [ng-for-in]="items">
<li>{{item}}</li>
</template>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">template</span> <span class="pl-c1">[ng-for]</span>="<span class="pl-s">item</span>" <span class="pl-c1">[ng-for-in]</span>="<span class="pl-s">items</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>{{item}}<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">template</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<p dir="auto">but it should have been:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ul>
<template ng-for #item [ng-for-of]="items">
<li>{{item}}</li>
</template>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">template</span> <span class="pl-c1">ng-for</span> <span class="pl-c1">#item</span> <span class="pl-c1">[ng-for-of]</span>="<span class="pl-s">items</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>{{item}}<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">template</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> it fails to match <code class="notranslate">[ng-for][ng-for-of]</code> and turns the binding to element property bindings (ie monkey patches the properties on template element) (This should have failed because it should have noticed that the element does not have <code class="notranslate">ngFor</code> or <code class="notranslate">ngForOf</code> and hence should have prevent the monkey patch)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> it then fails to notice that <code class="notranslate">item</code> is not defined (because we are trying to define it) (This should have failed!)</li>
</ul>
<h1 dir="auto">GOAL</h1>
<ul dir="auto">
<li>Identify typos in the HTML bindings and throw errors to hint to developers.</li>
</ul>
<h1 dir="auto">Strategy</h1>
<p dir="auto">The way to do this properly is to have a schema for which properties are allowed on which DOM elements. Currently we can lazy compute such as schema for DOM elements. But we can not compute them for WebComponents. So the proposal is to WebComponents publish their own schema.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div [title]="exp"></div>
<svg>
<g [x]="exp">
<svg>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[title]</span>="<span class="pl-s">exp</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">svg</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">g</span> <span class="pl-c1">[x]</span>="<span class="pl-s">exp</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">svg</span><span class="pl-kos">></span></pre></div>
<p dir="auto">We can lazy compute that <code class="notranslate">title</code> is a property of <code class="notranslate">div</code> (by noticing that <code class="notranslate">title</code> is a property of the <code class="notranslate">div</code> element). This can be done in Compiler during the compilation step. The result would be something like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var schema = {
'div': { 'title': 'title' },
'svg:g': { 'x': '@x' }
}"><pre class="notranslate"><code class="notranslate">var schema = {
'div': { 'title': 'title' },
'svg:g': { 'x': '@x' }
}
</code></pre></div>
<p dir="auto">The above would tell us that it is OK to bind to <code class="notranslate">title</code> to internal property name <code class="notranslate">title</code> on a <code class="notranslate">div</code>. (We need this as some properties don't properly rename see <code class="notranslate">{ 'inner-html': 'innerHTML', 'readonly': 'readOnly', 'tabindex': 'tabIndex'}</code> )</p>
<p dir="auto">We could also tell that <code class="notranslate">g</code> is instance of <code class="notranslate">SVGElement</code> and in that case we bind to the <code class="notranslate">x</code> attribute rather then the default <code class="notranslate">x</code> properties.</p>
<p dir="auto">But this does not work with WebComponents because during the compilation the element is in <code class="notranslate">template</code> tag and is not active, as a result we can not query its properties.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<google-youtube [video-id]="exp">"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">google-youtube</span> <span class="pl-c1">[video-id]</span>="<span class="pl-s">exp</span>"<span class="pl-kos">></span></pre></div>
<p dir="auto">there is no way for Angular to know if <code class="notranslate">videoId</code> is a valid, as a result we need to configure this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@View({
webComponents: {
'google-youtube': {'!extends': 'div', 'video-id': 'videoId'}
}
})"><pre class="notranslate">@<span class="pl-v">View</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">webComponents</span>: <span class="pl-kos">{</span>
<span class="pl-s">'google-youtube'</span>: <span class="pl-kos">{</span><span class="pl-s">'!extends'</span>: <span class="pl-s">'div'</span><span class="pl-kos">,</span> <span class="pl-s">'video-id'</span>: <span class="pl-s">'videoId'</span><span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">NOTE: <code class="notranslate">!extends</code> is used to say that all mappings from the <code class="notranslate">div</code> should be included.</p>
<p dir="auto">By adding this schema definition Angular will be able to correctly resolve web-component assignments.</p>
<h1 dir="auto">Resolution Rules</h1>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<div [foo]="exp" bar="literal">"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">[foo]</span>="<span class="pl-s">exp</span>" <span class="pl-c1">bar</span>="<span class="pl-s">literal</span>"<span class="pl-kos">></span></pre></div>
<ol dir="auto">
<li><code class="notranslate">foo</code> (property binding)
<ul dir="auto">
<li>Is in schema => then assign <code class="notranslate">foo</code> property to element</li>
<li>is in schema and is a directive => assign to <code class="notranslate">foo</code> property and to the directive</li>
<li>is not in schema but it has a directive => assign to directive only</li>
<li>is not in schema and does not have a directive => Throw an error</li>
</ul>
</li>
<li><code class="notranslate">bar</code> (just a literal)
<ul dir="auto">
<li>Is in schema => no-op (we leave the property as is)</li>
<li>is in schema and is a directive => assign the literal one-time to the directive</li>
<li>is not in schema but it has a directive => assign the literal one-time to the directive</li>
<li>is not in schema and does not have a directive => Throw an error. (Implication is that if a component wants to use attributes for CSS which are not part of DOM, they will have to be declared ahead of time in the schema.)</li>
</ul>
</li>
</ol>
<h1 dir="auto">Error handling.</h1>
<p dir="auto">With the above rules the example will produce these errors:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ul>
<li *ng-for="item in items">{{item}}</li>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span> <span class="pl-c1">*ng-for</span>="<span class="pl-s">item in items</span>"<span class="pl-kos">></span>{{item}}<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<ul>
<template [ng-for]="item" [ng-for-in]="items">
<li>{{item}}</li>
</template>
</ul>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">template</span> <span class="pl-c1">[ng-for]</span>="<span class="pl-s">item</span>" <span class="pl-c1">[ng-for-in]</span>="<span class="pl-s">items</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>{{item}}<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">template</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span></pre></div>
<ul dir="auto">
<li><code class="notranslate">Can not bind 'item' to 'ng-for' because 'ng-for' is not a property of [TemplateElement, NgFor].</code></li>
<li><code class="notranslate">Can not bind</code>items<code class="notranslate">to 'ng-for-in' because 'ng-for' is not property of [TemplateElement, NgFor].</code></li>
</ul> | 1 |
<p dir="auto">On a page with many dynamic components, it can be slow to render the page. If we can stream components down when it's ready asynchronously, we can improve the initial byte speed.</p>
<p dir="auto">See example:<br>
<a href="https://github.com/aickin/react-dom-stream">https://github.com/aickin/react-dom-stream</a></p> | <p dir="auto">I suggest to stream-render <code class="notranslate">pages > 50KB</code> <a href="https://github.com/aickin/react-dom-stream#when-should-you-use-react-dom-stream">(hypothetical stream overhead)</a> to reduce TTFB and CPU load.</p>
<ul dir="auto">
<li>Inferno offers <code class="notranslate">streamAsString</code>, <code class="notranslate">streamAsStaticMarkup</code>, <code class="notranslate">streamQueueAsString</code>, <code class="notranslate">streamQueueAsStaticMarkup</code> with <a href="https://github.com/infernojs/inferno/blob/master/packages/inferno-server/src/index.ts">inferno-server (master)</a>. As of 1.2.1, <a href="https://github.com/infernojs/inferno-website/blob/master/src/docs/api/inferno-server.md#render-stream-api">the stream renderer was experimental and 10-15% slower than <code class="notranslate">renderToString</code></a>. Should wait for 1.3 (currently <a href="https://github.com/infernojs/inferno/releases/tag/v1.3.0-rc.3">RC3</a>).</li>
<li>React with <a href="https://github.com/aickin/react-dom-stream">aickin/react-dom-stream</a>, which replaces <code class="notranslate">renderToString</code> and <code class="notranslate">renderToStaticMarkup</code>.</li>
<li><a href="https://github.com/thysultan/dio.js">thysultan/dio.js</a> with <a href="https://github.com/thysultan/dio.js#rendertostream"><code class="notranslate">renderToStream</code></a> <a href="https://github.com/thysultan/dio.js/blob/master/src/SSR/renderToStream.js">(SSR/renderToStream.js)</a>.</li>
</ul>
<p dir="auto">It would supersede <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="200807529" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/767" data-hovercard-type="pull_request" data-hovercard-url="/vercel/next.js/pull/767/hovercard" href="https://github.com/vercel/next.js/pull/767">#767</a>. Preact does not support streaming (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="128989291" data-permission-text="Title is private" data-url="https://github.com/preactjs/preact/issues/23" data-hovercard-type="issue" data-hovercard-url="/preactjs/preact/issues/23/hovercard?comment_id=226954130&comment_type=issue_comment" href="https://github.com/preactjs/preact/issues/23#issuecomment-226954130">preactjs/preact#23 (comment)</a>).</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.<br>
I tried using @types/whatwg-fetch and made sure it was in latest version and I keep getting the following error( Doesnt happen on typescript compiler 2.1.6)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4141641/26264605/4fa5261e-3c92-11e7-8b7a-ce5acf05df07.png"><img src="https://cloud.githubusercontent.com/assets/4141641/26264605/4fa5261e-3c92-11e7-8b7a-ce5acf05df07.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li class="task-list-item">
<p dir="auto"><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><br>
I upgraded to 2.3.2 which is the latest version</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</p>
</li>
<li class="task-list-item">
<p dir="auto"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.</p>
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ryan-codingintrigue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ryan-codingintrigue">@ryan-codingintrigue</a></li>
</ul>
</li>
</ul> | <p dir="auto">If you know how to fix the issue, make a pull request instead.</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/superagent</code> package 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" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/carnesen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/carnesen">@carnesen</a></li>
</ul>
</li>
</ul>
<hr>
<p dir="auto">With the merging of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="457910616" data-permission-text="Title is private" data-url="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/36282" data-hovercard-type="pull_request" data-hovercard-url="/DefinitelyTyped/DefinitelyTyped/pull/36282/hovercard" href="https://github.com/DefinitelyTyped/DefinitelyTyped/pull/36282">#36282</a>, there is a problem. When using superagent in a node-only project, the introduction of the triple-slash directive</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/// <reference lib="dom" />"><pre class="notranslate"><span class="pl-c">/// <reference lib="dom" /></span></pre></div>
<p dir="auto">results in the DOM typings being transparently added to the project. Since this is a node-only project, however, there is no DOM, and so code such as</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="window.setTimeout()"><pre class="notranslate"><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">setTimeout</span><span class="pl-kos">(</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">should result in a TypeScript error. Since the DOM typings are silently included, this is not the case, and can lead to subtle bugs in the codebase.</p>
<p dir="auto">Is there a way that we can include node-only or browser-only typings into a project, so we can choose which to use?</p> | 0 |
<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/add-font-awesome-icons-to-all-of-our-buttons#?solution=%0A%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-8%22%3E%0A%20%20%20%20%20%20%3Ch2%20class%3D%22text-primary%20text-center%22%3ECatPhotoApp%3C%2Fh2%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Ca%20href%3D%22%23%22%3E%3Cimg%20class%3D%22img-responsive%20thick-green-border%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%3E%3C%2Fa%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%20%20%3Cimg%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-running-cats%22%20class%3D%22img-responsive%22%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-primary%22%3E%3Ci%20class%3D%22fa%20fa-thumbs-up%22%3E%3C%2Fi%3E%20Like%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-info%22%3EInfo%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-4%22%3E%0A%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-block%20btn-danger%22%3EDelete%3C%2Fbutton%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%20%20%3Cp%3EThings%20cats%20%3Cspan%20class%3D%22text-danger%22%3Elove%3A%3C%2Fspan%3E%3C%2Fp%3E%0A%20%20%3Cul%3E%0A%20%20%20%20%3Cli%3Ecat%20nip%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Elaser%20pointers%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Elasagna%3C%2Fli%3E%0A%20%20%3C%2Ful%3E%0A%20%20%3Cp%3ETop%203%20things%20cats%20hate%3A%3C%2Fp%3E%0A%20%20%3Col%3E%0A%20%20%20%20%3Cli%3Eflea%20treatment%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Ethunder%3C%2Fli%3E%0A%20%20%20%20%3Cli%3Eother%20cats%3C%2Fli%3E%0A%20%20%3C%2Fol%3E%0A%20%20%3Cform%20fccfaa%3D%22%2Fsubmit-cat-photo%22%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22radio%22%20name%3D%22indoor-outdoor%22%3E%20Indoor%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22radio%22%20name%3D%22indoor-outdoor%22%3E%20Outdoor%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Loving%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Lazy%3C%2Flabel%3E%0A%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20name%3D%22personality%22%3E%20Crazy%3C%2Flabel%3E%0A%20%20%20%20%3Cinput%20type%3D%22text%22%20placeholder%3D%22cat%20photo%20URL%22%20required%3E%0A%20%20%20%20%3Cbutton%20type%3D%22submit%22%3ESubmit%3C%2Fbutton%3E%0A%20%20%3C%2Fform%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Add Font Awesome Icons to all of our Buttons</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
h2 {
font-family: Lobster, Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="col-xs-8">
<h2 class="text-primary text-center">CatPhotoApp</h2>
</div>
<div class="col-xs-4">
<a href="#"><img class="img-responsive thick-green-border" src="https://bit.ly/fcc-relaxing-cat"></a>
</div>
</div>
<img src="https://bit.ly/fcc-running-cats" class="img-responsive">
<div class="row">
<div class="col-xs-4">
<button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-info">Info</button>
</div>
<div class="col-xs-4">
<button class="btn btn-block btn-danger">Delete</button>
</div>
</div>
<p>Things cats <span class="text-danger">love:</span></p>
<ul>
<li>cat nip</li>
<li>laser pointers</li>
<li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
<li>flea treatment</li>
<li>thunder</li>
<li>other cats</li>
</ol>
<form action="/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor"> Indoor</label>
<label><input type="radio" name="indoor-outdoor"> Outdoor</label>
<label><input type="checkbox" name="personality"> Loving</label>
<label><input type="checkbox" name="personality"> Lazy</label>
<label><input type="checkbox" name="personality"> Crazy</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>
</form>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-ent">h2</span> {
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace;
}
.<span class="pl-c1">thick-green-border</span> {
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></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">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-8</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">href</span>="<span class="pl-s">#</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">img-responsive thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-running-cats</span>" <span class="pl-c1">class</span>="<span class="pl-s">img-responsive</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-primary</span>"<span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">i</span> <span class="pl-c1">class</span>="<span class="pl-s">fa fa-thumbs-up</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">i</span><span class="pl-kos">></span> Like<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-info</span>"<span class="pl-kos">></span>Info<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-4</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-block btn-danger</span>"<span class="pl-kos">></span>Delete<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Things cats <span class="pl-kos"><</span><span class="pl-ent">span</span> <span class="pl-c1">class</span>="<span class="pl-s">text-danger</span>"<span class="pl-kos">></span>love:<span class="pl-kos"></</span><span class="pl-ent">span</span><span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>cat nip<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>laser pointers<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>lasagna<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ul</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Top 3 things cats hate:<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>flea treatment<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>thunder<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">li</span><span class="pl-kos">></span>other cats<span class="pl-kos"></</span><span class="pl-ent">li</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">ol</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">form</span> <span class="pl-c1">action</span>="<span class="pl-s">/submit-cat-photo</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Indoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">radio</span>" <span class="pl-c1">name</span>="<span class="pl-s">indoor-outdoor</span>"<span class="pl-kos">></span> Outdoor<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Loving<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Lazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">label</span><span class="pl-kos">></span><span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">checkbox</span>" <span class="pl-c1">name</span>="<span class="pl-s">personality</span>"<span class="pl-kos">></span> Crazy<span class="pl-kos"></</span><span class="pl-ent">label</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">input</span> <span class="pl-c1">type</span>="<span class="pl-s">text</span>" <span class="pl-c1">placeholder</span>="<span class="pl-s">cat photo URL</span>" <span class="pl-c1">required</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">type</span>="<span class="pl-s">submit</span>"<span class="pl-kos">></span>Submit<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">form</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">Please help!</p> | <p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/make-dead-links-using-the-hash-symbol#?solution=%0A%3Clink%20href%3D%22https%3A%2F%2Ffonts.googleapis.com%2Fcss%3Ffamily%3DLobster%22%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%3E%0A%3Cstyle%3E%0A%20%20.red-text%20%7B%0A%20%20%20%20color%3A%20red%3B%0A%20%20%7D%0A%0A%20%20h2%20%7B%0A%20%20%20%20font-family%3A%20Lobster%2C%20Monospace%3B%0A%20%20%7D%0A%0A%20%20p%20%7B%0A%20%20%20%20font-size%3A%2016px%3B%0A%20%20%20%20font-family%3A%20Monospace%3B%0A%20%20%7D%0A%0A%20%20.thick-green-border%20%7B%0A%20%20%20%20border-color%3A%20green%3B%0A%20%20%20%20border-width%3A%2010px%3B%0A%20%20%20%20border-style%3A%20solid%3B%0A%20%20%20%20border-radius%3A%2050%25%3B%0A%20%20%7D%0A%0A%20%20.smaller-image%20%7B%0A%20%20%20%20width%3A%20100px%3B%0A%20%20%7D%0A%3C%2Fstyle%3E%0A%0A%3Ch2%20class%3D%22red-text%22%3ECatPhotoApp%3C%2Fh2%3E%0A%0A%3Cp%3EClick%20here%20for%20%3Ca%20%23%3D%22http%3A%2F%2Fwww.freecatphotoapp.com%22%3Ecat%20photos%3C%2Fa%3E.%3C%2Fp%3E%0A%20%20%0A%3Cimg%20class%3D%22smaller-image%20thick-green-border%22%20src%3D%22https%3A%2F%2Fbit.ly%2Ffcc-relaxing-cat%22%20alt%3D%22A%20cute%20orange%20cat%20lying%20on%20its%20back.%20%22%3E%0A%0A%3Cp%20class%3D%22red-text%22%3EKitty%20ipsum%20dolor%20sit%20amet%2C%20shed%20everywhere%20shed%20everywhere%20stretching%20attack%20your%20ankles%20chase%20the%20red%20dot%2C%20hairball%20run%20catnip%20eat%20the%20grass%20sniff.%3C%2Fp%3E%0A%3Cp%20class%3D%22red-text%22%3EPurr%20jump%20eat%20the%20grass%20rip%20the%20couch%20scratched%20sunbathe%2C%20shed%20everywhere%20rip%20the%20couch%20sleep%20in%20the%20sink%20fluffy%20fur%20catnip%20scratched.%3C%2Fp%3E%0A" rel="nofollow">Make Dead Links using the Hash Symbol</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, Monospace;
}
p {
font-size: 16px;
font-family: Monospace;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a #="http://www.freecatphotoapp.com">cat photos</a>.</p>
<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">
<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">link</span> <span class="pl-c1">href</span>="<span class="pl-s">https://fonts.googleapis.com/css?family=Lobster</span>" <span class="pl-c1">rel</span>="<span class="pl-s">stylesheet</span>" <span class="pl-c1">type</span>="<span class="pl-s">text/css</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
.<span class="pl-c1">red-text</span> {
<span class="pl-c1">color</span><span class="pl-kos">:</span> red;
}
<span class="pl-ent">h2</span> {
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Lobster<span class="pl-kos">,</span> Monospace;
}
<span class="pl-ent">p</span> {
<span class="pl-c1">font-size</span><span class="pl-kos">:</span> <span class="pl-c1">16<span class="pl-smi">px</span></span>;
<span class="pl-c1">font-family</span><span class="pl-kos">:</span> Monospace;
}
.<span class="pl-c1">thick-green-border</span> {
<span class="pl-c1">border-color</span><span class="pl-kos">:</span> green;
<span class="pl-c1">border-width</span><span class="pl-kos">:</span> <span class="pl-c1">10<span class="pl-smi">px</span></span>;
<span class="pl-c1">border-style</span><span class="pl-kos">:</span> solid;
<span class="pl-c1">border-radius</span><span class="pl-kos">:</span> <span class="pl-c1">50<span class="pl-smi">%</span></span>;
}
.<span class="pl-c1">smaller-image</span> {
<span class="pl-c1">width</span><span class="pl-kos">:</span> <span class="pl-c1">100<span class="pl-smi">px</span></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">h2</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>CatPhotoApp<span class="pl-kos"></</span><span class="pl-ent">h2</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Click here for <span class="pl-kos"><</span><span class="pl-ent">a</span> <span class="pl-c1">#</span>="<span class="pl-s">http://www.freecatphotoapp.com</span>"<span class="pl-kos">></span>cat photos<span class="pl-kos"></</span><span class="pl-ent">a</span><span class="pl-kos">></span>.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">img</span> <span class="pl-c1">class</span>="<span class="pl-s">smaller-image thick-green-border</span>" <span class="pl-c1">src</span>="<span class="pl-s">https://bit.ly/fcc-relaxing-cat</span>" <span class="pl-c1">alt</span>="<span class="pl-s">A cute orange cat lying on its back. </span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span> <span class="pl-c1">class</span>="<span class="pl-s">red-text</span>"<span class="pl-kos">></span>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.<span class="pl-kos"></</span><span class="pl-ent">p</span><span class="pl-kos">></span></pre></div>
<p dir="auto">The instructions say for me to replace the href with # but I cannot edit the code. Anytime I try to edit it, it just skips over the whole line. I even tried copy and pasting into notepad, repasting into the website but it doesn't register that I made the edit.</p> | 0 |
<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>
YES</p>
</li>
<li>
<p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:<br>
Linux localhost.localdomain 3.10.0-514.el7.x86_64 <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 Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux<br>
VERSION="7 (Core)"<br>
VERSION_ID="7"<br>
CENTOS_MANTISBT_PROJECT_VERSION="7"<br>
REDHAT_SUPPORT_PRODUCT_VERSION="7"</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br>
Source</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow version (use command below)</strong>:<br>
tf.VERSION = 1.2.1<br>
tf.GIT_VERSION = v1.2.1-0-gb4957ff<br>
tf.COMPILER_VERSION = v1.2.1-0-gb4957ff<br>
Sanity check: array([1], dtype=int32)</p>
</li>
<li>
<p dir="auto"><strong>Python version</strong>:<br>
2.7</p>
</li>
<li>
<p dir="auto"><strong>Bazel version (if compiling from source)</strong>:<br>
0.4.5</p>
</li>
<li>
<p dir="auto"><strong>CUDA/cuDNN version</strong>:<br>
CUDA8.0/CUDNN6.0</p>
</li>
<li>
<p dir="auto"><strong>GPU model and memory</strong>:<br>
GeForce GTX 1080 8113MiB</p>
</li>
<li>
<p dir="auto"><strong>Exact command to reproduce</strong>:<br>
See Source code</p>
</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">As the title states, tf.image.resize_images returns different values compared to imresize in scipy or PIL. This is important because we expect the same behaviour for migrating code originally written using scipy.misc.imresize or PIL.</p>
<h3 dir="auto">Source code / logs</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
import tensorflow as tf
from scipy.misc import imresize
image = (255 * np.random.rand(127, 127, 3)).astype(np.uint8)
resize_size = [255, 255]
image_resized = tf.image.resize_images(image, resize_size, method=tf.image.ResizeMethod.BILINEAR)
with tf.Session() as sess:
image_resized_tf = sess.run(image_resized)
image_resized_np = imresize(image, resize_size, interp='bilinear')
diff = image_resized_np.astype(np.float32) - image_resized_tf.astype(np.float32)
print('resized image diff: {}'.format(np.mean(np.abs(diff))))
# resized image diff: 31.6155033112"><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">tensorflow</span> <span class="pl-k">as</span> <span class="pl-s1">tf</span>
<span class="pl-k">from</span> <span class="pl-s1">scipy</span>.<span class="pl-s1">misc</span> <span class="pl-k">import</span> <span class="pl-s1">imresize</span>
<span class="pl-s1">image</span> <span class="pl-c1">=</span> (<span class="pl-c1">255</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">127</span>, <span class="pl-c1">127</span>, <span class="pl-c1">3</span>)).<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">uint8</span>)
<span class="pl-s1">resize_size</span> <span class="pl-c1">=</span> [<span class="pl-c1">255</span>, <span class="pl-c1">255</span>]
<span class="pl-s1">image_resized</span> <span class="pl-c1">=</span> <span class="pl-s1">tf</span>.<span class="pl-s1">image</span>.<span class="pl-en">resize_images</span>(<span class="pl-s1">image</span>, <span class="pl-s1">resize_size</span>, <span class="pl-s1">method</span><span class="pl-c1">=</span><span class="pl-s1">tf</span>.<span class="pl-s1">image</span>.<span class="pl-v">ResizeMethod</span>.<span class="pl-v">BILINEAR</span>)
<span class="pl-k">with</span> <span class="pl-s1">tf</span>.<span class="pl-v">Session</span>() <span class="pl-k">as</span> <span class="pl-s1">sess</span>:
<span class="pl-s1">image_resized_tf</span> <span class="pl-c1">=</span> <span class="pl-s1">sess</span>.<span class="pl-en">run</span>(<span class="pl-s1">image_resized</span>)
<span class="pl-s1">image_resized_np</span> <span class="pl-c1">=</span> <span class="pl-en">imresize</span>(<span class="pl-s1">image</span>, <span class="pl-s1">resize_size</span>, <span class="pl-s1">interp</span><span class="pl-c1">=</span><span class="pl-s">'bilinear'</span>)
<span class="pl-s1">diff</span> <span class="pl-c1">=</span> <span class="pl-s1">image_resized_np</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>) <span class="pl-c1">-</span> <span class="pl-s1">image_resized_tf</span>.<span class="pl-en">astype</span>(<span class="pl-s1">np</span>.<span class="pl-s1">float32</span>)
<span class="pl-en">print</span>(<span class="pl-s">'resized image diff: {}'</span>.<span class="pl-en">format</span>(<span class="pl-s1">np</span>.<span class="pl-en">mean</span>(<span class="pl-s1">np</span>.<span class="pl-en">abs</span>(<span class="pl-s1">diff</span>))))
<span class="pl-c"># resized image diff: 31.6155033112</span></pre></div> | <p dir="auto">The tf.image.resize_images() seems to use a strange padding option, which one is not clear to me at the moment. I tried to replicate the bilinear interpolation with various padding options in for example skimage, but cant replicate the behaviour.</p>
<p dir="auto">It would be nice to be able to set the padding option used in tf.images.resize_images(), or document what is used at least.</p>
<p dir="auto">Example code for comparing the results of tf.images.resize_images() and skimage transform:<br>
Looks like tf.images.resize_images() does some weird unsymmetrical padding!?<br>
Using tensorflow 0.12.1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import tensorflow as tf
import tensorlayer as tl
import numpy as np
import skimage
from scipy.misc import imread, imresize, imsave
sess = tf.InteractiveSession()
#create simple test image
imsize = 3
xa, ya = np.ogrid[:imsize, :imsize]
img = np.repeat((xa + ya)[..., np.newaxis], 3, 2) / float(imsize + imsize)
x = tf.placeholder(tf.float32, [1, imsize, imsize, 3])
y = tf.image.resize_images(x,(imsize*3, imsize*3))
sess.run(tf.global_variables_initializer())
upsampled_tf_result = sess.run(y, feed_dict={x: [img]})
upsampled_skimage_result = skimage.transform.rescale(img,
3,
mode='symmetric',
cval=0,
order=1,
preserve_range=False)
print(np.allclose(upsampled_tf_result, upsampled_skimage_result))
imsave('upsampled_tf_result.png', np.squeeze(upsampled_tf_result))
imsave('upsampled_skimage_result.png', upsampled_skimage_result)"><pre class="notranslate"><code class="notranslate">import tensorflow as tf
import tensorlayer as tl
import numpy as np
import skimage
from scipy.misc import imread, imresize, imsave
sess = tf.InteractiveSession()
#create simple test image
imsize = 3
xa, ya = np.ogrid[:imsize, :imsize]
img = np.repeat((xa + ya)[..., np.newaxis], 3, 2) / float(imsize + imsize)
x = tf.placeholder(tf.float32, [1, imsize, imsize, 3])
y = tf.image.resize_images(x,(imsize*3, imsize*3))
sess.run(tf.global_variables_initializer())
upsampled_tf_result = sess.run(y, feed_dict={x: [img]})
upsampled_skimage_result = skimage.transform.rescale(img,
3,
mode='symmetric',
cval=0,
order=1,
preserve_range=False)
print(np.allclose(upsampled_tf_result, upsampled_skimage_result))
imsave('upsampled_tf_result.png', np.squeeze(upsampled_tf_result))
imsave('upsampled_skimage_result.png', upsampled_skimage_result)
</code></pre></div> | 1 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [Version 10.0.18363.720]
PowerToys version: v0:19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: [Version 10.0.18363.720]
PowerToys version: v0:19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Create and apply layout</li>
<li>Hide taskbar</li>
<li>Drag a window to a zone bordering the taskbar</li>
<li>Launch Zones Editor (to reapply layout)</li>
<li>Drag a window to a zone bordering the taskbar</li>
<li>Unhide taskbar</li>
<li>(repeat 3-5)</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">This was the behavior prior to v0.19.0</p>
<ul dir="auto">
<li>Stretch layout to fill available screen (in-/excluding where taskbar would be or not, respectively) <em>immediately after toggling taskbar</em></li>
<li>Zones Preview accurately represent layout</li>
</ul>
<h1 dir="auto">Actual behavior</h1>
<ul dir="auto">
<li>Keeps previous stretching when toggling taskbar.<br>
Will only re-stretch when re-applying layout after switching to a different one.</li>
<li>Area where taskbar would be is blank in zones preview, no matter if the layout includes the area (see above) or not.</li>
</ul>
<h1 dir="auto">Screenshots</h1>
<p dir="auto">Window not stretched into freed area after hiding taskbar (layout not reapplied)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6250290/86354175-d38bda00-bc68-11ea-99c9-287cc6541c1e.png"><img src="https://user-images.githubusercontent.com/6250290/86354175-d38bda00-bc68-11ea-99c9-287cc6541c1e.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Window stretched under taskbar (layout not reapplied after unhiding taskbar)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6250290/86354221-e9999a80-bc68-11ea-9244-b4be53a47348.png"><img src="https://user-images.githubusercontent.com/6250290/86354221-e9999a80-bc68-11ea-9244-b4be53a47348.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Area under taskbar blank in preview - layout <strong>was</strong> reapplied, so window would stretch correctly, but preview is not showing this<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6250290/86353808-27e28a00-bc68-11ea-90f2-46445bdd5a85.png"><img src="https://user-images.githubusercontent.com/6250290/86353808-27e28a00-bc68-11ea-90f2-46445bdd5a85.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6250290/86353775-1b5e3180-bc68-11ea-8df9-509bd6c4a6f3.png"><img src="https://user-images.githubusercontent.com/6250290/86353775-1b5e3180-bc68-11ea-8df9-509bd6c4a6f3.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: 10.0.18363.900
PowerToys version: 0.19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Monitor(s): 2 side-by-side 4K monitors (one set to display scaling 100% and the other to 125%)"><pre class="notranslate"><code class="notranslate">Windows build number: 10.0.18363.900
PowerToys version: 0.19.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones
Monitor(s): 2 side-by-side 4K monitors (one set to display scaling 100% and the other to 125%)
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<ul dir="auto">
<li>Set Windows taskbar location to <em>Top</em></li>
<li>Snap a window to a FancyZone (2 priority grid zones in my case)</li>
</ul>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">The window should snap to the <em>full-height</em> of the FancyZone <em>below</em> the task bar</p>
<h1 dir="auto">Actual behavior</h1>
<ul dir="auto">
<li>The window snaps <em>behind</em> the task bar (as shown with the green arrows)</li>
<li>The window leaves a <em>gap</em> underneath each window (as shown with the red arrows), which exposes the desktop background underneath</li>
</ul>
<h1 dir="auto">Screenshots</h1>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/25905330/86352863-c110a100-bc66-11ea-95ff-f5a876357ef6.png"><img src="https://user-images.githubusercontent.com/25905330/86352863-c110a100-bc66-11ea-95ff-f5a876357ef6.png" alt="image" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">I have a deployment where I need to be able to provide a password for sudo and I don't want to use the -K option as we like to fire up the deployment process complete automatically.</p>
<p dir="auto">It would be nice if I have the option to specify the sudo_pass in the inventory file.</p> | <p dir="auto">When providing ansible_ssh_pass as a hostvar, such as from an inventory script, ansible should be capable of utilizing the already provided password for passworded sudo.</p> | 1 |
<p dir="auto">I have a tab component inside a modal, when i change the tab modal 'show' event trigger.</p>
<p dir="auto"><a href="http://jsfiddle.net/photonx/7zP8f/1/" rel="nofollow">http://jsfiddle.net/photonx/7zP8f/1/</a></p> | <p dir="auto">I have built this issue to discuss the approach for supporting RTL in the upcoming 3.1 version. Although it's too early for implementation code and pull requests, choosing the right approach now helps in the planning, and directing the efforts towards a specific goal (as many people have already volunteered for the task).</p>
<p dir="auto">I think the biggest issue is the lack of a standard, or best practices for adding RTL support for themes and pages. First, I want to review some of the current practices for RTL support in different parts of the web.</p>
<ul dir="auto">
<li>WordPress: uses RTL overrides, in a single seperate file named rtl.css, auto-loaded by WordPress in right-to-left pages. <a href="http://codex.wordpress.org/Right-to-Left_Language_Support" rel="nofollow">explained here</a></li>
<li>Drupal 7: uses RTL overrides, in a separate file with -rtl.css prefix for every css file loaded by themes, etc. again, auto-loaded in right-to-left pages. <a href="https://drupal.org/node/222782" rel="nofollow">explained here</a></li>
<li>Drupal 8: favors RTL overrides prefixed by <code class="notranslate">[dir="rtl"]</code>, alongside the base css (no separate files). explained <a href="https://drupal.org/node/2032405" rel="nofollow">here</a>; also, see the <a href="https://drupal.org/node/2015789" rel="nofollow">related discussion</a></li>
<li>RTL-This (a website dedicated to turning everything RTL): Has an article comparing different ways to add RTL to css <a href="http://rtl-this.com/tutorial/3-different-ways-rtl-your-css" rel="nofollow">here</a>.</li>
<li>Another article by a css-expert (Jens O. Meiert): ... Indicate directionality by the dir attribute on the html element ... Avoid a separate RTL style sheet; find all declarations that specify anything specific to the left or right ... customize those declarations, and use some hook to apply them—like e.g. setting id="rtl" on the body element (well, you really want to use html[dir="rtl"]). article <a href="http://meiert.com/en/blog/20081211/5-rtl-tips/" rel="nofollow">here</a>.</li>
<li>Another popular approach is to prefix all RTL rules with a .rtl class (and possibly .ltr for base rules, to prevent overrides). per <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4174374" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/3133" data-hovercard-type="issue" data-hovercard-url="/twbs/bootstrap/issues/3133/hovercard" href="https://github.com/twbs/bootstrap/issues/3133">#3133</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="9581383" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/6423" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/6423/hovercard" href="https://github.com/twbs/bootstrap/pull/6423">#6423</a>, and the <a href="https://github.com/danielkatz/less-bidi">less-bidi</a> model.</li>
</ul>
<p dir="auto">I'd suggest using an approach than could satisfy these different requirements by simple customizations.</p>
<ol dir="auto">
<li>I suggest keeping the RTL rules in a separate css file. Clearly, merging them into a single stylesheet (when required) would be a single copy-paste at the end of the base css.</li>
<li>I suggest using overrides (vs mixins, or automated tools) in a separate .less file. Then, adding any combination of prefixes, or <code class="notranslate">[dir=</code> rules is as easy as a few lines of .less code. example:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[dir="rtl"] {
@include "bootstrap-rtl.less"
}"><pre class="notranslate"><code class="notranslate">[dir="rtl"] {
@include "bootstrap-rtl.less"
}
</code></pre></div>
<p dir="auto">or</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".ltr {
@include "bootstrap.less";
}
.rtl {
@include "bootstrap-rtl.less";
}"><pre class="notranslate"><code class="notranslate">.ltr {
@include "bootstrap.less";
}
.rtl {
@include "bootstrap-rtl.less";
}
</code></pre></div> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.175"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.175
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Even installing Ubuntu and Ubuntu 16LTS, the New Windows terminal does not recognize, does not appear the options to open the them in the tools menu, only appears PowerShell and the old Windows CMD.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">It is expected that the options of Ubuntu or any other system appear when choosing the terminal.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/f6d0944b3f7b3a389af429ed8bba3cfc82ee2dc721f4861d7b0dd5e49e4c7b73/68747470733a2f2f692e696d6775722e636f6d2f775a7374617a752e706e67"><img src="https://camo.githubusercontent.com/f6d0944b3f7b3a389af429ed8bba3cfc82ee2dc721f4861d7b0dd5e49e4c7b73/68747470733a2f2f692e696d6775722e636f6d2f775a7374617a752e706e67" alt="Alt Text" data-canonical-src="https://i.imgur.com/wZstazu.png" style="max-width: 100%;"></a></p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">The terminals of the systems simply do not appear in the new terminal.</p> | <p dir="auto">Ubuntu doesn't show up in the terminal. Its installed on my machine but the new terminal is recognizing it.</p> | 1 |
<p dir="auto">eslint v8 was just released; the <code class="notranslate">peerDependencies</code> needs to be updated to include <code class="notranslate">^8</code>.</p> | <p dir="auto">ESLint has released the first beta versions of v8 <g-emoji class="g-emoji" alias="tada" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png">🎉</g-emoji><br>
<a href="https://eslint.org/blog/2021/08/eslint-v8.0.0-beta.0-released" rel="nofollow">https://eslint.org/blog/2021/08/eslint-v8.0.0-beta.0-released</a><br>
<a href="https://eslint.org/blog/2021/08/eslint-v8.0.0-beta.1-released" rel="nofollow">https://eslint.org/blog/2021/08/eslint-v8.0.0-beta.1-released</a><br>
<a href="https://eslint.org/blog/2021/09/eslint-v8.0.0-beta.2-released" rel="nofollow">https://eslint.org/blog/2021/09/eslint-v8.0.0-beta.2-released</a><br>
<a href="https://eslint.org/blog/2021/09/eslint-v8.0.0-rc.0-released" rel="nofollow">https://eslint.org/blog/2021/09/eslint-v8.0.0-rc.0-released</a></p>
<p dir="auto">It would be awesome to have official ESLint 8 support. 👊<br>
I'm happy to help where I can of course 🙂</p> | 1 |
<p dir="auto">When an empty array is bound to the entity type (multiple: true), an error raises.</p>
<p dir="auto">It comes from the ORMQueryBuilderLoader.php when it loads entities:</p>
<p dir="auto">->setParameter($parameter, $values, Connection::PARAM_STR_ARRAY)</p>
<p dir="auto">The test case here:</p>
<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/vlechemin/symfony/commit/2b02323637a425aefa0b69879d8135fdf0b3ddd7/hovercard" href="https://github.com/vlechemin/symfony/commit/2b02323637a425aefa0b69879d8135fdf0b3ddd7">vlechemin@<tt>2b02323</tt></a></p> | <p dir="auto">This is my form element:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$form->add($this->factory->createNamed('entity', 'job', null, array(
'class' => 'PDB\PlanningBundle\Entity\Job',
'property' => 'name',
'required' => false,
'multiple' => true,
'query_builder' => function(JobRepository $er) use ($project) {
..."><pre class="notranslate"><code class="notranslate">$form->add($this->factory->createNamed('entity', 'job', null, array(
'class' => 'PDB\PlanningBundle\Entity\Job',
'property' => 'name',
'required' => false,
'multiple' => true,
'query_builder' => function(JobRepository $er) use ($project) {
...
</code></pre></div>
<p dir="auto">If there is is nothing selected in this choice field, the field name isn't submitted and <code class="notranslate">null</code> is bound to the field. All leads to the following stack trace:<br>
<a href="https://gist.github.com/1903637">https://gist.github.com/1903637</a></p>
<p dir="auto">In my opinion this is a problem of <code class="notranslate">ChoicesToValuesTransformer</code> in <code class="notranslate">reverseTransform</code> method where it should be</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (empty($array)) {
return array();
}"><pre class="notranslate"><code class="notranslate">if (empty($array)) {
return array();
}
</code></pre></div>
<p dir="auto">instead of</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if (null === $array) {
return array();
}"><pre class="notranslate"><code class="notranslate">if (null === $array) {
return array();
}
</code></pre></div>
<p dir="auto">and I'd add this to the tests:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public function testReverseTransformEmptyArray()
{
$this->assertSame(array(), $this->transformer->reverseTransform(array()));
}"><pre class="notranslate"><code class="notranslate">public function testReverseTransformEmptyArray()
{
$this->assertSame(array(), $this->transformer->reverseTransform(array()));
}
</code></pre></div>
<p dir="auto">This fixes my problem at least.<br>
Do you agree? Then I'd submit a patch. How to add a pull request to this ticket?</p> | 1 |
<p dir="auto">Pretty sure that "slasher([1, 2, 3], 2, [3]) should return [3]."</p>
<p dir="auto">should actually be</p>
<p dir="auto">"slasher([1, 2, 3], 2) should return [3]."</p> | <p dir="auto">I think this is a Typo the that at first lead me to confusion<br>
in the Bonfire: Slasher Flick the Asserts to complete the Bonfire said<br>
slasher([1, 2, 3], 2, [3]) should return [3].<br>
slasher([1, 2, 3], 0) should return [1, 2, 3].<br>
slasher([1, 2, 3], 9) should return [].</p>
<p dir="auto">and I think the first one should say slasher([1, 2, 3], 2 ) should return [3]</p> | 1 |
Subsets and Splits