text1
stringlengths 0
536k
| text2
stringlengths 0
536k
| label
int64 0
1
|
---|---|---|
<p dir="auto">Badge on default button is white on white!</p>
<p dir="auto">Exemple :<br>
<a href="http://jsfiddle.net/LJ75v/" rel="nofollow">http://jsfiddle.net/LJ75v/</a></p>
<p dir="auto">Ligne 2345 on bootstrap.css:<br>
.btn-default .badge {<br>
color: #ffffff;<br>
background-color: #fff;<br>
}</p>
<p dir="auto">It must be :<br>
.btn-default .badge {<br>
color: #ffffff;<br>
background-color: #999999;<br>
}</p> | <p dir="auto">There appears to be an issue with a badge on a btn btn-default where the badge background color is white and the color is also white.</p>
<p dir="auto">Ex: <a href="http://plnkr.co/edit/NVcsmFOFRKRIWsPsoKBc?p=preview" rel="nofollow">http://plnkr.co/edit/NVcsmFOFRKRIWsPsoKBc?p=preview</a></p>
<p dir="auto">Introduced from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="21742731" data-permission-text="Title is private" data-url="https://github.com/twbs/bootstrap/issues/11268" data-hovercard-type="pull_request" data-hovercard-url="/twbs/bootstrap/pull/11268/hovercard" href="https://github.com/twbs/bootstrap/pull/11268">#11268</a></p> | 1 |
<p dir="auto">This RFC is regarding distributing typedef files with React. While this would be generally useful (and possibly useful to extract the <a href="https://github.com/facebook/flow/blob/master/lib/react.js">React.js definitions</a> out of flow itself (especially for renderer-implementers), it would be especially nice for renderer implementers.</p>
<p dir="auto">(I have manually extracted the minimal required for a react renderer in <a href="https://github.com/iamdustan/tiny-react-renderer/tree/fiber/src/fiber-types">https://github.com/iamdustan/tiny-react-renderer/tree/fiber/src/fiber-types</a>)</p>
<p dir="auto">Possible solutions:</p>
<ul dir="auto">
<li>ensure <code class="notranslate">flow gen-flow-files ....</code> works and generates all of the <code class="notranslate">*.js.flow</code> files in packages</li>
<li>add a custom step to the build tooling to include the public renderer type def for each public package + a minimal typedef for <code class="notranslate">ReactFiberReconciler.js</code> in each package that receives that file.</li>
</ul> | <p dir="auto">As per comments from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/samwgoldman/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/samwgoldman">@samwgoldman</a> in the following issue, the flow built-in react type definitions are lagging behind and the recommendation is that the definitions be included and maintained in the react repo itself:</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="116360734" data-permission-text="Title is private" data-url="https://github.com/facebook/flow/issues/1081" data-hovercard-type="issue" data-hovercard-url="/facebook/flow/issues/1081/hovercard" href="https://github.com/facebook/flow/issues/1081">facebook/flow#1081</a></p>
<p dir="auto">The flow maintainers are doing an excellent job of implementing new JS syntax/features. It would be great if they did not also need to maintain this file:</p>
<p dir="auto"><a href="https://github.com/facebook/flow/blob/master/lib/react.js">https://github.com/facebook/flow/blob/master/lib/react.js</a></p>
<p dir="auto">One could, of course, also relegate this definition to yet another repo.</p> | 1 |
<p dir="auto">Calling <code class="notranslate">atom.cmd filename</code> on windows, or opening with <code class="notranslate">node atom.js filename</code> , always ends up with UTF-8 encoding, even if its not. Auto-detect doesn't seem to be triggered when opened from arguments.</p>
<p dir="auto">However, manually triggering auto-detect seems to do the trick.</p>
<p dir="auto">But this is serious, as there is no warning of any kind, and the file will end up being filled up with garbage due to wrong encoding, with no way to reverse it.</p> | <p dir="auto">Atom should try to guess the encoding when opening a file as best as it can and only if it fails, fallback to the default encoding option (which was implemented a few days ago).</p>
<p dir="auto">Missing libraries (that would presumably help with this issue) shouldn't be a factor here. If there isn't any library that could be used, one should be created from 0 or maybe patch the one that could get the job done with as little amount of work as possible.</p>
<p dir="auto">The main issue here is that Atom will try to open files in UTF8 (or the default encoding, if set), which will potentially break any non-UTF8 files. And that, imho, is not an acceptable/valid behavior for any editor.</p>
<p dir="auto">This should be tagged as 1.0 blocker.</p>
<p dir="auto">Also, maybe this could help:</p>
<ul dir="auto">
<li><a href="https://github.com/mooz/node-icu-charset-detector">https://github.com/mooz/node-icu-charset-detector</a></li>
<li><a href="https://www.npmjs.org/package/detect-encoding" rel="nofollow">https://www.npmjs.org/package/detect-encoding</a></li>
</ul> | 1 |
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.3.3 (latest released)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">I trying to make custom VerticaToGoogleSheetsOperator to work with Vertica database & GoogleSheets, I've installed all the required provider and successfully tested the connection. When I run VerticaToGoogleSheetsOperator I got this error message</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Error: The connection type is not supported by VerticaToGoogleSheetsOperator. The associated hook should be a subclass of 'DbApiHook'. Got VerticaHook"><pre class="notranslate"><span class="pl-v">Error</span>: <span class="pl-v">The</span> <span class="pl-s1">connection</span> <span class="pl-s1">type</span> <span class="pl-c1">is</span> <span class="pl-c1">not</span> <span class="pl-s1">supported</span> <span class="pl-s1">by</span> <span class="pl-v">VerticaToGoogleSheetsOperator</span>. <span class="pl-v">The</span> <span class="pl-s1">associated</span> <span class="pl-s1">hook</span> <span class="pl-s1">should</span> <span class="pl-s1">be</span> <span class="pl-s1">a</span> <span class="pl-s1">subclass</span> <span class="pl-s1">of</span> <span class="pl-s">'DbApiHook'</span>. <span class="pl-v">Got</span> <span class="pl-v">VerticaHook</span></pre></div>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">I think it's a bug in <a href="https://github.com/apache/airflow/blob/faf3c4fe474733965ab301465f695e3cc311169c/airflow/providers/common/sql/operators/sql.py#L94">BaseSQLOperator</a> on line 94 and I know how to fix it with the <code class="notranslate">issubclass</code> check.</p>
<h3 dir="auto">How to reproduce</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import logging
import datetime
import numbers
from contextlib import closing
from typing import Any, Iterable, Mapping, Optional, Sequence, Union
from airflow.operators.sql import BaseSQLOperator
from airflow.providers.google.suite.hooks.sheets import GSheetsHook
logger = logging.getLogger(__name__)
class VerticaToGoogleSheetsOperator(BaseSQLOperator):
"""
Copy data from SQL results to provided Google Spreadsheet;
:param sql: The SQL to execute;
:param spreadsheet_id: The Google Sheet ID to interact with;
:param conn_id: the connection ID used to connect to the database;
:param parameters: The parameters to render the SQL query with;
:param spreadsheet_range: The A1 notation of the values to retrieve;
:param gcp_conn_id: The connection ID to use when fetching connection info;
"""
template_fields: Sequence[str] = (
"sql",
"spreadsheet_id",
"spreadsheet_range",
)
template_fields_renderers = {"sql": "sql"}
template_ext: Sequence[str] = (".sql",)
ui_color = "#a0e08c"
def __init__(
self,
*,
sql: str,
spreadsheet_id: str,
spreadsheet_range: str,
sql_conn_id: str = "dwh",
append_values: bool = False,
clear_sheet: bool = True,
gcp_conn_id: str = "google_sheets",
parameters: Optional[Union[Mapping, Iterable]] = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
self.sql = sql
self.conn_id = sql_conn_id
self.parameters = parameters
self.gcp_conn_id = gcp_conn_id
self.clear_sheet = clear_sheet
self.append_values = append_values
self.spreadsheet_id = spreadsheet_id
self.spreadsheet_range = spreadsheet_range
@staticmethod
def _data_prep(data):
for row in data:
item_list = []
for item in row:
if isinstance(item, (datetime.date, datetime.datetime)):
item = item.isoformat()
elif isinstance(item, int): # To exclude int from the number check.
pass
elif isinstance(item, numbers.Number):
item = float(item)
item_list.append(item)
yield item_list
def _get_data(self):
hook = self.get_db_hook()
with closing(hook.get_conn()) as conn, closing(conn.cursor()) as cur:
self.log.info("Executing query")
cur.execute(self.sql, self.parameters or ())
yield [field[0] for field in cur.description]
yield from self._data_prep(cur.fetchall())
def execute(self, context: Any) -> None:
self.log.info("Getting data")
values = list(self._get_data())
self.log.info("Connecting to Google")
sheet_hook = GSheetsHook(gcp_conn_id=self.gcp_conn_id)
self.log.info(f"Uploading data to https://docs.google.com/spreadsheets/d/{self.spreadsheet_id}")
if self.append_values:
sheet_hook.append_values(
spreadsheet_id=self.spreadsheet_id,
range_=self.spreadsheet_range,
values=values,
)
else:
if self.clear_sheet:
sheet_hook.clear(spreadsheet_id=self.spreadsheet_id, range_=self.spreadsheet_range)
sheet_hook.update_values(
spreadsheet_id=self.spreadsheet_id,
range_=self.spreadsheet_range,
values=values,
)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">logging</span>
<span class="pl-k">import</span> <span class="pl-s1">datetime</span>
<span class="pl-k">import</span> <span class="pl-s1">numbers</span>
<span class="pl-k">from</span> <span class="pl-s1">contextlib</span> <span class="pl-k">import</span> <span class="pl-s1">closing</span>
<span class="pl-k">from</span> <span class="pl-s1">typing</span> <span class="pl-k">import</span> <span class="pl-v">Any</span>, <span class="pl-v">Iterable</span>, <span class="pl-v">Mapping</span>, <span class="pl-v">Optional</span>, <span class="pl-v">Sequence</span>, <span class="pl-v">Union</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">operators</span>.<span class="pl-s1">sql</span> <span class="pl-k">import</span> <span class="pl-v">BaseSQLOperator</span>
<span class="pl-k">from</span> <span class="pl-s1">airflow</span>.<span class="pl-s1">providers</span>.<span class="pl-s1">google</span>.<span class="pl-s1">suite</span>.<span class="pl-s1">hooks</span>.<span class="pl-s1">sheets</span> <span class="pl-k">import</span> <span class="pl-v">GSheetsHook</span>
<span class="pl-s1">logger</span> <span class="pl-c1">=</span> <span class="pl-s1">logging</span>.<span class="pl-en">getLogger</span>(<span class="pl-s1">__name__</span>)
<span class="pl-k">class</span> <span class="pl-v">VerticaToGoogleSheetsOperator</span>(<span class="pl-v">BaseSQLOperator</span>):
<span class="pl-s">"""</span>
<span class="pl-s"> Copy data from SQL results to provided Google Spreadsheet;</span>
<span class="pl-s"> :param sql: The SQL to execute;</span>
<span class="pl-s"> :param spreadsheet_id: The Google Sheet ID to interact with;</span>
<span class="pl-s"> :param conn_id: the connection ID used to connect to the database;</span>
<span class="pl-s"> :param parameters: The parameters to render the SQL query with;</span>
<span class="pl-s"> :param spreadsheet_range: The A1 notation of the values to retrieve;</span>
<span class="pl-s"> :param gcp_conn_id: The connection ID to use when fetching connection info;</span>
<span class="pl-s"> """</span>
<span class="pl-s1">template_fields</span>: <span class="pl-v">Sequence</span>[<span class="pl-s1">str</span>] <span class="pl-c1">=</span> (
<span class="pl-s">"sql"</span>,
<span class="pl-s">"spreadsheet_id"</span>,
<span class="pl-s">"spreadsheet_range"</span>,
)
<span class="pl-s1">template_fields_renderers</span> <span class="pl-c1">=</span> {<span class="pl-s">"sql"</span>: <span class="pl-s">"sql"</span>}
<span class="pl-s1">template_ext</span>: <span class="pl-v">Sequence</span>[<span class="pl-s1">str</span>] <span class="pl-c1">=</span> (<span class="pl-s">".sql"</span>,)
<span class="pl-s1">ui_color</span> <span class="pl-c1">=</span> <span class="pl-s">"#a0e08c"</span>
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(
<span class="pl-s1">self</span>,
<span class="pl-c1">*</span>,
<span class="pl-s1">sql</span>: <span class="pl-s1">str</span>,
<span class="pl-s1">spreadsheet_id</span>: <span class="pl-s1">str</span>,
<span class="pl-s1">spreadsheet_range</span>: <span class="pl-s1">str</span>,
<span class="pl-s1">sql_conn_id</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-s">"dwh"</span>,
<span class="pl-s1">append_values</span>: <span class="pl-s1">bool</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>,
<span class="pl-s1">clear_sheet</span>: <span class="pl-s1">bool</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>,
<span class="pl-s1">gcp_conn_id</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-s">"google_sheets"</span>,
<span class="pl-s1">parameters</span>: <span class="pl-v">Optional</span>[<span class="pl-v">Union</span>[<span class="pl-v">Mapping</span>, <span class="pl-v">Iterable</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-c1">-></span> <span class="pl-c1">None</span>:
<span class="pl-en">super</span>().<span class="pl-en">__init__</span>(<span class="pl-c1">**</span><span class="pl-s1">kwargs</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">sql</span> <span class="pl-c1">=</span> <span class="pl-s1">sql</span>
<span class="pl-s1">self</span>.<span class="pl-s1">conn_id</span> <span class="pl-c1">=</span> <span class="pl-s1">sql_conn_id</span>
<span class="pl-s1">self</span>.<span class="pl-s1">parameters</span> <span class="pl-c1">=</span> <span class="pl-s1">parameters</span>
<span class="pl-s1">self</span>.<span class="pl-s1">gcp_conn_id</span> <span class="pl-c1">=</span> <span class="pl-s1">gcp_conn_id</span>
<span class="pl-s1">self</span>.<span class="pl-s1">clear_sheet</span> <span class="pl-c1">=</span> <span class="pl-s1">clear_sheet</span>
<span class="pl-s1">self</span>.<span class="pl-s1">append_values</span> <span class="pl-c1">=</span> <span class="pl-s1">append_values</span>
<span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_id</span> <span class="pl-c1">=</span> <span class="pl-s1">spreadsheet_id</span>
<span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_range</span> <span class="pl-c1">=</span> <span class="pl-s1">spreadsheet_range</span>
<span class="pl-en">@<span class="pl-s1">staticmethod</span></span>
<span class="pl-k">def</span> <span class="pl-en">_data_prep</span>(<span class="pl-s1">data</span>):
<span class="pl-k">for</span> <span class="pl-s1">row</span> <span class="pl-c1">in</span> <span class="pl-s1">data</span>:
<span class="pl-s1">item_list</span> <span class="pl-c1">=</span> []
<span class="pl-k">for</span> <span class="pl-s1">item</span> <span class="pl-c1">in</span> <span class="pl-s1">row</span>:
<span class="pl-k">if</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">item</span>, (<span class="pl-s1">datetime</span>.<span class="pl-s1">date</span>, <span class="pl-s1">datetime</span>.<span class="pl-s1">datetime</span>)):
<span class="pl-s1">item</span> <span class="pl-c1">=</span> <span class="pl-s1">item</span>.<span class="pl-en">isoformat</span>()
<span class="pl-k">elif</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">item</span>, <span class="pl-s1">int</span>): <span class="pl-c"># To exclude int from the number check.</span>
<span class="pl-k">pass</span>
<span class="pl-k">elif</span> <span class="pl-en">isinstance</span>(<span class="pl-s1">item</span>, <span class="pl-s1">numbers</span>.<span class="pl-v">Number</span>):
<span class="pl-s1">item</span> <span class="pl-c1">=</span> <span class="pl-en">float</span>(<span class="pl-s1">item</span>)
<span class="pl-s1">item_list</span>.<span class="pl-en">append</span>(<span class="pl-s1">item</span>)
<span class="pl-k">yield</span> <span class="pl-s1">item_list</span>
<span class="pl-k">def</span> <span class="pl-en">_get_data</span>(<span class="pl-s1">self</span>):
<span class="pl-s1">hook</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">get_db_hook</span>()
<span class="pl-k">with</span> <span class="pl-en">closing</span>(<span class="pl-s1">hook</span>.<span class="pl-en">get_conn</span>()) <span class="pl-k">as</span> <span class="pl-s1">conn</span>, <span class="pl-en">closing</span>(<span class="pl-s1">conn</span>.<span class="pl-en">cursor</span>()) <span class="pl-k">as</span> <span class="pl-s1">cur</span>:
<span class="pl-s1">self</span>.<span class="pl-s1">log</span>.<span class="pl-en">info</span>(<span class="pl-s">"Executing query"</span>)
<span class="pl-s1">cur</span>.<span class="pl-en">execute</span>(<span class="pl-s1">self</span>.<span class="pl-s1">sql</span>, <span class="pl-s1">self</span>.<span class="pl-s1">parameters</span> <span class="pl-c1">or</span> ())
<span class="pl-k">yield</span> [<span class="pl-s1">field</span>[<span class="pl-c1">0</span>] <span class="pl-k">for</span> <span class="pl-s1">field</span> <span class="pl-c1">in</span> <span class="pl-s1">cur</span>.<span class="pl-s1">description</span>]
<span class="pl-k">yield</span> <span class="pl-k">from</span> <span class="pl-s1">self</span>.<span class="pl-en">_data_prep</span>(<span class="pl-s1">cur</span>.<span class="pl-en">fetchall</span>())
<span class="pl-k">def</span> <span class="pl-en">execute</span>(<span class="pl-s1">self</span>, <span class="pl-s1">context</span>: <span class="pl-v">Any</span>) <span class="pl-c1">-></span> <span class="pl-c1">None</span>:
<span class="pl-s1">self</span>.<span class="pl-s1">log</span>.<span class="pl-en">info</span>(<span class="pl-s">"Getting data"</span>)
<span class="pl-s1">values</span> <span class="pl-c1">=</span> <span class="pl-en">list</span>(<span class="pl-s1">self</span>.<span class="pl-en">_get_data</span>())
<span class="pl-s1">self</span>.<span class="pl-s1">log</span>.<span class="pl-en">info</span>(<span class="pl-s">"Connecting to Google"</span>)
<span class="pl-s1">sheet_hook</span> <span class="pl-c1">=</span> <span class="pl-v">GSheetsHook</span>(<span class="pl-s1">gcp_conn_id</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">gcp_conn_id</span>)
<span class="pl-s1">self</span>.<span class="pl-s1">log</span>.<span class="pl-en">info</span>(<span class="pl-s">f"Uploading data to https://docs.google.com/spreadsheets/d/<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_id</span><span class="pl-kos">}</span></span>"</span>)
<span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">append_values</span>:
<span class="pl-s1">sheet_hook</span>.<span class="pl-en">append_values</span>(
<span class="pl-s1">spreadsheet_id</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_id</span>,
<span class="pl-s1">range_</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_range</span>,
<span class="pl-s1">values</span><span class="pl-c1">=</span><span class="pl-s1">values</span>,
)
<span class="pl-k">else</span>:
<span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">clear_sheet</span>:
<span class="pl-s1">sheet_hook</span>.<span class="pl-en">clear</span>(<span class="pl-s1">spreadsheet_id</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_id</span>, <span class="pl-s1">range_</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_range</span>)
<span class="pl-s1">sheet_hook</span>.<span class="pl-en">update_values</span>(
<span class="pl-s1">spreadsheet_id</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_id</span>,
<span class="pl-s1">range_</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">spreadsheet_range</span>,
<span class="pl-s1">values</span><span class="pl-c1">=</span><span class="pl-s1">values</span>,
)</pre></div>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Debian GNU/Linux 11 (bullseye)</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-amazon==4.0.0<br>
apache-airflow-providers-celery==3.0.0<br>
apache-airflow-providers-cncf-kubernetes==4.1.0<br>
apache-airflow-providers-common-sql==1.0.0<br>
apache-airflow-providers-docker==3.0.0<br>
apache-airflow-providers-elasticsearch==4.0.0<br>
apache-airflow-providers-ftp==3.0.0<br>
apache-airflow-providers-google==8.1.0<br>
apache-airflow-providers-grpc==3.0.0<br>
apache-airflow-providers-hashicorp==3.0.0<br>
apache-airflow-providers-http==3.0.0<br>
apache-airflow-providers-imap==3.0.0<br>
apache-airflow-providers-microsoft-azure==4.0.0<br>
apache-airflow-providers-microsoft-mssql==3.1.0<br>
apache-airflow-providers-mysql==3.0.0<br>
apache-airflow-providers-odbc==3.0.0<br>
apache-airflow-providers-postgres==5.0.0<br>
apache-airflow-providers-redis==3.0.0<br>
apache-airflow-providers-sendgrid==3.0.0<br>
apache-airflow-providers-sftp==3.0.0<br>
apache-airflow-providers-slack==5.0.0<br>
apache-airflow-providers-sqlite==3.0.0<br>
apache-airflow-providers-ssh==3.0.0<br>
apache-airflow-providers-telegram==3.0.0<br>
apache-airflow-providers-vertica==3.1.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">terraform, helm, k8s, cloud</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" checked=""> 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.3.3 (latest released)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">I trying to make SqlSensor to work with Oracle database, I've installed all the required provider and successfully tested the connection. When I run SqlSensor I got this error message<br>
<code class="notranslate">ERROR - Failed to execute job 32 for task check_exec_date (The connection type is not supported by SqlSensor. The associated hook should be a subclass of </code>DbApiHook<code class="notranslate">. Got OracleHook; 419)</code></p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Ubuntu 20.04.4 LTS</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-common-sql==1.0.0<br>
apache-airflow-providers-ftp==3.0.0<br>
apache-airflow-providers-http==3.0.0<br>
apache-airflow-providers-imap==3.0.0<br>
apache-airflow-providers-oracle==3.2.0<br>
apache-airflow-providers-postgres==5.1.0<br>
apache-airflow-providers-sqlite==3.0.0</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Other</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto">Run on Windows Subsystem for Linux</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">Since <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ScottPJones/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ScottPJones">@ScottPJones</a> was mentioning upper/lowercase functions recently, I took a quick look at them and I noticed that we are calling <code class="notranslate">towupper</code> and <code class="notranslate">towlower</code>, which are C99 functions that accept <code class="notranslate">wchar_t</code> arguments.</p>
<p dir="auto">Unfortunately, this means that they are broken on Windows (where <code class="notranslate">wchar_t</code> is 16 bits) for any character outside the BMP. Even on other platforms with a 32-bit <code class="notranslate">wchar_t</code>, they are going to return different results on different systems, and many systems will have out-of-date Unicode tables. They are also locale-dependent; I'm not sure if this is desirable for us.</p>
<p dir="auto">utf8proc has up-to-date upper/lower/titlecase mapping data already in its "database" (generated from <a href="http://www.unicode.org/Public/UNIDATA/UnicodeData.txt" rel="nofollow">http://www.unicode.org/Public/UNIDATA/UnicodeData.txt</a>), so maybe we should just add a <code class="notranslate">utf8proc_toupper</code> function (etc.) to utf8proc to make this accessible. Then we could call that (probably plus a check for the common case of ASCII codepoints).</p> | <ol dir="auto">
<li>
<p dir="auto">End-of-word contexts. As reported in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="39527706" data-permission-text="Title is private" data-url="https://github.com/JuliaLang/julia/issues/7847" data-hovercard-type="issue" data-hovercard-url="/JuliaLang/julia/issues/7847/hovercard" href="https://github.com/JuliaLang/julia/issues/7847">#7847</a>, for example, capital sigma Σ should map to lowercase terminal sigma ς at the end of a word, not ordinary sigma σ:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia> lowercase("ΛΌΓΟΣ") #logos; λόγος
"λόγοσ""><pre class="notranslate">julia<span class="pl-k">></span> <span class="pl-c1">lowercase</span>(<span class="pl-s"><span class="pl-pds">"</span>ΛΌΓΟΣ<span class="pl-pds">"</span></span>) <span class="pl-c"><span class="pl-c">#</span>logos; λόγος</span>
<span class="pl-s"><span class="pl-pds">"</span>λόγοσ<span class="pl-pds">"</span></span></pre></div>
</li>
<li>
<p dir="auto">Locale-specific contexts: let's not <a href="http://www.theinquirer.net/inquirer/news/1017243/cellphone-localisation-glitch" rel="nofollow">get anyone accidentally killed thanks to incorrect localization</a>.</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$LANG="tr_TR" julia
...
julia> uppercase("sikisinca") #SİKİSİNCA
"SIKISINCA""><pre class="notranslate"><span class="pl-k">$</span>LANG<span class="pl-k">=</span><span class="pl-s"><span class="pl-pds">"</span>tr_TR<span class="pl-pds">"</span></span> julia
<span class="pl-k">...</span>
julia<span class="pl-k">></span> <span class="pl-c1">uppercase</span>(<span class="pl-s"><span class="pl-pds">"</span>sikisinca<span class="pl-pds">"</span></span>) <span class="pl-c"><span class="pl-c">#</span>SİKİSİNCA</span>
<span class="pl-s"><span class="pl-pds">"</span>SIKISINCA<span class="pl-pds">"</span></span></pre></div>
</li>
</ol> | 1 |
<p dir="auto">how to upload duplicate files to durid data source.</p>
<p dir="auto"><code class="notranslate">{ "type" : "index_hadoop", "spec" : { "ioConfig" : { "type" : "hadoop", "appendToExisting":true, "inputSpec" : { "type" : "static", "paths" : "quickstart/20170703.csv" } }, "dataSchema" : { "dataSource" : "smsdata20170708", "granularitySpec" : { "type" : "uniform", "segmentGranularity" : "day", "queryGranularity" : "none", "intervals" : ["2017-02-21/2017-02-23"] }, "parser" : { "type" : "hadoopyString", "parseSpec" : { "format" : "csv", "columns" : ["subscriber_id","trans_id_1","trans_id_2","date_time","subscriber_type","message_type","sub_id_2","account_type","master_sub_id","application_id","sub_type_id","unit_type_id","usage_amount","type_of_charge","identity_id","group_id","charge_code","content_type","fund_usage_type","msc_id","circle_id","sp_id"], "dimensionsSpec" : { "dimensions" : ["subscriber_id","trans_id_1","trans_id_2","date_time","subscriber_type","message_type","sub_id_2","account_type","master_sub_id","application_id","sub_type_id","unit_type_id","usage_amount","type_of_charge","identity_id","group_id","charge_code","content_type","fund_usage_type","msc_id","circle_id","sp_id"] }, "timestampSpec" : { "format" : "auto", "column" : "date_time" } } }, "metricsSpec" : [ { "name" : "count", "type" : "count" } ] }, "tuningConfig" : { "type" : "hadoop", "overwriteFiles":false, "partitionsSpec" : { "type" : "hashed", "targetPartitionSize" : 5000000 }, "jobProperties" : {} } } } </code></p> | <p dir="auto">So this is one of those "borderline" issues.</p>
<p dir="auto">It turns out that we have some sort of a wildcard catchall DNS here which means that no matter what URL you'd put into that test, it would always resolve to something "legal" since the result would end up being illegal.url.mycompany.com which would then resolve.</p>
<p dir="auto">So this is not so much an "issue" but a notice that this test can "fail" because of a weird network setup on the computer running the test.</p> | 0 |
<h3 dir="auto">Problem description</h3>
<p dir="auto">When add <code class="notranslate">onBlur</code> to TextField, the label won't switch to un-focus when blur.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/313189/26436140/8c2b4f68-413e-11e7-87be-6e407c2e3d66.gif"><img src="https://cloud.githubusercontent.com/assets/313189/26436140/8c2b4f68-413e-11e7-87be-6e407c2e3d66.gif" alt="2017-05-25_11-35-53" data-animated-image="" style="max-width: 100%;"></a></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// This work as normal
<TextField label="First name" />
// This won't work
<TextField label="First name" onBlur={() => {}} />"><pre class="notranslate"><span class="pl-c">// This work as normal</span>
<span class="pl-c1"><</span><span class="pl-ent">TextField</span> <span class="pl-c1">label</span><span class="pl-c1">=</span><span class="pl-s">"First name"</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c">// This won't work</span>
<span class="pl-c1"><</span><span class="pl-v">TextField</span> <span class="pl-s1">label</span><span class="pl-c1">=</span><span class="pl-s">"First name"</span> <span class="pl-s1">onBlur</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c1">/</span>></pre></div> | <h3 dir="auto">Problem description</h3>
<p dir="auto">the onFocus floating effect is lost, when overriding the onFocus-props of a TextField- or FormControl-Component. (same problem with onBlur btw)</p>
<h3 dir="auto">Link to minimal working code that reproduces the issue</h3>
<p dir="auto"><a href="https://www.webpackbin.com/bins/-KkudROJc3XfIoli7IxX" rel="nofollow">https://www.webpackbin.com/bins/-KkudROJc3XfIoli7IxX</a></p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 1.0.0-alpha.15</li>
<li>React: 15.5.4</li>
<li>Browser: chrome 58.0.3029.110 (64-bit)</li>
</ul>
<h3 dir="auto">possible solution</h3>
<p dir="auto">override the handleFocus and handleBlur-function and rearrange the props in the FormControl-Component:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class FormControl extends Component {
(...)
handleFocus = () => {
if (!this.state.focused) {
this.setState({ focused: true });
}
if (this.props.onFocus) {
this.props.onFocus();
}
};
render() {
return (<div
className={classNames(classes.root, className)}
{...other}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
>
{children}
</div>
);
}
(...)
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">FormControl</span> <span class="pl-k">extends</span> <span class="pl-v">Component</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">handleFocus</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-c1">!</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">state</span><span class="pl-kos">.</span><span class="pl-c1">focused</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">setState</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">focused</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">.</span><span class="pl-c1">onFocus</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">props</span><span class="pl-kos">.</span><span class="pl-en">onFocus</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos"></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-ent">div</span>
<span class="pl-c1">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-en">classNames</span><span class="pl-kos">(</span><span class="pl-s1">classes</span><span class="pl-kos">.</span><span class="pl-c1">root</span><span class="pl-kos">,</span> <span class="pl-s1">className</span><span class="pl-kos">)</span><span class="pl-kos">}</span>
<span class="pl-kos">{</span>...<span class="pl-s1">other</span><span class="pl-kos">}</span>
<span class="pl-c1">onFocus</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">handleFocus</span><span class="pl-kos">}</span>
<span class="pl-c1">onBlur</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">handleBlur</span><span class="pl-kos">}</span>
<span class="pl-c1">></span>
<span class="pl-kos">{</span><span class="pl-s1">children</span><span class="pl-kos">}</span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-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">`</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.x</li>
<li>Operating System version: *</li>
<li>Java version: *</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto">由AbstractProxyProtocol创建的invoker在调用destroy()销毁后,因为其destroy方法并不会清理资源,所以AbstractProtocol.invokers依然会持有该invoker的引用(invoker创建时会被添加到AbstractProtocol.invokers中)。</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="protected <T> Invoker<T> protocolBindingRefer(final Class<T> type, final URL url) throws RpcException {
final Invoker<T> target = proxyFactory.getInvoker(doRefer(type, url), type, url);
// AbstractInvoker.destroy方法只会更新isDestroyed字段,不会清理资源
Invoker<T> invoker = new AbstractInvoker<T>(type, url) {
@Override
protected Result doInvoke(Invocation invocation) throws Throwable {
try {
Result result = target.invoke(invocation);
// FIXME result is an AsyncRpcResult instance.
Throwable e = result.getException();
if (e != null) {
for (Class<?> rpcException : rpcExceptions) {
if (rpcException.isAssignableFrom(e.getClass())) {
throw getRpcException(type, url, invocation, e);
}
}
}
return result;
} catch (RpcException e) {
if (e.getCode() == RpcException.UNKNOWN_EXCEPTION) {
e.setCode(getErrorCode(e.getCause()));
}
throw e;
} catch (Throwable e) {
throw getRpcException(type, url, invocation, e);
}
}
};
// invoker会保存所有新建的invoker
invokers.add(invoker);
return invoker;
}"><pre class="notranslate"><code class="notranslate">protected <T> Invoker<T> protocolBindingRefer(final Class<T> type, final URL url) throws RpcException {
final Invoker<T> target = proxyFactory.getInvoker(doRefer(type, url), type, url);
// AbstractInvoker.destroy方法只会更新isDestroyed字段,不会清理资源
Invoker<T> invoker = new AbstractInvoker<T>(type, url) {
@Override
protected Result doInvoke(Invocation invocation) throws Throwable {
try {
Result result = target.invoke(invocation);
// FIXME result is an AsyncRpcResult instance.
Throwable e = result.getException();
if (e != null) {
for (Class<?> rpcException : rpcExceptions) {
if (rpcException.isAssignableFrom(e.getClass())) {
throw getRpcException(type, url, invocation, e);
}
}
}
return result;
} catch (RpcException e) {
if (e.getCode() == RpcException.UNKNOWN_EXCEPTION) {
e.setCode(getErrorCode(e.getCause()));
}
throw e;
} catch (Throwable e) {
throw getRpcException(type, url, invocation, e);
}
}
};
// invoker会保存所有新建的invoker
invokers.add(invoker);
return invoker;
}
</code></pre></div>
<p dir="auto">而DobboProtocol创建的invoker销毁时则会清除invokers中的引用:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public void destroy() {
// in order to avoid closing a client multiple times, a counter is used in case of connection per jvm, every
// time when client.close() is called, counter counts down once, and when counter reaches zero, client will be
// closed.
if (super.isDestroyed()) {
return;
} else {
// double check to avoid dup close
destroyLock.lock();
try {
if (super.isDestroyed()) {
return;
}
super.destroy();
// 从invokers中删除
if (invokers != null) {
invokers.remove(this);
}
for (ExchangeClient client : clients) {
try {
client.close(ConfigurationUtils.getServerShutdownTimeout());
} catch (Throwable t) {
logger.warn(t.getMessage(), t);
}
}
} finally {
destroyLock.unlock();
}
}
}"><pre class="notranslate"><code class="notranslate">public void destroy() {
// in order to avoid closing a client multiple times, a counter is used in case of connection per jvm, every
// time when client.close() is called, counter counts down once, and when counter reaches zero, client will be
// closed.
if (super.isDestroyed()) {
return;
} else {
// double check to avoid dup close
destroyLock.lock();
try {
if (super.isDestroyed()) {
return;
}
super.destroy();
// 从invokers中删除
if (invokers != null) {
invokers.remove(this);
}
for (ExchangeClient client : clients) {
try {
client.close(ConfigurationUtils.getServerShutdownTimeout());
} catch (Throwable t) {
logger.warn(t.getMessage(), t);
}
}
} finally {
destroyLock.unlock();
}
}
}
</code></pre></div>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">当invoker.destroy方法调用后,则该invoker应该从AbstractProtocol.invokers中remove掉(例如DubboInvoker的做法)。</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">由于destroy方法中未将invoker从AbstractProtocol.invokers中删除,则会导致销毁的invoker无法被GC,内存泄漏</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.8</li>
<li>Operating System version: macOs Catalina 10.15.7</li>
<li>Java version: 1.8.0_231</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>
<p dir="auto">config two registries in a dubbo project and set one(zk1) of the two to be default<br>
`<br>
<dubbo:registry id="zk1" address="zookeeper://localhost:2181" default="true"/></p>
<p dir="auto"><dubbo:registry id="zk2" address="zookeeper://localhost:2182"/><br>
`</p>
</li>
<li>
<p dir="auto">export a service through @DubboService without config the registry<br>
`<br>
@DubboService(version = "1.0.0")<br>
public class GreetingServiceImpl implements org.apache.dubbo.springboot.api.GreetingService {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" public String sayHello(String name) {
System.out.println("greeting service received: " + name);
return "hello, " + name;
}"><pre class="notranslate"><code class="notranslate"> public String sayHello(String name) {
System.out.println("greeting service received: " + name);
return "hello, " + name;
}
</code></pre></div>
<p dir="auto">}`</p>
</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">the service without config registry should only be registered to the default registry(zk1) and not registered to annother registry(zk2)</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?<br>
the service was registered to both two registries<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12069629/97778051-79b40600-1baf-11eb-84a3-8dfc19ab2683.png"><img src="https://user-images.githubusercontent.com/12069629/97778051-79b40600-1baf-11eb-84a3-8dfc19ab2683.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/12069629/97778047-6e60da80-1baf-11eb-90fb-c506ae3a13f0.png"><img src="https://user-images.githubusercontent.com/12069629/97778047-6e60da80-1baf-11eb-90fb-c506ae3a13f0.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto"><a href="https://2.python-requests.org//en/latest/api/#requests.Session.trust_env" rel="nofollow">The link for trust_env documentation</a> fails to load.</p> | <p dir="auto">Looks like <a href="http://www.python-requests.org" rel="nofollow">www.python-requests.org</a> and docs.python-requests.org are redirecting to <a href="https://2.python-requests.org" rel="nofollow">https://2.python-requests.org</a> and failing SSL negotiation, making the site appear down. Google links are all dead, documentation links don't work, etc.</p>
<p dir="auto"><a href="http://2.python-requests.org" rel="nofollow">http://2.python-requests.org</a> redirects to <a href="https://requests.kennethreitz.org/en/master/" rel="nofollow">https://requests.kennethreitz.org/en/master/</a>, which works.</p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">Website should appear or redirect to non-HTTPS link</p>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">Redirection to <a href="https://2.python-requests.org" rel="nofollow">https://2.python-requests.org</a> breaks the site</p>
<h2 dir="auto">Reproduction Steps</h2>
<p dir="auto">Open browser of your choice<br>
Attempt to browse to <a href="http://docs.python-requests.org" rel="nofollow">http://docs.python-requests.org</a> or <a href="http://www.python-requests.org" rel="nofollow">http://www.python-requests.org</a>.<br>
Browser gets redirect to <a href="https://2.python-requests.org" rel="nofollow">https://2.python-requests.org</a> which fails with an SSL_PROTOCOL_ERROR</p>
<h2 dir="auto">System Information</h2>
<p dir="auto">N/A</p> | 1 |
<h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">I am using onGenerateRoute to perform navigation. My onGenerateRoute method creates MaterialPageRoute objects with <code class="notranslate">maintainState: false</code>. When navigating backwards, TextField widgets can no longer be focused and edited. <a href="https://gist.github.com/tlarsen7572/fdd91e2818c89430f87785371cb96f6a">This Gist</a> produces the issue. When the home page first loads, its TextField can be edited. When you navigate to Next and then go back, the TextField can no longer be edited.</p>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-US, channel master)
• Flutter version 0.1.3-pre.46 at /Users/tlarsen/flutter
• Framework revision f914e701c5 (4 days ago), 2018-02-19 21:12:17 +0000
• Engine revision 13cf22c284
• Dart version 2.0.0-dev.27.0-flutter-0d5cf900b0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /Users/tlarsen/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-26, build-tools 26.0.2
• 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-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• Flutter plugin version 21.2.3
• Dart plugin version 173.4548.30
[✓] Connected devices
• iPhone 7 • B3ECB1A2-524B-4C57-801A-C34AE83D617E • ios • iOS 11.2 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-US, channel master)
• Flutter version 0.1.3-pre.46 at /Users/tlarsen/flutter
• Framework revision f914e701c5 (4 days ago), 2018-02-19 21:12:17 +0000
• Engine revision 13cf22c284
• Dart version 2.0.0-dev.27.0-flutter-0d5cf900b0
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /Users/tlarsen/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-26, build-tools 26.0.2
• 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-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• Flutter plugin version 21.2.3
• Dart plugin version 173.4548.30
[✓] Connected devices
• iPhone 7 • B3ECB1A2-524B-4C57-801A-C34AE83D617E • ios • iOS 11.2 (simulator)
• No issues found!
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<ol dir="auto">
<li>Navigate to search screen.</li>
<li>Enter search term and tap on a result.</li>
<li>Navigate away from search screen.</li>
<li>Return to search screen using the back button.</li>
<li>Search text field becomes unresponsive.</li>
</ol>
<p dir="auto">Reproduced here: <a href="https://gist.github.com/JordanADavies/c7b630681aa81940d254876078a2f7a0">https://gist.github.com/JordanADavies/c7b630681aa81940d254876078a2f7a0</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter doctor -v
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.14.1 18B75, locale en-GB)
• Flutter version 0.9.4 at /Users/jordandavies/Documents/development/flutter
• Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
• Engine revision 74625aed32
• Dart version 2.1.0-dev.5.0.flutter-a2eb050044
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/jordandavies/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• 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-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] Connected devices (1 available)
• iPhone XR • 4018CC7F-D913-4181-8CF3-C29A87529EA2 • ios • iOS 12.1 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">flutter doctor -v
[✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.14.1 18B75, locale en-GB)
• Flutter version 0.9.4 at /Users/jordandavies/Documents/development/flutter
• Framework revision f37c235c32 (5 weeks ago), 2018-09-25 17:45:40 -0400
• Engine revision 74625aed32
• Dart version 2.1.0-dev.5.0.flutter-a2eb050044
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/jordandavies/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• 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-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 29.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] Connected devices (1 available)
• iPhone XR • 4018CC7F-D913-4181-8CF3-C29A87529EA2 • ios • iOS 12.1 (simulator)
• No issues found!
</code></pre></div> | 1 |
<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>no</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>yes</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4 and\or 4.0</td>
</tr>
</tbody>
</table>
<p dir="auto">Hi, I'm currently working on some kind of RPC server bundle stack on top of symfony and I have a simple internal method routing, which generally repeats the symfony one's. I say repeats but not re-uses (which I hope to do initially), since the current routing have several limitations:</p>
<ul dir="auto">
<li>
<p dir="auto"><a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/Controller/ControllerResolver.php">Controller Resolver</a> signature requires the whole <code class="notranslate">Request</code> object, but really it uses only <code class="notranslate">_controller</code> attribute value, can we pass it instead? The <code class="notranslate">Request</code> object is used only to build Exception message with <code class="notranslate">getPathInfo</code> call, but I think we can overcome it with rethrow on higher level or just refactor it out. Most of the exceptions, thrown by <code class="notranslate">ControllerResolver</code> do not use the <code class="notranslate">PathInfo</code> to construct the message.</p>
</li>
<li>
<p dir="auto"><a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php">Controller Name Parser</a> signature hardcodes the <code class="notranslate">Controller\*Controller::*Action</code> controler layout and it is even not configurable. Replacing this layout to another (or making this configurable) leads to full class override with copy&paste despite of the fact it is open for inheritance. we can make action guessing and action parsing to be protected methods, which define the layout</p>
</li>
</ul>
<p dir="auto">I also have some thoughts on decoupling <code class="notranslate">Route</code> from HTTP since most of the routing loading process could be fully reused for creating internal routing, but the current <code class="notranslate">Route</code> class is all about HTTP routing (i.e it <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Routing/Route.php#L159">modifies path to match URI format</a>), but I haven't fully formalized this thoughts yet</p>
<p dir="auto">I hope we can make the components a bit more decoupled with this ideas.</p>
<p dir="auto">WDYT?</p> | <p dir="auto">There's no point in naming <code class="notranslate">$_GET</code> <code class="notranslate">$request->query</code> and <code class="notranslate">$_POST</code> <code class="notranslate">$request->request</code>. They should be called <code class="notranslate">$request->get</code> and <code class="notranslate">$request->post</code>, simply. While I could understand in <em>theory</em> how <code class="notranslate">query</code> is more correct (RFC et al) but this is a PHP app, the parsed query string is called <code class="notranslate">get</code> and that's it.</p>
<p dir="auto">But I can't fathom the logic where naming <code class="notranslate">$request->post</code> after another <em>existing</em> superglobal (<code class="notranslate">$_REQUEST</code>) would make any sense. Someone suggested that perhaps it's named after request body. But <em>that</em> should be $request->input because <code class="notranslate">php://input</code>.</p>
<p dir="auto">These could be, for the sake of BC, just references. Very easy fix: add <code class="notranslate">get</code> and <code class="notranslate">post</code> property, document it, add reference-value in constructor, done.</p> | 0 |
<p dir="auto">Currently, we're not consistent with errors thrown in <code class="notranslate">std/node</code> and we should implement Node.js errors instead of throwing Deno errors.</p>
<p dir="auto">For example a common check for Node.js <code class="notranslate">fs</code> is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="e.code === 'ENOENT'"><pre class="notranslate"><code class="notranslate">e.code === 'ENOENT'
</code></pre></div>
<p dir="auto">The above is not currently supported.</p> | <p dir="auto"><em>if we want to be compatible with node's API, we must be kind to its errors too.</em></p>
<p dir="auto">we should support node's API errors listed <a href="https://nodejs.org/dist/latest-v14.x/docs/api/errors.html" rel="nofollow">here</a> to be more consistent about errors.</p>
<p dir="auto">todo list :</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> create error module in std/node</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> support node error codes ( like <a href="https://nodejs.org/dist/latest-v12.x/docs/api/errors.html#errors_err_invalid_callback" rel="nofollow">ERR_INVALID_CALLBACK</a> )</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> replace handwritten errors with error codes ( like <a href="https://github.com/denoland/deno/blob/49c70774012e929b3c77b808edc5a7908bcb6fa2/std/node/_fs/_fs_appendFile.ts#L27">HERE</a> )</li>
</ul> | 1 |
<p dir="auto">Not sure but I think this is a bug or I at least expected something else...</p>
<p dir="auto">I made a fiddle <a href="http://jsfiddle.net/wilt/w67tzfhx/70/" rel="nofollow">here</a> to demonstrate...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// definition of a shape ( a 40x40 square)
shape = new THREE.Shape();
shape.moveTo( 0, 0 );
shape.lineTo( 40, 0 );
shape.lineTo( 40, 40 );
shape.lineTo( 0, 40 );
shape.lineTo( 0, 0 );
// convert the shape to geometry
var geometry = shape.makeGeometry();
// material
var material = new THREE.LineBasicMaterial( { color: 0xff0000, linewidth: 2 } );
// line
line = new THREE.Line( geometry, material );
scene.add( line );"><pre class="notranslate"><code class="notranslate">// definition of a shape ( a 40x40 square)
shape = new THREE.Shape();
shape.moveTo( 0, 0 );
shape.lineTo( 40, 0 );
shape.lineTo( 40, 40 );
shape.lineTo( 0, 40 );
shape.lineTo( 0, 0 );
// convert the shape to geometry
var geometry = shape.makeGeometry();
// material
var material = new THREE.LineBasicMaterial( { color: 0xff0000, linewidth: 2 } );
// line
line = new THREE.Line( geometry, material );
scene.add( line );
</code></pre></div>
<p dir="auto">The last segment seems to be missing...</p> | <p dir="auto">When I tried to import from Blender meshes from a Blender scene with multiple materials don't work correctly with ObjectLoader. ( I think is because json has't assign correctly the material to the object, it uses a single uuid. (this happens in previous versions of three.js & blender exporter ( It is nothing new of this r73 version ) ).</p>
<p dir="auto">I can only use MultipleMaterial with JSONLoader ( although with the R73 I have to remove 'DbgColor' & 'colorAmbient' info from .json file ) but in this case I need a json flie for every object.</p>
<p dir="auto">Here an example > <a href="http://unboring.net/lab/7415/" rel="nofollow">http://unboring.net/lab/7415/</a><br>
And the source files > <a href="http://unboring.net/lab/7415/7415.zip" rel="nofollow">http://unboring.net/lab/7415/7415.zip</a></p> | 0 |
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Definitely a low-priority bug, but at some figure sizes, there seems to be an issue with the colorbar not being drawn at the correct position in some backends (seems like PDF and SVG are affected, but not Agg).</p>
<p dir="auto">The colorbar "fill" (the actual colored bit) will not line up with the box that contains it (the black marker edge that makes the rectangle that is filled by the color bar, see below). Seems like some sort of rounding issue.</p>
<p dir="auto">I have a more "dramatic" example, but still need to distill it to a minimum working example, as it is a plot of proprietary data.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
import matplotlib.cm
fig, ax = plt.subplots(figsize=(2, 1.5))
plt.plot()
sm = matplotlib.cm.ScalarMappable()
sm.set_array([])
plt.colorbar(sm)
plt.savefig('/home/bbeltr1/Downloads/test.svg')
plt.savefig('/home/bbeltr1/Downloads/test.pdf')
plt.savefig('/home/bbeltr1/Downloads/test.png', dpi=800)
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">cm</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">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">2</span>, <span class="pl-c1">1.5</span>))
<span class="pl-s1">plt</span>.<span class="pl-en">plot</span>()
<span class="pl-s1">sm</span> <span class="pl-c1">=</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">cm</span>.<span class="pl-v">ScalarMappable</span>()
<span class="pl-s1">sm</span>.<span class="pl-en">set_array</span>([])
<span class="pl-s1">plt</span>.<span class="pl-en">colorbar</span>(<span class="pl-s1">sm</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'/home/bbeltr1/Downloads/test.svg'</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'/home/bbeltr1/Downloads/test.pdf'</span>)
<span class="pl-s1">plt</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'/home/bbeltr1/Downloads/test.png'</span>, <span class="pl-s1">dpi</span><span class="pl-c1">=</span><span class="pl-c1">800</span>)</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<p dir="auto">SVG:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1475390/79055002-608d3d00-7bfe-11ea-9487-fa3c80535bfd.png"><img src="https://user-images.githubusercontent.com/1475390/79055002-608d3d00-7bfe-11ea-9487-fa3c80535bfd.png" alt="test svg" style="max-width: 100%;"></a></p>
<p dir="auto">PDF:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1475390/79055003-62570080-7bfe-11ea-8de0-c6afad7dc7ab.png"><img src="https://user-images.githubusercontent.com/1475390/79055003-62570080-7bfe-11ea-8de0-c6afad7dc7ab.png" alt="test pdf" style="max-width: 100%;"></a></p>
<p dir="auto">PNG:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1475390/79055004-6420c400-7bfe-11ea-953f-6b3071b74244.png"><img src="https://user-images.githubusercontent.com/1475390/79055004-6420c400-7bfe-11ea-953f-6b3071b74244.png" alt="test" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">The PNG output has the expected outcome.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>
<ul dir="auto">
<li>Operating system: Debian Jessie</li>
<li>Matplotlib version: master</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>):</li>
<li>Python version: 3.7</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries:</li>
</ul> | <p dir="auto">The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
im = ax.imshow([[1]])
fig.colorbar(im)
fig.savefig('colorbar_test.pdf', dpi=7)"><pre class="notranslate"><code class="notranslate">import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(1,1,1)
im = ax.imshow([[1]])
fig.colorbar(im)
fig.savefig('colorbar_test.pdf', dpi=7)
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/314716/17089570/05e193be-51f6-11e6-953a-408df28dd8e4.png"><img src="https://cloud.githubusercontent.com/assets/314716/17089570/05e193be-51f6-11e6-953a-408df28dd8e4.png" alt="colorbar_test" style="max-width: 100%;"></a></p>
<p dir="auto">This wasn't an issue with Matplotlib 1.4:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/314716/17089590/4598aa88-51f6-11e6-8186-9829c4118c95.png"><img src="https://cloud.githubusercontent.com/assets/314716/17089590/4598aa88-51f6-11e6-8186-9829c4118c95.png" alt="colorbar_test" style="max-width: 100%;"></a></p>
<p dir="auto">and the bug was apparently introduces in Matplotlib 1.5:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/314716/17089597/668bb4d8-51f6-11e6-8261-28e7becd97d6.png"><img src="https://cloud.githubusercontent.com/assets/314716/17089597/668bb4d8-51f6-11e6-8261-28e7becd97d6.png" alt="colorbar_test" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Find -> Find File (cmd-P) does nothing if you haven't opened any files yet. Not even an error message. Now that I've used Atom for a few minutes, I think I see why that is, but I have to admit that I was about to write off Atom as still too beta to use when the first button I pressed (well, besides cmd-shift-P at welcome.md's insistence) fell flat and did nothing. Maybe the button should be grayed out until it's ready.</p>
<p dir="auto">I'm on OS X with Atom Version 0.111.0.</p> | <p dir="auto"><em>(moved over from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28541001" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/1642" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/1642/hovercard" href="https://github.com/atom/atom/issues/1642">atom/atom#1642</a>)</em></p>
<p dir="auto">support/b62ac6b69fc211e387a72d6e148f9cfd?page=1</p>
<blockquote>
<p dir="auto">cmd-t should work when you start Atom from the OS (launchpad, dock, finder, spotlight) and it doesn't have a current working directory.</p>
<p dir="auto">This was really confusing to me, especially as I was trying to follow the getting started guide. I only discovered that things worked by running 'atom' from the command-line in a git repo directory.</p>
</blockquote> | 1 |
<p dir="auto"><strong>Ansible Version</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.0 (devel da4b4a2a33) last updated 2015/11/09 08:53:14 (GMT +300)
lib/ansible/modules/core: (detached HEAD 750aa16a06) last updated 2015/11/09 08:53:39 (GMT +300)
lib/ansible/modules/extras: (detached HEAD 62f52d702a) last updated 2015/11/09 08:53:39 (GMT +300)"><pre class="notranslate"><code class="notranslate">ansible 2.0.0 (devel da4b4a2a33) last updated 2015/11/09 08:53:14 (GMT +300)
lib/ansible/modules/core: (detached HEAD 750aa16a06) last updated 2015/11/09 08:53:39 (GMT +300)
lib/ansible/modules/extras: (detached HEAD 62f52d702a) last updated 2015/11/09 08:53:39 (GMT +300)
</code></pre></div>
<p dir="auto"><strong>Summary</strong></p>
<p dir="auto">Given a task like this:</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" - apt: name="{{ item }}" state=present
with_items: "{{ packages }}""><pre class="notranslate"> - <span class="pl-ent">apt</span>: <span class="pl-s">name="{{ item }}" state=present</span>
<span class="pl-ent">with_items</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ packages }}<span class="pl-pds">"</span></span></pre></div>
<p dir="auto">Ansible v1 processes it correctly, but ansible v2 installs the 1st package N times.</p>
<p dir="auto"><strong>Steps to Reproduce</strong></p>
<ul dir="auto">
<li>create a <code class="notranslate">test.yml</code>:</li>
</ul>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
---
- hosts: localhost
gather_facts: no
vars:
packages:
- build-essential
- python-dev
- python-virtualenv
- gettext
tasks:
- apt: name="{{ item }}" state=present
with_items: "{{ packages }}""><pre class="notranslate">---
- <span class="pl-ent">hosts</span>: <span class="pl-s">localhost</span>
<span class="pl-ent">gather_facts</span>: <span class="pl-s">no</span>
<span class="pl-ent">vars</span>:
<span class="pl-ent">packages</span>:
- <span class="pl-s">build-essential</span>
- <span class="pl-s">python-dev</span>
- <span class="pl-s">python-virtualenv</span>
- <span class="pl-s">gettext</span>
<span class="pl-ent">tasks</span>:
- <span class="pl-ent">apt</span>: <span class="pl-s">name="{{ item }}" state=present</span>
<span class="pl-ent">with_items</span>: <span class="pl-s"><span class="pl-pds">"</span>{{ packages }}<span class="pl-pds">"</span></span></pre></div>
<ul dir="auto">
<li>run <code class="notranslate">ansible-playbook test.yml -C</code></li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY [localhost] **************************************************************
TASK: [apt name="{{ item }}" state=present] ***********************************
ok: [localhost] => (item=build-essential,python-dev,python-virtualenv,gettext)
PLAY RECAP ********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY [localhost] **************************************************************
TASK: [apt name="{{ item }}" state=present] ***********************************
ok: [localhost] => (item=build-essential,python-dev,python-virtualenv,gettext)
PLAY RECAP ********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0
</code></pre></div>
<p dir="auto"><strong>Actual Behavior</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="PLAY ***************************************************************************
TASK [apt state=present name={{ item }}] ***************************************
ok: [localhost] => (item=[u'build-essential', u'build-essential', u'build-essential', u'build-essential'])
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 "><pre class="notranslate"><code class="notranslate">PLAY ***************************************************************************
TASK [apt state=present name={{ item }}] ***************************************
ok: [localhost] => (item=[u'build-essential', u'build-essential', u'build-essential', u'build-essential'])
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0
</code></pre></div>
<p dir="auto"><strong>Other Comments</strong></p>
<p dir="auto">The bug goes away if I use a different module (such as <code class="notranslate">command: echo {{ item }}</code>) instead of <code class="notranslate">apt</code>.</p> | <p dir="auto">Issue Type:</p>
<p dir="auto">Bug Report</p>
<p dir="auto">Ansible Version:</p>
<p dir="auto"><em>this was the commit that broke it</em><br>
ansible checkout <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/5040abaaf24a3de32ac665a35e83a5348de43098/hovercard" href="https://github.com/ansible/ansible/commit/5040abaaf24a3de32ac665a35e83a5348de43098"><tt>5040aba</tt></a></p>
<p dir="auto">Ansible Configuration:</p>
<p dir="auto">N/A</p>
<p dir="auto">Environment:</p>
<p dir="auto">Centos 6.7</p>
<p dir="auto">Summary:</p>
<p dir="auto">Steps To Reproduce:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum: name={{ item }} state=installed
with_items: yum_pkgs"><pre class="notranslate"><code class="notranslate">yum: name={{ item }} state=installed
with_items: yum_pkgs
</code></pre></div>
<p dir="auto">it just lists the the first item in yum_pkgs as every item so if for example</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum_pkgs:
- vim
- gedit"><pre class="notranslate"><code class="notranslate">yum_pkgs:
- vim
- gedit
</code></pre></div>
<p dir="auto">Expected Results:</p>
<p dir="auto">It installs vim and gedit</p>
<p dir="auto">Actual Results:</p>
<p dir="auto">It would install vim and vim</p>
<p dir="auto">it would act like the list was</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum_pkgs:
- vim
- vim"><pre class="notranslate"><code class="notranslate">yum_pkgs:
- vim
- vim
</code></pre></div>
<p dir="auto">same thing for</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum: name={{ item }} state=installed
with_items: "{{ yum_pkgs }}""><pre class="notranslate"><code class="notranslate">yum: name={{ item }} state=installed
with_items: "{{ yum_pkgs }}"
</code></pre></div>
<p dir="auto">and</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum: name={{ item}} state=installed
with_items:
- "{{ yum_pkgs }}""><pre class="notranslate"><code class="notranslate">yum: name={{ item}} state=installed
with_items:
- "{{ yum_pkgs }}"
</code></pre></div> | 1 |
<p dir="auto">Why doesn´t FastAPI use python hints for returning types as well?</p>
<p dir="auto">This code is more intuitive</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@app.post("/items/")
async def create_item(item: Item) -> Item:
return item"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">post</span>(<span class="pl-s">"/items/"</span>)</span>
<span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">create_item</span>(<span class="pl-s1">item</span>: <span class="pl-v">Item</span>) <span class="pl-c1">-></span> <span class="pl-v">Item</span>:
<span class="pl-k">return</span> <span class="pl-s1">item</span></pre></div>
<p dir="auto">than this</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@app.post("/items/", response_model=Item)
async def create_item(item: Item):
return item"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">post</span>(<span class="pl-s">"/items/"</span>, <span class="pl-s1">response_model</span><span class="pl-c1">=</span><span class="pl-v">Item</span>)</span>
<span class="pl-k">async</span> <span class="pl-k">def</span> <span class="pl-en">create_item</span>(<span class="pl-s1">item</span>: <span class="pl-v">Item</span>):
<span class="pl-k">return</span> <span class="pl-s1">item</span></pre></div> | <h3 dir="auto">First Check</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I added a very descriptive title to this issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I used the GitHub search to find a similar issue and didn't find it.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I searched the FastAPI documentation, with the integrated search.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already searched in Google "How to X in FastAPI" and didn't find any information.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already read and followed all the tutorial in the docs and didn't find an answer.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/samuelcolvin/pydantic">Pydantic</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/swagger-api/swagger-ui">Swagger UI</a>.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I already checked if it is not related to FastAPI but to <a href="https://github.com/Redocly/redoc">ReDoc</a>.</li>
</ul>
<h3 dir="auto">Commit to Help</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I commit to help with one of those options <g-emoji class="g-emoji" alias="point_up_2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f446.png">👆</g-emoji></li>
</ul>
<h3 dir="auto">Example Code</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# see "Wanted Code" section"><pre class="notranslate"><span class="pl-c"># see "Wanted Code" section</span></pre></div>
<h3 dir="auto">Description</h3>
<p dir="auto">Media type versioning is a recommended practice for versioning a RESTful API across the industry: Zalando <a href="https://opensource.zalando.com/restful-api-guidelines/#114" rel="nofollow">recommends it</a>, there are <a href="https://www.narwhl.com/2015/03/the-ultimate-solution-to-versioning-rest-apis-content-negotiation/" rel="nofollow">various</a> <a href="https://docs.microsoft.com/en-us/archive/msdn-magazine/2014/february/cutting-edge-content-negotiation-and-web-api-for-the-asp-net-mvc-developer" rel="nofollow">articles</a> <a href="https://www.linkedin.com/pulse/api-versioning-best-practices-muhammed-mokhtar" rel="nofollow">that</a> endorse it. And overall it seems like a very good and flexible solution for versioning APIs:</p>
<ul dir="auto">
<li>It allows versioning individual API endpoints when you need it.</li>
<li>Even better, you can version input and output schemas independently.</li>
<li>It allows the rollout of backward-incompatible changes in a backward compatible manner without bending the rules of RESTful API semantics, i.e. without the need to invent a new "object type" to put a new version of the endpoint on a separate URL.</li>
<li>It can be fully described with an OpenAPI schema, e.g. attached <a href="https://github.com/tiangolo/fastapi/files/8283734/openapi.json.zip"><code class="notranslate">openapi.json.zip</code></a>.</li>
</ul>
<p dir="auto">These articles I linked above further explain what I think "Media type versioning" means.</p>
<p dir="auto">Other good descriptions about what I mean by "media type versioning" can be found here:</p>
<ul dir="auto">
<li><a href="https://www.narwhl.com/2015/03/the-ultimate-solution-to-versioning-rest-apis-content-negotiation/" rel="nofollow">The Ultimate Solution to Versioning REST APIs: Content Negotiation</a></li>
<li><a href="https://docs.microsoft.com/en-us/azure/architecture/best-practices/api-design#media-type-versioning" rel="nofollow">API Design: Media Type Versioning</a></li>
</ul>
<p dir="auto">Some of these pages describe only versioning the request or response object, but ideally both should be supported.</p>
<h3 dir="auto">Wanted Solution</h3>
<ul dir="auto">
<li>Ability to specify multiple request and response models tied to their respecful content types. (See Wanted Code.)</li>
<li>Correct generation of the OpenAPI schema based on that. (An example OpenAPI schema is attached to this issue.)</li>
<li>Parsing of a correct request model based on the request Content-Type.</li>
<li>A more streamlined access to the "Accept" header than inspecting <code class="notranslate">Request.headers</code></li>
<li>Automatic setting of the response "Content-Type" header based on the model returned by path operation function.</li>
<li>The same validation of the returned model as what happens right now for unversioned endpoints.</li>
</ul>
<p dir="auto">With a little bit of your direction, I would be thrilled to make a contribution or create a supporting package for this behavior.</p>
<p dir="auto">If this can be a supporting package, I need a little bit of guidance about how to intercept current flow of schema generation, request parsing and response validation from external code. I can use the code from <code class="notranslate">InferringRouter</code> in <code class="notranslate">fastapi-utils</code> to learn some of this, but any other high-level pointers would be greatly appreciated.</p>
<p dir="auto">If you'd prefer contribution, then I would start from an overall discussion on how you see it done, with couple of references to source code.</p>
<h3 dir="auto">Wanted Code</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""""
Example implementation of the API versioning using media types.
"""
from fastapi import APIRouter, Body, HTTPException, Request
from pydantic import BaseModel, Field
class InputModelV1(BaseModel):
"First version of input data"
name: str = Field(description="Name")
count: int = Field(description="Count")
class InputModelV2(BaseModel):
"Second version of input data. Name is split, amount is a float now."
first_name: str = Field(description="First name")
last_name: str = Field(description="First name")
amount: float = Field(description="Total amount")
class OutputModelV1(BaseModel):
"First version of output data"
id: int | None = Field(description="Id")
owner: int | None = Field(description="Owner Id")
class OutputModelV2(BaseModel):
"Secnod version of output data. Ids moved to strings, owner name supplied as well."
id: str | None = Field(description="Id")
owner_id: str | None = Field(description="Owner Id")
owner_name: str | None = Field(description="Owner Name")
router = APIRouter()
@router.post(
"/test",
responses={
200: {
"content": {
"application/json;my_output_model_v=1": {"model": OutputModelV1},
"application/json;my_output_model_v=2": {"model": OutputModelV2},
},
"description": "Return versioned JSON based on either an Accept header or"
"the version of the input model",
}
},
)
def versioned_endpoint_v1(
req: Request,
v1: InputModelV1
| None = Body(None, media_type="application/json;my_input_model_v=1"),
v2: InputModelV2
| None = Body(None, media_type="application/json;my_input_model_v=2"),
) -> OutputModelV1 | OutputModelV2 | None:
"Example endpoint versioned with media types"
# this if block would ideally happen under the hood
if v1:
result = do_op_v1(v1)
elif v2:
result = do_op_v2(v2)
else:
raise HTTPException(status_code=415, detail="Unknown input version")
# this check would ideally be more abstracted
if req.headers.get("accept") == "application/json;my_output_model_v=1":
return to_v1(result)
elif req.headers.get("accept") == "application/json;my_output_model_v=2":
return to_v2(result)
else:
# this wouldn't work like this, the output type should be checked before
# running the operation
raise HTTPException(status_code=406, detail="Unsupported output version")"><pre class="notranslate"><span class="pl-s">"""</span>
<span class="pl-s">Example implementation of the API versioning using media types.</span>
<span class="pl-s">"""</span>
<span class="pl-k">from</span> <span class="pl-s1">fastapi</span> <span class="pl-k">import</span> <span class="pl-v">APIRouter</span>, <span class="pl-v">Body</span>, <span class="pl-v">HTTPException</span>, <span class="pl-v">Request</span>
<span class="pl-k">from</span> <span class="pl-s1">pydantic</span> <span class="pl-k">import</span> <span class="pl-v">BaseModel</span>, <span class="pl-v">Field</span>
<span class="pl-k">class</span> <span class="pl-v">InputModelV1</span>(<span class="pl-v">BaseModel</span>):
<span class="pl-s">"First version of input data"</span>
<span class="pl-s1">name</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Name"</span>)
<span class="pl-s1">count</span>: <span class="pl-s1">int</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Count"</span>)
<span class="pl-k">class</span> <span class="pl-v">InputModelV2</span>(<span class="pl-v">BaseModel</span>):
<span class="pl-s">"Second version of input data. Name is split, amount is a float now."</span>
<span class="pl-s1">first_name</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"First name"</span>)
<span class="pl-s1">last_name</span>: <span class="pl-s1">str</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"First name"</span>)
<span class="pl-s1">amount</span>: <span class="pl-s1">float</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Total amount"</span>)
<span class="pl-k">class</span> <span class="pl-v">OutputModelV1</span>(<span class="pl-v">BaseModel</span>):
<span class="pl-s">"First version of output data"</span>
<span class="pl-s1">id</span>: <span class="pl-s1">int</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Id"</span>)
<span class="pl-s1">owner</span>: <span class="pl-s1">int</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Owner Id"</span>)
<span class="pl-k">class</span> <span class="pl-v">OutputModelV2</span>(<span class="pl-v">BaseModel</span>):
<span class="pl-s">"Secnod version of output data. Ids moved to strings, owner name supplied as well."</span>
<span class="pl-s1">id</span>: <span class="pl-s1">str</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Id"</span>)
<span class="pl-s1">owner_id</span>: <span class="pl-s1">str</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Owner Id"</span>)
<span class="pl-s1">owner_name</span>: <span class="pl-s1">str</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Field</span>(<span class="pl-s1">description</span><span class="pl-c1">=</span><span class="pl-s">"Owner Name"</span>)
<span class="pl-s1">router</span> <span class="pl-c1">=</span> <span class="pl-v">APIRouter</span>()
<span class="pl-en">@<span class="pl-s1">router</span>.<span class="pl-en">post</span>(</span>
<span class="pl-en"> <span class="pl-s">"/test"</span>,</span>
<span class="pl-en"> <span class="pl-s1">responses</span><span class="pl-c1">=</span>{</span>
<span class="pl-en"> <span class="pl-c1">200</span>: {</span>
<span class="pl-en"> <span class="pl-s">"content"</span>: {</span>
<span class="pl-en"> <span class="pl-s">"application/json;my_output_model_v=1"</span>: {<span class="pl-s">"model"</span>: <span class="pl-v">OutputModelV1</span>},</span>
<span class="pl-en"> <span class="pl-s">"application/json;my_output_model_v=2"</span>: {<span class="pl-s">"model"</span>: <span class="pl-v">OutputModelV2</span>},</span>
<span class="pl-en"> },</span>
<span class="pl-en"> <span class="pl-s">"description"</span>: <span class="pl-s">"Return versioned JSON based on either an Accept header or"</span></span>
<span class="pl-en"> <span class="pl-s">"the version of the input model"</span>,</span>
<span class="pl-en"> }</span>
<span class="pl-en"> },</span>
<span class="pl-en">)</span>
<span class="pl-k">def</span> <span class="pl-en">versioned_endpoint_v1</span>(
<span class="pl-s1">req</span>: <span class="pl-v">Request</span>,
<span class="pl-s1">v1</span>: <span class="pl-v">InputModelV1</span>
<span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Body</span>(<span class="pl-c1">None</span>, <span class="pl-s1">media_type</span><span class="pl-c1">=</span><span class="pl-s">"application/json;my_input_model_v=1"</span>),
<span class="pl-s1">v2</span>: <span class="pl-v">InputModelV2</span>
<span class="pl-c1">|</span> <span class="pl-c1">None</span> <span class="pl-c1">=</span> <span class="pl-v">Body</span>(<span class="pl-c1">None</span>, <span class="pl-s1">media_type</span><span class="pl-c1">=</span><span class="pl-s">"application/json;my_input_model_v=2"</span>),
) <span class="pl-c1">-></span> <span class="pl-v">OutputModelV1</span> <span class="pl-c1">|</span> <span class="pl-v">OutputModelV2</span> <span class="pl-c1">|</span> <span class="pl-c1">None</span>:
<span class="pl-s">"Example endpoint versioned with media types"</span>
<span class="pl-c"># this if block would ideally happen under the hood</span>
<span class="pl-k">if</span> <span class="pl-s1">v1</span>:
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">do_op_v1</span>(<span class="pl-s1">v1</span>)
<span class="pl-k">elif</span> <span class="pl-s1">v2</span>:
<span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-en">do_op_v2</span>(<span class="pl-s1">v2</span>)
<span class="pl-k">else</span>:
<span class="pl-k">raise</span> <span class="pl-v">HTTPException</span>(<span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-c1">415</span>, <span class="pl-s1">detail</span><span class="pl-c1">=</span><span class="pl-s">"Unknown input version"</span>)
<span class="pl-c"># this check would ideally be more abstracted </span>
<span class="pl-k">if</span> <span class="pl-s1">req</span>.<span class="pl-s1">headers</span>.<span class="pl-en">get</span>(<span class="pl-s">"accept"</span>) <span class="pl-c1">==</span> <span class="pl-s">"application/json;my_output_model_v=1"</span>:
<span class="pl-k">return</span> <span class="pl-en">to_v1</span>(<span class="pl-s1">result</span>)
<span class="pl-k">elif</span> <span class="pl-s1">req</span>.<span class="pl-s1">headers</span>.<span class="pl-en">get</span>(<span class="pl-s">"accept"</span>) <span class="pl-c1">==</span> <span class="pl-s">"application/json;my_output_model_v=2"</span>:
<span class="pl-k">return</span> <span class="pl-en">to_v2</span>(<span class="pl-s1">result</span>)
<span class="pl-k">else</span>:
<span class="pl-c"># this wouldn't work like this, the output type should be checked before</span>
<span class="pl-c"># running the operation</span>
<span class="pl-k">raise</span> <span class="pl-v">HTTPException</span>(<span class="pl-s1">status_code</span><span class="pl-c1">=</span><span class="pl-c1">406</span>, <span class="pl-s1">detail</span><span class="pl-c1">=</span><span class="pl-s">"Unsupported output version"</span>)</pre></div>
<h3 dir="auto">Alternatives</h3>
<p dir="auto">Use URL slugs and different path operation functions for versioning.</p>
<p dir="auto">Other alternatives like versioning based on query parameter or a custom header are not compatible with OpenAPI and would have the same issues with multiple models for request/response body.</p>
<h3 dir="auto">Operating System</h3>
<p dir="auto">Windows</p>
<h3 dir="auto">Operating System Details</h3>
<p dir="auto">This feature is OS-agnostic.</p>
<h3 dir="auto">FastAPI Version</h3>
<p dir="auto">0.75.0</p>
<h3 dir="auto">Python Version</h3>
<p dir="auto">3.10.2</p>
<h3 dir="auto">Additional Context</h3>
<p dir="auto">Issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="998059480" data-permission-text="Title is private" data-url="https://github.com/tiangolo/fastapi/issues/3910" data-hovercard-type="issue" data-hovercard-url="/tiangolo/fastapi/issues/3910/hovercard" href="https://github.com/tiangolo/fastapi/issues/3910">#3910</a> describes the "Response" part of what I describe in this issue.</p>
<p dir="auto">Here's a screenshot of what the Swagger UI looks like for the example <a href="https://github.com/tiangolo/fastapi/files/8283734/openapi.json.zip"><code class="notranslate">openapi.json.zip</code></a> file I provided:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1166296/158789677-05f234a0-624f-4fdd-bce2-cdd9c2180e3a.png"><img width="986" alt="image" src="https://user-images.githubusercontent.com/1166296/158789677-05f234a0-624f-4fdd-bce2-cdd9c2180e3a.png" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">After using VS Code for a while, it gets slower and slower. I notice it particularly when it attempts to auto-complete.</p>
<p dir="auto">It will then sometimes crash. It may crash whilst I'm using it. It may crash when I haven't used it for sometime but using another window. It may crash if I leave the PC overnight. It may crash if I only used it for a very short amount of time and the slowdown above hadn't occurred.</p>
<p dir="auto">Looking at the Windows Task Manager does not show it using any more memory at this time (it peaks at around 38MB and never goes above 1% CPU although is usually at 0%). The PC has plenty of resources/memory free.</p>
<p dir="auto">Unfortunately I can't find a pattern. It is worse now though than it was when it first started occurring several releases ago.</p>
<p dir="auto">I just get a dialog "Visual Studio has crashed. We are sorry for the inconvenience! Please restart Visual Studio Code." and no other indication as to the cause.</p>
<p dir="auto">Code v0.10.6, issue has occurred since around v0.3<br>
Windows 8.1, i7-4770 with 16GB RAM. SSD disk.<br>
Git repository contains over 39,000 files across folders at various levels deep. These are mostly HP BASIC .BAS (OpenVMS files which we maintain on Windows) plus bespoke 4GL files.<br>
I don't use any of the git functionality within Code, I do commits etc externally.<br>
I use Ctrl+E frequently to find/open files.<br>
Shift+Ctrl+B runs a windows .bat file to transfer and compile the code<br>
settings.json: "editor.insertSpaces": true, "files.trimTrailingWhitespace": true</p> | <p dir="auto">Ubuntu 12.04, VSCode 0.10.1</p>
<p dir="auto">Several times VS Code has become unresponsive overnight on the above configuration (locked). Here is the program output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ code .
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
<--- Last few GCs --->
173527197 ms: Scavenge 1397.0 (1457.6) -> 1397.0 (1457.6) MB, 1.8 / 0 ms [allocation failure] [incremental marking delaying mark-sweep].
173527199 ms: Scavenge 1397.0 (1457.6) -> 1397.0 (1457.6) MB, 1.9 / 0 ms [allocation failure] [incremental marking delaying mark-sweep].
173529040 ms: Mark-sweep 1397.0 (1457.6) -> 1396.9 (1457.6) MB, 1841.7 / 98 ms [last resort gc].
173530775 ms: Mark-sweep 1396.9 (1457.6) -> 1396.1 (1457.6) MB, 1735.0 / 5 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x8a48933a859 <String[7]: file://>
1: _completed [file:////home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.main.js:~1544] [pc=0x23ff9b465433] (this=0x1a37262790b1 <JS Object>,e=0x1cd36e9041b9 <undefined>)
2: arguments adaptor frame: 0->1
6: bound [native v8natives.js:1208] [pc=0x23ff99a26270] (this=0x8a489346089 <JS Global Object>)
==== Details =============================...
Failed to get crash dump id.
Report Id:
events.js:141
throw er; // Unhandled 'error' event
^
Error: channel closed
at process.target.send (internal/child_process.js:509:16)
at Console.console.error (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/bootstrap.js:5:937)
at process.<anonymous> (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/bootstrap.js:5:1340)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:223:26)
[VS Code]: detected unresponsive"><pre class="notranslate"><code class="notranslate">$ code .
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
<--- Last few GCs --->
173527197 ms: Scavenge 1397.0 (1457.6) -> 1397.0 (1457.6) MB, 1.8 / 0 ms [allocation failure] [incremental marking delaying mark-sweep].
173527199 ms: Scavenge 1397.0 (1457.6) -> 1397.0 (1457.6) MB, 1.9 / 0 ms [allocation failure] [incremental marking delaying mark-sweep].
173529040 ms: Mark-sweep 1397.0 (1457.6) -> 1396.9 (1457.6) MB, 1841.7 / 98 ms [last resort gc].
173530775 ms: Mark-sweep 1396.9 (1457.6) -> 1396.1 (1457.6) MB, 1735.0 / 5 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x8a48933a859 <String[7]: file://>
1: _completed [file:////home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/vs/workbench/workbench.main.js:~1544] [pc=0x23ff9b465433] (this=0x1a37262790b1 <JS Object>,e=0x1cd36e9041b9 <undefined>)
2: arguments adaptor frame: 0->1
6: bound [native v8natives.js:1208] [pc=0x23ff99a26270] (this=0x8a489346089 <JS Global Object>)
==== Details =============================...
Failed to get crash dump id.
Report Id:
events.js:141
throw er; // Unhandled 'error' event
^
Error: channel closed
at process.target.send (internal/child_process.js:509:16)
at Console.console.error (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/bootstrap.js:5:937)
at process.<anonymous> (/home/local/ANT/daniimms/VSCode-linux-x64/resources/app/out/bootstrap.js:5:1340)
at emitOne (events.js:77:13)
at process.emit (events.js:169:7)
at process._fatalException (node.js:223:26)
[VS Code]: detected unresponsive
</code></pre></div>
<p dir="auto">This has never occurred with Atom.</p> | 1 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li>[ x] 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>[ x] 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>[ x] 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>[ x] 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>[ x] 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>[ x] 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 dir="auto">
<li>[ x] 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>[ x] I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li>[x ] I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li>[ x] 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>:<br>
** celery:4.3.0 (rhubarb) kombu:4.6.5 py:3.7.4 billiard:3.6.1.0 sqs:N/A**</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:4.3.0 (rhubarb) kombu:4.6.5 py:3.7.4
billiard:3.6.1.0 sqs:N/A
platform -> system:Darwin arch:64bit
kernel version:19.3.0 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:sqs results:disabled
BROKER_URL: 'sqs://localhost//'
ENV: 'production'
DEBUG: False
TESTING: False
PROPAGATE_EXCEPTIONS: None
PRESERVE_CONTEXT_ON_EXCEPTION: None
SECRET_KEY: '********'
PERMANENT_SESSION_LIFETIME: datetime.timedelta(days=31)
USE_X_SENDFILE: False
SERVER_NAME: None
APPLICATION_ROOT: '/'
SESSION_COOKIE_NAME: 'session'
SESSION_COOKIE_DOMAIN: None
SESSION_COOKIE_PATH: None
SESSION_COOKIE_HTTPONLY: True
SESSION_COOKIE_SECURE: False
SESSION_COOKIE_SAMESITE: None
SESSION_REFRESH_EACH_REQUEST: True
MAX_CONTENT_LENGTH: None
SEND_FILE_MAX_AGE_DEFAULT: datetime.timedelta(seconds=43200)
TRAP_BAD_REQUEST_ERRORS: None
TRAP_HTTP_EXCEPTIONS: False
EXPLAIN_TEMPLATE_LOADING: False
PREFERRED_URL_SCHEME: 'http'
JSON_AS_ASCII: True
JSON_SORT_KEYS: '********'
JSONIFY_PRETTYPRINT_REGULAR: False
JSONIFY_MIMETYPE: 'application/json'
TEMPLATES_AUTO_RELOAD: None
MAX_COOKIE_SIZE: 4093
BROKER_TRANSPORT_OPTIONS: {
'broker_pool_limit': 0,
'polling_interval': 0.3,
'region': 'us-west-2',
'visibility_timeout': 1320}
BUNDLE_ERRORS: False
CELERY_BROKER_URL: 'sqs://localhost//'
DB_NAME: 'dns_mapper'
DB_PASS: '********'
DB_URL: '0.0.0.0'
DB_USER: 'root'
SQLALCHEMY_DATABASE_URI: '********'
SQLALCHEMY_ECHO: False
SQLALCHEMY_ENGINE_OPTIONS: {
'pool_pre_ping': True, 'pool_recycle': 120, 'pool_size': 50}
SQLALCHEMY_POOL_RECYCLE: 3600
SQLALCHEMY_TRACK_MODIFICATIONS: False
SQS_VISIBILITY_TIMEOUT: 1320
SQLALCHEMY_BINDS: None
SQLALCHEMY_NATIVE_UNICODE: None
SQLALCHEMY_RECORD_QUERIES: None
SQLALCHEMY_POOL_SIZE: None
SQLALCHEMY_POOL_TIMEOUT: None
SQLALCHEMY_MAX_OVERFLOW: None
SQLALCHEMY_COMMIT_ON_TEARDOWN: False"><pre class="notranslate"><code class="notranslate">software -> celery:4.3.0 (rhubarb) kombu:4.6.5 py:3.7.4
billiard:3.6.1.0 sqs:N/A
platform -> system:Darwin arch:64bit
kernel version:19.3.0 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:sqs results:disabled
BROKER_URL: 'sqs://localhost//'
ENV: 'production'
DEBUG: False
TESTING: False
PROPAGATE_EXCEPTIONS: None
PRESERVE_CONTEXT_ON_EXCEPTION: None
SECRET_KEY: '********'
PERMANENT_SESSION_LIFETIME: datetime.timedelta(days=31)
USE_X_SENDFILE: False
SERVER_NAME: None
APPLICATION_ROOT: '/'
SESSION_COOKIE_NAME: 'session'
SESSION_COOKIE_DOMAIN: None
SESSION_COOKIE_PATH: None
SESSION_COOKIE_HTTPONLY: True
SESSION_COOKIE_SECURE: False
SESSION_COOKIE_SAMESITE: None
SESSION_REFRESH_EACH_REQUEST: True
MAX_CONTENT_LENGTH: None
SEND_FILE_MAX_AGE_DEFAULT: datetime.timedelta(seconds=43200)
TRAP_BAD_REQUEST_ERRORS: None
TRAP_HTTP_EXCEPTIONS: False
EXPLAIN_TEMPLATE_LOADING: False
PREFERRED_URL_SCHEME: 'http'
JSON_AS_ASCII: True
JSON_SORT_KEYS: '********'
JSONIFY_PRETTYPRINT_REGULAR: False
JSONIFY_MIMETYPE: 'application/json'
TEMPLATES_AUTO_RELOAD: None
MAX_COOKIE_SIZE: 4093
BROKER_TRANSPORT_OPTIONS: {
'broker_pool_limit': 0,
'polling_interval': 0.3,
'region': 'us-west-2',
'visibility_timeout': 1320}
BUNDLE_ERRORS: False
CELERY_BROKER_URL: 'sqs://localhost//'
DB_NAME: 'dns_mapper'
DB_PASS: '********'
DB_URL: '0.0.0.0'
DB_USER: 'root'
SQLALCHEMY_DATABASE_URI: '********'
SQLALCHEMY_ECHO: False
SQLALCHEMY_ENGINE_OPTIONS: {
'pool_pre_ping': True, 'pool_recycle': 120, 'pool_size': 50}
SQLALCHEMY_POOL_RECYCLE: 3600
SQLALCHEMY_TRACK_MODIFICATIONS: False
SQS_VISIBILITY_TIMEOUT: 1320
SQLALCHEMY_BINDS: None
SQLALCHEMY_NATIVE_UNICODE: None
SQLALCHEMY_RECORD_QUERIES: None
SQLALCHEMY_POOL_SIZE: None
SQLALCHEMY_POOL_TIMEOUT: None
SQLALCHEMY_MAX_OVERFLOW: None
SQLALCHEMY_COMMIT_ON_TEARDOWN: False
</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="alembic==1.2.1
amqp==2.5.1
aniso8601==8.0.0
appdynamics==4.5.8.0
appdynamics-bindeps-osx-x64==10.0
appdynamics-proxysupport-linux-x64==1.8.0.212.1
arrow==0.15.2
attrs==19.3.0
billiard==3.6.1.0
binaryornot==0.4.4
blinker==1.4
boto3==1.10.1
botocore==1.13.1
celery==4.3.0
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
Click==7.0
configparser==4.0.2
cookiecutter==1.6.0
coverage==5.0.3
croniter==0.3.30
cryptography==2.8
decorator==4.4.1
dnspython==1.16.0
docutils==0.15.2
Empty==0.4.4
eventlet==0.25.1
Flask==1.1.1
Flask-Admin==1.5.3
Flask-DebugToolbar==0.10.1
Flask-Fixtures==0.3.8
Flask-JSGlue==0.3.1
Flask-Login==0.4.1
Flask-Mail==0.9.1
flask-marshmallow==0.10.1
Flask-Migrate==2.5.2
Flask-Principal==0.4.0
Flask-RESTful==0.3.7
Flask-RQ2==18.3
Flask-Script==2.0.6
Flask-Security-Fork==2.0.1
Flask-SocketIO==4.2.1
Flask-SQLAlchemy==2.4.1
Flask-Testing==0.7.1
Flask-WTF==0.14.2
future==0.18.0
gevent==1.4.0
greenlet==0.4.15
gunicorn==20.0.4
idna==2.8
importlib-metadata==0.23
itsdangerous==1.1.0
Jinja2==2.10.3
jinja2-time==0.2.0
jmespath==0.9.4
jsonpath-ng==1.4.3
kombu==4.6.5
Mako==1.1.0
MarkupSafe==1.1.1
marshmallow==3.2.1
marshmallow-enum==1.5.1
marshmallow-sqlalchemy==0.19.0
monotonic==1.5
more-itertools==7.2.0
mysql-connector==2.2.9
nose==1.3.7
packaging==20.1
passlib==1.7.1
pluggy==0.13.1
ply==3.11
poyo==0.5.0
py==1.8.1
pycparser==2.19
pycurl==7.43.0.3
PyMySQL==0.9.3
pyparsing==2.4.6
pytest==5.3.5
python-dateutil==2.8.0
python-editor==1.0.4
python-engineio==3.9.3
python-socketio==4.3.1
pytz==2019.3
PyYAML==5.1.2
redis==3.3.11
requests==2.22.0
retrying==1.3.3
rq==1.1.0
rq-scheduler==0.9.1
s3transfer==0.2.1
six==1.12.0
SQLAlchemy==1.3.10
urllib3==1.25.6
vine==1.3.0
wcwidth==0.1.8
Werkzeug==0.16.0
whichcraft==0.6.1
WTForms==2.2.1
zipp==0.6.0
"><pre class="notranslate"><code class="notranslate">alembic==1.2.1
amqp==2.5.1
aniso8601==8.0.0
appdynamics==4.5.8.0
appdynamics-bindeps-osx-x64==10.0
appdynamics-proxysupport-linux-x64==1.8.0.212.1
arrow==0.15.2
attrs==19.3.0
billiard==3.6.1.0
binaryornot==0.4.4
blinker==1.4
boto3==1.10.1
botocore==1.13.1
celery==4.3.0
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
Click==7.0
configparser==4.0.2
cookiecutter==1.6.0
coverage==5.0.3
croniter==0.3.30
cryptography==2.8
decorator==4.4.1
dnspython==1.16.0
docutils==0.15.2
Empty==0.4.4
eventlet==0.25.1
Flask==1.1.1
Flask-Admin==1.5.3
Flask-DebugToolbar==0.10.1
Flask-Fixtures==0.3.8
Flask-JSGlue==0.3.1
Flask-Login==0.4.1
Flask-Mail==0.9.1
flask-marshmallow==0.10.1
Flask-Migrate==2.5.2
Flask-Principal==0.4.0
Flask-RESTful==0.3.7
Flask-RQ2==18.3
Flask-Script==2.0.6
Flask-Security-Fork==2.0.1
Flask-SocketIO==4.2.1
Flask-SQLAlchemy==2.4.1
Flask-Testing==0.7.1
Flask-WTF==0.14.2
future==0.18.0
gevent==1.4.0
greenlet==0.4.15
gunicorn==20.0.4
idna==2.8
importlib-metadata==0.23
itsdangerous==1.1.0
Jinja2==2.10.3
jinja2-time==0.2.0
jmespath==0.9.4
jsonpath-ng==1.4.3
kombu==4.6.5
Mako==1.1.0
MarkupSafe==1.1.1
marshmallow==3.2.1
marshmallow-enum==1.5.1
marshmallow-sqlalchemy==0.19.0
monotonic==1.5
more-itertools==7.2.0
mysql-connector==2.2.9
nose==1.3.7
packaging==20.1
passlib==1.7.1
pluggy==0.13.1
ply==3.11
poyo==0.5.0
py==1.8.1
pycparser==2.19
pycurl==7.43.0.3
PyMySQL==0.9.3
pyparsing==2.4.6
pytest==5.3.5
python-dateutil==2.8.0
python-editor==1.0.4
python-engineio==3.9.3
python-socketio==4.3.1
pytz==2019.3
PyYAML==5.1.2
redis==3.3.11
requests==2.22.0
retrying==1.3.3
rq==1.1.0
rq-scheduler==0.9.1
s3transfer==0.2.1
six==1.12.0
SQLAlchemy==1.3.10
urllib3==1.25.6
vine==1.3.0
wcwidth==0.1.8
Werkzeug==0.16.0
whichcraft==0.6.1
WTForms==2.2.1
zipp==0.6.0
</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.route('/mappings/v1/hello')
def hello_world():
task_id = add_together.delay(1,2)
LOGGER.info("Hello World! {}".format(task_id))
return 'Hello World!'
2020-05-01 10:53:04,178 - [140481776820552] - [DummyThread-49797] - app - INFO - Hello World! 644d207d-d806-419b-a56f-dadb707cb9ab
"><pre class="notranslate"><span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">route</span>(<span class="pl-s">'/mappings/v1/hello'</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">hello_world</span>():
<span class="pl-s1">task_id</span> <span class="pl-c1">=</span> <span class="pl-s1">add_together</span>.<span class="pl-en">delay</span>(<span class="pl-c1">1</span>,<span class="pl-c1">2</span>)
<span class="pl-v">LOGGER</span>.<span class="pl-en">info</span>(<span class="pl-s">"Hello World! {}"</span>.<span class="pl-en">format</span>(<span class="pl-s1">task_id</span>))
<span class="pl-k">return</span> <span class="pl-s">'Hello World!'</span>
<span class="pl-c1">2020</span><span class="pl-c1">-</span><span class="pl-c1">05</span><span class="pl-c1">-</span><span class="pl-c1">01</span> <span class="pl-c1">10</span>:<span class="pl-c1">53</span>:<span class="pl-c1">04</span>,<span class="pl-c1">178</span> <span class="pl-c1">-</span> [<span class="pl-c1">140481776820552</span>] <span class="pl-c1">-</span> [<span class="pl-v">DummyThread</span><span class="pl-c1">-</span><span class="pl-c1">49797</span>] <span class="pl-c1">-</span> <span class="pl-s1">app</span> <span class="pl-c1">-</span> <span class="pl-v">INFO</span> <span class="pl-c1">-</span> <span class="pl-v">Hello</span> <span class="pl-v">World</span>! <span class="pl-c1">644</span><span class="pl-s1">d207d</span><span class="pl-c1">-</span><span class="pl-s1">d806</span><span class="pl-c1">-</span><span class="pl-c1">419</span><span class="pl-s1">b</span><span class="pl-c1">-</span><span class="pl-s1">a56f</span><span class="pl-c1">-</span><span class="pl-s1">dadb707cb9ab</span></pre></div>
<p dir="auto"></p>
Got the above message from logs, however there is an intemittent issue where these messages are not getting picked up by worker. In rabbitmq, there was a publish_confirm based sync call, that helped us to get confirmation, however on SQS we are not able to get anything.
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Message should be picked up on high load as well.</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">We are seeing this issue when we had 400m/sec. Some messages are not getting picked even after messageid was received</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://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" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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>: 5.2.3</p>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.</p>
<ul dir="auto">
<li><code class="notranslate">python3 -sBm build -w</code></li>
<li>install .whl file in </install/prefix></li>
<li>run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix></li>
</ul>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.8.12</li>
<li><strong>Minimal Celery Version</strong>: 5.2.3</li>
<li><strong>Minimal Kombu Version</strong>: 5.2.3</li>
<li><strong>Minimal Broker Version</strong>: N/A</li>
<li><strong>Minimal Result Backend Version</strong>: N/A</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: L:inux x86/64 5.14.17</li>
<li><strong>Minimal Broker Client Version</strong>: N/A</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
`pip list` is easier to read
```console
[tkloczko@ss-desktop SPECS]$ pip list
Package Version
----------------------------- -------------------
alabaster 0.7.12
amqp 5.0.9
appdirs 1.4.4
attrs 21.4.0
Babel 2.9.1
billiard 3.6.4.0
boto3 1.20.26
botocore 1.23.26
build 0.7.0
certifi 2021.10.8
cffi 1.15.0
chardet 4.0.0
charset-normalizer 2.0.9
click 8.0.1
click-didyoumean 0.0.3
cryptography 36.0.1
cycler 0.11.0
dbus-python 1.2.18
distro 1.6.0
dnspython 2.1.0
docutils 0.17.1
elasticsearch 7.14.2
eventlet 0.31.1
extras 1.0.0
fixtures 3.0.0
fonttools 4.28.5
future 0.18.2
gevent 21.8.0
gpg 1.16.0-unknown
greenlet 1.1.2
idna 3.3
imagesize 1.2.0
importlib-metadata 4.10.0
iniconfig 1.1.1
Jinja2 3.0.3
jmespath 0.10.0
kiwisolver 1.3.2
kombu 5.2.3
libcomps 0.1.18
lit 13.0.0
lxml 4.7.1
Mako 1.1.6.dev0
Markdown 3.3.6
MarkupSafe 2.0.1
matplotlib 3.5.1
meson 0.60.3
msgpack 1.0.3
numpy 1.21.4
olefile 0.46
packaging 21.3
pbr 5.8.0
pep517 0.12.0
Pillow 8.4.0
pip 21.3.1
pluggy 1.0.0
ply 3.11
py 1.11.0
pycparser 2.21
Pygments 2.10.0
PyGObject 3.42.0
pyparsing 3.0.6
pytest 6.2.5
pytest-subtests 0.5.0
pytest-timeout 2.0.2
python-dateutil 2.8.2
pytz 2021.1
PyYAML 6.0
redis 3.5.3
requests 2.26.0
rpm 4.17.0
s3transfer 0.5.0
scour 0.38.2
setuptools 60.1.0.post20211225
six 1.16.0
smartypants 2.0.1
snowballstemmer 2.2.0
Sphinx 4.3.2.dev20211220
sphinx-celery 2.0.0
sphinx-click 3.0.2
sphinxcontrib-applehelp 1.0.2.dev20211227
sphinxcontrib-devhelp 1.0.2.dev20211228
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1.dev20211227
sphinxcontrib-qthelp 1.0.3.dev20211227
sphinxcontrib-serializinghtml 1.1.5
SQLAlchemy 1.4.29.dev0
structlog 21.5.0
testtools 2.5.0
toml 0.10.2
tomli 2.0.0
typogrify 2.0.7
urllib3 1.26.7
vine 5.0.0
wheel 0.37.1
youtube-dl 2021.6.6
zipp 3.6.0
zope.event 4.5.0
zope.interface 5.4.0
```
<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>
<p dir="auto">N/A</p>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Test suite sould finish without errors or fails,</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">Here is pytest output:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-celery-5.2.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-celery-5.2.3-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --ignore t/unit/backends/test_mongodb.py --ignore t/unit/backends/test_mongod.py --ignore t/unit/backends/test_s3.py
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/celery-5.2.3, configfile: pytest.ini
plugins: subtests-0.5.0, timeout-2.0.2, forked-1.4.0, xdist-2.5.0, rerunfailures-10.2
collected 140 items / 7 skipped / 133 selected
t/unit/app/test_celery.py ..... [ 3%]
t/unit/app/test_control.py .. [ 5%]
t/unit/contrib/test_migrate.py ........ [ 10%]
t/unit/contrib/test_pytest.py .E [ 11%]
t/unit/contrib/test_sphinx.py s [ 12%]
t/unit/events/test_events.py .E.E.E [ 14%]
t/unit/utils/test_debug.py .E.E.E.E.E.E.E.E.E.E.E.E.E [ 23%]
t/unit/utils/test_functional.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 33%]
t/unit/utils/test_imports.py .E.E.E.E.E.E.E [ 38%]
t/unit/utils/test_platforms.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 65%]
t/unit/utils/test_sysinfo.py .E.E [ 67%]
t/unit/utils/test_text.py .E.E.E.E.E.E.E.E.E.E [ 74%]
t/unit/utils/test_time.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 97%]
t/unit/utils/test_utils.py .E.E.E.E [100%]
================================================================================== ERRORS ==================================================================================
_______________________________________________________ ERROR at teardown of test_pytest_celery_marker_registration ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_pytest_celery_marker_registration>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------
. [100%]
1 passed in 0.01s
_____________________________________________________________________ ERROR at teardown of test_Event ______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_Event>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_State ______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_State>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________________ ERROR at teardown of test_default_dispatcher _______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_default_dispatcher>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
WARNING kombu.connection:connection.py:630 No hostname was supplied. Reverting to default 'localhost'
__________________________________________________________________ ERROR at teardown of test_on_blocking ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_on_blocking>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________________________ ERROR at teardown of test_blockdetection _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_blockdetection>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________________ ERROR at teardown of test_sample_mem ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_sample_mem>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_sample _____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_sample>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________________ ERROR at teardown of test_hfloat[10-5-10] _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_hfloat[10-5-10]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_hfloat[10.45645234234-5-10.456] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_hfloat[10.45645234234-5-10.456]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanbytes[1048576-1MB] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[1048576-1MB]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanbytes[4194304-4MB] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[4194304-4MB]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanbytes[65536-64KB0] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[65536-64KB0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanbytes[65536-64KB1] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[65536-64KB1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________________________ ERROR at teardown of test_humanbytes[256-256b] ______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[256-256b]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________________ ERROR at teardown of test_mem_rss _____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_mem_rss>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________________________ ERROR at teardown of test_ps _______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_ps>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________________________ ERROR at teardown of test_DummyContext __________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_DummyContext>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_padlist[items0-3-None-expected0] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items0-3-None-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_padlist[items1-3-None-expected1] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items1-3-None-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_padlist[items2-4-Earth-expected2] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items2-4-Earth-expected2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_first ______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_first>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________________ ERROR at teardown of test_lookahead ____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_lookahead>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________________ ERROR at teardown of test_maybe_list ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_maybe_list>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_mlazy ______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_mlazy>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_seq[a0-b0-expected0] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a0-b0-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_seq[a1-b1-expected1] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a1-b1-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_seq[a2-b2-expected2] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a2-b2-expected2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_seq[a3-b3-expected3] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a3-b3-expected3]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_item[a0-4-expected0] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_item[a0-4-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_seq_concat_item[a1-4-expected1] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_item[a1-4-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________________________ ERROR at teardown of test_find_module ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_find_module>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________________ ERROR at teardown of test_find_module_legacy_namespace_package ______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_find_module_legacy_namespace_package>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________________ ERROR at teardown of test_find_module_pep420_namespace_package ______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_find_module_pep420_namespace_package>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________________ ERROR at teardown of test_qualname ____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_qualname>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________________ ERROR at teardown of test_reload_from_cwd _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_reload_from_cwd>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_reload_from_cwd_custom_reloader _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_reload_from_cwd_custom_reloader>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________________________ ERROR at teardown of test_module_file ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_module_file>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_isatty _____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_isatty>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________________ ERROR at teardown of test_fd_by_path ___________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_fd_by_path>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________________________ ERROR at teardown of test_close_open_fds _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_close_open_fds>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content0] ______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content1] ______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content2] ______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content0] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content1] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content2] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content0] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content1] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content2] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content0] _____________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content1] _____________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content2] _____________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content0] _______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content1] _______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content2] _______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel] _______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo] ______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo] ______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo] ______________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel] _____________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel] _____________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel] _____________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0] _____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1] _____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2] _____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0] ____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1] ____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2] ____________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________ ERROR at teardown of test_skip_checking_privileges_when_grp_is_unavailable ________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_skip_checking_privileges_when_grp_is_unavailable>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________ ERROR at teardown of test_skip_checking_privileges_when_pwd_is_unavailable ________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_skip_checking_privileges_when_pwd_is_unavailable>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________________________ ERROR at teardown of test_load_average __________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_load_average>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________________________ ERROR at teardown of test_df _______________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_df>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_truncate_text[ABCDEFGHI-3-ABC...] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_truncate_text[ABCDEFGHI-3-ABC...]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________ ERROR at teardown of test_truncate_text[ABCDEFGHI-10-ABCDEFGHI] ______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_truncate_text[ABCDEFGHI-10-ABCDEFGHI]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________________ ERROR at teardown of test_abbr[args0-???] _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args0-???]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________________ ERROR at teardown of test_abbr[args1-ABC...] _______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args1-ABC...]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________ ERROR at teardown of test_abbr[args2-ABCDEFGHI] ______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args2-ABCDEFGHI]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________________ ERROR at teardown of test_abbr[args3-ABCDEF] _______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args3-ABCDEF]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________________________ ERROR at teardown of test_abbrtask[None-3-???] ______________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[None-3-???]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_abbrtask[feeds.tasks.refresh-10-[.]refresh] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[feeds.tasks.refresh-10-[.]refresh]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
______________________________________________ ERROR at teardown of test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh] ______________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________________ ERROR at teardown of test_pretty _____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_pretty>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_delta_resolution[delta0-expected0] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta0-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_delta_resolution[delta1-expected1] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta1-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_delta_resolution[delta2-expected2] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta2-expected2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________________ ERROR at teardown of test_delta_resolution[delta3-None] __________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta3-None]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_humanize_seconds[345600-4.00 days] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[345600-4.00 days]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_humanize_seconds[86400-1.00 day] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[86400-1.00 day]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_humanize_seconds[14400-4.00 hours] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[14400-4.00 hours]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_humanize_seconds[3600-1.00 hour] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[3600-1.00 hour]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_______________________________________________________ ERROR at teardown of test_humanize_seconds[240-4.00 minutes] _______________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[240-4.00 minutes]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_humanize_seconds[60-1.00 minute] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[60-1.00 minute]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_humanize_seconds[4-4.00 seconds] ________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[4-4.00 seconds]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_humanize_seconds[1-1.00 second] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[1-1.00 second]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_humanize_seconds[4.3567631221-4.36 seconds] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[4.3567631221-4.36 seconds]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanize_seconds[0-now] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[0-now]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_humanize_seconds__prefix ____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds__prefix>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________ ERROR at teardown of test_maybe_iso8601_datetime _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_maybe_iso8601_datetime>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________________ ERROR at teardown of test_maybe_timedelta[30-expected0] __________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[30-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_maybe_timedelta[30.6-expected1] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[30.6-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________ ERROR at teardown of test_maybe_timedelta[arg2-expected2] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[arg2-expected2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________________ ERROR at teardown of test_remaining ____________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_remaining>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_rate_limit_string[999-999] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[999-999]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_rate_limit_string[7.5-7.5] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[7.5-7.5]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________________ ERROR at teardown of test_rate_limit_string[2.5/s-2.5] __________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[2.5/s-2.5]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________________ ERROR at teardown of test_rate_limit_string[1456/s-1456] _________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[1456/s-1456]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
__________________________________________________ ERROR at teardown of test_rate_limit_string[100/m-1.6666666666666667] ___________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[100/m-1.6666666666666667]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_________________________________________________ ERROR at teardown of test_rate_limit_string[10/h-0.0027777777777777775] __________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[10/h-0.0027777777777777775]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
_____________________________________________________________ ERROR at teardown of test_rate_limit_string[0-0] _____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_rate_limit_string[None-0] ____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[None-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/m-0] ____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/m-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/h-0] ____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/h-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/s-0] ____________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/s-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_rate_limit_string[0.0/s-0] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0.0/s-0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_chunks[items0-2-expected0] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items0-2-expected0]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_chunks[items1-3-expected1] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items1-3-expected1]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
___________________________________________________________ ERROR at teardown of test_chunks[items2-2-expected2] ___________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items2-2-expected2]>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
________________________________________________________________ ERROR at teardown of test_cached_property _________________________________________________________________
request = <SubRequest 'threads_not_lingering' for <Function test_cached_property>>
@pytest.fixture(autouse=True)
def threads_not_lingering(request):
yield
> assert request.session._threads_at_startup == alive_threads()
E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)>
E Use -v to get the full diff
t/unit/conftest.py:192: AssertionError
============================================================================= warnings summary =============================================================================
t/unit/app/test_app.py:919
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_app.py:919: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('multiprocessing.util')
t/unit/app/test_loaders.py:122
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_loaders.py:122: PytestUnknownMarkWarning: Unknown pytest.mark.patched_environ - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_environ('CELERY_CONFIG_MODULE', 'celeryconfig.py')
t/unit/app/test_log.py:187
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_log.py:187: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('billiard.util')
t/unit/backends/test_cache.py:209
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:209: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('pylibmc')
t/unit/backends/test_cache.py:218
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:218: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('pylibmc', 'memcache')
t/unit/backends/test_cache.py:244
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:244: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('pylibmc')
t/unit/backends/test_cache.py:255
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:255: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('pylibmc')
t/unit/backends/test_cassandra.py:28
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:28: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module(*CASSANDRA_MODULES)
t/unit/backends/test_cassandra.py:40
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:40: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module(*CASSANDRA_MODULES)
t/unit/backends/test_cassandra.py:63
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:63: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module(*CASSANDRA_MODULES)
t/unit/backends/test_cassandra.py:69
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:69: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module(*CASSANDRA_MODULES)
t/unit/backends/test_cassandra.py:100
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:100: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module(*CASSANDRA_MODULES)
t/unit/fixups/test_django.py:57
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/fixups/test_django.py:57: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('django')
t/unit/fixups/test_django.py:268
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/fixups/test_django.py:268: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.patched_module('django', 'django.db', 'django.core',
t/unit/utils/test_serialization.py:20
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/utils/test_serialization.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.masked_modules('cPickle')
t/unit/worker/test_autoscale.py:103
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_autoscale.py:103: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.sleepdeprived_patched_module(autoscale)
t/unit/worker/test_autoscale.py:219
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_autoscale.py:219: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.sleepdeprived_patched_module(autoscale)
t/unit/worker/test_worker.py:806
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_worker.py:806: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.sleepdeprived_patched_module(autoscale)
t/unit/worker/test_worker.py:855
/home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_worker.py:855: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.sleepdeprived_patched_module(autoscale)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] t/integration/test_backend.py:8: could not import 'azure': No module named 'azure'
SKIPPED [1] t/unit/backends/test_arangodb.py:17: could not import 'pyArango': No module named 'pyArango'
SKIPPED [1] t/unit/backends/test_azureblockblob.py:12: could not import 'azure.storage.blob': No module named 'azure'
SKIPPED [1] t/unit/backends/test_consul.py:7: could not import 'consul': No module named 'consul'
SKIPPED [1] t/unit/backends/test_cosmosdbsql.py:12: could not import 'pydocumentdb': No module named 'pydocumentdb'
SKIPPED [1] t/unit/backends/test_couchbase.py:20: could not import 'couchbase': No module named 'couchbase'
SKIPPED [1] t/unit/backends/test_couchdb.py:18: could not import 'pycouchdb': No module named 'pycouchdb'
SKIPPED [1] t/unit/contrib/test_sphinx.py:16: Sphinx is not installed
ERROR t/unit/contrib/test_pytest.py::test_pytest_celery_marker_registration - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/events/test_events.py::test_Event - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/events/test_events.py::test_State - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/events/test_events.py::test_default_dispatcher - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_on_blocking - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_blockdetection - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_sample_mem - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_sample - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_hfloat[10-5-10] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_hfloat[10.45645234234-5-10.456] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_humanbytes[1048576-1MB] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_humanbytes[4194304-4MB] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_humanbytes[65536-64KB0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_humanbytes[65536-64KB1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_humanbytes[256-256b] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_mem_rss - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_debug.py::test_ps - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_DummyContext - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_padlist[items0-3-None-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_padlist[items1-3-None-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_padlist[items2-4-Earth-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_first - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_lookahead - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_maybe_list - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_mlazy - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a0-b0-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a1-b1-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a2-b2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a3-b3-expected3] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_item[a0-4-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_functional.py::test_seq_concat_item[a1-4-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_find_module - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_find_module_legacy_namespace_package - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_find_module_pep420_namespace_package - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_qualname - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_reload_from_cwd - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_reload_from_cwd_custom_reloader - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_imports.py::test_module_file - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_isatty - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_fd_by_path - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_close_open_fds - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo] - assert [<_MainThread...35234975296)>] == ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo] - assert [<_MainThread...35234975296)>] == ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo] - assert [<_MainThread...35234975296)>] == ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel] - assert [<_MainThread...35234975296)>] ==...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel] - assert [<_MainThread...35234975296)>] ==...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel] - assert [<_MainThread...35234975296)>] ==...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo] - assert [<_MainThread...35234975296)>] ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo] - assert [<_MainThread...35234975296)>] ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo] - assert [<_MainThread...35234975296)>] ...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel] - assert [<_MainThread...35234975296)>]...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel] - assert [<_MainThread...35234975296)>]...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel] - assert [<_MainThread...35234975296)>]...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThrea...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThrea...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThrea...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainTh...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainTh...
ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainTh...
ERROR t/unit/utils/test_platforms.py::test_skip_checking_privileges_when_grp_is_unavailable - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_platforms.py::test_skip_checking_privileges_when_pwd_is_unavailable - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_sysinfo.py::test_load_average - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_sysinfo.py::test_df - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_truncate_text[ABCDEFGHI-3-ABC...] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_truncate_text[ABCDEFGHI-10-ABCDEFGHI] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbr[args0-???] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbr[args1-ABC...] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbr[args2-ABCDEFGHI] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbr[args3-ABCDEF] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbrtask[None-3-???] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbrtask[feeds.tasks.refresh-10-[.]refresh] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_text.py::test_pretty - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_delta_resolution[delta0-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_delta_resolution[delta1-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_delta_resolution[delta2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_delta_resolution[delta3-None] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[345600-4.00 days] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[86400-1.00 day] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[14400-4.00 hours] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[3600-1.00 hour] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[240-4.00 minutes] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[60-1.00 minute] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[4-4.00 seconds] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[1-1.00 second] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[4.3567631221-4.36 seconds] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds[0-now] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_humanize_seconds__prefix - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_maybe_iso8601_datetime - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_maybe_timedelta[30-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_maybe_timedelta[30.6-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_maybe_timedelta[arg2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_remaining - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[999-999] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[7.5-7.5] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[2.5/s-2.5] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[1456/s-1456] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[100/m-1.6666666666666667] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[10/h-0.0027777777777777775] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[0-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[None-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/m-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/h-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/s-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_time.py::test_rate_limit_string[0.0/s-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_utils.py::test_chunks[items0-2-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_utils.py::test_chunks[items1-3-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_utils.py::test_chunks[items2-2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
ERROR t/unit/utils/test_utils.py::test_cached_property - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]
========================================================= 139 passed, 8 skipped, 19 warnings, 124 errors in 9.69s =========================================================="><pre class="notranslate"><span class="pl-c1">+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-celery-5.2.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-celery-5.2.3-2.fc35.x86_64/usr/lib/python3.8/site-packages</span>
<span class="pl-c1">+ /usr/bin/pytest -ra --ignore t/unit/backends/test_mongodb.py --ignore t/unit/backends/test_mongod.py --ignore t/unit/backends/test_s3.py</span>
<span class="pl-c1">=========================================================================== test session starts ============================================================================</span>
<span class="pl-c1">platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0</span>
<span class="pl-c1">rootdir: /home/tkloczko/rpmbuild/BUILD/celery-5.2.3, configfile: pytest.ini</span>
<span class="pl-c1">plugins: subtests-0.5.0, timeout-2.0.2, forked-1.4.0, xdist-2.5.0, rerunfailures-10.2</span>
<span class="pl-c1">collected 140 items / 7 skipped / 133 selected</span>
<span class="pl-c1">t/unit/app/test_celery.py ..... [ 3%]</span>
<span class="pl-c1">t/unit/app/test_control.py .. [ 5%]</span>
<span class="pl-c1">t/unit/contrib/test_migrate.py ........ [ 10%]</span>
<span class="pl-c1">t/unit/contrib/test_pytest.py .E [ 11%]</span>
<span class="pl-c1">t/unit/contrib/test_sphinx.py s [ 12%]</span>
<span class="pl-c1">t/unit/events/test_events.py .E.E.E [ 14%]</span>
<span class="pl-c1">t/unit/utils/test_debug.py .E.E.E.E.E.E.E.E.E.E.E.E.E [ 23%]</span>
<span class="pl-c1">t/unit/utils/test_functional.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 33%]</span>
<span class="pl-c1">t/unit/utils/test_imports.py .E.E.E.E.E.E.E [ 38%]</span>
<span class="pl-c1">t/unit/utils/test_platforms.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 65%]</span>
<span class="pl-c1">t/unit/utils/test_sysinfo.py .E.E [ 67%]</span>
<span class="pl-c1">t/unit/utils/test_text.py .E.E.E.E.E.E.E.E.E.E [ 74%]</span>
<span class="pl-c1">t/unit/utils/test_time.py .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E [ 97%]</span>
<span class="pl-c1">t/unit/utils/test_utils.py .E.E.E.E [100%]</span>
<span class="pl-c1">================================================================================== ERRORS ==================================================================================</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_pytest_celery_marker_registration ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_pytest_celery_marker_registration>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">--------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------</span>
<span class="pl-c1">. [100%]</span>
<span class="pl-c1">1 passed in 0.01s</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_Event ______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_Event>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_State ______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_State>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________________ ERROR at teardown of test_default_dispatcher _______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_default_dispatcher>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------</span>
<span class="pl-c1">WARNING kombu.connection:connection.py:630 No hostname was supplied. Reverting to default 'localhost'</span>
<span class="pl-c1">__________________________________________________________________ ERROR at teardown of test_on_blocking ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_on_blocking>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________________________ ERROR at teardown of test_blockdetection _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_blockdetection>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________________ ERROR at teardown of test_sample_mem ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_sample_mem>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_sample _____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_sample>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________________ ERROR at teardown of test_hfloat[10-5-10] _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_hfloat[10-5-10]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_hfloat[10.45645234234-5-10.456] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_hfloat[10.45645234234-5-10.456]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanbytes[1048576-1MB] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[1048576-1MB]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanbytes[4194304-4MB] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[4194304-4MB]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanbytes[65536-64KB0] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[65536-64KB0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanbytes[65536-64KB1] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[65536-64KB1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________________________ ERROR at teardown of test_humanbytes[256-256b] ______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanbytes[256-256b]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________________ ERROR at teardown of test_mem_rss _____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_mem_rss>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________________________ ERROR at teardown of test_ps _______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_ps>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________________________ ERROR at teardown of test_DummyContext __________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_DummyContext>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_padlist[items0-3-None-expected0] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items0-3-None-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_padlist[items1-3-None-expected1] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items1-3-None-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_padlist[items2-4-Earth-expected2] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_padlist[items2-4-Earth-expected2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_first ______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_first>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________________ ERROR at teardown of test_lookahead ____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_lookahead>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________________ ERROR at teardown of test_maybe_list ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_maybe_list>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_mlazy ______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_mlazy>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_seq[a0-b0-expected0] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a0-b0-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_seq[a1-b1-expected1] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a1-b1-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_seq[a2-b2-expected2] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a2-b2-expected2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_seq[a3-b3-expected3] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_seq[a3-b3-expected3]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_item[a0-4-expected0] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_item[a0-4-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_seq_concat_item[a1-4-expected1] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_seq_concat_item[a1-4-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________________________ ERROR at teardown of test_find_module ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_find_module>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________________ ERROR at teardown of test_find_module_legacy_namespace_package ______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_find_module_legacy_namespace_package>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________________ ERROR at teardown of test_find_module_pep420_namespace_package ______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_find_module_pep420_namespace_package>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________________ ERROR at teardown of test_qualname ____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_qualname>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________________ ERROR at teardown of test_reload_from_cwd _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_reload_from_cwd>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_reload_from_cwd_custom_reloader _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_reload_from_cwd_custom_reloader>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________________________ ERROR at teardown of test_module_file ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_module_file>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_isatty _____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_isatty>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________________ ERROR at teardown of test_fd_by_path ___________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_fd_by_path>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________________________ ERROR at teardown of test_close_open_fds _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_close_open_fds>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content0] ______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content1] ______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_suspicious_platform[accept_content2] ______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_suspicious_platform[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content0] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content1] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_check_privileges[accept_content2] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content0] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content1] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_check_privileges_no_fchown[accept_content2] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_no_fchown[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content0] _____________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content1] _____________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________ ERROR at teardown of test_check_privileges_without_c_force_root[accept_content2] _____________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content0] _______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content1] _______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________ ERROR at teardown of test_check_privileges_with_c_force_root[accept_content2] _______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel] _______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo] ______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo] ______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo] ______________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel] _____________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel] _____________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel] _____________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0] _____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1] _____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________ ERROR at teardown of test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2] _____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0] ____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1] ____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________ ERROR at teardown of test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2] ____________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________ ERROR at teardown of test_skip_checking_privileges_when_grp_is_unavailable ________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_skip_checking_privileges_when_grp_is_unavailable>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________ ERROR at teardown of test_skip_checking_privileges_when_pwd_is_unavailable ________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_skip_checking_privileges_when_pwd_is_unavailable>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________________________ ERROR at teardown of test_load_average __________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_load_average>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________________________ ERROR at teardown of test_df _______________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_df>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_truncate_text[ABCDEFGHI-3-ABC...] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_truncate_text[ABCDEFGHI-3-ABC...]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________ ERROR at teardown of test_truncate_text[ABCDEFGHI-10-ABCDEFGHI] ______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_truncate_text[ABCDEFGHI-10-ABCDEFGHI]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________________ ERROR at teardown of test_abbr[args0-???] _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args0-???]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________________ ERROR at teardown of test_abbr[args1-ABC...] _______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args1-ABC...]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________ ERROR at teardown of test_abbr[args2-ABCDEFGHI] ______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args2-ABCDEFGHI]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________________ ERROR at teardown of test_abbr[args3-ABCDEF] _______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbr[args3-ABCDEF]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________________________ ERROR at teardown of test_abbrtask[None-3-???] ______________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[None-3-???]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_abbrtask[feeds.tasks.refresh-10-[.]refresh] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[feeds.tasks.refresh-10-[.]refresh]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">______________________________________________ ERROR at teardown of test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh] ______________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________________ ERROR at teardown of test_pretty _____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_pretty>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_delta_resolution[delta0-expected0] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta0-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_delta_resolution[delta1-expected1] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta1-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_delta_resolution[delta2-expected2] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta2-expected2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________________ ERROR at teardown of test_delta_resolution[delta3-None] __________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_delta_resolution[delta3-None]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_humanize_seconds[345600-4.00 days] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[345600-4.00 days]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_humanize_seconds[86400-1.00 day] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[86400-1.00 day]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_humanize_seconds[14400-4.00 hours] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[14400-4.00 hours]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_humanize_seconds[3600-1.00 hour] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[3600-1.00 hour]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_______________________________________________________ ERROR at teardown of test_humanize_seconds[240-4.00 minutes] _______________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[240-4.00 minutes]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_humanize_seconds[60-1.00 minute] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[60-1.00 minute]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_humanize_seconds[4-4.00 seconds] ________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[4-4.00 seconds]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_humanize_seconds[1-1.00 second] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[1-1.00 second]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_humanize_seconds[4.3567631221-4.36 seconds] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[4.3567631221-4.36 seconds]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanize_seconds[0-now] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds[0-now]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_humanize_seconds__prefix ____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_humanize_seconds__prefix>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________ ERROR at teardown of test_maybe_iso8601_datetime _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_maybe_iso8601_datetime>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________________ ERROR at teardown of test_maybe_timedelta[30-expected0] __________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[30-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_maybe_timedelta[30.6-expected1] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[30.6-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________ ERROR at teardown of test_maybe_timedelta[arg2-expected2] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_maybe_timedelta[arg2-expected2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________________ ERROR at teardown of test_remaining ____________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_remaining>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_rate_limit_string[999-999] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[999-999]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_rate_limit_string[7.5-7.5] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[7.5-7.5]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________________ ERROR at teardown of test_rate_limit_string[2.5/s-2.5] __________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[2.5/s-2.5]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________________ ERROR at teardown of test_rate_limit_string[1456/s-1456] _________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[1456/s-1456]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">__________________________________________________ ERROR at teardown of test_rate_limit_string[100/m-1.6666666666666667] ___________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[100/m-1.6666666666666667]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_________________________________________________ ERROR at teardown of test_rate_limit_string[10/h-0.0027777777777777775] __________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[10/h-0.0027777777777777775]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">_____________________________________________________________ ERROR at teardown of test_rate_limit_string[0-0] _____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_rate_limit_string[None-0] ____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[None-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/m-0] ____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/m-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/h-0] ____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/h-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">____________________________________________________________ ERROR at teardown of test_rate_limit_string[0/s-0] ____________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0/s-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_rate_limit_string[0.0/s-0] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_rate_limit_string[0.0/s-0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_chunks[items0-2-expected0] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items0-2-expected0]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_chunks[items1-3-expected1] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items1-3-expected1]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">___________________________________________________________ ERROR at teardown of test_chunks[items2-2-expected2] ___________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_chunks[items2-2-expected2]>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">________________________________________________________________ ERROR at teardown of test_cached_property _________________________________________________________________</span>
<span class="pl-c1">request = <SubRequest 'threads_not_lingering' for <Function test_cached_property>></span>
<span class="pl-c1"> @pytest.fixture(autouse=True)</span>
<span class="pl-c1"> def threads_not_lingering(request):</span>
<span class="pl-c1"> yield</span>
> <span class="pl-s1">assert request.session._threads_at_startup == <span class="pl-en">alive_threads</span>()</span>
<span class="pl-c1">E assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">E Right contains one more item: <Thread(Thread-2, started daemon 140133413877312)></span>
<span class="pl-c1">E Use -v to get the full diff</span>
<span class="pl-c1">t/unit/conftest.py:192: AssertionError</span>
<span class="pl-c1">============================================================================= warnings summary =============================================================================</span>
<span class="pl-c1">t/unit/app/test_app.py:919</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_app.py:919: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('multiprocessing.util')</span>
<span class="pl-c1">t/unit/app/test_loaders.py:122</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_loaders.py:122: PytestUnknownMarkWarning: Unknown pytest.mark.patched_environ - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_environ('CELERY_CONFIG_MODULE', 'celeryconfig.py')</span>
<span class="pl-c1">t/unit/app/test_log.py:187</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/app/test_log.py:187: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('billiard.util')</span>
<span class="pl-c1">t/unit/backends/test_cache.py:209</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:209: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('pylibmc')</span>
<span class="pl-c1">t/unit/backends/test_cache.py:218</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:218: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('pylibmc', 'memcache')</span>
<span class="pl-c1">t/unit/backends/test_cache.py:244</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:244: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('pylibmc')</span>
<span class="pl-c1">t/unit/backends/test_cache.py:255</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cache.py:255: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('pylibmc')</span>
<span class="pl-c1">t/unit/backends/test_cassandra.py:28</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:28: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module(*CASSANDRA_MODULES)</span>
<span class="pl-c1">t/unit/backends/test_cassandra.py:40</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:40: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module(*CASSANDRA_MODULES)</span>
<span class="pl-c1">t/unit/backends/test_cassandra.py:63</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:63: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module(*CASSANDRA_MODULES)</span>
<span class="pl-c1">t/unit/backends/test_cassandra.py:69</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:69: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module(*CASSANDRA_MODULES)</span>
<span class="pl-c1">t/unit/backends/test_cassandra.py:100</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/backends/test_cassandra.py:100: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module(*CASSANDRA_MODULES)</span>
<span class="pl-c1">t/unit/fixups/test_django.py:57</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/fixups/test_django.py:57: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('django')</span>
<span class="pl-c1">t/unit/fixups/test_django.py:268</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/fixups/test_django.py:268: PytestUnknownMarkWarning: Unknown pytest.mark.patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.patched_module('django', 'django.db', 'django.core',</span>
<span class="pl-c1">t/unit/utils/test_serialization.py:20</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/utils/test_serialization.py:20: PytestUnknownMarkWarning: Unknown pytest.mark.masked_modules - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.masked_modules('cPickle')</span>
<span class="pl-c1">t/unit/worker/test_autoscale.py:103</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_autoscale.py:103: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.sleepdeprived_patched_module(autoscale)</span>
<span class="pl-c1">t/unit/worker/test_autoscale.py:219</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_autoscale.py:219: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.sleepdeprived_patched_module(autoscale)</span>
<span class="pl-c1">t/unit/worker/test_worker.py:806</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_worker.py:806: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.sleepdeprived_patched_module(autoscale)</span>
<span class="pl-c1">t/unit/worker/test_worker.py:855</span>
<span class="pl-c1"> /home/tkloczko/rpmbuild/BUILD/celery-5.2.3/t/unit/worker/test_worker.py:855: PytestUnknownMarkWarning: Unknown pytest.mark.sleepdeprived_patched_module - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html</span>
<span class="pl-c1"> @pytest.mark.sleepdeprived_patched_module(autoscale)</span>
<span class="pl-c1">-- Docs: https://docs.pytest.org/en/stable/warnings.html</span>
<span class="pl-c1">========================================================================= short test summary info ==========================================================================</span>
<span class="pl-c1">SKIPPED [1] t/integration/test_backend.py:8: could not import 'azure': No module named 'azure'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_arangodb.py:17: could not import 'pyArango': No module named 'pyArango'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_azureblockblob.py:12: could not import 'azure.storage.blob': No module named 'azure'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_consul.py:7: could not import 'consul': No module named 'consul'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_cosmosdbsql.py:12: could not import 'pydocumentdb': No module named 'pydocumentdb'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_couchbase.py:20: could not import 'couchbase': No module named 'couchbase'</span>
<span class="pl-c1">SKIPPED [1] t/unit/backends/test_couchdb.py:18: could not import 'pycouchdb': No module named 'pycouchdb'</span>
<span class="pl-c1">SKIPPED [1] t/unit/contrib/test_sphinx.py:16: Sphinx is not installed</span>
<span class="pl-c1">ERROR t/unit/contrib/test_pytest.py::test_pytest_celery_marker_registration - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/events/test_events.py::test_Event - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/events/test_events.py::test_State - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/events/test_events.py::test_default_dispatcher - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_on_blocking - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_blockdetection - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_sample_mem - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_sample - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_hfloat[10-5-10] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_hfloat[10.45645234234-5-10.456] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_humanbytes[1048576-1MB] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_humanbytes[4194304-4MB] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_humanbytes[65536-64KB0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_humanbytes[65536-64KB1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_humanbytes[256-256b] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_mem_rss - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_debug.py::test_ps - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_DummyContext - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_padlist[items0-3-None-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_padlist[items1-3-None-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_padlist[items2-4-Earth-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_first - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_lookahead - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_maybe_list - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_mlazy - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a0-b0-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a1-b1-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a2-b2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_seq[a3-b3-expected3] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_item[a0-4-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_functional.py::test_seq_concat_item[a1-4-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_find_module - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_find_module_legacy_namespace_package - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_find_module_pep420_namespace_package - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_qualname - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_reload_from_cwd - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_reload_from_cwd_custom_reloader - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_imports.py::test_module_file - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_isatty - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_fd_by_path - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_close_open_fds - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_suspicious_platform[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_no_fchown[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content0-sudo] - assert [<_MainThread...35234975296)>] == ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content1-sudo] - assert [<_MainThread...35234975296)>] == ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content2-sudo] - assert [<_MainThread...35234975296)>] == ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content3-wheel] - assert [<_MainThread...35234975296)>] ==...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content4-wheel] - assert [<_MainThread...35234975296)>] ==...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_with_suspicious_group[accept_content5-wheel] - assert [<_MainThread...35234975296)>] ==...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content0-sudo] - assert [<_MainThread...35234975296)>] ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content1-sudo] - assert [<_MainThread...35234975296)>] ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content2-sudo] - assert [<_MainThread...35234975296)>] ...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content3-wheel] - assert [<_MainThread...35234975296)>]...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content4-wheel] - assert [<_MainThread...35234975296)>]...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_with_suspicious_group[accept_content5-wheel] - assert [<_MainThread...35234975296)>]...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainThrea...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainThrea...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_with_c_force_root_and_no_group_entry[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainThrea...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content0] - assert [<_MainThread...35234975296)>] == [<_MainTh...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content1] - assert [<_MainThread...35234975296)>] == [<_MainTh...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_check_privileges_without_c_force_root_and_no_group_entry[accept_content2] - assert [<_MainThread...35234975296)>] == [<_MainTh...</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_skip_checking_privileges_when_grp_is_unavailable - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_platforms.py::test_skip_checking_privileges_when_pwd_is_unavailable - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_sysinfo.py::test_load_average - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_sysinfo.py::test_df - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_truncate_text[ABCDEFGHI-3-ABC...] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_truncate_text[ABCDEFGHI-10-ABCDEFGHI] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbr[args0-???] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbr[args1-ABC...] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbr[args2-ABCDEFGHI] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbr[args3-ABCDEF] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbrtask[None-3-???] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbrtask[feeds.tasks.refresh-10-[.]refresh] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_abbrtask[feeds.tasks.refresh-30-feeds.tasks.refresh] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_text.py::test_pretty - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_delta_resolution[delta0-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_delta_resolution[delta1-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_delta_resolution[delta2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_delta_resolution[delta3-None] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[345600-4.00 days] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[86400-1.00 day] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[14400-4.00 hours] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[3600-1.00 hour] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[240-4.00 minutes] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[60-1.00 minute] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[4-4.00 seconds] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[1-1.00 second] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[4.3567631221-4.36 seconds] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds[0-now] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_humanize_seconds__prefix - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_maybe_iso8601_datetime - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_maybe_timedelta[30-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_maybe_timedelta[30.6-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_maybe_timedelta[arg2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_remaining - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[999-999] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[7.5-7.5] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[2.5/s-2.5] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[1456/s-1456] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[100/m-1.6666666666666667] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[10/h-0.0027777777777777775] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[0-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[None-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/m-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/h-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[0/s-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_time.py::test_rate_limit_string[0.0/s-0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_utils.py::test_chunks[items0-2-expected0] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_utils.py::test_chunks[items1-3-expected1] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_utils.py::test_chunks[items2-2-expected2] - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">ERROR t/unit/utils/test_utils.py::test_cached_property - assert [<_MainThread...35234975296)>] == [<_MainThread...33413877312)>]</span>
<span class="pl-c1">========================================================= 139 passed, 8 skipped, 19 warnings, 124 errors in 9.69s ==========================================================</span></pre></div>
<ul dir="auto">
<li>I'm ignoring in that run mongodb uniuts because I have no ready yet build env with mongodb modules.</li>
<li>I'm using latest versions of the all modules so this is why there some set of warnings which probably should be reviewed as well.</li>
</ul> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="question" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2753.png">❓</g-emoji> Questions and Help</h2>
<p dir="auto">I have successfully built LibTorch for C++ API under Windows with CUDA 10.1.</p>
<p dir="auto">Although CUDA seems to be enabled and configured correctly in CMake, and <code class="notranslate">torch_cuda.lib</code> is correctly inserted into the linker directives of <code class="notranslate">torch.lib</code>, I still get a message saying it is not linked with CUDA support in my test app.</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
std::cout << torch::cuda::is_available() << std::endl;
torch::Tensor tensor = at::tensor({ -1, 1 }, at::kCUDA);
}
catch (exception& ex) {
std::cout << ex.what() << std::endl;
}"><pre class="notranslate"><span class="pl-k">try</span> {
std::cout << <span class="pl-c1">torch::cuda::is_available</span>() << std::endl;
torch::Tensor tensor = <span class="pl-c1">at::tensor</span>({ -<span class="pl-c1">1</span>, <span class="pl-c1">1</span> }, at::<span class="pl-c1">kCUDA</span>);
}
<span class="pl-k">catch</span> (<span class="pl-c1">exception</span>& ex) {
std::cout << ex.<span class="pl-c1">what</span>() << std::endl;
}</pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TestApp.exe
0
PyTorch is not linked with support for cuda devices (getDeviceGuardImpl at E:\develop\torch\torch\c10/core/impl/DeviceGuardImplInterface.h:216)"><pre class="notranslate"><code class="notranslate">TestApp.exe
0
PyTorch is not linked with support for cuda devices (getDeviceGuardImpl at E:\develop\torch\torch\c10/core/impl/DeviceGuardImplInterface.h:216)
</code></pre></div>
<p dir="auto"><code class="notranslate">torch</code> config in VS2019:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19194484/74712816-3b2f1480-51f5-11ea-8b8d-d80fc472dc2d.png"><img src="https://user-images.githubusercontent.com/19194484/74712816-3b2f1480-51f5-11ea-8b8d-d80fc472dc2d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">CMAKE config output :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="******** Summary ********
General:
CMake version : 3.16.4
CMake command : C:/Program Files/CMake/bin/cmake.exe
System : Windows
C++ compiler : C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
C++ compiler id : MSVC
C++ compiler version : 19.24.28316.0
BLAS : MKL
CXX flags : /DWIN32 /D_WINDOWS /GR /w /EHa /MP /bigobj -openmp:experimental
Build type : Debug
Compile definitions : ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;_CRT_SECURE_NO_DEPRECATE=1;WIN32_LEAN_AND_MEAN;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS
CMAKE_PREFIX_PATH : E:/develop/cudnn/v10.1;E:/develop/cuda/v10.1
CMAKE_INSTALL_PREFIX : E:/develop/torch/torch-1.5.0a-source-cuda-10.1/install/debug
TORCH_VERSION : 1.1.0
CAFFE2_VERSION : 1.1.0
BUILD_CAFFE2_MOBILE : ON
USE_STATIC_DISPATCH : OFF
BUILD_BINARY : OFF
BUILD_CUSTOM_PROTOBUF : ON
Link local protobuf : ON
BUILD_DOCS : OFF
BUILD_PYTHON : OFF
BUILD_CAFFE2_OPS : ON
BUILD_SHARED_LIBS : ON
BUILD_TEST : OFF
BUILD_JNI : OFF
INTERN_BUILD_MOBILE :
USE_ASAN : OFF
USE_CUDA : ON
CUDA static link : OFF
USE_CUDNN : ON
CUDA version : 10.1
cuDNN version : 7.6.4
CUDA root directory : E:/develop/cuda/v10.1
CUDA library : E:/develop/cuda/v10.1/lib/x64/cuda.lib
cudart library : E:/develop/cuda/v10.1/lib/x64/cudart_static.lib
cublas library : E:/develop/cuda/v10.1/lib/x64/cublas.lib
cufft library : E:/develop/cuda/v10.1/lib/x64/cufft.lib
curand library : E:/develop/cuda/v10.1/lib/x64/curand.lib
cuDNN library : E:/develop/cudnn/v10.1/lib/x64/cudnn.lib
nvrtc : E:/develop/cuda/v10.1/lib/x64/nvrtc.lib
CUDA include path : E:/develop/cuda/v10.1/include
NVCC executable : E:/develop/cuda/v10.1/bin/nvcc.exe
NVCC flags : -Xcompiler /w -w;-DONNX_NAMESPACE=onnx_torch;-gencode;arch=compute_61,code=sm_61;-Xcudafe;--diag_suppress=cc_clobber_ignored;-Xcudafe;--diag_suppress=integer_sign_change;-Xcudafe;--diag_suppress=useless_using_declaration;-Xcudafe;--diag_suppress=set_but_not_used;-Xcompiler;-MD$<$<CONFIG:Debug>:d>;--expt-relaxed-constexpr;--expt-extended-lambda;-Xcompiler /wd4819 -Xcompiler /wd4503 -Xcompiler /wd4190 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4275 -Xcompiler /wd4522;-Wno-deprecated-gpu-targets;--expt-extended-lambda;-gencode;arch=compute_61,code=sm_61;-DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__
CUDA host compiler : $(VCInstallDir)Tools/MSVC/$(VCToolsVersion)/bin/Host$(Platform)/$(PlatformTarget)
USE_TENSORRT : OFF
USE_ROCM : OFF
USE_EIGEN_FOR_BLAS : ON
USE_FBGEMM : OFF
USE_FFMPEG : OFF
USE_GFLAGS : OFF
USE_GLOG : OFF
USE_LEVELDB : OFF
USE_LITE_PROTO : OFF
USE_LMDB : OFF
USE_METAL : OFF
USE_MKL : OFF
USE_MKLDNN : ON
USE_MKLDNN_CBLAS : OFF
USE_NCCL : OFF
USE_NNPACK : OFF
USE_NUMPY : OFF
USE_OBSERVERS : ON
USE_OPENCL : OFF
USE_OPENCV : OFF
USE_OPENMP : ON
USE_TBB : OFF
USE_PROF : OFF
USE_QNNPACK : OFF
USE_REDIS : OFF
USE_ROCKSDB : OFF
USE_ZMQ : OFF
USE_DISTRIBUTED : OFF
Public Dependencies : Threads::Threads;caffe2::mkldnn
Private Dependencies : cpuinfo;fp16;aten_op_header_gen;foxi_loader"><pre class="notranslate"><code class="notranslate">******** Summary ********
General:
CMake version : 3.16.4
CMake command : C:/Program Files/CMake/bin/cmake.exe
System : Windows
C++ compiler : C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe
C++ compiler id : MSVC
C++ compiler version : 19.24.28316.0
BLAS : MKL
CXX flags : /DWIN32 /D_WINDOWS /GR /w /EHa /MP /bigobj -openmp:experimental
Build type : Debug
Compile definitions : ONNX_ML=1;ONNX_NAMESPACE=onnx_torch;_CRT_SECURE_NO_DEPRECATE=1;WIN32_LEAN_AND_MEAN;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS
CMAKE_PREFIX_PATH : E:/develop/cudnn/v10.1;E:/develop/cuda/v10.1
CMAKE_INSTALL_PREFIX : E:/develop/torch/torch-1.5.0a-source-cuda-10.1/install/debug
TORCH_VERSION : 1.1.0
CAFFE2_VERSION : 1.1.0
BUILD_CAFFE2_MOBILE : ON
USE_STATIC_DISPATCH : OFF
BUILD_BINARY : OFF
BUILD_CUSTOM_PROTOBUF : ON
Link local protobuf : ON
BUILD_DOCS : OFF
BUILD_PYTHON : OFF
BUILD_CAFFE2_OPS : ON
BUILD_SHARED_LIBS : ON
BUILD_TEST : OFF
BUILD_JNI : OFF
INTERN_BUILD_MOBILE :
USE_ASAN : OFF
USE_CUDA : ON
CUDA static link : OFF
USE_CUDNN : ON
CUDA version : 10.1
cuDNN version : 7.6.4
CUDA root directory : E:/develop/cuda/v10.1
CUDA library : E:/develop/cuda/v10.1/lib/x64/cuda.lib
cudart library : E:/develop/cuda/v10.1/lib/x64/cudart_static.lib
cublas library : E:/develop/cuda/v10.1/lib/x64/cublas.lib
cufft library : E:/develop/cuda/v10.1/lib/x64/cufft.lib
curand library : E:/develop/cuda/v10.1/lib/x64/curand.lib
cuDNN library : E:/develop/cudnn/v10.1/lib/x64/cudnn.lib
nvrtc : E:/develop/cuda/v10.1/lib/x64/nvrtc.lib
CUDA include path : E:/develop/cuda/v10.1/include
NVCC executable : E:/develop/cuda/v10.1/bin/nvcc.exe
NVCC flags : -Xcompiler /w -w;-DONNX_NAMESPACE=onnx_torch;-gencode;arch=compute_61,code=sm_61;-Xcudafe;--diag_suppress=cc_clobber_ignored;-Xcudafe;--diag_suppress=integer_sign_change;-Xcudafe;--diag_suppress=useless_using_declaration;-Xcudafe;--diag_suppress=set_but_not_used;-Xcompiler;-MD$<$<CONFIG:Debug>:d>;--expt-relaxed-constexpr;--expt-extended-lambda;-Xcompiler /wd4819 -Xcompiler /wd4503 -Xcompiler /wd4190 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4275 -Xcompiler /wd4522;-Wno-deprecated-gpu-targets;--expt-extended-lambda;-gencode;arch=compute_61,code=sm_61;-DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__
CUDA host compiler : $(VCInstallDir)Tools/MSVC/$(VCToolsVersion)/bin/Host$(Platform)/$(PlatformTarget)
USE_TENSORRT : OFF
USE_ROCM : OFF
USE_EIGEN_FOR_BLAS : ON
USE_FBGEMM : OFF
USE_FFMPEG : OFF
USE_GFLAGS : OFF
USE_GLOG : OFF
USE_LEVELDB : OFF
USE_LITE_PROTO : OFF
USE_LMDB : OFF
USE_METAL : OFF
USE_MKL : OFF
USE_MKLDNN : ON
USE_MKLDNN_CBLAS : OFF
USE_NCCL : OFF
USE_NNPACK : OFF
USE_NUMPY : OFF
USE_OBSERVERS : ON
USE_OPENCL : OFF
USE_OPENCV : OFF
USE_OPENMP : ON
USE_TBB : OFF
USE_PROF : OFF
USE_QNNPACK : OFF
USE_REDIS : OFF
USE_ROCKSDB : OFF
USE_ZMQ : OFF
USE_DISTRIBUTED : OFF
Public Dependencies : Threads::Threads;caffe2::mkldnn
Private Dependencies : cpuinfo;fp16;aten_op_header_gen;foxi_loader
</code></pre></div>
<p dir="auto">CUDA info:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deviceQuery.exe Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX 1080"
CUDA Driver Version / Runtime Version 10.2 / 10.1
CUDA Capability Major/Minor version number: 6.1
Total amount of global memory: 8192 MBytes (8589934592 bytes)
(20) Multiprocessors, (128) CUDA Cores/MP: 2560 CUDA Cores
GPU Max Clock rate: 1734 MHz (1.73 GHz)
Memory Clock rate: 5005 Mhz
Memory Bus Width: 256-bit
L2 Cache Size: 2097152 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.2, CUDA Runtime Version = 10.1, NumDevs = 1
Result = PASS"><pre class="notranslate"><code class="notranslate">deviceQuery.exe Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
Detected 1 CUDA Capable device(s)
Device 0: "GeForce GTX 1080"
CUDA Driver Version / Runtime Version 10.2 / 10.1
CUDA Capability Major/Minor version number: 6.1
Total amount of global memory: 8192 MBytes (8589934592 bytes)
(20) Multiprocessors, (128) CUDA Cores/MP: 2560 CUDA Cores
GPU Max Clock rate: 1734 MHz (1.73 GHz)
Memory Clock rate: 5005 Mhz
Memory Bus Width: 256-bit
L2 Cache Size: 2097152 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(32768, 32768), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 2 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): Yes
Device supports Compute Preemption: Yes
Supports Cooperative Kernel Launch: No
Supports MultiDevice Co-op Kernel Launch: No
Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >
deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.2, CUDA Runtime Version = 10.1, NumDevs = 1
Result = PASS
</code></pre></div>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/peterjc123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/peterjc123">@peterjc123</a></p> | <p dir="auto">I compile the source libtorch [master] with windows10, vs2017, python3.8, cuda 10.1.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637752-91746700-51a5-11ea-97e0-c7cf4700e84c.png"><img src="https://user-images.githubusercontent.com/19385144/74637752-91746700-51a5-11ea-97e0-c7cf4700e84c.png" alt="image" style="max-width: 100%;"></a><br>
It can run sucessfully.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637663-5c681480-51a5-11ea-840e-ccc19fa696f5.png"><img src="https://user-images.githubusercontent.com/19385144/74637663-5c681480-51a5-11ea-840e-ccc19fa696f5.png" alt="11" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637672-61c55f00-51a5-11ea-80ae-b24f49e78923.png"><img src="https://user-images.githubusercontent.com/19385144/74637672-61c55f00-51a5-11ea-80ae-b24f49e78923.png" alt="12" style="max-width: 100%;"></a></p>
<p dir="auto">However, when I link the library<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637703-7275d500-51a5-11ea-98c8-624a1ac62ace.png"><img src="https://user-images.githubusercontent.com/19385144/74637703-7275d500-51a5-11ea-98c8-624a1ac62ace.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">The compiler tells me the error<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637843-c2ed3280-51a5-11ea-844d-1456e55df84f.png"><img src="https://user-images.githubusercontent.com/19385144/74637843-c2ed3280-51a5-11ea-844d-1456e55df84f.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">If I add the CPU version<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74637908-e2845b00-51a5-11ea-9fa1-39fd73d1bbc0.png"><img src="https://user-images.githubusercontent.com/19385144/74637908-e2845b00-51a5-11ea-9fa1-39fd73d1bbc0.png" alt="image" style="max-width: 100%;"></a><br>
The comipler does not have wrong information. But I still can not use the cuda version, since libtorch can not excute with the CUDA support<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/19385144/74638262-8b32ba80-51a6-11ea-8d84-75f14b362839.png"><img src="https://user-images.githubusercontent.com/19385144/74638262-8b32ba80-51a6-11ea-8d84-75f14b362839.png" alt="13" style="max-width: 100%;"></a></p>
<p dir="auto">Has libtorch been decomposed into a cpu version and cuda version? I think it is a critial bug for the decomposition.<br>
One more thing, the prebuilt version in <a href="https://pytorch.org/" rel="nofollow">https://pytorch.org/</a> is okay.</p> | 1 |
<p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/waypoint-delete-your-jquery-functions" rel="nofollow">http://freecodecamp.com/challenges/waypoint-delete-your-jquery-functions</a> has an issue.</p>
<p dir="auto">Browser: Chrome Version 44.0.2403.157<br>
OS: OS X 10.9.5</p>
<p dir="auto">While progressing through the jQuery section, I ran into a couple of errors. After inserting a new jQuery call, I get an "Unexpected token }" message. This is not totally unexpected I guess since I'm activity modifying script that will run on the page. However, occasionally this will cause the list of tasks to complete to disappear. The only way to make them reappear is to click reset my code.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/0f34286d68f0b05a4a4fbcc9dd731d992c5ef824835dd4a9fe971aed0aa7c0d7/687474703a2f2f6e65772e74696e79677261622e636f6d2f3562653539613836383162656638383436336465343235323935346661303066623037373135653635352e706e67"><img src="https://camo.githubusercontent.com/0f34286d68f0b05a4a4fbcc9dd731d992c5ef824835dd4a9fe971aed0aa7c0d7/687474703a2f2f6e65772e74696e79677261622e636f6d2f3562653539613836383162656638383436336465343235323935346661303066623037373135653635352e706e67" alt="Screen shot of issue w/ dev tools" data-canonical-src="http://new.tinygrab.com/5be59a8681bef88463de4252954fa00fb07715e655.png" style="max-width: 100%;"></a></p>
<p dir="auto">Here's a screen shot of the page without the tasks listed.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/037b59d0c7e5a7e7fbff9d6496b98393010de38af779a53095c01786bbaf3a1d/687474703a2f2f6e65772e74696e79677261622e636f6d2f3562653539613836383132396161313264303161333230653563613363326232346263633839393463302e706e67"><img src="https://camo.githubusercontent.com/037b59d0c7e5a7e7fbff9d6496b98393010de38af779a53095c01786bbaf3a1d/687474703a2f2f6e65772e74696e79677261622e636f6d2f3562653539613836383132396161313264303161333230653563613363326232346263633839393463302e706e67" alt="No tasks to complete" data-canonical-src="http://new.tinygrab.com/5be59a868129aa12d01a320e5ca3c2b24bcc8994c0.png" style="max-width: 100%;"></a></p> | <h4 dir="auto">Challenge Name</h4>
<p dir="auto"><a href="http://beta.freecodecamp.com/en/challenges/data-visualization-with-d3/work-with-data-in-d3" rel="nofollow">http://beta.freecodecamp.com/en/challenges/data-visualization-with-d3/work-with-data-in-d3</a></p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">Not sure if this is related to the local memory issues..</p>
<p dir="auto">The tests fail if you leave the variable as dataset because it says that it has already been declared as a variable. But if you change the variable it works fine.</p>
<h4 dir="auto">Browser Information</h4>
<p dir="auto">PC Chrome</p>
<ul dir="auto">
<li>Browser Name, Version:</li>
<li>Operating System:</li>
<li>Mobile, Desktop, or Tablet:</li>
</ul>
<h4 dir="auto">Your Code</h4>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
"><pre class="notranslate"></pre></div>
<h4 dir="auto">Screenshot</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12264222/22806645/27a821d2-eef1-11e6-89e2-240590507535.png"><img src="https://cloud.githubusercontent.com/assets/12264222/22806645/27a821d2-eef1-11e6-89e2-240590507535.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto"><strong>Migrated issue, originally created by Anonymous</strong></p>
<p dir="auto">QueuePool do_return_invalid needs to <em>always</em> decrement overflow, or eventually (assuming max_overflow >= 0) you'll try to do a blocking get on an empty Queue, and hang.</p>
<p dir="auto">You can reproduce this with a DBProxy having a small pool_size, max_overflow=0, and just get a connection + invalidate it until you hang.</p>
<p dir="auto">It's more clear that "always decrement on invalidation" is the correct policy when you consider that pool_size + _overflow represents the number of created connections that will go back into the queue when released; an invalidated connection should thus always result in _overflow -= 1.</p> | <p dir="auto"><strong>Migrated issue, originally created by Oleg Pidsadnyi (<a href="https://github.com/olegp">@olegp</a>)</strong></p>
<p dir="auto">Mike, I've encountered a behavior that is a bit unexpected:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Model(Base):
a = Column(Integer, nullable=True, default=1)
m = Model()
m.a = None
session.add(m)
In: print m.a
Out: None
session.commit()
In: print m.a
Out: 1
"><pre class="notranslate"><code class="notranslate">class Model(Base):
a = Column(Integer, nullable=True, default=1)
m = Model()
m.a = None
session.add(m)
In: print m.a
Out: None
session.commit()
In: print m.a
Out: 1
</code></pre></div>
<p dir="auto">None is expected :(</p>
<p dir="auto">I understand that the configuration is silly, but this is the existing code. Setting None to the column doesn't cancel the default and the default thinks that the column wasn't set, so it uses the default value in the end.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When I click outside of menu, it must be dissmised.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">After update from 1.0.0.beta 21 to 1.0.0 beta 31 menu is not being closed after clicking outside of menu. I have to choose something from menu to go on. Otherwise all the page is blocked.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Open the menu</li>
<li>Click outside of the menu</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">Some code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="state = {
anchorLangMenu: null
};
selectLanguage = (langId) => {
this.props.activateLanguage(langId);
this.setState({ anchorLangMenu: null });
}
handleClick = event => {
this.setState({
anchorLangMenu: event.currentTarget
});
};
render() {
.....
<Button
className="headerBtn"
aria-owns={this.state.anchorLangMenu ? 'languageMenu' : null}
aria-haspopup="true"
onClick={this.handleClick}
>
Languages
</Button>
<Menu
id="languageMenu"
anchorEl={this.state.anchorLangMenu}
open={Boolean(this.state.anchorLangMenu)}
onRequestClose={() => this.setState({ anchorLangMenu: null })}
>
<MenuItem onClick={() => this.selectLanguage('en')} className="languageName">
<img
src="/images/language-usa.svg"
className="languageFlag"
alt="English"
/>
English
</MenuItem>
<MenuItem onClick={() => this.selectLanguage('nb')} className="languageName">
<img
src="/images/language-norway.svg"
className="languageFlag"
alt="Norsk"
/>
Norsk
</MenuItem>
</Menu>
.....
}"><pre class="notranslate"><code class="notranslate">state = {
anchorLangMenu: null
};
selectLanguage = (langId) => {
this.props.activateLanguage(langId);
this.setState({ anchorLangMenu: null });
}
handleClick = event => {
this.setState({
anchorLangMenu: event.currentTarget
});
};
render() {
.....
<Button
className="headerBtn"
aria-owns={this.state.anchorLangMenu ? 'languageMenu' : null}
aria-haspopup="true"
onClick={this.handleClick}
>
Languages
</Button>
<Menu
id="languageMenu"
anchorEl={this.state.anchorLangMenu}
open={Boolean(this.state.anchorLangMenu)}
onRequestClose={() => this.setState({ anchorLangMenu: null })}
>
<MenuItem onClick={() => this.selectLanguage('en')} className="languageName">
<img
src="/images/language-usa.svg"
className="languageFlag"
alt="English"
/>
English
</MenuItem>
<MenuItem onClick={() => this.selectLanguage('nb')} className="languageName">
<img
src="/images/language-norway.svg"
className="languageFlag"
alt="Norsk"
/>
Norsk
</MenuItem>
</Menu>
.....
}
</code></pre></div>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v1.0.0-beta.31</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome, Safari</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">The documentation around styled-components integration could be improved. The main scenario I think is not documented well is the case where the root component is not the one that the user wants to style. The use case I ran into is attempting to style <code class="notranslate">Drawer</code> with styled-components, expecting that my styles would apply to <code class="notranslate">paper</code>. However, since <code class="notranslate">paper</code> is not the root component, my overrides did nothing, even using the specificity trick with <code class="notranslate">&&</code>. The CSS declaration order did not matter.</p>
<p dir="auto">I had to use the trick I described in this comment @ the styled-components site: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="266776273" data-permission-text="Title is private" data-url="https://github.com/styled-components/styled-components/issues/1253" data-hovercard-type="issue" data-hovercard-url="/styled-components/styled-components/issues/1253/hovercard?comment_id=364837880&comment_type=issue_comment" href="https://github.com/styled-components/styled-components/issues/1253#issuecomment-364837880">styled-components/styled-components#1253 (comment)</a>, which boils down to something like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const StyledDrawer = styled(({ drawerWidth, ...rest }) => <Drawer {...rest} classes={{paper: 'paper-override'}} />)`
& .paper-override {
position: relative;
height: 100%;
overflow: hidden;
}
width: ${props => props.drawerWidth}px;
`"><pre class="notranslate"><code class="notranslate">const StyledDrawer = styled(({ drawerWidth, ...rest }) => <Drawer {...rest} classes={{paper: 'paper-override'}} />)`
& .paper-override {
position: relative;
height: 100%;
overflow: hidden;
}
width: ${props => props.drawerWidth}px;
`
</code></pre></div>
<p dir="auto">which demonstrates how to make the override on the non-root component.</p>
<p dir="auto">To make the example complete, we could add <code class="notranslate">withStyles</code> to get access to the material-ui theme:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const StyledDrawer = withStyles()(styled(({ theme, drawerWidth, ...rest }) => <Drawer {...rest} classes={{paper: 'paper-override'}} />)`
& .paper-override {
position: relative;
height: 100%;
overflow: hidden;
}
width: ${props => props.theme.something}px;
`)"><pre class="notranslate"><code class="notranslate">const StyledDrawer = withStyles()(styled(({ theme, drawerWidth, ...rest }) => <Drawer {...rest} classes={{paper: 'paper-override'}} />)`
& .paper-override {
position: relative;
height: 100%;
overflow: hidden;
}
width: ${props => props.theme.something}px;
`)
</code></pre></div>
<p dir="auto">This level of explanation is definitely not available in the docs right now, and it took me quite a lot of research and time to figure it out.</p>
<p dir="auto">PS All of the above assumes material-ui-next. I have no idea about the current stable version.</p>
<p dir="auto">cc: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/oliviertassinari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oliviertassinari">@oliviertassinari</a></p> | 0 |
<p dir="auto">The LessCSS bug has been around for years. It's easy to replicate and easy to work around. Many people have reported it to the LessCSS project, but the official LessCSS project seems largely uninterested in community development. Issues go ignored and pull requests aren't accepted. Anyway, here's the issue:</p>
<h2 dir="auto">Short description:</h2>
<p dir="auto">CSS properties are duplicated when <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/importing/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/importing">@importing</a> multiple times (nested <a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/import/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/import">@import</a>).</p>
<h2 dir="auto">Issues on LessCSS repo (all the same issue):</h2>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="231168" data-permission-text="Title is private" data-url="https://github.com/less/less.js/issues/49" data-hovercard-type="issue" data-hovercard-url="/less/less.js/issues/49/hovercard" href="https://github.com/less/less.js/issues/49">less/less.js#49</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="241752" data-permission-text="Title is private" data-url="https://github.com/less/less.js/issues/71" data-hovercard-type="issue" data-hovercard-url="/less/less.js/issues/71/hovercard" href="https://github.com/less/less.js/issues/71">less/less.js#71</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1261561" data-permission-text="Title is private" data-url="https://github.com/less/less.js/issues/324" data-hovercard-type="issue" data-hovercard-url="/less/less.js/issues/324/hovercard" href="https://github.com/less/less.js/issues/324">less/less.js#324</a></p>
<h2 dir="auto">The pull request that would fix the issue for LessCSS:</h2>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2015656" data-permission-text="Title is private" data-url="https://github.com/less/less.js/issues/431" data-hovercard-type="pull_request" data-hovercard-url="/less/less.js/pull/431/hovercard" href="https://github.com/less/less.js/pull/431">less/less.js#431</a></p>
<h2 dir="auto">How it effects Initializr when using responsive.less:</h2>
<p dir="auto">Here's a cut-and-paste from generated CSS from a standard bootstrap style.css</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="textarea {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-size: 13px;
font-weight: normal;
line-height: 18px;
}"><pre class="notranslate"><code class="notranslate">textarea {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
font-size: 13px;
font-weight: normal;
line-height: 18px;
}
</code></pre></div>
<h2 dir="auto">The workaround:</h2>
<p dir="auto">Basically, completely avoid using an import of an import. For me, it meant essentially getting rid of bootstrap.less and responsive.less (and removing the includes of variables.less and mixins.less from responsive.less) and putting all includes in my main style.less file. Not the prettiest solution, but it works.</p>
<h2 dir="auto">Thoughts?</h2>
<p dir="auto">Some people have reported their CSS files ballooning up to > 3mb mb because of all the duplicate rules generated. Before I go reorganizing the imports to avoid this issue for responsive.less, I thought I'd gather feedback/consensus and make sure this worth doing.</p> | <p dir="auto">I've noticed this issue with the .btn style in buttons.less but it's probably a more general thing.</p>
<p dir="auto">In 2.0 RC we had nested style definitions for pseudo-classes and related classes - e.g.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" &:hover {}
&.info {}
}
"><pre lang=".btn" class="notranslate"><code class="notranslate"> &:hover {}
&.info {}
}
</code></pre></div>
<p dir="auto">This enabled me to re-apply those styles easily to other elements with mixins, for example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" .btn;
}"><pre lang=".some-selector-for-buttons" class="notranslate"><code class="notranslate"> .btn;
}
</code></pre></div>
<p dir="auto">Which meant that all the items I'd targeted with that selector would get the .btn styles and the .btn:hover and .btn.info styles etc.</p>
<p dir="auto">In the 2.0 GA I see that these pseudo classes and related classes have been split into separate blocks like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".btn:hover {}
.btn.info {}
"><pre lang=".btn" class="notranslate"><code class="notranslate">.btn:hover {}
.btn.info {}
</code></pre></div>
<p dir="auto">This has two negative impacts:</p>
<ol dir="auto">
<li>I'm not able to mixin the pseudo class at all so have to duplicate the CSS styles from .btn:hover in my own code if I want to use those styles.</li>
<li>I can mixin the related class but I need to specifically do this for each related class, I don't get them all for free any more.</li>
</ol>
<p dir="auto">Was there a good reason behind this change? My first thought is that the nested structure provided better reuse of the LESS definitions. If that's a no-go for some reason, then factoring out the pseudo-class styles into a named class would at least allow for re-use of those styles without duplicating the definition. E.g.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".btn-hover {//hover styles here}
.btn:hover { .btn-hover; }"><pre lang=".btn" class="notranslate"><code class="notranslate">.btn-hover {//hover styles here}
.btn:hover { .btn-hover; }
</code></pre></div>
<p dir="auto">I could just apply the btn class everywhere but I felt it was neater to select based on structure for parts of the app and leave the markup clean.. Thoughts on this issue appreciated!</p> | 0 |
<p dir="auto">Commas (",") and pluses ("+") are legal characters in path segment of the URL so I think Symfony\Component\Routing\Generator\UrlGenerator should not escape them.</p>
<p dir="auto">Currently due to escaping:</p>
<ul dir="auto">
<li><strong>correct route doesn't match when the "requirements" regex contains these characters (it's a bug)</strong></li>
<li>bad looking url shows up in the user browser address bar</li>
<li>this can lead to duplicate content issues with search engines</li>
</ul>
<p dir="auto">Example use case:</p>
<p dir="auto">route:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="category_with_params:
pattern: /{category}/{params}/
defaults: { _controller: CompanyProjectBundle:Category:show }
requirements: { params: "[0-9a-z-]+(,[0-9a-z-]+)+(/[0-9a-z-]+(,[0-9a-z-]+)+)*" }"><pre class="notranslate"><code class="notranslate">category_with_params:
pattern: /{category}/{params}/
defaults: { _controller: CompanyProjectBundle:Category:show }
requirements: { params: "[0-9a-z-]+(,[0-9a-z-]+)+(/[0-9a-z-]+(,[0-9a-z-]+)+)*" }
</code></pre></div>
<p dir="auto">passed values:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="category = laptops
params = brand,acer"><pre class="notranslate"><code class="notranslate">category = laptops
params = brand,acer
</code></pre></div>
<p dir="auto">expected path:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /laptops/brand,acer/"><pre class="notranslate"><code class="notranslate"> /laptops/brand,acer/
</code></pre></div>
<p dir="auto">generated path:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" /laptops/brand%2Cacer/"><pre class="notranslate"><code class="notranslate"> /laptops/brand%2Cacer/
</code></pre></div>
<p dir="auto">following generated path doesn't match "category_with_params" route and produces error (if no other matching routes exists):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="No route found for "GET /laptops/brand%2Cacer/" "><pre class="notranslate"><code class="notranslate">No route found for "GET /laptops/brand%2Cacer/"
</code></pre></div>
<hr>
<p dir="auto">Possible fix:</p>
<p dir="auto">Replace 115 line in Symfony\Component\Routing\Generator\UrlGenerator:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $url = $token[1].str_replace('%2F', '/', urlencode($tparams[$token[3]])).$url;"><pre class="notranslate"><code class="notranslate"> $url = $token[1].str_replace('%2F', '/', urlencode($tparams[$token[3]])).$url;
</code></pre></div>
<p dir="auto">with</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $url = $token[1].str_replace(
array('%2F', '%2B', '%2C'),
array('/', '+', ','),
urlencode($tparams[$token[3]])
).$url;"><pre class="notranslate"><code class="notranslate"> $url = $token[1].str_replace(
array('%2F', '%2B', '%2C'),
array('/', '+', ','),
urlencode($tparams[$token[3]])
).$url;
</code></pre></div> | <p dir="auto"><strong>Description</strong><br>
2FA shoud be natively supported by the security component, to get more interoperability between projects and support from the community (as well as external bundles provinding specific 2FA features, e.g. U2F).</p>
<p dir="auto">There are bundles providing support, but most of them are either outdated or not providing a simple, low level API (with a seamless integration in the Symfony security component). They also do not provide the same guaranteed support as Symfony does.</p>
<p dir="auto"><strong>Example</strong><br>
The latest version of <code class="notranslate">scheb/two-factor-bundle</code> provides a good proof of concept, but the API is too restrictive, high level and some of the validation / handling code for the 2FA is a duplicate from existing code in the security component.</p>
<p dir="auto">Some of the main low levels features which would be useful:</p>
<ul dir="auto">
<li>Providers/Challengers: used to implement a <em>way</em> for validating 2FA</li>
<li>Activators: used to enable/disabled 2FA for specific providers based on the authentication context</li>
<li>SecondFactorInterface, which may be used to persist challenges (same use as the UserInterface, but for 2FA)</li>
</ul>
<p dir="auto">I guess a new role equivalent to IS_AUTHENTICATED_ANONYMOUSLY would be required, like in the process described here: <a href="https://github.com/scheb/two-factor-bundle/blob/master/Resources/doc/index.md#the-authentication-process">https://github.com/scheb/two-factor-bundle/blob/master/Resources/doc/index.md#the-authentication-process</a></p>
<p dir="auto">[Edit] See this comment for a proposal to unify sudo mode, MFA and remember me:</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="369943418" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/28868" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/28868/hovercard?comment_id=536877013&comment_type=issue_comment" href="https://github.com/symfony/symfony/issues/28868#issuecomment-536877013">#28868 (comment)</a></li>
</ul> | 0 |
<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="# toy data
x = [0, 1, 1, 1, 2, 3, 4]
y = pd.qcut(sorted(np.unique(x), reverse=True), 5, labels=np.arange(5, 0, -1)) # size 5 only!
table = pd.DataFrame()
table['col_1'] = x # size 7
table['col_2'] = y # size 5!"><pre class="notranslate"><span class="pl-c"># toy data</span>
<span class="pl-s1">x</span> <span class="pl-c1">=</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">2</span>, <span class="pl-c1">3</span>, <span class="pl-c1">4</span>]
<span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">qcut</span>(<span class="pl-en">sorted</span>(<span class="pl-s1">np</span>.<span class="pl-en">unique</span>(<span class="pl-s1">x</span>), <span class="pl-s1">reverse</span><span class="pl-c1">=</span><span class="pl-c1">True</span>), <span class="pl-c1">5</span>, <span class="pl-s1">labels</span><span class="pl-c1">=</span><span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">5</span>, <span class="pl-c1">0</span>, <span class="pl-c1">-</span><span class="pl-c1">1</span>)) <span class="pl-c"># size 5 only! </span>
<span class="pl-s1">table</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>()
<span class="pl-s1">table</span>[<span class="pl-s">'col_1'</span>] <span class="pl-c1">=</span> <span class="pl-s1">x</span> <span class="pl-c"># size 7</span>
<span class="pl-s1">table</span>[<span class="pl-s">'col_2'</span>] <span class="pl-c1">=</span> <span class="pl-s1">y</span> <span class="pl-c"># size 5!</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">I'm assigning vectors with mismatched sizes to the dataframe. I'm not even specifying the index to assign it. This became a problem because it didn't raise any error. I was expecting it to raise an error or a warning. This can be a problem for code using <code class="notranslate">table</code>.</p>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">Raise some error upon this mismatched assignment. The error can be generated if I only call:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="table
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
/usr/local/lib/python3.4/dist-packages/IPython/core/formatters.py in __call__(self, obj)
309 method = get_real_method(obj, self.print_method)
310 if method is not None:
--> 311 return method()
312 return None
313 else:
/usr/local/lib/python3.4/dist-packages/pandas/core/frame.py in _repr_html_(self)
608
609 return self.to_html(max_rows=max_rows, max_cols=max_cols,
--> 610 show_dimensions=show_dimensions, notebook=True)
611 else:
612 return None
/usr/local/lib/python3.4/dist-packages/pandas/core/frame.py in to_html(self, buf, columns, col_space, header, index, na_rep, formatters, float_format, sparsify, index_names, justify, bold_rows, classes, escape, max_rows, max_cols, show_dimensions, notebook, decimal, border)
1606 decimal=decimal)
1607 # TODO: a generic formatter wld b in DataFrameFormatter
-> 1608 formatter.to_html(classes=classes, notebook=notebook, border=border)
1609
1610 if buf is None:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in to_html(self, classes, notebook, border)
698 border=border)
699 if hasattr(self.buf, 'write'):
--> 700 html_renderer.write_result(self.buf)
701 elif isinstance(self.buf, compat.string_types):
702 with open(self.buf, 'w') as f:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in write_result(self, buf)
1022 indent += self.indent_delta
1023 indent = self._write_header(indent)
-> 1024 indent = self._write_body(indent)
1025
1026 self.write('</table>', indent)
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in _write_body(self, indent)
1181 self._write_hierarchical_rows(fmt_values, indent)
1182 else:
-> 1183 self._write_regular_rows(fmt_values, indent)
1184 else:
1185 for i in range(len(self.frame)):
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in _write_regular_rows(self, fmt_values, indent)
1215 row = []
1216 row.append(index_values[i])
-> 1217 row.extend(fmt_values[j][i] for j in range(ncols))
1218
1219 if truncate_h:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in <genexpr>(.0)
1215 row = []
1216 row.append(index_values[i])
-> 1217 row.extend(fmt_values[j][i] for j in range(ncols))
1218
1219 if truncate_h:
IndexError: list index out of range
Out[33]:
col_1 col_2
0 0 1
1 1 2
2 1 3
3 1 4
4 2 5
5 3
6 4 "><pre class="notranslate"><code class="notranslate">table
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
/usr/local/lib/python3.4/dist-packages/IPython/core/formatters.py in __call__(self, obj)
309 method = get_real_method(obj, self.print_method)
310 if method is not None:
--> 311 return method()
312 return None
313 else:
/usr/local/lib/python3.4/dist-packages/pandas/core/frame.py in _repr_html_(self)
608
609 return self.to_html(max_rows=max_rows, max_cols=max_cols,
--> 610 show_dimensions=show_dimensions, notebook=True)
611 else:
612 return None
/usr/local/lib/python3.4/dist-packages/pandas/core/frame.py in to_html(self, buf, columns, col_space, header, index, na_rep, formatters, float_format, sparsify, index_names, justify, bold_rows, classes, escape, max_rows, max_cols, show_dimensions, notebook, decimal, border)
1606 decimal=decimal)
1607 # TODO: a generic formatter wld b in DataFrameFormatter
-> 1608 formatter.to_html(classes=classes, notebook=notebook, border=border)
1609
1610 if buf is None:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in to_html(self, classes, notebook, border)
698 border=border)
699 if hasattr(self.buf, 'write'):
--> 700 html_renderer.write_result(self.buf)
701 elif isinstance(self.buf, compat.string_types):
702 with open(self.buf, 'w') as f:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in write_result(self, buf)
1022 indent += self.indent_delta
1023 indent = self._write_header(indent)
-> 1024 indent = self._write_body(indent)
1025
1026 self.write('</table>', indent)
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in _write_body(self, indent)
1181 self._write_hierarchical_rows(fmt_values, indent)
1182 else:
-> 1183 self._write_regular_rows(fmt_values, indent)
1184 else:
1185 for i in range(len(self.frame)):
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in _write_regular_rows(self, fmt_values, indent)
1215 row = []
1216 row.append(index_values[i])
-> 1217 row.extend(fmt_values[j][i] for j in range(ncols))
1218
1219 if truncate_h:
/usr/local/lib/python3.4/dist-packages/pandas/formats/format.py in <genexpr>(.0)
1215 row = []
1216 row.append(index_values[i])
-> 1217 row.extend(fmt_values[j][i] for j in range(ncols))
1218
1219 if truncate_h:
IndexError: list index out of range
Out[33]:
col_1 col_2
0 0 1
1 1 2
2 1 3
3 1 4
4 2 5
5 3
6 4
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-101-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C
LANG: en_US.UTF-8
LOCALE: None.None
<p dir="auto">pandas: 0.19.2<br>
nose: 1.3.1<br>
pip: 9.0.1<br>
setuptools: 32.3.1<br>
Cython: None<br>
numpy: 1.11.0<br>
scipy: 0.18.1<br>
statsmodels: None<br>
xarray: None<br>
IPython: 5.1.0<br>
sphinx: None<br>
patsy: None<br>
dateutil: 2.0<br>
pytz: 2012c<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
matplotlib: 1.5.3<br>
openpyxl: None<br>
xlrd: None<br>
xlwt: 1.2.0<br>
xlsxwriter: None<br>
lxml: None<br>
bs4: None<br>
html5lib: 0.999<br>
httplib2: None<br>
apiclient: None<br>
sqlalchemy: None<br>
pymysql: None<br>
psycopg2: None<br>
jinja2: 2.8.1<br>
boto: None<br>
pandas_datareader: None</p>
</details> | <p dir="auto">First, assigning a shorter Categorical into a longer DataFrame does something strange:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import pandas as pd
df = pd.DataFrame({'a': [1, 2, 3]})
df['b'] = 4
df['c'] = pd.Series([5, 6, 7, 8])
df['d'] = pd.Series([9])
df['e'] = pd.Categorical('foo')"><pre class="notranslate"><code class="notranslate">import pandas as pd
df = pd.DataFrame({'a': [1, 2, 3]})
df['b'] = 4
df['c'] = pd.Series([5, 6, 7, 8])
df['d'] = pd.Series([9])
df['e'] = pd.Categorical('foo')
</code></pre></div>
<p dir="auto">If you <code class="notranslate">print df</code> it looks reasonable:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" a b c d e
0 1 4 5 9.0 foo
1 2 4 6 NaN
2 3 4 7 NaN "><pre class="notranslate"><code class="notranslate"> a b c d e
0 1 4 5 9.0 foo
1 2 4 6 NaN
2 3 4 7 NaN
</code></pre></div>
<p dir="auto">But if you do <code class="notranslate">df.iloc[1]</code> you get:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="IndexError: index 1 is out of bounds for axis 0 with size 1"><pre class="notranslate"><code class="notranslate">IndexError: index 1 is out of bounds for axis 0 with size 1
</code></pre></div>
<p dir="auto">Next, try a Categorical longer than the DataFrame:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="df['f'] = pd.Categorical(['foo', 'bar', 'baz', 'qux'])"><pre class="notranslate"><code class="notranslate">df['f'] = pd.Categorical(['foo', 'bar', 'baz', 'qux'])
</code></pre></div>
<p dir="auto">This does not look right:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" a b c d e f
0 1 4 5 9.0 foo foo
1 2 4 6 NaN bar
2 3 4 7 NaN baz
qux"><pre class="notranslate"><code class="notranslate"> a b c d e f
0 1 4 5 9.0 foo foo
1 2 4 6 NaN bar
2 3 4 7 NaN baz
qux
</code></pre></div>
<p dir="auto">When we assigned a 4-element Series (<code class="notranslate">c</code>), the extra elements were truncated. Yet a 4-element Categorical ends up with a "trailing value" which has no index and does not change <code class="notranslate">len(df)</code> (which is still 3, despite the appearance when printed).</p>
<p dir="auto">I would expect the above code to give a result more similar to what you get if you use <code class="notranslate">Series</code> everywhere instead of <code class="notranslate">Categorical</code>, i.e.:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" a b c d e f
0 1 4 5 9.0 foo foo
1 2 4 6 NaN NaN bar
2 3 4 7 NaN NaN baz"><pre class="notranslate"><code class="notranslate"> a b c d e f
0 1 4 5 9.0 foo foo
1 2 4 6 NaN NaN bar
2 3 4 7 NaN NaN baz
</code></pre></div>
<p dir="auto">In which case <code class="notranslate">df.iloc[1]</code> works:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="a 2
b 4
c 6
d NaN
e NaN
f bar"><pre class="notranslate"><code class="notranslate">a 2
b 4
c 6
d NaN
e NaN
f bar
</code></pre></div>
<p dir="auto">I'm using Pandas 0.18.1.</p> | 1 |
<p dir="auto">Possibly related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164657422" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/13591" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/13591/hovercard" href="https://github.com/pandas-dev/pandas/issues/13591">#13591</a>. Causes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170081395" data-permission-text="Title is private" data-url="https://github.com/dask/dask/issues/1452" data-hovercard-type="issue" data-hovercard-url="/dask/dask/issues/1452/hovercard" href="https://github.com/dask/dask/issues/1452">dask/dask#1452</a></p>
<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="import pandas as pd
pd.msgpack.unpackb(pd.msgpack.packb("a"))"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-s1">pd</span>.<span class="pl-s1">msgpack</span>.<span class="pl-en">unpackb</span>(<span class="pl-s1">pd</span>.<span class="pl-s1">msgpack</span>.<span class="pl-en">packb</span>(<span class="pl-s">"a"</span>))</pre></div>
<h4 dir="auto">Expected Output</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""a""><pre class="notranslate"><code class="notranslate">"a"
</code></pre></div>
<p dir="auto">instead, we get</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="b"a""><pre class="notranslate"><code class="notranslate">b"a"
</code></pre></div>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.1
nose: None
pip: 8.1.2
setuptools: 25.1.6
Cython: None
numpy: 1.11.1
scipy: None
statsmodels: None
xarray: None
IPython: 5.0.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
pandas: 0.18.1
nose: None
pip: 8.1.2
setuptools: 25.1.6
Cython: None
numpy: 1.11.1
scipy: None
statsmodels: None
xarray: None
IPython: 5.0.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
</code></pre></div> | <h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<p dir="auto">Step 1. Run the code with Python 2 and Python 3</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sys import version
from pandas import DataFrame
print(version)
vers = version[0]
file_name = 'foobar'
data = {'a': [1], 'b': [2]}
dtf = DataFrame(data=data)
dtf.to_msgpack(file_name + '_py{}.msg'.format(vers))"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sys</span> <span class="pl-k">import</span> <span class="pl-s1">version</span>
<span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-v">DataFrame</span>
<span class="pl-en">print</span>(<span class="pl-s1">version</span>)
<span class="pl-s1">vers</span> <span class="pl-c1">=</span> <span class="pl-s1">version</span>[<span class="pl-c1">0</span>]
<span class="pl-s1">file_name</span> <span class="pl-c1">=</span> <span class="pl-s">'foobar'</span>
<span class="pl-s1">data</span> <span class="pl-c1">=</span> {<span class="pl-s">'a'</span>: [<span class="pl-c1">1</span>], <span class="pl-s">'b'</span>: [<span class="pl-c1">2</span>]}
<span class="pl-s1">dtf</span> <span class="pl-c1">=</span> <span class="pl-v">DataFrame</span>(<span class="pl-s1">data</span><span class="pl-c1">=</span><span class="pl-s1">data</span>)
<span class="pl-s1">dtf</span>.<span class="pl-en">to_msgpack</span>(<span class="pl-s1">file_name</span> <span class="pl-c1">+</span> <span class="pl-s">'_py{}.msg'</span>.<span class="pl-en">format</span>(<span class="pl-s1">vers</span>))</pre></div>
<p dir="auto">Step 2. Run the code with Python 2 and Python 3</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sys import version
from pandas import read_msgpack
print(version)
vers = version[0]
file_name = 'foobar'
dtf = read_msgpack(file_name + '_py3.msg'.format(vers))
print(dtf.columns)
print(dtf.a)
dtf = read_msgpack(file_name + '_py2.msg'.format(vers))
# dtf.columns = [i.decode("utf-8") for i in dtf.columns]
print(dtf.columns)
print(dtf.a)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sys</span> <span class="pl-k">import</span> <span class="pl-s1">version</span>
<span class="pl-k">from</span> <span class="pl-s1">pandas</span> <span class="pl-k">import</span> <span class="pl-s1">read_msgpack</span>
<span class="pl-en">print</span>(<span class="pl-s1">version</span>)
<span class="pl-s1">vers</span> <span class="pl-c1">=</span> <span class="pl-s1">version</span>[<span class="pl-c1">0</span>]
<span class="pl-s1">file_name</span> <span class="pl-c1">=</span> <span class="pl-s">'foobar'</span>
<span class="pl-s1">dtf</span> <span class="pl-c1">=</span> <span class="pl-en">read_msgpack</span>(<span class="pl-s1">file_name</span> <span class="pl-c1">+</span> <span class="pl-s">'_py3.msg'</span>.<span class="pl-en">format</span>(<span class="pl-s1">vers</span>))
<span class="pl-en">print</span>(<span class="pl-s1">dtf</span>.<span class="pl-s1">columns</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dtf</span>.<span class="pl-s1">a</span>)
<span class="pl-s1">dtf</span> <span class="pl-c1">=</span> <span class="pl-en">read_msgpack</span>(<span class="pl-s1">file_name</span> <span class="pl-c1">+</span> <span class="pl-s">'_py2.msg'</span>.<span class="pl-en">format</span>(<span class="pl-s1">vers</span>))
<span class="pl-c"># dtf.columns = [i.decode("utf-8") for i in dtf.columns]</span>
<span class="pl-en">print</span>(<span class="pl-s1">dtf</span>.<span class="pl-s1">columns</span>)
<span class="pl-en">print</span>(<span class="pl-s1">dtf</span>.<span class="pl-s1">a</span>)</pre></div>
<h4 dir="auto">Expected Output</h4>
<p dir="auto">Same result with Python 2 and Python 3<br>
Python 2 output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
Index([u'a', u'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([u'a', u'b'], dtype='object')
0 1
Name: a, dtype: int64"><pre class="notranslate"><code class="notranslate">2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
Index([u'a', u'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([u'a', u'b'], dtype='object')
0 1
Name: a, dtype: int64
</code></pre></div>
<p dir="auto">Python 3 output, the exception it is not expected:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
Index(['a', 'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([b'a', b'b'], dtype='object')
Traceback (most recent call last):
File "/Users/VV/GitHub/doptimization/bug_msgpack_reader.py", line 16, in <module>
print(dtf.a)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/generic.py", line 2669, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'a'"><pre class="notranslate"><code class="notranslate">3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
Index(['a', 'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([b'a', b'b'], dtype='object')
Traceback (most recent call last):
File "/Users/VV/GitHub/doptimization/bug_msgpack_reader.py", line 16, in <module>
print(dtf.a)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pandas/core/generic.py", line 2669, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'a'
</code></pre></div>
<h4 dir="auto">output of <code class="notranslate">pd.show_versions()</code></h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.18.0
nose: None
pip: 8.1.2
setuptools: 20.6.7
Cython: None
numpy: 1.11.0
scipy: 0.16.1
statsmodels: None
xarray: None
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.18.0
nose: None
pip: 8.1.2
setuptools: 20.6.7
Cython: None
numpy: 1.11.0
scipy: 0.16.1
statsmodels: None
xarray: None
IPython: 4.0.1
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.0
openpyxl: 2.3.5
xlrd: 1.0.0
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.0
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
None
3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
Index(['a', 'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([b'a', b'b'], dtype='object')
IPython: 4.0.1
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.0
openpyxl: 2.3.5
xlrd: 1.0.0
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.0
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
None"><pre class="notranslate"><code class="notranslate">INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.18.0
nose: None
pip: 8.1.2
setuptools: 20.6.7
Cython: None
numpy: 1.11.0
scipy: 0.16.1
statsmodels: None
xarray: None
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.1.final.0
python-bits: 64
OS: Darwin
OS-release: 15.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.18.0
nose: None
pip: 8.1.2
setuptools: 20.6.7
Cython: None
numpy: 1.11.0
scipy: 0.16.1
statsmodels: None
xarray: None
IPython: 4.0.1
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.0
openpyxl: 2.3.5
xlrd: 1.0.0
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.0
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
None
3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
Index(['a', 'b'], dtype='object')
0 1
Name: a, dtype: int64
Index([b'a', b'b'], dtype='object')
IPython: 4.0.1
sphinx: None
patsy: None
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.0
openpyxl: 2.3.5
xlrd: 1.0.0
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.0
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
None
</code></pre></div> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.1-SNAPSHOT</li>
<li>Operating System version: MacOS</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>add latest dubbo version and spring-boot-starter-dubbo</li>
<li>try to start springboot</li>
<li>java.lang.NoClassDefFoundError: org/apache/curator/retry/ExponentialBackoffRetry</li>
</ol>
<h3 dir="auto">Actual Result</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.NoClassDefFoundError: org/apache/curator/retry/ExponentialBackoffRetry
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration.<init>(ZookeeperDynamicConfiguration.java:64) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfigurationFactory.createDynamicConfiguration(ZookeeperDynamicConfigurationFactory.java:29) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]
at org.apache.dubbo.configcenter.AbstractDynamicConfigurationFactory.getDynamicConfiguration(AbstractDynamicConfigurationFactory.java:33) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]..."><pre class="notranslate"><code class="notranslate">java.lang.NoClassDefFoundError: org/apache/curator/retry/ExponentialBackoffRetry
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration.<init>(ZookeeperDynamicConfiguration.java:64) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]
at org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfigurationFactory.createDynamicConfiguration(ZookeeperDynamicConfigurationFactory.java:29) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]
at org.apache.dubbo.configcenter.AbstractDynamicConfigurationFactory.getDynamicConfiguration(AbstractDynamicConfigurationFactory.java:33) ~[dubbo-2.7.1-SNAPSHOT.jar:2.7.1-SNAPSHOT]...
</code></pre></div>
<p dir="auto">Have to manually add curator-framework and curator-recipes and then it starts successfully. But it seems not convenient. Any problem with the pom.xml setting?<br>
必须手动增加curator-framework和curator-recipes两个依赖,否则无法通过springboot启动,请问下是配置有问题吗<br>
The dependency:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.dubbo.springboot</groupId>
<artifactId>spring-boot-starter-dubbo</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>4.0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>4.0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>"><pre class="notranslate"><code class="notranslate"> <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>2.7.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.dubbo.springboot</groupId>
<artifactId>spring-boot-starter-dubbo</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>4.0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>4.0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
</exclusion>
</exclusions>
</dependency>
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.0</li>
<li>Operating System version: window</li>
<li>Java version: jdk8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>dubbo-demo-annotation-consumer.Application 启动main()方法报错</li>
</ol>
<p dir="auto">[16/01/19 11:17:43:179 CST] main INFO annotation.ReferenceAnnotationBeanPostProcessor: class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!<br>
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoServiceComponent': Injection of <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reference/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reference">@reference</a> dependencies failed; nested exception is java.lang.UnsupportedOperationException<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.postProcessPropertyValues(ReferenceAnnotationBeanPostProcessor.java:105)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1268)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)<br>
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)<br>
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)<br>
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)<br>
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)<br>
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:84)<br>
at org.apache.dubbo.demo.consumer.Application.main(Application.java:36)<br>
Caused by: java.lang.UnsupportedOperationException<br>
at java.util.concurrent.CopyOnWriteArrayList$COWIterator.set(CopyOnWriteArrayList.java:1185)<br>
at java.util.Collections.sort(Collections.java:170)<br>
at org.apache.dubbo.rpc.cluster.RouterChain.sort(RouterChain.java:87)<br>
at org.apache.dubbo.rpc.cluster.RouterChain.initWithRouters(RouterChain.java:67)<br>
at org.apache.dubbo.rpc.cluster.RouterChain.(RouterChain.java:57)<br>
at org.apache.dubbo.rpc.cluster.RouterChain.buildChain(RouterChain.java:46)<br>
at org.apache.dubbo.registry.integration.RegistryDirectory.buildRouterChain(RegistryDirectory.java:584)<br>
at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:378)<br>
at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:361)<br>
at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:65)<br>
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:114)<br>
at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)<br>
at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:372)<br>
at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:312)<br>
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:236)<br>
at org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:70)<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor$ReferenceFieldElement.inject(ReferenceAnnotationBeanPostProcessor.java:376)<br>
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)<br>
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.postProcessPropertyValues(ReferenceAnnotationBeanPostProcessor.java:101)<br>
... 12 more</p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">I seem to be unable to install Atom 0.188 on Windows 7. The installer just exits with an error message, which links to the following log:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.169.0
ApplyReleasesImpl: runPostInstallAndCleanup: starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.169.0\atom.exe]
ApplyReleasesImpl: cleanDeadVersions: for version 0.169.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.169.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.181.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.181.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.187.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.187.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.187.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.187.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
IEnableLogger: Failed to copy Update.exe to C:\Users\christian.schilling\AppData\Local\atom\Update.exe: System.IO.IOException: Der Prozess kann nicht auf die Datei "C:\Users\christian.schilling\AppData\Local\atom\Update.exe" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
bei System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
bei Squirrel.Update.Program.<>c__DisplayClass2f.<Install>b__28()
bei Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
IEnableLogger: Failed to copy Update.exe to C:\Users\christian.schilling\AppData\Local\atom\Update.exe: System.IO.IOException: Der Prozess kann nicht auf die Datei "C:\Users\christian.schilling\AppData\Local\atom\Update.exe" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
bei System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
bei Squirrel.Update.Program.<>c__DisplayClass2f.<Install>b__28()
bei Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()"><pre class="notranslate"><code class="notranslate">Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.169.0
ApplyReleasesImpl: runPostInstallAndCleanup: starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.169.0\atom.exe]
ApplyReleasesImpl: cleanDeadVersions: for version 0.169.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.169.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: No release to install, running the app
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.181.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.181.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.181.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.187.0
ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\christian.schilling\AppData\Local\atom\app-0.187.0\atom.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: fixPinnedExecutables: oldAppDirectories is empty, this is pointless
ApplyReleasesImpl: cleanDeadVersions: for version 0.187.0
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.187.0
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
IEnableLogger: Failed to copy Update.exe to C:\Users\christian.schilling\AppData\Local\atom\Update.exe: System.IO.IOException: Der Prozess kann nicht auf die Datei "C:\Users\christian.schilling\AppData\Local\atom\Update.exe" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
bei System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
bei Squirrel.Update.Program.<>c__DisplayClass2f.<Install>b__28()
bei Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
IEnableLogger: Failed to copy Update.exe to C:\Users\christian.schilling\AppData\Local\atom\Update.exe: System.IO.IOException: Der Prozess kann nicht auf die Datei "C:\Users\christian.schilling\AppData\Local\atom\Update.exe" zugreifen, da sie von einem anderen Prozess verwendet wird.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
bei System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
bei Squirrel.Update.Program.<>c__DisplayClass2f.<Install>b__28()
bei Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\christian.schilling\AppData\Local\atom\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__28.MoveNext()
CheckForUpdateImpl: Reading RELEASES file from C:\Users\christian.schilling\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Found partially applied release folder, killing it: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
ApplyReleasesImpl: Writing files to app directory: C:\Users\christian.schilling\AppData\Local\atom\app-0.188.0
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
bei System.IO.PathHelper.GetFullPathName()
bei System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
bei System.IO.Path.GetFullPathInternal(String path)
bei System.IO.FileInfo.Init(String fileName, Boolean checkHost)
bei System.IO.FileInfo..ctor(String fileName)
bei Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__89(IPackageFile x)
bei System.Collections.Generic.List`1.ForEach(Action`1 action)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8c.<installPackageToAppDir>b__88()
bei System.Threading.Tasks.Task.InnerInvoke()
bei System.Threading.Tasks.Task.Execute()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.UpdateManager.ApplyReleasesImpl.<installPackageToAppDir>d__8e.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Squirrel.Utility.<LogIfThrows>d__4f`1.MoveNext()
</code></pre></div>
<p dir="auto">This error happens when I run atom as regular OR administrative user.<br>
As I cannot install any packages and now I am also unable to install updates I seem to be a bit lost :(. I really want to use your editor, but you just dont let me :).</p> | <p dir="auto">I download AtomSetup.exe<br>
I run it as an administrator<br>
I agree there are probably curious permission setups and my user directory is mapped to a central server.<br>
I get no choices where to install from the installer.<br>
Other applications have worked<br>
I get the error dialog. Here's the log.<br>
I can't alter where it tries to install, nor am I clear why the install path is too long.<br>
Chocolatey didn't install 174.1 either - there's clearly something pathological in my setup.<br>
Any chance of being able to configure where it installs to and from?<br>
============SquirrelSetup.log============<br>
Program: Starting Squirrel Updater: --install .<br>
Program: Starting install, writing to C:\Users\john.drummond\AppData\Local\SquirrelTemp<br>
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\john.drummond\AppData\Local\atom\packages\RELEASES'.<br>
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)<br>
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)<br>
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)<br>
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)<br>
at Squirrel.UpdateManager.CheckForUpdateImpl.d__28.MoveNext()<br>
CheckForUpdateImpl: Reading RELEASES file from C:\Users\john.drummond\AppData\Local\SquirrelTemp<br>
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch<br>
ApplyReleasesImpl: Writing files to app directory: C:\Users\john.drummond\AppData\Local\atom\app-0.174.0<br>
IEnableLogger: Failed to write file: C:\Users\john.drummond\AppData\Local\atom\app-0.174.0: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.<br>
at System.IO.PathHelper.GetFullPathName()<br>
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)<br>
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)<br>
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)<br>
at NuGet.PhysicalPackageFile.GetStream()<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8b.b__8a()<br>
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)<br>
IEnableLogger: Failed to install package to app dir: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.<br>
at System.IO.PathHelper.GetFullPathName()<br>
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)<br>
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)<br>
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)<br>
at NuGet.PhysicalPackageFile.GetStream()<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass8b.b__8a()<br>
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.copyFileToLocation(FileSystemInfo target, IPackageFile x)<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass84.b__80(IPackageFile x)<br>
at System.Collections.Generic.List<code class="notranslate">1.ForEach(Action</code>1 action)<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass84.b__7f()<br>
at System.Threading.Tasks.Task.InnerInvoke()<br>
at System.Threading.Tasks.Task.Execute()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at Squirrel.UpdateManager.ApplyReleasesImpl.d__86.MoveNext()<br>
--- End of stack trace from previous location where exception was thrown ---<br>
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<br>
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<br>
at Squirrel.Utility.d__4b`1.MoveNext()</p> | 1 |
<p dir="auto">I was doing some buffer geo flippin' yesterday when I came across this nice utility function:<br>
<a href="https://stackoverflow.com/questions/16824650/#answer-54496265" rel="nofollow">https://stackoverflow.com/questions/16824650/#answer-54496265</a></p>
<p dir="auto">Wouldn't this be handy to have in BufferGeometryUtils? Or is there a more convenient way to flip BufferGeometries?</p> | <h5 dir="auto">Description of the problem</h5>
<p dir="auto">I am trying to flip a mesh (mirror operation). For doing so if if "scale negatively" its geometry the faces are inside-outside and the mesh does not render properly.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const geom = new THREE.BoxGeometry(10,10,10);
geom.applyMatrix(new THREE.Matrix4().makeScale(-1, 1, 1));"><pre class="notranslate"><code class="notranslate">const geom = new THREE.BoxGeometry(10,10,10);
geom.applyMatrix(new THREE.Matrix4().makeScale(-1, 1, 1));
</code></pre></div>
<p dir="auto">Instead, if I apply it directly to the mesh it works just fine:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this.mesh.scale.set(-1,1,1); "><pre class="notranslate"><code class="notranslate">this.mesh.scale.set(-1,1,1);
</code></pre></div>
<p dir="auto">Unfortunatelly I need to apply it to the geometry</p>
<p dir="auto">You can check the project using this at <a href="https://beta.bitbloq.cc/app/playground/3d" rel="nofollow">https://beta.bitbloq.cc/app/playground/3d</a></p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r0.107.0</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> macOS</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> 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> | 1 |
<p dir="auto">Since <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="473636073" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/19488" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/19488/hovercard" href="https://github.com/electron/electron/pull/19488">#19488</a>, the network service is enabled and the old path has been deleted. Some features are broken as a result and will need to be fixed before 8.0.0. This is a tracking issue for those features.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> webRequest API (zcbenz)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> service workers on file protocol (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="489902556" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/20132" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/20132/hovercard" href="https://github.com/electron/electron/pull/20132">#20132</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> session.clearAuthCache - tests (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="486595972" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/20015" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/20015/hovercard" href="https://github.com/electron/electron/pull/20015">#20015</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> session.getBlobData (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="487444091" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/20041" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/20041/hovercard" href="https://github.com/electron/electron/pull/20041">#20041</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> session.setUserAgent (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="486565090" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/20014" data-hovercard-type="pull_request" data-hovercard-url="/electron/electron/pull/20014/hovercard" href="https://github.com/electron/electron/pull/20014">#20014</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> custom standard schemes / registerSchemesAsPrivileged</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Rewire Login Handler from NetworkDelegate into ProxyingURLLoaderFactory</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fix 'login' event not firing on net requests</li>
</ul>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/deepak1556/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/deepak1556">@deepak1556</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jkleinsc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jkleinsc">@jkleinsc</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zcbenz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zcbenz">@zcbenz</a></p> | <h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>9.0.5</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10 (1803)</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>Don't know</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">A normal launch of the application.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Doesn't launch the application because it can't find "cli.js" in the electron node module, this started happening after I resolved the issue that npm can't find certain node_modules via npm install</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">/</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/48119536/85890493-b9c44000-b7ed-11ea-9cdd-9c708759cad1.png"><img src="https://user-images.githubusercontent.com/48119536/85890493-b9c44000-b7ed-11ea-9cdd-9c708759cad1.png" alt="image" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">The <code class="notranslate">strings.Replacer</code> is a real race car.</p>
<p dir="auto">It would be very useful to have a <code class="notranslate">bytes.Replacer</code> with similar feature set.</p> | <p dir="auto">by <strong>andres.erbsen</strong>:</p>
<pre class="notranslate">Thanks.
What does 'go version' print?
go version go1.2.1 linux/amd64; postgresql 9.3+146really9.1+148 on Ubuntu
go version devel +93ad232384f8 Fri Apr 11 10:11:21 2014 -0700 linux/amd64
c; postgresql 9.3.4-1 on Arch Linux
go version devel +877b2382424b Wed Apr 16 14:36:44 2014 -0700 linux/amd64; postgresql
9.3.4-1 on Arch Linux
What steps reproduce the problem?
Run <a href="http://play.golang.org/p/_o6E3COOIZ" rel="nofollow">http://play.golang.org/p/_o6E3COOIZ</a> with suitable database config
What happened?
panic: dial tcp 127.0.0.1:5432: too many open files
OR
panic: pq: remaining connection slots are reserved for non-replication superuser
What should have happened instead?
Each db.Query should have blocked until the previous one has finished, resulting in an
infinite loop creating many many idle goroutines.</pre> | 0 |
<p dir="auto">Via <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29180011" data-permission-text="Title is private" data-url="https://github.com/atom/atom-dark-ui/issues/19" data-hovercard-type="issue" data-hovercard-url="/atom/atom-dark-ui/issues/19/hovercard" href="https://github.com/atom/atom-dark-ui/issues/19">atom/atom-dark-ui#19</a></p>
<blockquote>
<p dir="auto">Currently it's quite easy to change the background colors for selections.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".selection .region { background-color: @red }"><pre class="notranslate"><code class="notranslate">.selection .region { background-color: @red }
</code></pre></div>
<p dir="auto">But it seems to be impossible to change the foreground color, due to the fact that the <code class="notranslate">selection</code> container simply overlays the text, and does nothing to change the actual <code class="notranslate">.line</code> element containing the text. (see screenshot)</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6279c1562f2ef216a0f58c0f11c58c438663716802bca9eb82beaed7ffa438ee/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3433303837352f323338353934342f30353931303032342d613932352d313165332d393439652d6138353666633665353434392e706e67"><img src="https://camo.githubusercontent.com/6279c1562f2ef216a0f58c0f11c58c438663716802bca9eb82beaed7ffa438ee/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3433303837352f323338353934342f30353931303032342d613932352d313165332d393439652d6138353666633665353434392e706e67" alt="screen shot 2014-03-11 at 14 55 11" data-canonical-src="https://f.cloud.github.com/assets/430875/2385944/05910024-a925-11e3-949e-a856fc6e5449.png" style="max-width: 100%;"></a></p>
</blockquote> | <p dir="auto">This is another stab at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38760504" data-permission-text="Title is private" data-url="https://github.com/atom/api/issues/6" data-hovercard-type="pull_request" data-hovercard-url="/atom/api/pull/6/hovercard" href="https://github.com/atom/api/pull/6">atom/api#6</a>, but in more concrete terms of guides / docs I think we should write to place on atom.io.</p>
<p dir="auto">Many of the APIs these rely on are very in flux at the moment, though, so we'll probably need to write them near or after the API freeze.</p>
<h2 dir="auto">Bit of background: links to problems / talk about package writing</h2>
<ul dir="auto">
<li><a href="http://gnuu.org/2014/03/10/my-week-with-githubs-atom-editor/" rel="nofollow">http://gnuu.org/2014/03/10/my-week-with-githubs-atom-editor/</a></li>
<li><a href="https://discuss.atom.io/t/how-to-speed-up-your-packages/10903" rel="nofollow">https://discuss.atom.io/t/how-to-speed-up-your-packages/10903</a></li>
<li><a href="https://discuss.atom.io/t/looking-for-best-practices-for-iterative-development-on-atom/10889" rel="nofollow">https://discuss.atom.io/t/looking-for-best-practices-for-iterative-development-on-atom/10889</a></li>
</ul>
<h2 dir="auto">Guides We Should Write</h2>
<h3 dir="auto">Events</h3>
<p dir="auto">Events seem to be the number one issue folks have with the API. There is confusion around</p>
<ul dir="auto">
<li>Which classes produce which events?</li>
<li>What is the difference between events and commands?</li>
<li>What is a subscription object?</li>
<li>Subscribe? on? which one? Where am I? It's dark in here!</li>
</ul>
<p dir="auto">This guide (and new APIs!) should address these things.</p>
<h3 dir="auto">Serialization</h3>
<ul dir="auto">
<li>WTF is it?</li>
<li>How does it work?</li>
<li>How to use it?</li>
</ul>
<h3 dir="auto">Inter-package communication</h3>
<p dir="auto">(API needs to be written!)</p>
<ul dir="auto">
<li>How to use</li>
<li>Best practices</li>
</ul>
<h3 dir="auto">Testing your package</h3>
<ul dir="auto">
<li>Setting it up</li>
<li>Best practices</li>
</ul>
<h3 dir="auto">Grammar scopes</h3>
<p dir="auto">Creating a language package? A syntax theme? It's impossible to know what scopes to generate / select for in common cases. What are the scopes for a function? Punctuation? Class names? I have no idea. Currently, the only way to know what to do is to look through several other lang packages and themes to get an idea of the scopes involved.</p>
<h3 dir="auto">Decorations</h3>
<p dir="auto">Currently the best docs are the example package and the blog post.</p>
<h2 dir="auto">List of cookbooks / recipes</h2>
<p dir="auto">Cookbooks / Recipes (have not decided on naming) are small snippets that solve a specific problem. Often package authors (and me!) want to know "how do I do That Common Thing that I saw in package Y". They can also be an entry point into a related guide.</p>
<p dir="auto">This list should be exhaustive. If you have ideas, let me know and I will add them.</p>
<ul dir="auto">
<li>Observing all the editors</li>
<li>Observing the active editor / pane item</li>
<li>Adding a pane item in a tab (like settings view)</li>
<li>Adding a panel (like find and replace)</li>
<li>Subscribing to a command</li>
<li>Highlighting a line / gutter-number (decoration)</li>
<li>Adding something to the status bar</li>
<li>How to get user input (like jump to line)</li>
<li>How to display a filterable list in a dialog (like command palette)</li>
</ul>
<h2 dir="auto">Changes we should make to existing guides</h2>
<h3 dir="auto">In <a href="https://atom.io/docs/latest/creating-a-package" rel="nofollow">Creating a package</a></h3>
<ul dir="auto">
<li>This could provide more of an overview and be the entry point / index into other guides (like the one on events or serialization).</li>
<li>Section about activation events</li>
</ul>
<h2 dir="auto">Less concrete ideas for guides</h2>
<p dir="auto">Here are some ideas from <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38760504" data-permission-text="Title is private" data-url="https://github.com/atom/api/issues/6" data-hovercard-type="pull_request" data-hovercard-url="/atom/api/pull/6/hovercard" href="https://github.com/atom/api/pull/6">atom/api#6</a> and from the summit that are less fleshed out.</p>
<ul dir="auto">
<li>Making your package fast: common pitfalls</li>
<li>Debugging your package</li>
<li>Package manager guide</li>
<li>Theme manager</li>
<li>Syntax/Grammar</li>
<li>Editor</li>
<li>Workspace/Panes</li>
<li>apm</li>
<li>~/.atom</li>
<li>cross-platform</li>
<li>dependency management in packages (where do I get the things I need?)</li>
</ul>
<h2 dir="auto">Updates</h2>
<p dir="auto">Writing these is getting closer, so I will be updating the body of this issue as comments roll in and we think of things.</p> | 0 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto"><code class="notranslate"><CircularProgress></code> is most often used as a loading spinner. I usually find it most convenient to style my loading spinners to be sized relative to the text, for example <code class="notranslate">1.2em</code> diameter, so that I don't have to waste time styling each particular usage. But currently <code class="notranslate"><CircularProgress></code> only supports a fixed pixel size.</p>
<p dir="auto">So would you be willing to make the API (or accept a PR to) support any valid CSS length value (as a string)?</p> | <p dir="auto">When passing a style rules callback or object <code class="notranslate">withStyles()</code> hoc does not raise a type error if the rules contain invalid CSS properties.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">There should be a type error if the styles object contains non-CSS properties.</p>
<p dir="auto">Note the property <code class="notranslate">styles.root.foo</code> in the code below is not a valid CSS property, but it compiles just fine.</p>
<p dir="auto">I don't know if this is a problem in the typings, typescript itself, or the way I am doing things. Or perhaps this is not expected to be caught at compile time?</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The code compiles. This means one will easily fail to catch a mis-spelled CSS property.</p>
<h2 dir="auto">The Code</h2>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import * as React from 'react';
import { withStyles, WithStyles, StyleRulesCallback } from 'material-ui/styles';
const drawerWidth = 240;
type ClassNames =
| 'root'
| 'content';
const styles: StyleRulesCallback<ClassNames> = theme => ({
root: {
width: '100%',
height: 430,
marginTop: theme.spacing.unit * 3,
foo: 0, // I expected this to cause a compile error
},
content: {
backgroundColor: theme.palette.background.default,
width: '100%',
padding: theme.spacing.unit * 3,
},
});
export type Props = WithStyles<ClassNames>;
class App extends React.Component<Props> {
render() {
const { classes, theme } = this.props;
return (
<div className={classes.root}>
<main className={classes.content}>
Hello World
</main>
</div>
);
}
}
export default withStyles(styles)<{}>(App);
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-smi">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">withStyles</span><span class="pl-kos">,</span> <span class="pl-smi">WithStyles</span><span class="pl-kos">,</span> <span class="pl-smi">StyleRulesCallback</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/styles'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">drawerWidth</span> <span class="pl-c1">=</span> <span class="pl-c1">240</span><span class="pl-kos">;</span>
<span class="pl-k">type</span> <span class="pl-smi">ClassNames</span> <span class="pl-c1">=</span>
<span class="pl-c1">|</span> <span class="pl-s">'root'</span>
<span class="pl-c1">|</span> <span class="pl-s">'content'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-en">styles</span>: <span class="pl-smi">StyleRulesCallback</span><span class="pl-kos"><</span><span class="pl-smi">ClassNames</span><span class="pl-kos">></span> <span class="pl-c1">=</span> <span class="pl-s1">theme</span> <span class="pl-c1">=></span> <span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">root</span>: <span class="pl-kos">{</span>
<span class="pl-c1">width</span>: <span class="pl-s">'100%'</span><span class="pl-kos">,</span>
<span class="pl-c1">height</span>: <span class="pl-c1">430</span><span class="pl-kos">,</span>
<span class="pl-c1">marginTop</span>: <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">spacing</span><span class="pl-kos">.</span><span class="pl-c1">unit</span> <span class="pl-c1">*</span> <span class="pl-c1">3</span><span class="pl-kos">,</span>
<span class="pl-c1">foo</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c">// I expected this to cause a compile error</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">content</span>: <span class="pl-kos">{</span>
<span class="pl-c1">backgroundColor</span>: <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">palette</span><span class="pl-kos">.</span><span class="pl-c1">background</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">,</span>
<span class="pl-c1">width</span>: <span class="pl-s">'100%'</span><span class="pl-kos">,</span>
<span class="pl-c1">padding</span>: <span class="pl-s1">theme</span><span class="pl-kos">.</span><span class="pl-c1">spacing</span><span class="pl-kos">.</span><span class="pl-c1">unit</span> <span class="pl-c1">*</span> <span class="pl-c1">3</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">type</span> <span class="pl-smi">Props</span> <span class="pl-c1">=</span> <span class="pl-smi">WithStyles</span><span class="pl-kos"><</span><span class="pl-smi">ClassNames</span><span class="pl-kos">></span><span class="pl-kos">;</span>
<span class="pl-k">class</span> <span class="pl-smi">App</span> <span class="pl-k">extends</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span><span class="pl-kos"><</span><span class="pl-smi">Props</span><span class="pl-kos">></span> <span class="pl-kos">{</span>
<span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span> classes<span class="pl-kos">,</span> theme <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">props</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-s1">div</span> <span class="pl-smi">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">classes</span><span class="pl-kos">.</span><span class="pl-s1">root</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-s1">main</span> <span class="pl-smi">className</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">classes</span><span class="pl-kos">.</span><span class="pl-s1">content</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-smi">Hello</span> <span class="pl-smi">World</span>
<span class="pl-c1"><</span><span class="pl-pds"><span class="pl-c1">/</span>main></span>
<span class="pl-pds"> <span class="pl-c1"><</span><span class="pl-c1">/</span>div</span><span class="pl-c1">></span><span class="pl-s1"></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">export</span> <span class="pl-k">default</span> <span class="pl-en">withStyles</span><span class="pl-kos">(</span><span class="pl-s1">styles</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-smi">App</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<h2 dir="auto">Context</h2>
<p dir="auto">Looking at the definition of <code class="notranslate">StyleRules</code>, it appears to be attempting to enforce that values in the <code class="notranslate">StyleRules</code> record should be a subset of <code class="notranslate">React.CSSProperties</code>.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export type StyleRules<ClassKey extends string = string> = Record<ClassKey, Partial<React.CSSProperties>>;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">type</span> <span class="pl-smi">StyleRules</span><span class="pl-c1"><</span><span class="pl-smi">ClassKey</span> <span class="pl-k">extends</span> <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-smi">string</span><span class="pl-c1">></span> <span class="pl-c1">=</span> <span class="pl-smi">Record</span><span class="pl-kos"><</span><span class="pl-smi">ClassKey</span><span class="pl-kos">,</span> <span class="pl-smi">Partial</span><span class="pl-kos"><</span><span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-smi">CSSProperties</span><span class="pl-kos">></span><span class="pl-kos">></span><span class="pl-kos">;</span></pre></div>
<p dir="auto">If I use a style rules object instead of a callback the result is the same.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.16</td>
</tr>
<tr>
<td>React</td>
<td>16.0.10</td>
</tr>
<tr>
<td>browser</td>
<td>61.0.3163.100</td>
</tr>
<tr>
<td>Typescript</td>
<td>2.5.2</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto">This can be done in nodejs.</p>
<p dir="auto">This is not possible in deno.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { serve } from "https://deno.land/[email protected]/http/mod.ts";
import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
Deno.test("websocket-host", async () => {
const ac = new AbortController();
const { signal } = ac;
const p = serve(
function (req) {
console.log("request", req);
const { socket, response } = Deno.upgradeWebSocket(req);
socket.addEventListener("open", () => {
socket.send(req.url);
socket.close();
});
return response;
},
{
signal,
port: 5000,
}
);
const socket = new WebSocketStream("ws://127.0.0.1:5000/", {
headers: { host: "localhost.hello.world:9900" },
});
const connection = await socket.connection;
const reader = connection.readable.getReader();
let text = "";
while (true) {
const result = await reader.read();
if (result.done) {
break;
} else {
text = text + result.value;
}
}
assertEquals(text, "http://localhost.hello.world:9900/");
ac.abort();
await p;
});
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">serve</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/[email protected]/http/mod.ts"</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">assertEquals</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/[email protected]/testing/asserts.ts"</span><span class="pl-kos">;</span>
<span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">"websocket-host"</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">ac</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">AbortController</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span> signal <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-s1">ac</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">p</span> <span class="pl-c1">=</span> <span class="pl-en">serve</span><span class="pl-kos">(</span>
<span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">req</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">"request"</span><span class="pl-kos">,</span> <span class="pl-s1">req</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-kos">{</span> socket<span class="pl-kos">,</span> response <span class="pl-kos">}</span> <span class="pl-c1">=</span> <span class="pl-smi">Deno</span><span class="pl-kos">.</span><span class="pl-en">upgradeWebSocket</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">"open"</span><span class="pl-kos">,</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s1">req</span><span class="pl-kos">.</span><span class="pl-c1">url</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-en">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-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-s1">response</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">{</span>
signal<span class="pl-kos">,</span>
<span class="pl-c1">port</span>: <span class="pl-c1">5000</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">socket</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">WebSocketStream</span><span class="pl-kos">(</span><span class="pl-s">"ws://127.0.0.1:5000/"</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
<span class="pl-c1">headers</span>: <span class="pl-kos">{</span> <span class="pl-c1">host</span>: <span class="pl-s">"localhost.hello.world:9900"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">connection</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">socket</span><span class="pl-kos">.</span><span class="pl-c1">connection</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">reader</span> <span class="pl-c1">=</span> <span class="pl-s1">connection</span><span class="pl-kos">.</span><span class="pl-c1">readable</span><span class="pl-kos">.</span><span class="pl-en">getReader</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s">""</span><span class="pl-kos">;</span>
<span class="pl-k">while</span> <span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">result</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">reader</span><span class="pl-kos">.</span><span class="pl-en">read</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">result</span><span class="pl-kos">.</span><span class="pl-c1">done</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">break</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span> <span class="pl-k">else</span> <span class="pl-kos">{</span>
<span class="pl-s1">text</span> <span class="pl-c1">=</span> <span class="pl-s1">text</span> <span class="pl-c1">+</span> <span class="pl-s1">result</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-en">assertEquals</span><span class="pl-kos">(</span><span class="pl-s1">text</span><span class="pl-kos">,</span> <span class="pl-s">"http://localhost.hello.world:9900/"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">ac</span><span class="pl-kos">.</span><span class="pl-en">abort</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">p</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="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="websocket-host => ./test.ts:26:6
error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- http://127.0.0.1:5000/
+ http://localhost.hello.world:9900/
throw new AssertionError(message);
^
at assertEquals (https://deno.land/[email protected]/testing/asserts.ts:176:9)
at file:///C:/Documents/test/test.ts:62:5
FAILURES
websocket-host => ./test.ts:26:6"><pre class="notranslate"><code class="notranslate">websocket-host => ./test.ts:26:6
error: AssertionError: Values are not equal:
[Diff] Actual / Expected
- http://127.0.0.1:5000/
+ http://localhost.hello.world:9900/
throw new AssertionError(message);
^
at assertEquals (https://deno.land/[email protected]/testing/asserts.ts:176:9)
at file:///C:/Documents/test/test.ts:62:5
FAILURES
websocket-host => ./test.ts:26:6
</code></pre></div> | <p dir="auto">The current version of deno seems to read <code class="notranslate">deno.json</code> from the current directory by default without <code class="notranslate">--config</code> parameter specified. This default is certainly convenient, but if there is a special case where I need to run deno <strong>without config</strong> when there is <code class="notranslate">deno.json</code> in the current directory, how should I do it? If there is no way to do this, is it considered to add an option or some way to achieve it?</p> | 0 |
<h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">Can we set some alias for apps? Such as launch VSCode by typing <code class="notranslate">vscode</code> or launch Windows Terminal just by typing <code class="notranslate">t</code> and press enter. I think it's useful when users have many unrelated files in his disk like the screenshot below <g-emoji class="g-emoji" alias="joy" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f602.png">😂</g-emoji></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/7919562/82920709-358e5b00-9faa-11ea-9508-c550854a3fdc.png"><img src="https://user-images.githubusercontent.com/7919562/82920709-358e5b00-9faa-11ea-9508-c550854a3fdc.png" alt="image" style="max-width: 100%;"></a></p> | <h1 dir="auto">Summary of the new feature/enhancement</h1>
<p dir="auto">I'd love to be able to setup aliases where a user-meaningful short keyword can be mapped to an app, file, or URL (with parameters / arguments optional).</p>
<p dir="auto">This would be similar in ways to "magic words" in the old SlickRun (<a href="https://bayden.com/SlickRun/1033/SlickRunHelp.aspx" rel="nofollow">https://bayden.com/SlickRun/1033/SlickRunHelp.aspx</a>).</p>
<p dir="auto">Typing the keyword would autocomplete and opening / selecting / invoking would launch the corresponding file / app / url.</p>
<h1 dir="auto">Proposed technical implementation details (optional)</h1>
<p dir="auto">A "..." button could appear near search icon to launch a config screen or open a config file. There might also be a syntax or keyword to configure these aliases (like "setup" in SlickRun).</p> | 1 |
<p dir="auto">Created a new file rulers.ts:</p>
<p dir="auto">If you add it, be sure to refresh given new files are not picked up properly by TS....<br>
<a href="https://github.com/Microsoft/vscode/files/111910/CPU-20160201T100230.cpuprofile.txt">CPU-20160201T100230.cpuprofile.txt</a></p>
<p dir="auto">See <code class="notranslate">// >>>>>>>>> TYPED BELOW LINE</code></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import 'vs/css!./rulers';
import {ViewPart} from 'vs/editor/browser/view/viewPart';
import EditorBrowser = require('vs/editor/browser/editorBrowser');
import EditorCommon = require('vs/editor/common/editorCommon');
export class Rulers extends ViewPart {
public domNode: HTMLElement;
private _rulers: number[];
constructor(context:EditorBrowser.IViewContext) {
super(context);
this.domNode = document.createElement('div');
this.domNode.className = 'view-rulers';
this._rulers = [];
}
public dispose(): void {
super.dispose();
}
// --- begin event handlers
public onConfigurationChanged(e: EditorCommon.IConfigurationChangedEvent): boolean {
if (e.rulers) {
this._rulers = this._context.configuration.editor.rulers;
return true;
}
return false;
}
public onLayoutChanged(layoutInfo: EditorCommon.IEditorLayoutInfo): boolean {
return true;
// if (this._width !== layoutInfo.width) {
// this._width = layoutInfo.width;
// return true;
// }
// return false;
}
// --- end event handlers
// public onBeforeForcedLayout(): void {
// }
// public onReadAfterForcedLayout(ctx:EditorBrowser.IRenderingContext): void {
// }
_render(ctx: EditorBrowser.IRenderingContext): void {
// console.log('rendering rulers');
this._requestModificationFrame(() => {
let existingRulers = this.domNode.children;
let existingRulersLength = existingRulers.length;
let max = Math.max(existingRulersLength, this._rulers.length);
for (let i = 0; i < max; i++) {
// >>>>>>>>> TYPED BELOW LINE
// if (i < existingRulersLength)
// if (i < existingRulersLength)
}
// Update existing rulers
let renderedRulers = this.domNode.children;
for (let i = 0; i < renderedRulers.length && i < this._rulers.length; i++) {
console.log('update @ ' + i);
}
// Insert new rulers
// remove extra rulers
// ruler
console.log('rendering rulers');
// DomUtils.StyleMutator.setWidth(this._domNode, this._width);
// DomUtils.toggleClass(this._domNode, EditorBrowser.ClassNames.SCROLL_DECORATION, this._shouldShow);
});
}
}
"><pre class="notranslate"><span class="pl-c">/*---------------------------------------------------------------------------------------------</span>
<span class="pl-c"> * Copyright (c) Microsoft Corporation. All rights reserved.</span>
<span class="pl-c"> * Licensed under the MIT License. See License.txt in the project root for license information.</span>
<span class="pl-c"> *--------------------------------------------------------------------------------------------*/</span>
<span class="pl-s">'use strict'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s">'vs/css!./rulers'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span><span class="pl-smi">ViewPart</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'vs/editor/browser/view/viewPart'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-smi">EditorBrowser</span> <span class="pl-c1">=</span> require<span class="pl-kos">(</span><span class="pl-s">'vs/editor/browser/editorBrowser'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-smi">EditorCommon</span> <span class="pl-c1">=</span> require<span class="pl-kos">(</span><span class="pl-s">'vs/editor/common/editorCommon'</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">Rulers</span> <span class="pl-k">extends</span> <span class="pl-smi">ViewPart</span> <span class="pl-kos">{</span>
<span class="pl-k">public</span> <span class="pl-c1">domNode</span>: <span class="pl-smi">HTMLElement</span><span class="pl-kos">;</span>
<span class="pl-k">private</span> <span class="pl-c1">_rulers</span>: <span class="pl-smi">number</span><span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-en">constructor</span><span class="pl-kos">(</span><span class="pl-s1">context</span>:<span class="pl-smi">EditorBrowser</span><span class="pl-kos">.</span><span class="pl-smi">IViewContext</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">(</span><span class="pl-s1">context</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">domNode</span> <span class="pl-c1">=</span> <span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-s">'div'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">domNode</span><span class="pl-kos">.</span><span class="pl-c1">className</span> <span class="pl-c1">=</span> <span class="pl-s">'view-rulers'</span><span class="pl-kos">;</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_rulers</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">public</span> <span class="pl-en">dispose</span><span class="pl-kos">(</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span>
<span class="pl-smi">super</span><span class="pl-kos">.</span><span class="pl-en">dispose</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">// --- begin event handlers</span>
<span class="pl-k">public</span> <span class="pl-en">onConfigurationChanged</span><span class="pl-kos">(</span><span class="pl-s1">e</span>: <span class="pl-smi">EditorCommon</span><span class="pl-kos">.</span><span class="pl-smi">IConfigurationChangedEvent</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">rulers</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">_rulers</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_context</span><span class="pl-kos">.</span><span class="pl-c1">configuration</span><span class="pl-kos">.</span><span class="pl-c1">editor</span><span class="pl-kos">.</span><span class="pl-c1">rulers</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">return</span> <span class="pl-c1">false</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">public</span> <span class="pl-en">onLayoutChanged</span><span class="pl-kos">(</span><span class="pl-s1">layoutInfo</span>: <span class="pl-smi">EditorCommon</span><span class="pl-kos">.</span><span class="pl-smi">IEditorLayoutInfo</span><span class="pl-kos">)</span>: <span class="pl-smi">boolean</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-c">// if (this._width !== layoutInfo.width) {</span>
<span class="pl-c">// this._width = layoutInfo.width;</span>
<span class="pl-c">// return true;</span>
<span class="pl-c">// }</span>
<span class="pl-c">// return false;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// --- end event handlers</span>
<span class="pl-c">// public onBeforeForcedLayout(): void {</span>
<span class="pl-c">// }</span>
<span class="pl-c">// public onReadAfterForcedLayout(ctx:EditorBrowser.IRenderingContext): void {</span>
<span class="pl-c">// }</span>
<span class="pl-en">_render</span><span class="pl-kos">(</span><span class="pl-s1">ctx</span>: <span class="pl-smi">EditorBrowser</span><span class="pl-kos">.</span><span class="pl-smi">IRenderingContext</span><span class="pl-kos">)</span>: <span class="pl-smi"><span class="pl-k">void</span></span> <span class="pl-kos">{</span>
<span class="pl-c">// console.log('rendering rulers');</span>
<span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">_requestModificationFrame</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">let</span> <span class="pl-s1">existingRulers</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">domNode</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">existingRulersLength</span> <span class="pl-c1">=</span> <span class="pl-s1">existingRulers</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> <span class="pl-s1">max</span> <span class="pl-c1">=</span> <span class="pl-smi">Math</span><span class="pl-kos">.</span><span class="pl-en">max</span><span class="pl-kos">(</span><span class="pl-s1">existingRulersLength</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_rulers</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-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">max</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// >>>>>>>>> TYPED BELOW LINE</span>
<span class="pl-c">// if (i < existingRulersLength)</span>
<span class="pl-c">// if (i < existingRulersLength)</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Update existing rulers</span>
<span class="pl-k">let</span> <span class="pl-s1">renderedRulers</span> <span class="pl-c1">=</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">domNode</span><span class="pl-kos">.</span><span class="pl-c1">children</span><span class="pl-kos">;</span>
<span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">let</span> <span class="pl-s1">i</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-s1">renderedRulers</span><span class="pl-kos">.</span><span class="pl-c1">length</span> <span class="pl-c1">&&</span> <span class="pl-s1">i</span> <span class="pl-c1"><</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_rulers</span><span class="pl-kos">.</span><span class="pl-c1">length</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-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">'update @ '</span> <span class="pl-c1">+</span> <span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-c">// Insert new rulers</span>
<span class="pl-c">// remove extra rulers</span>
<span class="pl-c">// ruler</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">'rendering rulers'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// DomUtils.StyleMutator.setWidth(this._domNode, this._width);</span>
<span class="pl-c">// DomUtils.toggleClass(this._domNode, EditorBrowser.ClassNames.SCROLL_DECORATION, this._shouldShow);</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">Steps to Reproduce:</p>
<ol dir="auto">
<li>command palette > Toggle use of tab key for setting focus</li>
<li>notice red notification in the status bar - I believe we can find a better color for this</li>
</ol>
<p dir="auto">Though there should be some contrast since this is an important scenario for accessibility</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1926584/14109918/a2f53310-f5c4-11e5-94d7-b9ce9ddb4674.png"><img src="https://cloud.githubusercontent.com/assets/1926584/14109918/a2f53310-f5c4-11e5-94d7-b9ce9ddb4674.png" alt="screen shot 2016-03-29 at 15 39 27" style="max-width: 100%;"></a></p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-local-scope-and-functions#?solution=function%20myFunction%28%29%20%7B%0A%20%20var%20myVar%20%3D%20'hello'%3B%0A%20%20console.log%28myVar%29%3B%0A%7D%0AmyFunction%28%29%3B%0A%0A%2F%2F%20run%20and%20check%20the%20console%20%0A%2F%2F%20myVar%20is%20not%20defined%20outside%20of%20myFunction%0A%0A%0A%2F%2F%20now%20remove%20the%20console.log%20line%20to%20pass%20the%20test%0A%0A" rel="nofollow">Waypoint: Local Scope and Functions</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36</code>.</p>
<p dir="auto">The code shown below should just print console.log() once, and pass the test.<br>
However, when I run the code, the sandbox seems to execute twice.<br>
I tested this by putting new statements in, and it's clear to me that the code is being executed twice for some reason.<br>
I tried running the code at least 10 times, it's been executed twice every time.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function myFunction() {
var myVar = 'hello';
console.log(myVar);
}
myFunction();
// run and check the console
// myVar is not defined outside of myFunction
// now remove the console.log line to pass the test"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">var</span> <span class="pl-s1">myVar</span> <span class="pl-c1">=</span> <span class="pl-s">'hello'</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">myVar</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-en">myFunction</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// run and check the console </span>
<span class="pl-c">// myVar is not defined outside of myFunction</span>
<span class="pl-c">// now remove the console.log line to pass the test</span></pre></div> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">when try load a saveed torch::jit::script::Module that been saved by Module::save before using method torch::jit::load it, error happened.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>a pytorch python pretrained script module been prepraed.</li>
<li>load a pretrained fron python script module by method<br>
auto presavedModule = torch::jit::load("./model.pt");</li>
<li>save this module after retrained or inferenced by method<br>
presavedModule.save("./testModel.pt");</li>
<li>reload it<br>
auto local = torch::jit::load("./testModel.pt");</li>
</ol>
<h2 dir="auto">Code:</h2>
<p dir="auto">auto pre = torch::jit::load("./model.pt");<br>
pre.save("localmodel.pt");<br>
auto local = torch::jit::load("./localmodel.pt");</p>
<h2 dir="auto">Error message:</h2>
<p dir="auto">terminate called after throwing an instance of 'std::runtime_error'<br>
what(): expected newline but found 'number' here:<br>
at code/<strong>torch</strong>/modelv2.py:75:51<br>
import <strong>torch</strong>.modelv2.features.16.conv.1<br>
import <strong>torch</strong>.modelv2.features.17<br>
import <strong>torch</strong>.modelv2.features.17.conv<br>
import <strong>torch</strong>.modelv2.features.17.conv.0<br>
import <strong>torch</strong>.modelv2.features.17.conv.1<br>
import <strong>torch</strong>.modelv2.features.18<br>
class features(Module):<br>
<strong>parameters</strong> = []<br>
<strong>annotations</strong> = []<br>
<strong>annotations</strong>["0"] = <strong>torch</strong>.modelv2.features.0<br>
~~ <--- HERE<br>
<strong>annotations</strong>["1"] = <strong>torch</strong>.modelv2.features.1<br>
<strong>annotations</strong>["2"] = <strong>torch</strong>.modelv2.features.2<br>
<strong>annotations</strong>["3"] = <strong>torch</strong>.modelv2.features.3<br>
<strong>annotations</strong>["4"] = <strong>torch</strong>.modelv2.features.4<br>
<strong>annotations</strong>["5"] = <strong>torch</strong>.modelv2.features.5<br>
<strong>annotations</strong>["6"] = <strong>torch</strong>.modelv2.features.6<br>
<strong>annotations</strong>["7"] = <strong>torch</strong>.modelv2.features.7<br>
<strong>annotations</strong>["8"] = <strong>torch</strong>.modelv2.features.8<br>
<strong>annotations</strong>["9"] = <strong>torch</strong>.modelv2.features.9</p>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">non error, and the module will be reloadable and retrainable.</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">Please copy and paste the output from our<br>
<a href="https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py" rel="nofollow">environment collection script</a><br>
(or fill out the checklist below manually).</p>
<p dir="auto">You can get the script and run it with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py"><pre class="notranslate"><code class="notranslate">wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
</code></pre></div>
<ul dir="auto">
<li>PyTorch Version (e.g., 1.0): Libtorch,1.3.0 pytorch,1.2.0</li>
<li>OS (e.g., Linux):ubuntu-19.04-desktop-amd64</li>
<li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): no conda, with pip</li>
<li>Build command you used (if compiling from source): cmake</li>
<li>Python version: python-3.7.4-amd64</li>
<li>CUDA/cuDNN version: non</li>
<li>GPU models and configuration: non</li>
<li>Any other relevant information: both windows VS and ubuntu have this same phenomenon</li>
</ul>
<h2 dir="auto">Additional context</h2>
<p dir="auto">what I want is,<br>
load python pretrained script module-----> retrain------->save------> reload to retrain or inference.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jerryzh168/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jerryzh168">@jerryzh168</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a></p> | <p dir="auto">I'm try to retain a JIT module from pytorch using c++ based on Libtorch libtorch-win-shared-with-deps-1.3.0 _cpu, and save retrained module for next usage.<br>
the save and reload process will be like the following , but get erro while try reload.</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" torch::serialize::OutputArchive output_archive;
auto presavedModule = torch::jit::load("D:/localshare/data/model/model.pt");
presavedModule.save("D:/localshare/data/model/testmodel.pt");
auto savedModule = torch::jit::load("D:/localshare/data/model/testmodel.pt");
savedModule.dump(true, true, true);"><pre class="notranslate"> torch::serialize::OutputArchive output_archive;
<span class="pl-k">auto</span> presavedModule = torch::jit::load(<span class="pl-s"><span class="pl-pds">"</span>D:/localshare/data/model/model.pt<span class="pl-pds">"</span></span>);
presavedModule.save(<span class="pl-s"><span class="pl-pds">"</span>D:/localshare/data/model/testmodel.pt<span class="pl-pds">"</span></span>);
<span class="pl-k">auto</span> savedModule = torch::jit::load(<span class="pl-s"><span class="pl-pds">"</span>D:/localshare/data/model/testmodel.pt<span class="pl-pds">"</span></span>);
savedModule.dump(<span class="pl-c1">true</span>, <span class="pl-c1">true</span>, <span class="pl-c1">true</span>);</pre></div>
<p dir="auto">reported error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Caught
expected newline but found 'number' here:
at code/__torch__/modelv2.py:75:51
import __torch__.modelv2.features.16.conv.1
import __torch__.modelv2.features.17
import __torch__.modelv2.features.17.conv
import __torch__.modelv2.features.17.conv.0
import __torch__.modelv2.features.17.conv.1
import __torch__.modelv2.features.18
class features(Module):
__parameters__ = []
__annotations__ = []
__annotations__["0"] = __torch__.modelv2.features.0
~~ <--- HERE
__annotations__["1"] = __torch__.modelv2.features.1
__annotations__["2"] = __torch__.modelv2.features.2
__annotations__["3"] = __torch__.modelv2.features.3
__annotations__["4"] = __torch__.modelv2.features.4
__annotations__["5"] = __torch__.modelv2.features.5
__annotations__["6"] = __torch__.modelv2.features.6
__annotations__["7"] = __torch__.modelv2.features.7
__annotations__["8"] = __torch__.modelv2.features.8
__annotations__["9"] = __torch__.modelv2.features.9
Compiled from code
Type class std::runtime_error"><pre class="notranslate"><code class="notranslate">Caught
expected newline but found 'number' here:
at code/__torch__/modelv2.py:75:51
import __torch__.modelv2.features.16.conv.1
import __torch__.modelv2.features.17
import __torch__.modelv2.features.17.conv
import __torch__.modelv2.features.17.conv.0
import __torch__.modelv2.features.17.conv.1
import __torch__.modelv2.features.18
class features(Module):
__parameters__ = []
__annotations__ = []
__annotations__["0"] = __torch__.modelv2.features.0
~~ <--- HERE
__annotations__["1"] = __torch__.modelv2.features.1
__annotations__["2"] = __torch__.modelv2.features.2
__annotations__["3"] = __torch__.modelv2.features.3
__annotations__["4"] = __torch__.modelv2.features.4
__annotations__["5"] = __torch__.modelv2.features.5
__annotations__["6"] = __torch__.modelv2.features.6
__annotations__["7"] = __torch__.modelv2.features.7
__annotations__["8"] = __torch__.modelv2.features.8
__annotations__["9"] = __torch__.modelv2.features.9
Compiled from code
Type class std::runtime_error
</code></pre></div>
<p dir="auto">Is there any sugesstion:</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ezyang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ezyang">@ezyang</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gchanan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gchanan">@gchanan</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zou3519/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zou3519">@zou3519</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jerryzh168/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jerryzh168">@jerryzh168</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/suo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/suo">@suo</a></p> | 1 |
<p dir="auto"><strong>Describe the bug</strong><br>
We had a legacy enum with names that have spaces so we added some aliases to make coding easier.<br>
Notice the aliases have repeated values so they <a href="https://docs.python.org/3/library/enum.html#duplicating-enum-members-and-values" rel="nofollow">will not create enum elements</a>.</p>
<p dir="auto">E.g:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Names = enum.Enum(
value='Names',
names=[
('Name A', 1), ('a', 1),
('Name B', 2), ('b', 2),
('Name C', 3), ('c', 3),
]
)"><pre class="notranslate"><code class="notranslate">Names = enum.Enum(
value='Names',
names=[
('Name A', 1), ('a', 1),
('Name B', 2), ('b', 2),
('Name C', 3), ('c', 3),
]
)
</code></pre></div>
<p dir="auto">So when you <code class="notranslate">list(Names)</code>, you only see the 3 original enum names and : <code class="notranslate">Names["Name A"] is Names.a</code> meaning that <code class="notranslate">a</code> is just an alias and points to the same object.</p>
<p dir="auto">When you pass this to <code class="notranslate">name = Column(Enum(Names))</code>, it will create the 6 names on the column because<br>
<code class="notranslate">sqlalchemy.Enum._parse_into_values</code> is using the <code class="notranslate">__members__</code> atribute from enum which shows everything, including aliases.</p>
<p dir="auto">SQL output for that column:<br>
<code class="notranslate">`name` ENUM('Name A','Name B','Name C','a','b','c') NOT NULL,</code></p>
<p dir="auto"><strong>Expected behavior</strong><br>
<code class="notranslate">`name` ENUM('Name A','Name B','Name C') NOT NULL,</code></p>
<p dir="auto">I propose to use <code class="notranslate">[e.name for e in enum_class]</code><br>
instead of <code class="notranslate">enum_class.__members__</code><br>
</p><div class="Box Box--condensed my-2">
<div class="Box-header f6">
<p class="mb-0 text-bold">
<a href="https://github.com/sqlalchemy/sqlalchemy/blob/93ea31df86fc925a9e1df2a7dc80dd39f7ae4b9e/lib/sqlalchemy/sql/sqltypes.py#L1509">sqlalchemy/lib/sqlalchemy/sql/sqltypes.py</a>
</p>
<p class="mb-0 color-fg-muted">
Line 1509
in
<a data-pjax="true" class="commit-tease-sha" href="/sqlalchemy/sqlalchemy/commit/93ea31df86fc925a9e1df2a7dc80dd39f7ae4b9e">93ea31d</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="L1509" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="1509"></td>
<td id="LC1509" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">members</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">enum_class</span>.<span class="pl-s1">__members__</span> </td>
</tr>
</tbody></table>
</div>
</div>
<p></p>
<p dir="auto"><strong>Versions.</strong></p>
<ul dir="auto">
<li>OS: MacOS</li>
<li>Python: 3.8</li>
<li>SQLAlchemy: 1.3.23</li>
<li>Database: MySQL</li>
<li>DBAPI: pymysql</li>
</ul> | <p dir="auto"><strong>Migrated issue, originally created by Lev Panov (<a href="https://github.com/leavittx">@leavittx</a>)</strong></p>
<p dir="auto">Engine instance was created via</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!div style="font-size: 80%"
Code highlighting:
`#!python
engine = create_engine('mssql+pyodbc://user:[email protected]/db?driver=SQL Server', echo=True)"><pre class="notranslate"><code class="notranslate">#!div style="font-size: 80%"
Code highlighting:
`#!python
engine = create_engine('mssql+pyodbc://user:[email protected]/db?driver=SQL Server', echo=True)
</code></pre></div>
<p dir="auto">When I do for example</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!div style="font-size: 80%"
Code highlighting:
`#!python
session.query(User).filter(or_(expression.false(), expression.true())).all()"><pre class="notranslate"><code class="notranslate">#!div style="font-size: 80%"
Code highlighting:
`#!python
session.query(User).filter(or_(expression.false(), expression.true())).all()
</code></pre></div>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2013-09-15 23:40:11,761 INFO sqlalchemy.engine.base.Engine SELECT [user](user).id AS user_id, [user](user).name AS user_name
FROM [user](user)
WHERE 0 OR 1
2013-09-15 23:40:11,761 INFO sqlalchemy.engine.base.Engine ()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2249, in all
return list(self)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2361, in __iter__
return self._execute_and_instances(context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2376, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 661, in execute
params)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 762, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 875, in _execute_context
context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 1019, in _handle_dbapi_exception
exc_info
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\util\compat.py", line 197, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\util\compat.py", line 190, in reraise
raise value.with_traceback(tb)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 868, in _execute_context
context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\default.py", line 372, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (ProgrammingError) ('42000', "[42000](42000) [Microsoft](Microsoft)[SQL Server Driver](ODBC)[Server](SQL)An expression of non-boolean type specified in a context where a condition is expected, near 'OR'. (4145) (SQLExecDirectW)") 'SELECT [user](user).id AS user_id, [user](user).name AS user_name \nFROM [user](user) \nWHERE 0 OR 1' ()"><pre class="notranslate"><code class="notranslate">2013-09-15 23:40:11,761 INFO sqlalchemy.engine.base.Engine SELECT [user](user).id AS user_id, [user](user).name AS user_name
FROM [user](user)
WHERE 0 OR 1
2013-09-15 23:40:11,761 INFO sqlalchemy.engine.base.Engine ()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2249, in all
return list(self)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2361, in __iter__
return self._execute_and_instances(context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\orm\query.py", line 2376, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 661, in execute
params)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 762, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 875, in _execute_context
context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 1019, in _handle_dbapi_exception
exc_info
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\util\compat.py", line 197, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=exc_value)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\util\compat.py", line 190, in reraise
raise value.with_traceback(tb)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\base.py", line 868, in _execute_context
context)
File "C:\Python33\lib\site-packages\sqlalchemy-0.9.0dev-py3.3-win-amd64.egg\sqlalchemy\engine\default.py", line 372, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (ProgrammingError) ('42000', "[42000](42000) [Microsoft](Microsoft)[SQL Server Driver](ODBC)[Server](SQL)An expression of non-boolean type specified in a context where a condition is expected, near 'OR'. (4145) (SQLExecDirectW)") 'SELECT [user](user).id AS user_id, [user](user).name AS user_name \nFROM [user](user) \nWHERE 0 OR 1' ()
</code></pre></div> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
bug<br>
<strong>What is the current behavior?</strong><br>
The following error is raised<br>
"Warning: Unknown prop <code class="notranslate">xmlns</code> on <code class="notranslate">svg</code> tag<br>
<strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via <a href="https://jsfiddle.net" rel="nofollow">https://jsfiddle.net</a> or similar (template: <a href="https://jsfiddle.net/reactjs/69z2wepo/" rel="nofollow">https://jsfiddle.net/reactjs/69z2wepo/</a>).</strong><br>
create an a component with and svg tag and set the xmlns attribute<br>
<strong>What is the expected behavior?</strong><br>
No warning<br>
<strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong><br>
15.2.0</p> | <p dir="auto">In <a href="https://facebook.github.io/react/tips/initial-ajax.html" rel="nofollow">Load Initial Data via AJAX</a> it uses isMounted which doesn't exist for es6 classes. Not sure how to best update the example, but it should probably be changed. Maybe abort the jqxhr?</p> | 0 |
<p dir="auto">I am following this guide on OS X:<br>
<a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md">https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md</a></p>
<p dir="auto">I am able to run other vagrant's using the same provider.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ./cluster/kube-up.sh
Starting cluster using provider: vagrant
... calling verify-prereqs
Can't find the necessary components for the vmware_fusion vagrant provider, please fix and retry.
"><pre class="notranslate"><code class="notranslate">$ ./cluster/kube-up.sh
Starting cluster using provider: vagrant
... calling verify-prereqs
Can't find the necessary components for the vmware_fusion vagrant provider, please fix and retry.
</code></pre></div> | <p dir="auto">The /etc/sysconfig/network-scripts/ifcfg-en33 configuration file declares a MAC address that does not match the one the device receives.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" $ ./cluster/kube-up.sh
Starting cluster using provider: vagrant
... calling verify-prereqs
... calling kube-up
Using credentials: vagrant:vagrant
Bringing machine 'master' up with 'vmware_fusion' provider...
Bringing machine 'minion-1' up with 'vmware_fusion' provider...
==> master: Machine is already running.
==> minion-1: Cloning VMware VM: 'kube-fedora20'. This can take some time...
==> minion-1: Verifying vmnet devices are healthy...
==> minion-1: Preparing network adapters...
==> minion-1: Fixed port collision for 22 => 2222. Now on port 2200.
==> minion-1: Starting the VMware VM...
==> minion-1: Waiting for machine to boot. This may take a few minutes...
minion-1: SSH address: 172.16.156.131:22
minion-1: SSH username: vagrant
minion-1: SSH auth method: private key
minion-1:
minion-1: Vagrant insecure key detected. Vagrant will automatically replace
minion-1: this with a newly generated keypair for better security.
minion-1:
minion-1: Inserting generated public key within guest...
minion-1: Removing insecure key from the guest if its present...
minion-1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> minion-1: Machine booted and ready!
==> minion-1: Forwarding ports...
minion-1: -- 22 => 2200
==> minion-1: Configuring network adapters within the VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ifdown ens33
Stdout from the command:
ERROR : [/etc/sysconfig/network-scripts/ifdown-eth] Device ens33 has MAC address 00:0C:29:96:3F:2C, instead of configured address 00:0C:29:16:5F:2B. Ignoring.
Stderr from the command:"><pre class="notranslate"><code class="notranslate"> $ ./cluster/kube-up.sh
Starting cluster using provider: vagrant
... calling verify-prereqs
... calling kube-up
Using credentials: vagrant:vagrant
Bringing machine 'master' up with 'vmware_fusion' provider...
Bringing machine 'minion-1' up with 'vmware_fusion' provider...
==> master: Machine is already running.
==> minion-1: Cloning VMware VM: 'kube-fedora20'. This can take some time...
==> minion-1: Verifying vmnet devices are healthy...
==> minion-1: Preparing network adapters...
==> minion-1: Fixed port collision for 22 => 2222. Now on port 2200.
==> minion-1: Starting the VMware VM...
==> minion-1: Waiting for machine to boot. This may take a few minutes...
minion-1: SSH address: 172.16.156.131:22
minion-1: SSH username: vagrant
minion-1: SSH auth method: private key
minion-1:
minion-1: Vagrant insecure key detected. Vagrant will automatically replace
minion-1: this with a newly generated keypair for better security.
minion-1:
minion-1: Inserting generated public key within guest...
minion-1: Removing insecure key from the guest if its present...
minion-1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> minion-1: Machine booted and ready!
==> minion-1: Forwarding ports...
minion-1: -- 22 => 2200
==> minion-1: Configuring network adapters within the VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ifdown ens33
Stdout from the command:
ERROR : [/etc/sysconfig/network-scripts/ifdown-eth] Device ens33 has MAC address 00:0C:29:96:3F:2C, instead of configured address 00:0C:29:16:5F:2B. Ignoring.
Stderr from the command:
</code></pre></div> | 1 |
<p dir="auto">This code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
foo();
} catch(e) {
// do nothing
}"><pre class="notranslate"><span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-en">foo</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">catch</span><span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// do nothing</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Compiles to this:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
try {
foo();
} catch (e) {}
// do nothing"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-en">foo</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">catch</span> <span class="pl-kos">(</span><span class="pl-s1">e</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">// do nothing</span></pre></div>
<p dir="auto">It's ok at all, except eslint. It's affecting <code class="notranslate">no-empty</code> rule.</p> | <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="try {
// yo
} catch (err) {
// lol
}"><pre class="notranslate"><span class="pl-k">try</span> <span class="pl-kos">{</span>
<span class="pl-c">// yo</span>
<span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// lol</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">becomes</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""use strict";
try {} catch (err) {}
// yo
// lol"><pre class="notranslate"><span class="pl-s">"use strict"</span><span class="pl-kos">;</span>
<span class="pl-k">try</span> <span class="pl-kos">{</span><span class="pl-kos">}</span> <span class="pl-k">catch</span> <span class="pl-kos">(</span><span class="pl-s1">err</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>
<span class="pl-c">// yo</span>
<span class="pl-c">// lol</span></pre></div> | 1 |
<p dir="auto">We have a library of components for angular that we are currently migrating to Angular 2. We have a container that injects content using <code class="notranslate">ng-content</code>. We would like to have a child component that injects the parent if you nest it inside of the parent, like so:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="<parent>
<child></child>
</parent>"><pre class="notranslate"><code class="notranslate"><parent>
<child></child>
</parent>
</code></pre></div>
<p dir="auto">This works beautifully in angular 2. However, since are in the process of migration, we would like to use the ngUpgrade adapter for this. The dependency injection seems to fail if the parent and child are specified in an angular 1 context. Any insights on this issue? Is this something that is going to be supported in the ngUpgrade adapter?</p>
<p dir="auto">I have a working plunker that illustrates the problem:</p>
<p dir="auto"><a href="http://plnkr.co/edit/9qb6ZK9SpJyrWoJDEFEj?p=preview" rel="nofollow">http://plnkr.co/edit/9qb6ZK9SpJyrWoJDEFEj?p=preview</a></p>
<p dir="auto">In both cases, the template includes a parent with the child <code class="notranslate">transcluded/projected</code> into it. The child tries to inject the parent and then calls a function on it when you press the button. The ng2 example works, but not the ng1/ngUpgrade version.</p> | <p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
</code></pre></div>
<p dir="auto"><strong>Current behavior</strong><br>
After implementing <code class="notranslate">ControlValueAccessor</code> to the component, <code class="notranslate">ngOnInit</code> can no longer set a default value for <code class="notranslate">this.model</code>. No matter what I do it does not update the component view or notify outside components of the change.</p>
<p dir="auto"><strong>Expected behavior</strong><br>
<code class="notranslate">ngOnInit</code> would update the view and notify outside components of the change.</p>
<p dir="auto"><strong>Minimal reproduction of the problem with instructions</strong></p>
<ol dir="auto">
<li>Open console</li>
<li>Check the message (this is the default model set by <code class="notranslate">ngOnInit</code></li>
<li>Check the <code class="notranslate">pre</code> elements in the template (you will see <code class="notranslate">null</code> for the component template and <code class="notranslate">''</code> for the outside one), both of these should display <code class="notranslate">{id: 0, name: 'Item 1'}</code> but does not.</li>
</ol>
<p dir="auto">Demo:<br>
<a href="https://plnkr.co/edit/gGCiYjcq70xaewn3n22F?p=preview" rel="nofollow">https://plnkr.co/edit/gGCiYjcq70xaewn3n22F?p=preview</a></p>
<p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br>
This is needed when writing custom form elements and you want a default value without having to set a default value in the outside model, the component should take care of that.</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
OS X Sierra, using the latest Angular CLI version.</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Angular version:</strong> 2.0.X<br>
Fails on both 2.0.2 and 2.1.0</p>
</li>
<li>
<p dir="auto"><strong>Browser:</strong> [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]<br>
all</p>
</li>
<li>
<p dir="auto"><strong>Language:</strong> [all | TypeScript X.X | ES6/7 | ES5]<br>
typescript</p>
</li>
<li>
<p dir="auto"><strong>Node (for AoT issues):</strong> <code class="notranslate">node --version</code> =</p>
</li>
</ul> | 0 |
<p dir="auto">When <code class="notranslate">REQUESTS_CA_BUNDLE</code> is defined, the CA certificate passed to <code class="notranslate">requests.Session</code> constructor is overridden when <code class="notranslate">requests.Session.request</code> is called.</p>
<p dir="auto">Guilty method/lines:<br>
<a href="https://github.com/psf/requests/blob/master/requests/sessions.py#L694-L710">https://github.com/psf/requests/blob/master/requests/sessions.py#L694-L710</a></p>
<h2 dir="auto">Expected Result</h2>
<p dir="auto">I would expect for the priority to be:</p>
<ol dir="auto">
<li><code class="notranslate">requests.Session.request</code> verify kwarg</li>
<li><code class="notranslate">requests.Session</code> verify property</li>
<li><code class="notranslate">REQUESTS_CA_BUNDLE</code> / <code class="notranslate">CURL_CA_BUNDLE</code></li>
</ol>
<h2 dir="auto">Actual Result</h2>
<p dir="auto">As <code class="notranslate">requests.Session.request</code> verify kwarg was not set, it took the value from <code class="notranslate">REQUESTS_CA_BUNDLE</code> and only then <code class="notranslate">requests.Session.verify</code> was checked, but ignored, resulting in an invalid CA used (for that Session).</p>
<p dir="auto">Related issue (in docker-py project) <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="497257247" data-permission-text="Title is private" data-url="https://github.com/docker/docker-py/issues/2433" data-hovercard-type="issue" data-hovercard-url="/docker/docker-py/issues/2433/hovercard" href="https://github.com/docker/docker-py/issues/2433">docker/docker-py#2433</a></p>
<h2 dir="auto">System Information</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ python -m requests.help"><pre class="notranslate"><code class="notranslate">$ python -m requests.help
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": "2.7"
},
"idna": {
"version": "2.8"
},
"implementation": {
"name": "CPython",
"version": "3.7.4"
},
"platform": {
"release": "18.6.0",
"system": "Darwin"
},
"pyOpenSSL": {
"openssl_version": "1010103f",
"version": "19.0.0"
},
"requests": {
"version": "2.22.0"
},
"system_ssl": {
"version": "1000213f"
},
"urllib3": {
"version": "1.25.3"
},
"using_pyopenssl": true
}"><pre class="notranslate"><code class="notranslate">{
"chardet": {
"version": "3.0.4"
},
"cryptography": {
"version": "2.7"
},
"idna": {
"version": "2.8"
},
"implementation": {
"name": "CPython",
"version": "3.7.4"
},
"platform": {
"release": "18.6.0",
"system": "Darwin"
},
"pyOpenSSL": {
"openssl_version": "1010103f",
"version": "19.0.0"
},
"requests": {
"version": "2.22.0"
},
"system_ssl": {
"version": "1000213f"
},
"urllib3": {
"version": "1.25.3"
},
"using_pyopenssl": true
}
</code></pre></div> | <p dir="auto">One would expect that when the caller explicitly asks to make unverified requests, then the <code class="notranslate">REQUESTS_CA_BUNDLE</code> environment variable doesn't affect it. The reality is different, however.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import os
import requests
os.environ['REQUESTS_CA_BUNDLE'] = 'asd.pem' # Must be an existing file
r = requests.get('https://self-signed.badssl.com/', verify=False)
print(r)
# Prints: <Response [200]>
session = requests.Session()
session.verify = False
r = session.get('https://self-signed.badssl.com/')
print(r)
# Fails: requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">os</span>
<span class="pl-k">import</span> <span class="pl-s1">requests</span>
<span class="pl-s1">os</span>.<span class="pl-s1">environ</span>[<span class="pl-s">'REQUESTS_CA_BUNDLE'</span>] <span class="pl-c1">=</span> <span class="pl-s">'asd.pem'</span> <span class="pl-c"># Must be an existing file</span>
<span class="pl-s1">r</span> <span class="pl-c1">=</span> <span class="pl-s1">requests</span>.<span class="pl-en">get</span>(<span class="pl-s">'https://self-signed.badssl.com/'</span>, <span class="pl-s1">verify</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-en">print</span>(<span class="pl-s1">r</span>)
<span class="pl-c"># Prints: <Response [200]></span>
<span class="pl-s1">session</span> <span class="pl-c1">=</span> <span class="pl-s1">requests</span>.<span class="pl-v">Session</span>()
<span class="pl-s1">session</span>.<span class="pl-s1">verify</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>
<span class="pl-s1">r</span> <span class="pl-c1">=</span> <span class="pl-s1">session</span>.<span class="pl-en">get</span>(<span class="pl-s">'https://self-signed.badssl.com/'</span>)
<span class="pl-en">print</span>(<span class="pl-s1">r</span>)
<span class="pl-c"># Fails: requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)</span></pre></div> | 1 |
<p dir="auto">not sure if it's too early to file bugs regarding experimental features?</p>
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
webpack library.type "module" generates commonjs syntax (module.exports/require) for node.js builtins (when target is node) and for any module specified as external(s).</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { version } from "process";"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-s1">version</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"process"</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default {
entry: {
index: "./index.js",
},
experiments: {
outputModule: true,
},
// externals: ...
output: {
filename: "[name].js",
library: {
type: "module",
},
},
target: "node",
};"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">{</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span>
<span class="pl-c1">index</span>: <span class="pl-s">"./index.js"</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">experiments</span>: <span class="pl-kos">{</span>
<span class="pl-c1">outputModule</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">// externals: ...</span>
<span class="pl-c1">output</span>: <span class="pl-kos">{</span>
<span class="pl-c1">filename</span>: <span class="pl-s">"[name].js"</span><span class="pl-kos">,</span>
<span class="pl-c1">library</span>: <span class="pl-kos">{</span>
<span class="pl-c1">type</span>: <span class="pl-s">"module"</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">target</span>: <span class="pl-s">"node"</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/***/ "process":
/*!**************************!*\
!*** external "process" ***!
\**************************/
/***/ ((module) => {
module.exports = require("process");;
/***/ })"><pre class="notranslate"><span class="pl-c">/***/</span> <span class="pl-s">"process"</span>:
<span class="pl-c">/*!**************************!*\</span>
<span class="pl-c"> !*** external "process" ***!</span>
<span class="pl-c"> \**************************/</span>
<span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"process"</span><span class="pl-kos">)</span><span class="pl-kos">;</span><span class="pl-kos">;</span>
<span class="pl-c">/***/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span></pre></div>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
I'd imagine that node builtins have to be either required on top of the file (outer module scope) or possibly dynamically <strong>import()</strong> ed.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: v5.22.0<br>
Node.js version: v15.12.0<br>
Operating System: macOS Big Sur<br>
Additional tools: n/a</p> | <h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Getting errors after updating to 5.19.0</p>
<p dir="auto"><code class="notranslate">Uncaught ReferenceError: __webpack_require__ is not defined</code><br>
<code class="notranslate">Uncaught (in promise) TypeError: c(...).Z is not a function</code></p>
<p dir="auto">The compiled code is missing <code class="notranslate">__webpack_require__</code></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">Here's a very minimal setup that reproduces this bug.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// webpack.config.js
const path = require("path");
module.exports = {
entry: {
app: "./src/app.js",
home: {
import: './src/home.js',
dependOn: 'app' // removing this line fixes it
}
},
output: {
path: path.resolve("./dist"),
},
optimization: {
runtimeChunk: "single",
},
};"><pre class="notranslate"><span class="pl-c">// webpack.config.js</span>
<span class="pl-k">const</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"path"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span>
<span class="pl-c1">entry</span>: <span class="pl-kos">{</span>
<span class="pl-c1">app</span>: <span class="pl-s">"./src/app.js"</span><span class="pl-kos">,</span>
<span class="pl-c1">home</span>: <span class="pl-kos">{</span>
<span class="pl-c1">import</span>: <span class="pl-s">'./src/home.js'</span><span class="pl-kos">,</span>
<span class="pl-c1">dependOn</span>: <span class="pl-s">'app'</span> <span class="pl-c">// removing this line fixes it</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">output</span>: <span class="pl-kos">{</span>
<span class="pl-c1">path</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">"./dist"</span><span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c1">optimization</span>: <span class="pl-kos">{</span>
<span class="pl-c1">runtimeChunk</span>: <span class="pl-s">"single"</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-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/app.js
import("./test.js");"><pre class="notranslate"><span class="pl-c">// src/app.js</span>
<span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">"./test.js"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/log.js
export default function (msg) {
console.log(msg);
}"><pre class="notranslate"><span class="pl-c">// src/log.js</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">msg</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">msg</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/test.js
import log from "./log";
log("Hi");"><pre class="notranslate"><span class="pl-c">// src/test.js</span>
<span class="pl-k">import</span> <span class="pl-s1">log</span> <span class="pl-k">from</span> <span class="pl-s">"./log"</span><span class="pl-kos">;</span>
<span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"Hi"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// src/home.js
import log from "./log";
log("Hi");"><pre class="notranslate"><span class="pl-c">// src/home.js</span>
<span class="pl-k">import</span> <span class="pl-s1">log</span> <span class="pl-k">from</span> <span class="pl-s">"./log"</span><span class="pl-kos">;</span>
<span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">"Hi"</span><span class="pl-kos">)</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="<script src="runtime.js"></script>
<script src="app.js"></script>
<script src="home.js"></script>"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">runtime.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">app.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">home.js</span>"<span class="pl-kos">></span><span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span></pre></div>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">This error should not happen, it was working without errors on 5.18.0</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.19.0<br>
Node.js version: v15.7.0<br>
Operating System: macOS 11.2<br>
Additional tools:</p> | 0 |
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gke-gci/209/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gke-gci/209/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for endpoint-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:141
Oct 13 18:40:31.295: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.201:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=30934&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:141
Oct 13 18:40:31.295: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.201:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=30934&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for node-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:114
Oct 13 21:24:24.836: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:32268/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:114
Oct 13 21:24:24.836: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:32268/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176974674" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32684" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32684/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32684">#32684</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should update nodePort: http [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:175
Oct 13 17:27:07.723: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:32712/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:175
Oct 13 17:27:07.723: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:32712/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 21:47:32.212: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 83886080; got 163237888, container "runtime": expected RSS memory (MB) < 314572800; got 325935104
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 83886080; got 175972352, container "runtime": expected RSS memory (MB) < 314572800; got 321740800
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "runtime": expected RSS memory (MB) < 314572800; got 319586304, container "kubelet": expected RSS memory (MB) < 83886080; got 185106432
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 21:47:32.212: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 83886080; got 163237888, container "runtime": expected RSS memory (MB) < 314572800; got 325935104
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 83886080; got 175972352, container "runtime": expected RSS memory (MB) < 314572800; got 321740800
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "runtime": expected RSS memory (MB) < 314572800; got 319586304, container "kubelet": expected RSS memory (MB) < 83886080; got 185106432
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34035" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34035/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34035">#34035</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 0 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 17:10:50.425: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 136216576
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 126918656
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 138452992
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 17:10:50.425: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 136216576
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 126918656
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 138452992
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158397793" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26784" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26784/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26784">#26784</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="163478516" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28384" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28384/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28384">#28384</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177833576" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33023" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33023/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33023">#33023</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 35 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 17:54:29.948: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 135856128
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 151048192
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 147968000
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 13 17:54:29.948: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 135856128
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 151048192
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 147968000
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162928137" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28220" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28220/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28220">#28220</a></p>
<p dir="auto">Failed: [k8s.io] Services should be able to change the type and ports of a service [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:782
Oct 13 18:11:57.942: Could not reach HTTP service through 162.222.177.33:32384 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:782
Oct 13 18:11:57.942: Could not reach HTTP service through 162.222.177.33:32384 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156415782" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26134" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26134/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26134">#26134</a></p>
<p dir="auto">Failed: [k8s.io] Services should be able to create a functioning NodePort service {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:463
Oct 13 19:00:25.284: Could not reach HTTP service through 162.222.177.33:30468 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:463
Oct 13 19:00:25.284: Could not reach HTTP service through 162.222.177.33:30468 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162257617" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28064" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28064/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28064">#28064</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164220053" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28569" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28569/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28569">#28569</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962367" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34036" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34036/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34036">#34036</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for pod-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:105
Oct 13 20:15:33.523: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.88:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=31834&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:105
Oct 13 20:15:33.523: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.88:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=31834&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for node-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:123
Oct 13 20:22:00.333: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 32463
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:123
Oct 13 20:22:00.333: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 32463
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for endpoint-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:132
Oct 13 17:20:33.513: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.2.61:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=31756&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:132
Oct 13 17:20:33.513: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.2.61:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=31756&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for pod-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:96
Oct 13 19:22:20.306: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.231:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=32040&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:96
Oct 13 19:22:20.306: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.231:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=32040&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should update nodePort: udp [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:187
Oct 13 20:19:39.446: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 31231
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:187
Oct 13 20:19:39.446: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 31231
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181321981" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34202" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34202/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34202">#34202</a></p> | <p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gke-gci/206/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-soak-continuous-e2e-gke-gci/206/</a></p>
<p dir="auto">Multiple broken tests:</p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for pod-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:105
Oct 12 15:00:33.858: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.126:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=30622&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:105
Oct 12 15:00:33.858: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.126:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=30622&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181643809" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34317" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34317/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34317">#34317</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should update nodePort: udp [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:187
Oct 12 15:44:57.989: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 30266
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:187
Oct 12 15:44:57.989: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 30266
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="178650867" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33285" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33285/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33285">#33285</a></p>
<p dir="auto">Failed: [k8s.io] Services should be able to change the type and ports of a service [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:782
Oct 12 18:31:30.184: Could not reach HTTP service through 162.222.177.33:32073 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:782
Oct 12 18:31:30.184: Could not reach HTTP service through 162.222.177.33:32073 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="156415782" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26134" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26134/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26134">#26134</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 100 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 12 19:20:22.128: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 83886080; got 181235712, container "runtime": expected RSS memory (MB) < 314572800; got 316510208
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 83886080; got 158425088
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 83886080; got 159227904
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 12 19:20:22.128: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 83886080; got 181235712, container "runtime": expected RSS memory (MB) < 314572800; got 316510208
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 83886080; got 158425088
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 83886080; got 159227904
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="158988182" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/26982" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/26982/hovercard" href="https://github.com/kubernetes/kubernetes/issues/26982">#26982</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="175562552" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32214" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32214/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32214">#32214</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180814114" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33994" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33994/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33994">#33994</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962361" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34035" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34035/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34035">#34035</a></p>
<p dir="auto">Failed: [k8s.io] Kubelet [Serial] [Slow] [k8s.io] regular resource usage tracking resource tracking for 35 pods per node {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 12 16:29:42.385: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 154828800
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 135372800
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 134975488
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:278
Oct 12 16:29:42.385: Memory usage exceeding limits:
node gke-jenkins-e2e-default-pool-badc50ee-0va8:
container "kubelet": expected RSS memory (MB) < 73400320; got 154828800
node gke-jenkins-e2e-default-pool-badc50ee-dck3:
container "kubelet": expected RSS memory (MB) < 73400320; got 135372800
node gke-jenkins-e2e-default-pool-badc50ee-ex79:
container "kubelet": expected RSS memory (MB) < 73400320; got 134975488
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/kubelet_perf.go:153
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162928137" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28220" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28220/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28220">#28220</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177562336" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32942" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32942/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32942">#32942</a></p>
<p dir="auto">Failed: AfterSuite {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:213
Expected error:
<*errors.errorString | 0xc8238fb5a0>: {
s: "Unable to get server version: an error on the server (\"Internal Server Error: \\\"/version\\\"\") has prevented the request from succeeding",
}
Unable to get server version: an error on the server ("Internal Server Error: \"/version\"") has prevented the request from succeeding
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/autoscaling_utils.go:217"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/e2e.go:213
Expected error:
<*errors.errorString | 0xc8238fb5a0>: {
s: "Unable to get server version: an error on the server (\"Internal Server Error: \\\"/version\\\"\") has prevented the request from succeeding",
}
Unable to get server version: an error on the server ("Internal Server Error: \"/version\"") has prevented the request from succeeding
not to have occurred
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/autoscaling_utils.go:217
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="168961102" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29933" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29933/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29933">#29933</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181215740" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34111" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34111/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34111">#34111</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for endpoint-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:141
Oct 12 14:55:47.024: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.82:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=31296&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:141
Oct 12 14:55:47.024: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.82:8080/dial?request=hostName&protocol=udp&host=162.222.177.33&port=31296&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181033748" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34064" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34064/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34064">#34064</a></p>
<p dir="auto">Failed: [k8s.io] Services should be able to create a functioning NodePort service {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:463
Oct 12 17:38:20.284: Could not reach HTTP service through 162.222.177.33:30104 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:463
Oct 12 17:38:20.284: Could not reach HTTP service through 162.222.177.33:30104 after 5m0s: timed out waiting for the condition
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/service.go:1994
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="162257617" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28064" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28064/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28064">#28064</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="164220053" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/28569" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/28569/hovercard" href="https://github.com/kubernetes/kubernetes/issues/28569">#28569</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="180962367" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34036" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34036/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34036">#34036</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for node-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:114
Oct 12 17:21:17.491: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:31110/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:114
Oct 12 17:21:17.491: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:31110/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="176974674" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/32684" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/32684/hovercard" href="https://github.com/kubernetes/kubernetes/issues/32684">#32684</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for node-Service: udp {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:123
Oct 12 16:45:03.851: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 31400
retrieved map[]
expected map[netserver-1:{} netserver-2:{} netserver-0:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:123
Oct 12 16:45:03.851: Failed to find expected endpoints:
Tries 0
Command echo 'hostName' | timeout -t 3 nc -w 1 -u 162.222.177.33 31400
retrieved map[]
expected map[netserver-1:{} netserver-2:{} netserver-0:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for pod-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:96
Oct 12 17:31:06.196: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.111:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=30908&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:96
Oct 12 17:31:06.196: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.1.111:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=30908&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should update nodePort: http [Slow] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:175
Oct 12 18:49:36.595: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:30000/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:175
Oct 12 18:49:36.595: Failed to find expected endpoints:
Tries 0
Command curl -q -s --connect-timeout 1 http://162.222.177.33:30000/hostName
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:255
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="179974689" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/33730" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/33730/hovercard" href="https://github.com/kubernetes/kubernetes/issues/33730">#33730</a></p>
<p dir="auto">Failed: [k8s.io] Networking [k8s.io] Granular Checks: Services [Slow] should function for endpoint-Service: http {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:132
Oct 12 19:26:57.188: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.16:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=32256&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/networking.go:132
Oct 12 19:26:57.188: Failed to find expected endpoints:
Tries 0
Command curl -q -s 'http://10.180.0.16:8080/dial?request=hostName&protocol=http&host=162.222.177.33&port=32256&tries=1'
retrieved map[]
expected map[netserver-0:{} netserver-1:{} netserver-2:{}]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/networking_utils.go:206
</code></pre></div>
<p dir="auto">Issues about this test specifically: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181191140" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34104" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34104/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34104">#34104</a></p>
<p dir="auto">Previous issues for this suite: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="181321981" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/34202" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/34202/hovercard" href="https://github.com/kubernetes/kubernetes/issues/34202">#34202</a></p> | 1 |
<p dir="auto">I have a question regarding the new is_file_like function and its usage in IO functions like read_csv</p>
<p dir="auto">This new change in pandas 0.20 breaks many codes which previously assume that a file-like object is just an object possessing <code class="notranslate">read</code> or <code class="notranslate">write</code> method.</p>
<p dir="auto">Is there any specific reason we have to enforce such conditions?</p>
<p dir="auto">When making such changes why we have to break the previous behaviors?</p> | <p dir="auto">related <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28538217" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6512" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6512/hovercard" href="https://github.com/pandas-dev/pandas/issues/6512">#6512</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28601637" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6524" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6524/hovercard" href="https://github.com/pandas-dev/pandas/issues/6524">#6524</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="27560102" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6346" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6346/hovercard" href="https://github.com/pandas-dev/pandas/issues/6346">#6346</a></p>
<p dir="auto"><em>Update from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/hayd/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/hayd">@hayd</a> I think these should reference <code class="notranslate">_selected_obj</code> rather than <code class="notranslate">obj</code>.</em></p>
<p dir="auto">Looking through some others, looks these also ignore the selection</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> count <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> corr <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> cummax <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> cummin <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> cumsum <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> cumprod <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> describe <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fillna <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> quantile <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> head <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28668446" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6533" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6533/hovercard" href="https://github.com/pandas-dev/pandas/pull/6533">#6533</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> hist? the output is ok but the plots have all</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ohlc? possibly fixed with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a> (resample with ohlc is tested), should this method exist? see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29145987" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6594" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6594/hovercard" href="https://github.com/pandas-dev/pandas/issues/6594">#6594</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> plot</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> rank <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> tail <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28668446" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6533" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6533/hovercard" href="https://github.com/pandas-dev/pandas/pull/6533">#6533</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> filter, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a> (tested in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29145549" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6593" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6593/hovercard" href="https://github.com/pandas-dev/pandas/pull/6593">#6593</a>)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> resample, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> nth <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28984684" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6569" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6569/hovercard" href="https://github.com/pandas-dev/pandas/pull/6569">#6569</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> diff/shift, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> all/any <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> ffill, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> pct_change <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> idxmin/idxmax, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> dtypes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> apply <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="28987607" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6570" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6570/hovercard" href="https://github.com/pandas-dev/pandas/pull/6570">#6570</a> (could be tested more / different paths?)</li>
</ul>
<p dir="auto">Aggregation functions like (they already <em>kind</em> of do, but they allow bad selections ie column names not in columns, may be sep issue?):</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> sum/max/min/median/mean/var/std/.. (not tested)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> agg (not tested)<br>
(these "work" with the described bug)</li>
</ul>
<p dir="auto">Atm selecting a column not in df doesn't raise:</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> it should raise a Key Error, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29039689" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6578" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/6578/hovercard" href="https://github.com/pandas-dev/pandas/pull/6578">#6578</a></li>
</ul>
<p dir="auto">what about <code class="notranslate">iloc/loc/ix</code> (current all disabled)?</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> iloc (very similar to head/tail)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> loc/ix (maybe push off for now, this is pretty tricky)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> iterate over all (whitelisted) functions to check they adhere to this</li>
</ul>
<p dir="auto">The column selection on a groupby object is being ignored when <code class="notranslate">.quantile()</code> is called. So it computes the quantile on all the (numeric) columns and returns the full DataFrame.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [92]: t = pd.DataFrame(np.random.randn(10, 4)); t[0] = np.hstack([np.ones(5), np.zeros(5)])
In [95]: t.groupby(0)[[1, 2]].quantile() # shows other cols
Out[95]:
0 1 2 3
0
0 0 0.127152 0.108908 0.369601
1 1 -0.321279 0.265550 -0.382398
In [96]: t[[1, 2]].groupby(t[0]).quantile() # Should be equivalent to:
Out[96]:
1 2
0
0 0.127152 0.108908
1 -0.321279 0.265550"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">92</span>]: <span class="pl-s1">t</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">10</span>, <span class="pl-c1">4</span>)); <span class="pl-s1">t</span>[<span class="pl-c1">0</span>] <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">hstack</span>([<span class="pl-s1">np</span>.<span class="pl-en">ones</span>(<span class="pl-c1">5</span>), <span class="pl-s1">np</span>.<span class="pl-en">zeros</span>(<span class="pl-c1">5</span>)])
<span class="pl-v">In</span> [<span class="pl-c1">95</span>]: <span class="pl-s1">t</span>.<span class="pl-en">groupby</span>(<span class="pl-c1">0</span>)[[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]].<span class="pl-en">quantile</span>() <span class="pl-c"># shows other cols</span>
<span class="pl-v">Out</span>[<span class="pl-c1">95</span>]:
<span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span>
<span class="pl-c1">0</span>
<span class="pl-c1">0</span> <span class="pl-c1">0</span> <span class="pl-c1">0.127152</span> <span class="pl-c1">0.108908</span> <span class="pl-c1">0.369601</span>
<span class="pl-c1">1</span> <span class="pl-c1">1</span> <span class="pl-c1">-</span><span class="pl-c1">0.321279</span> <span class="pl-c1">0.265550</span> <span class="pl-c1">-</span><span class="pl-c1">0.382398</span>
<span class="pl-v">In</span> [<span class="pl-c1">96</span>]: <span class="pl-s1">t</span>[[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]].<span class="pl-en">groupby</span>(<span class="pl-s1">t</span>[<span class="pl-c1">0</span>]).<span class="pl-en">quantile</span>() <span class="pl-c"># Should be equivalent to:</span>
<span class="pl-v">Out</span>[<span class="pl-c1">96</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.127152</span> <span class="pl-c1">0.108908</span>
<span class="pl-c1">1</span> <span class="pl-c1">-</span><span class="pl-c1">0.321279</span> <span class="pl-c1">0.265550</span></pre></div>
<p dir="auto">Seeing all these, I'm wondering if this is a bug or just how some of the methods are implementer. The <a href="http://pandas.pydata.org/pandas-docs/dev/groupby.html#dataframe-column-selection-in-groupby" rel="nofollow">docs</a> don't mention anything about only supporting some methods though.</p>
<p dir="auto">version: '0.12.0-883-g988d4be'</p> | 0 |
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Versione 10.0.18362.900]
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): Power Toys"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Versione 10.0.18362.900]
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable): Power Toys
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Start PC with power toys with run on startup activated.</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">In the past versions (before 0.18) after I gave it "run as admin" rights it never asked for those again-</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">On every PC startup, there is the window asking if I want to start Power Toys.</p> | <h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18363.815]
PowerToys version: v0.17.0
PowerToy module for which you are reporting the bug (if applicable): PowerToys Settings"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18363.815]
PowerToys version: v0.17.0
PowerToy module for which you are reporting the bug (if applicable): PowerToys Settings
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Install a previous version (I had v0.16.1)<br>
Enable "Always run as administrator"<br>
Update PowerToys</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">In version 0.16.1 my PC would boot and PowerToys would load in the background</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Every time I boot my PC I get a UAC promt asking me if I'll grant PowerToys admin privileges</p> | 1 |
<p dir="auto">According the [development setup] (<a href="https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup">https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup</a>) I do the following:</p>
<ul dir="auto">
<li>clone vue repository</li>
<li><code class="notranslate">npm install</code></li>
<li><code class="notranslate">npm test</code></li>
</ul>
<p dir="auto">On <code class="notranslate">npm run build -- vue.min.js && node test/e2e/runner.js "--env" "phantomjs"</code> step<br>
I get error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[email protected] test:e2e C:\vue_github
> npm run build -- vue.min.js && node test/e2e/runner.js "--env" "phantomjs"
> [email protected] build C:\vue_github
> node build/build.js "vue.min.js"
Error: Could not load C:\vue_github\src\core/index (imported by C:\vue_github\src\entries\web-runtime.js): ENOENT: no such file or directory, open 'C:\vue_github\src\core\index'
at C:\vue_github\node_modules\rollup\dist\rollup.js:8833:10
at process._tickCallback (internal/process/next_tick.js:103:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Starting selenium server... started - PID: 10820
[Commits] Test Suite
========================
Running: commits
"><pre class="notranslate"><code class="notranslate">[email protected] test:e2e C:\vue_github
> npm run build -- vue.min.js && node test/e2e/runner.js "--env" "phantomjs"
> [email protected] build C:\vue_github
> node build/build.js "vue.min.js"
Error: Could not load C:\vue_github\src\core/index (imported by C:\vue_github\src\entries\web-runtime.js): ENOENT: no such file or directory, open 'C:\vue_github\src\core\index'
at C:\vue_github\node_modules\rollup\dist\rollup.js:8833:10
at process._tickCallback (internal/process/next_tick.js:103:7)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
Starting selenium server... started - PID: 10820
[Commits] Test Suite
========================
Running: commits
</code></pre></div> | <h3 dir="auto">Versions</h3>
<p dir="auto">Vue.js = 2.0.2<br>
Node.js = 6.9.1<br>
NPM = 4.0.2<br>
Windows 10</p>
<h3 dir="auto">Steps to reproduce</h3>
<ul dir="auto">
<li>Clone repo from GitHub</li>
<li>npm install</li>
<li>npm run build</li>
</ul>
<p dir="auto">or</p>
<ul dir="auto">
<li>Clone repo from GitHub</li>
<li>yarn install</li>
<li>yarn run build</li>
</ul>
<h3 dir="auto">What is Expected?</h3>
<p dir="auto">The expected behavior is that all versions of vue are build in the dist folder.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Error: Could not load C:\Development\github\vue\src\core/index (imported by C:\Development\github\vue\src\entries\web-runtime.js): ENOENT: no such file or directory, open 'C:\Development\github\vue\src\core\index'<br>
at C:\Development\github\vue\node_modules\rollup\dist\rollup.js:8833:10<br>
at process._tickCallback (internal/process/next_tick.js:103:7)<br>
at Module.runMain (module.js:606:11)<br>
at run (bootstrap_node.js:394:7)<br>
at startup (bootstrap_node.js:149:9)<br>
at bootstrap_node.js:509:3</p>
<h3 dir="auto">Workaround</h3>
<p dir="auto">It appears that all imports that use the aliases defined in build/alias.js file do not work when the extension .js is not used. When .js is added to all imports, the build succeeds.</p> | 1 |
<p dir="auto">Error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'tried to get overflow intrinsic for non-int type', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/expr.rs:2358
stack backtrace:
1: 0x7f52af1682d2 - sys::backtrace::write::he3277a63d69f5b66QBA
2: 0x7f52af18e322 - panicking::on_panic::h2a4421d00c8eaa07jHJ
3: 0x7f52af0d4a69 - rt::unwind::begin_unwind_inner::hb49f4d2d01640667mnJ
4: 0x7f52ae7cefcc - rt::unwind::begin_unwind::h2680611462970500090
5: 0x7f52ae886c3d - trans::expr::with_overflow_check::h22ec817d39a9a5942nk
6: 0x7f52ae88535a - trans::expr::trans_eager_binop::h3675af8766a17880Yrj
7: 0x7f52ae861531 - trans::expr::trans_binary::h497e9acc1a254839iBj
8: 0x7f52ae84f381 - trans::expr::trans_unadjusted::h499460e0693ca7c136h
9: 0x7f52ae80fc37 - trans::expr::trans_into::he1bd2630274c6257Tph
10: 0x7f52ae8fbb6e - trans::_match::mk_binding_alloca::h16531623213959557454
11: 0x7f52ae80f0ed - trans::base::init_local::h4220d9153c798dbdGBs
12: 0x7f52ae8106a2 - trans::controlflow::trans_block::h24688e532ef957ffv7d
13: 0x7f52ae8cbf10 - trans::base::trans_closure::h0ab6c84c342248f8ent
14: 0x7f52ae7fff8b - trans::base::trans_fn::h365bd4f7574aa6067xt
15: 0x7f52ae7fbf36 - trans::base::trans_item::hfa9c20eef4d47c8aZVt
16: 0x7f52ae8d26bc - trans::base::trans_crate::h6a97e87f7f6b01f8aSu
17: 0x7f52af78cf92 - driver::phase_4_translate_to_llvm::h9b048c1a8eb1ea23gOa
18: 0x7f52af7688ea - driver::compile_input::h4ead3acd85265c84Nba
19: 0x7f52af82cebd - run_compiler::h297fa686def10927G6b
20: 0x7f52af82ac2c - thunk::F.Invoke<A, R>::invoke::h13212375243324058858
21: 0x7f52af829880 - rt::unwind::try::try_fn::h15556897595580953244
22: 0x7f52af1fa0f8 - rust_try_inner
23: 0x7f52af1fa0e5 - rust_try
24: 0x7f52af82a00b - thunk::F.Invoke<A, R>::invoke::h6333748217615269386
25: 0x7f52af17bb25 - sys::thread::thread_start::h14dbe992a2cfcf49t8E
26: 0x7f52a91cb181 - start_thread
27: 0x7f52aed4d47c - __clone
28: 0x0 - <unknown>"><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 'tried to get overflow intrinsic for non-int type', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/expr.rs:2358
stack backtrace:
1: 0x7f52af1682d2 - sys::backtrace::write::he3277a63d69f5b66QBA
2: 0x7f52af18e322 - panicking::on_panic::h2a4421d00c8eaa07jHJ
3: 0x7f52af0d4a69 - rt::unwind::begin_unwind_inner::hb49f4d2d01640667mnJ
4: 0x7f52ae7cefcc - rt::unwind::begin_unwind::h2680611462970500090
5: 0x7f52ae886c3d - trans::expr::with_overflow_check::h22ec817d39a9a5942nk
6: 0x7f52ae88535a - trans::expr::trans_eager_binop::h3675af8766a17880Yrj
7: 0x7f52ae861531 - trans::expr::trans_binary::h497e9acc1a254839iBj
8: 0x7f52ae84f381 - trans::expr::trans_unadjusted::h499460e0693ca7c136h
9: 0x7f52ae80fc37 - trans::expr::trans_into::he1bd2630274c6257Tph
10: 0x7f52ae8fbb6e - trans::_match::mk_binding_alloca::h16531623213959557454
11: 0x7f52ae80f0ed - trans::base::init_local::h4220d9153c798dbdGBs
12: 0x7f52ae8106a2 - trans::controlflow::trans_block::h24688e532ef957ffv7d
13: 0x7f52ae8cbf10 - trans::base::trans_closure::h0ab6c84c342248f8ent
14: 0x7f52ae7fff8b - trans::base::trans_fn::h365bd4f7574aa6067xt
15: 0x7f52ae7fbf36 - trans::base::trans_item::hfa9c20eef4d47c8aZVt
16: 0x7f52ae8d26bc - trans::base::trans_crate::h6a97e87f7f6b01f8aSu
17: 0x7f52af78cf92 - driver::phase_4_translate_to_llvm::h9b048c1a8eb1ea23gOa
18: 0x7f52af7688ea - driver::compile_input::h4ead3acd85265c84Nba
19: 0x7f52af82cebd - run_compiler::h297fa686def10927G6b
20: 0x7f52af82ac2c - thunk::F.Invoke<A, R>::invoke::h13212375243324058858
21: 0x7f52af829880 - rt::unwind::try::try_fn::h15556897595580953244
22: 0x7f52af1fa0f8 - rust_try_inner
23: 0x7f52af1fa0e5 - rust_try
24: 0x7f52af82a00b - thunk::F.Invoke<A, R>::invoke::h6333748217615269386
25: 0x7f52af17bb25 - sys::thread::thread_start::h14dbe992a2cfcf49t8E
26: 0x7f52a91cb181 - start_thread
27: 0x7f52aed4d47c - __clone
28: 0x0 - <unknown>
</code></pre></div>
<p dir="auto">Code to reproduce:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(simd)]
use std::simd::u32x4;
#[inline(never)]
fn new(v: u32) -> u32x4 {
u32x4(v, v, v, v)
}
fn main() {
let x = new(1) + new(1);
}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>simd<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-k">use</span> std<span class="pl-kos">::</span>simd<span class="pl-kos">::</span>u32x4<span class="pl-kos">;</span>
<span class="pl-c1">#<span class="pl-kos">[</span>inline<span class="pl-kos">(</span>never<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-k">fn</span> <span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-s1">v</span><span class="pl-kos">:</span> <span class="pl-smi">u32</span><span class="pl-kos">)</span> -> <span class="pl-smi">u32x4</span> <span class="pl-kos">{</span>
<span class="pl-en">u32x4</span><span class="pl-kos">(</span>v<span class="pl-kos">,</span> v<span class="pl-kos">,</span> v<span class="pl-kos">,</span> v<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-k">let</span> x = <span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span> + <span class="pl-en">new</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | <p dir="auto">thread 'rustc' panicked at 'tried to get overflow intrinsic for non-int type', C<br>
:\bot\slave\nightly-dist-rustc-win-64\build\src\librustc_trans\trans\expr.rs:235<br>
2</p>
<p dir="auto">Here is the code</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![feature(core)]
use std::simd::i16x8;
fn main() {
// create simd vectors
let x = i16x8(1, 2, 3, 4,1, 2, 3, 4);
let y = i16x8(4, 3, 2, 1,1, 2, 3, 4);
// simd product
let z = x * y;
// like any struct, the simd vector can be destructured using `let`
let i16x8(a, b, c, d,e,f,g,h) = z;
println!("{:?}", (a, b, c, d,e,f,g,h));
}"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>core<span class="pl-kos">)</span><span class="pl-kos">]</span></span>
<span class="pl-k">use</span> std<span class="pl-kos">::</span>simd<span class="pl-kos">::</span>i16x8<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-c">// create simd vectors</span>
<span class="pl-k">let</span> x = <span class="pl-en">i16x8</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">,</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">let</span> y = <span class="pl-en">i16x8</span><span class="pl-kos">(</span><span class="pl-c1">4</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">1</span><span class="pl-kos">,</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">,</span> <span class="pl-c1">3</span><span class="pl-kos">,</span> <span class="pl-c1">4</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// simd product</span>
<span class="pl-k">let</span> z = x <span class="pl-c1">*</span> y<span class="pl-kos">;</span>
<span class="pl-c">// like any struct, the simd vector can be destructured using `let`</span>
<span class="pl-k">let</span> i16x8<span class="pl-kos">(</span>a<span class="pl-kos">,</span> b<span class="pl-kos">,</span> c<span class="pl-kos">,</span> d<span class="pl-kos">,</span>e<span class="pl-kos">,</span>f<span class="pl-kos">,</span>g<span class="pl-kos">,</span>h<span class="pl-kos">)</span> = z<span class="pl-kos">;</span>
<span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{:?}"</span>, <span class="pl-kos">(</span>a, b, c, d,e,f,g,h<span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div> | 1 |
<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have 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"> 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>first mentioned in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="708688136" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6363" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/6363/hovercard" href="https://github.com/celery/celery/issues/6363">#6363</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>: 5.0.0 and master(<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/431fffd7f29824cc08d566ed40bf398579979820/hovercard" href="https://github.com/celery/celery/commit/431fffd7f29824cc08d566ed40bf398579979820"><tt>431fffd</tt></a>)</p>
<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.8.5
billiard:3.6.3.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:5.8.10-arch1-1 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://:**@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0
ABSOLUTE_URL_OVERRIDES: {
}
ADMINS: []
ALLOWED_HOSTS: ['saturn.int.sig.de.labcode.de',
'fahrplandatengarten.de',
'www.fahrplandatengarten.de',
'127.0.0.1',
'::1']
APPEND_SLASH: True
AUTHENTICATION_BACKENDS: ['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS: '********'
AUTH_USER_MODEL: 'auth.User'
BASE_DIR: '/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten'
CACHES: {
'default': { 'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'redis://:***@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/1',
'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},
'redis': { 'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'redis://:***@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/1',
'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}}
CACHE_MIDDLEWARE_ALIAS: 'default'
CACHE_MIDDLEWARE_KEY_PREFIX: '********'
CACHE_MIDDLEWARE_SECONDS: 600
CELERYCONF_BROKER_URL: 'redis://:********@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0'
CELERYCONF_RESULT_BACKEND: 'redis://:********@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0'
CELERYCONF_TASK_IGNORE_RESULT: True
CELERYCONF_TASK_SERIALIZER: 'json'
CELERYCONF_TASK_STORE_ERRORS_EVEN_IF_IGNORED: True
COMPRESS_PRECOMPILERS: [('text/x-scss', 'django_libsass.SassCompiler')]
COMPRESS_ROOT: '/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten/static'
CSRF_COOKIE_AGE: 31449600
CSRF_COOKIE_DOMAIN: None
CSRF_COOKIE_HTTPONLY: False
CSRF_COOKIE_NAME: 'csrftoken'
CSRF_COOKIE_PATH: '/'
CSRF_COOKIE_SAMESITE: 'Lax'
CSRF_COOKIE_SECURE: False
CSRF_FAILURE_VIEW: 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME: 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS: []
CSRF_USE_SESSIONS: False
DATABASES: {
'default': { 'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 120,
'ENGINE': 'django.db.backends.postgresql',
'HOST': '10.151.4.8',
'NAME': 'fdg',
'OPTIONS': {},
'PASSWORD': '********',
'PORT': '5432',
'TEST': { 'CHARSET': None,
'COLLATION': None,
'MIGRATE': True,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'fdg'}}
DATABASE_ROUTERS: '********'
DATA_UPLOAD_MAX_MEMORY_SIZE: 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS: 1000
DATETIME_FORMAT: 'N j, Y, P'
DATETIME_INPUT_FORMATS: ['%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M']
DATE_FORMAT: 'N j, Y'
DATE_INPUT_FORMATS: ['%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y']
DEBUG: True
DEBUG_PROPAGATE_EXCEPTIONS: False
DECIMAL_SEPARATOR: '.'
DEFAULT_CHARSET: 'utf-8'
DEFAULT_EXCEPTION_REPORTER: 'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER: 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE: 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL: 'webmaster@localhost'
DEFAULT_HASHING_ALGORITHM: 'sha256'
DEFAULT_INDEX_TABLESPACE: ''
DEFAULT_TABLESPACE: ''
DISALLOWED_USER_AGENTS: []
EMAIL_BACKEND: 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST: 'localhost'
EMAIL_HOST_PASSWORD: '********'
EMAIL_HOST_USER: ''
EMAIL_PORT: 25
EMAIL_SSL_CERTFILE: None
EMAIL_SSL_KEYFILE: '********'
EMAIL_SUBJECT_PREFIX: '[Django] '
EMAIL_TIMEOUT: None
EMAIL_USE_LOCALTIME: False
EMAIL_USE_SSL: False
EMAIL_USE_TLS: False
FILE_UPLOAD_DIRECTORY_PERMISSIONS: None
FILE_UPLOAD_HANDLERS: ['django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE: 2621440
FILE_UPLOAD_PERMISSIONS: 420
FILE_UPLOAD_TEMP_DIR: None
FIRST_DAY_OF_WEEK: 0
FIXTURE_DIRS: []
FORCE_SCRIPT_NAME: None
FORMAT_MODULE_PATH: None
FORM_RENDERER: 'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS: []
INSTALLED_APPS: ['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'core',
'DBApis',
'FGRFiller',
'verspaeti',
'gtfs',
'netzkarte']
INTERNAL_IPS: []
LANGUAGES: [
('de', 'German'),
('en', 'English'),
('en-au', 'Australian English'),
('en-gb', 'British English'),]
LANGUAGES_BIDI: ['he', 'ar', 'ar-dz', 'fa', 'ur']
LANGUAGE_CODE: 'de-de'
LANGUAGE_COOKIE_AGE: None
LANGUAGE_COOKIE_DOMAIN: None
LANGUAGE_COOKIE_HTTPONLY: False
LANGUAGE_COOKIE_NAME: 'django_language'
LANGUAGE_COOKIE_PATH: '/'
LANGUAGE_COOKIE_SAMESITE: None
LANGUAGE_COOKIE_SECURE: False
LIBSASS_SOURCE_COMMENTS: False
LOCALE_PATHS: []
LOGGING: {
}
LOGGING_CONFIG: 'logging.config.dictConfig'
LOGIN_REDIRECT_URL: '/accounts/profile/'
LOGIN_URL: '/accounts/login/'
LOGOUT_REDIRECT_URL: None
MANAGERS: []
MEDIA_ROOT: ''
MEDIA_URL: '/'
MESSAGE_STORAGE: 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE: ['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
MIGRATION_MODULES: {
}
MONTH_DAY_FORMAT: 'F j'
NUMBER_GROUPING: 0
PASSWORD_HASHERS: '********'
PASSWORD_RESET_TIMEOUT: '********'
PASSWORD_RESET_TIMEOUT_DAYS: '********'
PERIODIC_IMPORT_JOURNEYS: ['*', '*/5']
PERIODIC_IMPORT_TIMETABLES: ['*', '*/10']
PREPEND_WWW: False
ROOT_URLCONF: 'FahrplanDatenGarten.urls'
SECRET_KEY: '********'
SECURE_BROWSER_XSS_FILTER: False
SECURE_CONTENT_TYPE_NOSNIFF: True
SECURE_HSTS_INCLUDE_SUBDOMAINS: False
SECURE_HSTS_PRELOAD: False
SECURE_HSTS_SECONDS: 0
SECURE_PROXY_SSL_HEADER: None
SECURE_REDIRECT_EXEMPT: []
SECURE_REFERRER_POLICY: 'same-origin'
SECURE_SSL_HOST: None
SECURE_SSL_REDIRECT: False
SERVER_EMAIL: 'root@localhost'
SESSION_CACHE_ALIAS: 'default'
SESSION_COOKIE_AGE: 1209600
SESSION_COOKIE_DOMAIN: None
SESSION_COOKIE_HTTPONLY: True
SESSION_COOKIE_NAME: 'sessionid'
SESSION_COOKIE_PATH: '/'
SESSION_COOKIE_SAMESITE: 'Lax'
SESSION_COOKIE_SECURE: False
SESSION_ENGINE: 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE: False
SESSION_FILE_PATH: None
SESSION_SAVE_EVERY_REQUEST: False
SESSION_SERIALIZER: 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE: 'FahrplanDatenGarten.settings'
SHORT_DATETIME_FORMAT: 'm/d/Y P'
SHORT_DATE_FORMAT: 'm/d/Y'
SIGNING_BACKEND: 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS: []
STATICFILES_DIRS: ['/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten/static']
STATICFILES_FINDERS: ['django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE: 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT: '/var/www/static'
STATIC_URL: '/static/'
TEMPLATES: [{'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['FahrplanDatenGarten/templates/'],
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS: []
TEST_RUNNER: 'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR: ','
TIME_FORMAT: 'P'
TIME_INPUT_FORMATS: ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE: 'Europe/Berlin'
USE_I18N: True
USE_L10N: True
USE_THOUSAND_SEPARATOR: False
USE_TZ: True
USE_X_FORWARDED_HOST: False
USE_X_FORWARDED_PORT: False
WSGI_APPLICATION: 'FahrplanDatenGarten.wsgi.application'
X_FRAME_OPTIONS: 'DENY'
YEAR_MONTH_FORMAT: 'F Y'
is_overridden: <bound method Settings.is_overridden of <Settings "FahrplanDatenGarten.settings">>
deprecated_settings: None"><pre class="notranslate"><code class="notranslate">software -> celery:5.0.0 (singularity) kombu:5.0.2 py:3.8.5
billiard:3.6.3.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:5.8.10-arch1-1 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://:**@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0
ABSOLUTE_URL_OVERRIDES: {
}
ADMINS: []
ALLOWED_HOSTS: ['saturn.int.sig.de.labcode.de',
'fahrplandatengarten.de',
'www.fahrplandatengarten.de',
'127.0.0.1',
'::1']
APPEND_SLASH: True
AUTHENTICATION_BACKENDS: ['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS: '********'
AUTH_USER_MODEL: 'auth.User'
BASE_DIR: '/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten'
CACHES: {
'default': { 'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'redis://:***@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/1',
'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.DefaultClient'}},
'redis': { 'BACKEND': 'django_redis.cache.RedisCache',
'LOCATION': 'redis://:***@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/1',
'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}}
CACHE_MIDDLEWARE_ALIAS: 'default'
CACHE_MIDDLEWARE_KEY_PREFIX: '********'
CACHE_MIDDLEWARE_SECONDS: 600
CELERYCONF_BROKER_URL: 'redis://:********@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0'
CELERYCONF_RESULT_BACKEND: 'redis://:********@mars.het.nue.de.vpn.fahrplandatengarten.de:6379/0'
CELERYCONF_TASK_IGNORE_RESULT: True
CELERYCONF_TASK_SERIALIZER: 'json'
CELERYCONF_TASK_STORE_ERRORS_EVEN_IF_IGNORED: True
COMPRESS_PRECOMPILERS: [('text/x-scss', 'django_libsass.SassCompiler')]
COMPRESS_ROOT: '/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten/static'
CSRF_COOKIE_AGE: 31449600
CSRF_COOKIE_DOMAIN: None
CSRF_COOKIE_HTTPONLY: False
CSRF_COOKIE_NAME: 'csrftoken'
CSRF_COOKIE_PATH: '/'
CSRF_COOKIE_SAMESITE: 'Lax'
CSRF_COOKIE_SECURE: False
CSRF_FAILURE_VIEW: 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME: 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS: []
CSRF_USE_SESSIONS: False
DATABASES: {
'default': { 'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 120,
'ENGINE': 'django.db.backends.postgresql',
'HOST': '10.151.4.8',
'NAME': 'fdg',
'OPTIONS': {},
'PASSWORD': '********',
'PORT': '5432',
'TEST': { 'CHARSET': None,
'COLLATION': None,
'MIGRATE': True,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'fdg'}}
DATABASE_ROUTERS: '********'
DATA_UPLOAD_MAX_MEMORY_SIZE: 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS: 1000
DATETIME_FORMAT: 'N j, Y, P'
DATETIME_INPUT_FORMATS: ['%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M']
DATE_FORMAT: 'N j, Y'
DATE_INPUT_FORMATS: ['%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y']
DEBUG: True
DEBUG_PROPAGATE_EXCEPTIONS: False
DECIMAL_SEPARATOR: '.'
DEFAULT_CHARSET: 'utf-8'
DEFAULT_EXCEPTION_REPORTER: 'django.views.debug.ExceptionReporter'
DEFAULT_EXCEPTION_REPORTER_FILTER: 'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE: 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL: 'webmaster@localhost'
DEFAULT_HASHING_ALGORITHM: 'sha256'
DEFAULT_INDEX_TABLESPACE: ''
DEFAULT_TABLESPACE: ''
DISALLOWED_USER_AGENTS: []
EMAIL_BACKEND: 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST: 'localhost'
EMAIL_HOST_PASSWORD: '********'
EMAIL_HOST_USER: ''
EMAIL_PORT: 25
EMAIL_SSL_CERTFILE: None
EMAIL_SSL_KEYFILE: '********'
EMAIL_SUBJECT_PREFIX: '[Django] '
EMAIL_TIMEOUT: None
EMAIL_USE_LOCALTIME: False
EMAIL_USE_SSL: False
EMAIL_USE_TLS: False
FILE_UPLOAD_DIRECTORY_PERMISSIONS: None
FILE_UPLOAD_HANDLERS: ['django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE: 2621440
FILE_UPLOAD_PERMISSIONS: 420
FILE_UPLOAD_TEMP_DIR: None
FIRST_DAY_OF_WEEK: 0
FIXTURE_DIRS: []
FORCE_SCRIPT_NAME: None
FORMAT_MODULE_PATH: None
FORM_RENDERER: 'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS: []
INSTALLED_APPS: ['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'core',
'DBApis',
'FGRFiller',
'verspaeti',
'gtfs',
'netzkarte']
INTERNAL_IPS: []
LANGUAGES: [
('de', 'German'),
('en', 'English'),
('en-au', 'Australian English'),
('en-gb', 'British English'),]
LANGUAGES_BIDI: ['he', 'ar', 'ar-dz', 'fa', 'ur']
LANGUAGE_CODE: 'de-de'
LANGUAGE_COOKIE_AGE: None
LANGUAGE_COOKIE_DOMAIN: None
LANGUAGE_COOKIE_HTTPONLY: False
LANGUAGE_COOKIE_NAME: 'django_language'
LANGUAGE_COOKIE_PATH: '/'
LANGUAGE_COOKIE_SAMESITE: None
LANGUAGE_COOKIE_SECURE: False
LIBSASS_SOURCE_COMMENTS: False
LOCALE_PATHS: []
LOGGING: {
}
LOGGING_CONFIG: 'logging.config.dictConfig'
LOGIN_REDIRECT_URL: '/accounts/profile/'
LOGIN_URL: '/accounts/login/'
LOGOUT_REDIRECT_URL: None
MANAGERS: []
MEDIA_ROOT: ''
MEDIA_URL: '/'
MESSAGE_STORAGE: 'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE: ['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
MIGRATION_MODULES: {
}
MONTH_DAY_FORMAT: 'F j'
NUMBER_GROUPING: 0
PASSWORD_HASHERS: '********'
PASSWORD_RESET_TIMEOUT: '********'
PASSWORD_RESET_TIMEOUT_DAYS: '********'
PERIODIC_IMPORT_JOURNEYS: ['*', '*/5']
PERIODIC_IMPORT_TIMETABLES: ['*', '*/10']
PREPEND_WWW: False
ROOT_URLCONF: 'FahrplanDatenGarten.urls'
SECRET_KEY: '********'
SECURE_BROWSER_XSS_FILTER: False
SECURE_CONTENT_TYPE_NOSNIFF: True
SECURE_HSTS_INCLUDE_SUBDOMAINS: False
SECURE_HSTS_PRELOAD: False
SECURE_HSTS_SECONDS: 0
SECURE_PROXY_SSL_HEADER: None
SECURE_REDIRECT_EXEMPT: []
SECURE_REFERRER_POLICY: 'same-origin'
SECURE_SSL_HOST: None
SECURE_SSL_REDIRECT: False
SERVER_EMAIL: 'root@localhost'
SESSION_CACHE_ALIAS: 'default'
SESSION_COOKIE_AGE: 1209600
SESSION_COOKIE_DOMAIN: None
SESSION_COOKIE_HTTPONLY: True
SESSION_COOKIE_NAME: 'sessionid'
SESSION_COOKIE_PATH: '/'
SESSION_COOKIE_SAMESITE: 'Lax'
SESSION_COOKIE_SECURE: False
SESSION_ENGINE: 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE: False
SESSION_FILE_PATH: None
SESSION_SAVE_EVERY_REQUEST: False
SESSION_SERIALIZER: 'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE: 'FahrplanDatenGarten.settings'
SHORT_DATETIME_FORMAT: 'm/d/Y P'
SHORT_DATE_FORMAT: 'm/d/Y'
SIGNING_BACKEND: 'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS: []
STATICFILES_DIRS: ['/home/em0lar/dev/bahn/FahrplanDatenGarten/FahrplanDatenGarten/FahrplanDatenGarten/static']
STATICFILES_FINDERS: ['django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE: 'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT: '/var/www/static'
STATIC_URL: '/static/'
TEMPLATES: [{'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['FahrplanDatenGarten/templates/'],
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS: []
TEST_RUNNER: 'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR: ','
TIME_FORMAT: 'P'
TIME_INPUT_FORMATS: ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE: 'Europe/Berlin'
USE_I18N: True
USE_L10N: True
USE_THOUSAND_SEPARATOR: False
USE_TZ: True
USE_X_FORWARDED_HOST: False
USE_X_FORWARDED_PORT: False
WSGI_APPLICATION: 'FahrplanDatenGarten.wsgi.application'
X_FRAME_OPTIONS: 'DENY'
YEAR_MONTH_FORMAT: 'F Y'
is_overridden: <bound method Settings.is_overridden of <Settings "FahrplanDatenGarten.settings">>
deprecated_settings: None
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: 5.0.0</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>
<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==5.0.1
asgiref==3.2.10
billiard==3.6.3.0
celery==5.0.0
certifi==2020.4.5.2
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-repl==0.1.6
dj-database-url==0.5.0
Django==3.1.1
django-redis==4.12.1
dparse==0.5.1
entrypoints==0.3
fdfgen==0.16.1
flake8==3.8.3
future==0.18.2
idna==2.9
isort==5.5.3
kombu==5.0.2
lxml==4.5.2
mccabe==0.6.1
packaging==20.4
plotly==4.10.0
prompt-toolkit==3.0.7
psycopg2-binary==2.8.6
pycodestyle==2.6.0
pycryptodome==3.9.8
pyflakes==2.2.0
pyhafas==0.2.0
pyparsing==2.4.7
pytz==2020.1
PyYAML==5.3.1
redis==3.5.3
requests==2.24.0
retrying==1.3.3
safety==1.9.0
six==1.15.0
sqlparse==0.3.1
toml==0.10.1
urllib3==1.25.9
vine==5.0.0
wcwidth==0.2.5"><pre class="notranslate"><code class="notranslate">amqp==5.0.1
asgiref==3.2.10
billiard==3.6.3.0
celery==5.0.0
certifi==2020.4.5.2
chardet==3.0.4
click==7.1.2
click-didyoumean==0.0.3
click-repl==0.1.6
dj-database-url==0.5.0
Django==3.1.1
django-redis==4.12.1
dparse==0.5.1
entrypoints==0.3
fdfgen==0.16.1
flake8==3.8.3
future==0.18.2
idna==2.9
isort==5.5.3
kombu==5.0.2
lxml==4.5.2
mccabe==0.6.1
packaging==20.4
plotly==4.10.0
prompt-toolkit==3.0.7
psycopg2-binary==2.8.6
pycodestyle==2.6.0
pycryptodome==3.9.8
pyflakes==2.2.0
pyhafas==0.2.0
pyparsing==2.4.7
pytz==2020.1
PyYAML==5.3.1
redis==3.5.3
requests==2.24.0
retrying==1.3.3
safety==1.9.0
six==1.15.0
sqlparse==0.3.1
toml==0.10.1
urllib3==1.25.9
vine==5.0.0
wcwidth==0.2.5
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>
<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Run multiple workers with the in the multi command supplied app</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">I ran: <code class="notranslate">celery -A FahrplanDatenGarten multi --verbose start 4 --pidfile="tmp/%n.pid" --logfile="tmp/%n.log" -c 12</code><br>
the output was the following:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="celery multi v5.0.0 (singularity)
> Starting nodes...
> celery1@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery1.pid --logfile=tmp/celery1.log -c 12 -n celery1@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery2@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery2.pid --logfile=tmp/celery2.log -c 12 -n celery2@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery3@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery3.pid --logfile=tmp/celery3.log -c 12 -n celery3@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery4@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery4.pid --logfile=tmp/celery4.log -c 12 -n celery4@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK"><pre class="notranslate"><code class="notranslate">celery multi v5.0.0 (singularity)
> Starting nodes...
> celery1@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery1.pid --logfile=tmp/celery1.log -c 12 -n celery1@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery2@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery2.pid --logfile=tmp/celery2.log -c 12 -n celery2@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery3@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery3.pid --logfile=tmp/celery3.log -c 12 -n celery3@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
> celery4@mimas: /home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3 -m celery worker --detach --pidfile=tmp/celery4.pid --logfile=tmp/celery4.log -c 12 -n celery4@mimas --executable=/home/em0lar/dev/Jugend_hackt/19/DE/FahrplanDatenGarten/.venv/bin/python3
OK
</code></pre></div>
<p dir="auto">In the commands to run the worker the app parameter is missing so the workers are not able to connect to the broker</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" 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" 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"> 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="194532272" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3667" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3667/hovercard" href="https://github.com/celery/celery/issues/3667">#3667</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="826311180" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/6672" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/6672/hovercard" href="https://github.com/celery/celery/issues/6672">#6672</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="software -> celery:5.1.2 (sun-harmonics) kombu:5.1.0 py:3.8.10
billiard:3.6.4.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:3.10.0-1160.11.1.el7.x86_64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://localhost:6379/0
broker_url: 'redis://localhost:6379/0'
result_backend: 'redis://localhost:6379/0'
task_serializer: 'pickle'
accept_content: ['pickle']
deprecated_settings: None
worker_concurrency: 1
result_serializer: 'pickle'
event_serializer: 'pickle'
"><pre class="notranslate"><code class="notranslate">software -> celery:5.1.2 (sun-harmonics) kombu:5.1.0 py:3.8.10
billiard:3.6.4.0 redis:3.5.3
platform -> system:Linux arch:64bit, ELF
kernel version:3.10.0-1160.11.1.el7.x86_64 imp:CPython
loader -> celery.loaders.app.AppLoader
settings -> transport:redis results:redis://localhost:6379/0
broker_url: 'redis://localhost:6379/0'
result_backend: 'redis://localhost:6379/0'
task_serializer: 'pickle'
accept_content: ['pickle']
deprecated_settings: None
worker_concurrency: 1
result_serializer: 'pickle'
event_serializer: 'pickle'
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">The breakage was introduced by <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d/hovercard" href="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d"><tt>40e2212</tt></a> first released in Celery v4.4.0 (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/42a5befd07a94e359e722fd4f3aecc871cf1e31d/hovercard" href="https://github.com/celery/celery/commit/42a5befd07a94e359e722fd4f3aecc871cf1e31d"><tt>42a5bef</tt></a> works).</p>
<p dir="auto">Prior to <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d/hovercard" href="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d"><tt>40e2212</tt></a>, the result of active() had <code class="notranslate">kwargs</code> and <code class="notranslate">args</code> as strings and therefore never required deserialization:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{'celery@worker1': [{'id': 'f12b987c-a711-4a8f-8d3c-532e922ebeea', 'name': 'celery_revoke_retry.sleep', 'args': '()', 'kwargs': "{'sleep_arg': <__main__.SleepArg object at 0x7fec3c059e80>}", 'type': 'celery_revoke_retry.sleep', 'hostname': 'celery@worker1', 'time_start': 1625674850.914238, 'acknowledged': True, 'delivery_info': {'exchange': '', 'routing_key': 'celery', 'priority': 0, 'redelivered': None}, 'worker_pid': 29697}]}"><pre class="notranslate"><code class="notranslate">{'celery@worker1': [{'id': 'f12b987c-a711-4a8f-8d3c-532e922ebeea', 'name': 'celery_revoke_retry.sleep', 'args': '()', 'kwargs': "{'sleep_arg': <__main__.SleepArg object at 0x7fec3c059e80>}", 'type': 'celery_revoke_retry.sleep', 'hostname': 'celery@worker1', 'time_start': 1625674850.914238, 'acknowledged': True, 'delivery_info': {'exchange': '', 'routing_key': 'celery', 'priority': 0, 'redelivered': None}, 'worker_pid': 29697}]}
</code></pre></div>
<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d/hovercard" href="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d"><tt>40e2212</tt></a> requires clients to be able to deserialize task arguments. This re-introduces bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="194532272" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3667" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3667/hovercard" href="https://github.com/celery/celery/issues/3667">#3667</a> and makes the<br>
comment of app.control.active no longer accurate:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" no objects will need serialization now that we have argsrepr/kwargsrepr."><pre class="notranslate"><code class="notranslate"> no objects will need serialization now that we have argsrepr/kwargsrepr.
</code></pre></div>
<p dir="auto">The fix for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="194532272" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/3667" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/3667/hovercard" href="https://github.com/celery/celery/issues/3667">#3667</a> specifically states it's required for the payload to be JSON serializable (i.e. not require deserializing pickled task arguments):</p>
<p dir="auto"><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/smartlane/celery/commit/cbe89437fda38ee1a98376d694d9d3028e683b50/hovercard" href="https://github.com/smartlane/celery/commit/cbe89437fda38ee1a98376d694d9d3028e683b50">smartlane@<tt>cbe8943</tt></a>.</p>
<p dir="auto">A reasonable fix would be to add back support for the <code class="notranslate">safe</code> argument to <code class="notranslate">active()</code> to make the v4.3.1 behaviour possible again.</p>
<p dir="auto">Currently (~v5.1.0), querying active tasks when some argument can't be deserialized causes <code class="notranslate">active()</code> to throw kombu.exceptions.DecodeError.</p>
<h2 dir="auto">Required Dependencies</h2>
<ul dir="auto">
<li><strong>Minimal Celery Version</strong>: 4.4.0</li>
</ul>
<h2 dir="auto">Minimally Reproducible Test Case</h2>
<details>
<p dir="auto">
</p><p dir="auto">Query app.control.inspect().active() from a context that cannot deserialize an active task's argument (SleepArg in the example below).</p>
<p dir="auto">This program creates the task and sleeps:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import threading
import time
from celery import Celery
app = Celery('celery_example', broker='redis://localhost:6379/0', backend='redis://localhost:6379/0')
app.conf.update(
worker_concurrency=1,
task_serializer = 'pickle',
accept_content = ['pickle'],
result_serializer = 'pickle',
)
class SleepArg:
def __init__(self, sleep_time) -> None:
self.sleep_time = sleep_time
@app.task
def sleep(sleep_arg: SleepArg):
print("running sleep")
time.sleep(sleep_arg.sleep_time)
def main():
argv1 = ['--app=celery_example', 'worker', '--loglevel=DEBUG', '--hostname', 'worker1']
threading.Thread(target=app.worker_main, args=(argv1,)).start()
time.sleep(5)
print('Celery Worker1 should be up now')
sleep.s(sleep_arg=SleepArg(60)).apply_async().get(disable_sync_subtasks=False)
if __name__ == '__main__':
main()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">threading</span>
<span class="pl-k">import</span> <span class="pl-s1">time</span>
<span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>
<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">'celery_example'</span>, <span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379/0'</span>, <span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379/0'</span>)
<span class="pl-s1">app</span>.<span class="pl-s1">conf</span>.<span class="pl-en">update</span>(
<span class="pl-s1">worker_concurrency</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
<span class="pl-s1">task_serializer</span> <span class="pl-c1">=</span> <span class="pl-s">'pickle'</span>,
<span class="pl-s1">accept_content</span> <span class="pl-c1">=</span> [<span class="pl-s">'pickle'</span>],
<span class="pl-s1">result_serializer</span> <span class="pl-c1">=</span> <span class="pl-s">'pickle'</span>,
)
<span class="pl-k">class</span> <span class="pl-v">SleepArg</span>:
<span class="pl-k">def</span> <span class="pl-en">__init__</span>(<span class="pl-s1">self</span>, <span class="pl-s1">sleep_time</span>) <span class="pl-c1">-></span> <span class="pl-c1">None</span>:
<span class="pl-s1">self</span>.<span class="pl-s1">sleep_time</span> <span class="pl-c1">=</span> <span class="pl-s1">sleep_time</span>
<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-s1">task</span></span>
<span class="pl-k">def</span> <span class="pl-en">sleep</span>(<span class="pl-s1">sleep_arg</span>: <span class="pl-v">SleepArg</span>):
<span class="pl-en">print</span>(<span class="pl-s">"running sleep"</span>)
<span class="pl-s1">time</span>.<span class="pl-en">sleep</span>(<span class="pl-s1">sleep_arg</span>.<span class="pl-s1">sleep_time</span>)
<span class="pl-k">def</span> <span class="pl-en">main</span>():
<span class="pl-s1">argv1</span> <span class="pl-c1">=</span> [<span class="pl-s">'--app=celery_example'</span>, <span class="pl-s">'worker'</span>, <span class="pl-s">'--loglevel=DEBUG'</span>, <span class="pl-s">'--hostname'</span>, <span class="pl-s">'worker1'</span>]
<span class="pl-s1">threading</span>.<span class="pl-v">Thread</span>(<span class="pl-s1">target</span><span class="pl-c1">=</span><span class="pl-s1">app</span>.<span class="pl-s1">worker_main</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span>(<span class="pl-s1">argv1</span>,)).<span class="pl-en">start</span>()
<span class="pl-s1">time</span>.<span class="pl-en">sleep</span>(<span class="pl-c1">5</span>)
<span class="pl-en">print</span>(<span class="pl-s">'Celery Worker1 should be up now'</span>)
<span class="pl-s1">sleep</span>.<span class="pl-en">s</span>(<span class="pl-s1">sleep_arg</span><span class="pl-c1">=</span><span class="pl-v">SleepArg</span>(<span class="pl-c1">60</span>)).<span class="pl-en">apply_async</span>().<span class="pl-en">get</span>(<span class="pl-s1">disable_sync_subtasks</span><span class="pl-c1">=</span><span class="pl-c1">False</span>)
<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
<span class="pl-en">main</span>()</pre></div>
<p dir="auto">This program attempts to query active tasks, which fails because it can't deserialize <code class="notranslate">SleepArg</code>:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from celery import Celery
if __name__ == '__main__':
app = app = Celery(broker='redis://localhost:6379/0', backend='redis://localhost:6379/0')
app.conf.update(
worker_concurrency=1,
task_serializer = 'pickle',
accept_content = ['pickle', 'json'],
)
print(app.control.inspect(timeout=4).active())"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>
<span class="pl-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-c1">=</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379/0'</span>, <span class="pl-s1">backend</span><span class="pl-c1">=</span><span class="pl-s">'redis://localhost:6379/0'</span>)
<span class="pl-s1">app</span>.<span class="pl-s1">conf</span>.<span class="pl-en">update</span>(
<span class="pl-s1">worker_concurrency</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
<span class="pl-s1">task_serializer</span> <span class="pl-c1">=</span> <span class="pl-s">'pickle'</span>,
<span class="pl-s1">accept_content</span> <span class="pl-c1">=</span> [<span class="pl-s">'pickle'</span>, <span class="pl-s">'json'</span>],
)
<span class="pl-en">print</span>(<span class="pl-s1">app</span>.<span class="pl-s1">control</span>.<span class="pl-en">inspect</span>(<span class="pl-s1">timeout</span><span class="pl-c1">=</span><span class="pl-c1">4</span>).<span class="pl-en">active</span>())</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">It should be possible to query active tasks from contexts that can't necessarily de-serialize task arguments. There is lots of useful information in the active query beyond the task arguments.</p>
<p dir="auto">Historically, Celery offered the <code class="notranslate">safe</code> argument to <code class="notranslate">active()</code>, but this was dropped in favour of preventing data from requiring<br>
deserialization from being in the response. <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d/hovercard" href="https://github.com/celery/celery/commit/40e2212208eafab8192162b241b8e3632ab2665d"><tt>40e2212</tt></a> breaks this.</p>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">The program that queries active tasks hits the following exception.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 42, in _reraise_errors
yield
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 327, in unpickle
return pickle_loads(str_to_bytes(s))
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 51, in pickle_loads
return load(BytesIO(s))
AttributeError: Can't get attribute 'SleepArg' on <module '__main__' from '../firex_ws/plugins/celery_list_active.py'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "../firex_ws/plugins/celery_list_active.py", line 10, in <module>
print(app.control.inspect(timeout=4).active())
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 149, in active
return self._request('active')
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 106, in _request
return self._prepare(self.app.control.broadcast(
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 741, in broadcast
return self.mailbox(conn)._broadcast(
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/pidbox.py", line 347, in _broadcast
return self._collect(reply_ticket, limit=limit,
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/pidbox.py", line 389, in _collect
self.connection.drain_events(timeout=timeout)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/connection.py", line 318, in drain_events
return self.transport.drain_events(self.connection, **kwargs)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 960, in drain_events
get(self._deliver, timeout=timeout)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 420, in get
ret = self.handle_event(fileno, event)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 402, in handle_event
return self.on_readable(fileno), self
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 398, in on_readable
chan.handlers[type]()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 789, in _brpop_read
self.connection._deliver(loads(bytes_to_str(item)), dest)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 980, in _deliver
callback(message)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 630, in _callback
return callback(message)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/messaging.py", line 620, in _receive_callback
decoded = None if on_m else message.decode()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/message.py", line 190, in decode
self._decoded_cache = self._decode()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/message.py", line 194, in _decode
return loads(self.body, self.content_type,
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/auto/firex/sw/python/3.8.10/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 46, in _reraise_errors
reraise(wrapper, wrapper(exc), sys.exc_info()[2])
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/exceptions.py", line 21, in reraise
raise value.with_traceback(tb)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 42, in _reraise_errors
yield
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 327, in unpickle
return pickle_loads(str_to_bytes(s))
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 51, in pickle_loads
return load(BytesIO(s))
kombu.exceptions.DecodeError: Can't get attribute 'SleepArg' on <module '__main__' from '../firex_ws/plugins/celery_list_active.py'>
"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 42, in _reraise_errors
yield
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 327, in unpickle
return pickle_loads(str_to_bytes(s))
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 51, in pickle_loads
return load(BytesIO(s))
AttributeError: Can't get attribute 'SleepArg' on <module '__main__' from '../firex_ws/plugins/celery_list_active.py'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "../firex_ws/plugins/celery_list_active.py", line 10, in <module>
print(app.control.inspect(timeout=4).active())
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 149, in active
return self._request('active')
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 106, in _request
return self._prepare(self.app.control.broadcast(
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/celery/app/control.py", line 741, in broadcast
return self.mailbox(conn)._broadcast(
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/pidbox.py", line 347, in _broadcast
return self._collect(reply_ticket, limit=limit,
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/pidbox.py", line 389, in _collect
self.connection.drain_events(timeout=timeout)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/connection.py", line 318, in drain_events
return self.transport.drain_events(self.connection, **kwargs)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 960, in drain_events
get(self._deliver, timeout=timeout)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 420, in get
ret = self.handle_event(fileno, event)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 402, in handle_event
return self.on_readable(fileno), self
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 398, in on_readable
chan.handlers[type]()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/redis.py", line 789, in _brpop_read
self.connection._deliver(loads(bytes_to_str(item)), dest)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 980, in _deliver
callback(message)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/transport/virtual/base.py", line 630, in _callback
return callback(message)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/messaging.py", line 620, in _receive_callback
decoded = None if on_m else message.decode()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/message.py", line 190, in decode
self._decoded_cache = self._decode()
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/message.py", line 194, in _decode
return loads(self.body, self.content_type,
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/auto/firex/sw/python/3.8.10/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 46, in _reraise_errors
reraise(wrapper, wrapper(exc), sys.exc_info()[2])
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/exceptions.py", line 21, in reraise
raise value.with_traceback(tb)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 42, in _reraise_errors
yield
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 255, in loads
return decode(data)
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 327, in unpickle
return pickle_loads(str_to_bytes(s))
File "/ws/djungic-sjc/celery_venv/venv/lib/python3.8/site-packages/kombu/serialization.py", line 51, in pickle_loads
return load(BytesIO(s))
kombu.exceptions.DecodeError: Can't get attribute 'SleepArg' on <module '__main__' from '../firex_ws/plugins/celery_list_active.py'>
</code></pre></div> | 0 |
<p dir="auto"><strong>Context:</strong></p>
<ul dir="auto">
<li>GOOD Playwright Version: 1.27.0</li>
<li>BAD Playwright Version: 1.28.0</li>
<li>Operating System: Windows and Linux both tested</li>
<li>Extra: Using the Chromium browser</li>
</ul>
<div class="highlight highlight-source-cs notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var playwright = await Playwright.CreateAsync();
var browser = await playwright.Chromium.LaunchAsync();
await using IBrowserContext context = await browser.NewContextAsync();
var webPage = await context.NewPageAsync();
var response =
await webPage.GotoAsync(
model.Url!,
new PageGotoOptions()
{
Timeout = model.PageLoadTimeout,
WaitUntil = WaitUntilState.Load
});
// Wait for a custom selector to ensure rendering is finished, if provided
await webPage.WaitForSelectorAsync(
model.WaitFor,
new PageWaitForSelectorOptions()
{
State = WaitForSelectorState.Attached
});
return await webPage.PdfAsync(
new PagePdfOptions()
{
DisplayHeaderFooter = model.Pdf?.DisplayHeaderFooter,
Format = model.Pdf?.Format,
Height = model.Pdf?.Height,
Landscape = model.Pdf?.Landscape,
PageRanges = model.Pdf?.PageRanges,
PreferCSSPageSize = model.Pdf?.PreferCssPageSize,
PrintBackground = model.Pdf?.PrintBackground,
Margin = GetMargin(model.Pdf?.Margin),
Scale = model.Pdf?.Scale,
Width = model.Pdf?.Width
});"><pre class="notranslate"> <span class="pl-smi">var</span> <span class="pl-s1">playwright</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> Playwright<span class="pl-kos">.</span><span class="pl-en">CreateAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> playwright<span class="pl-kos">.</span>Chromium<span class="pl-kos">.</span><span class="pl-en">LaunchAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-k">using</span> <span class="pl-smi">IBrowserContext</span> <span class="pl-s1">context</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> browser<span class="pl-kos">.</span><span class="pl-en">NewContextAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">webPage</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> context<span class="pl-kos">.</span><span class="pl-en">NewPageAsync</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">var</span> <span class="pl-s1">response</span> <span class="pl-c1">=</span>
<span class="pl-k">await</span> webPage<span class="pl-kos">.</span><span class="pl-en">GotoAsync</span><span class="pl-kos">(</span>
model<span class="pl-kos">.</span>Url<span class="pl-c1">!</span><span class="pl-kos">,</span>
<span class="pl-k">new</span> PageGotoOptions<span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
<span class="pl-s1">Timeout</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>PageLoadTimeout<span class="pl-kos">,</span>
<span class="pl-s1">WaitUntil</span> <span class="pl-c1">=</span> WaitUntilState<span class="pl-kos">.</span>Load
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// Wait for a custom selector to ensure rendering is finished, if provided</span>
<span class="pl-k">await</span> webPage<span class="pl-kos">.</span><span class="pl-en">WaitForSelectorAsync</span><span class="pl-kos">(</span>
model<span class="pl-kos">.</span>WaitFor<span class="pl-kos">,</span>
<span class="pl-k">new</span> PageWaitForSelectorOptions<span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
<span class="pl-s1">State</span> <span class="pl-c1">=</span> WaitForSelectorState<span class="pl-kos">.</span>Attached
<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">await</span> webPage<span class="pl-kos">.</span><span class="pl-en">PdfAsync</span><span class="pl-kos">(</span>
<span class="pl-k">new</span> PagePdfOptions<span class="pl-kos">(</span><span class="pl-kos">)</span>
<span class="pl-kos">{</span>
<span class="pl-s1">DisplayHeaderFooter</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>DisplayHeaderFooter<span class="pl-kos">,</span>
<span class="pl-s1">Format</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Format<span class="pl-kos">,</span>
<span class="pl-s1">Height</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Height<span class="pl-kos">,</span>
<span class="pl-s1">Landscape</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Landscape<span class="pl-kos">,</span>
<span class="pl-s1">PageRanges</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>PageRanges<span class="pl-kos">,</span>
<span class="pl-s1">PreferCSSPageSize</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>PreferCssPageSize<span class="pl-kos">,</span>
<span class="pl-s1">PrintBackground</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>PrintBackground<span class="pl-kos">,</span>
<span class="pl-s1">Margin</span> <span class="pl-c1">=</span> GetMargin<span class="pl-kos">(</span>model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Margin<span class="pl-kos">)</span><span class="pl-kos">,</span>
<span class="pl-s1">Scale</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Scale<span class="pl-kos">,</span>
<span class="pl-s1">Width</span> <span class="pl-c1">=</span> model<span class="pl-kos">.</span>Pdf<span class="pl-c1">?</span><span class="pl-kos">.</span>Width
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">We are using Playwright to generate PDFs of internal web pages. When we upgraded to 1.28.0, we discovered that pages that rendered into PDFs with multiple pages (tough to determine an exact breaking point, but certainly at 3 PDF pages) started cutting off at the bottom.</p> | <h3 dir="auto">System info</h3>
<ul dir="auto">
<li>Playwright Version: ^1.36.1</li>
<li>Operating System: macOS 13.4.1</li>
<li>Browser: Chromium</li>
<li>Other info: React 17</li>
</ul>
<h3 dir="auto">Source code</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li>
</ul>
<p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p>
<p dir="auto">[https://github.com/your_profile/playwright_issue_title]</p>
<p dir="auto">or</p>
<p dir="auto"><strong>Config file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright-ct.config.ts
import { defineConfig, devices } from '@playwright/experimental-ct-react17';
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './src/pages/ExperimentEditPage/Sections/About/',
/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */
// grep: /spec/,
snapshotDir: './__snapshots__',
/* Maximum time one test can run for. */
timeout: 10 * 1000,
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
/* Port to use for Playwright component endpoint. */
ctPort: 3100,
},
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
});
"><pre class="notranslate"><span class="pl-c">// playwright-ct.config.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">defineConfig</span><span class="pl-kos">,</span> <span class="pl-s1">devices</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/experimental-ct-react17'</span><span class="pl-kos">;</span>
<span class="pl-c">/**</span>
<span class="pl-c"> * See https://playwright.dev/docs/test-configuration.</span>
<span class="pl-c"> */</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">defineConfig</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">testDir</span>: <span class="pl-s">'./src/pages/ExperimentEditPage/Sections/About/'</span><span class="pl-kos">,</span>
<span class="pl-c">/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */</span>
<span class="pl-c">// grep: /spec/,</span>
<span class="pl-c1">snapshotDir</span>: <span class="pl-s">'./__snapshots__'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Maximum time one test can run for. */</span>
<span class="pl-c1">timeout</span>: <span class="pl-c1">10</span> <span class="pl-c1">*</span> <span class="pl-c1">1000</span><span class="pl-kos">,</span>
<span class="pl-c">/* Run tests in files in parallel */</span>
<span class="pl-c1">fullyParallel</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c">/* Fail the build on CI if you accidentally left test.only in the source code. */</span>
<span class="pl-c1">forbidOnly</span>: <span class="pl-c1">!</span><span class="pl-c1">!</span><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span><span class="pl-kos">,</span>
<span class="pl-c">/* Retry on CI only */</span>
<span class="pl-c1">retries</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">2</span> : <span class="pl-c1">0</span><span class="pl-kos">,</span>
<span class="pl-c">/* Opt out of parallel tests on CI. */</span>
<span class="pl-c1">workers</span>: <span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">CI</span> ? <span class="pl-c1">1</span> : <span class="pl-c1">undefined</span><span class="pl-kos">,</span>
<span class="pl-c">/* Reporter to use. See https://playwright.dev/docs/test-reporters */</span>
<span class="pl-c1">reporter</span>: <span class="pl-s">'html'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span>
<span class="pl-c">/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */</span>
<span class="pl-c1">trace</span>: <span class="pl-s">'on-first-retry'</span><span class="pl-kos">,</span>
<span class="pl-c">/* Port to use for Playwright component endpoint. */</span>
<span class="pl-c1">ctPort</span>: <span class="pl-c1">3100</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-c">/* Configure projects for major browsers */</span>
<span class="pl-c1">projects</span>: <span class="pl-kos">[</span>
<span class="pl-kos">{</span>
<span class="pl-c1">name</span>: <span class="pl-s">'chromium'</span><span class="pl-kos">,</span>
<span class="pl-c1">use</span>: <span class="pl-kos">{</span> ...<span class="pl-s1">devices</span><span class="pl-kos">[</span><span class="pl-s">'Desktop Chrome'</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">]</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Test file (self-contained)</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// About.spec.tsx
import React from 'react';
import { test } from '@playwright/experimental-ct-react17';
import About from './About';
test.use({ viewport: { width: 500, height: 500 } });
test('should work', async ({ mount, page }) => {
await page.route('**/request/*', async route => {
const json = { tags: { category: 'GENERAL', name: '' } };
await route.fulfill({ json });
});
const component = await mount(<About />);
});"><pre class="notranslate"><span class="pl-c">// About.spec.tsx</span>
<span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/experimental-ct-react17'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">About</span> <span class="pl-k">from</span> <span class="pl-s">'./About'</span><span class="pl-kos">;</span>
<span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">viewport</span>: <span class="pl-kos">{</span> <span class="pl-c1">width</span>: <span class="pl-c1">500</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">500</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">test</span><span class="pl-kos">(</span><span class="pl-s">'should work'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> mount<span class="pl-kos">,</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">route</span><span class="pl-kos">(</span><span class="pl-s">'**/request/*'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-s1">route</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">const</span> <span class="pl-s1">json</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">tags</span>: <span class="pl-kos">{</span> <span class="pl-c1">category</span>: <span class="pl-s">'GENERAL'</span><span class="pl-kos">,</span> <span class="pl-c1">name</span>: <span class="pl-s">''</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span>
<span class="pl-k">await</span> <span class="pl-s1">route</span><span class="pl-kos">.</span><span class="pl-en">fulfill</span><span class="pl-kos">(</span><span class="pl-kos">{</span> json <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">component</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-en">mount</span><span class="pl-kos">(</span><span class="pl-c1"><</span><span class="pl-ent">About</span> <span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Component file</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// About.tsx
import React from 'react';
import { useQuery } from 'react-query';
import { TagCategories } from '../../../../modules/tag/domain/tag.utils';
import tagQueryClient from '../../../../modules/tag/tag.queryClient';
export default function About() {
useQuery(tagQueryClient.listCategoryTags(TagCategories.GENERAL));
return <></>;
}
"><pre class="notranslate"><span class="pl-c">// About.tsx</span>
<span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">useQuery</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-query'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">TagCategories</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../../../../modules/tag/domain/tag.utils'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-s1">tagQueryClient</span> <span class="pl-k">from</span> <span class="pl-s">'../../../../modules/tag/tag.queryClient'</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">function</span> <span class="pl-v">About</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">useQuery</span><span class="pl-kos">(</span><span class="pl-s1">tagQueryClient</span><span class="pl-kos">.</span><span class="pl-en">listCategoryTags</span><span class="pl-kos">(</span><span class="pl-v">TagCategories</span><span class="pl-kos">.</span><span class="pl-c1">GENERAL</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-c1"><</span><span class="pl-c1">></span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-c1">></span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// playwright/index.tsx
import { beforeMount } from '@playwright/experimental-ct-react17/hooks';
import { QueryClientProvider, QueryClient } from 'react-query';
import React from 'react';
const AppContext = React.createContext(null);
beforeMount(async ({ App, hooksConfig }) => {
return (
<QueryClientProvider client={new QueryClient()}>
<AppContext.Provider value={null}>
<App />
</AppContext.Provider>
</QueryClientProvider>
);
});
"><pre class="notranslate"><span class="pl-c">// playwright/index.tsx</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">beforeMount</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/experimental-ct-react17/hooks'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">QueryClientProvider</span><span class="pl-kos">,</span> <span class="pl-v">QueryClient</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-query'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-v">AppContext</span> <span class="pl-c1">=</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-en">createContext</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-en">beforeMount</span><span class="pl-kos">(</span><span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> App<span class="pl-kos">,</span> hooksConfig <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">QueryClientProvider</span> <span class="pl-c1">client</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-k">new</span> <span class="pl-v">QueryClient</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-v">AppContext</span><span class="pl-kos">.</span><span class="pl-v">Provider</span> <span class="pl-c1">value</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-c1">null</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">App</span> <span class="pl-c1">/</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-v">AppContext</span><span class="pl-kos">.</span><span class="pl-v">Provider</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">QueryClientProvider</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Steps</strong></p>
<ul dir="auto">
<li>run the test</li>
</ul>
<p dir="auto"><strong>Expected</strong></p>
<p dir="auto">In the console where I run the test see "1 passed" green text</p>
<p dir="auto"><strong>Actual</strong></p>
<p dir="auto">In the console where I run the test I see</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Error: ReferenceError: require is not defined
at http://localhost:3100/assets/http-8b81c8aa.js:129045:19
at /Users/elizavetas/Documents/backstage-frontend/plugins/experiment-planner/http:/localhost:3100/assets/http-8b81c8aa.js:129045:19
at mount (/Users/elizavetas/Documents/backstage-frontend/node_modules/@playwright/experimental-ct-core/lib/mount.js:50:35)
at /Users/elizavetas/Documents/backstage-frontend/plugins/experiment-planner/src/pages/ExperimentEditPage/Sections/About/About.spec.tsx:106:27"><pre class="notranslate"><code class="notranslate">Error: ReferenceError: require is not defined
at http://localhost:3100/assets/http-8b81c8aa.js:129045:19
at /Users/elizavetas/Documents/backstage-frontend/plugins/experiment-planner/http:/localhost:3100/assets/http-8b81c8aa.js:129045:19
at mount (/Users/elizavetas/Documents/backstage-frontend/node_modules/@playwright/experimental-ct-core/lib/mount.js:50:35)
at /Users/elizavetas/Documents/backstage-frontend/plugins/experiment-planner/src/pages/ExperimentEditPage/Sections/About/About.spec.tsx:106:27
</code></pre></div>
<p dir="auto">Comment: it works though if instead of a normal request I mock a sample Promise inside the <code class="notranslate">useQuery</code> hook</p> | 0 |
<p dir="auto"><em>Method 1:</em></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" data_frame.to_csv(file_path, sep=self.delimiter, float_format='%.2f',
index=False, line_terminator='\n')
"><pre class="notranslate"><code class="notranslate"> data_frame.to_csv(file_path, sep=self.delimiter, float_format='%.2f',
index=False, line_terminator='\n')
</code></pre></div>
<p dir="auto"><em>Method 2:</em></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" with open(file_path, mode='w', newline='\n') as f:
data_frame.to_csv(f, sep=self.delimiter, float_format='%.2f',
index=False)"><pre class="notranslate"><code class="notranslate"> with open(file_path, mode='w', newline='\n') as f:
data_frame.to_csv(f, sep=self.delimiter, float_format='%.2f',
index=False)
</code></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">I noticed a strange behavior when using <em>pandas.DataFrame.to_csv</em> method on Windows (pandas version 0.20.3). When calling the method using <em>method 1</em> with a file path, it's creating a new file using the \r line terminator, I had to use method two to make it work.</p> | <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="def hex_print(content):
print ' '.join(['{0:02x}'.format(ord(i)) for i in content])
print ' '.join(['{:>2}'.format(repr(i).replace("'", '')) for i in content])
print ' '
import pandas as pd
import tempfile
filename = tempfile.NamedTemporaryFile(delete = False).name
df = pd.DataFrame({'x':[1]})
for sep in ['\n', '\r', '\r\n', 'F']:
print 'with separator: {} ~~~~~~~~~~~~~~~~~~~~~~~~'.format(repr(sep))
df.to_csv(filename, line_terminator = sep)
with open(filename, 'rb') as f:
content = f.read()
print 'file method:'
hex_print(content)
print 'string method:'
hex_print(df.to_csv(line_terminator = sep))
"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">hex_print</span>(<span class="pl-s1">content</span>):
<span class="pl-k">print</span> <span class="pl-s">' '</span>.<span class="pl-en">join</span>([<span class="pl-s">'{0:02x}'</span>.<span class="pl-en">format</span>(<span class="pl-en">ord</span>(<span class="pl-s1">i</span>)) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">content</span>])
<span class="pl-k">print</span> <span class="pl-s">' '</span>.<span class="pl-en">join</span>([<span class="pl-s">'{:>2}'</span>.<span class="pl-en">format</span>(<span class="pl-en">repr</span>(<span class="pl-s1">i</span>).<span class="pl-en">replace</span>(<span class="pl-s">"'"</span>, <span class="pl-s">''</span>)) <span class="pl-k">for</span> <span class="pl-s1">i</span> <span class="pl-c1">in</span> <span class="pl-s1">content</span>])
<span class="pl-k">print</span> <span class="pl-s">' '</span>
<span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span>
<span class="pl-k">import</span> <span class="pl-s1">tempfile</span>
<span class="pl-s1">filename</span> <span class="pl-c1">=</span> <span class="pl-s1">tempfile</span>.<span class="pl-v">NamedTemporaryFile</span>(<span class="pl-s1">delete</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span>).<span class="pl-s1">name</span>
<span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>({<span class="pl-s">'x'</span>:[<span class="pl-c1">1</span>]})
<span class="pl-k">for</span> <span class="pl-s1">sep</span> <span class="pl-c1">in</span> [<span class="pl-s">'<span class="pl-cce">\n</span>'</span>, <span class="pl-s">'<span class="pl-cce">\r</span>'</span>, <span class="pl-s">'<span class="pl-cce">\r</span><span class="pl-cce">\n</span>'</span>, <span class="pl-s">'F'</span>]:
<span class="pl-k">print</span> <span class="pl-s">'with separator: {} ~~~~~~~~~~~~~~~~~~~~~~~~'</span>.<span class="pl-en">format</span>(<span class="pl-en">repr</span>(<span class="pl-s1">sep</span>))
<span class="pl-s1">df</span>.<span class="pl-en">to_csv</span>(<span class="pl-s1">filename</span>, <span class="pl-s1">line_terminator</span> <span class="pl-c1">=</span> <span class="pl-s1">sep</span>)
<span class="pl-k">with</span> <span class="pl-en">open</span>(<span class="pl-s1">filename</span>, <span class="pl-s">'rb'</span>) <span class="pl-k">as</span> <span class="pl-s1">f</span>:
<span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-s1">f</span>.<span class="pl-en">read</span>()
<span class="pl-k">print</span> <span class="pl-s">'file method:'</span>
<span class="pl-en">hex_print</span>(<span class="pl-s1">content</span>)
<span class="pl-k">print</span> <span class="pl-s">'string method:'</span>
<span class="pl-en">hex_print</span>(<span class="pl-s1">df</span>.<span class="pl-en">to_csv</span>(<span class="pl-s1">line_terminator</span> <span class="pl-c1">=</span> <span class="pl-s1">sep</span>))</pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">It seems that the <code class="notranslate">to_csv</code> does not always handle the <code class="notranslate">line_terminator</code> argument correctly. The above code prints out the hexified CSV data produced from several different calls to <code class="notranslate">to_csv</code>. In particular, passing <code class="notranslate">\n</code> in fact produces <code class="notranslate">\r\n</code>, and <code class="notranslate">\r\n</code> becomes <code class="notranslate">\r\r\n</code>. Note also that this only happens when writing to a file, not directly returning the CSV data as a string.</p>
<p dir="auto">However, this seems to be OS-dependent as well -- I have reproduced it on several machines running Windows 7, Python 2.7, and various versions of pandas (including 0.20.1), but on a linux VM, it works as expected.</p>
<p dir="auto">Output of above code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="with separator: '\n' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 0a 30 2c 31 0d 0a
, x \r \n 0 , 1 \r \n
string method:
2c 78 0a 30 2c 31 0a
, x \n 0 , 1 \n
with separator: '\r' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 30 2c 31 0d
, x \r 0 , 1 \r
string method:
2c 78 0d 30 2c 31 0d
, x \r 0 , 1 \r
with separator: '\r\n' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 0d 0a 30 2c 31 0d 0d 0a
, x \r \r \n 0 , 1 \r \r \n
string method:
2c 78 0d 0a 30 2c 31 0d 0a
, x \r \n 0 , 1 \r \n
with separator: 'F' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 46 30 2c 31 46
, x F 0 , 1 F
string method:
2c 78 46 30 2c 31 46
, x F 0 , 1 F
"><pre class="notranslate"><code class="notranslate">with separator: '\n' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 0a 30 2c 31 0d 0a
, x \r \n 0 , 1 \r \n
string method:
2c 78 0a 30 2c 31 0a
, x \n 0 , 1 \n
with separator: '\r' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 30 2c 31 0d
, x \r 0 , 1 \r
string method:
2c 78 0d 30 2c 31 0d
, x \r 0 , 1 \r
with separator: '\r\n' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 0d 0d 0a 30 2c 31 0d 0d 0a
, x \r \r \n 0 , 1 \r \r \n
string method:
2c 78 0d 0a 30 2c 31 0d 0a
, x \r \n 0 , 1 \r \n
with separator: 'F' ~~~~~~~~~~~~~~~~~~~~~~~~
file method:
2c 78 46 30 2c 31 46
, x F 0 , 1 F
string method:
2c 78 46 30 2c 31 46
, x F 0 , 1 F
</code></pre></div>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<h2 dir="auto">INSTALLED VERSIONS</h2>
<p dir="auto">commit: None<br>
python: 2.7.13.final.0<br>
python-bits: 64<br>
OS: Windows<br>
OS-release: 7<br>
machine: AMD64<br>
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel<br>
byteorder: little<br>
LC_ALL: None<br>
LANG: None<br>
LOCALE: None.None</p>
<p dir="auto">pandas: 0.20.1<br>
pytest: None<br>
pip: 9.0.1<br>
setuptools: 35.0.1<br>
Cython: None<br>
numpy: 1.13.1<br>
scipy: None<br>
xarray: None<br>
IPython: 5.3.0<br>
sphinx: 1.5.5<br>
patsy: None<br>
dateutil: 2.6.1<br>
pytz: 2017.2<br>
blosc: None<br>
bottleneck: None<br>
tables: None<br>
numexpr: None<br>
feather: None<br>
matplotlib: 2.0.0<br>
openpyxl: None<br>
xlrd: 1.0.0<br>
xlwt: None<br>
xlsxwriter: 0.9.6<br>
lxml: None<br>
bs4: 4.5.3<br>
html5lib: 0.999999999<br>
sqlalchemy: 1.1.7<br>
pymysql: None<br>
psycopg2: 2.7.1 (dt dec pq3 ext lo64)<br>
jinja2: 2.9.6<br>
s3fs: None<br>
pandas_gbq: None<br>
pandas_datareader: None</p>
</details> | 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">Next.js dynamic imports should work with jest test suites.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">It is failing when we run the test with the following error.<br>
<code class="notranslate">TypeError: require.resolveWeak is not a function</code></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Clone the repo <a href="https://github.com/PrudviGali/nextjs-dynamic-import-test-fail">https://github.com/PrudviGali/nextjs-dynamic-import-test-fail</a></li>
<li>npm install</li>
<li>npm run test</li>
</ol>
<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>6.9.1</td>
</tr>
<tr>
<td>OS</td>
<td>mac OS high sierra</td>
</tr>
<tr>
<td>browser</td>
<td>NA</td>
</tr>
<tr>
<td>etc</td>
<td>NA</td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Console no error</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">React-hot-loader: fatal error caused by ƒ BasicLayout()<br>
no instrumentation found. Please require react-hot-loader before React. More in troubleshooting.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Open the page</li>
<li>Use <code class="notranslate">next/link</code> to jump to other pages</li>
</ol>
<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>v5.0.0</td>
</tr>
<tr>
<td>node</td>
<td>v8.9.0</td>
</tr>
<tr>
<td>OS</td>
<td>macOS High Sierra version 10.13.3</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome/64.0.3282.140</td>
</tr>
</tbody>
</table> | 0 |
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):<br>
No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):<br>
power cycle kubernetes master, reset kubernetes master</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
BUG REPORT</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):<br>
kubectl version<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
kubeadm version<br>
kubeadm version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-alpha.2.421+a6bea3d79b8bba", GitCommit:"a6bea3d79b8bbaa5e8b57482c9fff9265d402708", GitTreeState:"clean", BuildDate:"2016-11-03T06:54:50Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: x86_64</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):ubuntu 16.04 LTS</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):Linux ubuntu-2 4.4.0-31-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35429713" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/50" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/50/hovercard" href="https://github.com/kubernetes/kubernetes/issues/50">#50</a>-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</li>
<li><strong>Install tools</strong>: kubeadm</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
Before power cycle the master:<br>
kubectl get nodes<br>
NAME STATUS AGE<br>
ubunbu-3 Ready 10h<br>
ubuntu-2 Ready 1d<br>
ubuntu-4 Ready 26m</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
After power cycle the master node:<br>
kubectl get nodes<br>
NAME STATUS AGE<br>
ubunbu-3 Ready 10h<br>
ubuntu-2 Ready 1d<br>
ubuntu-4 Ready 26m</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<ol dir="auto">
<li>kubectl get nodes on master, it should show all the clusters including the master</li>
<li>power cycle the master node</li>
<li>kubectl get nodes on master</li>
<li>the cluster nodes disappeared<br>
<strong>Anything else do we need to know</strong>:</li>
</ol> | <p dir="auto">We recently switched GKE's master node to GCI image, but not GCE master node. This discrepancy causes a lot of issues for us, especially some prs merged might work on GCE, but totally break GKE. We should get rid of that difference.</p>
<p dir="auto">cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/roberthbailey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/roberthbailey">@roberthbailey</a> <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="1694331" data-permission-text="Team members are private" data-url="/orgs/kubernetes/teams/goog-gke/members" data-hovercard-type="team" data-hovercard-url="/orgs/kubernetes/teams/goog-gke/hovercard" href="https://github.com/orgs/kubernetes/teams/goog-gke">@kubernetes/goog-gke</a> @kubernetes/goog-node <a class="team-mention js-team-mention notranslate" data-error-text="Failed to load team members" data-id="2015565" data-permission-text="Team members are private" data-url="/orgs/kubernetes/teams/goog-image/members" data-hovercard-type="team" data-hovercard-url="/orgs/kubernetes/teams/goog-image/hovercard" href="https://github.com/orgs/kubernetes/teams/goog-image">@kubernetes/goog-image</a></p> | 0 |
<h4 dir="auto">Description</h4>
<p dir="auto">Hi,</p>
<p dir="auto">I am trying to use the sklearn.mixture.GaussianMixture for clustering purpose. I read from the clustering comparison page: <a href="https://scikit-learn.org/stable/modules/clustering.html" rel="nofollow">https://scikit-learn.org/stable/modules/clustering.html</a> that Gaussian Mixture does not require scaling for each variable to have unit variance before fitting the model. That makes sense to me because it is using Mahalanobis Distance to center.</p>
<p dir="auto">However, I found some conflict results when I tried some toy problems. I generated two clusters of data from bivariate normal distributions and put them together, hoping the GaussianMixture will be able to separate them in return.</p>
<p dir="auto">My generated data:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44034333/61408831-f46beb80-a8ae-11e9-9e2f-623c7c31ecca.png"><img src="https://user-images.githubusercontent.com/44034333/61408831-f46beb80-a8ae-11e9-9e2f-623c7c31ecca.png" alt="generated" style="max-width: 100%;"></a></p>
<p dir="auto">the data has larger variance along one axis than the other</p>
<p dir="auto">Using GaussianMixture without scaling:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44034333/61409151-a0153b80-a8af-11e9-88e9-25c18bec2b26.png"><img src="https://user-images.githubusercontent.com/44034333/61409151-a0153b80-a8af-11e9-88e9-25c18bec2b26.png" alt="unscaled" style="max-width: 100%;"></a></p>
<p dir="auto">Using GaussianMixture with sklearn.preprocessing.scale():<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/44034333/61409173-ab686700-a8af-11e9-886a-59b520dfd05c.png"><img src="https://user-images.githubusercontent.com/44034333/61409173-ab686700-a8af-11e9-886a-59b520dfd05c.png" alt="scaled" style="max-width: 100%;"></a></p>
<p dir="auto">It looks like it is the scaled one that catches the data feature. Please kindly help. Is it necessary to scale attributes before applying Gaussian Mixture.</p>
<p dir="auto">Thanks!</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">mu = np.array([0,0])<br>
cov = np.array([[10,0],[0,1000]])<br>
data1 = np.random.multivariate_normal(mu,cov,5000)</p>
<p dir="auto">mu = np.array([mean_diff,0])<br>
cov = np.array([[10,0],[0,1000]])<br>
data2 = np.random.multivariate_normal(mu,cov,5000)</p>
<p dir="auto">data = np.concatenate((data1,data2),axis=0)</p>
<p dir="auto">gmm_model = gmm(2,'full')<br>
#data = preprocessing.scale(data)<br>
clusters = gmm_model.fit_predict(data)</p>
<h4 dir="auto">Expected Results</h4>
<h4 dir="auto">Actual Results</h4>
<h4 dir="auto">Versions</h4>
<p dir="auto">scikit-learn = 0.21.2:<br>
Linux-4.15.0-54-generic-x86_64-with-debian-buster-sid<br>
Python 3.7</p> | <p dir="auto">I think these should be documented in the quick start guide: <a href="http://scikit-learn.org/dev/tutorial/basic/tutorial.html" rel="nofollow">http://scikit-learn.org/dev/tutorial/basic/tutorial.html</a></p> | 0 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<ul dir="auto">
<li>behavior<br>
When using webapck5 persistent cache on gitlab Ci, it will report "${old path} / package.json invalidated because hashes different (6659fb289dbe3f4ff4d0f5bee22a6e8a! = 41c5ea20b50ed6ff92c1d79510fc1f9a)" ${old path} is the path of the last package. Obviously, webpack 5 compares the package of the old directory when restoring the cache JSON instead of the package. Of the new directory json. After I fix the directory, the cache is valid. I think persistent cache is better than package JSON should compare the current directory instead of the last packaged directory.</li>
<li>logs<br>
[webpack.cache.PackFileCacheStrategy] restore cache container: 93.993068 ms<br>
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] /home/gitlab-runner/builds/oH9a6sGM/1/we-work-frontend/we-work-webapp-new/package.json invalidated because hashes differ (6659fb289dbe3f4ff4d0f5bee22a6e8a != 41c5ea20b50ed6ff92c1d79510fc1f9a)<br>
[webpack.cache.PackFileCacheStrategy] Restored pack from /home/gitlab-runner/cache/custom-cjh-test/v5Cache/prod-cache.pack, but build dependencies have changed.<br>
[webpack.cache.PackFileCacheStrategy] resolving of build dependencies is invalid, will re-resolve build dependencies<br>
[webpack.cache.PackFileCacheStrategy] check build dependencies: 591.095263 ms<br>
Browserslist: caniuse-lite is outdated. Please run the following command: <code class="notranslate">npx browserslist --update-db</code></li>
</ul>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br>
Package programs in different folders and use the same cache</p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
Even if the package directory is changed, the cache is still valid because the same pack is used</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 5.61.0<br>
Node.js version: 14.18<br>
Operating System: unbantu<br>
Additional tools: gitlab:14.3.0<br>
Additional tools:</p> | <p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">I have 2 named items in my config to create dll bundles. The first one is intended as the base references for the whole site and I am including that on my main layout.html page. The 2nd one is only meant for a separate page and should be dynamically loaded by webpack. The issue is that I get an error when loading layout.html stating ....Uncaught ReferenceError: [the 2nd dll name] is not defined</p>
<p dir="auto">I believe this is what issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301779833" data-permission-text="Title is private" data-url="https://github.com/webpack/webpack/issues/6656" data-hovercard-type="issue" data-hovercard-url="/webpack/webpack/issues/6656/hovercard" href="https://github.com/webpack/webpack/issues/6656">#6656</a> was trying to say as well.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">Here is an example entry for the dll config<br>
<code class="notranslate">entry: { base: [ 'bootstrap', ], jqueryui: ['jquery-ui/ui/widgets/draggable'] }, </code></p>
<p dir="auto">and loaded into the main configuration like so...<br>
new webpack.DllReferencePlugin({<br>
context: __dirname,<br>
manifest: require('./dist/dll/base.json')<br>
}),</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" new webpack.DllReferencePlugin({
context: process.cwd(),
manifest: require('./dist/dll/jqueryui.json')
}),"><pre class="notranslate"><code class="notranslate"> new webpack.DllReferencePlugin({
context: process.cwd(),
manifest: require('./dist/dll/jqueryui.json')
}),
</code></pre></div>
<p dir="auto">layout.html includes...</p>
<script src="/dist/dll/base.dll.js"></script>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">loading layout.html does not require jqueryui.dll to be loaded as well. This is wasteful as it is not needed on this page. If I do load jqueryui.dll in layout.html it does not throw the error.</p>
<p dir="auto">Dynamically load the dll into the page that it requires only. Do not throw an error if all dlls are not included.</p>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: 4.18.1<br>
Node.js version: 8.12.0<br>
Operating System: Win 10<br>
Additional tools:</p> | 0 |
<p dir="auto">This is more of a FYI kind of issue.</p>
<p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong><br>
When making a request via Axios, if an error is caught and logged as-is, it will contain the entire request object which contains headers which can include credentials such as API keys.<br>
If someone isn't aware of this and just logs the entire error object or error.toJSON() without sanitising it, they can leak sensitive data and credentials.</p>
<p dir="auto"><strong>Describe the solution you'd like</strong><br>
A config option to not append the request object to thrown errors and keep only the standard error properties from the spec <a href="https://nodejs.org/api/errors.html#errors_class_error" rel="nofollow">https://nodejs.org/api/errors.html#errors_class_error</a></p>
<p dir="auto"><strong>Describe alternatives you've considered</strong><br>
I've worked around this by creating a new error object and only copying the standard error properties and the response status to the new error and throwing that instead.</p> | <p dir="auto"><strong>Is your feature request related to a problem? Please describe.</strong><br>
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]</p>
<p dir="auto">Errors thrown by axios have the full request body (and response body if a response was received before the error was thrown). The shape of errors thrown by axios is shown here: <a href="https://github.com/axios/axios/blob/master/index.d.ts#L82">https://github.com/axios/axios/blob/master/index.d.ts#L82</a></p>
<p dir="auto">There's no doubt that having this information can be incredibly useful. Especially if using interceptors to do retries or otherwise respond to errors, having access to the original request is incredibly useful.</p>
<p dir="auto">Unfortunately, this also means that if the original request contained sensitive content, that sensitive content is now on the error being thrown / rejected. This puts the onus on the developer to remember to properly cleanse the error before allowing it to be thrown or logged. And this certainly doesn't always happen. I cringe a little bit thinking about all the usernames / passwords that are being logged to browser consoles around the world when login requests fail, for example.</p>
<p dir="auto"><strong>Describe the solution you'd like</strong><br>
A clear and concise description of what you want to happen.</p>
<p dir="auto">I'm a big believer in doing the safe thing by default, and allowing that behavior to be overridden intentionally by developers if so desired. What I would prefer here is that axios automatically cleanse the error of the request and response content by default, but allow the developer to pass in a flag to override this behavior.</p>
<p dir="auto">One possible way this could be achieved is by adding a final response interceptor at the end of any user defined interceptors, that essentially just looks like so</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ax.interceptors.response.use(
(response) => response,
(error) => Promise.reject(new Error(error.message))
);"><pre class="notranslate"><span class="pl-s1">ax</span><span class="pl-kos">.</span><span class="pl-c1">interceptors</span><span class="pl-kos">.</span><span class="pl-c1">response</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span>
<span class="pl-kos">(</span><span class="pl-s1">response</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-s1">response</span><span class="pl-kos">,</span>
<span class="pl-kos">(</span><span class="pl-s1">error</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-smi">Promise</span><span class="pl-kos">.</span><span class="pl-en">reject</span><span class="pl-kos">(</span><span class="pl-k">new</span> <span class="pl-smi">Error</span><span class="pl-kos">(</span><span class="pl-s1">error</span><span class="pl-kos">.</span><span class="pl-c1">message</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">This interceptor could be disabled by the configuration flag.</p>
<p dir="auto">I believe this would allow developers to utilize the full error object as it is today in any interceptors they define, but would prevent the final error from containing any sensitive content by default.</p>
<p dir="auto"><strong>Describe alternatives you've considered</strong><br>
A clear and concise description of any alternative solutions or features you've considered.</p>
<p dir="auto">The proposed solution is a breaking change. As an alternative, we could keep the existing behavior as the default, and allow a flag to enable the "clean" errors functionality described above. This would at least allow developers an easy way to make sure any errors are sensitive content free. But it still requires the developer to know about the flag and set it to be safe.</p>
<p dir="auto"><strong>Additional context</strong><br>
Add any other context or screenshots about the feature request here.</p> | 1 |
<p dir="auto">[X] bug report</p>
<p dir="auto">Using Beta 10 I get the following errors (some of them several times) when compiling my project:</p>
<p dir="auto">node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(9,44): error TS2304: Cannot find name 'ZoneSpec'.<br>
node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(30,28): error TS2304: Cannot find name 'ZoneDelegate'.<br>
node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(30,51): error TS2304: Cannot find name 'Zone'.<br>
node_modules/angular2/src/core/zone/ng_zone_impl.d.ts(32,82): error TS2304: Cannot find name 'HasTaskState'.</p>
<p dir="auto">I also tried the 5 minute quickstart, changing beta 9 to beta 10 and get the same errors.</p>
<p dir="auto">This is on Windows 10 node 5.9.0, typescript 1.8.7</p> | <p dir="auto">I'm submitting a bug report.</p>
<p dir="auto">Error :<br>
So many build errors like the below,</p>
<p dir="auto">``Error Build:Duplicate identifier 'backdrop'. ..\typings\browser\ambient\bootstrap\index.d.ts 11<code class="notranslate"> </code></p>
<p dir="auto">Below are the package configuration. I am using Visual Studio Enterprise Edition with update 3.</p>
<p dir="auto">package.json</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"name": "xxx",
"version": "1.0.0",
"description": "",
"scripts": {
"postinstall": "typings install",
"typings": "typings"
},
"license": "ISC",
"devDependencies": {
"typescript": "^1.8.10",
"typings": "^1.0.4"
},
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0",
"systemjs": "0.19.27",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"zone.js": "^0.6.12",
"bootstrap": "^3.3.6",
"jquery": "^3.0.0",
"angular2-in-memory-web-api": "0.0.9",
"ag-grid": "6.0.1",
"ag-grid-ng2": "6.0.2"
}
}
"><pre class="notranslate"><code class="notranslate">{
"name": "xxx",
"version": "1.0.0",
"description": "",
"scripts": {
"postinstall": "typings install",
"typings": "typings"
},
"license": "ISC",
"devDependencies": {
"typescript": "^1.8.10",
"typings": "^1.0.4"
},
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0",
"systemjs": "0.19.27",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"zone.js": "^0.6.12",
"bootstrap": "^3.3.6",
"jquery": "^3.0.0",
"angular2-in-memory-web-api": "0.0.9",
"ag-grid": "6.0.1",
"ag-grid-ng2": "6.0.2"
}
}
</code></pre></div>
<p dir="auto"><strong>typings.json</strong></p>
<p dir="auto">{<br>
"ambientDependencies": {<br>
"bootstrap": "github:DefinitelyTyped/DefinitelyTyped/bootstrap/bootstrap.d.ts#56295f5058cac7ae458540423c50ac2dcf9fc711",<br>
"jquery": "github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#56295f5058cac7ae458540423c50ac2dcf9fc711",<br>
"TypeLite": "file:scripts/TypeLite.Net4.d.ts",<br>
"core-js": "registry:dt/core-js#0.0.0+20160602141332"<br>
}<br>
}</p>
<p dir="auto"><strong>tsconfig.json</strong></p>
<p dir="auto">{<br>
"compileOnSave": true,<br>
"compilerOptions": {<br>
"target": "es5",<br>
"module": "commonjs",<br>
"moduleResolution": "node",<br>
"sourceMap": true,<br>
"emitDecoratorMetadata": true,<br>
"experimentalDecorators": true,<br>
"removeComments": false,<br>
"noImplicitAny": false<br>
},<br>
"exclude": [<br>
"node_modules",<br>
"typings/main",<br>
"typings/main.d.ts",<br>
"Scripts/TypeLite.Net4.d.ts"<br>
]<br>
}</p> | 0 |
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/6754181/71893299-3b0d1500-3171-11ea-8414-b7222c9a5b5e.png"><img src="https://user-images.githubusercontent.com/6754181/71893299-3b0d1500-3171-11ea-8414-b7222c9a5b5e.png" alt="Screenshot 2020-01-07 at 5 14 39 PM" style="max-width: 100%;"></a><br>
Describe what you were doing when the bug occurred:<br>
1.<br>
2.<br>
3.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.3.0-3e0967783</p>
<p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159833<br>
at Map.forEach ()<br>
at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159779)<br>
at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160302)<br>
at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:322998)<br>
at ii (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:59363)<br>
at Sl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:107431)<br>
at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99973)<br>
at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:99898)<br>
at vc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:96672)</p>
<p dir="auto">Component stack: in Sl<br>
in div<br>
in div<br>
in div<br>
in vo<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Qi<br>
in Ve<br>
in nn<br>
in Da<br>
in Yc</p> | <p dir="auto">PLEASE INCLUDE REPRO INSTRUCTIONS AND EXAMPLE CODE</p>
<p dir="auto">I got this error when I click 'Ranked'.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.0.4-3c6a219</p>
<p dir="auto">Call stack: at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11441<br>
at Map.forEach ()<br>
at commitIndex (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11387)<br>
at e.getRankedChartData (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:11:11920)<br>
at _i (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:56:277123)<br>
at Ha (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:55890)<br>
at Xl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:98280)<br>
at Hl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:84255)<br>
at Fl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:81285)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:43:25363</p>
<p dir="auto">Component stack: in _i<br>
in div<br>
in div<br>
in div<br>
in Or<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in Ha<br>
in le<br>
in ve<br>
in ko<br>
in Ul</p> | 1 |
<p dir="auto">[Fail] [k8s.io] NodeProblemDetector [k8s.io] KernelMonitor [It] should generate event when temporary error happens</p>
<p dir="auto"><a href="https://console.cloud.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/26894/kubernetes-pull-build-test-e2e-gce/44457/" rel="nofollow">https://console.cloud.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/26894/kubernetes-pull-build-test-e2e-gce/44457/</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="• Failure [42.980 seconds]
[k8s.io] NodeProblemDetector
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:660
[k8s.io] KernelMonitor
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:660
should generate event when temporary error happens [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/node_problem_detector.go:221
Expected success, but got an error:
<*errors.errorString | 0xc820b9cb30>: {
s: "node condition \"TestCondition\" not found",
}
node condition "TestCondition" not found
"><pre class="notranslate"><code class="notranslate">• Failure [42.980 seconds]
[k8s.io] NodeProblemDetector
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:660
[k8s.io] KernelMonitor
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:660
should generate event when temporary error happens [It]
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/node_problem_detector.go:221
Expected success, but got an error:
<*errors.errorString | 0xc820b9cb30>: {
s: "node condition \"TestCondition\" not found",
}
node condition "TestCondition" not found
</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>.):</p>
<p dir="auto">No, already discussed on sig-auth</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>
<p dir="auto">confirmed issue on sig-auth channel</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto">Depends on interpretation</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto">Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.0", GitCommit:"283137936a498aed572ee22af6774b6fb6e9fd94", GitTreeState:"clean", BuildDate:"2016-07-01T19:26:38Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"darwin/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.4+coreos.0", GitCommit:"be9bf3e842a90537e48361aded2872e389e902e7", GitTreeState:"clean", BuildDate:"2016-08-02T00:54:53Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: CoreOS Vagrant Image</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
</ul>
<p dir="auto">NAME=CoreOS<br>
ID=coreos<br>
VERSION=1122.0.0<br>
VERSION_ID=1122.0.0<br>
BUILD_ID=2016-07-27-0739<br>
PRETTY_NAME="CoreOS 1122.0.0 (MoreOS)"<br>
ANSI_COLOR="1;32"<br>
HOME_URL="<a href="https://coreos.com/" rel="nofollow">https://coreos.com/</a>"<br>
BUG_REPORT_URL="<a href="https://github.com/coreos/bugs/issues">https://github.com/coreos/bugs/issues</a>"</p>
<ul dir="auto">
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li>
</ul>
<p dir="auto">Linux localhost 4.7.0-coreos <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="35192559" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/1" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/1/hovercard" href="https://github.com/kubernetes/kubernetes/issues/1">#1</a> SMP Wed Jul 27 07:30:04 UTC 2016 x86_64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz GenuineIntel GNU/Linux</p>
<ul dir="auto">
<li><strong>Install tools</strong>:</li>
</ul>
<p dir="auto">Vagrant</p>
<ul dir="auto">
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">The claim named in --oidc-groups-claim MUST be list of strings, even if there is only one value. Talking to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ericchiang/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ericchiang">@ericchiang</a> this is by design since its assumed that users will have more then one group.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">The OIDC authenticator should accept either a list of strings or a single string since:</p>
<ol dir="auto">
<li>There is no concept of schema that marks an attribute as single value or multi value in JSON or a JWT</li>
<li>There is no standard for representing groups in a JWT</li>
<li>There is no standard for representing groups in OIDC</li>
</ol>
<p dir="auto">An OIDC should be flexible in how it accepts data.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<ol dir="auto">
<li>Deploy with RBAC enabled</li>
<li>Create a role binding for the group "admin"</li>
<li>Generate a JWT such as the one that does NOT work below</li>
<li>User won't be able to login</li>
<li>Generate a JWT where the role is multi-value</li>
<li>User will be authorized</li>
</ol>
<p dir="auto">Does <em>NOT</em> Work:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"iss": "https://mlb.tremolo.lan:8043/auth/idp/oidc",
"aud": "kubernetes",
"exp": 1474562249,
"jti": "8UgF8is2XOgqPUlExxlsdg",
"iat": 1474562189,
"nbf": 1474562069,
"sub": "mmosley",
"user_role": "admin",
"email": "[email protected]"
}"><pre class="notranslate">{
<span class="pl-ent">"iss"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://mlb.tremolo.lan:8043/auth/idp/oidc<span class="pl-pds">"</span></span>,
<span class="pl-ent">"aud"</span>: <span class="pl-s"><span class="pl-pds">"</span>kubernetes<span class="pl-pds">"</span></span>,
<span class="pl-ent">"exp"</span>: <span class="pl-c1">1474562249</span>,
<span class="pl-ent">"jti"</span>: <span class="pl-s"><span class="pl-pds">"</span>8UgF8is2XOgqPUlExxlsdg<span class="pl-pds">"</span></span>,
<span class="pl-ent">"iat"</span>: <span class="pl-c1">1474562189</span>,
<span class="pl-ent">"nbf"</span>: <span class="pl-c1">1474562069</span>,
<span class="pl-ent">"sub"</span>: <span class="pl-s"><span class="pl-pds">"</span>mmosley<span class="pl-pds">"</span></span>,
<span class="pl-ent">"user_role"</span>: <span class="pl-s"><span class="pl-pds">"</span>admin<span class="pl-pds">"</span></span>,
<span class="pl-ent">"email"</span>: <span class="pl-s"><span class="pl-pds">"</span>[email protected]<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto"><em>DOES</em> Work:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
"iss": "https://mlb.tremolo.lan:8043/auth/idp/oidc",
"aud": "kubernetes",
"exp": 1474564875,
"jti": "3Oo35Su-oXPX3RoUY91xXg",
"iat": 1474564815,
"nbf": 1474564695,
"sub": "mmosley",
"user_role": [
"admin",
"users",
"approvers"
],
"email": "[email protected]"
}"><pre class="notranslate">{
<span class="pl-ent">"iss"</span>: <span class="pl-s"><span class="pl-pds">"</span>https://mlb.tremolo.lan:8043/auth/idp/oidc<span class="pl-pds">"</span></span>,
<span class="pl-ent">"aud"</span>: <span class="pl-s"><span class="pl-pds">"</span>kubernetes<span class="pl-pds">"</span></span>,
<span class="pl-ent">"exp"</span>: <span class="pl-c1">1474564875</span>,
<span class="pl-ent">"jti"</span>: <span class="pl-s"><span class="pl-pds">"</span>3Oo35Su-oXPX3RoUY91xXg<span class="pl-pds">"</span></span>,
<span class="pl-ent">"iat"</span>: <span class="pl-c1">1474564815</span>,
<span class="pl-ent">"nbf"</span>: <span class="pl-c1">1474564695</span>,
<span class="pl-ent">"sub"</span>: <span class="pl-s"><span class="pl-pds">"</span>mmosley<span class="pl-pds">"</span></span>,
<span class="pl-ent">"user_role"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>admin<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>users<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>approvers<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"email"</span>: <span class="pl-s"><span class="pl-pds">"</span>[email protected]<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | 0 |
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/2049" rel="nofollow">http://projects.scipy.org/numpy/ticket/2049</a> on 2012-02-12 by trac user jusic, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a>.</em></p>
<p dir="auto">Hi,</p>
<p dir="auto">I just managed to compile a 64-bit version of latest numpy git-master on Windows 7 Prof. 64-bit and VS2008 Express Edition + PSDK 6.1. I would like to provide some input for "Microsoft Toolchain Support" wiki page (<a href="http://projects.scipy.org/numpy/wiki/MicrosoftToolchainSupport" rel="nofollow">http://projects.scipy.org/numpy/wiki/MicrosoftToolchainSupport</a>), since it's not too specific on how this is done.</p>
<p dir="auto">I installed the following packages:</p>
<ul dir="auto">
<li>"Windows SDK for Windows Server 2008 and .NET Framework 3.5":[[BR]]</li>
<li>download link: <a href="http://www.microsoft.com/download/en/details.aspx?id=24826" rel="nofollow">http://www.microsoft.com/download/en/details.aspx?id=24826</a> [[BR]]</li>
<li>file: 6.0.6001.18000.367-KRMSDK_EN.iso</li>
<li>"Microsoft Visual Studio 2008 Express Edition"[[BR]]</li>
<li>download link: <a href="http://www.microsoft.com/download/en/details.aspx?id=3092" rel="nofollow">http://www.microsoft.com/download/en/details.aspx?id=3092</a> [[BR]]</li>
<li>file: VS2008ExpressENUX1397868.iso</li>
<li>Python 2.7.2 (amd64) + distutils + all that is needed. C:\Python27\ is in %PATH%.</li>
</ul>
<p dir="auto">To make amd64 compilers work, the batch file "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" needs to be fixed on lines 19 and 20 to:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if not exist "%~dp0bin\vcvars64.bat" goto missing
call "%~dp0bin\vcvars64.bat""><pre class="notranslate"><code class="notranslate">if not exist "%~dp0bin\vcvars64.bat" goto missing
call "%~dp0bin\vcvars64.bat"
</code></pre></div>
<p dir="auto">Then, to build numpy install package, open command prompt and cd to numpy-git directory, and run:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
> python setup.py config
> python setup.py build
> python setup.py bdist_wininst"><pre class="notranslate"><code class="notranslate">> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
> python setup.py config
> python setup.py build
> python setup.py bdist_wininst
</code></pre></div>
<p dir="auto">The package seems to work even if I didn't have a Fortran compiler. I had MinGW installed but not in %PATH%.</p>
<p dir="auto">Thanks.</p> | <p dir="auto">It seems that saving large numpy arrays to disk using numpy.save fails silently for very large matrices, example:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [5]: a = np.random.randn(500000000)
In [6]:
In [6]: a
Out[6]:
array([-1.00736353, -2.06696394, 1.46569636, ..., 0.89738222,
-0.06982733, 0.06954417])
In [7]: np.save('a', a)
In [8]: b = np.load('a.npy')
In [9]: b
Out[9]:
array([-1.00736353, -2.06696394, 1.46569636, ..., 0. ,
0. , 0. ])"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">5</span>]: <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-s1">random</span>.<span class="pl-en">randn</span>(<span class="pl-c1">500000000</span>)
<span class="pl-v">In</span> [<span class="pl-c1">6</span>]:
<span class="pl-v">In</span> [<span class="pl-c1">6</span>]: <span class="pl-s1">a</span>
<span class="pl-v">Out</span>[<span class="pl-c1">6</span>]:
<span class="pl-en">array</span>([<span class="pl-c1">-</span><span class="pl-c1">1.00736353</span>, <span class="pl-c1">-</span><span class="pl-c1">2.06696394</span>, <span class="pl-c1">1.46569636</span>, ..., <span class="pl-c1">0.89738222</span>,
<span class="pl-c1">-</span><span class="pl-c1">0.06982733</span>, <span class="pl-c1">0.06954417</span>])
<span class="pl-v">In</span> [<span class="pl-c1">7</span>]: <span class="pl-s1">np</span>.<span class="pl-en">save</span>(<span class="pl-s">'a'</span>, <span class="pl-s1">a</span>)
<span class="pl-v">In</span> [<span class="pl-c1">8</span>]: <span class="pl-s1">b</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">load</span>(<span class="pl-s">'a.npy'</span>)
<span class="pl-v">In</span> [<span class="pl-c1">9</span>]: <span class="pl-s1">b</span>
<span class="pl-v">Out</span>[<span class="pl-c1">9</span>]:
<span class="pl-en">array</span>([<span class="pl-c1">-</span><span class="pl-c1">1.00736353</span>, <span class="pl-c1">-</span><span class="pl-c1">2.06696394</span>, <span class="pl-c1">1.46569636</span>, ..., <span class="pl-c1">0.</span> ,
<span class="pl-c1">0.</span> , <span class="pl-c1">0.</span> ])</pre></div>
<p dir="auto">Note zeros in the end of the matrix that do not exist in a</p>
<p dir="auto">I'm running numpy version 1.6.2:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [11]: np.version.version
Out[11]: '1.6.2'"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">11</span>]: <span class="pl-s1">np</span>.<span class="pl-s1">version</span>.<span class="pl-s1">version</span>
<span class="pl-v">Out</span>[<span class="pl-c1">11</span>]: <span class="pl-s">'1.6.2'</span></pre></div>
<p dir="auto">on python 2.7.3 on Mac os X 10.8.2 if that helps</p> | 0 |
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-target-the-children-of-an-element-using-jquery?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.parent%28%29.css%28%22background-color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23right-well%22%29.children%28%29.css%28%22color%22%2C%20%22green%22%29%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Target the Children of an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0</code>.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
$("#target1").parent().css("background-color", "red");
$("#right-well").children().css("color", "green");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">parent</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"background-color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">children</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"green"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div>
<p dir="auto">I am using FF 41 on Linux Mint. When I run the tests via CTRL+Enter, I get the following screen shot. As you can see, the text for the buttons is green on the right well. The code addition I have is</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$("#left-well").children().css("color", "blue");"><pre class="notranslate"><code class="notranslate">$("#left-well").children().css("color", "blue");
</code></pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/169922/11095728/0ac85a8e-885c-11e5-9547-68c91d676c2d.png"><img src="https://cloud.githubusercontent.com/assets/169922/11095728/0ac85a8e-885c-11e5-9547-68c91d676c2d.png" alt="false-fail" style="max-width: 100%;"></a></p>
<p dir="auto">This has happened on many challenges so far today, but not every time.</p> | <p dir="auto">Hi,<br>
I have correct code in the first five jQuery waypoints. If I press control+enter, it still has multiple red Xs. However, if I press control+enter multiple times, it eventually detects the correct code and passes.</p> | 1 |
<p dir="auto">Should Typography extended while providing extra properties in theme > typography</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When provide extra property in createMuiTheme > typography, it should be able to access in <code class="notranslate">type</code> of <code class="notranslate">Typography</code></p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Not supported</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">em... consider this as a feature request. we should be able to do something like following</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react';
import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
import Typography from 'material-ui/Typography';
import Button from 'material-ui/Button';
function updateTheme() {
return createMuiTheme({
typography: {
content: {
fontFamily:'Roboto Condensed',
fontSize: 14
}
}
});
}
function TypographyTheme() {
return (
<MuiThemeProvider theme={updateTheme}>
<div>
<Typography type="title">{'this is title'}</Typography>
<Typography type="content">{'this is the content'}</Typography>
</div>
</MuiThemeProvider>
);
}
export default TypographyTheme;"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-v">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">MuiThemeProvider</span><span class="pl-kos">,</span> <span class="pl-s1">createMuiTheme</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/styles'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">Typography</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/Typography'</span><span class="pl-kos">;</span>
<span class="pl-k">import</span> <span class="pl-v">Button</span> <span class="pl-k">from</span> <span class="pl-s">'material-ui/Button'</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">updateTheme</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-en">createMuiTheme</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">typography</span>: <span class="pl-kos">{</span>
<span class="pl-c1">content</span>: <span class="pl-kos">{</span>
<span class="pl-c1">fontFamily</span>:<span class="pl-s">'Roboto Condensed'</span><span class="pl-kos">,</span>
<span class="pl-c1">fontSize</span>: <span class="pl-c1">14</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">function</span> <span class="pl-v">TypographyTheme</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span>
<span class="pl-c1"><</span><span class="pl-ent">MuiThemeProvider</span> <span class="pl-c1">theme</span><span class="pl-c1">=</span><span class="pl-kos">{</span><span class="pl-s1">updateTheme</span><span class="pl-kos">}</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">Typography</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"title"</span><span class="pl-c1">></span><span class="pl-kos">{</span><span class="pl-s">'this is title'</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Typography</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-ent">Typography</span> <span class="pl-c1">type</span><span class="pl-c1">=</span><span class="pl-s">"content"</span><span class="pl-c1">></span><span class="pl-kos">{</span><span class="pl-s">'this is the content'</span><span class="pl-kos">}</span><span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">Typography</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">div</span><span class="pl-c1">></span>
<span class="pl-c1"><</span><span class="pl-c1">/</span><span class="pl-ent">MuiThemeProvider</span><span class="pl-c1">></span>
<span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-v">TypographyTheme</span><span class="pl-kos">;</span></pre></div>
<h2 dir="auto">Context</h2>
<p dir="auto">usually people would use <code class="notranslate">Roboto</code> along with <code class="notranslate">Roboto Condensed</code> or <code class="notranslate">Noto</code> to create a Title > Content pair</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.13</td>
</tr>
<tr>
<td>React</td>
<td>16</td>
</tr>
<tr>
<td>browser</td>
<td>n/a</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | <p dir="auto">Enhancement request:</p>
<p dir="auto">The expand/collapse behavior of <a href="http://www.material-ui.com/#/components/list" rel="nofollow">Nested Lists</a> should animate open/closed.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20animate%20nested%20list">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Lists should animate when they expand / collapse.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Lists currently snap to the state, without any visual explanation of what happened. This is comprehendible to most user, but gets disorienting if lists are large.</p> | 0 |
<p dir="auto">If a Task object has a non None value for max_retries, we can't set max_retries to None when raising a retry. The retry method uses None as a default value, so it falls back to the Task's current max_retries value.</p> | <p dir="auto">In the task documentation the max_retries states that a value of None will make the task retry forever <a href="http://celery.readthedocs.org/en/latest/reference/celery.app.task.html#celery.app.task.Task.max_retries" rel="nofollow">http://celery.readthedocs.org/en/latest/reference/celery.app.task.html#celery.app.task.Task.max_retries</a> . However in the Task.retry() code line 635 you do</p>
<p dir="auto">max_retries = self.max_retries if max_retries is None else max_retries</p>
<p dir="auto">max_retries is passed in with a default value of None and it appears you are using that to check if someone called it with a different value. otherwise use old value which will default to 3.</p>
<p dir="auto">What I'm trying to get at here is that it appears that unless someone uses the task decorator to set max_retries to None you can't have the task retry forever. perhaps using a different value to indicate retry forever like -1 is better as changing the function definition might break thing for people.</p> | 1 |
<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>open a file and modify it</li>
<li>revert modification with git (eg: git checkout {file})</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.196.0<br>
<strong>System</strong>: linux 3.13.0-52-generic<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At events.js:141
Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'
at Error (native)
"><pre class="notranslate"><code class="notranslate">At events.js:141
Error: ENOENT: no such file or directory, open '/home/myagoo/dev/workspace/project-eyelo/lib/prolo-eyelo/src/modules/wanDashboard/wanDashboard.controller.js'
at Error (native)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -3:02.5.0 editor:newline (atom-text-editor.editor)
-3:02.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-3:02.3.0 editor:newline (atom-text-editor.editor)
-3:00.3.0 core:backspace (atom-text-editor.editor)
2x -3:00.1.0 core:delete (atom-text-editor.editor)
3x -2:58.9.0 core:backspace (atom-text-editor.editor)
-2:52.6.0 core:save (atom-text-editor.editor)
-2:20.7.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-2:20.7.0 editor:newline (atom-text-editor.editor)
2x -2:16.4.0 core:copy (atom-text-editor.editor)
-2:14.5.0 core:paste (atom-text-editor.editor)
2x -2:14 core:move-right (atom-text-editor.editor)
3x -2:11 core:save (atom-text-editor.editor)
-0:42.2.0 core:backspace (atom-text-editor.editor)
2x -0:41.5.0 core:save (atom-text-editor.editor)
4x -0:11.9.0 core:undo (atom-text-editor.editor)"><pre class="notranslate"><code class="notranslate"> -3:02.5.0 editor:newline (atom-text-editor.editor)
-3:02.3.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-3:02.3.0 editor:newline (atom-text-editor.editor)
-3:00.3.0 core:backspace (atom-text-editor.editor)
2x -3:00.1.0 core:delete (atom-text-editor.editor)
3x -2:58.9.0 core:backspace (atom-text-editor.editor)
-2:52.6.0 core:save (atom-text-editor.editor)
-2:20.7.0 emmet:insert-formatted-line-break-only (atom-text-editor.editor)
-2:20.7.0 editor:newline (atom-text-editor.editor)
2x -2:16.4.0 core:copy (atom-text-editor.editor)
-2:14.5.0 core:paste (atom-text-editor.editor)
2x -2:14 core:move-right (atom-text-editor.editor)
3x -2:11 core:save (atom-text-editor.editor)
-0:42.2.0 core:backspace (atom-text-editor.editor)
2x -0:41.5.0 core:save (atom-text-editor.editor)
4x -0:11.9.0 core:undo (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": {
"followSymlinks": true,
"disabledPackages": [
"linter-jshint",
"merge-conflicts"
],
"autoHideMenuBar": true
},
"editor": {
"showInvisibles": true,
"showIndentGuide": true,
"tabLength": 4,
"invisibles": {}
}
}"><pre class="notranslate">{
<span class="pl-ent">"core"</span>: {
<span class="pl-ent">"followSymlinks"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"disabledPackages"</span>: [
<span class="pl-s"><span class="pl-pds">"</span>linter-jshint<span class="pl-pds">"</span></span>,
<span class="pl-s"><span class="pl-pds">"</span>merge-conflicts<span class="pl-pds">"</span></span>
],
<span class="pl-ent">"autoHideMenuBar"</span>: <span class="pl-c1">true</span>
},
<span class="pl-ent">"editor"</span>: {
<span class="pl-ent">"showInvisibles"</span>: <span class="pl-c1">true</span>,
<span class="pl-ent">"showIndentGuide"</span>: <span class="pl-c1">true</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
angularjs, v0.1.0
atom-beautify, v0.27.0
color-picker, v1.7.0
editorconfig, v1.0.0
emmet, v2.3.8
file-icons, v1.5.5
local-history, v3.1.0
minimap, v4.8.0
project-manager, v1.15.5
react, v0.11.8
# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
angularjs, v0.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
atom<span class="pl-k">-</span>beautify, v0.<span class="pl-ii">27</span>.<span class="pl-ii">0</span>
color<span class="pl-k">-</span>picker, v1.<span class="pl-ii">7</span>.<span class="pl-ii">0</span>
editorconfig, v1.<span class="pl-ii">0</span>.<span class="pl-ii">0</span>
emmet, v2.<span class="pl-ii">3</span>.<span class="pl-ii">8</span>
file<span class="pl-k">-</span>icons, v1.<span class="pl-ii">5</span>.<span class="pl-ii">5</span>
local<span class="pl-k">-</span>history, v3.<span class="pl-ii">1</span>.<span class="pl-ii">0</span>
minimap, v4.<span class="pl-ii">8</span>.<span class="pl-ii">0</span>
project<span class="pl-k">-</span>manager, v1.<span class="pl-ii">15</span>.<span class="pl-ii">5</span>
react, v0.<span class="pl-ii">11</span>.<span class="pl-ii">8</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">Some repro steps that I gathered from the existing issues:</p>
<ol dir="auto">
<li>Have a file open in branch <code class="notranslate">something</code> that doesn't exist in branch <code class="notranslate">atom</code></li>
<li><code class="notranslate">git checkout atom</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="boom" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png">💥</g-emoji><br>
OR</li>
<li>Have a file open in Atom that will be affected by <code class="notranslate">git rebase</code></li>
<li><code class="notranslate">git rebase</code></li>
<li>ENOENT <g-emoji class="g-emoji" alias="-1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png">👎</g-emoji><br>
OR<br>
Just simply rename a file outside of Atom that's currently open inside of Atom.</li>
</ol> | 1 |
<p dir="auto">I don't no this is a bug, but I try to help.</p>
<p dir="auto">`</p><div dir="auto"><br>
................<p dir="auto"></p>
</div>`
<p dir="auto">Using div is not error. But I try using tags p</p>
<p dir="auto">`</p><p dir="auto"><br>
</p><div dir="auto">..........</div><p dir="auto"></p>
<p dir="auto"></p>
`
<p dir="auto">it error template parse: Unexpected closing tag "p".<br>
I using bulma.io</p> | <p dir="auto">If a <code class="notranslate"><p></code> element wraps a child element, for instance <code class="notranslate"><div></code>, an error is returned. <code class="notranslate"><p></code> elements should be able to contain children.</p>
<p dir="auto"><a href="http://plnkr.co/edit/3UCCyL8CoEgti8pTlyee?p=preview" rel="nofollow">Plunker example</a></p>
<p dir="auto"><strong>Component template:</strong><br>
<code class="notranslate"><p><div></div></p></code></p>
<p dir="auto"><strong>Result:</strong><br>
Template Parse Error</p>
<blockquote>
<p dir="auto">Unexpected closing tag "p" ("</p><p dir="auto"></p><div dir="auto"></div>[ERROR ->]<p dir="auto"></p>"): HelloWorld@0:14<p dir="auto"></p>
</blockquote>
<p dir="auto"><strong>Component template:</strong><br>
<code class="notranslate"><div><div></div></div></code></p>
<p dir="auto"><strong>Result:</strong><br>
The parser completes as expected.</p> | 1 |
<h1 dir="auto">Bug report</h1>
<p dir="auto"><strong>What is the current behavior?</strong><br>
Using for example <code class="notranslate">[name].[contenthash].js</code>as the filename in output.filename leads to a compiled bundle where the <code class="notranslate">contenthash</code> gets compiled as a variable instead of a string.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/******/ var href = "" + ({}[chunkId]||chunkId) + "." + __webpack_require__.h ? __webpack_require__.h() : 33a77d7a305d7b86ce61 + ".css";
"><pre class="notranslate"><span class="pl-c">/******/</span> <span class="pl-k">var</span> <span class="pl-s1">href</span> <span class="pl-c1">=</span> <span class="pl-s">""</span> <span class="pl-c1">+</span> <span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">[</span><span class="pl-s1">chunkId</span><span class="pl-kos">]</span><span class="pl-c1">||</span><span class="pl-s1">chunkId</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">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">h</span> ? <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">h</span><span class="pl-kos">(</span><span class="pl-kos">)</span> : <span class="pl-c1">33</span><span class="pl-s1">a77d7a305d7b86ce61</span> <span class="pl-c1">+</span> <span class="pl-s">".css"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">the using a different separator works - <code class="notranslate">[name]-[contenthash].js</code></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong><br>
This occurs randomly - we had this error on different machines - with the same node/yarn etc. versions.</p>
<p dir="auto">Webpack config here -> <a href="https://gist.github.com/FabianHippmann/b122bc99ed10059325720796f0259bad">https://gist.github.com/FabianHippmann/b122bc99ed10059325720796f0259bad</a></p>
<p dir="auto">Bc this also affects the mini-css-plugin i opened an issue there -> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="713043591" data-permission-text="Title is private" data-url="https://github.com/webpack-contrib/mini-css-extract-plugin/issues/596" data-hovercard-type="issue" data-hovercard-url="/webpack-contrib/mini-css-extract-plugin/issues/596/hovercard" href="https://github.com/webpack-contrib/mini-css-extract-plugin/issues/596">webpack-contrib/mini-css-extract-plugin#596</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
<code class="notranslate">contenthash</code>should be compiled as a string.</p>
<p dir="auto">for example:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/******/ var href = "" + ({}[chunkId]||chunkId) + "." + __webpack_require__.h ? __webpack_require__.h() : "33a77d7a305d7b86ce61" + ".css";
"><pre class="notranslate"><span class="pl-c">/******/</span> <span class="pl-k">var</span> <span class="pl-s1">href</span> <span class="pl-c1">=</span> <span class="pl-s">""</span> <span class="pl-c1">+</span> <span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">[</span><span class="pl-s1">chunkId</span><span class="pl-kos">]</span><span class="pl-c1">||</span><span class="pl-s1">chunkId</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">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-c1">h</span> ? <span class="pl-s1">__webpack_require__</span><span class="pl-kos">.</span><span class="pl-en">h</span><span class="pl-kos">(</span><span class="pl-kos">)</span> : <span class="pl-s">"33a77d7a305d7b86ce61"</span> <span class="pl-c1">+</span> <span class="pl-s">".css"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Other relevant information:</strong><br>
webpack version: webpack 5.0.0-rc.3<br>
Node.js version: v12.18.4<br>
Operating System: Ubuntu 20.04<br>
Additional tools:</p> | <p dir="auto">I'm testing out webpack by converting a simple project currently built with browserify.</p>
<p dir="auto">I get the following exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ webpack
.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42
var i = req.indexOf("?");
^
TypeError: Object false has no method 'indexOf'
at DependenciesBlock.splitQuery (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42:14)
at DependenciesBlock.NormalModuleMixin (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:25:26)
at DependenciesBlock.NormalModule (.../node_modules/webpack/lib/NormalModule.js:21:20)
at .../node_modules/webpack/lib/NormalModuleFactory.js:96:7
at Tapable.applyPluginsAsyncWaterfall (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:84:69)
at Tapable.onDoneResolving (.../node_modules/webpack/lib/NormalModuleFactory.js:82:10)
at Tapable.<anonymous> (.../node_modules/webpack/lib/NormalModuleFactory.js:78:22)
at .../node_modules/webpack/node_modules/async/lib/async.js:232:13
at .../node_modules/webpack/node_modules/async/lib/async.js:119:25
at .../node_modules/webpack/node_modules/async/lib/async.js:24:16"><pre class="notranslate"><code class="notranslate">$ webpack
.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42
var i = req.indexOf("?");
^
TypeError: Object false has no method 'indexOf'
at DependenciesBlock.splitQuery (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:42:14)
at DependenciesBlock.NormalModuleMixin (.../node_modules/webpack/node_modules/webpack-core/lib/NormalModuleMixin.js:25:26)
at DependenciesBlock.NormalModule (.../node_modules/webpack/lib/NormalModule.js:21:20)
at .../node_modules/webpack/lib/NormalModuleFactory.js:96:7
at Tapable.applyPluginsAsyncWaterfall (.../node_modules/webpack/node_modules/tapable/lib/Tapable.js:84:69)
at Tapable.onDoneResolving (.../node_modules/webpack/lib/NormalModuleFactory.js:82:10)
at Tapable.<anonymous> (.../node_modules/webpack/lib/NormalModuleFactory.js:78:22)
at .../node_modules/webpack/node_modules/async/lib/async.js:232:13
at .../node_modules/webpack/node_modules/async/lib/async.js:119:25
at .../node_modules/webpack/node_modules/async/lib/async.js:24:16
</code></pre></div>
<p dir="auto">t.js:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="require('levelup');"><pre class="notranslate"><code class="notranslate">require('levelup');
</code></pre></div>
<p dir="auto">webpack.config.js:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module.exports = {
entry: "./t.js",
output: {
filename: "bundle.js"
}
}"><pre class="notranslate"><code class="notranslate">module.exports = {
entry: "./t.js",
output: {
filename: "bundle.js"
}
}
</code></pre></div>
<p dir="auto">package.json:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
"devDependencies": {
"levelup": "~0.18.2",
"webpack": "~1.0.3"
}
}"><pre class="notranslate"><code class="notranslate">{
"devDependencies": {
"levelup": "~0.18.2",
"webpack": "~1.0.3"
}
}
</code></pre></div>
<p dir="auto">I don't know enough about webpack to troubleshoot further.</p> | 0 |
<p dir="auto">The Button's ripple effect used to open a modal remains "pulsing" if I close it using the "esc" key.</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/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Ripple effect should disappear after the modal is closed.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Ripple effect remains</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Actually you can reproduce it with the default sandBox link provided:<br>
<a href="https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app" rel="nofollow">https://codesandbox.io/s/github/mui-org/material-ui/tree/v1-beta/examples/create-react-app</a></p>
<ol dir="auto">
<li>click on the button "Super secret password"</li>
<li>after the modal is opened, enter "esc" and watch the button ripple effect "pulsing"</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">Minor issue, just aesthetic.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.27</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td>Version 63.0.3239.132 (Build officiel) (64 bits)</td>
</tr>
<tr>
<td>OS</td>
<td>Windows 10 Entreprise</td>
</tr>
</tbody>
</table> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">When using a Button to open a Dialog, when the Dialog is closed with either the escape key or clicking outside of it, the Button should look like it did before the click.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">When using a Button to open a dialog, when the Dialog is closed with the escape key, the button displays a ripple effect similar to if it was clicked. This does not happen when the dialog is closed by clicking outside of it.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Using <a href="https://codesandbox.io/s/m48ywqxnkp" rel="nofollow">https://codesandbox.io/s/m48ywqxnkp</a> from the documentation, click the <em>Open Simple Dialog</em> button</li>
<li>When the Dialog appears, press escape to close the dialog</li>
<li>The ripple effect is displayed in the button until something else is clicked</li>
</ol>
<p dir="auto">The alert dialog demo does not seem to have the same behavior: <a href="https://codesandbox.io/s/3vwx0l7kjq" rel="nofollow">https://codesandbox.io/s/3vwx0l7kjq</a></p>
<h2 dir="auto">Context</h2>
<p dir="auto">This does not impact usability, just an aesthetic issue.</p>
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>1.0.0-beta.41</td>
</tr>
<tr>
<td>React</td>
<td>16.3.1</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 65.0.3325.181, Firefox 59.0.2</td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table> | 1 |
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.7.5</p>
<p dir="auto"><strong>Code</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" var reader = new FileReader();
reader.onload = function(evt) {
// console.log(evt.target.result);
debugger;
resolve(evt.target.result);
// resolve(evt.srcElement.result);
};
"><pre class="notranslate"> <span class="pl-k">var</span> <span class="pl-s1">reader</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">FileReader</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">reader</span><span class="pl-kos">.</span><span class="pl-en">onload</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">evt</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-c">// console.log(evt.target.result);</span>
<span class="pl-k">debugger</span><span class="pl-kos">;</span>
<span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s1">evt</span><span class="pl-kos">.</span><span class="pl-c1">target</span><span class="pl-kos">.</span><span class="pl-c1">result</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-c">// resolve(evt.srcElement.result);</span>
<span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expected behavior:</strong><br>
code should pass typescript check</p>
<p dir="auto"><strong>Actual behavior:</strong><br>
the <code class="notranslate">.result</code> fields are being marked as <code class="notranslate">does not exist on EventTarget</code> / <code class="notranslate">Element</code></p> | <p dir="auto">Trying to retrieve the result of a read file/blob via the event passed into the reader's onload/onloadend method results in a type error (Property 'result' does not exist on type 'EventTarget').</p>
<p dir="auto">This is valid JavaScript, which is failing type checking because the EventTarget interface does not have a result property.</p>
<p dir="auto">Examples:</p>
<ul dir="auto">
<li><a href="http://www.typescriptlang.org/Playground#src=var%20reader%3A%20FileReader%20%3D%20new%20FileReader%28%29%3B%0D%0A%0D%0Areader.onload%20%3D%20function%28event%3A%20ProgressEvent%29%20%7B%09%20%20%20%20%0D%0A%20%20%20%20alert%28event.target.result%29%3B%0D%0A%7D%0D%0A%0D%0Areader.readAsText%28new%20Blob%28%5B%22hello%22%2C%20%22world%22%5D%29%29%3B" rel="nofollow">Typescript playground example</a> - Clicking the run button should show an alert with the file data</li>
<li><a href="http://jsfiddle.net/sdz09aob/" rel="nofollow">Jsfiddle example</a></li>
</ul>
<p dir="auto">Workaround: Retrieve the result from the reader object (FileReader.result)</p> | 1 |
<p dir="auto">Hi, I am currently using sublime text with the Origami plugin which allows easily to split/unsplit and move between panes with keyboard shortcuts, some of the features are already available in the last Atom with I am missing some:</p>
<p dir="auto">Already possible:</p>
<ul dir="auto">
<li>split left/right/top/bottom</li>
</ul>
<p dir="auto">Not possible as far as I can tell:</p>
<ul dir="auto">
<li>move to left/right/top/bottom</li>
<li>unsplit left/right/top/bottom (the associated pane tabs will get merged into the current pane)</li>
<li>move active tab to pane left/right/top/bottom</li>
</ul> | <p dir="auto">Splitting panes is easy: I got <code class="notranslate">C-|</code> and <code class="notranslate">C--</code> into my fingers quickly. What's hard for me is unsplits. Currently it looks like I have to <code class="notranslate">M-w</code> until I've closed every tab in the pane, at which point it goes away.</p>
<p dir="auto">The problem for me is that I don't use tabs, and I don't think of files being open in a pane. I think of them as being open in <em>Atom</em> and displayed in a pane when I ask for 'em.</p>
<p dir="auto">When I think about unsplitting I don't connect it to the idea of closing files at all. I'd love it if unsplitting was a pane-level concern like splitting is.</p> | 1 |
<p dir="auto">At the moment the Routing component only supports absolute and domain-relative URLs, e.g.<br>
<code class="notranslate">http://example.org/user-slug/article-slug/comments</code> and<br>
<code class="notranslate">/user-slug/article-slug/comments</code>.</p>
<p dir="auto">But I find it very useful to specify path-relative URLs that depend on the current request path. Lets say the client requests <code class="notranslate">http://example.org/user-slug/article-slug/</code> and I want to generate a link to the comments of the same article.<br>
Currently the resulting link would again duplicate the <code class="notranslate">user-slug</code> and <code class="notranslate">article-slug</code> -> <code class="notranslate">/user-slug/article-slug/comments</code>.<br>
But it could be simplified to <code class="notranslate">comments</code> or <code class="notranslate">./comments</code>.</p>
<p dir="auto">One additional feature that could be implemented is a new twig function (besides <code class="notranslate">url</code> and <code class="notranslate">path</code>) lets call it <code class="notranslate">subpath</code>.<br>
It fetches the variables of the current request, e.g. <code class="notranslate">user-slug</code> and <code class="notranslate">article-slug</code> internally and then generates such a relative URL. The advantage is you don't need to specify the variables of the current request again.<br>
So simply <code class="notranslate">{{ subpath('article_comments') }}</code> is enough for the URL <code class="notranslate">./comments</code>. But you can optionally overwrite some request variables with <code class="notranslate">{{ subpath('article_comments', {'article': 'different-article-slug'} ) }}</code> which would generate <code class="notranslate">../different-article-slug/comments</code> (i.e. same user, but different article).</p>
<p dir="auto">Thinking of it, the twig function is also a quite useful without the path-relative URLs. So these are basically two feature requests.<br>
I already got an idea how to implement this but would like to get your feedback whether one of these features is also useful to others.</p> | <p dir="auto">Some where between Merge to 2.8 and 3.1, someone made changes to TraceEventDispatcher.php file. The sprintf command was removed and replaced with <em>{event}</em> and <em>{listener}</em> in message. Like they are some how going to magically change.</p>
<p dir="auto"><strong>Previous (3.0.9)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" *FILE: ./symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
267 : $this->logger->debug(sprintf('Notified event "%s" to listener "%s".', $eventName, $info['pretty']));"><pre class="notranslate"><code class="notranslate"> *FILE: ./symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
267 : $this->logger->debug(sprintf('Notified event "%s" to listener "%s".', $eventName, $info['pretty']));
</code></pre></div>
<p dir="auto"><strong>Current (3.1.5)</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FILE: ./symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
267 : $this->logger->debug('Notified event "{event}" to listener "{listener}".', array('event' => $eventName, 'listener' => $info['pretty']));"><pre class="notranslate"><code class="notranslate">FILE: ./symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
267 : $this->logger->debug('Notified event "{event}" to listener "{listener}".', array('event' => $eventName, 'listener' => $info['pretty']));
</code></pre></div>
<p dir="auto"><strong>OUTPUT 3.0.9</strong>:<br>
<code class="notranslate">Notified event "kernel.request" to listener "Dst\AuthBundle\EventListener\RequestListener::onKernelRequest".</code></p>
<p dir="auto"><strong>OUTPUT 3.1.5</strong>:<br>
<code class="notranslate">Notified event "{event}" to listener "{listener}".</code></p> | 0 |
<p dir="auto">Hello !<br>
I want to make a automatic screenshot program but I have a annoying EU cookie popup on my screenshot. How i can remove these in Playwright ?</p>
<p dir="auto">I try this solution but it don't work T_T</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const browser = await playwright.firefox.launch({
headless: true,
firefoxUserPrefs: {
"network.cookie.cookieBehavior": 2
}
});"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-k">await</span> <span class="pl-s1">playwright</span><span class="pl-kos">.</span><span class="pl-c1">firefox</span><span class="pl-kos">.</span><span class="pl-en">launch</span><span class="pl-kos">(</span><span class="pl-kos">{</span>
<span class="pl-c1">headless</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span>
<span class="pl-c1">firefoxUserPrefs</span>: <span class="pl-kos">{</span>
<span class="pl-s">"network.cookie.cookieBehavior"</span>: <span class="pl-c1">2</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Thank !</p> | <p dir="auto">0</p>
<p dir="auto">I am working on project where i am taking the screenshot of various web pages. i have used the playwright nodejs package to take screenshot. when i navigate to the required url. web page loaded along with dialog box of accepting cookies in centre . I want to accept the cookies than takes screenshot.</p> | 1 |
<p dir="auto">Curly brackets (as the first line in return) causes "unexpected token" error</p>
<p dir="auto">For example:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="render () {
return (
{/* Comment for my component - This line causes "unexpected token" error */}
<nav>
</nav>"><pre class="notranslate"><code class="notranslate">render () {
return (
{/* Comment for my component - This line causes "unexpected token" error */}
<nav>
</nav>
</code></pre></div> | <p dir="auto">Consider the following:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" const [mouseDown, setMouseDown] = useState(false);
const onMouseDown = useCallback(() => {
setMouseDown(true);
}, []);
const onMouseMove = useCallback(e => { /* ... */ }, []);
const onMouseUp = useCallback(() => {
setMouseDown(false);
}, []);
useEffect(() => {
if (mouseDown) {
document.addEventListener('mousemove', onMouseMove);
document.addEventListener('mouseup', onMouseUp);
return () => {
document.removeEventListener('mousemove', onMouseMove);
document.removeEventListener('mouseup', onMouseUp);
}
}
}, [mouseDown]);"><pre class="notranslate"> <span class="pl-k">const</span> <span class="pl-kos">[</span><span class="pl-s1">mouseDown</span><span class="pl-kos">,</span> <span class="pl-s1">setMouseDown</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-en">useState</span><span class="pl-kos">(</span><span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">onMouseDown</span> <span class="pl-c1">=</span> <span class="pl-en">useCallback</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">setMouseDown</span><span class="pl-kos">(</span><span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">onMouseMove</span> <span class="pl-c1">=</span> <span class="pl-en">useCallback</span><span class="pl-kos">(</span><span class="pl-s1">e</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-c">/* ... */</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">const</span> <span class="pl-s1">onMouseUp</span> <span class="pl-c1">=</span> <span class="pl-en">useCallback</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-s1">setMouseDown</span><span class="pl-kos">(</span><span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">useEffect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">mouseDown</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mousemove'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseMove</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mouseup'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseUp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">removeEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mousemove'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseMove</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">removeEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mouseup'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseUp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">mouseDown</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Above the <code class="notranslate">useEffect()</code> will complain that it didn't receive <code class="notranslate">onMouseMove</code> and <code class="notranslate">onMouseUp</code> in its dependency array and it's correct. But it could be smarter, because they were all defined by <code class="notranslate">useCallback(() => {}, [])</code> meaning they will all remain the same value throughout the lifetime of this component.</p>
<p dir="auto">Given this information I could write</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" useEffect(() => {
if (mouseDown) {
document.addEventListener('mousemove', onMouseMove);
document.addEventListener('mouseup', onMouseUp);
return () => {
document.removeEventListener('mousemove', onMouseMove);
document.removeEventListener('mouseup', onMouseUp);
}
}
}, [mouseDown, onMouseMove, onMouseUp]);"><pre class="notranslate"> <span class="pl-en">useEffect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">mouseDown</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mousemove'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseMove</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">addEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mouseup'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseUp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-k">return</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">removeEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mousemove'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseMove</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">document</span><span class="pl-kos">.</span><span class="pl-en">removeEventListener</span><span class="pl-kos">(</span><span class="pl-s">'mouseup'</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseUp</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span>
<span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">mouseDown</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseMove</span><span class="pl-kos">,</span> <span class="pl-s1">onMouseUp</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">To satisfy the linter and that would work but only because I know they were defined by <code class="notranslate">useCallback(() => {}, [])</code>. If someone were to change the dependency array for <code class="notranslate">onMouseMove</code> or <code class="notranslate">onMouseUp</code> this would now break (the event listeners won't be removed and readded if <code class="notranslate">onMouseMove</code> changes for instance), but the linter will be happy.</p>
<p dir="auto">However if I was able to specify it like I did in the first example it is the same as saying, this works as long as these specific variables don't change, if someone unwittingly changes the dependency array of <code class="notranslate">onMouseMove</code> the linter would shout at them again and they would have to rewrite this into something more flexible.</p>
<p dir="auto">This is similar to the way <code class="notranslate">useCallback</code> doesn't complain about my usage of <code class="notranslate">setMouseDown</code> as it knows it can't change.</p> | 0 |
<h3 dir="auto">Reproducing code example:</h3>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import numpy as np
x, y = np.array([-969100.0]), np.array([-4457000.0])
# This works
"%.4g, %.4g" % (x, y)
# This errors
"{:.4g}, {:.4g}".format(x, y)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-s1">x</span>, <span class="pl-s1">y</span> <span class="pl-c1">=</span> <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">-</span><span class="pl-c1">969100.0</span>]), <span class="pl-s1">np</span>.<span class="pl-en">array</span>([<span class="pl-c1">-</span><span class="pl-c1">4457000.0</span>])
<span class="pl-c"># This works</span>
<span class="pl-s">"%.4g, %.4g"</span> <span class="pl-c1">%</span> (<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)
<span class="pl-c"># This errors</span>
<span class="pl-s">"{:.4g}, {:.4g}"</span>.<span class="pl-en">format</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>)</pre></div>
<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported format string passed to numpy.ndarray.__format__"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported format string passed to numpy.ndarray.__format__
</code></pre></div>
<h3 dir="auto">NumPy/Python version information:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.15.4 3.7.1 (default, Nov 6 2018, 18:45:35)
[Clang 10.0.0 (clang-1000.11.45.5)]"><pre class="notranslate"><code class="notranslate">1.15.4 3.7.1 (default, Nov 6 2018, 18:45:35)
[Clang 10.0.0 (clang-1000.11.45.5)]
</code></pre></div>
<p dir="auto">OS: macOS High Sierra and Linux (Travis CI)</p>
<p dir="auto">This happened when upgrading a codebase using the <a href="https://github.com/asottile/pyupgrade">pyupgrade</a> tool. <code class="notranslate">%g</code> and <code class="notranslate">{:g}</code> work the same for builtin types. Is this a NumPy bug?</p> | <p dir="auto">In many wonderful cases an ndarray can be used in place of a Python float and Just Work.</p>
<p dir="auto">But not in one case:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
n = 1.23
print('{0:.6} AU'.format(n))
n = np.array([1.23, 4.56])
print('{0:.6} AU'.format(n))"><pre class="notranslate"><code class="notranslate">import numpy as np
n = 1.23
print('{0:.6} AU'.format(n))
n = np.array([1.23, 4.56])
print('{0:.6} AU'.format(n))
</code></pre></div>
<p dir="auto">The output of the above code, at least under Python 3.4, is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="1.23 AU
Traceback (most recent call last):
File "tmp9.py", line 7, in <module>
print('{0:.6} AU'.format(n))
TypeError: non-empty format string passed to object.__format__"><pre class="notranslate"><code class="notranslate">1.23 AU
Traceback (most recent call last):
File "tmp9.py", line 7, in <module>
print('{0:.6} AU'.format(n))
TypeError: non-empty format string passed to object.__format__
</code></pre></div>
<p dir="auto">It would be a great convenience if the ndarray grew a <code class="notranslate">__format__()</code> method that understood the tiny mini-language of float formatting, and used the number of digits of precision specified there to make its own call to the standard NumPy vector array formatting. Users could control array appearance on the screen using a Python standard that many programmers already understand.</p> | 1 |
<h4 dir="auto">Describe the bug</h4>
<p dir="auto">When doing model selection on very high-dimensional data using <code class="notranslate">GridSearchCV</code>, I found that when my estimator design has a <code class="notranslate">ColumnTransformer</code> where one of the transformers has a columns spec that is a numpy array of e.g. 50k column names, that <code class="notranslate">GridSearchCV</code> and the embedded joblib <code class="notranslate">Parallel</code> calls consume a great deal of shared memory (/dev/shm) that's proportional to the number of <code class="notranslate">GridSearchCV</code> fits. I always set <code class="notranslate">ColumnTransfomer</code> <code class="notranslate">n_jobs=1</code> in this setup.</p>
<p dir="auto">When troubleshooting, I found that for every fit <code class="notranslate">GridSearchCV</code> is doing, for some reason joblib <code class="notranslate">Parallel</code> is creating a duplicate pickle file of the same column name numpy array in /dev/shm. I realized this by setting <code class="notranslate">JOBLIB_TEMP_FOLDER</code> and seeing all the duplicate pickle files and loading some of them to check. The shared memory usage can add up to many GBs since for e.g. each pickle file might be 4 MB * 5000 fits = 20 GB.</p>
<p dir="auto">What I then found out which is stranger, is that if I instead make the <code class="notranslate">ColumnTransformer</code> columns spec a Python list instead of a numpy array then there isn't any joblib <code class="notranslate">Parallel</code> /dev/shm pickling issue but this causes major <code class="notranslate">GridSearchCV</code> and joblib <code class="notranslate">Parallel</code> performance degradation. I see that each parallel job isn't even using close 100% CPU as if it's spending a lot of time with I/O or overhead. This is not typical at all, in my experience model selection with most model designs in sklearn is very CPU bound with low overhead. So changing the <code class="notranslate">ColumnTransformer</code> column spec dtype for a very large list of column names from a numpy array to Python list with everything else being the exactly same results in a substantial change in <code class="notranslate">GridSearchCV</code> behavior.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">I need to still come up with a minimal example using <code class="notranslate">sklearn.datasets</code> or other public one, does anyone know of any very high-dimensional example dataset that can be imported for use with sklearn?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TODO"><pre class="notranslate"><code class="notranslate">TODO
</code></pre></div>
<h4 dir="auto">Expected Results</h4>
<h4 dir="auto">Actual Results</h4>
<h4 dir="auto">Versions</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="System:
python: 3.8.1 | packaged by conda-forge | (default, Jan 29 2020, 14:55:04) [GCC 7.3.0]
executable: /home/hermidalc/soft/miniconda3/envs/sklearn-workflows/bin/python
machine: Linux-5.5.8-200.fc31.x86_64-x86_64-with-glibc2.10
Python dependencies:
pip: 20.0.2
setuptools: 45.2.0.post20200209
sklearn: 0.22.1
numpy: 1.18.1
scipy: 1.4.1
Cython: None
pandas: 1.0.1
matplotlib: 3.1.3
joblib: 0.14.1
Built with OpenMP: True"><pre class="notranslate"><code class="notranslate">System:
python: 3.8.1 | packaged by conda-forge | (default, Jan 29 2020, 14:55:04) [GCC 7.3.0]
executable: /home/hermidalc/soft/miniconda3/envs/sklearn-workflows/bin/python
machine: Linux-5.5.8-200.fc31.x86_64-x86_64-with-glibc2.10
Python dependencies:
pip: 20.0.2
setuptools: 45.2.0.post20200209
sklearn: 0.22.1
numpy: 1.18.1
scipy: 1.4.1
Cython: None
pandas: 1.0.1
matplotlib: 3.1.3
joblib: 0.14.1
Built with OpenMP: True
</code></pre></div> | <h4 dir="auto">Description</h4>
<p dir="auto">Vising the scikit-learn website using https is not possible and gives an error. Github pages now allows custom domains to use https so this error can be resolved. See <a href="https://blog.github.com/2018-05-01-github-pages-custom-domains-https/">https://blog.github.com/2018-05-01-github-pages-custom-domains-https/</a> on how to set this up.</p>
<h4 dir="auto">Steps/Code to Reproduce</h4>
<p dir="auto">Manually type in "<a href="https://scikit-learn.org" rel="nofollow">https://scikit-learn.org</a>" into a web browser.</p>
<h4 dir="auto">Expected Results</h4>
<p dir="auto">I should be able to visit the website using HTTPS without an error.</p>
<h4 dir="auto">Actual Results</h4>
<p dir="auto">Going to <a href="https://scikit-learn.org" rel="nofollow">https://scikit-learn.org</a> generates the following error page and does not direct me to the scikit learn website (this message's wording comes from Firefox specifically):</p>
<p dir="auto">"""<br>
Your connection is not secure</p>
<p dir="auto">The owner of scikit-learn.org has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.</p>
<p dir="auto">scikit-learn.org uses an invalid security certificate. The certificate is only valid for the following names: *.github.com, github.com, *.github.io, github.io Error code: SSL_ERROR_BAD_CERT_DOMAIN<br>
"""</p>
<p dir="auto">A similar error is shown in Chromium.</p>
<h4 dir="auto">Versions</h4>
<p dir="auto">N/A</p> | 0 |
<p dir="auto">In jax/interpreters/xla.py,<br>
<code class="notranslate">if FLAGS.jax_debug_nans: check_nans(xla_call_p, out_buf)</code><br>
gives me<br>
<code class="notranslate">NameError: name 'out_buf' is not defined</code><br>
when <code class="notranslate">jax_debug_nans</code> is True.</p> | <p dir="auto">Versions 0.1.42+, <code class="notranslate">out_buf</code> referrence before assignment in line 371 of <code class="notranslate">xla.py</code>.</p> | 1 |
<p dir="auto">I am working on an implementation of group convolutions in Keras, after <a href="https://arxiv.org/abs/1602.07576" rel="nofollow">Cohen & Welling 2016</a>. For 2D group-convolutions I've subclassed <code class="notranslate">Conv2D</code> as <code class="notranslate">GroupConv2D</code>, now I want to add 3D group-convolutions, and it makes more sense to subclass <code class="notranslate">Conv</code> as <code class="notranslate">GroupConv</code>, and then subclass that as <code class="notranslate">GroupConv2D</code> and <code class="notranslate">GroupConv3D</code>, as is done with regular convolutions in Keras. However <code class="notranslate">Conv</code> itself is not exported so I can't do that.</p>
<p dir="auto">Is it possible to make <code class="notranslate">Conv</code> public? Or is there perhaps a different way for me to do this without <code class="notranslate">Conv</code> being public? Without using the tensorflow backend I can import it (<code class="notranslate">from keras.layers.convolutional import Conv</code> works but <code class="notranslate">from tensorflow.keras.layers.convolutional import Conv</code> does not), but that seems like a bad idea, or is that fine?</p> | <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
qa_model=Model(input=[question_input, answer_input], output=[similarity_value])
good_output = qa_model([question_input, good_answers])
bad_output = qa_model([question_input, bad_answers])
mergedoutput = merge([good_output, bad_output],mode='concat')
training_model = Model(input=[question_input, good_answer_input, bad_answer_input], output=mergedoutput)
training_model.compile(loss=lambda y_true, y_pred: y_pred, optimizer='adam')
pred=training_model.predict([questions,good_answers,bad_answers])"><pre class="notranslate">...
<span class="pl-s1">qa_model</span><span class="pl-c1">=</span><span class="pl-v">Model</span>(<span class="pl-s1">input</span><span class="pl-c1">=</span>[<span class="pl-s1">question_input</span>, <span class="pl-s1">answer_input</span>], <span class="pl-s1">output</span><span class="pl-c1">=</span>[<span class="pl-s1">similarity_value</span>])
<span class="pl-s1">good_output</span> <span class="pl-c1">=</span> <span class="pl-en">qa_model</span>([<span class="pl-s1">question_input</span>, <span class="pl-s1">good_answers</span>])
<span class="pl-s1">bad_output</span> <span class="pl-c1">=</span> <span class="pl-en">qa_model</span>([<span class="pl-s1">question_input</span>, <span class="pl-s1">bad_answers</span>])
<span class="pl-s1">mergedoutput</span> <span class="pl-c1">=</span> <span class="pl-en">merge</span>([<span class="pl-s1">good_output</span>, <span class="pl-s1">bad_output</span>],<span class="pl-s1">mode</span><span class="pl-c1">=</span><span class="pl-s">'concat'</span>)
<span class="pl-s1">training_model</span> <span class="pl-c1">=</span> <span class="pl-v">Model</span>(<span class="pl-s1">input</span><span class="pl-c1">=</span>[<span class="pl-s1">question_input</span>, <span class="pl-s1">good_answer_input</span>, <span class="pl-s1">bad_answer_input</span>], <span class="pl-s1">output</span><span class="pl-c1">=</span><span class="pl-s1">mergedoutput</span>)
<span class="pl-s1">training_model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-k">lambda</span> <span class="pl-s1">y_true</span>, <span class="pl-s1">y_pred</span>: <span class="pl-s1">y_pred</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s">'adam'</span>)
<span class="pl-s1">pred</span><span class="pl-c1">=</span><span class="pl-s1">training_model</span>.<span class="pl-en">predict</span>([<span class="pl-s1">questions</span>,<span class="pl-s1">good_answers</span>,<span class="pl-s1">bad_answers</span>])</pre></div>
<p dir="auto">It is OK, when i test qa_model alone</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="qa_model.compile(loss=lambda y_true, y_pred: y_pred, optimizer='adam')
pred=qa_model.predict([questions,good_answers])"><pre class="notranslate"><span class="pl-s1">qa_model</span>.<span class="pl-en">compile</span>(<span class="pl-s1">loss</span><span class="pl-c1">=</span><span class="pl-k">lambda</span> <span class="pl-s1">y_true</span>, <span class="pl-s1">y_pred</span>: <span class="pl-s1">y_pred</span>, <span class="pl-s1">optimizer</span><span class="pl-c1">=</span><span class="pl-s">'adam'</span>)
<span class="pl-s1">pred</span><span class="pl-c1">=</span><span class="pl-s1">qa_model</span>.<span class="pl-en">predict</span>([<span class="pl-s1">questions</span>,<span class="pl-s1">good_answers</span>])</pre></div>
<p dir="auto">but something wrong with training_model</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" File "/Users/Documents/sources/insuranceQA-master/rnn.py", line 186, in build_model
training_model = Model(input=[question_input, good_answer_input, bad_answer_input], output=mergedoutput)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/keras/engine/topology.py", line 1571, in __init__
'Keras tensors. Found: ' + str(x))
Exception: Output tensors to a Model must be Keras tensors. Found: Join.0"><pre class="notranslate"> <span class="pl-v">File</span> <span class="pl-s">"/Users/Documents/sources/insuranceQA-master/rnn.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">186</span>, <span class="pl-s1">in</span> <span class="pl-s1">build_model</span>
<span class="pl-s1">training_model</span> <span class="pl-c1">=</span> <span class="pl-v">Model</span>(<span class="pl-s1">input</span><span class="pl-c1">=</span>[<span class="pl-s1">question_input</span>, <span class="pl-s1">good_answer_input</span>, <span class="pl-s1">bad_answer_input</span>], <span class="pl-s1">output</span><span class="pl-c1">=</span><span class="pl-s1">mergedoutput</span>)
<span class="pl-v">File</span> <span class="pl-s">"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/keras/engine/topology.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1571</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span>
<span class="pl-s">'Keras tensors. Found: '</span> <span class="pl-c1">+</span> <span class="pl-en">str</span>(<span class="pl-s1">x</span>))
<span class="pl-v">Exception</span>: <span class="pl-v">Output</span> <span class="pl-s1">tensors</span> <span class="pl-s1">to</span> <span class="pl-s1">a</span> <span class="pl-v">Model</span> <span class="pl-s1">must</span> <span class="pl-s1">be</span> <span class="pl-v">Keras</span> <span class="pl-s1">tensors</span>. <span class="pl-v">Found</span>: <span class="pl-v">Join</span>.<span class="pl-c1">0</span></pre></div>
<p dir="auto">the full description can be found in <a href="https://github.com/fchollet/keras/issues/2704" data-hovercard-type="issue" data-hovercard-url="/keras-team/keras/issues/2704/hovercard">This Page</a></p> | 0 |
<p dir="auto">Hi,</p>
<p dir="auto">Currently it's possible to create and populate fields based on an other one by using Listeners as in sample <a href="http://symfony.com/doc/current/cookbook/form/dynamic_form_modification.html#dynamic-generation-for-submitted-forms" rel="nofollow">http://symfony.com/doc/current/cookbook/form/dynamic_form_modification.html#dynamic-generation-for-submitted-forms</a></p>
<p dir="auto">But I seems to be not possible to make the field depend on multiple fields. For example, I would like to populate a list of available rooms depending on the type of room, start date and end date.</p>
<p dir="auto">I tried by adding the following listener:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$formModifier = function (FormInterface $form, RoomType $roomType = null, \DateTime $startTime = null, \DateTime $endTime = null) {
$roomTypeId = ($roomType !== null) ? $roomType->getId() : null;
$hallConfigurations = $this->entityManager->getRepository('PTCNoventoBundle:HallConfiguration')
->getAllAvailableForCriteria($roomTypeId, $startTime, $endTime);
$form->add('hallConfiguration', 'entity', array(
'label' => 'hall',
'choices' => $hallConfigurations,
'class' => 'PTCNoventoBundle:HallConfiguration',
));
};
$builder->get('roomType')->addEventListener(
FormEvents::POST_SUBMIT,
function (FormEvent $event) use ($formModifier) {
$roomType = $event->getForm()->getData();
$startTime = $event->getForm()->getParent()->getData()->getStartTime(); // <- null
$endTime = $event->getForm()->getParent()->getData()->getEndTime(); // <- null
$formModifier($event->getForm()->getParent(), $roomType, $startTime, $endTime)
}
);"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>formModifier</span> = <span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>, <span class="pl-smi"><span class="pl-smi">RoomType</span></span> <span class="pl-s1"><span class="pl-c1">$</span>roomType</span> = <span class="pl-c1">null</span>, <span class="pl-smi"><span class="pl-smi">\<span class="pl-v">DateTime</span></span></span> <span class="pl-s1"><span class="pl-c1">$</span>startTime</span> = <span class="pl-c1">null</span>, <span class="pl-smi"><span class="pl-smi">\<span class="pl-v">DateTime</span></span></span> <span class="pl-s1"><span class="pl-c1">$</span>endTime</span> = <span class="pl-c1">null</span>) {
<span class="pl-s1"><span class="pl-c1">$</span>roomTypeId</span> = (<span class="pl-s1"><span class="pl-c1">$</span>roomType</span> !== <span class="pl-c1">null</span>) ? <span class="pl-s1"><span class="pl-c1">$</span>roomType</span>-><span class="pl-en">getId</span>() : <span class="pl-c1">null</span>;
<span class="pl-s1"><span class="pl-c1">$</span>hallConfigurations</span> = <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">entityManager</span>-><span class="pl-en">getRepository</span>(<span class="pl-s">'PTCNoventoBundle:HallConfiguration'</span>)
-><span class="pl-en">getAllAvailableForCriteria</span>(<span class="pl-s1"><span class="pl-c1">$</span>roomTypeId</span>, <span class="pl-s1"><span class="pl-c1">$</span>startTime</span>, <span class="pl-s1"><span class="pl-c1">$</span>endTime</span>);
<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">add</span>(<span class="pl-s">'hallConfiguration'</span>, <span class="pl-s">'entity'</span>, <span class="pl-en">array</span>(
<span class="pl-s">'label'</span> => <span class="pl-s">'hall'</span>,
<span class="pl-s">'choices'</span> => <span class="pl-s1"><span class="pl-c1">$</span>hallConfigurations</span>,
<span class="pl-s">'class'</span> => <span class="pl-s">'PTCNoventoBundle:HallConfiguration'</span>,
));
};
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">get</span>(<span class="pl-s">'roomType'</span>)-><span class="pl-en">addEventListener</span>(
<span class="pl-v">FormEvents</span>::<span class="pl-c1">POST_SUBMIT</span>,
<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormEvent</span></span> <span class="pl-s1"><span class="pl-c1">$</span>event</span>) <span class="pl-k">use</span> (<span class="pl-s1"><span class="pl-c1">$</span>formModifier</span>) {
<span class="pl-s1"><span class="pl-c1">$</span>roomType</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">getData</span>();
<span class="pl-s1"><span class="pl-c1">$</span>startTime</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">getParent</span>()-><span class="pl-en">getData</span>()-><span class="pl-en">getStartTime</span>(); <span class="pl-c">// <- null</span>
<span class="pl-s1"><span class="pl-c1">$</span>endTime</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">getParent</span>()-><span class="pl-en">getData</span>()-><span class="pl-en">getEndTime</span>(); <span class="pl-c">// <- null</span>
<span class="pl-s1"><span class="pl-c1">$</span>formModifier</span>(<span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">getParent</span>(), <span class="pl-s1"><span class="pl-c1">$</span>roomType</span>, <span class="pl-s1"><span class="pl-c1">$</span>startTime</span>, <span class="pl-s1"><span class="pl-c1">$</span>endTime</span>)
}
);</pre></div>
<p dir="auto">As you can see <code class="notranslate">$startDate</code> and <code class="notranslate">$endDate</code> are null at this time (not yet bound in the root form, I think). So I also tried to create a <code class="notranslate">POST_SUBMIT</code> listener attached to the root form but I have an error because I can't create new field on <code class="notranslate">POST_SUBMIT</code> at root form level.</p>
<p dir="auto">If I replace the listener on <code class="notranslate">roomType</code> by a listener with <code class="notranslate">SUBMIT</code> EVENT at root level, I get always null in <code class="notranslate">hallConfiguration</code> (because the field was bound before).</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$builder->addEventListener(
FormEvents::SUBMIT,
function (FormEvent $event) use ($formModifier) {
$roomType = $event->getForm()->get('roomType')->getData(); // <- ok - RoomType object
$startTime = $event->getForm()->get('startTime')->getData(); // <- ok - DateTime object
$endTime = $event->getForm()->get('endTime')->getData(); // <- ok - DateTime object
$formModifier($event->getForm(), $roomType, $startTime, $endTime);
$this->logger->info(print_r($event->getData()->getHallConfiguration(), true)); // <- null
}
);"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">addEventListener</span>(
<span class="pl-v">FormEvents</span>::<span class="pl-c1">SUBMIT</span>,
<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormEvent</span></span> <span class="pl-s1"><span class="pl-c1">$</span>event</span>) <span class="pl-k">use</span> (<span class="pl-s1"><span class="pl-c1">$</span>formModifier</span>) {
<span class="pl-s1"><span class="pl-c1">$</span>roomType</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">get</span>(<span class="pl-s">'roomType'</span>)-><span class="pl-en">getData</span>(); <span class="pl-c">// <- ok - RoomType object</span>
<span class="pl-s1"><span class="pl-c1">$</span>startTime</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">get</span>(<span class="pl-s">'startTime'</span>)-><span class="pl-en">getData</span>(); <span class="pl-c">// <- ok - DateTime object</span>
<span class="pl-s1"><span class="pl-c1">$</span>endTime</span> = <span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>()-><span class="pl-en">get</span>(<span class="pl-s">'endTime'</span>)-><span class="pl-en">getData</span>(); <span class="pl-c">// <- ok - DateTime object</span>
<span class="pl-s1"><span class="pl-c1">$</span>formModifier</span>(<span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getForm</span>(), <span class="pl-s1"><span class="pl-c1">$</span>roomType</span>, <span class="pl-s1"><span class="pl-c1">$</span>startTime</span>, <span class="pl-s1"><span class="pl-c1">$</span>endTime</span>);
<span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-><span class="pl-c1">logger</span>-><span class="pl-en">info</span>(print_r(<span class="pl-s1"><span class="pl-c1">$</span>event</span>-><span class="pl-en">getData</span>()-><span class="pl-en">getHallConfiguration</span>(), <span class="pl-c1">true</span>)); <span class="pl-c">// <- null</span>
}
);</pre></div>
<p dir="auto">It would be interesting to be able to support dynamic form with multiple dependent fields as in my sample.</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/webmozart/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/webmozart">@webmozart</a> Any ideas on this possible feature ?</p> | <p dir="auto">We long have the problem of creating fields that depend on the value of other fields now. See also:</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3948579" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3767" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/3767/hovercard" href="https://github.com/symfony/symfony/issues/3767">#3767</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3954416" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/3768" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/3768/hovercard" href="https://github.com/symfony/symfony/pull/3768">#3768</a></li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4993683" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4548" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/4548/hovercard" href="https://github.com/symfony/symfony/pull/4548">#4548</a></li>
</ul>
<p dir="auto">I want to propose a solution that seems feasible from my current point of view.</p>
<p dir="auto">Currently, I can think of two different APIs:</p>
<h5 dir="auto">API 1</h5>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder->addIf(function (FormInterface $form) {
return $form->get('field1')->getData() >= 1
&& !$form->get('field2')->getData();
}, 'myfield', 'text');
$builder->addUnless(function (FormInterface $form) {
return $form->get('field1')->getData() < 1
|| $form->get('field2')->getData();
}, 'myfield', 'text');"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">addIf</span>(<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field1'</span>)-><span class="pl-en">getData</span>() >= <span class="pl-c1">1</span>
&& !<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field2'</span>)-><span class="pl-en">getData</span>();
}, <span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>-><span class="pl-en">addUnless</span>(<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field1'</span>)-><span class="pl-en">getData</span>() < <span class="pl-c1">1</span>
|| <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field2'</span>)-><span class="pl-en">getData</span>();
}, <span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>);</pre></div>
<h5 dir="auto">API 2</h5>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<?php
$builder
->_if(function (FormInterface $form) {
return $form->get('field1')->getData() >= 1
&& !$form->get('field2')->getData();
})
->add('myfield', 'text')
->add('myotherfield', 'text')
->_endif()
;
$builder
->_switch(function (FormInterface $form) {
return $form->get('field1')->getData();
})
->_case('foo')
->_case('bar')
->add('myfield', 'text', array('foo' => 'bar'))
->add('myotherfield', 'text')
->_case('baz')
->add('myfield', 'text', array('foo' => 'baz'))
->_default()
->add('myfield', 'text')
->_endswitch()
;"><pre class="notranslate"><span class="pl-ent"><?php</span>
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>
-><span class="pl-en">_if</span>(<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field1'</span>)-><span class="pl-en">getData</span>() >= <span class="pl-c1">1</span>
&& !<span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field2'</span>)-><span class="pl-en">getData</span>();
})
-><span class="pl-en">add</span>(<span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>)
-><span class="pl-en">add</span>(<span class="pl-s">'myotherfield'</span>, <span class="pl-s">'text'</span>)
-><span class="pl-en">_endif</span>()
;
<span class="pl-s1"><span class="pl-c1">$</span>builder</span>
-><span class="pl-en">_switch</span>(<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">FormInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>) {
<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>form</span>-><span class="pl-en">get</span>(<span class="pl-s">'field1'</span>)-><span class="pl-en">getData</span>();
})
-><span class="pl-en">_case</span>(<span class="pl-s">'foo'</span>)
-><span class="pl-en">_case</span>(<span class="pl-s">'bar'</span>)
-><span class="pl-en">add</span>(<span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>, <span class="pl-en">array</span>(<span class="pl-s">'foo'</span> => <span class="pl-s">'bar'</span>))
-><span class="pl-en">add</span>(<span class="pl-s">'myotherfield'</span>, <span class="pl-s">'text'</span>)
-><span class="pl-en">_case</span>(<span class="pl-s">'baz'</span>)
-><span class="pl-en">add</span>(<span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>, <span class="pl-en">array</span>(<span class="pl-s">'foo'</span> => <span class="pl-s">'baz'</span>))
-><span class="pl-en">_default</span>()
-><span class="pl-en">add</span>(<span class="pl-s">'myfield'</span>, <span class="pl-s">'text'</span>)
-><span class="pl-en">_endswitch</span>()
;</pre></div>
<p dir="auto">The second API obviously is a lot more expressive, but also a bit more complicated than the first one.</p>
<p dir="auto">Please give me your opinions on what API you prefer or whether you can think of further limitations in these APIs.</p>
<h5 dir="auto">Implementation</h5>
<p dir="auto">The issue of creating dependencies between fields can be solved by a lazy dependency resolution graph like in the OptionsResolver.</p>
<p dir="auto">During form prepopulation, the conditions are invoked with a <code class="notranslate">FormPrepopulator</code> object implementing <code class="notranslate">FormInterface</code>. When <code class="notranslate">FormPrepopulator::get('field')</code> is called, "field" is prepopulated. If "field" is also dependent on some condition, that condition will be evaluated now in order to construct "field". After evaluating the condition, fields are added or removed accordingly.</p>
<p dir="auto">During form binding, the conditions are invoked with a <code class="notranslate">FormBinder</code> object, that also implements <code class="notranslate">FormInterface</code>. This object works like <code class="notranslate">FormPrepopulator</code>, only that it binds the fields instead of filling them with default data.</p>
<p dir="auto">In both cases, circular dependencies can be detected and reported.</p> | 1 |
<ul dir="auto">
<li>VSCode Version: 1.2.0</li>
<li>OS Version: Linux version 3.19.0-32-generic</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open a new html file</li>
<li>Write a '< div >' tag</li>
<li>Start writing the closing tag of the div ( '</' )</li>
<li>Right now, VS Code should show 'div' as a possible suggestion</li>
<li>However, once you start typing 'd' ( as in 'div' ), the suggestion disappears</li>
</ol>
<p dir="auto">I propose showing the suggestion until the user input stops matching the first part of the suggestion.</p>
<p dir="auto">I, for one, would find this helpful, because it feels more natural to keep typing instead of moving my fingers towards enter, while still seeing what the closing tag should look like</p> | <ul dir="auto">
<li>VSCode Version: 1.1.0</li>
<li>OS Version: OS X 10.11.4</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>While editing html code</li>
</ol>
<p dir="auto">Before updating visual studio code, whenever I start typing closing tag. I used to get suggestions that result into proper indentation as well. But after updating it, I'm not able to do it.</p>
<p dir="auto">I'm attaching screen shot</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8328240/15145522/b85e9b12-16d3-11e6-877d-9618e19da9ef.png"><img width="1280" alt="screen shot 2016-05-10 at 5 20 00 pm" src="https://cloud.githubusercontent.com/assets/8328240/15145522/b85e9b12-16d3-11e6-877d-9618e19da9ef.png" style="max-width: 100%;"></a></p> | 1 |
<p dir="auto">Bonfire task:<br>
Drop the elements of an array (first argument), starting from the front, until the predicate (second argument) returns true.</p>
<hr>
<p dir="auto">It's possible to solve this bonfire without completing all of the objectives.<br>
One of the objectives is that you should continue <strong>until</strong> the second argument is true. But even if you never stop, you can still pass the bonfire. Look at the code example below:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="function drop(arr, func) {
return arr.filter(func);
}
drop([1, 2, 3, 1], function (n) {return n < 2; });"><pre class="notranslate"><code class="notranslate">function drop(arr, func) {
return arr.filter(func);
}
drop([1, 2, 3, 1], function (n) {return n < 2; });
</code></pre></div>
<p dir="auto">This will continue filtering, giving you the wrong answer. But since no test case checks if the code actually continues past the first <em>false</em> value, it will pass.</p>
<hr>
<p dir="auto">If I was unclear, then feel free to ask what I meant. :)</p> | <p dir="auto">Challenge <a href="http://freecodecamp.com/challenges/bonfire-drop-it" rel="nofollow">http://freecodecamp.com/challenges/bonfire-drop-it</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<hr>
<p dir="auto">It describes only eating the head of the array and then stopping, returning the rest of the array. This is not what is tested.</p>
<p dir="auto">All of the tests can be passed using <code class="notranslate">return arr.filter(func);</code> which will filter ALL items from the array, not just from the head.</p>
<p dir="auto">There needs to be an additional test case, like <code class="notranslate">expect(drop([1, 2, 3, 7, 4], function(n) {return n > 5; })).to.eqls([7, 4]);</code></p> | 1 |
<p dir="auto">Describe what you were doing when the bug occurred:<br>
1.<br>
2.<br>
3.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.7.0-23309eb38</p>
<p dir="auto">Call stack: at N (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:164715)<br>
at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:163849)<br>
at e.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:166664)<br>
at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342328)<br>
at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:62450)<br>
at tl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:71793)<br>
at zl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:113765)<br>
at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104502)<br>
at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104430)<br>
at Dc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104298)</p>
<p dir="auto">Component stack: at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342099)<br>
at div<br>
at div<br>
at div<br>
at Co (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:263571)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:366677<br>
at n (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:276314)<br>
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:278724<br>
at div<br>
at div<br>
at Xi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:325177)<br>
at Ge (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:207026)<br>
at sn (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:216342)<br>
at Va (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:293773)<br>
at us (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:371869)</p> | <p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>I was using the devtools to investigate some performance issues w/ an app I help maintain</li>
<li>I had just turned on the "Record why each component rendered while profiling" checkbox</li>
<li>I ran a profile while navigating on the underlying page</li>
</ol>
<p dir="auto">The react profiler tab in the devtools gave this error, I think as I clicked the record icon to stop recording the profile.</p>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.5.0-355970aa4</p>
<p dir="auto">Call stack: at N (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160881)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:160015)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)<br>
at j (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:159939)</p>
<p dir="auto">Component stack: in ec<br>
in div<br>
in div<br>
in div<br>
in So<br>
in Unknown<br>
in n<br>
in Unknown<br>
in div<br>
in div<br>
in rl<br>
in Ze<br>
in fn<br>
in Ga<br>
in _s</p> | 1 |
<p dir="auto">cmd/integration failure. Hard to tell what the actual cause is, looks like bug in the framework.<br>
<a href="https://console.cloud.google.com/storage/browser/kubernetes-jenkins/pr-logs/pull/25519/kubernetes-pull-test-unit-integration/25532" rel="nofollow">kubernetes-pull-test-unit-integration/25532</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="+++ [0512 09:27:39] Building go targets for linux/amd64:
cmd/integration
+++ [0512 09:28:12] Placing binaries
etcd -data-dir /tmp/tmp.wBnrCJxb3E --bind-addr 127.0.0.1:4001 >/dev/null 2>/dev/null
Waiting for etcd to come up.
+++ [0512 09:28:14] On try 1, etcd: :
{"action":"set","node":{"key":"/_test","value":"","modifiedIndex":3,"createdIndex":3}}
+++ [0512 09:28:14] Running integration test cases
Running tests for APIVersion: v1,extensions/v1beta1 with etcdPrefix: registry
+++ [0512 09:28:14] Running tests without code coverage
I0512 09:28:30.964261 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:30.964834 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:30.964860 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.006955 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.039881 14774 <autogenerated>:1] Error getting ResourceLocation: no endpoints available for service "a"
I0512 09:28:31.089795 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.091045 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.091072 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.148329 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.174446 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.175940 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.175971 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.211575 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.245452 14774 <autogenerated>:1] Error getting ResourceLocation: no endpoints available for service "a"
I0512 09:28:31.291813 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.292955 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.292997 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.328484 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.353581 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.354882 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.354908 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.397048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.421378 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.422516 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.422553 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.457842 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.483959 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.485479 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.486569 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.487258 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.487885 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.488809 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.489555 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.490352 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.490959 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.492004 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.492997 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.493690 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.494536 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
E0512 09:28:31.494684 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.495222 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.495730 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496268 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496560 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496856 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.497298 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.497879 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.498445 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.499621 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.500684 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.501249 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.501922 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.502405 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
I0512 09:28:31.502956 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.503573 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.504680 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.505655 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.506842 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.507906 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.508821 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.509396 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.509966 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.510948 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.512088 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.513384 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.514505 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.515126 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.515739 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.516535 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.517577 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.518773 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.519343 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.519883 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.520707 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.521627 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.522724 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.523649 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.524270 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.524773 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.525600 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.526604 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.527197 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.528004 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.528584 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.529156 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.529645 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.530097 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.530619 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.531415 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.531901 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.532382 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533089 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533548 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533956 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.534405 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.535042 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.535507 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.536085 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.561757 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.562987 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.564228 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.565008 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.565579 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.566523 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.567462 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.568310 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.568941 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.569819 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.570682 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.571193 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.571747 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
E0512 09:28:31.571865 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.572323 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.572821 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.573420 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.573825 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.574208 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.574774 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.575333 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.575852 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.577227 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.578339 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.578969 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.579547 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.580223 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
I0512 09:28:31.580712 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.581241 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.582217 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.583275 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.584273 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.585161 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.586064 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.586671 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.587152 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.588093 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.589032 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.590077 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.590990 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.591507 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.592172 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.593142 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.594177 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.595220 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.595814 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.596452 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.597346 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.598503 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.599522 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.600616 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.601236 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.601914 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.603021 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.603964 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.604528 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.605048 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.605826 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.606277 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.606822 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.607275 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.607747 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.608286 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.608954 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.613493 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.614224 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.614875 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.615406 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.615859 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.616381 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.616824 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.617335 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.617676 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.619153 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.619180 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.652898 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.657752 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.659518 14774 abac.go:108] Policy file /tmp/auth_test388169203 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.660675 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.660699 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.693616 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.704714 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.706815 14774 abac.go:108] Policy file /tmp/auth_test030420662 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.707368 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.707390 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.751120 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.764410 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.765751 14774 abac.go:108] Policy file /tmp/auth_test596867229 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.767029 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.767054 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.799048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.803804 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.806652 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.806685 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.841011 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:28:31.867139 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.886778 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
W0512 09:28:31.967339 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.967374 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:31.993641 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:32.001981 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.002016 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.066435 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.066490 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.100571 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:32.102160 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:28:32.106532 14774 repair.go:70] unable to persist the updated service IP allocations: serviceipallocations "" not found
W0512 09:28:32.116640 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.116665 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:32.140768 14774 etcd_utils.go:96] Deleting all etcd keys
I0512 09:28:32.177543 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:32.179672 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.179704 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.215910 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:33.827367 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:33.827416 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:33.871258 14774 master_utils.go:105] Master http://127.0.0.1:42491
[restful] 2016/05/12 09:28:33 log.go:30: [restful/swagger] listing is available at https:///swaggerapi/
[restful] 2016/05/12 09:28:33 log.go:30: [restful/swagger] https:///swaggerui/ is mapped to folder /swagger-ui/
I0512 09:28:34.147820 14774 master_utils.go:211] Stopping master components
W0512 09:28:34.148455 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.148491 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.176275 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.176311 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.206385 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.206439 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.261458 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.261494 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.287176 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.287218 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.313256 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.313313 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.342459 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.342502 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.386802 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.386837 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.413024 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.413065 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:34.460105 14774 metrics_test.go:70] Got metric "apiserver_request_count"
I0512 09:28:34.462672 14774 metrics_test.go:70] Got metric "apiserver_request_latencies"
I0512 09:28:34.463885 14774 metrics_test.go:70] Got metric "apiserver_request_latencies_summary"
I0512 09:28:34.463923 14774 metrics_test.go:70] Got metric "etcd_helper_cache_entry_count"
I0512 09:28:34.463939 14774 metrics_test.go:70] Got metric "etcd_helper_cache_hit_count"
I0512 09:28:34.463952 14774 metrics_test.go:70] Got metric "etcd_helper_cache_miss_count"
I0512 09:28:34.463974 14774 metrics_test.go:70] Got metric "etcd_request_cache_add_latencies_summary"
I0512 09:28:34.463995 14774 metrics_test.go:70] Got metric "etcd_request_cache_get_latencies_summary"
I0512 09:28:34.464800 14774 metrics_test.go:70] Got metric "etcd_request_latencies_summary"
I0512 09:28:34.464845 14774 metrics_test.go:70] Got metric "go_gc_duration_seconds"
I0512 09:28:34.464861 14774 metrics_test.go:70] Got metric "go_goroutines"
I0512 09:28:34.464887 14774 metrics_test.go:70] Got metric "http_request_duration_microseconds"
I0512 09:28:34.464910 14774 metrics_test.go:70] Got metric "http_request_size_bytes"
I0512 09:28:34.464932 14774 metrics_test.go:70] Got metric "http_response_size_bytes"
I0512 09:28:34.464967 14774 metrics_test.go:70] Got metric "kubernetes_build_info"
I0512 09:28:34.464981 14774 metrics_test.go:70] Got metric "process_cpu_seconds_total"
I0512 09:28:34.464995 14774 metrics_test.go:70] Got metric "process_max_fds"
I0512 09:28:34.465008 14774 metrics_test.go:70] Got metric "process_open_fds"
I0512 09:28:34.465020 14774 metrics_test.go:70] Got metric "process_resident_memory_bytes"
I0512 09:28:34.465040 14774 metrics_test.go:70] Got metric "process_start_time_seconds"
I0512 09:28:34.465055 14774 metrics_test.go:70] Got metric "process_virtual_memory_bytes"
I0512 09:28:34.465069 14774 metrics_test.go:70] Got metric "replication_controller_rate_limiter_use"
I0512 09:28:34.465617 14774 metrics_test.go:70] Got metric "rest_client_request_latency_microseconds"
I0512 09:28:34.465784 14774 metrics_test.go:70] Got metric "rest_client_request_status_codes"
I0512 09:28:34.465843 14774 metrics_test.go:70] Got metric "scheduler_binding_latency_microseconds"
I0512 09:28:34.465897 14774 metrics_test.go:70] Got metric "scheduler_e2e_scheduling_latency_microseconds"
I0512 09:28:34.465949 14774 metrics_test.go:70] Got metric "scheduler_scheduling_algorithm_latency_microseconds"
I0512 09:28:34.465970 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_count"
I0512 09:28:34.465984 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_fail_count"
W0512 09:28:34.466313 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.466342 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:34.508338 14774 metrics_test.go:70] Got metric "apiserver_request_count"
I0512 09:28:34.509938 14774 metrics_test.go:70] Got metric "apiserver_request_latencies"
I0512 09:28:34.510779 14774 metrics_test.go:70] Got metric "apiserver_request_latencies_summary"
I0512 09:28:34.510815 14774 metrics_test.go:70] Got metric "etcd_helper_cache_entry_count"
I0512 09:28:34.510831 14774 metrics_test.go:70] Got metric "etcd_helper_cache_hit_count"
I0512 09:28:34.510844 14774 metrics_test.go:70] Got metric "etcd_helper_cache_miss_count"
I0512 09:28:34.510864 14774 metrics_test.go:70] Got metric "etcd_request_cache_add_latencies_summary"
I0512 09:28:34.510886 14774 metrics_test.go:70] Got metric "etcd_request_cache_get_latencies_summary"
I0512 09:28:34.511754 14774 metrics_test.go:70] Got metric "etcd_request_latencies_summary"
I0512 09:28:34.511799 14774 metrics_test.go:70] Got metric "go_gc_duration_seconds"
I0512 09:28:34.511815 14774 metrics_test.go:70] Got metric "go_goroutines"
I0512 09:28:34.511839 14774 metrics_test.go:70] Got metric "http_request_duration_microseconds"
I0512 09:28:34.511871 14774 metrics_test.go:70] Got metric "http_request_size_bytes"
I0512 09:28:34.511893 14774 metrics_test.go:70] Got metric "http_requests_total"
I0512 09:28:34.511924 14774 metrics_test.go:70] Got metric "http_response_size_bytes"
I0512 09:28:34.512008 14774 metrics_test.go:70] Got metric "kubernetes_build_info"
I0512 09:28:34.512052 14774 metrics_test.go:70] Got metric "process_cpu_seconds_total"
I0512 09:28:34.512069 14774 metrics_test.go:70] Got metric "process_max_fds"
I0512 09:28:34.512082 14774 metrics_test.go:70] Got metric "process_open_fds"
I0512 09:28:34.512095 14774 metrics_test.go:70] Got metric "process_resident_memory_bytes"
I0512 09:28:34.512108 14774 metrics_test.go:70] Got metric "process_start_time_seconds"
I0512 09:28:34.512131 14774 metrics_test.go:70] Got metric "process_virtual_memory_bytes"
I0512 09:28:34.512163 14774 metrics_test.go:70] Got metric "replication_controller_rate_limiter_use"
I0512 09:28:34.512728 14774 metrics_test.go:70] Got metric "rest_client_request_latency_microseconds"
I0512 09:28:34.512892 14774 metrics_test.go:70] Got metric "rest_client_request_status_codes"
I0512 09:28:34.512985 14774 metrics_test.go:70] Got metric "scheduler_binding_latency_microseconds"
I0512 09:28:34.513036 14774 metrics_test.go:70] Got metric "scheduler_e2e_scheduling_latency_microseconds"
I0512 09:28:34.513083 14774 metrics_test.go:70] Got metric "scheduler_scheduling_algorithm_latency_microseconds"
I0512 09:28:34.513096 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_count"
I0512 09:28:34.513109 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_fail_count"
W0512 09:28:34.513461 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.513489 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:34.636859 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8266f5080), PrevNode:(*client.Node)(0xc8266f5140), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636860 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8264b7c80), PrevNode:(*client.Node)(0xc8264b7ce0), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636942 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8269e4d20), PrevNode:(*client.Node)(0xc8269e4de0), Index:0xc1} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636947 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc826581b00), PrevNode:(*client.Node)(0xc826581b60), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636953 14774 persistentvolume_claim_binder_controller.go:127] PVClaimBinder could not update volume fake-pv: Cannot reload volume fake-pv: persistentvolumes "fake-pv" not found
E0512 09:28:34.674091 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc824573ec0), PrevNode:(*client.Node)(0xc824573f80), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674094 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc825e82780), PrevNode:(*client.Node)(0xc825e827e0), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674146 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc825e6cc60), PrevNode:(*client.Node)(0xc825e6cd20), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674184 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8243b6960), PrevNode:(*client.Node)(0xc8243b69c0), Index:0xce} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674235 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc824457da0), PrevNode:(*client.Node)(0xc824457e00), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:28:34.959873 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.959910 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:34.959985 14774 persistentvolume_claim_binder_controller.go:127] PVClaimBinder could not update volume fake-pv: Get http://127.0.0.1:46853/api/v1/namespaces/default/persistentvolumeclaims/fake-pvc-44: dial tcp 127.0.0.1:46853: getsockopt: connection refused
W0512 09:28:34.999705 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:35.000952 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:28:35.005591 14774 repair.go:70] unable to persist the updated service IP allocations: serviceipallocations "" not found
W0512 09:28:38.412547 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:38.412592 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:38.458063 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:38.459673 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:38.462048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:38.479855 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:38.484614 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:38.484668 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:38.532093 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:38.535859 14774 request.go:347] Field selector: v1 - replicationcontrollers - metadata.name - foo: need to check if this is versioned correctly.
I0512 09:28:38.536141 14774 replication_controller.go:235] Starting RC Manager
W0512 09:28:38.708160 14774 request.go:347] Field selector: v1 - resourcequotas - metadata.name - quota: need to check if this is versioned correctly.
W0512 09:28:38.746957 14774 request.go:347] Field selector: v1 - replicationcontrollers - metadata.name - foo: need to check if this is versioned correctly.
E0512 09:28:38.778242 14774 resource_quota_controller.go:174] Operation cannot be fulfilled on resourcequotas "quota": the object has been modified; please apply your changes to the latest version and try again
I0512 09:28:39.051207 14774 etcd_utils.go:96] Deleting all etcd keys
I0512 09:28:39.051610 14774 resource_quota_controller.go:202] Shutting down ResourceQuotaController
I0512 09:28:39.051692 14774 resource_quota_controller.go:181] resource quota controller worker shutting down
I0512 09:28:39.051854 14774 replication_controller.go:247] Shutting down RC Manager
I0512 09:28:39.052367 14774 replication_controller.go:444] replication controller worker shutting down
I0512 09:28:39.051854 14774 controller.go:137] Shutting down quota evaluator
I0512 09:28:39.052407 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052422 14774 replication_controller.go:444] replication controller worker shutting down
I0512 09:28:39.052454 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052469 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052474 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052476 14774 controller.go:156] quota evaluator worker shutdown
W0512 09:28:39.053253 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:39.053291 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:39.053541 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c0f6840), PrevNode:(*client.Node)(0xc82c0f6900), Index:0x1e3} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x16a, ModifiedIndex:0x250, Expiration:(*time.Time)(nil), TTL:0}
I0512 09:28:39.056032 14774 replication_controller.go:444] replication controller worker shutting down
E0512 09:28:39.063537 14774 resource_quota_controller.go:174] resourcequotas "quota" not found
E0512 09:28:39.083172 14774 resource_quota_controller.go:174] resourcequotas "quota" not found
I0512 09:28:39.083214 14774 resource_quota_controller.go:181] resource quota controller worker shutting down
W0512 09:28:39.117785 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:39.324554 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
I0512 09:29:09.728316 14774 trace.go:61] Trace "Get /api/v1/nodes/node-scheduling-test-node" (started 2016-05-12 09:29:09.167949312 -0700 PDT):
[560.309788ms] [560.309788ms] END
E0512 09:29:40.389055 14774 factory.go:481] Error scheduling default node-scheduling-test-pod: Operation cannot be fulfilled on pods/binding "node-scheduling-test-pod": pod node-scheduling-test-pod is being deleted, cannot be assigned to a host; retrying
W0512 09:29:40.389164 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
W0512 09:29:40.410019 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
W0512 09:29:40.412982 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
E0512 09:30:40.436718 14774 factory.go:481] Error scheduling default node-scheduling-test-pod: Operation cannot be fulfilled on pods/binding "node-scheduling-test-pod": pod node-scheduling-test-pod is being deleted, cannot be assigned to a host; retrying
W0512 09:30:40.436830 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
I0512 09:30:40.441839 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:30:40.443392 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:40.443427 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:30:40.492071 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:42.182993 14774 factory.go:503] Error getting pod default/node-scheduling-test-pod for retry: Get http://127.0.0.1:36247/api/v1/namespaces/default/pods/node-scheduling-test-pod: dial tcp 127.0.0.1:36247: getsockopt: connection refused; abandoning
I0512 09:30:48.923980 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:30:48.925421 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:48.925456 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:48.925566 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82ba04120), PrevNode:(*client.Node)(0xc82ba04180), Index:0x287} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925574 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82bc4c1e0), PrevNode:(*client.Node)(0xc82bc4c240), Index:0x287} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925636 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c1539e0), PrevNode:(*client.Node)(0xc82c153a40), Index:0x27a} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925662 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c8a7ce0), PrevNode:(*client.Node)(0xc82c8a7d40), Index:0x279} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:48.974485 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:48.990023 14774 factory.go:481] Error scheduling default pod-test-allocatable: Operation cannot be fulfilled on pods/binding "pod-test-allocatable": pod pod-test-allocatable is already assigned to node "node-allocatable-scheduler-test-node"; retrying
E0512 09:30:50.000152 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:50.000303 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:50.007965 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:50.008147 14774 factory.go:495] Request for pod default/pod-test-allocatable2 already in flight, abandoning
E0512 09:30:50.179132 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:50.179267 14774 factory.go:495] Request for pod default/pod-test-allocatable2 already in flight, abandoning
E0512 09:30:51.003039 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:51.003166 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:53.005156 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:53.005648 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:55.005563 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:55.005613 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:30:55.050490 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:30:55.052154 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8287dd140), PrevNode:(*client.Node)(0xc8287dd1a0), Index:0x298} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.052155 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82a0deae0), PrevNode:(*client.Node)(0xc82a0deb40), Index:0x294} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:55.052177 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:55.052282 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8288a37a0), PrevNode:(*client.Node)(0xc8288a3800), Index:0x28c} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.052321 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82a0d3c20), PrevNode:(*client.Node)(0xc82a0d3c80), Index:0x298} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.067412 14774 factory.go:481] Error scheduling ns uses-non-existent-secret: pods "uses-non-existent-secret" not found; retrying
E0512 09:30:55.067733 14774 factory.go:481] Error scheduling ns uses-non-existent-secret: pods "uses-non-existent-secret" not found; retrying
W0512 09:30:55.068068 14774 factory.go:495] Request for pod ns/uses-non-existent-secret already in flight, abandoning
E0512 09:30:55.078536 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8266f52c0), PrevNode:(*client.Node)(0xc8266f5320), Index:0x2ac} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2a1, ModifiedIndex:0x2af, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.078576 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82830dbc0), PrevNode:(*client.Node)(0xc82830dc20), Index:0x2ac} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2a1, ModifiedIndex:0x2af, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:55.807645 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:55.807701 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:55.843131 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:30:55.843703 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:30:55.846351 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:30:57.006969 14774 factory.go:503] Error getting pod default/pod-test-allocatable2 for retry: Get http://127.0.0.1:55159/api/v1/namespaces/default/pods/pod-test-allocatable2: dial tcp 127.0.0.1:55159: getsockopt: connection refused; abandoning
W0512 09:30:58.502719 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:30:58.692498 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:58.692652 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:58.730502 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:30:58.730600 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:30:58.731121 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:30:58.734882 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:31:04.868978 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82f0b75c0), PrevNode:(*client.Node)(0xc82f0b7620), Index:0x2bb} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2ba, ModifiedIndex:0x2d1, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:31:05.043792 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:31:05.262537 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:31:05.262592 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:31:05.302110 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:31:05.302206 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:31:05.302828 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:05.305678 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:31:06.675202 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82fed2300), PrevNode:(*client.Node)(0xc82fed2360), Index:0x2dc} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.675211 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82d2a0420), PrevNode:(*client.Node)(0xc82d2a0480), Index:0x2dc} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.675264 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82fecaba0), PrevNode:(*client.Node)(0xc82fecac00), Index:0x2d3} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.678201 14774 factory.go:481] Error scheduling auto-mount-ns protopod: pods "protopod" not found; retrying
W0512 09:31:07.842996 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:31:07.843051 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:31:07.883108 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:31:07.883189 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:31:07.883607 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:07.886862 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:08.509848 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:31:14.677262 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.077105 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.476977 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.877192 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
FAIL k8s.io/kubernetes/test/integration 171.798s
+++ [0512 09:31:22] Saved JUnit XML test report to /workspace/artifacts/junit_v1,extensions-v1beta1_20160512-092814.xml
!!! Error in /go/src/k8s.io/kubernetes/hack/test-go.sh:241
'return ${rc}' exited with status 1
Call stack:
1: /go/src/k8s.io/kubernetes/hack/test-go.sh:241 main(...)
Exiting with status 1
!!! Error in ./hack/test-integration.sh:51
'KUBE_GOFLAGS="-tags 'integration no-docker' " KUBE_RACE="" KUBE_TIMEOUT="${KUBE_TIMEOUT}" KUBE_TEST_API_VERSIONS="$1" "${KUBE_ROOT}/hack/test-go.sh" test/integration' exited with status 1
Call stack:
1: ./hack/test-integration.sh:51 runTests(...)
2: ./hack/test-integration.sh:83 main(...)
Exiting with status 1
+++ [0512 09:31:22] Integration test cleanup complete
Build step 'Execute shell' marked build as failure"><pre class="notranslate"><code class="notranslate">+++ [0512 09:27:39] Building go targets for linux/amd64:
cmd/integration
+++ [0512 09:28:12] Placing binaries
etcd -data-dir /tmp/tmp.wBnrCJxb3E --bind-addr 127.0.0.1:4001 >/dev/null 2>/dev/null
Waiting for etcd to come up.
+++ [0512 09:28:14] On try 1, etcd: :
{"action":"set","node":{"key":"/_test","value":"","modifiedIndex":3,"createdIndex":3}}
+++ [0512 09:28:14] Running integration test cases
Running tests for APIVersion: v1,extensions/v1beta1 with etcdPrefix: registry
+++ [0512 09:28:14] Running tests without code coverage
I0512 09:28:30.964261 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:30.964834 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:30.964860 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.006955 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.039881 14774 <autogenerated>:1] Error getting ResourceLocation: no endpoints available for service "a"
I0512 09:28:31.089795 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.091045 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.091072 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.148329 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.174446 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.175940 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.175971 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.211575 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.245452 14774 <autogenerated>:1] Error getting ResourceLocation: no endpoints available for service "a"
I0512 09:28:31.291813 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.292955 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.292997 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.328484 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.353581 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.354882 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.354908 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.397048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.421378 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.422516 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.422553 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.457842 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.483959 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.485479 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.486569 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.487258 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.487885 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.488809 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.489555 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.490352 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.490959 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.492004 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.492997 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.493690 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.494536 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
E0512 09:28:31.494684 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.495222 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.495730 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496268 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496560 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.496856 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.497298 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.497879 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.498445 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.499621 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.500684 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.501249 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.501922 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.502405 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
I0512 09:28:31.502956 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.503573 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.504680 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.505655 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.506842 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.507906 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.508821 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.509396 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.509966 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.510948 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.512088 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.513384 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.514505 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.515126 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.515739 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.516535 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.517577 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.518773 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.519343 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.519883 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.520707 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.521627 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.522724 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.523649 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.524270 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.524773 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.525600 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.526604 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.527197 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.528004 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.528584 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.529156 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.529645 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.530097 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.530619 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.531415 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.531901 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.532382 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533089 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533548 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.533956 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.534405 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.535042 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.535507 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.536085 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{alice [] map[]}
I0512 09:28:31.561757 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.562987 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.564228 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.565008 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.565579 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.566523 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.567462 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.568310 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.568941 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.569819 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.570682 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.571193 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.571747 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
E0512 09:28:31.571865 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.572323 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.572821 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.573420 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.573825 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.574208 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.574774 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.575333 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.575852 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.577227 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.578339 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.578969 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.579547 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.580223 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
I0512 09:28:31.580712 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.581241 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.582217 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.583275 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.584273 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.585161 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.586064 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.586671 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.587152 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.588093 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.589032 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.590077 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.590990 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.591507 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.592172 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.593142 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.594177 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.595220 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.595814 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.596452 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.597346 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.598503 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.599522 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.600616 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.601236 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.601914 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.603021 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.603964 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.604528 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.605048 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.605826 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.606277 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.606822 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.607275 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.607747 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.608286 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.608954 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.613493 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.614224 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.614875 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.615406 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.615859 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.616381 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.616824 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.617335 14774 <autogenerated>:1] &{bob 2 [] map[]} is acting as &{system:serviceaccount:default:default [system:serviceaccounts system:serviceaccounts:default] map[]}
I0512 09:28:31.617676 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.619153 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.619180 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.652898 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.657752 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.659518 14774 abac.go:108] Policy file /tmp/auth_test388169203 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.660675 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.660699 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.693616 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.704714 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.706815 14774 abac.go:108] Policy file /tmp/auth_test030420662 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.707368 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.707390 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.751120 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.764410 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.765751 14774 abac.go:108] Policy file /tmp/auth_test596867229 contained unversioned rules. See docs/admin/authorization.md#abac-mode for ABAC file format details.
W0512 09:28:31.767029 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.767054 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.799048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:31.803804 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:31.806652 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.806685 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:31.841011 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:28:31.867139 14774 errors.go:63] apiserver received an error that is not an unversioned.Status: couldn't get version/kind; json parse error: invalid character '%' after object key:value pair
I0512 09:28:31.886778 14774 <autogenerated>:1] Error getting ResourceLocation: endpoints "a" not found
W0512 09:28:31.967339 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:31.967374 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:31.993641 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:32.001981 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.002016 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.066435 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.066490 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.100571 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:32.102160 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:28:32.106532 14774 repair.go:70] unable to persist the updated service IP allocations: serviceipallocations "" not found
W0512 09:28:32.116640 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.116665 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:32.140768 14774 etcd_utils.go:96] Deleting all etcd keys
I0512 09:28:32.177543 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:32.179672 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:32.179704 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:32.215910 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:33.827367 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:33.827416 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:33.871258 14774 master_utils.go:105] Master http://127.0.0.1:42491
[restful] 2016/05/12 09:28:33 log.go:30: [restful/swagger] listing is available at https:///swaggerapi/
[restful] 2016/05/12 09:28:33 log.go:30: [restful/swagger] https:///swaggerui/ is mapped to folder /swagger-ui/
I0512 09:28:34.147820 14774 master_utils.go:211] Stopping master components
W0512 09:28:34.148455 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.148491 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.176275 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.176311 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.206385 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.206439 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.261458 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.261494 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.287176 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.287218 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.313256 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.313313 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.342459 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.342502 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.386802 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.386837 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:34.413024 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.413065 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:34.460105 14774 metrics_test.go:70] Got metric "apiserver_request_count"
I0512 09:28:34.462672 14774 metrics_test.go:70] Got metric "apiserver_request_latencies"
I0512 09:28:34.463885 14774 metrics_test.go:70] Got metric "apiserver_request_latencies_summary"
I0512 09:28:34.463923 14774 metrics_test.go:70] Got metric "etcd_helper_cache_entry_count"
I0512 09:28:34.463939 14774 metrics_test.go:70] Got metric "etcd_helper_cache_hit_count"
I0512 09:28:34.463952 14774 metrics_test.go:70] Got metric "etcd_helper_cache_miss_count"
I0512 09:28:34.463974 14774 metrics_test.go:70] Got metric "etcd_request_cache_add_latencies_summary"
I0512 09:28:34.463995 14774 metrics_test.go:70] Got metric "etcd_request_cache_get_latencies_summary"
I0512 09:28:34.464800 14774 metrics_test.go:70] Got metric "etcd_request_latencies_summary"
I0512 09:28:34.464845 14774 metrics_test.go:70] Got metric "go_gc_duration_seconds"
I0512 09:28:34.464861 14774 metrics_test.go:70] Got metric "go_goroutines"
I0512 09:28:34.464887 14774 metrics_test.go:70] Got metric "http_request_duration_microseconds"
I0512 09:28:34.464910 14774 metrics_test.go:70] Got metric "http_request_size_bytes"
I0512 09:28:34.464932 14774 metrics_test.go:70] Got metric "http_response_size_bytes"
I0512 09:28:34.464967 14774 metrics_test.go:70] Got metric "kubernetes_build_info"
I0512 09:28:34.464981 14774 metrics_test.go:70] Got metric "process_cpu_seconds_total"
I0512 09:28:34.464995 14774 metrics_test.go:70] Got metric "process_max_fds"
I0512 09:28:34.465008 14774 metrics_test.go:70] Got metric "process_open_fds"
I0512 09:28:34.465020 14774 metrics_test.go:70] Got metric "process_resident_memory_bytes"
I0512 09:28:34.465040 14774 metrics_test.go:70] Got metric "process_start_time_seconds"
I0512 09:28:34.465055 14774 metrics_test.go:70] Got metric "process_virtual_memory_bytes"
I0512 09:28:34.465069 14774 metrics_test.go:70] Got metric "replication_controller_rate_limiter_use"
I0512 09:28:34.465617 14774 metrics_test.go:70] Got metric "rest_client_request_latency_microseconds"
I0512 09:28:34.465784 14774 metrics_test.go:70] Got metric "rest_client_request_status_codes"
I0512 09:28:34.465843 14774 metrics_test.go:70] Got metric "scheduler_binding_latency_microseconds"
I0512 09:28:34.465897 14774 metrics_test.go:70] Got metric "scheduler_e2e_scheduling_latency_microseconds"
I0512 09:28:34.465949 14774 metrics_test.go:70] Got metric "scheduler_scheduling_algorithm_latency_microseconds"
I0512 09:28:34.465970 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_count"
I0512 09:28:34.465984 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_fail_count"
W0512 09:28:34.466313 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.466342 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:28:34.508338 14774 metrics_test.go:70] Got metric "apiserver_request_count"
I0512 09:28:34.509938 14774 metrics_test.go:70] Got metric "apiserver_request_latencies"
I0512 09:28:34.510779 14774 metrics_test.go:70] Got metric "apiserver_request_latencies_summary"
I0512 09:28:34.510815 14774 metrics_test.go:70] Got metric "etcd_helper_cache_entry_count"
I0512 09:28:34.510831 14774 metrics_test.go:70] Got metric "etcd_helper_cache_hit_count"
I0512 09:28:34.510844 14774 metrics_test.go:70] Got metric "etcd_helper_cache_miss_count"
I0512 09:28:34.510864 14774 metrics_test.go:70] Got metric "etcd_request_cache_add_latencies_summary"
I0512 09:28:34.510886 14774 metrics_test.go:70] Got metric "etcd_request_cache_get_latencies_summary"
I0512 09:28:34.511754 14774 metrics_test.go:70] Got metric "etcd_request_latencies_summary"
I0512 09:28:34.511799 14774 metrics_test.go:70] Got metric "go_gc_duration_seconds"
I0512 09:28:34.511815 14774 metrics_test.go:70] Got metric "go_goroutines"
I0512 09:28:34.511839 14774 metrics_test.go:70] Got metric "http_request_duration_microseconds"
I0512 09:28:34.511871 14774 metrics_test.go:70] Got metric "http_request_size_bytes"
I0512 09:28:34.511893 14774 metrics_test.go:70] Got metric "http_requests_total"
I0512 09:28:34.511924 14774 metrics_test.go:70] Got metric "http_response_size_bytes"
I0512 09:28:34.512008 14774 metrics_test.go:70] Got metric "kubernetes_build_info"
I0512 09:28:34.512052 14774 metrics_test.go:70] Got metric "process_cpu_seconds_total"
I0512 09:28:34.512069 14774 metrics_test.go:70] Got metric "process_max_fds"
I0512 09:28:34.512082 14774 metrics_test.go:70] Got metric "process_open_fds"
I0512 09:28:34.512095 14774 metrics_test.go:70] Got metric "process_resident_memory_bytes"
I0512 09:28:34.512108 14774 metrics_test.go:70] Got metric "process_start_time_seconds"
I0512 09:28:34.512131 14774 metrics_test.go:70] Got metric "process_virtual_memory_bytes"
I0512 09:28:34.512163 14774 metrics_test.go:70] Got metric "replication_controller_rate_limiter_use"
I0512 09:28:34.512728 14774 metrics_test.go:70] Got metric "rest_client_request_latency_microseconds"
I0512 09:28:34.512892 14774 metrics_test.go:70] Got metric "rest_client_request_status_codes"
I0512 09:28:34.512985 14774 metrics_test.go:70] Got metric "scheduler_binding_latency_microseconds"
I0512 09:28:34.513036 14774 metrics_test.go:70] Got metric "scheduler_e2e_scheduling_latency_microseconds"
I0512 09:28:34.513083 14774 metrics_test.go:70] Got metric "scheduler_scheduling_algorithm_latency_microseconds"
I0512 09:28:34.513096 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_count"
I0512 09:28:34.513109 14774 metrics_test.go:70] Got metric "ssh_tunnel_open_fail_count"
W0512 09:28:34.513461 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.513489 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:34.636859 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8266f5080), PrevNode:(*client.Node)(0xc8266f5140), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636860 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8264b7c80), PrevNode:(*client.Node)(0xc8264b7ce0), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636942 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8269e4d20), PrevNode:(*client.Node)(0xc8269e4de0), Index:0xc1} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636947 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc826581b00), PrevNode:(*client.Node)(0xc826581b60), Index:0xc5} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xba, ModifiedIndex:0xc6, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.636953 14774 persistentvolume_claim_binder_controller.go:127] PVClaimBinder could not update volume fake-pv: Cannot reload volume fake-pv: persistentvolumes "fake-pv" not found
E0512 09:28:34.674091 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc824573ec0), PrevNode:(*client.Node)(0xc824573f80), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674094 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc825e82780), PrevNode:(*client.Node)(0xc825e827e0), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674146 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc825e6cc60), PrevNode:(*client.Node)(0xc825e6cd20), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674184 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8243b6960), PrevNode:(*client.Node)(0xc8243b69c0), Index:0xce} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:28:34.674235 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc824457da0), PrevNode:(*client.Node)(0xc824457e00), Index:0xd0} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0xc7, ModifiedIndex:0xd1, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:28:34.959873 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:34.959910 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:34.959985 14774 persistentvolume_claim_binder_controller.go:127] PVClaimBinder could not update volume fake-pv: Get http://127.0.0.1:46853/api/v1/namespaces/default/persistentvolumeclaims/fake-pvc-44: dial tcp 127.0.0.1:46853: getsockopt: connection refused
W0512 09:28:34.999705 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:35.000952 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:28:35.005591 14774 repair.go:70] unable to persist the updated service IP allocations: serviceipallocations "" not found
W0512 09:28:38.412547 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:38.412592 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:38.458063 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:38.459673 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:38.462048 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
I0512 09:28:38.479855 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:28:38.484614 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:38.484668 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:28:38.532093 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:38.535859 14774 request.go:347] Field selector: v1 - replicationcontrollers - metadata.name - foo: need to check if this is versioned correctly.
I0512 09:28:38.536141 14774 replication_controller.go:235] Starting RC Manager
W0512 09:28:38.708160 14774 request.go:347] Field selector: v1 - resourcequotas - metadata.name - quota: need to check if this is versioned correctly.
W0512 09:28:38.746957 14774 request.go:347] Field selector: v1 - replicationcontrollers - metadata.name - foo: need to check if this is versioned correctly.
E0512 09:28:38.778242 14774 resource_quota_controller.go:174] Operation cannot be fulfilled on resourcequotas "quota": the object has been modified; please apply your changes to the latest version and try again
I0512 09:28:39.051207 14774 etcd_utils.go:96] Deleting all etcd keys
I0512 09:28:39.051610 14774 resource_quota_controller.go:202] Shutting down ResourceQuotaController
I0512 09:28:39.051692 14774 resource_quota_controller.go:181] resource quota controller worker shutting down
I0512 09:28:39.051854 14774 replication_controller.go:247] Shutting down RC Manager
I0512 09:28:39.052367 14774 replication_controller.go:444] replication controller worker shutting down
I0512 09:28:39.051854 14774 controller.go:137] Shutting down quota evaluator
I0512 09:28:39.052407 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052422 14774 replication_controller.go:444] replication controller worker shutting down
I0512 09:28:39.052454 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052469 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052474 14774 controller.go:156] quota evaluator worker shutdown
I0512 09:28:39.052476 14774 controller.go:156] quota evaluator worker shutdown
W0512 09:28:39.053253 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:28:39.053291 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:28:39.053541 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c0f6840), PrevNode:(*client.Node)(0xc82c0f6900), Index:0x1e3} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x16a, ModifiedIndex:0x250, Expiration:(*time.Time)(nil), TTL:0}
I0512 09:28:39.056032 14774 replication_controller.go:444] replication controller worker shutting down
E0512 09:28:39.063537 14774 resource_quota_controller.go:174] resourcequotas "quota" not found
E0512 09:28:39.083172 14774 resource_quota_controller.go:174] resourcequotas "quota" not found
I0512 09:28:39.083214 14774 resource_quota_controller.go:181] resource quota controller worker shutting down
W0512 09:28:39.117785 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:28:39.324554 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
I0512 09:29:09.728316 14774 trace.go:61] Trace "Get /api/v1/nodes/node-scheduling-test-node" (started 2016-05-12 09:29:09.167949312 -0700 PDT):
[560.309788ms] [560.309788ms] END
E0512 09:29:40.389055 14774 factory.go:481] Error scheduling default node-scheduling-test-pod: Operation cannot be fulfilled on pods/binding "node-scheduling-test-pod": pod node-scheduling-test-pod is being deleted, cannot be assigned to a host; retrying
W0512 09:29:40.389164 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
W0512 09:29:40.410019 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
W0512 09:29:40.412982 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
E0512 09:30:40.436718 14774 factory.go:481] Error scheduling default node-scheduling-test-pod: Operation cannot be fulfilled on pods/binding "node-scheduling-test-pod": pod node-scheduling-test-pod is being deleted, cannot be assigned to a host; retrying
W0512 09:30:40.436830 14774 factory.go:495] Request for pod default/node-scheduling-test-pod already in flight, abandoning
I0512 09:30:40.441839 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:30:40.443392 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:40.443427 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
W0512 09:30:40.492071 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:42.182993 14774 factory.go:503] Error getting pod default/node-scheduling-test-pod for retry: Get http://127.0.0.1:36247/api/v1/namespaces/default/pods/node-scheduling-test-pod: dial tcp 127.0.0.1:36247: getsockopt: connection refused; abandoning
I0512 09:30:48.923980 14774 etcd_utils.go:96] Deleting all etcd keys
W0512 09:30:48.925421 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:48.925456 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:48.925566 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82ba04120), PrevNode:(*client.Node)(0xc82ba04180), Index:0x287} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925574 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82bc4c1e0), PrevNode:(*client.Node)(0xc82bc4c240), Index:0x287} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925636 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c1539e0), PrevNode:(*client.Node)(0xc82c153a40), Index:0x27a} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:48.925662 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82c8a7ce0), PrevNode:(*client.Node)(0xc82c8a7d40), Index:0x279} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x274, ModifiedIndex:0x288, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:48.974485 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:48.990023 14774 factory.go:481] Error scheduling default pod-test-allocatable: Operation cannot be fulfilled on pods/binding "pod-test-allocatable": pod pod-test-allocatable is already assigned to node "node-allocatable-scheduler-test-node"; retrying
E0512 09:30:50.000152 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:50.000303 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:50.007965 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:50.008147 14774 factory.go:495] Request for pod default/pod-test-allocatable2 already in flight, abandoning
E0512 09:30:50.179132 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:50.179267 14774 factory.go:495] Request for pod default/pod-test-allocatable2 already in flight, abandoning
E0512 09:30:51.003039 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:51.003166 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:53.005156 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-multi-scheduler-test-node): Insufficient CPU
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
E0512 09:30:53.005648 14774 factory.go:481] Error scheduling default pod-test-allocatable2: pod (pod-test-allocatable2) failed to fit in any node
fit failure on node (node-allocatable-scheduler-test-node): Insufficient CPU
; retrying
W0512 09:30:55.005563 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:55.005613 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
I0512 09:30:55.050490 14774 etcd_utils.go:96] Deleting all etcd keys
E0512 09:30:55.052154 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8287dd140), PrevNode:(*client.Node)(0xc8287dd1a0), Index:0x298} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.052155 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82a0deae0), PrevNode:(*client.Node)(0xc82a0deb40), Index:0x294} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:55.052177 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:30:55.052282 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8288a37a0), PrevNode:(*client.Node)(0xc8288a3800), Index:0x28c} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.052321 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82a0d3c20), PrevNode:(*client.Node)(0xc82a0d3c80), Index:0x298} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x289, ModifiedIndex:0x2a0, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.067412 14774 factory.go:481] Error scheduling ns uses-non-existent-secret: pods "uses-non-existent-secret" not found; retrying
E0512 09:30:55.067733 14774 factory.go:481] Error scheduling ns uses-non-existent-secret: pods "uses-non-existent-secret" not found; retrying
W0512 09:30:55.068068 14774 factory.go:495] Request for pod ns/uses-non-existent-secret already in flight, abandoning
E0512 09:30:55.078536 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc8266f52c0), PrevNode:(*client.Node)(0xc8266f5320), Index:0x2ac} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2a1, ModifiedIndex:0x2af, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:30:55.078576 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82830dbc0), PrevNode:(*client.Node)(0xc82830dc20), Index:0x2ac} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2a1, ModifiedIndex:0x2af, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:30:55.807645 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:55.807701 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:55.843131 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:30:55.843703 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:30:55.846351 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:30:57.006969 14774 factory.go:503] Error getting pod default/pod-test-allocatable2 for retry: Get http://127.0.0.1:55159/api/v1/namespaces/default/pods/pod-test-allocatable2: dial tcp 127.0.0.1:55159: getsockopt: connection refused; abandoning
W0512 09:30:58.502719 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:30:58.692498 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:30:58.692652 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:30:58.730502 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:30:58.730600 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:30:58.731121 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:30:58.734882 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:31:04.868978 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82f0b75c0), PrevNode:(*client.Node)(0xc82f0b7620), Index:0x2bb} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2ba, ModifiedIndex:0x2d1, Expiration:(*time.Time)(nil), TTL:0}
W0512 09:31:05.043792 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
W0512 09:31:05.262537 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:31:05.262592 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:31:05.302110 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:31:05.302206 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:31:05.302828 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:05.305678 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
E0512 09:31:06.675202 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82fed2300), PrevNode:(*client.Node)(0xc82fed2360), Index:0x2dc} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.675211 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82d2a0420), PrevNode:(*client.Node)(0xc82d2a0480), Index:0x2dc} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.675264 14774 etcd_watcher.go:445] failure to decode api object: empty data
from &client.Response{Action:"delete", Node:(*client.Node)(0xc82fecaba0), PrevNode:(*client.Node)(0xc82fecac00), Index:0x2d3} &client.Node{Key:"/registry", Dir:true, Value:"", Nodes:client.Nodes(nil), CreatedIndex:0x2d2, ModifiedIndex:0x2dd, Expiration:(*time.Time)(nil), TTL:0}
E0512 09:31:06.678201 14774 factory.go:481] Error scheduling auto-mount-ns protopod: pods "protopod" not found; retrying
W0512 09:31:07.842996 14774 genericapiserver.go:259] Network range for service cluster IPs is unspecified. Defaulting to 10.0.0.0/24.
I0512 09:31:07.843051 14774 genericapiserver.go:288] Node port range unspecified. Defaulting to 30000-32767.
E0512 09:31:07.883108 14774 util.go:45] Metric for serviceaccount_controller already registered
E0512 09:31:07.883189 14774 util.go:45] Metric for serviceaccount_controller already registered
W0512 09:31:07.883607 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:07.886862 14774 request.go:347] Field selector: v1 - serviceaccounts - metadata.name - default: need to check if this is versioned correctly.
W0512 09:31:08.509848 14774 controller.go:262] Resetting endpoints for master service "kubernetes" to kind:"" apiVersion:""
E0512 09:31:14.677262 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.077105 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.476977 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
E0512 09:31:15.877192 14774 handlers.go:37] Unable to authenticate the request due to an error: Token has been invalidated
FAIL k8s.io/kubernetes/test/integration 171.798s
+++ [0512 09:31:22] Saved JUnit XML test report to /workspace/artifacts/junit_v1,extensions-v1beta1_20160512-092814.xml
!!! Error in /go/src/k8s.io/kubernetes/hack/test-go.sh:241
'return ${rc}' exited with status 1
Call stack:
1: /go/src/k8s.io/kubernetes/hack/test-go.sh:241 main(...)
Exiting with status 1
!!! Error in ./hack/test-integration.sh:51
'KUBE_GOFLAGS="-tags 'integration no-docker' " KUBE_RACE="" KUBE_TIMEOUT="${KUBE_TIMEOUT}" KUBE_TEST_API_VERSIONS="$1" "${KUBE_ROOT}/hack/test-go.sh" test/integration' exited with status 1
Call stack:
1: ./hack/test-integration.sh:51 runTests(...)
2: ./hack/test-integration.sh:83 main(...)
Exiting with status 1
+++ [0512 09:31:22] Integration test cleanup complete
Build step 'Execute shell' marked build as failure
</code></pre></div> | <p dir="auto"><a href="https://console.cloud.google.com/storage/kubernetes-jenkins/logs/kubernetes-test-go/12266/" rel="nofollow">https://console.cloud.google.com/storage/kubernetes-jenkins/logs/kubernetes-test-go/12266/</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--- FAIL: TestUnschedulableNodes (20.07s)
scheduler_test.go:166: Failed to observe reflected update for setting unschedulable=true: timed out waiting for the condition"><pre class="notranslate"><code class="notranslate">--- FAIL: TestUnschedulableNodes (20.07s)
scheduler_test.go:166: Failed to observe reflected update for setting unschedulable=true: timed out waiting for the condition
</code></pre></div> | 1 |
<ul dir="auto">
<li>VSCode Version: 1.0.0</li>
<li>OS Version: arch linux 64bit kernel 4.5</li>
</ul>
<p dir="auto">This is a feature request.</p>
<p dir="auto">Currently the only spellchecker available is <a href="https://github.com/Microsoft/vscode-spell-check">https://github.com/Microsoft/vscode-spell-check</a>, which is slow if you have a crappy connection, and is insecure.</p>
<p dir="auto">chrome has already a built in spell-checker, is there any way to use that rather than that extension? or aspell?</p> | <p dir="auto">Hello (first time contributing here)</p>
<p dir="auto">There are few offline spell checkers among VSCode extensions, but they are based on seriously faulty JavaScript implementations of <a href="http://hunspell.github.io/" rel="nofollow">Hunspell</a> spell checker.</p>
<p dir="auto"><a href="http://hunspell.github.io/" rel="nofollow">Hunspell</a> is nowadays probably the most widespread standard for spell check layer. It is used on MacOS, Linux and in some software (e.g. LibreOffice) on Windows. It is also used by both Atom and Sublime Text. There is an enormous collection of polished dictionaries for Hunspell.</p>
<p dir="auto">There exists some JavaScript implementations that refer to Hunspell's name but in fact they do not implement critical functionality - lexical parser. I have verified these three:</p>
<p dir="auto"><a href="https://github.com/GitbookIO/hunspell-spellchecker">hunspell-spellchecker</a><br>
<a href="https://github.com/cfinke/Typo.js">Typo.js</a><br>
<a href="https://github.com/wooorm/nspell">nspell</a></p>
<p dir="auto">All three work more or less following a simple idea of loading the dictionary into memory (into a associative table, a.k.a. dictionary, object to be precise). They use the Hunspell's affixes (.aff file) to create ALL variants of the words found in the dictionary (.dic file) and then store them in the memory. When checking spelling dictionary is simply asked whether the word exist or not. Simple, but it has these implications:</p>
<ol dir="auto">
<li>Loading takes a lot of time;</li>
<li>It takes a lot of memory too;</li>
<li>Memory consumption causes them to crash under dictionaries with more expanded affix system (two out of three mentioned, third does not consume all of the affixes).</li>
</ol>
<p dir="auto">For example when running <a href="https://github.com/GitbookIO/hunspell-spellchecker">hunspell-spellchecker</a> (there is a <a href="https://marketplace.visualstudio.com/items?itemName=swyphcosmo.spellchecker" rel="nofollow">SpellChecker</a> extension based on it) with English dictionary ("en_US", 62K+ words in dictionary) memory consumption is in peaks 500 MB and constantly above 250 MB. It crashes under Polish language dictionary ("pl_PL", 300K+ words in dictionary) after reaching about 1.5 GB memory consumed (there are reports about other dictionaries doing the same) with "JavaScript heap out of memory" message hidden well under the hood. Hunspell has a lexical parser which allows it to use these two sets (dictionary and affixes) "on the fly" without the need to merge them thus exploding memory consumption and load time.</p>
<p dir="auto">There is a good spell checker component for node.js, which is actually a bindings for native spell checkers for MacOS (NSSpellChecker), Linux (Hunspell) and Windows (Spell Check API in windows 8+, Hunspell in earlier versions):</p>
<p dir="auto"><a href="https://github.com/atom/node-spellchecker">https://github.com/atom/node-spellchecker</a></p>
<p dir="auto">It is alas a native module.</p>
<p dir="auto">I have built a spell checker using this module. I will rather not publish it because it is quite pointless:</p>
<ul dir="auto">
<li>The extension will (silently) stop working every time the electron or node get a version bump and I cannot guarantee I will always be around to rebuild binary dependencies quickly;</li>
<li>Rebuilding binary dependencies is quite a hassle;</li>
<li>I am unable to reasonably maintain binary dependencies for all three platforms (MacOS, Linux & Windows) - there already is an <a href="https://marketplace.visualstudio.com/items?itemName=adrienjoly.vscode-spellchecker-fr" rel="nofollow">extension</a> which uses this module, but it provides binary dependencies for MacOS only;</li>
<li>Even If I would produce node-spellchecker module using <a href="https://github.com/mapbox/node-pre-gyp">node-pre-gyp</a> with binaries for various platforms if I understand things correctly extension cannot (easily?) install dependent modules using npm (which could also imply having a proper C++ toolchain around in case node-pre-gyp packaged binaries are not sufficient). Binaries are packaged and simply get downloaded along with the extension.</li>
</ul>
<p dir="auto">So I would like you to consider doing something about it.</p>
<p dir="auto">There are few paths I can imagine among them two are most obvious:</p>
<ol dir="auto">
<li>Build the node-spellchecker module along with the VSCode and make it available among "standard" modules that extension developers can count upon (this could result in more than one spell checker extension e.g. for spelling text or latex documents, comments in code etc.);</li>
<li>Provide a way to use native modules among extensions' dependencies.</li>
</ol>
<p dir="auto">I am most probably no one to discuss pros or cons of these alternatives, there are maybe other alternatives that I cannot see, but I think that with the evidence provided it is clear that unless something changes the answer to the question in the title is MOST PROBABLY NOT!</p> | 1 |
<p dir="auto">Challenge <a href="http://beta.freecodecamp.com/en/challenges/applied-visual-design/adjust-the-width-of-an-element-using-the-width-property" rel="nofollow">adjust-the-width-of-an-element-using-the-width-property</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
<style>
h4 {
text-align: center;
}
p {
text-align: justify;
}
.links {
margin-right: 20px;
text-align: left;
}
.fullCard {
> width: 245px; <---- This is what was required, and what I did, but it wasn't accepted as correct.
border: 1px solid #ccc;
border-radius: 5px;
margin: 10px 5px;
padding: 4px;
}
.cardContent {
padding: 10px;
}
</style>
<div class="fullCard">
<div class="cardContent">
<div class="cardText">
<h4>Google</h4>
<p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
</div>
<div class="cardLinks">
<a href="https://en.wikipedia.org/wiki/Larry_Page" class="links">Larry Page</a>
<a href="https://en.wikipedia.org/wiki/Sergey_Brin" class="links">Sergey Brin</a>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">style</span><span class="pl-kos">></span>
<span class="pl-ent">h4</span> {
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> center;
}
<span class="pl-ent">p</span> {
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> justify;
}
.<span class="pl-c1">links</span> {
<span class="pl-c1">margin-right</span><span class="pl-kos">:</span> <span class="pl-c1">20<span class="pl-smi">px</span></span>;
<span class="pl-c1">text-align</span><span class="pl-kos">:</span> left;
}
.<span class="pl-c1">fullCard</span> {<span class="pl-ent"></span><span class="pl-c1"></span>
<span class="pl-c1">></span> <span class="pl-ent">width</span><span class="pl-kos">:</span> 245px; <<span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span> <span class="pl-ent">This</span> <span class="pl-ent">is</span> <span class="pl-ent">what</span> <span class="pl-ent">was</span> <span class="pl-ent">required</span><span class="pl-kos">,</span> <span class="pl-ent">and</span> <span class="pl-ent">what</span> <span class="pl-ent">I</span> <span class="pl-ent">did</span><span class="pl-kos">,</span> <span class="pl-ent">but</span> <span class="pl-ent">it</span> <span class="pl-ent">wasn</span>'t accepted as correct.
<span class="pl-ent">border</span><span class="pl-kos">:</span> 1px <span class="pl-ent">solid</span> <span class="pl-kos">#</span><span class="pl-c1">ccc</span>;
<span class="pl-ent">border-radius</span><span class="pl-kos">:</span> 5px;
<span class="pl-ent">margin</span><span class="pl-kos">:</span> 10px 5px;
<span class="pl-ent">padding</span><span class="pl-kos">:</span> 4px;
}
.<span class="pl-c1">cardContent</span> {
<span class="pl-c1">padding</span><span class="pl-kos">:</span> <span class="pl-c1">10<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">div</span> <span class="pl-c1">class</span>="<span class="pl-s">fullCard</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">cardContent</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">cardText</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>Google<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">p</span><span class="pl-kos">></span>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.<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">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">cardLinks</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">https://en.wikipedia.org/wiki/Larry_Page</span>" <span class="pl-c1">class</span>="<span class="pl-s">links</span>"<span class="pl-kos">></span>Larry Page<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">a</span> <span class="pl-c1">href</span>="<span class="pl-s">https://en.wikipedia.org/wiki/Sergey_Brin</span>" <span class="pl-c1">class</span>="<span class="pl-s">links</span>"<span class="pl-kos">></span>Sergey Brin<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">div</span><span class="pl-kos">></span></pre></div> | <h4 dir="auto">Challenge Name</h4>
<p dir="auto">Applied Visual Design: Adjust the Width of an Element Using the Width Property</p>
<h4 dir="auto">Issue Description</h4>
<p dir="auto">When the instructions are done, test doesn't recognise it.</p>
<h4 dir="auto">Browser Information</h4>
<ul dir="auto">
<li>Browser Name: Chrome,</li>
<li>Operating System: Windows 10</li>
</ul> | 1 |
<p dir="auto">The purpose of <code class="notranslate">--filter</code> is to focus on only a few tests. This is way too much noise:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="> deno test -A --filter "streaming api errors while streaming"
Check file:///V:/dax/mod.test.ts
Check file:///V:/dax/src/commands/args.test.ts
Check file:///V:/dax/src/commands/mkdir.test.ts
Check file:///V:/dax/src/commands/pwd.test.ts
Check file:///V:/dax/src/commands/rm.test.ts
Check file:///V:/dax/src/commands/test.ts
Check file:///V:/dax/src/common.test.ts
Check file:///V:/dax/src/console/confirm.test.ts
Check file:///V:/dax/src/console/multiSelect.test.ts
Check file:///V:/dax/src/console/progress/format.test.ts
Check file:///V:/dax/src/console/progress/mod.test.ts
Check file:///V:/dax/src/console/prompt.test.ts
Check file:///V:/dax/src/console/select.test.ts
Check file:///V:/dax/src/deps.test.ts
Check file:///V:/dax/src/pipes.test.ts
Check file:///V:/dax/src/request.test.ts
running 1 test from ./mod.test.ts
streaming api errors while streaming ...
Uncaught error from ./mod.test.ts FAILED
should get stdout when piped ... cancelled (0ms)
should escape arguments ... cancelled (0ms)
should not get stdout when inherited (default) ... cancelled (0ms)
should not get stdout when null ... cancelled (0ms)
should capture stdout when piped ... cancelled (0ms)
should capture stdout when inherited and piped ... cancelled (0ms)
should not get stderr when inherited only (default) ... cancelled (0ms)
should not get stderr when null ... cancelled (0ms)
should capture stderr when piped ... cancelled (0ms)
should capture stderr when inherited and piped ... cancelled (0ms)
should get combined stdout and stderr when specified ... cancelled (0ms)
should not get combined stdout and stderr when not calling combined output ... cancelled (0ms)
should error setting stdout after getting combined output ... cancelled (0ms)
should throw when exit code is non-zero ... cancelled (0ms)
should change the cwd, but only in the shell ... cancelled (0ms)
allow setting env ... cancelled (0ms)
allow setting multiple env ... cancelled (0ms)
set var for command ... cancelled (0ms)
variable substitution ... cancelled (0ms)
stdoutJson ... cancelled (0ms)
CommandBuilder#json() ... cancelled (0ms)
stderrJson ... cancelled (0ms)
should handle interpolation ... cancelled (0ms)
should handle interpolation beside args ... cancelled (0ms)
should handle providing array of arguments ... cancelled (0ms)
raw should handle providing array of arguments ... cancelled (0ms)
raw should handle text provided ... cancelled (0ms)
raw should handle command result ... cancelled (0ms)
command builder should build ... cancelled (0ms)
build with extras ... cancelled (0ms)
build with extras overriding the defaults ... cancelled (0ms)
should handle boolean list 'or' ... cancelled (0ms)
should handle boolean list 'and' ... cancelled (0ms)
should support custom command handlers ... cancelled (0ms)
should not allow invalid command names ... cancelled (0ms)
should unregister commands ... cancelled (0ms)
sleep command ... cancelled (0ms)
test command ... cancelled (0ms)
exit command ... cancelled (0ms)
should provide result from one command to another ... cancelled (0ms)
should actually change the environment when using .exportEnv() ... cancelled (0ms)
exporting env should modify real environment when something changed via the api ... cancelled (0ms)
cwd should be resolved based on cwd at time of method call and not execution ... cancelled (0ms)
should handle the PWD variable ... cancelled (0ms)
timeout ... cancelled (0ms)
piping to stdin ... cancelled (0ms)
streaming api not piped ... cancelled (0ms)
streaming api then non-streaming should error ... cancelled (0ms)
streaming api ... cancelled (0ms)
streaming api errors while streaming ... cancelled (0ms)
command args ... cancelled (0ms)
command .lines() ... cancelled (0ms)
shebang support ... cancelled (0ms)
basic logging test to ensure no errors ... cancelled (0ms)
setting logging ... cancelled (0ms)
printCommand ... cancelled (0ms)
environment should be evaluated at command execution ... cancelled (0ms)
test remove ... cancelled (0ms)
test mkdir ... cancelled (0ms)
copy test ... cancelled (0ms)
move test ... cancelled (0ms)
pwd: pwd ... cancelled (0ms)
progress ... cancelled (0ms)
$.commandExists ... cancelled (0ms)
$.commandExistsSync ... cancelled (0ms)
$.stripAnsi ... cancelled (0ms)
$.dedent ... cancelled (0ms)
running 0 tests from ./src/commands/args.test.ts
running 0 tests from ./src/commands/mkdir.test.ts
running 0 tests from ./src/commands/pwd.test.ts
running 0 tests from ./src/commands/rm.test.ts
running 0 tests from ./src/commands/test.ts
running 0 tests from ./src/common.test.ts
running 0 tests from ./src/console/confirm.test.ts
running 0 tests from ./src/console/multiSelect.test.ts
running 0 tests from ./src/console/progress/format.test.ts
running 0 tests from ./src/console/progress/mod.test.ts
running 0 tests from ./src/console/prompt.test.ts
running 0 tests from ./src/console/select.test.ts
running 0 tests from ./src/deps.test.ts
running 0 tests from ./src/pipes.test.ts
running 0 tests from ./src/request.test.ts
ERRORS
./mod.test.ts (uncaught error)
error: (in promise) Error: Exited with code: 1
throw new Error(`Exited with code: ${code}`);
^
at CommandChild.pipedStdoutBuffer (file:///V:/dax/src/command.ts:545:17)
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./mod.test.ts (uncaught error)
FAILED | 0 passed | 68 failed | 90 filtered out (816ms)
error: Test failed"><pre class="notranslate"><code class="notranslate">> deno test -A --filter "streaming api errors while streaming"
Check file:///V:/dax/mod.test.ts
Check file:///V:/dax/src/commands/args.test.ts
Check file:///V:/dax/src/commands/mkdir.test.ts
Check file:///V:/dax/src/commands/pwd.test.ts
Check file:///V:/dax/src/commands/rm.test.ts
Check file:///V:/dax/src/commands/test.ts
Check file:///V:/dax/src/common.test.ts
Check file:///V:/dax/src/console/confirm.test.ts
Check file:///V:/dax/src/console/multiSelect.test.ts
Check file:///V:/dax/src/console/progress/format.test.ts
Check file:///V:/dax/src/console/progress/mod.test.ts
Check file:///V:/dax/src/console/prompt.test.ts
Check file:///V:/dax/src/console/select.test.ts
Check file:///V:/dax/src/deps.test.ts
Check file:///V:/dax/src/pipes.test.ts
Check file:///V:/dax/src/request.test.ts
running 1 test from ./mod.test.ts
streaming api errors while streaming ...
Uncaught error from ./mod.test.ts FAILED
should get stdout when piped ... cancelled (0ms)
should escape arguments ... cancelled (0ms)
should not get stdout when inherited (default) ... cancelled (0ms)
should not get stdout when null ... cancelled (0ms)
should capture stdout when piped ... cancelled (0ms)
should capture stdout when inherited and piped ... cancelled (0ms)
should not get stderr when inherited only (default) ... cancelled (0ms)
should not get stderr when null ... cancelled (0ms)
should capture stderr when piped ... cancelled (0ms)
should capture stderr when inherited and piped ... cancelled (0ms)
should get combined stdout and stderr when specified ... cancelled (0ms)
should not get combined stdout and stderr when not calling combined output ... cancelled (0ms)
should error setting stdout after getting combined output ... cancelled (0ms)
should throw when exit code is non-zero ... cancelled (0ms)
should change the cwd, but only in the shell ... cancelled (0ms)
allow setting env ... cancelled (0ms)
allow setting multiple env ... cancelled (0ms)
set var for command ... cancelled (0ms)
variable substitution ... cancelled (0ms)
stdoutJson ... cancelled (0ms)
CommandBuilder#json() ... cancelled (0ms)
stderrJson ... cancelled (0ms)
should handle interpolation ... cancelled (0ms)
should handle interpolation beside args ... cancelled (0ms)
should handle providing array of arguments ... cancelled (0ms)
raw should handle providing array of arguments ... cancelled (0ms)
raw should handle text provided ... cancelled (0ms)
raw should handle command result ... cancelled (0ms)
command builder should build ... cancelled (0ms)
build with extras ... cancelled (0ms)
build with extras overriding the defaults ... cancelled (0ms)
should handle boolean list 'or' ... cancelled (0ms)
should handle boolean list 'and' ... cancelled (0ms)
should support custom command handlers ... cancelled (0ms)
should not allow invalid command names ... cancelled (0ms)
should unregister commands ... cancelled (0ms)
sleep command ... cancelled (0ms)
test command ... cancelled (0ms)
exit command ... cancelled (0ms)
should provide result from one command to another ... cancelled (0ms)
should actually change the environment when using .exportEnv() ... cancelled (0ms)
exporting env should modify real environment when something changed via the api ... cancelled (0ms)
cwd should be resolved based on cwd at time of method call and not execution ... cancelled (0ms)
should handle the PWD variable ... cancelled (0ms)
timeout ... cancelled (0ms)
piping to stdin ... cancelled (0ms)
streaming api not piped ... cancelled (0ms)
streaming api then non-streaming should error ... cancelled (0ms)
streaming api ... cancelled (0ms)
streaming api errors while streaming ... cancelled (0ms)
command args ... cancelled (0ms)
command .lines() ... cancelled (0ms)
shebang support ... cancelled (0ms)
basic logging test to ensure no errors ... cancelled (0ms)
setting logging ... cancelled (0ms)
printCommand ... cancelled (0ms)
environment should be evaluated at command execution ... cancelled (0ms)
test remove ... cancelled (0ms)
test mkdir ... cancelled (0ms)
copy test ... cancelled (0ms)
move test ... cancelled (0ms)
pwd: pwd ... cancelled (0ms)
progress ... cancelled (0ms)
$.commandExists ... cancelled (0ms)
$.commandExistsSync ... cancelled (0ms)
$.stripAnsi ... cancelled (0ms)
$.dedent ... cancelled (0ms)
running 0 tests from ./src/commands/args.test.ts
running 0 tests from ./src/commands/mkdir.test.ts
running 0 tests from ./src/commands/pwd.test.ts
running 0 tests from ./src/commands/rm.test.ts
running 0 tests from ./src/commands/test.ts
running 0 tests from ./src/common.test.ts
running 0 tests from ./src/console/confirm.test.ts
running 0 tests from ./src/console/multiSelect.test.ts
running 0 tests from ./src/console/progress/format.test.ts
running 0 tests from ./src/console/progress/mod.test.ts
running 0 tests from ./src/console/prompt.test.ts
running 0 tests from ./src/console/select.test.ts
running 0 tests from ./src/deps.test.ts
running 0 tests from ./src/pipes.test.ts
running 0 tests from ./src/request.test.ts
ERRORS
./mod.test.ts (uncaught error)
error: (in promise) Error: Exited with code: 1
throw new Error(`Exited with code: ${code}`);
^
at CommandChild.pipedStdoutBuffer (file:///V:/dax/src/command.ts:545:17)
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./mod.test.ts (uncaught error)
FAILED | 0 passed | 68 failed | 90 filtered out (816ms)
error: Test failed
</code></pre></div>
<p dir="auto">At the minimum, we should remove all those "cancelled" test outputs and maybe only say how many tests were ignored in a file with matches. For files with zero matches, we could maybe have some progress message output that gets overwritten and finalizes saying how many files were ignored.</p> | <h3 dir="auto">Current</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/m/a/P/g/d/deno ❯❯❯ cargo run test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
Running `target/debug/deno test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody`
running 1 test from ./cli/tests/unit/fetch_test.ts
fetchInitFormDataMultipleFilesBody ...
Uncaught error from ./cli/tests/unit/fetch_test.ts FAILED
fetchRequiresOneArgument ... cancelled (0ms)
fetchProtocolError ... cancelled (0ms)
fetchConnectionError ... cancelled (0ms)
fetchDnsError ... cancelled (0ms)
fetchInvalidUriError ... cancelled (0ms)
fetchJsonSuccess ... cancelled (0ms)
fetchPerm ... cancelled (0ms)
fetchUrl ... cancelled (0ms)
fetchURL ... cancelled (0ms)
fetchHeaders ... cancelled (0ms)
fetchBlob ... cancelled (0ms)
fetchBodyUsedReader ... cancelled (0ms)
fetchBodyUsedCancelStream ... cancelled (0ms)
fetchAsyncIterator ... cancelled (0ms)
fetchBodyReader ... cancelled (0ms)
fetchBodyReaderBigBody ... cancelled (0ms)
responseClone ... cancelled (0ms)
fetchMultipartFormDataSuccess ... cancelled (0ms)
fetchMultipartFormBadContentType ... cancelled (0ms)
fetchURLEncodedFormDataSuccess ... cancelled (0ms)
fetchInitFormDataBinaryFileBody ... cancelled (0ms)
fetchInitFormDataMultipleFilesBody ... cancelled (0ms)
fetchWithRedirection ... cancelled (0ms)
fetchWithRelativeRedirection ... cancelled (0ms)
fetchWithRelativeRedirectionUrl ... cancelled (0ms)
fetchWithInfRedirection ... cancelled (0ms)
fetchInitStringBody ... cancelled (0ms)
fetchRequestInitStringBody ... cancelled (0ms)
fetchSeparateInit ... cancelled (0ms)
fetchInitTypedArrayBody ... cancelled (0ms)
fetchInitArrayBufferBody ... cancelled (0ms)
fetchInitURLSearchParamsBody ... cancelled (0ms)
fetchInitBlobBody ... cancelled (0ms)
fetchInitFormDataBody ... cancelled (0ms)
fetchInitFormDataBlobFilenameBody ... cancelled (0ms)
fetchInitFormDataTextFileBody ... cancelled (0ms)
fetchUserAgent ... cancelled (0ms)
fetchRequest ... cancelled (0ms)
fetchRequestAcceptHeaders ... cancelled (0ms)
fetchPostBodyString ... cancelled (0ms)
fetchPostBodyTypedArray ... cancelled (0ms)
fetchUserSetContentLength ... cancelled (0ms)
fetchUserSetTransferEncoding ... cancelled (0ms)
fetchWithNonAsciiRedirection ... cancelled (0ms)
fetchWithManualRedirection ... cancelled (0ms)
fetchWithErrorRedirection ... cancelled (0ms)
responseRedirect ... cancelled (0ms)
responseRedirectTakeURLObjectAsParameter ... cancelled (0ms)
responseWithoutBody ... cancelled (0ms)
fetchBodyReadTwice ... cancelled (0ms)
fetchBodyReaderAfterRead ... cancelled (0ms)
fetchBodyReaderWithCancelAndNewReader ... cancelled (0ms)
fetchBodyReaderWithReadCancelAndNewReader ... cancelled (0ms)
fetchResourceCloseAfterStreamCancel ... cancelled (0ms)
fetchNullBodyStatus ... cancelled (0ms)
fetchResponseContentLength ... cancelled (0ms)
fetchResponseConstructorNullBody ... cancelled (0ms)
fetchResponseConstructorInvalidStatus ... cancelled (0ms)
fetchResponseEmptyConstructor ... cancelled (0ms)
fetchCustomHttpClientParamCertificateSuccess ... cancelled (0ms)
fetchCustomClientUserAgent ... cancelled (0ms)
fetchPostBodyReadableStream ... cancelled (0ms)
fetchWritableRespProps ... cancelled (0ms)
fetchFilterOutCustomHostHeader ... cancelled (0ms)
fetchNoServerReadableStreamBody ... cancelled (0ms)
fetchHeadRespBody ... cancelled (0ms)
fetchClientCertWrongPrivateKey ... cancelled (0ms)
fetchClientCertBadPrivateKey ... cancelled (0ms)
fetchClientCertNotPrivateKey ... cancelled (0ms)
fetchCustomClientPrivateKey ... cancelled (0ms)
fetchAbortWhileUploadStreaming ... cancelled (0ms)
fetchAbortWhileUploadStreamingWithReason ... cancelled (0ms)
fetchAbortWhileUploadStreamingWithPrimitiveReason ... cancelled (0ms)
fetchHeaderValueShouldNotPanic ... cancelled (0ms)
fetchHeaderNameShouldNotPanic ... cancelled (0ms)
fetchSupportsHttp1Only ... cancelled (0ms)
fetchSupportsHttp2 ... cancelled (0ms)
fetchPrefersHttp2 ... cancelled (0ms)
fetchFilePerm ... cancelled (0ms)
fetchFilePermDoesNotExist ... cancelled (0ms)
fetchFileBadMethod ... cancelled (0ms)
fetchFileDoesNotExist ... cancelled (0ms)
fetchFile ... cancelled (0ms)
fetchContentLengthPost ... cancelled (0ms)
fetchContentLengthPut ... cancelled (0ms)
fetchContentLengthPatch ... cancelled (0ms)
fetchContentLengthPostWithStringBody ... cancelled (0ms)
fetchContentLengthPostWithBufferBody ... cancelled (0ms)
staticResponseJson ... cancelled (0ms)
fetchWithInvalidContentLengthAndTransferEncoding ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchBlobUrl ... cancelled (0ms)
fetchResponseStreamIsLockedWhileReading ... cancelled (0ms)
fetchConstructorClones ... cancelled (0ms)
fetchRequestBodyErrorCatchable ... cancelled (0ms)
ERRORS
./cli/tests/unit/fetch_test.ts (uncaught error)
error: (in promise) TypeError: request body receiver not connected (request closed)
at async deno:ext/fetch/26_fetch.js:251:42
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./cli/tests/unit/fetch_test.ts (uncaught error)
FAILED | 0 passed | 98 failed | 96 filtered out (100ms)
error: Test failed"><pre class="notranslate"><code class="notranslate">/m/a/P/g/d/deno ❯❯❯ cargo run test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
Running `target/debug/deno test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody`
running 1 test from ./cli/tests/unit/fetch_test.ts
fetchInitFormDataMultipleFilesBody ...
Uncaught error from ./cli/tests/unit/fetch_test.ts FAILED
fetchRequiresOneArgument ... cancelled (0ms)
fetchProtocolError ... cancelled (0ms)
fetchConnectionError ... cancelled (0ms)
fetchDnsError ... cancelled (0ms)
fetchInvalidUriError ... cancelled (0ms)
fetchJsonSuccess ... cancelled (0ms)
fetchPerm ... cancelled (0ms)
fetchUrl ... cancelled (0ms)
fetchURL ... cancelled (0ms)
fetchHeaders ... cancelled (0ms)
fetchBlob ... cancelled (0ms)
fetchBodyUsedReader ... cancelled (0ms)
fetchBodyUsedCancelStream ... cancelled (0ms)
fetchAsyncIterator ... cancelled (0ms)
fetchBodyReader ... cancelled (0ms)
fetchBodyReaderBigBody ... cancelled (0ms)
responseClone ... cancelled (0ms)
fetchMultipartFormDataSuccess ... cancelled (0ms)
fetchMultipartFormBadContentType ... cancelled (0ms)
fetchURLEncodedFormDataSuccess ... cancelled (0ms)
fetchInitFormDataBinaryFileBody ... cancelled (0ms)
fetchInitFormDataMultipleFilesBody ... cancelled (0ms)
fetchWithRedirection ... cancelled (0ms)
fetchWithRelativeRedirection ... cancelled (0ms)
fetchWithRelativeRedirectionUrl ... cancelled (0ms)
fetchWithInfRedirection ... cancelled (0ms)
fetchInitStringBody ... cancelled (0ms)
fetchRequestInitStringBody ... cancelled (0ms)
fetchSeparateInit ... cancelled (0ms)
fetchInitTypedArrayBody ... cancelled (0ms)
fetchInitArrayBufferBody ... cancelled (0ms)
fetchInitURLSearchParamsBody ... cancelled (0ms)
fetchInitBlobBody ... cancelled (0ms)
fetchInitFormDataBody ... cancelled (0ms)
fetchInitFormDataBlobFilenameBody ... cancelled (0ms)
fetchInitFormDataTextFileBody ... cancelled (0ms)
fetchUserAgent ... cancelled (0ms)
fetchRequest ... cancelled (0ms)
fetchRequestAcceptHeaders ... cancelled (0ms)
fetchPostBodyString ... cancelled (0ms)
fetchPostBodyTypedArray ... cancelled (0ms)
fetchUserSetContentLength ... cancelled (0ms)
fetchUserSetTransferEncoding ... cancelled (0ms)
fetchWithNonAsciiRedirection ... cancelled (0ms)
fetchWithManualRedirection ... cancelled (0ms)
fetchWithErrorRedirection ... cancelled (0ms)
responseRedirect ... cancelled (0ms)
responseRedirectTakeURLObjectAsParameter ... cancelled (0ms)
responseWithoutBody ... cancelled (0ms)
fetchBodyReadTwice ... cancelled (0ms)
fetchBodyReaderAfterRead ... cancelled (0ms)
fetchBodyReaderWithCancelAndNewReader ... cancelled (0ms)
fetchBodyReaderWithReadCancelAndNewReader ... cancelled (0ms)
fetchResourceCloseAfterStreamCancel ... cancelled (0ms)
fetchNullBodyStatus ... cancelled (0ms)
fetchResponseContentLength ... cancelled (0ms)
fetchResponseConstructorNullBody ... cancelled (0ms)
fetchResponseConstructorInvalidStatus ... cancelled (0ms)
fetchResponseEmptyConstructor ... cancelled (0ms)
fetchCustomHttpClientParamCertificateSuccess ... cancelled (0ms)
fetchCustomClientUserAgent ... cancelled (0ms)
fetchPostBodyReadableStream ... cancelled (0ms)
fetchWritableRespProps ... cancelled (0ms)
fetchFilterOutCustomHostHeader ... cancelled (0ms)
fetchNoServerReadableStreamBody ... cancelled (0ms)
fetchHeadRespBody ... cancelled (0ms)
fetchClientCertWrongPrivateKey ... cancelled (0ms)
fetchClientCertBadPrivateKey ... cancelled (0ms)
fetchClientCertNotPrivateKey ... cancelled (0ms)
fetchCustomClientPrivateKey ... cancelled (0ms)
fetchAbortWhileUploadStreaming ... cancelled (0ms)
fetchAbortWhileUploadStreamingWithReason ... cancelled (0ms)
fetchAbortWhileUploadStreamingWithPrimitiveReason ... cancelled (0ms)
fetchHeaderValueShouldNotPanic ... cancelled (0ms)
fetchHeaderNameShouldNotPanic ... cancelled (0ms)
fetchSupportsHttp1Only ... cancelled (0ms)
fetchSupportsHttp2 ... cancelled (0ms)
fetchPrefersHttp2 ... cancelled (0ms)
fetchFilePerm ... cancelled (0ms)
fetchFilePermDoesNotExist ... cancelled (0ms)
fetchFileBadMethod ... cancelled (0ms)
fetchFileDoesNotExist ... cancelled (0ms)
fetchFile ... cancelled (0ms)
fetchContentLengthPost ... cancelled (0ms)
fetchContentLengthPut ... cancelled (0ms)
fetchContentLengthPatch ... cancelled (0ms)
fetchContentLengthPostWithStringBody ... cancelled (0ms)
fetchContentLengthPostWithBufferBody ... cancelled (0ms)
staticResponseJson ... cancelled (0ms)
fetchWithInvalidContentLengthAndTransferEncoding ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchWithInvalidContentLength ... cancelled (0ms)
fetchBlobUrl ... cancelled (0ms)
fetchResponseStreamIsLockedWhileReading ... cancelled (0ms)
fetchConstructorClones ... cancelled (0ms)
fetchRequestBodyErrorCatchable ... cancelled (0ms)
ERRORS
./cli/tests/unit/fetch_test.ts (uncaught error)
error: (in promise) TypeError: request body receiver not connected (request closed)
at async deno:ext/fetch/26_fetch.js:251:42
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./cli/tests/unit/fetch_test.ts (uncaught error)
FAILED | 0 passed | 98 failed | 96 filtered out (100ms)
error: Test failed
</code></pre></div>
<h3 dir="auto">Expected</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/m/a/P/g/d/deno ❯❯❯ cargo run test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
Running `target/debug/deno test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody`
running 1 test from ./cli/tests/unit/fetch_test.ts
fetchInitFormDataMultipleFilesBody ...
Uncaught error from ./cli/tests/unit/fetch_test.ts FAILED
ERRORS
./cli/tests/unit/fetch_test.ts (uncaught error)
error: (in promise) TypeError: request body receiver not connected (request closed)
at async deno:ext/fetch/26_fetch.js:251:42
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./cli/tests/unit/fetch_test.ts (uncaught error)
FAILED | 0 passed | 98 failed | 96 filtered out (100ms)
error: Test failed"><pre class="notranslate"><code class="notranslate">/m/a/P/g/d/deno ❯❯❯ cargo run test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
Running `target/debug/deno test -A --unstable cli/tests/unit/fetch_test.ts --filter fetchInitFormDataMultipleFilesBody`
running 1 test from ./cli/tests/unit/fetch_test.ts
fetchInitFormDataMultipleFilesBody ...
Uncaught error from ./cli/tests/unit/fetch_test.ts FAILED
ERRORS
./cli/tests/unit/fetch_test.ts (uncaught error)
error: (in promise) TypeError: request body receiver not connected (request closed)
at async deno:ext/fetch/26_fetch.js:251:42
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./cli/tests/unit/fetch_test.ts (uncaught error)
FAILED | 0 passed | 98 failed | 96 filtered out (100ms)
error: Test failed
</code></pre></div> | 1 |
<h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: no</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: win10 x64</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: pip install --upgrade tensorflow</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6.0</li>
<li><strong>Python version</strong>: 3.6.4</li>
<li><strong>Bazel version (if compiling from source)</strong>:</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>:</li>
<li><strong>CUDA/cuDNN version</strong>:</li>
<li><strong>GPU model and memory</strong>:</li>
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">I was trying to install tensorflow <strong>cpu version</strong> on windows10, but always got error when import tensorflow.</p>
<p dir="auto">I read the <a href="https://www.tensorflow.org/install/install_windows#common_installation_problems" rel="nofollow">common_installation_problems</a> , tried many solution I found on github, stackoverflow, etc. I install visual studio 2015, visual studio 2017, <a href="https://www.microsoft.com/en-us/download/details.aspx?id=53587" rel="nofollow">Microsoft Visual C++ 2015 Redistributable Update 3</a>(both 32 and 64), msvcp140.dll can find in both System32 and SysWow64 folder. But still can't import tensorflow.</p>
<p dir="auto">Is there something I missed out?</p>
<h3 dir="auto">Source code / logs</h3>
<blockquote>
<p dir="auto">import tensorflow error info:</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help."><pre class="notranslate"><code class="notranslate">Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
</code></pre></div>
<blockquote>
<p dir="auto">run tensorflow_self_check.py result:</p>
</blockquote>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'nvcuda.dll'. The GPU version of TensorFlow requires that
this DLL be installed in a directory that is named in your %PATH%
environment variable. Typically it is installed in 'C:\Windows\System32'.
If it is not present, ensure that you have a CUDA-capable GPU with the
correct driver installed.
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN."><pre class="notranslate"><code class="notranslate">ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\sss\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'nvcuda.dll'. The GPU version of TensorFlow requires that
this DLL be installed in a directory that is named in your %PATH%
environment variable. Typically it is installed in 'C:\Windows\System32'.
If it is not present, ensure that you have a CUDA-capable GPU with the
correct driver installed.
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN.
</code></pre></div> | <h3 dir="auto">System information</h3>
<ul dir="auto">
<li><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>: No, problem appears on import (import tensorflow as tf).</li>
<li><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>: Windows 10 x64</li>
<li><strong>TensorFlow installed from (source or binary)</strong>: binary (pip --no-cache-dir) install --upgrade tensorflow</li>
<li><strong>TensorFlow version (use command below)</strong>: 1.6.0 (install says tensorflow-1.6.0-cp36-cp36m-win_amd64.whl)</li>
<li><strong>Python version</strong>: 3.6.4 x64</li>
<li><strong>Bazel version (if compiling from source)</strong>: n/a</li>
<li><strong>GCC/Compiler version (if compiling from source)</strong>: n/a</li>
<li><strong>CUDA/cuDNN version</strong>: n/a</li>
<li><strong>GPU model and memory</strong>: n/a</li>
<li><strong>Exact command to reproduce</strong>: import tensorflow as tf</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture script:</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh</a></p>
<p dir="auto">You can obtain the TensorFlow version with</p>
<p dir="auto">python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">When installing tensorflow 1.6.0 the import reports problems. See log below. Tried uninstalled r1.6 and reinstalled 1.5.0 to see if something else might be the problem. 1.5.0 works like a charm. Tried a clean install of 1.6.0 without any luck.</p>
<p dir="auto">Ran the 'tensorflow_self_check.py' script. See log below.</p>
<h3 dir="auto">Source code / logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
------------------------
When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.
ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN."><pre class="notranslate"><code class="notranslate">Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
return importlib.import_module('_pywrap_tensorflow_internal')
File "C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
------------------------
When running 'tensorflow_self_check.py' this is what is reported. Supposed to have installed the CPU version so cuda is not installed.
ERROR: Failed to import the TensorFlow module.
- Python version is 3.6.
- TensorFlow is installed at: C:\Users\Jonas\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow
- Could not load 'cudart64_80.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Download and install CUDA 8.0 from
this URL: https://developer.nvidia.com/cuda-toolkit
- Could not load 'cudnn64_5.dll'. The GPU version of TensorFlow
requires that this DLL be installed in a directory that is named in
your %PATH% environment variable. Note that installing cuDNN is a
separate step from installing CUDA, and it is often found in a
different directory from the CUDA DLLs. You may install the
necessary DLL by downloading cuDNN 5.1 from this URL:
https://developer.nvidia.com/cudnn
- Could not find cuDNN.
</code></pre></div> | 1 |
<p dir="auto"><strong><a href="https://jira.spring.io/secure/[email protected]" rel="nofollow">David Sean Taylor</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3426?redirect=false" rel="nofollow">SPR-3426</a></strong> and commented</p>
<p dir="auto">please also see:</p>
<p dir="auto"><a href="http://issues.apache.org/jira/browse/JS2-689" rel="nofollow">http://issues.apache.org/jira/browse/JS2-689</a></p>
<p dir="auto">I know the contention is occurring in Java JDK code, not in Spring itself.<br>
I would like to suggest that Spring provides an improvement: an alternative implementation for multithreaded applications</p>
<p dir="auto">Pasted in issue from Apache JIRA system:</p>
<p dir="auto">It appears that Spring prototype (non-singleton) bean factory creations cause synchronization contention issues under load.<br>
The NavigationalState and PortalURL beans are created several times per request.<br>
Under load with JMeter tests, the synchronization of Java Bean support code (in the JDK), called by Spring's bean factory, was causing severe performance degradation.<br>
Removing this bottleneck improved performance by 5X.<br>
I've attached the Java source from the package java.beans. I believe its these synchronized methods of the java.beans.PropertyEditorManager class that are causing the contention:</p>
<p dir="auto">private static synchronized void initialize() {<br>
private static synchronized void load(Class targetType, String name) {</p>
<p dir="auto">See attached screenshot for performance results before and after removal of prototypes (replaced by constructors).<br>
Using a 4 processor CPU really brings the contention issue to the forefront.</p>
<p dir="auto">When we have hundreds of requests active, there are over 90 blocked threads in the findEditor stack frame:</p>
<p dir="auto">Thread t@98: (state = BLOCKED)</p>
<ul dir="auto">
<li>java.beans.PropertyEditorManager.findEditor(java.lang.Class) <code class="notranslate">@bci</code>=0, line=75 (Compiled frame; information may be imprecise)</li>
<li>org.springframework.beans.TypeConverterDelegate.convertIfNecessary(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Class, java.beans.PropertyDescriptor, org.springframework.core.MethodParameter) <code class="notranslate">@bci</code>=115, line=174 (Compiled frame)</li>
<li>org.springframework.beans.TypeConverterDelegate.convertIfNecessary(java.lang.Object, java.lang.Class, org.springframework.core.MethodParameter) <code class="notranslate">@bci</code>=7, line=95 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.AbstractBeanFactory.doTypeConversionIfNecessary(org.springframework.beans.TypeConverter, java.lang.Object, java.lang.Class, org.springframework.core.MethodParameter) <code class="notranslate">@bci</code>=47, line=761 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(java.lang.String, org.springframework.beans.factory.support.RootBeanDefinition) <code class="notranslate">@bci</code>=191, line=126 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(java.lang.String, org.springframework.beans.factory.support.RootBeanDefinition) <code class="notranslate">@bci</code>=12, line=683 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(java.lang.String, org.springframework.beans.factory.support.RootBeanDefinition, java.lang.Object[]) <code class="notranslate">@bci</code>=224, line=380 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.AbstractBeanFactory.getBean(java.lang.String, java.lang.Class, java.lang.Object[]) <code class="notranslate">@bci</code>=362, line=264 (Compiled frame)</li>
<li>org.springframework.beans.factory.support.AbstractBeanFactory.getBean(java.lang.String, java.lang.Class) <code class="notranslate">@bci</code>=4, line=160 (Compiled frame)</li>
<li>org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent.createURL(javax.servlet.http.HttpServletRequest, java.lang.String) <code class="notranslate">@bci</code>=29, line=131 (Compiled frame)</li>
<li>org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNex</li>
</ul>
<p dir="auto">My first solution was to remove the Spring prototype code and replace it with straight constructors (replacing commented code below):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public PortalURL createURL( HttpServletRequest request, String characterEncoding )
{
//PortalURL url = (PortalURL) beanFactory.getBean(urlBeanName, PortalURL.class); <--- **** used to be one line prototype creation, commented out....
NavigationalStateCodec codec = (NavigationalStateCodec)beanFactory.getBean("NavigationalStateCodec");
JetspeedCache cache = (JetspeedCache)beanFactory.getBean("portletContentCache");
NavigationalState navState = new SessionFullNavigationalState( codec, cache);
PortalContext context = (PortalContext)beanFactory.getBean("PortalContext");
PortalURL url = new PathInfoEncodingPortalURL(navState, context);"><pre class="notranslate"><code class="notranslate">public PortalURL createURL( HttpServletRequest request, String characterEncoding )
{
//PortalURL url = (PortalURL) beanFactory.getBean(urlBeanName, PortalURL.class); <--- **** used to be one line prototype creation, commented out....
NavigationalStateCodec codec = (NavigationalStateCodec)beanFactory.getBean("NavigationalStateCodec");
JetspeedCache cache = (JetspeedCache)beanFactory.getBean("portletContentCache");
NavigationalState navState = new SessionFullNavigationalState( codec, cache);
PortalContext context = (PortalContext)beanFactory.getBean("PortalContext");
PortalURL url = new PathInfoEncodingPortalURL(navState, context);
</code></pre></div>
<p dir="auto">Perhaps it could be configured as:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="public PortalURL createURL( HttpServletRequest request, String characterEncoding )
{
if (useSpringToWireBeans)
{
PortalURL url = (PortalURL) beanFactory.getBean(urlBeanName, PortalURL.class);"><pre class="notranslate"><code class="notranslate">public PortalURL createURL( HttpServletRequest request, String characterEncoding )
{
if (useSpringToWireBeans)
{
PortalURL url = (PortalURL) beanFactory.getBean(urlBeanName, PortalURL.class);
</code></pre></div>
<p dir="auto">}<br>
else<br>
{<br>
NavigationalStateCodec codec = (NavigationalStateCodec)beanFactory.getBean("NavigationalStateCodec");<br>
JetspeedCache cache = (JetspeedCache)beanFactory.getBean("portletContentCache");<br>
NavigationalState navState = new SessionFullNavigationalState( codec, cache);<br>
PortalContext context = (PortalContext)beanFactory.getBean("PortalContext");<br>
PortalURL url = new PathInfoEncodingPortalURL(navState, context);</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 final</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="398074080" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7667" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7667/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7667">#7667</a> Spring performance is insufficient for intensive work at short scopes (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398076947" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8039" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8039/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8039">#8039</a> Improve performance of AbstractBeanFactory for high-concurrent-load applications</li>
</ul> | <p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rstoya05-aop" rel="nofollow">Rossen Stoyanchev</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8410?redirect=false" rel="nofollow">SPR-8410</a></strong> and commented</p>
<p dir="auto">The <code class="notranslate">ContentNegotiatingViewResolver</code> provides a range of options for configuring content negotiation based on the 'Accept' header, by path extension, or by request parameter. However when writing to the response via <code class="notranslate">@ResponseBody</code> only the 'Accept' header is used (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398107200" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12175" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12175/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12175">#12175</a>). Furthermore, it's not possible to combine all options in the request mapping of a single method (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398100331" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11163" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11163/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11163">#11163</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398108565" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12378" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12378/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12378">#12378</a>).</p>
<p dir="auto">This is an umbrella ticket to improve how content negotiation options are configured and to equalize the choices throughout request mappings, <code class="notranslate">@ResponseBody</code> methods, and <code class="notranslate">ContentNegotiatingViewResolver</code>.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 M1</p>
<p dir="auto"><strong>Sub-tasks:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398107985" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12288" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12288/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12288">#12288</a> Allow valid file extension paths for content negotiation to be specified</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112803" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13064" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13064/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13064">#13064</a> Introduce ContentNegotiationStrategy abstraction</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112806" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13065" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13065/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13065">#13065</a> Enhance "produces" condition to use the new ContentNegotiationManager type</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112817" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13066" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13066/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13066">#13066</a> Enhance RequestResponseBodyMethodProcessor and HttpEntityMethodProcessor to use new the ContentNegotiationManager type</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112820" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13067" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13067/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13067">#13067</a> Enhance ContentNegotiatingViewResolver to use the new ContentNegotiationManager type</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112821" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13068" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13068/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13068">#13068</a> Update the MVC Java config and the MVC namespace to support content negotiation options</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113149" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13120" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13120/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13120">#13120</a> Configure PatternsRequestCondition with information that allows it to do a smart suffix pattern match</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113614" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13190" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13190/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13190">#13190</a> Spring MVC - Ability to use a Converter based on the Path Extension instead of Accep Header. (<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="398114213" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13282" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13282/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13282">#13282</a> Allow customization of ContentNegotiatingViewResolver by making some of its methods protected</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398117500" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13791" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13791/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13791">#13791</a> Add extension element to Spring Web MVC <code class="notranslate">@RequestMapping</code> annotation</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398103877" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11658" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11658/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11658">#11658</a> Add content-negotiation to RequestBody and ResponseBody processing (<em><strong>"supersedes"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398100331" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11163" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11163/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11163">#11163</a> <code class="notranslate">@RequestMapping</code> should support accept header and url extension (<em><strong>"supersedes"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398108565" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12378" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12378/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12378">#12378</a> <code class="notranslate">@RequestMapping</code> should support alternative between a header and a url extension (<em><strong>"supersedes"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398107200" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12175" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12175/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12175">#12175</a> Introduce request parameter based content negotiation for ResponseBody / HttpMessageConverter approach (<em><strong>"supersedes"</strong></em>)</li>
</ul>
<p dir="auto">6 votes, 9 watchers</p> | 0 |
<p dir="auto">by <strong><a href="mailto:[email protected]">[email protected]</a></strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
0. upgrade your go to weekly.2011-06-02
1. compile and install somebug.go
2. try to use it
3. look puzzled trying to understand what the error message is trying to say
What is the expected output?
the test should compile or somebug.go should not compile and install in the first place
What do you see instead?
$ gotest
rm -f _test/somebug.a
6g -o _gotest_.6 somebug.go somebug_test.go
rm -f _test/somebug.a
gopack grc _test/somebug.a _gotest_.6
_testmain.go:3: syntax error: unexpected ., expecting )
gotest: "/opt/go/bin/6g -I _test _testmain.go" failed: exit status 1
Which compiler are you using (5g, 6g, 8g, gccgo)?
tested with 6g/8g
Which operating system are you using?
Ubuntu Linux
Which revision are you using? (hg identify)
3418f22c39eb weekly/weekly.2011-06-02
Please provide any additional information below.
Redefining the interface in any of these ways makes the problem go away:
weird(in IType) (_ IType)
weird(in IType) (IType, ok bool)
weird(in IType) (unused IType, ok bool)</pre>
<p dir="auto">Attachments:</p>
<ol dir="auto">
<li><a href="https://storage.googleapis.com/go-attachment/1915/0/somebug.go" rel="nofollow">somebug.go</a> (90 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/1915/0/somebug_test.go" rel="nofollow">somebug_test.go</a> (73 bytes)</li>
<li><a href="https://storage.googleapis.com/go-attachment/1915/0/Makefile" rel="nofollow">Makefile</a> (95 bytes)</li>
</ol> | <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat $GOPATH/src/p/p.go
package p
type S struct{ R int }
type T struct{ *S }
func F(t T) int { return t.R }"><pre class="notranslate"><code class="notranslate">$ cat $GOPATH/src/p/p.go
package p
type S struct{ R int }
type T struct{ *S }
func F(t T) int { return t.R }
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat template.go
package p
import "p"
func before(t p.T) int { return t.R }
func after(t p.T) int { return t.S.R }"><pre class="notranslate"><code class="notranslate">$ cat template.go
package p
import "p"
func before(t p.T) int { return t.R }
func after(t p.T) int { return t.S.R }
</code></pre></div>
<p dir="auto">Run with <code class="notranslate">eg -t template.go junk</code> produces:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="package p
type S struct{ R int }
type T struct{ *S }
func F(t T) int { return t.S.S.R }"><pre class="notranslate"><code class="notranslate">package p
type S struct{ R int }
type T struct{ *S }
func F(t T) int { return t.S.S.R }
</code></pre></div>
<p dir="auto">One too many .S.</p> | 0 |
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">[1331/2730] Building CXX object caffe2\CMakeFiles\torch_cpu.dir\core\blob_serialization.cc.obj<br>
FAILED: caffe2/CMakeFiles/torch_cpu.dir/core/blob_serialization.cc.obj<br>
C:\PROGRA<del>2\MICROS</del>4\2019\COMMUN<del>1\VC\Tools\MSVC\1424</del>1.283\bin\Hostx64\x64\cl.exe /nologo /TP -DAT_PARALLEL_OPENMP=1 -DCPUINFO_SUPPORTED_PLATFORM=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -Dtorch_cpu_EXPORTS -Iaten\src -I..\aten\src -I. -I..\ -I..\cmake..\third_party\benchmark\include -Icaffe2\contrib\aten -I..\third_party\onnx -Ithird_party\onnx -I..\third_party\foxi -Ithird_party\foxi -I..\caffe2..\torch\csrc\api -I..\caffe2..\torch\csrc\api\include -I..\caffe2\aten\src\TH -Icaffe2\aten\src\TH -I..\caffe2..\torch..\aten\src -Icaffe2\aten\src -Icaffe2..\aten\src -Icaffe2..\aten\src\ATen -I..\caffe2..\torch\csrc -I..\caffe2..\torch..\third_party\miniz-2.0.8 -I..\aten\src\TH -I..\aten..\third_party\catch\single_include -I..\aten\src\ATen.. -Icaffe2\aten\src\ATen -I..\third_party\miniz-2.0.8 -I..\caffe2\core\nomnigraph\include -I..\c10.. -I..\third_party\cpuinfo\include -I..\third_party\FP16\include -I..\cmake..\third_party\googletest\googlemock\include -I..\cmake..\third_party\googletest\googletest\include -I..\third_party\protobuf\src -I..\cmake..\third_party\eigen -ID:\Aanaconda3\include -ID:\Aanaconda3\lib\site-packages\numpy\core\include -I..\cmake..\third_party\pybind11\include -I\opt\rocm\hip\include -I\include -I..\cmake..\third_party\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I..\caffe2 /DWIN32 /D_WINDOWS /GR /w /EHa /MP /bigobj -openmp:experimental -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /w /EHa /MP /bigobj -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD /Z7 /EHa /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -O2 -DCAFFE2_BUILD_MAIN_LIB -DONNX_BUILD_MAIN_LIB -std:c++14 /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\core\blob_serialization.cc.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c ..\caffe2\core\blob_serialization.cc<br>
D:\code\Obj_tracking\pytorch\caffe2/core/context_base.h(92): error C2338: CopyToCPU requires fundamental types<br>
..\caffe2\core\blob_serialization.cc(602): note: 查看对正在编译的函数 模板 实例化“void at::BaseContext::CopyToCPUc10::Half(size_t,const T *,T *)”的引用<br>
with<br>
[<br>
T=c10::Half<br>
]<br>
ninja: build stopped: subcommand failed.<br>
-- Building version 1.4.0a0+190dac1<br>
cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=D:\code\Obj_tracking\pytorch\torch -DCMAKE_PREFIX_PATH=D:\Aanaconda3\Lib\site-packages -DNUMPY_INCLUDE_DIR=D:\Aanaconda3\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=D:\Aanaconda3\python.exe -DPYTHON_INCLUDE_DIR=D:\Aanaconda3\include -DPYTHON_LIBRARY=D:\Aanaconda3/libs/python37.lib -DTORCH_BUILD_VERSION=1.4.0a0+190dac1 -DUSE_NUMPY=True D:\code\Obj_tracking\pytorch<br>
cmake --build . --target install --config Release -- -j 32<br>
Traceback (most recent call last):<br>
File "setup.py", line 755, in <br>
build_deps()<br>
File "setup.py", line 316, in build_deps<br>
cmake=cmake)<br>
File "D:\code\Obj_tracking\pytorch\tools\build_pytorch_libs.py", line 62, in build_caffe2<br>
cmake.build(my_env)<br>
File "D:\code\Obj_tracking\pytorch\tools\setup_helpers\cmake.py", line 337, in build<br>
self.run(build_args, my_env)<br>
File "D:\code\Obj_tracking\pytorch\tools\setup_helpers\cmake.py", line 141, in run<br>
check_call(command, cwd=self.build_dir, env=env)<br>
File "D:\Aanaconda3\lib\subprocess.py", line 347, in check_call<br>
raise CalledProcessError(retcode, cmd)<br>
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '32']' returned non-zero exit status 1.<br>
Here is the build.log</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<p dir="auto">1.git clone --recursive <a href="https://github.com/pytorch/pytorch">https://github.com/pytorch/pytorch</a><br>
2.cd pytorch<br>
3.python setup.py install</p>
<h2 dir="auto">Expected</h2>
<blockquote>
<p dir="auto">behavior</p>
</blockquote>
<h2 dir="auto">Environment</h2>
<p dir="auto">Collecting environment information...<br>
PyTorch version: N/A<br>
Is debug build: N/A<br>
CUDA used to build PyTorch: N/A</p>
<p dir="auto">OS: Microsoft Windows 10<br>
GCC version: (MinGW.org GCC-8.2.0-5) 8.2.0<br>
CMake version: version 3.16.0</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: N/A<br>
CUDA runtime version: 10.1.243<br>
GPU models and configuration: GPU 0: GeForce GTX TITAN X<br>
Nvidia driver version: 426.00<br>
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\cudnn64_7.dll</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip] numpy==1.16.5<br>
[pip] numpydoc==0.9.1<br>
[conda] blas 1.0 mkl<br>
[conda] mkl 2019.4 245<br>
[conda] mkl-include 2019.4 245<br>
[conda] mkl-service 2.3.0 py37hb782905_0<br>
[conda] mkl_fft 1.0.14 py37h14836fe_0<br>
[conda] mkl_random 1.1.0 py37h675688f_0</p>
<h2 dir="auto">Additional context</h2> | <h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2>
<p dir="auto">For some days, I have a broken build on Windows (cf. appended error message)</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">Steps to reproduce the behavior:</p>
<ol dir="auto">
<li>Pull master, submodules etc.</li>
<li>(Opt.) clear build directory</li>
<li>Build pytorch</li>
</ol>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">A finishing build</p>
<h2 dir="auto">Environment</h2>
<p dir="auto">PyTorch version: N/A<br>
Is debug build: N/A<br>
CUDA used to build PyTorch: N/A</p>
<p dir="auto">OS: Microsoft Windows 10 Pro<br>
GCC version: Could not collect<br>
CMake version: version 3.16.0</p>
<p dir="auto">Python version: 3.7<br>
Is CUDA available: N/A<br>
CUDA runtime version: 10.2.89<br>
GPU models and configuration: GPU 0: Quadro M1200<br>
Nvidia driver version: 441.28<br>
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn64_7.dll</p>
<p dir="auto">Versions of relevant libraries:<br>
[pip3] msgpack-numpy==0.4.4.3</p>
<p dir="auto">[pip3] numpy==1.17.4+mkl</p>
<p dir="auto">[pip3] numpydoc==0.9.1</p>
<p dir="auto">[pip3] torch==1.3.1 # I don't know, what this means - my pip call lists the same development version as conda</p>
<p dir="auto">[pip3] torchvision==0.4.2<br>
[conda] blas 1.0 mkl</p>
<p dir="auto">[conda] libblas 3.8.0 14_mkl conda-forge</p>
<p dir="auto">[conda] libcblas 3.8.0 14_mkl conda-forge</p>
<p dir="auto">[conda] liblapack 3.8.0 14_mkl conda-forge</p>
<p dir="auto">[conda] liblapacke 3.8.0 14_mkl conda-forge</p>
<p dir="auto">[conda] mkl 2019.4 245</p>
<p dir="auto">[conda] mkl-include 2019.4 245</p>
<p dir="auto">[conda] mkl-service 2.3.0 py37hfa6e2cd_0 conda-forge</p>
<p dir="auto">[conda] pytorch-sphinx-theme 0.0.24 dev_0 </p>
<p dir="auto">[conda] torch 1.4.0a0+6e145b4 pypi_0 pypi</p>
<p dir="auto">[conda] torchvision 0.5.0a0+95131de pypi_0 pypi</p>
<h2 dir="auto">Additional context</h2>
<p dir="auto">MS Visual Studio got an update lately - maybe the used C++ compiler is worth a check:</p>
<p dir="auto"><code class="notranslate">Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64\cl.exe</code></p>
<p dir="auto">Error message from build:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[95/995] Building CXX object caffe2\CMakeFiles\torch_cpu.dir\core\blob_serialization.cc.obj
FAILED: caffe2/CMakeFiles/torch_cpu.dir/core/blob_serialization.cc.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\cl.exe /nologo /TP -DAT_PARALLEL_OPENMP=1 -DCPUINFO_SUPPORTED_PLATFORM=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MK
L -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -Iaten\src -I..\aten\src -I. -I..\ -I..\cmake\..\third_party\benchmark\include -I..\third_party\onnx -
Ithird_party\onnx -I..\third_party\foxi -Ithird_party\foxi -I..\caffe2\..\torch\csrc\api -I..\caffe2\..\torch\csrc\api\include -I..\caffe2\aten\src\TH -Icaffe2\aten\src\TH -I..\caffe2\..\torch\..\aten\s
rc -Icaffe2\aten\src -Icaffe2\..\aten\src -Icaffe2\..\aten\src\ATen -I..\caffe2\..\torch\csrc -I..\caffe2\..\torch\..\third_party\miniz-2.0.8 -I..\aten\src\TH -I..\aten\..\third_party\catch\single_inclu
de -I..\aten\src\ATen\.. -Icaffe2\aten\src\ATen -I..\third_party\miniz-2.0.8 -I..\caffe2\core\nomnigraph\include -I..\c10\.. -I..\third_party\cpuinfo\include -I..\third_party\FP16\include -I..\cmake\..\
third_party\googletest\googlemock\include -I..\cmake\..\third_party\googletest\googletest\include -I..\third_party\protobuf\src -I"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl
\include" -IV:\bin\scripting\python\conda\envs\pytorch\Library\include -I..\cmake\..\third_party\eigen -IV:\bin\scripting\python\conda\envs\pytorch\include -Iv:\bin\scripting\python\conda\envs\pytorch\l
ib\site-packages\numpy\core\include -I..\torch\include -I..\cmake\..\third_party\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I..\caffe2 /DWIN32 /D_WINDOWS /GR /w /EHa /MP
/bigobj -openmp:experimental -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /w /EHa /MP /bigobj -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD /Z7 /EHa
/DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -O2 -DCAFFE2_BUILD_MAIN_LIB -DONNX_BUILD_MAIN_LIB -std:c++14 /showIncludes /Focaffe2\CMakeFiles\torch_
cpu.dir\core\blob_serialization.cc.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c ..\caffe2\core\blob_serialization.cc
V:\src\git\pytorch\src\pytorch\caffe2/core/context_base.h(92): error C2338: CopyToCPU requires fundamental types
..\caffe2\core\blob_serialization.cc(602): note: see reference to function template instantiation 'void at::BaseContext::CopyToCPU<c10::Half>(size_t,const T *,T *)' being compiled
with
[
T=c10::Half
]
[102/995] Building CXX object caffe2\CMakeFiles\torch_cpu.dir\opt\onnxifi_op.cc.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "setup.py", line 755, in <module>
build_deps()
File "setup.py", line 316, in build_deps
cmake=cmake)
File "v:\src\git\pytorch\src\pytorch\tools\build_pytorch_libs.py", line 62, in build_caffe2
cmake.build(my_env)
File "v:\src\git\pytorch\src\pytorch\tools\setup_helpers\cmake.py", line 337, in build
self.run(build_args, my_env)
File "v:\src\git\pytorch\src\pytorch\tools\setup_helpers\cmake.py", line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File "v:\bin\scripting\python\conda\envs\pytorch\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 1.
``` `
cc @peterjc123"><pre class="notranslate"><code class="notranslate">[95/995] Building CXX object caffe2\CMakeFiles\torch_cpu.dir\core\blob_serialization.cc.obj
FAILED: caffe2/CMakeFiles/torch_cpu.dir/core/blob_serialization.cc.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\cl.exe /nologo /TP -DAT_PARALLEL_OPENMP=1 -DCPUINFO_SUPPORTED_PLATFORM=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MK
L -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -Dtorch_cpu_EXPORTS -Iaten\src -I..\aten\src -I. -I..\ -I..\cmake\..\third_party\benchmark\include -I..\third_party\onnx -
Ithird_party\onnx -I..\third_party\foxi -Ithird_party\foxi -I..\caffe2\..\torch\csrc\api -I..\caffe2\..\torch\csrc\api\include -I..\caffe2\aten\src\TH -Icaffe2\aten\src\TH -I..\caffe2\..\torch\..\aten\s
rc -Icaffe2\aten\src -Icaffe2\..\aten\src -Icaffe2\..\aten\src\ATen -I..\caffe2\..\torch\csrc -I..\caffe2\..\torch\..\third_party\miniz-2.0.8 -I..\aten\src\TH -I..\aten\..\third_party\catch\single_inclu
de -I..\aten\src\ATen\.. -Icaffe2\aten\src\ATen -I..\third_party\miniz-2.0.8 -I..\caffe2\core\nomnigraph\include -I..\c10\.. -I..\third_party\cpuinfo\include -I..\third_party\FP16\include -I..\cmake\..\
third_party\googletest\googlemock\include -I..\cmake\..\third_party\googletest\googletest\include -I..\third_party\protobuf\src -I"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\mkl
\include" -IV:\bin\scripting\python\conda\envs\pytorch\Library\include -I..\cmake\..\third_party\eigen -IV:\bin\scripting\python\conda\envs\pytorch\include -Iv:\bin\scripting\python\conda\envs\pytorch\l
ib\site-packages\numpy\core\include -I..\torch\include -I..\cmake\..\third_party\cub -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I..\caffe2 /DWIN32 /D_WINDOWS /GR /w /EHa /MP
/bigobj -openmp:experimental -DHAVE_AVX_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /MD /O2 /Ob2 /w /EHa /MP /bigobj -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD /Z7 /EHa
/DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj -O2 -DCAFFE2_BUILD_MAIN_LIB -DONNX_BUILD_MAIN_LIB -std:c++14 /showIncludes /Focaffe2\CMakeFiles\torch_
cpu.dir\core\blob_serialization.cc.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c ..\caffe2\core\blob_serialization.cc
V:\src\git\pytorch\src\pytorch\caffe2/core/context_base.h(92): error C2338: CopyToCPU requires fundamental types
..\caffe2\core\blob_serialization.cc(602): note: see reference to function template instantiation 'void at::BaseContext::CopyToCPU<c10::Half>(size_t,const T *,T *)' being compiled
with
[
T=c10::Half
]
[102/995] Building CXX object caffe2\CMakeFiles\torch_cpu.dir\opt\onnxifi_op.cc.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "setup.py", line 755, in <module>
build_deps()
File "setup.py", line 316, in build_deps
cmake=cmake)
File "v:\src\git\pytorch\src\pytorch\tools\build_pytorch_libs.py", line 62, in build_caffe2
cmake.build(my_env)
File "v:\src\git\pytorch\src\pytorch\tools\setup_helpers\cmake.py", line 337, in build
self.run(build_args, my_env)
File "v:\src\git\pytorch\src\pytorch\tools\setup_helpers\cmake.py", line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File "v:\bin\scripting\python\conda\envs\pytorch\lib\subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'install', '--config', 'Release', '--', '-j', '8']' returned non-zero exit status 1.
``` `
cc @peterjc123
</code></pre></div> | 1 |
<p dir="auto">This is blocking <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="72252383" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/7580" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/7580/hovercard" href="https://github.com/kubernetes/kubernetes/pull/7580">#7580</a> (test reboot).</p>
<p dir="auto">I originally ran into this trying to run the guestbook test after the nodes had all rebooted; here is the <a href="https://gist.github.com/mbforbes/ff74c87346f724b0fc8e">log for the failed guestbook test</a>.</p>
<p dir="auto">I added more logging to help understand what is happening. I added the following logging <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/40ec627cd4df486916572a495a7f139c3faedddb/test/e2e/kubectl.go#L153">after this line</a>:</p>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Logf("Call to makeRequestToGuestbook(client, cmd='%s', arg='%s', ns='%s') failed.", cmd, arg, ns)
Logf("\t response: expected '%s', got: '%s'", expectedResponse, res)
Logf("\t error: expected '<nil>', got: '%v'", err)"><pre class="notranslate"><span class="pl-en">Logf</span>(<span class="pl-s">"Call to makeRequestToGuestbook(client, cmd='%s', arg='%s', ns='%s') failed."</span>, <span class="pl-s1">cmd</span>, <span class="pl-s1">arg</span>, <span class="pl-s1">ns</span>)
<span class="pl-en">Logf</span>(<span class="pl-s">"<span class="pl-cce">\t</span> response: expected '%s', got: '%s'"</span>, <span class="pl-s1">expectedResponse</span>, <span class="pl-s1">res</span>)
<span class="pl-en">Logf</span>(<span class="pl-s">"<span class="pl-cce">\t</span> error: expected '<nil>', got: '%v'"</span>, <span class="pl-s1">err</span>)</pre></div>
<p dir="auto">The first time it's called I get an error that says <code class="notranslate">no endpoints available for "frontend"</code>, but then after that, I get the following repeated errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="INFO: Call to makeRequestToGuestbook(client, cmd='get', arg='', ns='e2e-tests-kubectl-7d744f0d-775f-4fd0-93b2-88135adbc11e') failed.
INFO: response: expected '{"data": ""}', got: '<br />
<b>Fatal error</b>: Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis-slave:6379]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141
Stack trace:
#0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96): Predis\Connection\AbstractConnection-&gt;onConnectionError('php_network_get...', 0)
#1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70): Predis\Connection\StreamConnection-&gt;tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters))
#2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96): Predis\Connection\StreamConnection-&gt;createResource()
#3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144): Predis\Connection\AbstractConnection-&gt;connect()
#4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181): Predis\Connection\StreamConnection-&gt;connect()
#5 /vendor/predis/predis/lib/Predis/Connection/StreamConnectio in <b>/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php</b> on line <b>141</b><br />
'
INFO: error: expected '<nil>', got: '<nil>'"><pre class="notranslate"><code class="notranslate">INFO: Call to makeRequestToGuestbook(client, cmd='get', arg='', ns='e2e-tests-kubectl-7d744f0d-775f-4fd0-93b2-88135adbc11e') failed.
INFO: response: expected '{"data": ""}', got: '<br />
<b>Fatal error</b>: Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis-slave:6379]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141
Stack trace:
#0 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(96): Predis\Connection\AbstractConnection-&gt;onConnectionError('php_network_get...', 0)
#1 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(70): Predis\Connection\StreamConnection-&gt;tcpStreamInitializer(Object(Predis\Connection\ConnectionParameters))
#2 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(96): Predis\Connection\StreamConnection-&gt;createResource()
#3 /vendor/predis/predis/lib/Predis/Connection/StreamConnection.php(144): Predis\Connection\AbstractConnection-&gt;connect()
#4 /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php(181): Predis\Connection\StreamConnection-&gt;connect()
#5 /vendor/predis/predis/lib/Predis/Connection/StreamConnectio in <b>/vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php</b> on line <b>141</b><br />
'
INFO: error: expected '<nil>', got: '<nil>'
</code></pre></div>
<p dir="auto">Just to make that more readable, the error before the stack trace is: <code class="notranslate">Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis-slave:6379]' in /vendor/predis/predis/lib/Predis/Connection/AbstractConnection.php:141</code></p>
<p dir="auto">Any tips or help greatly appreciated. I'm not sure where in the tcp / services / php / redis stack this is going wrong.</p>
<p dir="auto">Apologies in advance for the large cc:<br>
+cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/roberthbailey/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/roberthbailey">@roberthbailey</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zmerlynn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zmerlynn">@zmerlynn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/quinton-hoole/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/quinton-hoole">@quinton-hoole</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ixdy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ixdy">@ixdy</a></p> | <p dir="auto">I believe I'm seeing an issue where secrets are not available after server reboot.</p>
<p dir="auto">The steps to reproduce are below. Note that the following steps have been run on v.0.16.2:</p>
<p dir="auto">Create the following simple secret:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# From kubernetes/examples/secrets/secret.yaml
apiVersion: v1beta3
kind: Secret
metadata:
name: test-secret
data:
data-1: dmFsdWUtMQ0K
data-2: dmFsdWUtMg0KDQo="><pre class="notranslate"><code class="notranslate"># From kubernetes/examples/secrets/secret.yaml
apiVersion: v1beta3
kind: Secret
metadata:
name: test-secret
data:
data-1: dmFsdWUtMQ0K
data-2: dmFsdWUtMg0KDQo=
</code></pre></div>
<p dir="auto">Then create the following pod:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apiVersion: v1beta3
kind: Pod
metadata:
name: test
spec:
containers:
- name: test
image: centos:centos7.0.1406
command: [ "bash", "-c", "while [ true ]; do cat /etc/test-secret/data-1; sleep 5; done" ]
volumeMounts:
- mountPath: /etc/test-secret
name: test-secret
readOnly: true
volumes:
- name: test-secret
secret:
secretName: test-secret
"><pre class="notranslate"><code class="notranslate">apiVersion: v1beta3
kind: Pod
metadata:
name: test
spec:
containers:
- name: test
image: centos:centos7.0.1406
command: [ "bash", "-c", "while [ true ]; do cat /etc/test-secret/data-1; sleep 5; done" ]
volumeMounts:
- mountPath: /etc/test-secret
name: test-secret
readOnly: true
volumes:
- name: test-secret
secret:
secretName: test-secret
</code></pre></div>
<p dir="auto">After starting the pod you can see that it is correctly slowing the data-1 value from the secret</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubectl log test
2015-05-08T16:06:37.433196624Z value-1"><pre class="notranslate"><code class="notranslate">kubectl log test
2015-05-08T16:06:37.433196624Z value-1
</code></pre></div>
<p dir="auto">Now reboot the server running the pod. After reboot I see the following in the log output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="kubectl log test
2015-05-08T16:08:53.172253741Z cat: /etc/test-secret/data-1: No such file or directory"><pre class="notranslate"><code class="notranslate">kubectl log test
2015-05-08T16:08:53.172253741Z cat: /etc/test-secret/data-1: No such file or directory
</code></pre></div>
<p dir="auto">That seems to indicate to me that the pod is re-starting after the reboot but that it is unable to get the secret. Note that after the reboot manually stopping ( kubectl stop pod test ) and re-starting the pod shows the expected results.</p>
<p dir="auto">My expectation of the behavior is that if the server a pod is running on reboots that the pod will re-start with the same secret it had when it started previously. If the secret had been updated since the pod had been originally started I would expect the original secret to be available.</p> | 1 |
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.2</li>
<li>Operating System version:Red Hat Enterprise Linux Server release 6.6 (Santiago)</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<p dir="auto">The execution method is as follows:</p>
<ol dir="auto">
<li>
<p dir="auto">mvn install all the project.</p>
</li>
<li>
<p dir="auto">testissue2116\summary-server run TestSummaryServer to start summary-server service<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629693-905c4a8a-9730-11e8-8083-fb58bfa0b08a.png"><img src="https://user-images.githubusercontent.com/39985288/43629693-905c4a8a-9730-11e8-8083-fb58bfa0b08a.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">testissue2116\dubbo-kryo-server run TestServer to start dubbo-kryo-server service<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629706-977e8382-9730-11e8-8b8e-83c02ca7fbb6.png"><img src="https://user-images.githubusercontent.com/39985288/43629706-977e8382-9730-11e8-8b8e-83c02ca7fbb6.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629712-9d315020-9730-11e8-82e8-8edd6aa2a087.png"><img src="https://user-images.githubusercontent.com/39985288/43629712-9d315020-9730-11e8-82e8-8edd6aa2a087.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629728-a6a7d318-9730-11e8-93ed-dd7c9a973aef.png"><img src="https://user-images.githubusercontent.com/39985288/43629728-a6a7d318-9730-11e8-93ed-dd7c9a973aef.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">testissue2116\dubbo-kryo-client run SimpleClient to call dubbo-kryo-server<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629750-b3b62794-9730-11e8-9100-6ade581a6237.png"><img src="https://user-images.githubusercontent.com/39985288/43629750-b3b62794-9730-11e8-9100-6ade581a6237.png" alt="image" style="max-width: 100%;"></a></p>
</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.<br>
<a href="mailto:[email protected]">[email protected]</a>:llx206/testKryo.git</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What is actually happen?<br>
If there is an exception, please attach the exception trace:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/39985288/43629675-853f9b52-9730-11e8-9234-35ce9cfed75c.png"><img src="https://user-images.githubusercontent.com/39985288/43629675-853f9b52-9730-11e8-9234-35ce9cfed75c.png" alt="image" style="max-width: 100%;"></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I found the problem to be the case when serializing using the kryo protocol. The above exception occurs when the service is both a provider and a consumer. Please help me to see it, thank you very much!"><pre class="notranslate"><code class="notranslate">I found the problem to be the case when serializing using the kryo protocol. The above exception occurs when the service is both a provider and a consumer. Please help me to see it, thank you very much!
</code></pre></div> | <ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: xxx</li>
<li>Operating System version: xxx</li>
<li>Java version: xxx</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>xxx</li>
<li>xxx</li>
<li>xxx</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps?</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What actually happens?</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2019-01-25 20:10:48,999 WARN [org.apache.dubbo.remoting.exchange.support.DefaultFuture:received] - [DUBBO] The timeout response finally returned at 2019-01-25 20:10:48.984, response Response [id=1021, version=2.0.2, status=40, event=false, error=io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)
at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:106)
at org.apache.dubbo.remoting.transport.netty4.NettyClientHandler.write(NettyClientHandler.java:81)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:38)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1081)
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1128)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1070)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
at com.alibaba.com.caucho.hessian.io.SerializerFactory.getDefaultSerializer(SerializerFactory.java:395)
at com.alibaba.com.caucho.hessian.io.SerializerFactory.getSerializer(SerializerFactory.java:369)
at com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:389)
at org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectOutput.writeObject(Hessian2ObjectOutput.java:89)
at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.encodeRequestData(DubboCodec.java:185)
at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encodeRequest(ExchangeCodec.java:238)
at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encode(ExchangeCodec.java:69)
at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.encode(DubboCountCodec.java:38)
at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalEncoder.encode(NettyCodecAdapter.java:70)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
... 18 more"><pre class="notranslate"><code class="notranslate">2019-01-25 20:10:48,999 WARN [org.apache.dubbo.remoting.exchange.support.DefaultFuture:received] - [DUBBO] The timeout response finally returned at 2019-01-25 20:10:48.984, response Response [id=1021, version=2.0.2, status=40, event=false, error=io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
io.netty.handler.codec.EncoderException: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)
at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:106)
at org.apache.dubbo.remoting.transport.netty4.NettyClientHandler.write(NettyClientHandler.java:81)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:38)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:1081)
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:1128)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:1070)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:465)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Serialized class org.apache.dubbo.rpc.protocol.dubbo.support.NonSerialized must implement java.io.Serializable
at com.alibaba.com.caucho.hessian.io.SerializerFactory.getDefaultSerializer(SerializerFactory.java:395)
at com.alibaba.com.caucho.hessian.io.SerializerFactory.getSerializer(SerializerFactory.java:369)
at com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:389)
at org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectOutput.writeObject(Hessian2ObjectOutput.java:89)
at org.apache.dubbo.rpc.protocol.dubbo.DubboCodec.encodeRequestData(DubboCodec.java:185)
at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encodeRequest(ExchangeCodec.java:238)
at org.apache.dubbo.remoting.exchange.codec.ExchangeCodec.encode(ExchangeCodec.java:69)
at org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec.encode(DubboCountCodec.java:38)
at org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalEncoder.encode(NettyCodecAdapter.java:70)
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
... 18 more
</code></pre></div> | 0 |
<p dir="auto">The following message is displayed in the inspector:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/380914/8442728/98befb6c-1f35-11e5-9451-a0506f37df8d.png"><img src="https://cloud.githubusercontent.com/assets/380914/8442728/98befb6c-1f35-11e5-9451-a0506f37df8d.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">However cookies are stored and retrievable via code. I haven't tried using the flag, but it seems that these should be viewable by default in Electron if possible?</p> | <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zcbenz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zcbenz">@zcbenz</a> do you know if <code class="notranslate">electron</code> blocks the <code class="notranslate">Set-Cookie</code> header by default? Responses that carry this in the browser don't seem to have it in <code class="notranslate">electron</code>.</p>
<p dir="auto">I read through the source, couldn't find any code that would point to that, but checking just in case this is true. Possibly related / of use to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="73980737" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/1606" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/1606/hovercard" href="https://github.com/electron/electron/issues/1606">#1606</a>.</p> | 1 |
<p dir="auto">All custom downloads are showing up with the following error txt file in the css folder:</p>
<p dir="auto"><strong>css/error.txt:</strong><br>
A less error occured trying to build your bundle. You've likely entered an invalid input into the less variable field. Check your syntax and try again!</p>
<p dir="auto">thanks!</p>
<p dir="auto">{"type":"Parse","message":"Syntax Error on line 792","index":25106,"filename":"bootstrap.css","line":792,"column":11,"extract":[" *margin: -5px 0 5px;"," ove rflow: hidden;"," background-color: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/top/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/top">@top</a>;"]}</p> | <p dir="auto">When writing a single-page application using Bootstrap's navbar, we quickly found out that we need a way to collapse the menu whenever any of the links are pressed.</p>
<p dir="auto">The naive solution seemed to be to attach the following to every link:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="data-toggle="collapse" data-target=".navbar-responsive-collapse""><pre class="notranslate"><code class="notranslate">data-toggle="collapse" data-target=".navbar-responsive-collapse"
</code></pre></div>
<p dir="auto">However, while this works fine when the screen is narrow and the navbar needs to be collapsed, it causes some very strange side-effects when the screen is "tablet" or "desktop" sized. On some browsers (IE and Firefox), repeated clicks cause the contents of the navbar to disappear completely.</p>
<p dir="auto">While it should be possible to deal with this issue by writing custom JS in the App, I think it would be much better if the App generally doesn't need to deal with it at all.</p>
<p dir="auto">I've created a JsFiddle, <a href="http://jsfiddle.net/dlpatri/SjSfh/" rel="nofollow">showing the problem</a>.</p>
<p dir="auto">As an interim solution, I've added the following to Collapse's Data-Api on my local copy:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$(document).on('click.bs.collapse.data-api', '[data-hide=collapse]', function (e) {
var $this = $(this), href
var target = $this.attr('data-target')
|| e.preventDefault()
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
var $target = $(target)
if ($target.hasClass('in')) {
$target.collapse('hide');
}
})"><pre class="notranslate"><code class="notranslate">$(document).on('click.bs.collapse.data-api', '[data-hide=collapse]', function (e) {
var $this = $(this), href
var target = $this.attr('data-target')
|| e.preventDefault()
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
var $target = $(target)
if ($target.hasClass('in')) {
$target.collapse('hide');
}
})
</code></pre></div>
<p dir="auto">It's based on the <em>[data-toggle=collapse]</em> listener, but without support for accordion views. The key element is checking to see whether or not the navbar <em>can</em> be collapsed before collapsing it.</p>
<p dir="auto">I'm hoping that something like this could be added to the Bootstrap Collapse API, or if we could just get the normal toggle listener to include more checks before toggling.</p>
<p dir="auto">Thanks.</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>.): No</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): PKI</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):<br>
FEATURE REQUEST</p>
<p dir="auto">The kubernetes API server can now act as a PKI to service Certificate Signing Requests for kubelets and set up secured and authenticated TLS communications between the API server and kubelets. kubeadm makes use of this API endpoint. In order to provide this endpoint, the CA key must be present on the master (or API server) to be able to sign certificates.</p>
<p dir="auto">It should be clear that having a CA key, or more clearly the ability to sign new certificates, as a permanent part of the cluster could be considered weaker security than not. If the cluster gets hacked, one admittedly already has problems, but in terms of security it is common to think in terms of having layers of security so that if one barrier gets broken, there are still more to overcome.</p>
<p dir="auto">It could make sense then to support somehow provisioning certificates in a way that the cluster does not retain the capability to provision new certificates while a cluster operator/administrator is not actively managing the cluster, so to speak. This could be in the form of kubeadm using a temporary token to interact with an external PKI such that when the kubeadm provisioning session is completed, no further certificates can be provisioned from the PKI with that token. Something along those lines.</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<p dir="auto">1.4.3</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: N/A</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): N/A</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): N/A</li>
<li><strong>Install tools</strong>: kubeadm</li>
<li><strong>Others</strong>: N/A</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
kubeadm generated a CA key on the master and retained it. kubelets sent their CSRs to the master API server in order to provision certificates.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
I expected the above to happen, but the proposal is that if security is particularly important, the CA key and ability to provision new TLS certificates does not remain part of the cluster but is a separate concern that is separately managed.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
Use kubeadm to deploy a cluster.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p> | <p dir="auto">This is a proposal to implement caching selector result. <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="58944257" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/4817" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/4817/hovercard?comment_id=76495394&comment_type=issue_comment" href="https://github.com/kubernetes/kubernetes/issues/4817#issuecomment-76495394">#4817 (comment)</a></p>
<p dir="auto">AFAIK, currently only <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/labels.md#api">two components</a> use selector to group their members: <code class="notranslate">service</code> and <code class="notranslate">replicationController</code>, and they get list of their members by matching seletor against all pods' label every time.</p>
<p dir="auto">Here I propose a way to cache seletor result in etcd.</p>
<p dir="auto">Define a new registry in etcd: selector.</p>
<p dir="auto">Whenever a <code class="notranslate">service</code> or <code class="notranslate">replicationController</code> is created, generate <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/identifiers.md#uids">uid</a> for its selector, and register selector with that uid in etcd. While creating <code class="notranslate">service</code> or <code class="notranslate">replicationController</code>, it watches that selector in etcd to wait updates on result of selector. We should add pre-existed matched pods to its result of course.</p>
<p dir="auto">And whenever a <code class="notranslate">pod</code> is created, matches its label with all selector under its namespace (assuming we forbidden selector select object in another ns, which I not quite sure), and add that pod to selector result if match. Update or delete a <code class="notranslate">pod</code> should also update all selectors' result under its ns.</p>
<p dir="auto">When a <code class="notranslate">selector</code> and <code class="notranslate">pod</code> is created at same time, we should use some kind of mutex to avoid race condition.</p>
<p dir="auto">Any comment?</p> | 0 |
<p dir="auto">This may possibly be due to OOM on LTO builds. Example: <a href="https://uberchromegw.corp.google.com/i/client.flutter/builders/Mac%20Engine/builds/2002/steps/build%20host_debug/logs/stdio" rel="nofollow">https://uberchromegw.corp.google.com/i/client.flutter/builders/Mac%20Engine/builds/2002/steps/build%20host_debug/logs/stdio</a></p> | <p dir="auto">Macbot flaked during the build ios flutter_gallery step.</p>
<p dir="auto">Relevant log section:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Ld /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher normal arm64
cd /b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode9.0.app/Contents/Developer/usr/bin:/b/build/slave/Mac/build/flutter/bin:/b/build/slave/Mac/build/flutter/bin/cache/dart-sdk/bin:/b/build/slave/Mac/build/flutter/dev/bots/gradle/gradle-2.14.1/bin:/b/cipd_path_tools:/b/cipd_path_tools/bin:/b/cipd_client:/Users/chrome-bot/slavebin:/b/depot_tools:/usr/local/git/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -dynamiclib -isysroot /Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -L/b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher -F/b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher -F/b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods/../../../../bin/cache/artifacts/engine/ios-release -filelist /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher.LinkFileList -install_name @rpath/url_launcher.framework/url_launcher -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher_lto.o -fobjc-arc -fobjc-link-runtime -framework Flutter -framework Foundation -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher_dependency_info.dat -o /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher
GenerateDSYMFile /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework.dSYM /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher
cd /b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods
export PATH="/Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode9.0.app/Contents/Developer/usr/bin:/b/build/slave/Mac/build/flutter/bin:/b/build/slave/Mac/build/flutter/bin/cache/dart-sdk/bin:/b/build/slave/Mac/build/flutter/dev/bots/gradle/gradle-2.14.1/bin:/b/cipd_path_tools:/b/cipd_path_tools/bin:/b/cipd_client:/Users/chrome-bot/slavebin:/b/depot_tools:/usr/local/git/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher -o /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework.dSYM
Command /Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11
** BUILD FAILED **"><pre class="notranslate"><code class="notranslate"> Ld /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher normal arm64
cd /b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode9.0.app/Contents/Developer/usr/bin:/b/build/slave/Mac/build/flutter/bin:/b/build/slave/Mac/build/flutter/bin/cache/dart-sdk/bin:/b/build/slave/Mac/build/flutter/dev/bots/gradle/gradle-2.14.1/bin:/b/cipd_path_tools:/b/cipd_path_tools/bin:/b/cipd_client:/Users/chrome-bot/slavebin:/b/depot_tools:/usr/local/git/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -dynamiclib -isysroot /Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -L/b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher -F/b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher -F/b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods/../../../../bin/cache/artifacts/engine/ios-release -filelist /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher.LinkFileList -install_name @rpath/url_launcher.framework/url_launcher -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher_lto.o -fobjc-arc -fobjc-link-runtime -framework Flutter -framework Foundation -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/chrome-bot/Library/Developer/Xcode/DerivedData/Runner-gpxpofezffwfvidmsobfnwkndufp/Build/Intermediates.noindex/Pods.build/Release-iphoneos/url_launcher.build/Objects-normal/arm64/url_launcher_dependency_info.dat -o /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher
GenerateDSYMFile /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework.dSYM /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher
cd /b/build/slave/Mac/build/flutter/examples/flutter_gallery/ios/Pods
export PATH="/Applications/Xcode9.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode9.0.app/Contents/Developer/usr/bin:/b/build/slave/Mac/build/flutter/bin:/b/build/slave/Mac/build/flutter/bin/cache/dart-sdk/bin:/b/build/slave/Mac/build/flutter/dev/bots/gradle/gradle-2.14.1/bin:/b/cipd_path_tools:/b/cipd_path_tools/bin:/b/cipd_client:/Users/chrome-bot/slavebin:/b/depot_tools:/usr/local/git/bin:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework/url_launcher -o /b/build/slave/Mac/build/flutter/examples/flutter_gallery/build/ios/Release-iphoneos/url_launcher/url_launcher.framework.dSYM
Command /Applications/Xcode9.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11
** BUILD FAILED **
</code></pre></div> | 1 |
<p dir="auto">steps:</p>
<ul dir="auto">
<li>perform a task</li>
<li>click on the button "run tests"</li>
</ul>
<p dir="auto">actual result: there are 3 buttons "target5"<br>
Expected Result: there are 2 buttons "target5"</p> | <p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-clone-an-element-using-jquery#?solution=fccss%0A%20%20%24%28document%29.ready%28function%28%29%20%7B%0A%20%20%20%20%24%28%22%23target1%22%29.css%28%22color%22%2C%20%22red%22%29%3B%0A%20%20%20%20%24%28%22%23target1%22%29.prop%28%22disabled%22%2C%20true%29%3B%0A%20%20%20%20%24%28%22%23target4%22%29.remove%28%29%3B%0A%20%20%20%20%24%28%22%23target2%22%29.appendTo%28%22%23right-well%22%29%3B%0A%20%20%20%20%24%28%22%23target5%22%29.clone%28%29.appendTo%28%22%23left-well%22%29%3B%0A%20%20%7D%29%3B%0Afcces%0A%0A%3C!--%20Only%20change%20code%20above%20this%20line.%20--%3E%0A%0A%3Cdiv%20class%3D%22container-fluid%22%3E%0A%20%20%3Ch3%20class%3D%22text-primary%20text-center%22%3EjQuery%20Playground%3C%2Fh3%3E%0A%20%20%3Cdiv%20class%3D%22row%22%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23left-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22left-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target1%22%3E%23target1%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target2%22%3E%23target2%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target3%22%3E%23target3%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3Cdiv%20class%3D%22col-xs-6%22%3E%0A%20%20%20%20%20%20%3Ch4%3E%23right-well%3C%2Fh4%3E%0A%20%20%20%20%20%20%3Cdiv%20class%3D%22well%22%20id%3D%22right-well%22%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target4%22%3E%23target4%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target5%22%3E%23target5%3C%2Fbutton%3E%0A%20%20%20%20%20%20%20%20%3Cbutton%20class%3D%22btn%20btn-default%20target%22%20id%3D%22target6%22%3E%23target6%3C%2Fbutton%3E%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%3C%2Fdiv%3E%0A%20%20%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A" rel="nofollow">Waypoint: Clone an Element Using jQuery</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<h2 dir="auto">Issue</h2>
<p dir="auto">I believe I've found bug in the phone simulation in <strong>Waypoint: Clone an Element Using jQuery</strong>:</p>
<p dir="auto">I entered the code to clone <code class="notranslate">target5</code> and append it to <code class="notranslate">left-well</code>, and now I see three <strong>target5</strong> buttons in the phone simulator. FCC says my code is correct and advances me to the next challenge. The following challenges also show three target5 buttons:</p>
<ul dir="auto">
<li>Waypoint: Target the Parent of an Element Using jQuery</li>
<li>Waypoint: Target the Children of an Element Using jQuery</li>
</ul>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/qualitymanifest/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/qualitymanifest">@qualitymanifest</a> confirms this issue on his <strong>Linux</strong> box.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png"><img src="https://cloud.githubusercontent.com/assets/5673126/11647398/76751658-9d35-11e5-8fcf-112ab89c6920.png" alt="image" style="max-width: 100%;"></a></p>
<h2 dir="auto">My code:</h2>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="<script>
$(document).ready(function() {
$("#target1").css("color", "red");
$("#target1").prop("disabled", true);
$("#target4").remove();
$("#target2").appendTo("#right-well");
$("#target5").clone().appendTo("#left-well");
});
</script>
<!-- Only change code above this line. -->
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<h4>#left-well</h4>
<div class="well" id="left-well">
<button class="btn btn-default target" id="target1">#target1</button>
<button class="btn btn-default target" id="target2">#target2</button>
<button class="btn btn-default target" id="target3">#target3</button>
</div>
</div>
<div class="col-xs-6">
<h4>#right-well</h4>
<div class="well" id="right-well">
<button class="btn btn-default target" id="target4">#target4</button>
<button class="btn btn-default target" id="target5">#target5</button>
<button class="btn btn-default target" id="target6">#target6</button>
</div>
</div>
</div>
</div>
"><pre class="notranslate"><span class="pl-kos"><</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-smi">document</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">ready</span><span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">css</span><span class="pl-kos">(</span><span class="pl-s">"color"</span><span class="pl-kos">,</span> <span class="pl-s">"red"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target1"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">prop</span><span class="pl-kos">(</span><span class="pl-s">"disabled"</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target4"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">remove</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target2"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#right-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-en">$</span><span class="pl-kos">(</span><span class="pl-s">"#target5"</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">clone</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">appendTo</span><span class="pl-kos">(</span><span class="pl-s">"#left-well"</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos"></</span><span class="pl-ent">script</span><span class="pl-kos">></span>
<span class="pl-c"><!-- Only change code above this line. --></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">container-fluid</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h3</span> <span class="pl-c1">class</span>="<span class="pl-s">text-primary text-center</span>"<span class="pl-kos">></span>jQuery Playground<span class="pl-kos"></</span><span class="pl-ent">h3</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">row</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#left-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">left-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target1</span>"<span class="pl-kos">></span>#target1<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target2</span>"<span class="pl-kos">></span>#target2<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target3</span>"<span class="pl-kos">></span>#target3<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">col-xs-6</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">h4</span><span class="pl-kos">></span>#right-well<span class="pl-kos"></</span><span class="pl-ent">h4</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">div</span> <span class="pl-c1">class</span>="<span class="pl-s">well</span>" <span class="pl-c1">id</span>="<span class="pl-s">right-well</span>"<span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target4</span>"<span class="pl-kos">></span>#target4<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target5</span>"<span class="pl-kos">></span>#target5<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"><</span><span class="pl-ent">button</span> <span class="pl-c1">class</span>="<span class="pl-s">btn btn-default target</span>" <span class="pl-c1">id</span>="<span class="pl-s">target6</span>"<span class="pl-kos">></span>#target6<span class="pl-kos"></</span><span class="pl-ent">button</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span>
<span class="pl-kos"></</span><span class="pl-ent">div</span><span class="pl-kos">></span></pre></div> | 1 |
<p dir="auto">Cocoapods has bug <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="300441280" data-permission-text="Title is private" data-url="https://github.com/CocoaPods/CocoaPods/issues/7463" data-hovercard-type="issue" data-hovercard-url="/CocoaPods/CocoaPods/issues/7463/hovercard" href="https://github.com/CocoaPods/CocoaPods/issues/7463">CocoaPods/CocoaPods#7463</a><br>
If pod uses :path with symlink, <code class="notranslate">spec.public_header_files</code> doesn't work.</p>
<p dir="auto">It causes that Swift projects couldn't register plugins. E.g. I met it in my plugin <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="301265998" data-permission-text="Title is private" data-url="https://github.com/mogol/flutter_secure_storage/issues/3" data-hovercard-type="issue" data-hovercard-url="/mogol/flutter_secure_storage/issues/3/hovercard" href="https://github.com/mogol/flutter_secure_storage/issues/3">mogol/flutter_secure_storage#3</a></p>
<p dir="auto">The same issue exists for firebase storage plugin.</p>
<p dir="auto">Steps to reproduce:</p>
<ol dir="auto">
<li>Create new Flutter project with Swift in IDEA.</li>
<li>Add package <code class="notranslate">firebase_database: 0.3.6</code></li>
<li>Run on iOS Simulator</li>
</ol>
<p dir="auto">Could be caused by<br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="297773760" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/14748" data-hovercard-type="pull_request" data-hovercard-url="/flutter/flutter/pull/14748/hovercard" href="https://github.com/flutter/flutter/pull/14748">#14748</a></p>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Running "flutter packages get" in demo_security...
Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Running Xcode clean...
Starting Xcode build...
Xcode build done
Could not build the application for the simulator.
Failed to build iOS app
Error launching application on iPhone X.
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/german/Projects/nomads/test/demo_security/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_secure_storage/FlutterSecureStoragePlugin.h' file not found
#import <flutter_secure_storage/FlutterSecureStoragePlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated."><pre class="notranslate"><code class="notranslate">Running "flutter packages get" in demo_security...
Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Running Xcode clean...
Starting Xcode build...
Xcode build done
Could not build the application for the simulator.
Failed to build iOS app
Error launching application on iPhone X.
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/german/Projects/nomads/test/demo_security/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'flutter_secure_storage/FlutterSecureStoragePlugin.h' file not found
#import <flutter_secure_storage/FlutterSecureStoragePlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
Running Xcode clean...
Starting Xcode build...
Xcode build done
Failed to build iOS app
Could not build the application for the simulator.
Error output from Xcode build:
↳
Error launching application on iPhone X.
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
ld: warning: -undefined dynamic_lookup is deprecated on iOS
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
ld: warning: -undefined dynamic_lookup is deprecated on iOS
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/german/Projects/nomads/test/demo_security/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'firebase_core/FirebaseCorePlugin.h' file not found
#import <firebase_core/FirebaseCorePlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
Running Xcode clean...
Starting Xcode build...
Xcode build done
Failed to build iOS app
Could not build the application for the simulator.
Error output from Xcode build:
↳
Error launching application on iPhone X.
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
ld: warning: -undefined dynamic_lookup is deprecated on iOS
=== BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug ===
ld: warning: -undefined dynamic_lookup is deprecated on iOS
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Runner" target.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
/Users/german/Projects/nomads/test/demo_security/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'firebase_core/FirebaseCorePlugin.h' file not found
#import <firebase_core/FirebaseCorePlugin.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-SG)
• Flutter version 0.1.5 at /Users/german/Projects/github/flutter
• Framework revision 3ea4d06340 (9 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/german/Library/Android/sdk
• Android NDK at /Users/german/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
• 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-915-b08)
[✓] 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.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] Connected devices (1 available)
• iPhone X • 47F7777A-ED9B-4761-89F0-BEAC583DD438 • ios • iOS 11.2 (simulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-SG)
• Flutter version 0.1.5 at /Users/german/Projects/github/flutter
• Framework revision 3ea4d06340 (9 days ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/german/Library/Android/sdk
• Android NDK at /Users/german/Library/Android/sdk/ndk-bundle
• Platform android-27, build-tools 27.0.3
• 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-915-b08)
[✓] 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.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
[✓] Connected devices (1 available)
• iPhone X • 47F7777A-ED9B-4761-89F0-BEAC583DD438 • ios • iOS 11.2 (simulator)
• No issues found!
</code></pre></div> | <h2 dir="auto">Steps to Reproduce</h2>
<p dir="auto">When opening this screen, I build a form dynamically, then click on any TextFormField, the keyboard appears, then click back arrow (to hide the keyboard) and the error occurs.</p>
<p dir="auto">Error:<br>
'package:flutter/src/widgets/framework.dart': Failed assertion: line 3480 pos 14: 'owner._debugCurrentBuildTarget == this': is not true</p>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';
import 'Search.dart';
import 'AppColors.dart';
class SearchScreen extends StatefulWidget {
@override
_SearchScreenState createState() => new _SearchScreenState();
}
class _SearchScreenState extends State<SearchScreen> {
Search _search = Search.currentSearch;
TextEditingController _nameText = new TextEditingController();
List<List<TextEditingController>> _mandatoryTexts = new List<List<TextEditingController>>();
List<TextEditingController> _excludedTexts = new List<TextEditingController>();
ScrollController _scrollController = new ScrollController();
bool _scrollToTop = true;
@override
void initState() {
print("init state...");
setState((){
_search = Search.currentSearch;
});
print("${_search.name}");
for (var m in Search.currentSearch.mandatoryTags) {
List<TextEditingController> list = new List<TextEditingController>();
for (var t in m) {
list.add(
new TextEditingController(
text: t
)
);
}
_mandatoryTexts.add(list);
}
for (var tag in _search.excludedTags) {
_excludedTexts.add(
new TextEditingController(
text: tag
)
);
}
return super.initState();
}
@override
void didUpdateWidget(SearchScreen oldWidget) {
// TODO: implement didUpdateWidget
if ( _scrollToTop ) {
_scrollController.animateTo(300.0, duration: new Duration(milliseconds: 1), curve: Curves.linear);
_scrollToTop = false;
}
super.didUpdateWidget(oldWidget);
}
@override
Widget build(BuildContext context) {
return new Scaffold(
backgroundColor: AppColors.screenBackgroundColor,
appBar: new AppBar(
elevation: AppColors.appBarElevation,
title: new Text(
"Editar búsqueda",
style: new TextStyle(color: AppColors.primaryTextColor),
),
),
body: new ListView(
reverse: true,
controller: _scrollController,
children: _getRows()
)
);
}
List<Widget> _getRows() {
List<Widget> tiles = new List<Widget>();
tiles.add(
new ListTile(
leading: new Icon(Icons.search, size: 20.0,),
title: new TextFormField(
controller: _nameText,
//initialValue: _search.name,
decoration: new InputDecoration(
hintText: "Nombre",
),
onSaved: (String text) {
_nameText.text = text;
},
validator: (String value) {
return value.isEmpty ? "El nombre no puede estar vacío" : null;
},
),
),
);
int i = 0;
for (var tagList in _search.mandatoryTags) {
bool firstName = true;
tiles.add(
new Padding(
padding: new EdgeInsets.only(left: 20.0, top: 10.0),
child: new Align(
alignment: Alignment.centerLeft,
child: new Text(
"Palabra obligatoria",
style: new TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold
),
),
),
)
);
int j = 0;
for (var tag in tagList) {
//_mandatoryTexts[i][j].text = tag;
if (firstName) {
tiles.add(
new ListTile(
leading: new Icon(Icons.find_in_page),
title: new TextField(
controller: _mandatoryTexts[i][j],
onChanged: (String value) {
_mandatoryTexts[i][j].text = value;
},
),
)
);
} else {
tiles.add(
new Padding(
padding: new EdgeInsets.only(left: 50.0),
child: new ListTile(
leading: new Icon(Icons.library_books),
title: new TextField(
controller: _mandatoryTexts[i][j],
onChanged: (String value) {
_mandatoryTexts[i][j].text = value;
},
),
),
)
);
}
j++;
if (firstName && tagList.length != 1) {
tiles.add(
new Padding(
padding: new EdgeInsets.only(left: 70.0, top: 10.0),
child: new Align(
alignment: Alignment.centerLeft,
child: new Text(
"Sinónimos",
style: new TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold
),
),
),
)
);
}
firstName = false;
}
i++;
}
tiles.add(
new Padding(
padding: new EdgeInsets.only(left: 20.0, top: 10.0),
child: new Align(
alignment: Alignment.centerLeft,
child: new Text(
"Palabras excluidas",
style: new TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold
),
),
),
)
);
for (var i=0; i<_search.excludedTags.length; i++) {
tiles.add(
new ListTile(
leading: new Icon(Icons.find_in_page),
title: new TextField(
controller: _excludedTexts[i],
onChanged: (String value) {
_excludedTexts[i].text = value;
},
),
)
);
}
return tiles.reversed.toList();
//return tiles;
}
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;
<span class="pl-k">import</span> <span class="pl-s">'Search.dart'</span>;
<span class="pl-k">import</span> <span class="pl-s">'AppColors.dart'</span>;
<span class="pl-k">class</span> <span class="pl-c1">SearchScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatefulWidget</span> {
<span class="pl-k">@override</span>
<span class="pl-c1">_SearchScreenState</span> <span class="pl-en">createState</span>() <span class="pl-k">=></span> <span class="pl-k">new</span> <span class="pl-c1">_SearchScreenState</span>();
}
<span class="pl-k">class</span> <span class="pl-c1">_SearchScreenState</span> <span class="pl-k">extends</span> <span class="pl-c1">State</span><<span class="pl-c1">SearchScreen</span>> {
<span class="pl-c1">Search</span> _search <span class="pl-k">=</span> <span class="pl-c1">Search</span>.currentSearch;
<span class="pl-c1">TextEditingController</span> _nameText <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>();
<span class="pl-c1">List</span><<span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>>> _mandatoryTexts <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">List</span><<span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>>>();
<span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>> _excludedTexts <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>>();
<span class="pl-c1">ScrollController</span> _scrollController <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">ScrollController</span>();
<span class="pl-c1">bool</span> _scrollToTop <span class="pl-k">=</span> <span class="pl-c1">true</span>;
<span class="pl-k">@override</span>
<span class="pl-k">void</span> <span class="pl-en">initState</span>() {
<span class="pl-en">print</span>(<span class="pl-s">"init state..."</span>);
<span class="pl-en">setState</span>((){
_search <span class="pl-k">=</span> <span class="pl-c1">Search</span>.currentSearch;
});
<span class="pl-en">print</span>(<span class="pl-s">"<span class="pl-s">${<span class="pl-v">_search</span>.<span class="pl-v">name</span>}</span>"</span>);
<span class="pl-k">for</span> (<span class="pl-k">var</span> m <span class="pl-k">in</span> <span class="pl-c1">Search</span>.currentSearch.mandatoryTags) {
<span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>> list <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">List</span><<span class="pl-c1">TextEditingController</span>>();
<span class="pl-k">for</span> (<span class="pl-k">var</span> t <span class="pl-k">in</span> m) {
list.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>(
text<span class="pl-k">:</span> t
)
);
}
_mandatoryTexts.<span class="pl-en">add</span>(list);
}
<span class="pl-k">for</span> (<span class="pl-k">var</span> tag <span class="pl-k">in</span> _search.excludedTags) {
_excludedTexts.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">TextEditingController</span>(
text<span class="pl-k">:</span> tag
)
);
}
<span class="pl-k">return</span> <span class="pl-c1">super</span>.<span class="pl-en">initState</span>();
}
<span class="pl-k">@override</span>
<span class="pl-k">void</span> <span class="pl-en">didUpdateWidget</span>(<span class="pl-c1">SearchScreen</span> oldWidget) {
<span class="pl-c">// TODO: implement didUpdateWidget</span>
<span class="pl-k">if</span> ( _scrollToTop ) {
_scrollController.<span class="pl-en">animateTo</span>(<span class="pl-c1">300.0</span>, duration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Duration</span>(milliseconds<span class="pl-k">:</span> <span class="pl-c1">1</span>), curve<span class="pl-k">:</span> <span class="pl-c1">Curves</span>.linear);
_scrollToTop <span class="pl-k">=</span> <span class="pl-c1">false</span>;
}
<span class="pl-c1">super</span>.<span class="pl-en">didUpdateWidget</span>(oldWidget);
}
<span class="pl-k">@override</span>
<span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
<span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-c1">Scaffold</span>(
backgroundColor<span class="pl-k">:</span> <span class="pl-c1">AppColors</span>.screenBackgroundColor,
appBar<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">AppBar</span>(
elevation<span class="pl-k">:</span> <span class="pl-c1">AppColors</span>.appBarElevation,
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(
<span class="pl-s">"Editar búsqueda"</span>,
style<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextStyle</span>(color<span class="pl-k">:</span> <span class="pl-c1">AppColors</span>.primaryTextColor),
),
),
body<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ListView</span>(
reverse<span class="pl-k">:</span> <span class="pl-c1">true</span>,
controller<span class="pl-k">:</span> _scrollController,
children<span class="pl-k">:</span> <span class="pl-en">_getRows</span>()
)
);
}
<span class="pl-c1">List</span><<span class="pl-c1">Widget</span>> <span class="pl-en">_getRows</span>() {
<span class="pl-c1">List</span><<span class="pl-c1">Widget</span>> tiles <span class="pl-k">=</span> <span class="pl-k">new</span> <span class="pl-c1">List</span><<span class="pl-c1">Widget</span>>();
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">ListTile</span>(
leading<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.search, size<span class="pl-k">:</span> <span class="pl-c1">20.0</span>,),
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextFormField</span>(
controller<span class="pl-k">:</span> _nameText,
<span class="pl-c">//initialValue: _search.name,</span>
decoration<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">InputDecoration</span>(
hintText<span class="pl-k">:</span> <span class="pl-s">"Nombre"</span>,
),
onSaved<span class="pl-k">:</span> (<span class="pl-c1">String</span> text) {
_nameText.text <span class="pl-k">=</span> text;
},
validator<span class="pl-k">:</span> (<span class="pl-c1">String</span> value) {
<span class="pl-k">return</span> value.isEmpty <span class="pl-k">?</span> <span class="pl-s">"El nombre no puede estar vacío"</span> <span class="pl-k">:</span> <span class="pl-c1">null</span>;
},
),
),
);
<span class="pl-c1">int</span> i <span class="pl-k">=</span> <span class="pl-c1">0</span>;
<span class="pl-k">for</span> (<span class="pl-k">var</span> tagList <span class="pl-k">in</span> _search.mandatoryTags) {
<span class="pl-c1">bool</span> firstName <span class="pl-k">=</span> <span class="pl-c1">true</span>;
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(left<span class="pl-k">:</span> <span class="pl-c1">20.0</span>, top<span class="pl-k">:</span> <span class="pl-c1">10.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Align</span>(
alignment<span class="pl-k">:</span> <span class="pl-c1">Alignment</span>.centerLeft,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(
<span class="pl-s">"Palabra obligatoria"</span>,
style<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextStyle</span>(
fontSize<span class="pl-k">:</span> <span class="pl-c1">16.0</span>,
fontWeight<span class="pl-k">:</span> <span class="pl-c1">FontWeight</span>.bold
),
),
),
)
);
<span class="pl-c1">int</span> j <span class="pl-k">=</span> <span class="pl-c1">0</span>;
<span class="pl-k">for</span> (<span class="pl-k">var</span> tag <span class="pl-k">in</span> tagList) {
<span class="pl-c">//_mandatoryTexts[i][j].text = tag;</span>
<span class="pl-k">if</span> (firstName) {
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">ListTile</span>(
leading<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.find_in_page),
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
controller<span class="pl-k">:</span> _mandatoryTexts[i][j],
onChanged<span class="pl-k">:</span> (<span class="pl-c1">String</span> value) {
_mandatoryTexts[i][j].text <span class="pl-k">=</span> value;
},
),
)
);
} <span class="pl-k">else</span> {
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(left<span class="pl-k">:</span> <span class="pl-c1">50.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">ListTile</span>(
leading<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.library_books),
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
controller<span class="pl-k">:</span> _mandatoryTexts[i][j],
onChanged<span class="pl-k">:</span> (<span class="pl-c1">String</span> value) {
_mandatoryTexts[i][j].text <span class="pl-k">=</span> value;
},
),
),
)
);
}
j<span class="pl-k">++</span>;
<span class="pl-k">if</span> (firstName <span class="pl-k">&&</span> tagList.length <span class="pl-k">!=</span> <span class="pl-c1">1</span>) {
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(left<span class="pl-k">:</span> <span class="pl-c1">70.0</span>, top<span class="pl-k">:</span> <span class="pl-c1">10.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Align</span>(
alignment<span class="pl-k">:</span> <span class="pl-c1">Alignment</span>.centerLeft,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(
<span class="pl-s">"Sinónimos"</span>,
style<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextStyle</span>(
fontSize<span class="pl-k">:</span> <span class="pl-c1">16.0</span>,
fontWeight<span class="pl-k">:</span> <span class="pl-c1">FontWeight</span>.bold
),
),
),
)
);
}
firstName <span class="pl-k">=</span> <span class="pl-c1">false</span>;
}
i<span class="pl-k">++</span>;
}
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">Padding</span>(
padding<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">EdgeInsets</span>.<span class="pl-en">only</span>(left<span class="pl-k">:</span> <span class="pl-c1">20.0</span>, top<span class="pl-k">:</span> <span class="pl-c1">10.0</span>),
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Align</span>(
alignment<span class="pl-k">:</span> <span class="pl-c1">Alignment</span>.centerLeft,
child<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Text</span>(
<span class="pl-s">"Palabras excluidas"</span>,
style<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextStyle</span>(
fontSize<span class="pl-k">:</span> <span class="pl-c1">16.0</span>,
fontWeight<span class="pl-k">:</span> <span class="pl-c1">FontWeight</span>.bold
),
),
),
)
);
<span class="pl-k">for</span> (<span class="pl-k">var</span> i<span class="pl-k">=</span><span class="pl-c1">0</span>; i<span class="pl-k"><</span>_search.excludedTags.length; i<span class="pl-k">++</span>) {
tiles.<span class="pl-en">add</span>(
<span class="pl-k">new</span> <span class="pl-c1">ListTile</span>(
leading<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">Icon</span>(<span class="pl-c1">Icons</span>.find_in_page),
title<span class="pl-k">:</span> <span class="pl-k">new</span> <span class="pl-c1">TextField</span>(
controller<span class="pl-k">:</span> _excludedTexts[i],
onChanged<span class="pl-k">:</span> (<span class="pl-c1">String</span> value) {
_excludedTexts[i].text <span class="pl-k">=</span> value;
},
),
)
);
}
<span class="pl-k">return</span> tiles.reversed.<span class="pl-en">toList</span>();
<span class="pl-c">//return tiles;</span>
}
}
</pre></div>
<h2 dir="auto">Search.dart</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="class Search {
String id;
String name;
List<List<String>> mandatoryTags;
List<String> excludedTags;
Search(this.id, this.name, this.mandatoryTags, this.excludedTags);
static Search currentSearch;
}"><pre class="notranslate"><code class="notranslate">class Search {
String id;
String name;
List<List<String>> mandatoryTags;
List<String> excludedTags;
Search(this.id, this.name, this.mandatoryTags, this.excludedTags);
static Search currentSearch;
}
</code></pre></div>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib\main.dart on Android SDK built for x86 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk (32.9MB).
I/FlutterActivityDelegate(22247): onResume setting current activity to this
I/WebViewFactory(22247): Loading com.android.chrome version 65.0.3325.109 (code 332510912)
I/cr_LibraryLoader(22247): Time to load native libraries: 1 ms (timestamps 6195-6196)
I/chromium(22247): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader(22247): Expected native library version number "65.0.3325.109", actual native library version number "65.0.3325.109"
W/cr_ChildProcLH(22247): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
I/cr_BrowserStartup(22247): Initializing chromium process, singleProcess=false
I/cr_base (22247): Android Locale: en_US requires .pak files: [en-GB.pak, en-US.pak]
D/EGL_emulation(22247): eglCreateContext: 0x896ea000: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x896ea000: ver 2 0 (tinfo 0xacf0b190)
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Do partial code cache collection, code=30KB, data=24KB
I/zygote (22247): After code cache collection, code=30KB, data=24KB
I/zygote (22247): Increasing code cache capacity to 128KB
D/EGL_emulation(22247): eglMakeCurrent: 0xa1da62a0: ver 2 0 (tinfo 0xa127f5c0)
W/cr_CrashFileManager(22247): /data/user/0/net.mediaticos.mediaticos/cache/WebView/Crash Reports does not exist or is not a directory
D/ (22247): HostConnection::get() New Host Connection established 0x8b673d80, tid 22357
E/chromium(22247): [ERROR:gl_surface_egl.cc(317)] eglChooseConfig failed with error EGL_SUCCESS
W/cr_media(22247): Requires BLUETOOTH permission
D/EGL_emulation(22247): eglCreateContext: 0x914aa8e0: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x914aa8e0: ver 2 0 (tinfo 0x8d9b3730)
I/VideoCapabilities(22247): Unsupported profile 4 for video/mp4v-es
W/cr_MediaCodecUtil(22247): HW encoder for video/avc is not available on this device.
E/chromium(22247): [ERROR:gl_surface_egl.cc(317)] eglChooseConfig failed with error EGL_SUCCESS
D/EGL_emulation(22247): eglCreateContext: 0x8604d920: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x8604d920: ver 2 0 (tinfo 0x8d9b3730)
I/zygote (22247): Do partial code cache collection, code=61KB, data=50KB
I/zygote (22247): After code cache collection, code=61KB, data=50KB
I/zygote (22247): Increasing code cache capacity to 256KB
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
I/chatty (22247): uid=10083(u0_a83) net.mediaticos.mediaticos identical 11 lines
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/chromium(22247): [WARNING:render_frame_host_impl.cc(2750)] OnDidStopLoading was called twice.
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
I/FlutterActivityDelegate(22247): onResume setting current activity to this
D/EGL_emulation(22247): eglCreateContext: 0x8c3ec060: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x8c3ec060: ver 2 0 (tinfo 0xacf0b190)
D/EGL_emulation(22247): eglMakeCurrent: 0x8c3ec060: ver 2 0 (tinfo 0xa127ff60)
D/EGL_emulation(22247): eglMakeCurrent: 0xa1da62a0: ver 2 0 (tinfo 0xa127f5c0)
I/flutter (22247): searches: 4 - jobs: 272
I/flutter (22247): init state...
I/flutter (22247): Manager remoto
I/flutter (22247): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (22247): The following assertion was thrown building NotificationListener<KeepAliveNotification>:
I/flutter (22247): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14:
I/flutter (22247): '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/flutter (22247):
I/flutter (22247): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (22247): more information in this error message to help you determine and fix the underlying cause.
I/flutter (22247): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (22247): https://github.com/flutter/flutter/issues/new
I/flutter (22247):
I/flutter (22247): When the exception was thrown, this was the stack:
I/flutter (22247): #2 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart)
I/flutter (22247): #3 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:2766:5)
I/flutter (22247): #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:209:11)
I/flutter (22247): #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:849:18)
I/flutter (22247): #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4496:35)
I/flutter (22247): #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4262:5)
I/flutter (22247): #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4636:11)
I/flutter (22247): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3938:11)
I/flutter (22247): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11)
I/flutter (22247): #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #31 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:702:34)
I/flutter (22247): #32 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:671:7)
I/flutter (22247): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #35 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #36 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #38 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #40 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4362:32)
I/flutter (22247): #41 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
I/flutter (22247): #42 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:187:11)
I/flutter (22247): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #45 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #46 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #48 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #50 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #52 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #57 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #58 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #60 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #62 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #64 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #65 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #66 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #68 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #69 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #70 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #71 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #73 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #74 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #78 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #80 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #81 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #82 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #83 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #85 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #86 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #87 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #88 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #89 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #90 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #92 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4362:32)
I/flutter (22247): #93 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
I/flutter (22247): #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #96 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #97 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #98 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #99 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #100 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #101 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #102 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #103 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #104 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #105 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #107 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #108 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #110 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #111 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #112 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #113 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #114 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #115 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #116 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #117 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #118 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #119 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #120 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #121 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #122 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #123 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #124 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #125 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #126 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #127 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #128 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #129 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #130 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #131 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #132 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #133 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #134 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #135 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #136 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #137 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #138 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #139 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #140 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #141 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #142 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #143 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #144 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #145 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #146 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #147 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #148 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #149 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #150 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #151 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #152 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #153 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #154 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #155 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #156 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #157 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #158 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #159 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #160 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #161 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #162 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #163 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #164 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #165 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #166 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #167 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #168 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #169 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #170 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #171 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #172 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #173 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #174 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #175 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #176 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #177 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #178 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #179 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #180 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #181 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #182 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #183 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #184 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #185 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #186 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #187 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33)
I/flutter (22247): #188 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
I/flutter (22247): #189 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (22247): #190 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (22247): #191 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (22247): #192 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (22247): #193 _invoke (dart:ui/hooks.dart:120:13)
I/flutter (22247): #194 _drawFrame (dart:ui/hooks.dart:109:3)
I/flutter (22247): (elided 2 frames from class _AssertionError)
I/flutter (22247): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (22247): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/chatty (22247): uid=10083(u0_a83) ui_thread identical 1 line
I/flutter (22247): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/flutter (22247): Another exception was thrown: A RenderSliverPadding expected a child of type RenderSliver but received a child of type RenderErrorBox.
I/flutter (22247): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3480 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
I/chatty (22247): uid=10083(u0_a83) ui_thread identical 25 lines
I/flutter (22247): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3480 pos 14: 'owner._debugCurrentBuildTarget == this': is not true."><pre class="notranslate"><code class="notranslate">Launching lib\main.dart on Android SDK built for x86 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk (32.9MB).
I/FlutterActivityDelegate(22247): onResume setting current activity to this
I/WebViewFactory(22247): Loading com.android.chrome version 65.0.3325.109 (code 332510912)
I/cr_LibraryLoader(22247): Time to load native libraries: 1 ms (timestamps 6195-6196)
I/chromium(22247): [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader(22247): Expected native library version number "65.0.3325.109", actual native library version number "65.0.3325.109"
W/cr_ChildProcLH(22247): Create a new ChildConnectionAllocator with package name = com.android.chrome, sandboxed = true
I/cr_BrowserStartup(22247): Initializing chromium process, singleProcess=false
I/cr_base (22247): Android Locale: en_US requires .pak files: [en-GB.pak, en-US.pak]
D/EGL_emulation(22247): eglCreateContext: 0x896ea000: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x896ea000: ver 2 0 (tinfo 0xacf0b190)
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/lib/x86, /data/app/com.android.chrome-Q3d8oyLWY9ydOFfudinP5Q==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (22247): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (22247): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (22247): at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:42)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:651)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
I/zygote (22247): at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
I/zygote (22247): at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
I/zygote (22247): at android.view.View com.android.internal.policy.PhoneLayoutInflater.onCreateView(java.lang.String, android.util.AttributeSet) (PhoneLayoutInflater.java:58)
I/zygote (22247): at android.view.View android.view.LayoutInflater.onCreateView(android.view.View, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:720)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:788)
I/zygote (22247): at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
I/zygote (22247): at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
I/zygote (22247): at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
I/zygote (22247): at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
I/zygote (22247): at void com.android.internal.policy.PhoneWindow.setContentView(int) (PhoneWindow.java:418)
I/zygote (22247): at void android.app.Activity.setContentView(int) (Activity.java:2654)
I/zygote (22247): at void com.twitter.sdk.android.core.identity.OAuthActivity.onCreate(android.os.Bundle) (OAuthActivity.java:55)
I/zygote (22247): at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
I/zygote (22247): at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
I/zygote (22247): at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
I/zygote (22247): at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
I/zygote (22247): at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
I/zygote (22247): at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
I/zygote (22247): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
I/zygote (22247): at void android.os.Looper.loop() (Looper.java:164)
I/zygote (22247): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (22247): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (22247): at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (22247): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (22247):
I/zygote (22247): Do partial code cache collection, code=30KB, data=24KB
I/zygote (22247): After code cache collection, code=30KB, data=24KB
I/zygote (22247): Increasing code cache capacity to 128KB
D/EGL_emulation(22247): eglMakeCurrent: 0xa1da62a0: ver 2 0 (tinfo 0xa127f5c0)
W/cr_CrashFileManager(22247): /data/user/0/net.mediaticos.mediaticos/cache/WebView/Crash Reports does not exist or is not a directory
D/ (22247): HostConnection::get() New Host Connection established 0x8b673d80, tid 22357
E/chromium(22247): [ERROR:gl_surface_egl.cc(317)] eglChooseConfig failed with error EGL_SUCCESS
W/cr_media(22247): Requires BLUETOOTH permission
D/EGL_emulation(22247): eglCreateContext: 0x914aa8e0: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x914aa8e0: ver 2 0 (tinfo 0x8d9b3730)
I/VideoCapabilities(22247): Unsupported profile 4 for video/mp4v-es
W/cr_MediaCodecUtil(22247): HW encoder for video/avc is not available on this device.
E/chromium(22247): [ERROR:gl_surface_egl.cc(317)] eglChooseConfig failed with error EGL_SUCCESS
D/EGL_emulation(22247): eglCreateContext: 0x8604d920: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x8604d920: ver 2 0 (tinfo 0x8d9b3730)
I/zygote (22247): Do partial code cache collection, code=61KB, data=50KB
I/zygote (22247): After code cache collection, code=61KB, data=50KB
I/zygote (22247): Increasing code cache capacity to 256KB
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
I/chatty (22247): uid=10083(u0_a83) net.mediaticos.mediaticos identical 11 lines
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
W/chromium(22247): [WARNING:render_frame_host_impl.cc(2750)] OnDidStopLoading was called twice.
W/zygote (22247): Attempt to remove non-JNI local reference, dumping thread
I/FlutterActivityDelegate(22247): onResume setting current activity to this
D/EGL_emulation(22247): eglCreateContext: 0x8c3ec060: maj 2 min 0 rcv 2
D/EGL_emulation(22247): eglMakeCurrent: 0x8c3ec060: ver 2 0 (tinfo 0xacf0b190)
D/EGL_emulation(22247): eglMakeCurrent: 0x8c3ec060: ver 2 0 (tinfo 0xa127ff60)
D/EGL_emulation(22247): eglMakeCurrent: 0xa1da62a0: ver 2 0 (tinfo 0xa127f5c0)
I/flutter (22247): searches: 4 - jobs: 272
I/flutter (22247): init state...
I/flutter (22247): Manager remoto
I/flutter (22247): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (22247): The following assertion was thrown building NotificationListener<KeepAliveNotification>:
I/flutter (22247): 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14:
I/flutter (22247): '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/flutter (22247):
I/flutter (22247): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (22247): more information in this error message to help you determine and fix the underlying cause.
I/flutter (22247): In either case, please report this assertion by filing a bug on GitHub:
I/flutter (22247): https://github.com/flutter/flutter/issues/new
I/flutter (22247):
I/flutter (22247): When the exception was thrown, this was the stack:
I/flutter (22247): #2 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin._insertIntoChildList (package:flutter/src/rendering/object.dart)
I/flutter (22247): #3 _RenderSliverMultiBoxAdaptor&RenderSliver&ContainerRenderObjectMixin.insert (package:flutter/src/rendering/object.dart:2766:5)
I/flutter (22247): #4 RenderSliverMultiBoxAdaptor.insert (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:209:11)
I/flutter (22247): #5 SliverMultiBoxAdaptorElement.insertChildRenderObject (package:flutter/src/widgets/sliver.dart:849:18)
I/flutter (22247): #6 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4496:35)
I/flutter (22247): #7 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4262:5)
I/flutter (22247): #8 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4636:11)
I/flutter (22247): #9 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #10 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #11 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #12 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #13 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #14 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #15 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #16 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #17 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #18 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #19 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #20 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #21 ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3938:11)
I/flutter (22247): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3605:5)
I/flutter (22247): #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3752:11)
I/flutter (22247): #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3600:5)
I/flutter (22247): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2890:14)
I/flutter (22247): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2693:12)
I/flutter (22247): #31 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:702:34)
I/flutter (22247): #32 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:671:7)
I/flutter (22247): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #35 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #36 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #38 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #39 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #40 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4362:32)
I/flutter (22247): #41 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
I/flutter (22247): #42 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:187:11)
I/flutter (22247): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #45 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #46 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #47 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #48 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #50 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #52 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #56 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #57 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #58 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #59 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #60 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #62 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #64 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #65 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #66 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #68 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #69 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #70 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #71 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #73 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #74 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #76 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #77 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #78 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #79 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #80 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #81 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #82 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #83 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #84 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #85 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #86 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #87 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #88 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #89 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #90 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #91 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #92 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4362:32)
I/flutter (22247): #93 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4752:17)
I/flutter (22247): #94 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #95 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #96 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #97 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #98 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #99 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #100 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #101 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #102 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #103 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #104 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #105 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #106 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #107 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #108 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #109 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #110 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #111 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #112 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #113 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #114 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #115 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #116 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #117 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #118 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #119 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #120 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #121 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #122 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #123 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #124 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #125 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #126 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #127 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #128 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #129 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #130 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #131 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #132 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #133 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #134 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #135 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #136 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #137 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #138 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #139 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #140 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #141 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #142 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #143 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #144 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #145 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #146 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #147 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #148 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #149 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #150 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #151 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #152 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #153 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #154 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #155 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #156 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #157 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #158 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #159 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #160 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #161 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #162 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #163 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #164 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #165 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #166 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #167 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #168 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #169 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #170 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #171 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #172 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #173 StatefulElement.update (package:flutter/src/widgets/framework.dart:3782:5)
I/flutter (22247): #174 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #175 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #176 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #177 StatelessElement.update (package:flutter/src/widgets/framework.dart:3685:5)
I/flutter (22247): #178 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #179 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4644:14)
I/flutter (22247): #180 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #181 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #182 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #183 ProxyElement.update (package:flutter/src/widgets/framework.dart:3892:5)
I/flutter (22247): #184 Element.updateChild (package:flutter/src/widgets/framework.dart:2682:15)
I/flutter (22247): #185 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3636:16)
I/flutter (22247): #186 Element.rebuild (package:flutter/src/widgets/framework.dart:3478:5)
I/flutter (22247): #187 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2225:33)
I/flutter (22247): #188 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:621:20)
I/flutter (22247): #189 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:208:5)
I/flutter (22247): #190 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
I/flutter (22247): #191 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
I/flutter (22247): #192 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
I/flutter (22247): #193 _invoke (dart:ui/hooks.dart:120:13)
I/flutter (22247): #194 _drawFrame (dart:ui/hooks.dart:109:3)
I/flutter (22247): (elided 2 frames from class _AssertionError)
I/flutter (22247): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter (22247): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/chatty (22247): uid=10083(u0_a83) ui_thread identical 1 line
I/flutter (22247): Another exception was thrown: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2732 pos 14: '_debugUltimatePreviousSiblingOf(after, equals: _firstChild)': is not true.
I/flutter (22247): Another exception was thrown: A RenderSliverPadding expected a child of type RenderSliver but received a child of type RenderErrorBox.
I/flutter (22247): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3480 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
I/chatty (22247): uid=10083(u0_a83) ui_thread identical 25 lines
I/flutter (22247): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 3480 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
</code></pre></div>
<h2 dir="auto">Flutter Doctor</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Version 10.0.16299.371], locale es-AR)
• Flutter version 0.2.8 at D:\flutter_windows_v0.2.8-beta\flutter
• Framework revision b397406561 (10 days ago), 2018-04-02 13:53:20 -0700
• Engine revision c903c217a1
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\AndroidSDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = D:\AndroidSDK\tools\bin;D:\AndroidSDK;D:\AndroidSDK\platform-tools;D:\AndroidSDK\tools;D:\AndroidSDK\build-tools;D:\AndroidSDK\build-tools\27.0.3;
• Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at D:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] VS Code, 64-bit edition (version 1.22.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension version 2.11.2
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)
• No issues found!"><pre class="notranslate"><code class="notranslate">[√] Flutter (Channel beta, v0.2.8, on Microsoft Windows [Version 10.0.16299.371], locale es-AR)
• Flutter version 0.2.8 at D:\flutter_windows_v0.2.8-beta\flutter
• Framework revision b397406561 (10 days ago), 2018-04-02 13:53:20 -0700
• Engine revision c903c217a1
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at D:\AndroidSDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = D:\AndroidSDK\tools\bin;D:\AndroidSDK;D:\AndroidSDK\platform-tools;D:\AndroidSDK\tools;D:\AndroidSDK\build-tools;D:\AndroidSDK\build-tools\27.0.3;
• Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at D:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[√] VS Code, 64-bit edition (version 1.22.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension version 2.11.2
[√] Connected devices (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)
• No issues found!
</code></pre></div> | 0 |
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Feature</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Currently we can only edit the props that were passed to the component:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/619186/64222327-15f85500-cea6-11e9-9420-59ae25017fe4.png"><img src="https://user-images.githubusercontent.com/619186/64222327-15f85500-cea6-11e9-9420-59ae25017fe4.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">But the component has other props (e.g. <code class="notranslate">loading</code>, <code class="notranslate">type</code>, etc) that weren't passed to this specific instance. And we should be able to play with them in the devtools similar to how Chrome allow us to add new css:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/619186/64222438-72f40b00-cea6-11e9-92f8-2b5b72ab1b43.gif"><img src="https://user-images.githubusercontent.com/619186/64222438-72f40b00-cea6-11e9-92f8-2b5b72ab1b43.gif" alt="Kapture 2019-09-03 at 23 55 57" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p>
<p dir="auto">Latest</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bvaughn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bvaughn">@bvaughn</a></p> | <p dir="auto">As proposed in <a href="https://github.com/reactjs/react-future/blob/master/04%20-%20Layout/Inline%20Style%20Extension.md">React Future</a>, it would be nice to support a list of style objects in the style property. The objects would be automatically merged (in order, with the last object overriding the previous one).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var boxStyle = {
padding: 10,
background: "hotpink"
};
var bixBoxStyle = {
margin: 10,
width: 300
};
<div style={boxStyle} />
<div style={[boxStyle, bigBoxStyle]} />
<div style={[boxStyle, bigBoxStyle, {background: "navy"}]} />"><pre class="notranslate"><code class="notranslate">var boxStyle = {
padding: 10,
background: "hotpink"
};
var bixBoxStyle = {
margin: 10,
width: 300
};
<div style={boxStyle} />
<div style={[boxStyle, bigBoxStyle]} />
<div style={[boxStyle, bigBoxStyle, {background: "navy"}]} />
</code></pre></div> | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.