after_merge stringlengths 28 79.6k | before_merge stringlengths 20 79.6k | url stringlengths 38 71 | full_traceback stringlengths 43 922k | traceback_type stringclasses 555
values |
|---|---|---|---|---|
def pull_file(self, remote_source, local_dir):
"""Transport file on the remote side to a local directory
Args:
- remote_source (string): remote_source
- local_dir (string): Local directory to copy to
Returns:
- str: Local path to file
Raises:
- FileExists : Name colli... | def pull_file(self, remote_source, local_dir):
"""Transport file on the remote side to a local directory
Args:
- remote_source (string): remote_source
- local_dir (string): Local directory to copy to
Returns:
- str: Local path to file
Raises:
- FileExists : Name colli... | https://github.com/Parsl/parsl/issues/1785 | 2020-06-28 02:02:27 parsl.channels.ssh.ssh:215 [ERROR] Remote file copy will overwrite a local file:/home/users/nus/csipav/scratch/Parsl-workflows/GDC-Downloader-Output/remote/COAD_0/runinfo/001/submit_scripts/parsl.localprovider.1593280864.8464878.sh.ec
NoneType: None
2020-06-28 02:02:27 parsl.dataflow.flow_control:11... | parsl.channels.errors.FileExists |
def status(self, job_ids):
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of str
Identifiers for the jobs.
Returns
-------
list of int
The status codes of the requsted jobs.
"""
all_states = []
status = self.c... | def status(self, job_ids):
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of str
Identifiers for the jobs.
Returns
-------
list of int
The status codes of the requsted jobs.
"""
all_states = []
status = self.c... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of JobStatus objects corresponding to each job_id in the job_ids list.
Raises:
... | def status(self, job_ids):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of JobStatus objects corresponding to each job_id in the job_ids list.
Raises:
... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def _status(self):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Returns:
- A list of JobStatus objects corresponding to each job_id in the job_ids list.
Raises:
- ExecutionProviderException or its subclasses
"""
cmd... | def _status(self):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Returns:
- A list of JobStatus objects corresponding to each job_id in the job_ids list.
Raises:
- ExecutionProviderException or its subclasses
"""
cmd... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids) -> List[JobStatus]:
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of str
Identifiers for the jobs.
Returns
-------
list of int
The status codes of the requsted jobs.
"""
statuses = []
lo... | def status(self, job_ids):
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of str
Identifiers for the jobs.
Returns
-------
list of int
The status codes of the requsted jobs.
"""
statuses = []
logger.info("List VMs... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids: List[Any]) -> List[JobStatus]:
"""Get status of the list of jobs with job_ids
Parameters
----------
job_ids : list of strings
List of job id strings
Returns
-------
list of JobStatus objects
"""
for job_id in job_ids:
channel = self.resources... | def status(self, job_ids):
"""Get status of the list of jobs with job_ids
Parameters
----------
job_ids : list of strings
List of job id strings
Returns
-------
list of JobStatus objects
"""
for job_id in job_ids:
channel = self.resources[job_id]["channel"]
st... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids: List[Any]) -> List[JobStatus]:
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of JobStatus objects corresponding to each job_id in t... | def status(self, job_ids):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of JobStatus objects corresponding to each job_id in the job_ids list.
Raises:
... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids: List[Any]) -> List[JobStatus]:
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of int
Identifiers of jobs for which the status will be returned.
Returns
-------
List of int
Status codes for the requ... | def status(self, job_ids):
"""Get the status of a list of jobs identified by their ids.
Parameters
----------
job_ids : list of int
Identifiers of jobs for which the status will be returned.
Returns
-------
List of int
Status codes for the requested jobs.
"""
self.... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def status(self, job_ids: List[Any]) -> List[JobStatus]:
"""Get the status of a list of jobs identified by their ids.
Args:
- job_ids (List of ids) : List of identifiers for the jobs
Returns:
- List of status codes.
"""
logger.debug("Checking status of: {0}".format(job_ids))
... | def status(self, job_ids):
"""Get the status of a list of jobs identified by their ids.
Args:
- job_ids (List of ids) : List of identifiers for the jobs
Returns:
- List of status codes.
"""
logger.debug("Checking status of: {0}".format(job_ids))
for job_id in self.resources:
... | https://github.com/Parsl/parsl/issues/1733 | 2020-06-01 13:40:16.122 parsl.dataflow.task_status_poller:62 [DEBUG] Polling
2020-06-01 13:40:16.126 parsl.dataflow.flow_control:114 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", lin... | AttributeError |
def start(self, poll_period=None):
"""Start the interchange
Parameters:
----------
TODO: Move task receiving to a thread
"""
logger.info("Incoming ports bound")
if poll_period is None:
poll_period = self.poll_period
start = time.time()
count = 0
self._kill_event = th... | def start(self, poll_period=None):
"""Start the interchange
Parameters:
----------
TODO: Move task receiving to a thread
"""
logger.info("Incoming ports bound")
if poll_period is None:
poll_period = self.poll_period
start = time.time()
count = 0
self._kill_event = th... | https://github.com/Parsl/parsl/issues/1657 | 2020-04-21 10:25:41 parsl.dataflow.strategy:199 [DEBUG] Executor batch-1 has 518 active tasks, 1/0 running/pending blocks, and 540 connected workers
Process HTEX-Interchange:
Traceback (most recent call last):
File "/global/homes/d/descdm/.conda/envs/parsl-lsst-dm/lib/python3.7/multiprocessing/process.py", line 297, i... | ValueError |
def wait_for_current_tasks(self):
"""Waits for all tasks in the task list to be completed, by waiting for their
AppFuture to be completed. This method will not necessarily wait for any tasks
added after cleanup has started (such as data stageout?)
"""
logger.info("Waiting for all remaining tasks to... | def wait_for_current_tasks(self):
"""Waits for all tasks in the task list to be completed, by waiting for their
AppFuture to be completed. This method will not necessarily wait for any tasks
added after cleanup has started (such as data stageout?)
"""
logger.info("Waiting for all remaining tasks to... | https://github.com/Parsl/parsl/issues/1606 | 2020-03-14 14:38:50 parsl.dataflow.memoization:159 [DEBUG] Ignoring these kwargs for checkpointing: []
Traceback (most recent call last):
File "/home/users/nus/csipav/Documents/GDC-Pipeline.git/run.py", line 187, in <module>
2020-03-14 14:38:50 parsl.dataflow.memoization:202 [DEBUG] Task 1 has memoization hash 6888eb... | RuntimeError |
def _strategy_simple(self, tasks, *args, kind=None, **kwargs):
"""Peek at the DFK and the executors specified.
We assume here that tasks are not held in a runnable
state, and that all tasks from an app would be sent to
a single specific executor, i.e tasks cannot be specified
to go to one of more e... | def _strategy_simple(self, tasks, *args, kind=None, **kwargs):
"""Peek at the DFK and the executors specified.
We assume here that tasks are not held in a runnable
state, and that all tasks from an app would be sent to
a single specific executor, i.e tasks cannot be specified
to go to one of more e... | https://github.com/Parsl/parsl/issues/1530 | 2020-01-09 13:51:29.561 parsl.dataflow.flow_control:142 [ERROR] Flow control callback threw an exception
- logging and proceeding anyway
Traceback (most recent call last):
File "/home/benc/parsl/src/parsl/parsl/dataflow/flow_control.py", line 140, in make_callback
self.callback(tasks=self._event_buffer, kind=kind)
Fil... | AttributeError |
def __repr__(self):
init = self.__init__
# This test looks for a single layer of wrapping performed by
# functools.update_wrapper, commonly used in decorators. This will
# allow RepresentationMixin to see through a single such decorator
# applied to the __init__ method of a class, and find the unde... | def __repr__(self):
init = self.__init__
# This test looks for a single layer of wrapping performed by
# functools.update_wrapper, commonly used in decorators. This will
# allow RepresentationMixin to see through a single such decorator
# applied to the __init__ method of a class, and find the unde... | https://github.com/Parsl/parsl/issues/1124 | $ python b.py
Traceback (most recent call last):
File "b.py", line 10, in <module>
print(x)
File "/home/benc/parsl/src/parsl/parsl/utils.py", line 193, in __repr__
defaults = dict(zip(reversed(argspec.args), reversed(argspec.defaults)))
TypeError: 'NoneType' object is not reversible | TypeError |
def _status(self):
"""Update the resource dictionary with job statuses."""
job_id_list = " ".join(self.resources.keys())
cmd = "condor_q {0} -af:jr JobStatus".format(job_id_list)
retcode, stdout, stderr = self.execute_wait(cmd)
"""
Example output:
$ condor_q 34524642.0 34524643.0 -... | def _status(self):
"""Update the resource dictionary with job statuses."""
job_id_list = " ".join(self.resources.keys())
cmd = "condor_q {0} -af:jr JobStatus".format(job_id_list)
retcode, stdout, stderr = self.execute_wait(cmd)
"""
Example output:
$ condor_q 34524642.0 34524643.0 -... | https://github.com/Parsl/parsl/issues/1298 | 2019-09-20 15:32:16.535 parsl.dataflow.flow_control:142 [ERROR] Flow control callback threw an exception - logging and proceeding anyway
Traceback (most recent call last):
File "/afs/crc.nd.edu/user/a/awoodard/.local/lib/python3.6/site-packages/parsl/dataflow/flow_control.py", line 140, in make_callback
self.callback(... | IndexError |
def start(self, poll_period=None):
"""Start the NeedNameQeueu
Parameters:
----------
TODO: Move task receiving to a thread
"""
logger.info("Incoming ports bound")
if poll_period is None:
poll_period = self.poll_period
start = time.time()
count = 0
self._kill_event = ... | def start(self, poll_period=None):
"""Start the NeedNameQeueu
Parameters:
----------
TODO: Move task receiving to a thread
"""
logger.info("Incoming ports bound")
if poll_period is None:
poll_period = self.poll_period
start = time.time()
count = 0
self._kill_event = ... | https://github.com/Parsl/parsl/issues/1128 | Process Process-1:
Traceback (most recent call last):
File "/home/zzli/anaconda3/envs/funcx/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/zzli/anaconda3/envs/funcx/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home... | KeyError |
def remote_side_bash_executor(func, *args, **kwargs):
"""Execute the bash app type function and return the command line string.
This string is reformatted with the *args, and **kwargs
from call time.
"""
import os
import time
import subprocess
import logging
import parsl.app.errors ... | def remote_side_bash_executor(func, *args, **kwargs):
"""Execute the bash app type function and return the command line string.
This string is reformatted with the *args, and **kwargs
from call time.
"""
import os
import time
import subprocess
import logging
import parsl.app.errors ... | https://github.com/Parsl/parsl/issues/1001 | 2019-05-31 11:22:06 parsl.dataflow.dflow:251 [ERROR] Task 0 failed
Traceback (most recent call last):
File "/home/yadu/miniconda3/envs/mpi_executor/lib/python3.6/site-packages/parsl/dataflow/dflow.py", line 248, in handle_exec_update
res.reraise()
File "/home/yadu/miniconda3/envs/mpi_executor/lib/python3.6/site-packag... | parsl.app.errors.BadStdStreamFile |
def open_std_fd(fdname):
# fdname is 'stdout' or 'stderr'
stdfspec = kwargs.get(fdname) # spec is str name or tuple (name, mode)
if stdfspec is None:
return None
elif isinstance(stdfspec, str):
fname = stdfspec
mode = "a+"
elif isinstance(stdfspec, tuple):
if len(std... | def open_std_fd(fdname):
# fdname is 'stdout' or 'stderr'
stdfspec = kwargs.get(fdname) # spec is str name or tuple (name, mode)
if stdfspec is None:
return None
elif isinstance(stdfspec, str):
fname = stdfspec
mode = "a+"
elif isinstance(stdfspec, tuple):
if len(std... | https://github.com/Parsl/parsl/issues/1001 | 2019-05-31 11:22:06 parsl.dataflow.dflow:251 [ERROR] Task 0 failed
Traceback (most recent call last):
File "/home/yadu/miniconda3/envs/mpi_executor/lib/python3.6/site-packages/parsl/dataflow/dflow.py", line 248, in handle_exec_update
res.reraise()
File "/home/yadu/miniconda3/envs/mpi_executor/lib/python3.6/site-packag... | parsl.app.errors.BadStdStreamFile |
def resource_distribution_plot(
df_resources,
df_task,
type="psutil_process_time_user",
label="CPU Time Distribution",
option="avg",
columns=20,
):
# E.g., psutil_process_time_user or psutil_process_memory_percent
min_range = min(df_resources[type].astype("float"))
max_range = max(d... | def resource_distribution_plot(
df_resources,
df_task,
type="psutil_process_time_user",
label="CPU Time Distribution",
option="avg",
columns=20,
):
# E.g., psutil_process_time_user or psutil_process_memory_percent
min_range = min(df_resources[type].astype("float"))
max_range = max(d... | https://github.com/Parsl/parsl/issues/926 | [2019-05-03 18:18:01,362] ERROR in app: Exception on /workflow/9294c39d-a64d-4ad5-9ff8-4b8d757c1af1/resource_usage [GET]
Traceback (most recent call last):
File "/Users/awoodard/software/miniconda3/envs/parsl/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File ... | ZeroDivisionError |
def y_axis_setup():
items = [0] * len(x_axis)
for app, tasks in apps_dict.items():
if option == "avg":
task = (
df_resources[df_resources["task_id"] == app][type]
.astype("float")
.mean()
)
elif option == "max":
... | def y_axis_setup():
items = []
for app, tasks in apps_dict.items():
tmp = []
if option == "avg":
task = (
df_resources[df_resources["task_id"] == app][type]
.astype("float")
.mean()
)
elif option == "max":
... | https://github.com/Parsl/parsl/issues/926 | [2019-05-03 18:18:01,362] ERROR in app: Exception on /workflow/9294c39d-a64d-4ad5-9ff8-4b8d757c1af1/resource_usage [GET]
Traceback (most recent call last):
File "/Users/awoodard/software/miniconda3/envs/parsl/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File ... | ZeroDivisionError |
def resource_time_series(tasks, type="psutil_process_time_user", label="CPU user time"):
tasks["epoch_time"] = (
pd.to_datetime(tasks["timestamp"]) - pd.Timestamp("1970-01-01")
) // pd.Timedelta("1s")
step = int(tasks["resource_monitoring_interval"][0])
start = tasks["epoch_time"].min()
end ... | def resource_time_series(tasks, type="psutil_process_time_user", label="CPU user time"):
tasks["epoch_time"] = (
pd.to_datetime(tasks["timestamp"]) - pd.Timestamp("1970-01-01")
) // pd.Timedelta("1s")
step = int(tasks["resource_monitoring_interval"][0])
start = tasks["epoch_time"].min()
end ... | https://github.com/Parsl/parsl/issues/926 | [2019-05-03 18:18:01,362] ERROR in app: Exception on /workflow/9294c39d-a64d-4ad5-9ff8-4b8d757c1af1/resource_usage [GET]
Traceback (most recent call last):
File "/Users/awoodard/software/miniconda3/envs/parsl/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File ... | ZeroDivisionError |
def workflow_resources(workflow_id):
workflow_details = Workflow.query.filter_by(run_id=workflow_id).first()
if workflow_details is None:
return render_template(
"error.html", message="Workflow %s could not be found" % workflow_id
)
df_resources = pd.read_sql_query(
"SEL... | def workflow_resources(workflow_id):
workflow_details = Workflow.query.filter_by(run_id=workflow_id).first()
if workflow_details is None:
return render_template(
"error.html", message="Workflow %s could not be found" % workflow_id
)
df_resources = pd.read_sql_query(
"SEL... | https://github.com/Parsl/parsl/issues/926 | [2019-05-03 18:18:01,362] ERROR in app: Exception on /workflow/9294c39d-a64d-4ad5-9ff8-4b8d757c1af1/resource_usage [GET]
Traceback (most recent call last):
File "/Users/awoodard/software/miniconda3/envs/parsl/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File ... | ZeroDivisionError |
def status(self, job_ids):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of status from ['PENDING', 'RUNNING', 'CANCELLED', 'COMPLETED',
'FAILED',... | def status(self, job_ids):
"""Get the status of a list of jobs identified by the job identifiers
returned from the submit request.
Args:
- job_ids (list) : A list of job identifiers
Returns:
- A list of status from ['PENDING', 'RUNNING', 'CANCELLED', 'COMPLETED',
'FAILED',... | https://github.com/Parsl/parsl/issues/196 | Traceback (most recent call last):
File "/Users/awoodard/software/anaconda3/envs/parsl_py36/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/Users/awoodard/software/anaconda3/envs/parsl_py36/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/Users/... | KeyError |
def __init__(
self,
config=None,
executors=None,
lazyErrors=True,
appCache=True,
rundir=None,
retries=0,
checkpointFiles=None,
checkpointMode=None,
data_manager=None,
):
"""Initialize the DataFlowKernel.
Please note that keyword args passed to the DFK here will always ov... | def __init__(
self,
config=None,
executors=None,
lazyErrors=True,
appCache=True,
rundir=None,
retries=0,
checkpointFiles=None,
checkpointMode=None,
data_manager=None,
):
"""Initialize the DataFlowKernel.
Please note that keyword args passed to the DFK here will always ov... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def handle_update(self, task_id, future, memo_cbk=False):
"""This function is called only as a callback from a task being done.
Move done task from runnable -> done
Move newly doable tasks from pending -> runnable , and launch
Args:
task_id (string) : Task id which is a uuid string
f... | def handle_update(self, task_id, future, memo_cbk=False):
"""This function is called only as a callback from a task being done.
Move done task from runnable -> done
Move newly doable tasks from pending -> runnable , and launch
Args:
task_id (string) : Task id which is a uuid string
f... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def launch_task(self, task_id, executable, *args, **kwargs):
"""Handle the actual submission of the task to the executor layer.
If the app task has the sites attributes not set (default=='all')
the task is launched on a randomly selected executor from the
list of executors. This behavior could later be... | def launch_task(self, task_id, executable, *args, **kwargs):
"""Handle the actual submission of the task to the executor layer.
If the app task has the sites attributes not set (default=='all')
the task is launched on a randomly selected executor from the
list of executors. This behavior could later be... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def submit(self, func, *args, parsl_sites="all", fn_hash=None, cache=False, **kwargs):
"""Add task to the dataflow system.
>>> IF all deps are met :
>>> send to the runnable queue and launch the task
>>> ELSE:
>>> post the task in the pending queue
Args:
- func : A function object
... | def submit(self, func, *args, parsl_sites="all", fn_hash=None, cache=False, **kwargs):
"""Add task to the dataflow system.
>>> IF all deps are met :
>>> send to the runnable queue and launch the task
>>> ELSE:
>>> post the task in the pending queue
Args:
- func : A function object
... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def checkpoint(self, tasks=None):
"""Checkpoint the dfk incrementally to a checkpoint file.
When called, every task that has been completed yet not
checkpointed is checkpointed to a file.
Kwargs:
- tasks (List of task ids) : List of task ids to checkpoint. Default=None
... | def checkpoint(self):
"""Checkpoint the dfk incrementally to a checkpoint file.
When called, every task that has been completed yet not
checkpointed is checkpointed to a file.
.. note::
Checkpointing only works if memoization is enabled
Returns:
Checkpoint dir if checkpoints were ... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def _load_checkpoints(self, checkpointDirs):
"""Load a checkpoint file into a lookup table.
The data being loaded from the pickle file mostly contains input
attributes of the task: func, args, kwargs, env...
To simplify the check of whether the exact task has been completed
in the checkpoint, we ha... | def _load_checkpoints(self, checkpointDirs):
"""Load a checkpoint file into a lookup table.
The data being loaded from the pickle file mostly contains input
attributes of the task: func, args, kwargs, env...
To simplify the check of whether the exact task has been completed
in the checkpoint, we ha... | https://github.com/Parsl/parsl/issues/234 | Traceback (most recent call last):
File "test_regression_233.py", line 38, in <module>
test_checkpoint_availability()
File "test_regression_233.py", line 27, in test_checkpoint_availability
original = run_checkpointed([])
File "test_regression_233.py", line 18, in run_checkpointed
x = cached_rand(i)
File "/home/yadu/sr... | AttributeError |
def __repr__(self):
# The DataFuture could be wrapping an AppFuture whose parent is a Future
# check to find the top level parent
if isinstance(self.parent, AppFuture):
parent = self.parent.parent
else:
parent = self.parent
if parent:
with parent._condition:
if p... | def __repr__(self):
parent = self.parent.parent
if parent:
with parent._condition:
if parent._state == FINISHED:
if parent._exception:
return "<%s at %#x state=%s raised %s>" % (
self.__class__.__name__,
id(s... | https://github.com/Parsl/parsl/issues/164 | In [9]: from parsl import *
In [10]: dfk = DataFlowKernel(config=config)
In [11]: unsorted_file = File("globus://037f054a-15cf-11e8-b611-0ac6873fc732/unsorted.txt")
In [12]: unsorted_file.stage_in()
DEBUG:parsl.app.futures:Creating DataFuture with parent : None
DEBUG:parsl.app.futures:Filepath : /Users/awoodard/unsort... | AttributeError |
def _upload_dependencies_to_object_store(
self, runtime_configuration, pipeline_name, operation
):
operation_artifact_archive = self._get_dependency_archive_name(operation)
cos_directory = pipeline_name
# upload operation dependencies to object store
try:
t0 = time.time()
dependency_... | def _upload_dependencies_to_object_store(
self, runtime_configuration, pipeline_name, operation
):
operation_artifact_archive = self._get_dependency_archive_name(operation)
cos_directory = pipeline_name
# upload operation dependencies to object store
try:
t0 = time.time()
dependency_... | https://github.com/elyra-ai/elyra/issues/1376 | [I 2021-03-04 17:28:22.928 ServerApp] Creating pipeline definition as a .py file
[I 2021-03-04 17:28:22.949 ServerApp] airflow 'hello_world_apache_airflow-0304172822' - processing pipeline dependencies to: https://minio-service.kubernetes:9000 bucket: airflow-pipeline-artifacts folder: hello_world_apache_airflow-030417... | urllib3.exceptions.NewConnectionError |
def process(self, operation: Operation):
filepath = self.get_valid_filepath(operation.filename)
file_dir = os.path.dirname(filepath)
file_name = os.path.basename(filepath)
self.log.debug(f"Processing python script: {filepath}")
argv = ["python3", filepath, "--PYTHONHOME", file_dir]
envs = os... | def process(self, operation: Operation):
filepath = self.get_valid_filepath(operation.filename)
file_dir = os.path.dirname(filepath)
file_name = os.path.basename(filepath)
self.log.debug(f"Processing python script: {filepath}")
argv = ["python3", filepath, "--PYTHONHOME", file_dir]
envs = ope... | https://github.com/elyra-ai/elyra/issues/1042 | [I 10:35:22.335 LabApp] local 'request' - processing pipeline
Traceback (most recent call last):
File "/Users/patti/meetups/l_a_l_11_09/test_workspace/my-examples-repo/pipelines/hello_world/request.py", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
[E 10:35:22.403 LabApp] Uncaught ... | ModuleNotFoundError |
def env_vars_as_dict(self, logger: Optional[object] = None) -> Dict:
"""Operation stores environment variables in a list of name=value pairs, while
subprocess.run() requires a dictionary - so we must convert. If no envs are
configured on the Operation, the existing env is returned, otherwise envs
confi... | def env_vars_as_dict(self, logger: Optional[object] = None) -> Dict:
"""Operation stores environment variables in a list of name=value pairs, while
subprocess.run() requires a dictionary - so we must convert. If no envs are
configured on the Operation, the existing env is returned, otherwise envs
confi... | https://github.com/elyra-ai/elyra/issues/961 | Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/elyra/pipeline/processor_local.py", line 151, in process
subprocess.run(argv, cwd=file_dir, env=envs, check=True)
File "/opt/conda/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: C... | subprocess.CalledProcessError |
def process(self, operation: Operation):
raise NotImplementedError
| def process(self, operation: Operation):
filepath = get_absolute_path(self._root_dir, operation.filename)
if not os.path.exists(filepath):
raise FileNotFoundError(f"Could not find {filepath}")
if not os.path.isfile(filepath):
raise ValueError(f"Not a file: {filepath}")
self.log.debug(f"... | https://github.com/elyra-ai/elyra/issues/961 | Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/elyra/pipeline/processor_local.py", line 151, in process
subprocess.run(argv, cwd=file_dir, env=envs, check=True)
File "/opt/conda/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: C... | subprocess.CalledProcessError |
def start(self):
include_invalid = not self.valid_only
try:
runtimes = self.metadata_manager.get_all_metadata_summary(
include_invalid=include_invalid
)
except KeyError:
runtimes = None
if not runtimes:
print(
"No metadata available for external r... | def start(self):
include_invalid = not self.valid_only
runtimes = self.metadata_manager.get_all_metadata_summary(
include_invalid=include_invalid
)
if not runtimes:
print(
"No metadata available for external runtimes at : '{}'".format(
self.metadata_manager.g... | https://github.com/elyra-ai/elyra/issues/317 | C:\Users\Administrator\Downloads>jupyter runtimes list
Traceback (most recent call last):
File "c:\programdata\anaconda3\envs\elyra\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\programdata\anaconda3\envs\elyra\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Progra... | KeyError |
def start(self):
self._validate_parameters()
# init with required, conditionally add optional # TODO - drive from metadata? Will need better
metadata = dict(
api_endpoint=self.api_endpoint,
cos_endpoint=self.cos_endpoint,
cos_username=self.cos_username,
cos_password=self.c... | def start(self):
self._validate_parameters()
# init with required, conditionally add optional # TODO - drive from metadata? Will need better
metadata = dict(
api_endpoint=self.api_endpoint,
cos_endpoint=self.cos_endpoint,
cos_bucket=self.cos_bucket,
)
if self.cos_username... | https://github.com/elyra-ai/elyra/issues/219 | [E 14:28:56.246 LabApp] Uncaught exception POST /scheduler?1574720936239 (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/scheduler?1574720936239', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.6/site-packages/tornado/web.py"... | KeyError |
def _validate_parameters(self):
self._confirm_required("name", self.name)
self._confirm_required("display_name", self.display_name)
self._confirm_required("api_endpoint", self.api_endpoint)
self._confirm_required("cos_endpoint", self.cos_endpoint)
self._confirm_required("cos_username", self.cos_user... | def _validate_parameters(self):
self._confirm_required("name", self.name)
self._confirm_required("display_name", self.display_name)
self._confirm_required("api_endpoint", self.api_endpoint)
self._confirm_required("cos_endpoint", self.cos_endpoint)
self._confirm_required("cos_bucket", self.cos_bucket... | https://github.com/elyra-ai/elyra/issues/219 | [E 14:28:56.246 LabApp] Uncaught exception POST /scheduler?1574720936239 (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/scheduler?1574720936239', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.6/site-packages/tornado/web.py"... | KeyError |
def traverse(self, path, response=None, validated_hook=None):
"""Traverse the object space
The REQUEST must already have a PARENTS item with at least one
object in it. This is typically the root object.
"""
request = self
request_get = request.get
if response is None:
response = se... | def traverse(self, path, response=None, validated_hook=None):
"""Traverse the object space
The REQUEST must already have a PARENTS item with at least one
object in it. This is typically the root object.
"""
request = self
request_get = request.get
if response is None:
response = se... | https://github.com/zopefoundation/Zope/issues/816 | Traceback (most recent call last):
File "/Users/jens/src/.eggs/waitress-1.4.3-py3.7.egg/waitress/channel.py", line 349, in service
task.service()
File "/Users/jens/src/.eggs/waitress-1.4.3-py3.7.egg/waitress/task.py", line 169, in service
self.execute()
File "/Users/jens/src/.eggs/waitress-1.4.3-py3.7.egg/waitress/task... | AttributeError |
def manage_DAVget(self):
"""Gets the document source or file data.
This implementation is a last resort fallback. The subclass should
override this method to provide a more appropriate implementation.
Using PrincipiaSearchSource, if it exists. It is one of the few shared
interfaces still around in... | def manage_DAVget(self):
"""Gets the document source"""
# The default implementation calls PrincipiaSearchSource
return self.PrincipiaSearchSource()
| https://github.com/zopefoundation/Zope/issues/799 | 2020-03-05 12:08:22 ERROR [waitress:357][waitress] Exception while serving /foo/m
Traceback (most recent call last):
File "/home/ajung/src/zope/lib/python3.7/site-packages/waitress/channel.py", line 349, in service
task.service()
File "/home/ajung/src/zope/lib/python3.7/site-packages/waitress/task.py", line 169, in ser... | AttributeError |
def xml_escape(value):
if not isinstance(value, (str, bytes)):
value = str(value)
if not isinstance(value, str):
value = value.decode("utf-8")
return xmltools_escape(value)
| def xml_escape(value):
if not isinstance(value, (str, bytes)):
value = str(value)
if not isinstance(value, str):
value = value.decode("utf-8")
value = xmltools_escape(value)
return value.encode("utf-8")
| https://github.com/zopefoundation/Zope/issues/799 | 2020-03-05 12:08:22 ERROR [waitress:357][waitress] Exception while serving /foo/m
Traceback (most recent call last):
File "/home/ajung/src/zope/lib/python3.7/site-packages/waitress/channel.py", line 349, in service
task.service()
File "/home/ajung/src/zope/lib/python3.7/site-packages/waitress/task.py", line 169, in ser... | AttributeError |
def publish_module(
environ,
start_response,
_publish=publish, # only for testing
_response=None,
_response_factory=WSGIResponse,
_request=None,
_request_factory=WSGIRequest,
_module_name="Zope2",
):
module_info = get_module_info(_module_name)
result = ()
path_info = enviro... | def publish_module(
environ,
start_response,
_publish=publish, # only for testing
_response=None,
_response_factory=WSGIResponse,
_request=None,
_request_factory=WSGIRequest,
_module_name="Zope2",
):
module_info = get_module_info(_module_name)
result = ()
path_info = enviro... | https://github.com/zopefoundation/Zope/issues/726 | 2019-11-05 11:07:59 ERROR [ZODB.Connection:787][waitress] Shouldn't load state for AccessControl.users.User 0x04 when the connection is closed
Traceback (most recent call last):
File "/Users/dwt/.virtualenvs/tmp-274bc27ca19363/lib/python3.7/site-packages/ZODB/Connection.py", line 785, in setstate
raise ConnectionStateE... | ZODB.POSException.ConnectionStateError |
def publish_module(
environ,
start_response,
_publish=publish, # only for testing
_response=None,
_response_factory=WSGIResponse,
_request=None,
_request_factory=WSGIRequest,
_module_name="Zope2",
):
module_info = get_module_info(_module_name)
result = ()
path_info = enviro... | def publish_module(
environ,
start_response,
_publish=publish, # only for testing
_response=None,
_response_factory=WSGIResponse,
_request=None,
_request_factory=WSGIRequest,
_module_name="Zope2",
):
module_info = get_module_info(_module_name)
result = ()
path_info = enviro... | https://github.com/zopefoundation/Zope/issues/726 | 2019-11-05 11:07:59 ERROR [ZODB.Connection:787][waitress] Shouldn't load state for AccessControl.users.User 0x04 when the connection is closed
Traceback (most recent call last):
File "/Users/dwt/.virtualenvs/tmp-274bc27ca19363/lib/python3.7/site-packages/ZODB/Connection.py", line 785, in setstate
raise ConnectionStateE... | ZODB.POSException.ConnectionStateError |
def redirect(self, location, status=302, lock=0):
"""Cause a redirection without raising an error"""
if isinstance(location, HTTPRedirection):
status = location.getStatus()
location = location.headers["Location"]
if PY2 and isinstance(location, text_type):
location = location.encode... | def redirect(self, location, status=302, lock=0):
"""Cause a redirection without raising an error"""
if isinstance(location, HTTPRedirection):
status = location.getStatus()
location = str(location)
self.setStatus(status, lock=lock)
self.setHeader("Location", location)
return location
| https://github.com/zopefoundation/Zope/issues/435 | 2018-12-18 11:37:44,424 ERROR [waitress:341][waitress] Exception when serving /Plone2/s3/view/ääää
Traceback (most recent call last):
File "/home/ajung/src/xmldirector.connector/eggs/waitress-1.1.0-py3.7.egg/waitress/channel.py", line 338, in service
task.service()
File "/home/ajung/src/xmldirector.connector/eggs/waitr... | UnicodeDecodeError |
def default_zpublisher_encoding(value):
# This is a bit clunky but necessary :-(
# These modules are imported during the configuration process
# so a module-level call to getConfiguration in any of them
# results in getting config data structure without the necessary
# value in it.
if PY2:
... | def default_zpublisher_encoding(value):
# This is a bit clunky but necessary :-(
# These modules are imported during the configuration process
# so a module-level call to getConfiguration in any of them
# results in getting config data structure without the necessary
# value in it.
from ZPublish... | https://github.com/zopefoundation/Zope/issues/308 | Traceback (most recent call last):
File ".../waitress/channel.py", line 338, in service
task.service()
File ".../waitress/task.py", line 169, in service
self.execute()
File ".../waitress/task.py", line 399, in execute
app_iter = self.channel.server.application(env, start_response)
File ".../ZPublisher/httpexceptions.py... | AssertionError |
def install_product(
app, product_dir, product_name, meta_types, folder_permissions, raise_exc=None
):
if not _is_package(product_dir, product_name):
return
__traceback_info__ = product_name
global_dict = globals()
product = __import__(
"Products.%s" % product_name, global_dict, glo... | def install_product(
app, product_dir, product_name, meta_types, folder_permissions, raise_exc=None
):
if not _is_package(product_dir, product_name):
return
__traceback_info__ = product_name
global_dict = globals()
product = __import__(
"Products.%s" % product_name, global_dict, glo... | https://github.com/zopefoundation/Zope/issues/187 | Running plone.app.testing.layers.PloneFixture tests:
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
Set up plone.testing.z2.Startup in 0.058 seconds.
Set up plone.app.testing.layers.PloneFixture Traceback (most recent call last):
File "/home/jenki... | TypeError |
def processInputs(
self,
# "static" variables that we want to be local for speed
SEQUENCE=1,
DEFAULT=2,
RECORD=4,
RECORDS=8,
REC=12, # RECORD | RECORDS
EMPTY=16,
CONVERTED=32,
hasattr=hasattr,
getattr=getattr,
setattr=setattr,
):
"""Process request inputs
We nee... | def processInputs(
self,
# "static" variables that we want to be local for speed
SEQUENCE=1,
DEFAULT=2,
RECORD=4,
RECORDS=8,
REC=12, # RECORD | RECORDS
EMPTY=16,
CONVERTED=32,
hasattr=hasattr,
getattr=getattr,
setattr=setattr,
):
"""Process request inputs
We nee... | https://github.com/zopefoundation/Zope/issues/148 | Traceback (most recent call last):
File "/tmp/z2py36/lib/python3.6/site-packages/waitress/channel.py", line 338, in service
task.service()
File "/tmp/z2py36/lib/python3.6/site-packages/waitress/task.py", line 169, in service
self.execute()
File "/tmp/z2py36/lib/python3.6/site-packages/waitress/task.py", line 399, in ex... | ValueError |
def run_feed(
self, feed=None, download=False, ignoreFirst=False, force=False, readout=True
):
"""Run the query for one URI and apply filters"""
self.shutdown = False
if not feed:
return "No such feed"
newlinks = []
new_downloads = []
# Preparations, get options
try:
f... | def run_feed(
self, feed=None, download=False, ignoreFirst=False, force=False, readout=True
):
"""Run the query for one URI and apply filters"""
self.shutdown = False
if not feed:
return "No such feed"
newlinks = []
new_downloads = []
# Preparations, get options
try:
f... | https://github.com/sabnzbd/sabnzbd/issues/1634 | 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python3/dist-packages/cherrypy/lib... | UnboundLocalError |
def run_feed(
self, feed=None, download=False, ignoreFirst=False, force=False, readout=True
):
"""Run the query for one URI and apply filters"""
self.shutdown = False
if not feed:
return "No such feed"
newlinks = []
new_downloads = []
# Preparations, get options
try:
f... | def run_feed(
self, feed=None, download=False, ignoreFirst=False, force=False, readout=True
):
"""Run the query for one URI and apply filters"""
self.shutdown = False
if not feed:
return "No such feed"
newlinks = []
new_downloads = []
# Preparations, get options
try:
f... | https://github.com/sabnzbd/sabnzbd/issues/1634 | 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 670, in respond
response.body = self.handler()
File "/usr/lib/python3/dist-packages/cherrypy/lib... | UnboundLocalError |
def sanitize_foldername(name):
"""Return foldername with dodgy chars converted to safe ones
Remove any leading and trailing dot and space characters
"""
if not name:
return name
illegal = CH_ILLEGAL + ':"'
legal = CH_LEGAL + "-'"
if sabnzbd.WIN32 or sabnzbd.cfg.sanitize_safe():
... | def sanitize_foldername(name):
"""Return foldername with dodgy chars converted to safe ones
Remove any leading and trailing dot and space characters
"""
if not name:
return name
illegal = CH_ILLEGAL + ':"'
legal = CH_LEGAL + "-'"
if sabnzbd.WIN32 or sabnzbd.cfg.sanitize_safe():
... | https://github.com/sabnzbd/sabnzbd/issues/1597 | /_UNPACK_[Golumpa] Kino's Journey - The Beautiful World (2017) - 07 (Kino no Tabi) [English Dub] [FuniDub 1080p x264 AAC] [MKV] [1EB4BBFB] [1+8] - [Golumpa] Kino's Journey - The Beautiful World (2017) - 07 (Kino no Tabi) [FuniDub 1080p x264 AAC] [1EB4BBFB].mkv y)
Traceback (most recent call last):
File "/usr/lib/python... | OSError |
def __init__(
self,
filename,
pp=None,
script=None,
nzb=None,
futuretype=False,
cat=None,
url=None,
priority=DEFAULT_PRIORITY,
nzbname=None,
status=Status.QUEUED,
nzo_info=None,
reuse=None,
dup_check=True,
):
TryList.__init__(self)
self.filename = filenam... | def __init__(
self,
filename,
pp=None,
script=None,
nzb=None,
futuretype=False,
cat=None,
url=None,
priority=DEFAULT_PRIORITY,
nzbname=None,
status=Status.QUEUED,
nzo_info=None,
reuse=None,
dup_check=True,
):
TryList.__init__(self)
self.filename = filenam... | https://github.com/sabnzbd/sabnzbd/issues/1575 | 2020-08-15 09:52:02,675::INFO::[postproc:367] Starting Post-Processing on 293894103 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:*
2020-08-15 09:52:02,680::INFO::[postproc:722] Starting verification and repair of 293894103
2020-08-15 09:52:02,708::INFO::[postproc:794] Verification and repair finished for ... | TypeError |
def save_attribs(self):
"""Save specific attributes for Retry"""
attribs = {}
for attrib in NzoAttributeSaver:
attribs[attrib] = getattr(self, attrib)
logging.debug("Saving attributes %s for %s", attribs, self.final_name)
sabnzbd.save_data(attribs, ATTRIB_FILE, self.workpath)
| def save_attribs(self):
set_attrib_file(
self.workpath,
(
self.cat,
self.pp,
self.script,
self.priority,
self.final_name,
self.password,
self.url,
),
)
| https://github.com/sabnzbd/sabnzbd/issues/1575 | 2020-08-15 09:52:02,675::INFO::[postproc:367] Starting Post-Processing on 293894103 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:*
2020-08-15 09:52:02,680::INFO::[postproc:722] Starting verification and repair of 293894103
2020-08-15 09:52:02,708::INFO::[postproc:794] Verification and repair finished for ... | TypeError |
def __init__(
self,
filename,
pp=None,
script=None,
nzb=None,
futuretype=False,
cat=None,
url=None,
priority=DEFAULT_PRIORITY,
nzbname=None,
status=Status.QUEUED,
nzo_info=None,
reuse=None,
dup_check=True,
):
TryList.__init__(self)
self.filename = filenam... | def __init__(
self,
filename,
pp=None,
script=None,
nzb=None,
futuretype=False,
cat=None,
url=None,
priority=DEFAULT_PRIORITY,
nzbname=None,
status=Status.QUEUED,
nzo_info=None,
reuse=None,
dup_check=True,
):
TryList.__init__(self)
self.filename = filenam... | https://github.com/sabnzbd/sabnzbd/issues/1575 | 2020-08-15 09:52:02,675::INFO::[postproc:367] Starting Post-Processing on 293894103 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:*
2020-08-15 09:52:02,680::INFO::[postproc:722] Starting verification and repair of 293894103
2020-08-15 09:52:02,708::INFO::[postproc:794] Verification and repair finished for ... | TypeError |
def _handle_node_cache(self, node, keep_build, processed_package_references, remotes):
pref = node.pref
assert pref.id, "Package-ID without value"
assert pref.id != PACKAGE_ID_UNKNOWN, "Package-ID error: %s" % str(pref)
conanfile = node.conanfile
output = conanfile.output
layout = self._cache.p... | def _handle_node_cache(self, node, keep_build, processed_package_references, remotes):
pref = node.pref
assert pref.id, "Package-ID without value"
assert pref.id != PACKAGE_ID_UNKNOWN, "Package-ID error: %s" % str(pref)
conanfile = node.conanfile
output = conanfile.output
layout = self._cache.p... | https://github.com/conan-io/conan/issues/8172 | conan info poco/1.9.4@ --paths
Traceback (most recent call last):
File "C:\Users\Daniel\AppData\Roaming\Python\Python37\site-packages\conans\client\command.py", line 2115, in run
method(args[0][1:])
File "C:\Users\Daniel\AppData\Roaming\Python\Python37\site-packages\conans\client\command.py", line 747, in info
lockfile... | AssertionError |
def package_id_exists(self, package_id):
# The package exists if the folder exists, also for short_paths case
pkg_folder = self.package(PackageReference(self._ref, package_id))
return os.path.isdir(pkg_folder)
| def package_id_exists(self, package_id):
# This is NOT the short paths, but the standard cache one
pkg_folder = os.path.join(self._base_folder, PACKAGES_FOLDER, package_id)
return os.path.isdir(pkg_folder)
| https://github.com/conan-io/conan/issues/8172 | conan info poco/1.9.4@ --paths
Traceback (most recent call last):
File "C:\Users\Daniel\AppData\Roaming\Python\Python37\site-packages\conans\client\command.py", line 2115, in run
method(args[0][1:])
File "C:\Users\Daniel\AppData\Roaming\Python\Python37\site-packages\conans\client\command.py", line 747, in info
lockfile... | AssertionError |
def config(self, *args):
"""
Manages Conan configuration.
Used to edit conan.conf, or install config files.
"""
parser = argparse.ArgumentParser(
description=self.config.__doc__,
prog="conan config",
formatter_class=SmartFormatter,
)
subparsers = parser.add_subparse... | def config(self, *args):
"""
Manages Conan configuration.
Used to edit conan.conf, or install config files.
"""
parser = argparse.ArgumentParser(
description=self.config.__doc__,
prog="conan config",
formatter_class=SmartFormatter,
)
subparsers = parser.add_subparse... | https://github.com/conan-io/conan/issues/7046 | PS D:\temp\conan> conan search
Traceback (most recent call last):
File "conan\conans\client\command.py", line 2016, in run
File "conan\conans\client\conan_api.py", line 92, in wrapper
File "conan\conans\client\conan_api.py", line 608, in config_install
File "conan\conans\client\conf\config_installer.py", line 234, in c... | FileNotFoundError |
def _process_config(config, cache, output, requester):
try:
if config.type == "git":
_process_git_repo(config, cache, output)
elif config.type == "dir":
_process_folder(config, config.uri, cache, output)
elif config.type == "file":
with tmp_config_install_... | def _process_config(config, cache, output, requester):
if config.type == "git":
_process_git_repo(config, cache, output)
elif config.type == "dir":
_process_folder(config, config.uri, cache, output)
elif config.type == "file":
with tmp_config_install_folder(cache) as tmp_folder:
... | https://github.com/conan-io/conan/issues/7046 | PS D:\temp\conan> conan search
Traceback (most recent call last):
File "conan\conans\client\command.py", line 2016, in run
File "conan\conans\client\conan_api.py", line 92, in wrapper
File "conan\conans\client\conan_api.py", line 608, in config_install
File "conan\conans\client\conf\config_installer.py", line 234, in c... | FileNotFoundError |
def __init__(self, ref, conanfile, context, recipe=None, path=None):
self.ref = ref
self.path = path # path to the consumer conanfile.xx for consumer, None otherwise
self._package_id = None
self.prev = None
self.conanfile = conanfile
self.dependencies = [] # Ordered Edges
self.dependants =... | def __init__(self, ref, conanfile, context, recipe=None, path=None):
self.ref = ref
self.path = path # path to the consumer conanfile.xx for consumer, None otherwise
self._package_id = None
self.prev = None
self.conanfile = conanfile
self.dependencies = [] # Ordered Edges
self.dependants =... | https://github.com/conan-io/conan/issues/6942 | 30-Apr-2020 16:37:19 xyz/abc: Unknown binary for xyz/abc, computing updated ID
30-Apr-2020 16:37:19 Traceback (most recent call last):
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 2002, in run
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 369, in create
30-Apr-2020 16:37:19 File "... | TypeError |
def _compute_package_id(
self, node, default_package_id_mode, default_python_requires_id_mode
):
"""
Compute the binary package ID of this node
:param node: the node to compute the package-ID
:param default_package_id_mode: configuration of the package-ID mode
"""
# TODO Conan 2.0. To separa... | def _compute_package_id(
self, node, default_package_id_mode, default_python_requires_id_mode
):
"""
Compute the binary package ID of this node
:param node: the node to compute the package-ID
:param default_package_id_mode: configuration of the package-ID mode
"""
# TODO Conan 2.0. To separa... | https://github.com/conan-io/conan/issues/6942 | 30-Apr-2020 16:37:19 xyz/abc: Unknown binary for xyz/abc, computing updated ID
30-Apr-2020 16:37:19 Traceback (most recent call last):
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 2002, in run
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 369, in create
30-Apr-2020 16:37:19 File "... | TypeError |
def _build(
self, nodes_by_level, keep_build, root_node, graph_info, remotes, build_mode, update
):
using_build_profile = bool(graph_info.profile_build)
missing, downloads = self._classify(nodes_by_level)
self._raise_missing(missing)
processed_package_refs = set()
self._download(downloads, proce... | def _build(
self, nodes_by_level, keep_build, root_node, graph_info, remotes, build_mode, update
):
using_build_profile = bool(graph_info.profile_build)
missing, downloads = self._classify(nodes_by_level)
self._raise_missing(missing)
processed_package_refs = set()
self._download(downloads, proce... | https://github.com/conan-io/conan/issues/6942 | 30-Apr-2020 16:37:19 xyz/abc: Unknown binary for xyz/abc, computing updated ID
30-Apr-2020 16:37:19 Traceback (most recent call last):
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 2002, in run
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 369, in create
30-Apr-2020 16:37:19 File "... | TypeError |
def _propagate_info(self, node, using_build_profile, fixed_package_id):
if fixed_package_id:
# if using config.full_transitive_package_id, it is necessary to recompute
# the node transitive information necessary to compute the package_id
# as it will be used by reevaluate_node() when package... | def _propagate_info(node, using_build_profile):
# Get deps_cpp_info from upstream nodes
node_order = [n for n in node.public_closure if n.binary != BINARY_SKIP]
# List sort is stable, will keep the original order of the closure, but prioritize levels
conan_file = node.conanfile
conan_file._conan_usi... | https://github.com/conan-io/conan/issues/6942 | 30-Apr-2020 16:37:19 xyz/abc: Unknown binary for xyz/abc, computing updated ID
30-Apr-2020 16:37:19 Traceback (most recent call last):
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 2002, in run
30-Apr-2020 16:37:19 File "conan/conans/client/command.py", line 369, in create
30-Apr-2020 16:37:19 File "... | TypeError |
def inspect(self, path, attributes, remote_name=None):
remotes = self.app.load_remotes(remote_name=remote_name)
try:
ref = ConanFileReference.loads(path)
except ConanException:
conanfile_path = _get_conanfile_path(path, get_cwd(), py=True)
conanfile = self.app.loader.load_named(conan... | def inspect(self, path, attributes, remote_name=None):
remotes = self.app.load_remotes(remote_name=remote_name)
try:
ref = ConanFileReference.loads(path)
except ConanException:
conanfile_path = _get_conanfile_path(path, get_cwd(), py=True)
conanfile = self.app.loader.load_named(conan... | https://github.com/conan-io/conan/issues/6776 | ERROR: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/conans/errors.py", line 34, in conanfile_exception_formatter
yield
File "/usr/local/lib/python3.6/site-packages/conans/client/source.py", line 143, in _run_source
conanfile.source()
File "/home/rdesmond/Desktop/output/version_test/ex... | AttributeError |
def _load_pyreq_conanfile(self, loader, lock_python_requires, ref):
recipe = self._proxy.get_recipe(
ref,
self._check_updates,
self._update,
remotes=self._remotes,
recorder=ActionRecorder(),
)
path, _, _, new_ref = recipe
conanfile, module = loader.load_basic_modu... | def _load_pyreq_conanfile(self, loader, lock_python_requires, ref):
recipe = self._proxy.get_recipe(
ref,
self._check_updates,
self._update,
remotes=self._remotes,
recorder=ActionRecorder(),
)
path, _, _, new_ref = recipe
conanfile, module = loader.load_basic_modu... | https://github.com/conan-io/conan/issues/6776 | ERROR: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/conans/errors.py", line 34, in conanfile_exception_formatter
yield
File "/usr/local/lib/python3.6/site-packages/conans/client/source.py", line 143, in _run_source
conanfile.source()
File "/home/rdesmond/Desktop/output/version_test/ex... | AttributeError |
def load_export(
self, conanfile_path, name, version, user, channel, lock_python_requires=None
):
"""loads the conanfile and evaluates its name, version, and enforce its existence"""
conanfile = self.load_named(
conanfile_path, name, version, user, channel, lock_python_requires
)
if not cona... | def load_export(
self, conanfile_path, name, version, user, channel, lock_python_requires=None
):
"""loads the conanfile and evaluates its name, version, and enforce its existence"""
conanfile = self.load_named(
conanfile_path, name, version, user, channel, lock_python_requires
)
if not cona... | https://github.com/conan-io/conan/issues/6776 | ERROR: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/conans/errors.py", line 34, in conanfile_exception_formatter
yield
File "/usr/local/lib/python3.6/site-packages/conans/client/source.py", line 143, in _run_source
conanfile.source()
File "/home/rdesmond/Desktop/output/version_test/ex... | AttributeError |
def load_conanfile(self, conanfile_path, profile, ref, lock_python_requires=None):
"""load a conanfile with a full reference, name, version, user and channel are obtained
from the reference, not evaluated. Main way to load from the cache
"""
conanfile, _ = self.load_basic_module(
conanfile_path,... | def load_conanfile(self, conanfile_path, profile, ref, lock_python_requires=None):
"""load a conanfile with a full reference, name, version, user and channel are obtained
from the reference, not evaluated. Main way to load from the cache
"""
conanfile, _ = self.load_basic_module(
conanfile_path,... | https://github.com/conan-io/conan/issues/6776 | ERROR: Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/conans/errors.py", line 34, in conanfile_exception_formatter
yield
File "/usr/local/lib/python3.6/site-packages/conans/client/source.py", line 143, in _run_source
conanfile.source()
File "/home/rdesmond/Desktop/output/version_test/ex... | AttributeError |
def check_output_runner(cmd, stderr=None):
# Used to run several utilities, like Pacman detect, AIX version, uname, SCM
tmp_file = tempfile.mktemp()
try:
# We don't want stderr to print warnings that will mess the pristine outputs
stderr = stderr or subprocess.PIPE
cmd = cmd if isins... | def check_output_runner(cmd, stderr=None):
# Used to run several utilities, like Pacman detect, AIX version, uname, SCM
tmp_file = tempfile.mktemp()
try:
# We don't want stderr to print warnings that will mess the pristine outputs
stderr = stderr or subprocess.PIPE
cmd = cmd if isins... | https://github.com/conan-io/conan/issues/6694 | Conan:vcvars already set
Traceback (most recent call last):
File "build.py", line 7, in <module>
builder.run()
File "C:\Program Files\Python37\lib\site-packages\cpt\packager.py", line 597, in run
self.run_builds(base_profile_name=base_profile_name)
File "C:\Program Files\Python37\lib\site-packages\cpt\packager.py", lin... | conans.errors.CalledProcessErrorWithStderr |
def vcvars_command(
settings,
arch=None,
compiler_version=None,
force=False,
vcvars_ver=None,
winsdk_version=None,
output=None,
):
output = default_output(output, "conans.client.tools.win.vcvars_command")
arch_setting = arch or settings.get_safe("arch")
compiler = settings.get_... | def vcvars_command(
settings,
arch=None,
compiler_version=None,
force=False,
vcvars_ver=None,
winsdk_version=None,
output=None,
):
output = default_output(output, "conans.client.tools.win.vcvars_command")
arch_setting = arch or settings.get_safe("arch")
compiler = settings.get_... | https://github.com/conan-io/conan/issues/6674 | Found Visual Studio 15
Profile created with detected settings: J:\j\conan_build_cache\.conan\profiles\default
Traceback (most recent call last):
File "build.py", line 7, in <module>
builder.run()
File "J:\j\workspace\vendor-someSDK-pipeline\VendorSomeSDK\VendorSomeSDK_venv\lib\site-packages\cpt\packager.py", line 541, ... | UnboundLocalError |
def _upload_package(
self,
pref,
retry=None,
retry_wait=None,
integrity_check=False,
policy=None,
p_remote=None,
):
assert pref.revision is not None, "Cannot upload a package without PREV"
assert pref.ref.revision is not None, "Cannot upload a package without RREV"
pkg_layout = ... | def _upload_package(
self,
pref,
retry=None,
retry_wait=None,
integrity_check=False,
policy=None,
p_remote=None,
):
assert pref.revision is not None, "Cannot upload a package without PREV"
assert pref.ref.revision is not None, "Cannot upload a package without RREV"
conanfile_pat... | https://github.com/conan-io/conan/issues/6521 | [b] $ cmd.exe /C "conan upload "*" --confirm --all --no-overwrite --parallel && exit %%ERRORLEVEL%%"
ERROR: Extra data: line 1 column 4508 (char 4507)
Traceback (most recent call last):
File "e:\j\e1\b\venv\lib\site-packages\conans\client\command.py", line 1969, in run
method(args[0][1:])
File "e:\j\e1\b\venv\l... | json.decoder.JSONDecodeError |
def update_metadata(self):
metadata_path = self.package_metadata()
lockfile = metadata_path + ".lock"
with fasteners.InterProcessLock(lockfile, logger=logger):
lock_name = self.package_metadata() # The path is the thing that defines mutex
thread_lock = PackageCacheLayout._metadata_locks.set... | def update_metadata(self):
lockfile = self.package_metadata() + ".lock"
with fasteners.InterProcessLock(lockfile, logger=logger):
try:
metadata = self.load_metadata()
except RecipeNotFoundException:
metadata = PackageMetadata()
yield metadata
save(self.pac... | https://github.com/conan-io/conan/issues/6521 | [b] $ cmd.exe /C "conan upload "*" --confirm --all --no-overwrite --parallel && exit %%ERRORLEVEL%%"
ERROR: Extra data: line 1 column 4508 (char 4507)
Traceback (most recent call last):
File "e:\j\e1\b\venv\lib\site-packages\conans\client\command.py", line 1969, in run
method(args[0][1:])
File "e:\j\e1\b\venv\l... | json.decoder.JSONDecodeError |
def api_method(f):
def wrapper(api, *args, **kwargs):
quiet = kwargs.pop("quiet", False)
old_curdir = get_cwd()
old_output = api.user_io.out
quiet_output = ConanOutput(StringIO(), color=api.color) if quiet else None
try:
api.create_app(quiet_output=quiet_output)
... | def api_method(f):
def wrapper(api, *args, **kwargs):
quiet = kwargs.pop("quiet", False)
old_curdir = get_cwd()
old_output = api.user_io.out
quiet_output = ConanOutput(StringIO(), api.color) if quiet else None
try:
api.create_app(quiet_output=quiet_output)
... | https://github.com/conan-io/conan/issues/6558 | $ rm -rf .conan\remotes.json
$ conan inspect zlib/1.2.11@ --raw=version
Traceback (most recent call last):
File "c:\users\memsharded\envs\conanpip37\lib\site-packages\conans\client\command.py", line 1969, in run
method(args[0][1:])
File "c:\users\memsharded\envs\conanpip37\lib\site-packages\conans\client\command.py", ... | AttributeError |
def wrapper(api, *args, **kwargs):
quiet = kwargs.pop("quiet", False)
old_curdir = get_cwd()
old_output = api.user_io.out
quiet_output = ConanOutput(StringIO(), color=api.color) if quiet else None
try:
api.create_app(quiet_output=quiet_output)
log_command(f.__name__, kwargs)
... | def wrapper(api, *args, **kwargs):
quiet = kwargs.pop("quiet", False)
old_curdir = get_cwd()
old_output = api.user_io.out
quiet_output = ConanOutput(StringIO(), api.color) if quiet else None
try:
api.create_app(quiet_output=quiet_output)
log_command(f.__name__, kwargs)
with e... | https://github.com/conan-io/conan/issues/6558 | $ rm -rf .conan\remotes.json
$ conan inspect zlib/1.2.11@ --raw=version
Traceback (most recent call last):
File "c:\users\memsharded\envs\conanpip37\lib\site-packages\conans\client\command.py", line 1969, in run
method(args[0][1:])
File "c:\users\memsharded\envs\conanpip37\lib\site-packages\conans\client\command.py", ... | AttributeError |
def update_check_graph(self, deps_graph, output):
"""update the lockfile, checking for security that only nodes that are being built
from sources can change their PREF, or nodes that depend on some other "modified"
package, because their binary-id can change too
"""
affected = self._closure_affecte... | def update_check_graph(self, deps_graph, output):
"""update the lockfile, checking for security that only nodes that are being built
from sources can change their PREF, or nodes that depend on some other "modified"
package, because their binary-id can change too
"""
affected = self._closure_affecte... | https://github.com/conan-io/conan/issues/6484 | D:\JenkinsCI\workspace\Concepts\CI-PkgA\build>conan graph build-order ./integration_deps --json=build_order.json --build=missing
Using lockfile: 'D:\JenkinsCI\workspace\Concepts\CI-PkgA\build\integration_deps\conan.lock'
Traceback (most recent call last):
File "c:\python37\lib\site-packages\conans\client\command.py", l... | AssertionError |
def _execute(command):
proc = Popen(
command,
shell=True,
bufsize=1,
universal_newlines=True,
stdout=PIPE,
stderr=STDOUT,
)
output_buffer = []
while True:
line = proc.stdout.readline()
if not line:
break
# output.write(... | def _execute(command):
proc = Popen(command, shell=True, bufsize=1, stdout=PIPE, stderr=STDOUT)
output_buffer = []
while True:
line = proc.stdout.readline()
if not line:
break
# output.write(line)
output_buffer.append(str(line))
proc.communicate()
return... | https://github.com/conan-io/conan/issues/6332 | $ nosetests conans.test.functional.settings
............F............F.F.............
======================================================================
FAIL: test_only_cppstd (conan.conans.test.functional.settings.cppstd.compiler_cppstd_test.UseCompilerCppStdSettingTests)
------------------------------------------... | AssertionError |
def checkout(self, element, submodule=None):
# Element can be a tag, branch or commit
self.check_repo()
output = self.run('checkout "%s"' % element)
output += self.checkout_submodules(submodule)
return output
| def checkout(self, element, submodule=None):
self.check_repo()
output = self.run('checkout "%s"' % element)
if submodule:
if submodule == "shallow":
output += self.run("submodule sync")
output += self.run("submodule update --init")
elif submodule == "recursive":
... | https://github.com/conan-io/conan/issues/5587 | Traceback (most recent call last):
File "/opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/conans/client/source.py", line 182, in _run_source
_run_scm(conanfile, src_folder, local_sources_path, output, cache=cache)
File "/opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/conans/client/source.py", line 243, in _r... | conans.errors.CalledProcessErrorWithStderr |
def checkout(self):
output = ""
if self._data.type == "git":
try:
output += self.repo.clone(
url=self._data.url, branch=self._data.revision, shallow=True
)
except subprocess.CalledProcessError:
# remove the .git directory, otherwise, fallback c... | def checkout(self):
output = ""
if self._data.type == "git":
try:
output += self.repo.clone(
url=self._data.url, branch=self._data.revision, shallow=True
)
except subprocess.CalledProcessError:
# remove the .git directory, otherwise, fallback c... | https://github.com/conan-io/conan/issues/5587 | Traceback (most recent call last):
File "/opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/conans/client/source.py", line 182, in _run_source
_run_scm(conanfile, src_folder, local_sources_path, output, cache=cache)
File "/opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/conans/client/source.py", line 243, in _r... | conans.errors.CalledProcessErrorWithStderr |
def add(self, remote_name, url, verify_ssl=True, insert=None, force=None):
self._validate_url(url)
remotes = self.load_remotes()
renamed = remotes.add(remote_name, url, verify_ssl, insert, force)
remotes.save(self._filename)
if renamed:
with self._cache.editable_packages.disable_editables():... | def add(self, remote_name, url, verify_ssl=True, insert=None, force=None):
self._validate_url(url)
remotes = self.load_remotes()
renamed = remotes.add(remote_name, url, verify_ssl, insert, force)
remotes.save(self._filename)
if renamed:
for ref in self._cache.all_refs():
with sel... | https://github.com/conan-io/conan/issues/5424 | Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1832, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1423, in remote
return self._conan.remote_remove(remote_name)
File "/home/luism/workspace/conan_sources/... | AttributeError |
def clear(self):
remotes = self.load_remotes()
remotes.clear()
with self._cache.editable_packages.disable_editables():
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
metadata.recipe.remote = None
for ... | def clear(self):
remotes = self.load_remotes()
remotes.clear()
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
metadata.recipe.remote = None
for pkg_metadata in metadata.packages.values():
pkg_metadata.rem... | https://github.com/conan-io/conan/issues/5424 | Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1832, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1423, in remote
return self._conan.remote_remove(remote_name)
File "/home/luism/workspace/conan_sources/... | AttributeError |
def remove(self, remote_name):
remotes = self.load_remotes()
del remotes[remote_name]
with self._cache.editable_packages.disable_editables():
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
if metadata.recipe.remote =... | def remove(self, remote_name):
remotes = self.load_remotes()
del remotes[remote_name]
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
if metadata.recipe.remote == remote_name:
metadata.recipe.remote = None
... | https://github.com/conan-io/conan/issues/5424 | Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1832, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1423, in remote
return self._conan.remote_remove(remote_name)
File "/home/luism/workspace/conan_sources/... | AttributeError |
def define(self, remotes):
# For definition from conan config install
with self._cache.editable_packages.disable_editables():
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
if metadata.recipe.remote not in remotes:
... | def define(self, remotes):
# For definition from conan config install
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
if metadata.recipe.remote not in remotes:
metadata.recipe.remote = None
for pkg_metadata in... | https://github.com/conan-io/conan/issues/5424 | Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1832, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1423, in remote
return self._conan.remote_remove(remote_name)
File "/home/luism/workspace/conan_sources/... | AttributeError |
def rename(self, remote_name, new_remote_name):
remotes = self.load_remotes()
remotes.rename(remote_name, new_remote_name)
with self._cache.editable_packages.disable_editables():
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
... | def rename(self, remote_name, new_remote_name):
remotes = self.load_remotes()
remotes.rename(remote_name, new_remote_name)
for ref in self._cache.all_refs():
with self._cache.package_layout(ref).update_metadata() as metadata:
if metadata.recipe.remote == remote_name:
met... | https://github.com/conan-io/conan/issues/5424 | Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1832, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1423, in remote
return self._conan.remote_remove(remote_name)
File "/home/luism/workspace/conan_sources/... | AttributeError |
def _process_folder(config, folder, cache, output):
if config.source_folder:
folder = os.path.join(folder, config.source_folder)
for root, dirs, files in walk(folder):
dirs[:] = [d for d in dirs if d != ".git"]
if ".git" in root:
continue
for f in files:
i... | def _process_folder(config, folder, cache, output):
if config.source_folder:
folder = os.path.join(folder, config.source_folder)
for root, dirs, files in walk(folder):
dirs[:] = [d for d in dirs if d != ".git"]
if ".git" in root:
continue
for f in files:
i... | https://github.com/conan-io/conan/issues/5214 | j@ubuntu:~/tempconan$ conan config install ~/work/scripts/conan/config/Copying file version.txt to /home/j/tempconan/.conan/.
Copying file artifacts.properties to /home/j/tempconan/.conan/.
Processing conan.conf
Traceback (most recent call last):
File "/home/j/.local/lib/python3.6/site-packages/conans/client/command.py... | FileNotFoundError |
def imports(self, path, dest=None, info_folder=None, cwd=None):
"""
:param path: Path to the conanfile
:param dest: Dir to put the imported files. (Abs path or relative to cwd)
:param info_folder: Dir where the conaninfo.txt and conanbuildinfo.txt files are
:param cwd: Current working directory
... | def imports(self, path, dest=None, info_folder=None, cwd=None):
"""
:param path: Path to the conanfile
:param dest: Dir to put the imported files. (Abs path or relative to cwd)
:param info_folder: Dir where the conaninfo.txt and conanbuildinfo.txt files are
:param cwd: Current working directory
... | https://github.com/conan-io/conan/issues/5140 | ERROR: Error loading conanfile at '/Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py': Unable to load conanfile in /Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py
KeyError: 'nlo-cmake-pythonlib/1.0@xxx/stable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ... | KeyError |
def copy(self, reference, user_channel, force=False, packages=None):
"""
param packages: None=No binaries, True=All binaries, else list of IDs
"""
from conans.client.cmd.copy import cmd_copy
remotes = self._cache.registry.load_remotes()
self.python_requires.enable_remotes(remotes=remotes)
#... | def copy(self, reference, user_channel, force=False, packages=None):
"""
param packages: None=No binaries, True=All binaries, else list of IDs
"""
from conans.client.cmd.copy import cmd_copy
remotes = self._cache.registry.load_remotes()
# FIXME: conan copy does not support short-paths in Window... | https://github.com/conan-io/conan/issues/5140 | ERROR: Error loading conanfile at '/Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py': Unable to load conanfile in /Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py
KeyError: 'nlo-cmake-pythonlib/1.0@xxx/stable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ... | KeyError |
def editable_add(self, path, reference, layout, cwd):
remotes = self._cache.registry.load_remotes()
self.python_requires.enable_remotes(remotes=remotes)
# Retrieve conanfile.py from target_path
target_path = _get_conanfile_path(path=path, cwd=cwd, py=True)
# Check the conanfile is there, and name/v... | def editable_add(self, path, reference, layout, cwd):
# Retrieve conanfile.py from target_path
target_path = _get_conanfile_path(path=path, cwd=cwd, py=True)
# Check the conanfile is there, and name/version matches
ref = ConanFileReference.loads(reference, validate=True)
target_conanfile = self._gr... | https://github.com/conan-io/conan/issues/5140 | ERROR: Error loading conanfile at '/Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py': Unable to load conanfile in /Users/xxx/Repos/NloSanbox/ProxyLib/conanfile.py
KeyError: 'nlo-cmake-pythonlib/1.0@xxx/stable'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ... | KeyError |
def _upload_recipe(self, ref, conanfile, retry, retry_wait, policy, remote):
current_remote = self._registry.refs.get(ref)
if remote != current_remote:
complete_recipe_sources(self._remote_manager, self._cache, conanfile, ref)
conanfile_path = self._cache.conanfile(ref)
self._hook_manager.execu... | def _upload_recipe(self, ref, conanfile, retry, retry_wait, policy, remote):
if policy != UPLOAD_POLICY_FORCE:
remote_manifest = self._check_recipe_date(ref, remote)
else:
remote_manifest = None
current_remote = self._registry.refs.get(ref)
if remote != current_remote:
complete... | https://github.com/conan-io/conan/issues/5009 | [b] $ sh -c "conan upload \* -r 090a7942-cd0f-45af-9347-465cbbe94a6e --confirm --all --no-overwrite "
MicroblinkConanFile/3.0.2@microblink/stable: Not found in local cache, looking in remotes...
MicroblinkConanFile/3.0.2@microblink/stable: Trying with '090a7942-cd0f-45af-9347-465cbbe94a6e'...
Downloading conanmanifest.... | AttributeError |
def _recipe_files_to_upload(
self, ref, policy, the_files, remote, remote_manifest, local_manifest
):
self._remote_manager.check_credentials(remote)
remote_snapshot = self._remote_manager.get_recipe_snapshot(ref, remote)
files_to_upload = {
filename.replace("\\", "/"): path for filename, path in... | def _recipe_files_to_upload(self, ref, policy, the_files, remote, remote_manifest):
# Get the remote snapshot
self._remote_manager.check_credentials(remote)
remote_snapshot = self._remote_manager.get_recipe_snapshot(ref, remote)
if remote_snapshot and policy != UPLOAD_POLICY_FORCE:
local_manife... | https://github.com/conan-io/conan/issues/5009 | [b] $ sh -c "conan upload \* -r 090a7942-cd0f-45af-9347-465cbbe94a6e --confirm --all --no-overwrite "
MicroblinkConanFile/3.0.2@microblink/stable: Not found in local cache, looking in remotes...
MicroblinkConanFile/3.0.2@microblink/stable: Trying with '090a7942-cd0f-45af-9347-465cbbe94a6e'...
Downloading conanmanifest.... | AttributeError |
def _check_recipe_date(self, ref, remote, local_manifest):
try:
remote_recipe_manifest, ref = self._remote_manager.get_recipe_manifest(
ref, remote
)
except NotFoundException:
return # First time uploading this package
if (
remote_recipe_manifest != local_manife... | def _check_recipe_date(self, ref, remote):
try:
remote_recipe_manifest, ref = self._remote_manager.get_recipe_manifest(
ref, remote
)
except NotFoundException:
return # First time uploading this package
local_manifest = self._cache.package_layout(ref).recipe_manifest()
... | https://github.com/conan-io/conan/issues/5009 | [b] $ sh -c "conan upload \* -r 090a7942-cd0f-45af-9347-465cbbe94a6e --confirm --all --no-overwrite "
MicroblinkConanFile/3.0.2@microblink/stable: Not found in local cache, looking in remotes...
MicroblinkConanFile/3.0.2@microblink/stable: Trying with '090a7942-cd0f-45af-9347-465cbbe94a6e'...
Downloading conanmanifest.... | AttributeError |
def _make_migrations(self, old_version):
# ############### FILL THIS METHOD WITH THE REQUIRED ACTIONS ##############
# VERSION 0.1
if old_version is None:
return
if old_version < Version("0.25"):
from conans.paths import DEFAULT_PROFILE_NAME
default_profile_path = os.path.join(... | def _make_migrations(self, old_version):
# ############### FILL THIS METHOD WITH THE REQUIRED ACTIONS ##############
# VERSION 0.1
if old_version is None:
return
if old_version < Version("1.14.0"):
migrate_config_install(self.cache)
if old_version < Version("1.13.0"):
old_s... | https://github.com/conan-io/conan/issues/4898 | Traceback (most recent call last):
File "build\venv\lib\site-packages\conans\model\ref.py", line 111, in loads
_, name, version, user, channel, revision, _ = ConanFileReference.sep_pattern.split(text)
ValueError: not enough values to unpack (expected 7, got 1)
During handling of the above exception, another exception ... | ValueError |
def _migrate_create_metadata(cache, out):
out.warn("Migration: Generating missing metadata files")
refs = _get_refs(cache)
for ref in refs:
try:
base_folder = os.path.normpath(os.path.join(cache.store, ref.dir_repr()))
# Force using a package cache layout for everything, we ... | def _migrate_create_metadata(cache, out):
out.warn("Migration: Generating missing metadata files")
refs = _get_refs(cache)
for ref in refs:
try:
base_folder = os.path.normpath(os.path.join(cache.store, ref.dir_repr()))
# Force using a package cache layout for everything, we ... | https://github.com/conan-io/conan/issues/4898 | Traceback (most recent call last):
File "build\venv\lib\site-packages\conans\model\ref.py", line 111, in loads
_, name, version, user, channel, revision, _ = ConanFileReference.sep_pattern.split(text)
ValueError: not enough values to unpack (expected 7, got 1)
During handling of the above exception, another exception ... | ValueError |
def _evaluate_node(self, node, build_mode, update, evaluated_nodes, remote_name):
assert node.binary is None, "Node.binary should be None"
assert node.package_id is not None, "Node.package_id shouldn't be None"
ref, conanfile = node.ref, node.conanfile
pref = PackageReference(ref, node.package_id)
... | def _evaluate_node(self, node, build_mode, update, evaluated_nodes, remote_name):
assert node.binary is None, "Node.binary should be None"
assert node.package_id is not None, "Node.package_id shouldn't be None"
ref, conanfile = node.ref, node.conanfile
pref = PackageReference(ref, node.package_id)
... | https://github.com/conan-io/conan/issues/4898 | Traceback (most recent call last):
File "build\venv\lib\site-packages\conans\model\ref.py", line 111, in loads
_, name, version, user, channel, revision, _ = ConanFileReference.sep_pattern.split(text)
ValueError: not enough values to unpack (expected 7, got 1)
During handling of the above exception, another exception ... | ValueError |
def __call__(self, require):
if not self.valid:
raise ConanException("Invalid use of python_requires(%s)" % require)
try:
python_req = self._look_for_require(require)
self._requires.append(python_req)
return python_req.module
except NotFoundException:
raise ConanExcep... | def __call__(self, require):
if not self.valid:
raise ConanException("Invalid use of python_requires(%s)" % require)
python_req = self._look_for_require(require)
self._requires.append(python_req)
return python_req.module
| https://github.com/conan-io/conan/issues/4814 | conan inspect . -a options
zlib/1.2.8@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.8@conan/stable: Trying with 'kk'...
zlib/1.2.8@conan/stable: Trying with 'rr'...
zlib/1.2.8@conan/stable: Trying with 'bincrafters'...
zlib/1.2.8@conan/stable: Trying with 'arti'...
zlib/1.2.8@conan/stable: Tryi... | ValueError |
def load_class(self, conanfile_path):
conanfile = self.cached_conanfiles.get(conanfile_path)
if conanfile:
return conanfile
try:
self._python_requires.valid = True
_, conanfile = parse_conanfile(conanfile_path, self._python_requires)
self._python_requires.valid = False
... | def load_class(self, conanfile_path):
try:
return self.cached_conanfiles[conanfile_path]
except KeyError:
self._python_requires.valid = True
_, conanfile = parse_conanfile(conanfile_path, self._python_requires)
self._python_requires.valid = False
self.cached_conanfiles[co... | https://github.com/conan-io/conan/issues/4814 | conan inspect . -a options
zlib/1.2.8@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.8@conan/stable: Trying with 'kk'...
zlib/1.2.8@conan/stable: Trying with 'rr'...
zlib/1.2.8@conan/stable: Trying with 'bincrafters'...
zlib/1.2.8@conan/stable: Trying with 'arti'...
zlib/1.2.8@conan/stable: Tryi... | ValueError |
def _parse_conanfile(conan_file_path):
"""From a given path, obtain the in memory python import module"""
if not os.path.exists(conan_file_path):
raise NotFoundException("%s not found!" % conan_file_path)
module_id = str(uuid.uuid1())
current_dir = os.path.dirname(conan_file_path)
sys.path... | def _parse_conanfile(conan_file_path):
"""From a given path, obtain the in memory python import module"""
if not os.path.exists(conan_file_path):
raise NotFoundException("%s not found!" % conan_file_path)
module_id = str(uuid.uuid1())
current_dir = os.path.dirname(conan_file_path)
sys.path... | https://github.com/conan-io/conan/issues/4814 | conan inspect . -a options
zlib/1.2.8@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.8@conan/stable: Trying with 'kk'...
zlib/1.2.8@conan/stable: Trying with 'rr'...
zlib/1.2.8@conan/stable: Trying with 'bincrafters'...
zlib/1.2.8@conan/stable: Trying with 'arti'...
zlib/1.2.8@conan/stable: Tryi... | ValueError |
def _evaluate_node(self, node, build_mode, update, evaluated_nodes, remote_name):
assert node.binary is None, "Node.binary should be None"
assert node.package_id is not None, "Node.package_id shouldn't be None"
ref, conanfile = node.ref, node.conanfile
pref = PackageReference(ref, node.package_id)
... | def _evaluate_node(self, node, build_mode, update, evaluated_nodes, remote_name):
assert node.binary is None, "Node.binary should be None"
assert node.package_id is not None, "Node.package_id shouldn't be None"
ref, conanfile = node.ref, node.conanfile
pref = PackageReference(ref, node.package_id)
... | https://github.com/conan-io/conan/issues/4789 | Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/conans/model/ref.py", line 111, in loads
_, name, version, user, channel, revision, _ = ConanFileReference.sep_pattern.split(text)
ValueError: not enough values to unpack (expected 7, got 1)
During handling of the above exception, another ... | ValueError |
def search(self, *args):
"""Searches package recipes and binaries in the local cache or in a remote.
If you provide a pattern, then it will search for existing package
recipes matching it. If a full reference is provided
(pkg/0.1@user/channel) then the existing binary packages for that
reference w... | def search(self, *args):
"""Searches package recipes and binaries in the local cache or in a remote.
If you provide a pattern, then it will search for existing package
recipes matching it. If a full reference is provided
(pkg/0.1@user/channel) then the existing binary packages for that
reference w... | https://github.com/conan-io/conan/issues/4622 | conan search --revisions
Traceback (most recent call last):
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1570, in run
method(args[0][1:])
File "/home/luism/workspace/conan_sources/conans/client/command.py", line 1052, in search
pref = PackageReference.loads(args.pattern_or_reference)
File... | AttributeError |
def get_win_os_version():
"""
Get's the OS major and minor versions. Returns a tuple of
(OS_MAJOR, OS_MINOR).
"""
import ctypes
class _OSVERSIONINFOEXW(ctypes.Structure):
_fields_ = [
("dwOSVersionInfoSize", ctypes.c_ulong),
("dwMajorVersion", ctypes.c_ulong),
... | def get_win_os_version():
"""
Get's the OS major and minor versions. Returns a tuple of
(OS_MAJOR, OS_MINOR).
"""
import ctypes
class _OSVERSIONINFOEXW(ctypes.Structure):
_fields_ = [
("dwOSVersionInfoSize", ctypes.c_ulong),
("dwMajorVersion", ctypes.c_ulong),
... | https://github.com/conan-io/conan/issues/4540 | $ conan profile new xxx --detect
ERROR: Error detecting os_info
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/conans/client/command.py", line 1495, in run
method(args[0][1:])
File "/usr/lib/python3.6/site-packages/conans/client/command.py", line 1307, in profile
self._conan.create_profile(pr... | AttributeError |
def vcvars_dict(
settings,
arch=None,
compiler_version=None,
force=False,
filter_known_paths=False,
vcvars_ver=None,
winsdk_version=None,
only_diff=True,
):
known_path_lists = ("include", "lib", "libpath", "path")
cmd = vcvars_command(
settings,
arch=arch,
... | def vcvars_dict(
settings,
arch=None,
compiler_version=None,
force=False,
filter_known_paths=False,
vcvars_ver=None,
winsdk_version=None,
only_diff=True,
):
known_path_lists = ("include", "lib", "libpath", "path")
cmd = vcvars_command(
settings,
arch=arch,
... | https://github.com/conan-io/conan/issues/3940 | boost/1.68.0@odant/tt: Calling build()
boost/1.68.0@odant/tt: -------------- Bootstrap ------------------------
Traceback (most recent call last):
File "D:\.conan\data\boost\1.68.0\odant\tt\export\conanfile.py", line 171, in get_build_environment
env = tools.vcvars_dict(self.settings, filter_known_paths=True, force=Tru... | AttributeError |
def __call__(self, require):
try:
python_require = self._cached_requires[require]
except KeyError:
r = ConanFileReference.loads(require)
requirement = Requirement(r)
self._range_resolver.resolve(
requirement, "python_require", update=False, remote_name=None
)
... | def __call__(self, require):
try:
python_require = self._cached_requires[require]
except KeyError:
r = ConanFileReference.loads(require)
requirement = Requirement(r)
self._range_resolver.resolve(
requirement, "python_require", update=False, remote_name=None
)
... | https://github.com/conan-io/conan/issues/3874 | ERROR: Unable to load conanfile in module2/V2.0/conanfile.py
KeyError: 'module1/1.0@user/channel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Python3/lib/site-packages/conans/client/loader.py", line 235, in _parse_file
loaded = imp.load_source(filename,... | KeyError |
def load_class(self, conanfile_path):
loaded, filename = parse_conanfile(conanfile_path)
try:
conanfile = _parse_module(loaded, filename)
conanfile.python_requires = self._python_requires.requires
return conanfile
except Exception as e: # re-raise with file name
raise ConanE... | def load_class(self, conanfile_path):
loaded, filename = _parse_file(conanfile_path)
try:
conanfile = _parse_module(loaded, filename)
conanfile.python_requires = self._python_requires.requires
return conanfile
except Exception as e: # re-raise with file name
raise ConanExcep... | https://github.com/conan-io/conan/issues/3874 | ERROR: Unable to load conanfile in module2/V2.0/conanfile.py
KeyError: 'module1/1.0@user/channel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Python3/lib/site-packages/conans/client/loader.py", line 235, in _parse_file
loaded = imp.load_source(filename,... | KeyError |
def excluded_files(self):
self._check_svn_repo()
excluded_list = []
output = self.run("status --no-ignore")
for it in output.splitlines():
if it.startswith("I"): # Only ignored files
filepath = it[8:].strip()
excluded_list.append(os.path.normpath(filepath))
return ex... | def excluded_files(self):
self._check_svn_repo()
excluded_list = []
output = self.run("status --no-ignore")
for it in output.splitlines():
if it[0] == "I": # Only ignored files
filepath = it[8:].strip()
excluded_list.append(os.path.normpath(filepath))
return excluded... | https://github.com/conan-io/conan/issues/3810 | ERROR: Traceback (most recent call last):
File "D:\CWS\Tools\Python3\lib\site-packages\conans\errors.py", line 24, in conanfile_exception_formatter
yield
File "D:\CWS\Tools\Python3\lib\site-packages\conans\client\source.py", line 139, in config_source
_fetch_scm(scm_data, dest_dir, local_sources_path, output)
File "D:\... | IndexError |
def full_closure(self, node, private=False):
# Needed to propagate correctly the cpp_info even with privates
closure = OrderedDict()
current = node.neighbors()
while current:
new_current = []
for n in current:
closure[n] = n
for n in current:
neighbors = n... | def full_closure(self, node):
# Needed to propagate correctly the cpp_info even with privates
closure = OrderedDict()
current = node.neighbors()
while current:
new_current = []
for n in current:
closure[n] = n
for n in current:
for neigh in n.public_neighb... | https://github.com/conan-io/conan/issues/3166 | $ conan install -u -r artifactory --build=outdated ./packaging -s python=cpython -s python.version=3.6
Version range '^2.1' required by 'fbthrift/2018.05.21.00@igs/testing' resolved to 'gflags/2.2.0@igs/testing'
Version range '^2.1' required by 'folly/2018.05.21.00@igs/testing' resolved to 'gflags/2.2.0@igs/testing'
Ve... | ValueError |
def evaluate_graph(self, deps_graph, build_mode, update, remote_name):
evaluated_references = {}
for node in deps_graph.nodes:
if not node.conan_ref or node.binary: # Only value should be SKIP
continue
private_neighbours = node.private_neighbors()
if private_neighbours:
... | def evaluate_graph(self, deps_graph, build_mode, update, remote_name):
evaluated_references = {}
for node in deps_graph.nodes:
if not node.conan_ref:
continue
private_neighbours = node.private_neighbors()
if private_neighbours:
self._evaluate_node(
... | https://github.com/conan-io/conan/issues/3166 | $ conan install -u -r artifactory --build=outdated ./packaging -s python=cpython -s python.version=3.6
Version range '^2.1' required by 'fbthrift/2018.05.21.00@igs/testing' resolved to 'gflags/2.2.0@igs/testing'
Version range '^2.1' required by 'folly/2018.05.21.00@igs/testing' resolved to 'gflags/2.2.0@igs/testing'
Ve... | ValueError |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.