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 execute(args, parser): spec = MatchSpec(args.match_spec) if spec.get_exact_value("subdir"): subdirs = (spec.get_exact_value("subdir"),) elif args.platform: subdirs = (args.platform,) else: subdirs = context.subdirs with Spinner( "Loading channels", not context.ve...
def execute(args, parser): spec = MatchSpec(args.match_spec) if spec.get_exact_value("subdir"): subdirs = (spec.get_exact_value("subdir"),) elif args.platform: subdirs = (args.platform,) else: subdirs = context.subdirs with spinner( "Loading channels", not context.ve...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def pretty_record(record): def push_line(display_name, attr_name): value = getattr(record, attr_name, None) if value is not None: builder.append("%-12s: %s" % (display_name, value)) builder = [] builder.append(record.name + " " + record.version + " " + record.build) builder....
def pretty_record(record): def push_line(display_name, attr_name): value = getattr(record, attr_name, None) if value is not None: builder.append("%-12s: %s" % (display_name, value)) builder = [] builder.append(record.name + " " + record.version + " " + record.build) builder....
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def __init__(self, message, enabled=True, json=False): self.message = message self.enabled = enabled self.json = json self._stop_running = Event() self._spinner_thread = Thread(target=self._start_spinning) self._indicator_length = len(next(self.spinner_cycle)) + 1 self.fh = sys.stdout s...
def __init__(self, enable_spin=True): self._stop_running = Event() self._spinner_thread = Thread(target=self._start_spinning) self._indicator_length = len(next(self.spinner_cycle)) + 1 self.fh = sys.stdout self.show_spin = enable_spin and hasattr(self.fh, "isatty") and self.fh.isatty()
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def start(self): if self.show_spin: self._spinner_thread.start() elif not self.json: self.fh.write("...working... ") self.fh.flush()
def start(self): if self.show_spin: self._spinner_thread.start() else: self.fh.write("...working... ") self.fh.flush()
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def stop(self): if self.show_spin: self._stop_running.set() self._spinner_thread.join() self.show_spin = False
def stop(self): if self.show_spin: self._stop_running.set() self._spinner_thread.join()
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def _start_spinning(self): try: while not self._stop_running.is_set(): self.fh.write(next(self.spinner_cycle) + " ") self.fh.flush() sleep(0.10) self.fh.write("\b" * self._indicator_length) except EnvironmentError as e: if e.errno in (EPIPE, ESHUTD...
def _start_spinning(self): while not self._stop_running.is_set(): self.fh.write(next(self.spinner_cycle) + " ") self.fh.flush() sleep(0.10) self.fh.write("\b" * self._indicator_length)
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def __init__(self, description, enabled=True, json=False): """ Args: description (str): The name of the progress bar, shown on left side of output. enabled (bool): If False, usage is a no-op. json (bool): If true, outputs json progress to stdout rather...
def __init__(self, description, enabled=True, json=False): """ Args: description (str): The name of the progress bar, shown on left side of output. enabled (bool): If False, usage is a no-op. json (bool): If true, outputs json progress to stdout rather...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def update_to(self, fraction): try: if self.json and self.enabled: sys.stdout.write( '{"fetch":"%s","finished":false,"maxval":1,"progress":%f}\n\0' % (self.description, fraction) ) elif self.enabled: self.pbar.update(fraction - self...
def update_to(self, fraction): if self.json: sys.stdout.write( '{"fetch":"%s","finished":false,"maxval":1,"progress":%f}\n\0' % (self.description, fraction) ) elif self.enabled: self.pbar.update(fraction - self.pbar.n)
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def close(self): if self.enabled and self.json: sys.stdout.write( '{"fetch":"%s","finished":true,"maxval":1,"progress":1}\n\0' % self.description ) sys.stdout.flush() elif self.enabled: self.pbar.close()
def close(self): try: if self.json: sys.stdout.write( '{"fetch":"%s","finished":true,"maxval":1,"progress":1}\n\0' % self.description ) sys.stdout.flush() elif self.enabled: self.pbar.close() except (IOError, OSError...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def prepare(self): if self._prepared: return self.transaction_context = {} with Spinner( "Preparing transaction", not context.verbosity and not context.quiet, context.json, ): for stp in itervalues(self.prefix_setups): grps = self._prepare( ...
def prepare(self): if self._prepared: return self.transaction_context = {} with spinner( "Preparing transaction", not context.verbosity and not context.quiet, context.json, ): for stp in itervalues(self.prefix_setups): grps = self._prepare( ...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def verify(self): if not self._prepared: self.prepare() assert not context.dry_run if context.safety_checks == SafetyChecks.disabled: self._verified = True return with Spinner( "Verifying transaction", not context.verbosity and not context.quiet, contex...
def verify(self): if not self._prepared: self.prepare() assert not context.dry_run if context.safety_checks == SafetyChecks.disabled: self._verified = True return with spinner( "Verifying transaction", not context.verbosity and not context.quiet, contex...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def _execute(cls, all_action_groups): with signal_handler(conda_signal_handler), time_recorder("unlink_link_execute"): pkg_idx = 0 try: with Spinner( "Executing transaction", not context.verbosity and not context.quiet, context.json, ...
def _execute(cls, all_action_groups): with signal_handler(conda_signal_handler), time_recorder("unlink_link_execute"): pkg_idx = 0 try: with spinner( "Executing transaction", not context.verbosity and not context.quiet, context.json, ...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def solve_for_transaction( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL, force_reinstall=False, ): """Gives an UnlinkLinkTransaction instance that can be used to execute the solution on an environment. Args: deps_modifier (DepsModifier): ...
def solve_for_transaction( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL, force_reinstall=False, ): """Gives an UnlinkLinkTransaction instance that can be used to execute the solution on an environment. Args: deps_modifier (DepsModifier): ...
https://github.com/conda/conda/issues/6582
error: BrokenPipeError(32, 'Broken pipe') command: /home/ubuntu/anaconda3/envs/tensorflow_p36/bin/conda install -p /home/ubuntu/anaconda3/envs/tensorflow_p36 tensorflow-gpu -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.4.0-1044-aws ubuntu/16.04 glibc/2.23 _messageid: -9223372036845075603 _messagetime...
BrokenPipeError
def verify(self): validation_error = super(PrefixReplaceLinkAction, self).verify() if validation_error: return validation_error if islink(self.source_full_path): log.trace( "ignoring prefix update for symlink with source path %s", self.source_full_path, ) ...
def verify(self): validation_error = super(PrefixReplaceLinkAction, self).verify() if validation_error: return validation_error if islink(self.source_full_path): log.trace( "ignoring prefix update for symlink with source path %s", self.source_full_path, ) ...
https://github.com/conda/conda/issues/6852
Traceback (most recent call last): File "/miniconda/lib/python3.6/site-packages/conda/exceptions.py", line 772, in __call__ return func(*args, **kwargs) File "/miniconda/lib/python3.6/site-packages/conda/cli/main.py", line 78, in _main exit_code = do_call(args, p) File "/miniconda/lib/python3.6/site-packages/conda/cli/...
PermissionError
def _pip_install_via_requirements(prefix, specs, args, *_, **kwargs): """ Installs the pip dependencies in specs using a temporary pip requirements file. Args ---- prefix: string The path to the python and pip executables. specs: iterable of strings Each element should be a valid p...
def _pip_install_via_requirements(prefix, specs, args, *_, **kwargs): """ Installs the pip dependencies in specs using a temporary pip requirements file. Args ---- prefix: string The path to the python and pip executables. specs: iterable of strings Each element should be a valid p...
https://github.com/conda/conda/issues/6208
Traceback (most recent call last): File "/home/snadar/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler return_value = func(*args, **kwargs) File "/home/snadar/anaconda3/lib/python3.6/site-packages/conda_env/cli/main_create.py", line 108, in execute installer.install(prefi...
TypeError
def configure_parser_config(sub_parsers): descr = ( dedent(""" Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condarc file (%s) by default. """) % escaped_user_rc_path ) # Note, the extra whitespace in the list keys ...
def configure_parser_config(sub_parsers): descr = ( dedent(""" Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condarc file (%s) by default. """) % user_rc_path ) # Note, the extra whitespace in the list keys is on pu...
https://github.com/conda/conda/issues/6645
Traceback (most recent call last): File "E:\Miniconda3\lib\site-packages\conda\exceptions.py", line 724, in __call__ return func(*args, **kwargs) File "E:\Miniconda3\lib\site-packages\conda\cli\main.py", line 71, in _main args = p.parse_args(args[1:]) File "E:\Miniconda3\lib\argparse.py", line 1730, in parse_args args,...
ValueError
def revert_actions(prefix, revision=-1, index=None): # TODO: If revision raise a revision error, should always go back to a safe revision # change h = History(prefix) user_requested_specs = itervalues(h.get_requested_specs_map()) try: state = h.get_state(revision) except IndexError: ...
def revert_actions(prefix, revision=-1, index=None): # TODO: If revision raise a revision error, should always go back to a safe revision # change h = History(prefix) h.update() user_requested_specs = itervalues(h.get_requested_specs_map()) try: state = h.get_state(revision) except I...
https://github.com/conda/conda/issues/6628
error: AttributeError("'dict' object has no attribute 'get_pfe'",) command: C:\Program Files\Anaconda3\Scripts\conda install --revision 4 user_agent: conda/4.4.4 requests/2.18.4 CPython/3.5.2 Windows/8.1 Windows/6.3.9600 _messageid: -9223372036843575560 _messagetime: 1514442489595 / 2017-12-28 00:28:09 Traceback (most...
AttributeError
def handle_exception(self, exc_val, exc_tb): return_code = getattr(exc_val, "return_code", None) if return_code == 0: return 0 if isinstance(exc_val, CondaError): return self.handle_application_exception(exc_val, exc_tb) if isinstance(exc_val, UnicodeError) and PY2: return self.h...
def handle_exception(self, exc_val, exc_tb): return_code = getattr(exc_val, "return_code", None) if return_code == 0: return 0 if isinstance(exc_val, CondaError): return self.handle_application_exception(exc_val, exc_tb) if isinstance(exc_val, UnicodeError) and PY2: return self.h...
https://github.com/conda/conda/issues/6699
error: MemoryError() command: C:\Users\Jason\Anaconda3\Scripts\conda install rise user_agent: conda/4.4.7 requests/2.18.4 CPython/3.6.3 Windows/10 Windows/10.0.16299 _messageid: -9223372036837525402 _messagetime: 1515517517366 / 2018-01-09 11:05:17 MemoryError During handling of the above exception, another exception...
MemoryError
def __init__(self, shell, arguments=None): self.shell = shell self._raw_arguments = arguments if PY2: self.environ = { ensure_fs_path_encoding(k): ensure_fs_path_encoding(v) for k, v in iteritems(os.environ) } else: self.environ = os.environ.copy() i...
def __init__(self, shell, arguments=None): self.shell = shell self._raw_arguments = arguments if shell == "posix": self.pathsep_join = ":".join self.path_conversion = native_path_to_unix self.script_extension = ".sh" self.tempfile_extension = ( None # write inst...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def build_activate(self, env_name_or_prefix): if re.search(r"\\|/", env_name_or_prefix): prefix = expand(env_name_or_prefix) if not isdir(join(prefix, "conda-meta")): from .exceptions import EnvironmentLocationNotFound raise EnvironmentLocationNotFound(prefix) elif env_n...
def build_activate(self, env_name_or_prefix): if re.search(r"\\|/", env_name_or_prefix): prefix = expand(env_name_or_prefix) if not isdir(join(prefix, "conda-meta")): from .exceptions import EnvironmentLocationNotFound raise EnvironmentLocationNotFound(prefix) elif env_n...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def build_deactivate(self): # query environment old_conda_shlvl = int(self.environ.get("CONDA_SHLVL", 0)) old_conda_prefix = self.environ.get("CONDA_PREFIX", None) if old_conda_shlvl <= 0 or old_conda_prefix is None: return { "unset_vars": (), "set_vars": {}, ...
def build_deactivate(self): # query environment old_conda_shlvl = int(os.getenv("CONDA_SHLVL", 0)) old_conda_prefix = os.getenv("CONDA_PREFIX", None) if old_conda_shlvl <= 0 or old_conda_prefix is None: return { "unset_vars": (), "set_vars": {}, "export_vars":...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def build_reactivate(self): conda_prefix = self.environ.get("CONDA_PREFIX") conda_shlvl = int(self.environ.get("CONDA_SHLVL", -1)) if not conda_prefix or conda_shlvl < 1: # no active environment, so cannot reactivate; do nothing return { "unset_vars": (), "set_vars": ...
def build_reactivate(self): conda_prefix = os.environ.get("CONDA_PREFIX") conda_shlvl = int(os.environ.get("CONDA_SHLVL", -1)) if not conda_prefix or conda_shlvl < 1: # no active environment, so cannot reactivate; do nothing return { "unset_vars": (), "set_vars": {}, ...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def _get_starting_path_list(self): path = self.environ["PATH"] if on_win: # On Windows, the Anaconda Python interpreter prepends sys.prefix\Library\bin on # startup. It's a hack that allows users to avoid using the correct activation # procedure; a hack that needs to go away because it d...
def _get_starting_path_list(self): path = os.environ["PATH"] if on_win: # On Windows, the Anaconda Python interpreter prepends sys.prefix\Library\bin on # startup. It's a hack that allows users to avoid using the correct activation # procedure; a hack that needs to go away because it doe...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def _update_prompt(self, set_vars, conda_prompt_modifier): if not context.changeps1: return if self.shell == "posix": ps1 = self.environ.get("PS1", "") current_prompt_modifier = self.environ.get("CONDA_PROMPT_MODIFIER") if current_prompt_modifier: ps1 = re.sub(re.esc...
def _update_prompt(self, set_vars, conda_prompt_modifier): if not context.changeps1: return if self.shell == "posix": ps1 = os.environ.get("PS1", "") current_prompt_modifier = os.environ.get("CONDA_PROMPT_MODIFIER") if current_prompt_modifier: ps1 = re.sub(re.escape(...
https://github.com/conda/conda/issues/6739
Traceback (most recent call last): File "/anaconda/lib/python2.7/site-packages/conda/gateways/logging.py", line 64, in emit msg = self.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 734, in format return fmt.format(record) File "/anaconda/lib/python2.7/logging/__init__.py", line 465, in format ...
ValueError
def __get__(self, instance, instance_type): try: return super(ChannelField, self).__get__(instance, instance_type) except AttributeError: url = instance.url return self.unbox(instance, instance_type, Channel(url))
def __get__(self, instance, instance_type): try: return super(ChannelField, self).__get__(instance, instance_type) except AttributeError: try: url = instance.url return self.unbox(instance, instance_type, Channel(url)) except AttributeError: return Cha...
https://github.com/conda/conda/issues/6537
conda install /scratch/xxx/anaconda/pkgs/conda-build-3.2.0-py27_0.tar.bz2 An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Current conda install: platform : linux-64 conda version : 4.3.25 conda is privat...
ValidationError
def extract_tarball( tarball_full_path, destination_directory=None, progress_update_callback=None ): if destination_directory is None: destination_directory = tarball_full_path[:-8] log.debug("extracting %s\n to %s", tarball_full_path, destination_directory) assert not lexists(destination_dire...
def extract_tarball( tarball_full_path, destination_directory=None, progress_update_callback=None ): if destination_directory is None: destination_directory = tarball_full_path[:-8] log.debug("extracting %s\n to %s", tarball_full_path, destination_directory) assert not lexists(destination_dire...
https://github.com/conda/conda/issues/6514
Traceback (most recent call last): File "/Users/msarahan/miniconda3/bin/c3i", line 11, in <module> load_entry_point('conda-concourse-ci', 'console_scripts', 'c3i')() File "/Users/msarahan/code/conda-concourse-ci/conda_concourse_ci/cli.py", line 123, in main execute.submit_one_off(**args.__dict__) File "/Users/msarahan/...
conda.CondaMultiError
def execute_config(args, parser): json_warnings = [] json_get = {} if args.show_sources: if context.json: print( json.dumps( context.collect_all(), sort_keys=True, indent=2, separators=(",", ...
def execute_config(args, parser): json_warnings = [] json_get = {} if args.show_sources: if context.json: print( json.dumps( context.collect_all(), sort_keys=True, indent=2, separators=(",", ...
https://github.com/conda/conda/issues/6618
error: RepresenterError('cannot represent an object: prevent',) command: C:\tools\Anaconda3\Scripts\conda config --set path_conflict prevent user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Windows/10 Windows/10.0.16299 _messageid: -9223372036843225525 _messagetime: 1514570427640 / 2017-12-29 12:00:27 Traceback (...
ruamel_yaml.representer.RepresenterError
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
https://github.com/conda/conda/issues/6707
error: FileNotFoundError(2, 'No such file or directory') command: C:\Users\Anurag\Anaconda3\Scripts\conda install spyder user_agent: conda/4.4.7 requests/2.13.0 CPython/3.6.2 Windows/10 Windows/10.0.16299 _messageid: -9223372036837325447 _messagetime: 1515540414747 / 2018-01-09 17:26:54 Traceback (most recent call las...
FileNotFoundError
def __enter__(self): enabled = os.environ.get("CONDA_INSTRUMENTATION_ENABLED") if enabled and boolify(enabled): self.start_time = time() return self
def __enter__(self): enabled = os.environ.get("CONDA_INSTRUMENTATION_ENABLED") if enabled and boolify(enabled): self.start_time = time()
https://github.com/conda/conda/issues/6624
error: RuntimeError("generator didn't stop after throw()",) command: /home/mholekev/miniconda3/bin/conda install --yes numpy scipy matplotlib jupyter git pandas user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/2.6.32-696.10.3.el6.x86_64 centos/6.7 glibc/2.12 _messageid: -9223372036842075552 _messagetime: 151...
RuntimeError
def get_reduced_index(prefix, channels, subdirs, specs): # # this block of code is a "combine" step intended to filter out redundant specs # # causes a problem with py.test tests/core/test_solve.py -k broken_install # specs_map = defaultdict(list) # for spec in specs: # specs_map[spec.name].appe...
def get_reduced_index(prefix, channels, subdirs, specs): # # this block of code is a "combine" step intended to filter out redundant specs # # causes a problem with py.test tests/core/test_solve.py -k broken_install # specs_map = defaultdict(list) # for spec in specs: # specs_map[spec.name].appe...
https://github.com/conda/conda/issues/6624
error: RuntimeError("generator didn't stop after throw()",) command: /home/mholekev/miniconda3/bin/conda install --yes numpy scipy matplotlib jupyter git pandas user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/2.6.32-696.10.3.el6.x86_64 centos/6.7 glibc/2.12 _messageid: -9223372036842075552 _messagetime: 151...
RuntimeError
def query_all(channels, subdirs, package_ref_or_match_spec): from .index import check_whitelist # TODO: fix in-line import channel_urls = all_channel_urls(channels, subdirs=subdirs) check_whitelist(channel_urls) with ThreadLimitedThreadPoolExecutor() as executor: futures = ( execut...
def query_all(channels, subdirs, package_ref_or_match_spec): channel_urls = all_channel_urls(channels, subdirs=subdirs) executor = None try: from concurrent.futures import ThreadPoolExecutor, as_completed executor = ThreadPoolExecutor(10) futures = ( executor.submit(Sub...
https://github.com/conda/conda/issues/6624
error: RuntimeError("generator didn't stop after throw()",) command: /home/mholekev/miniconda3/bin/conda install --yes numpy scipy matplotlib jupyter git pandas user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/2.6.32-696.10.3.el6.x86_64 centos/6.7 glibc/2.12 _messageid: -9223372036842075552 _messagetime: 151...
RuntimeError
def backdown_thread_pool(max_workers=10): """Tries to create an executor with max_workers, but will back down ultimately to a single thread of the OS decides you can't have more than one. """ from concurrent.futures import ( _base, ) # These "_" imports are gross, but I don't think there's ...
def backdown_thread_pool(max_workers=10): """Tries to create an executor with max_workers, but will back down ultimately to a single thread of the OS decides you can't have more than one. """ try: yield ThreadPoolExecutor(max_workers) except RuntimeError as e: # pragma: no cover # R...
https://github.com/conda/conda/issues/6624
error: RuntimeError("generator didn't stop after throw()",) command: /home/mholekev/miniconda3/bin/conda install --yes numpy scipy matplotlib jupyter git pandas user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/2.6.32-696.10.3.el6.x86_64 centos/6.7 glibc/2.12 _messageid: -9223372036842075552 _messagetime: 151...
RuntimeError
def _load_single_record(self, prefix_record_json_path): log.trace("loading prefix record %s", prefix_record_json_path) with open(prefix_record_json_path) as fh: try: json_data = json_load(fh.read()) except JSONDecodeError: raise CorruptedEnvironmentError(self.prefix_path,...
def _load_single_record(self, prefix_record_json_path): log.trace("loading prefix record %s", prefix_record_json_path) with open(prefix_record_json_path) as fh: json_data = json_load(fh.read()) prefix_record = PrefixRecord(**json_data) self.__prefix_records[prefix_record.name] = prefix_record
https://github.com/conda/conda/issues/6390
Traceback (most recent call last): File "/home/dhj/anaconda3-5.0.1/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler return_value = func(*args, **kwargs) File "/home/dhj/anaconda3-5.0.1/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main exit_code = args.func(args, p)...
json.decoder.JSONDecodeError
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
https://github.com/conda/conda/issues/6693
error: KeyError(True,) command: /home/jgrnt/miniconda/bin/conda install --update-deps python= numpy nose scipy matplotlib pandas pytest h5py mkl mkl-service user_agent: conda/4.4.7 requests/2.18.4 CPython/3.6.3 Linux/4.14.4-gentoo gentoo/2.4.1 glibc/2.25 _messageid: -9223372036837525416 _messagetime: 1515513689937 / 20...
KeyError
def _replace_prefix_in_path(self, old_prefix, new_prefix, starting_path_dirs=None): if starting_path_dirs is None: path_list = self._get_starting_path_list() else: path_list = list(starting_path_dirs) if on_win: # pragma: unix no cover if old_prefix is not None: # window...
def _replace_prefix_in_path(self, old_prefix, new_prefix, starting_path_dirs=None): if starting_path_dirs is None: path_list = self._get_starting_path_list() else: path_list = list(starting_path_dirs) if on_win: # pragma: unix no cover # windows has a nasty habit of adding extra Lib...
https://github.com/conda/conda/issues/6627
error: AttributeError("'NoneType' object has no attribute 'endswith'",) command: /home/wang/anaconda2/bin/conda shell.posix activate py2 user_agent: conda/4.4.4 requests/2.18.4 CPython/2.7.13 Linux/3.19.0-42-generic ubuntu/14.04 glibc/2.19 _messageid: -9223372036842325539 _messagetime: 1514696872936 / 2017-12-30 23:07:...
AttributeError
def from_string(cls, string, channel_override=NULL): string = text_type(string) if is_url(string) and channel_override == NULL: return cls.from_url(string) if string.endswith("@"): return cls( channel="@", name=string, version="", build_strin...
def from_string(cls, string, channel_override=NULL): string = text_type(string) if is_url(string) and channel_override == NULL: return cls.from_url(string) if string.endswith("@"): return cls( channel="@", name=string, version="", build_strin...
https://github.com/conda/conda/issues/6665
Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/mnt/data/home/psommer/miniconda/lib/python3.6/site-packages/conda/exceptions.py", line 724, in __call__ return func(*args, **kwargs) File "/mnt/data/home/psommer/miniconda/lib/python3.6/s...
KeyError
def dump(self, instance, instance_type, val): if val: return text_type(val) else: val = instance.channel # call __get__ return text_type(val)
def dump(self, instance, instance_type, val): return val and text_type(val)
https://github.com/conda/conda/issues/6665
Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/mnt/data/home/psommer/miniconda/lib/python3.6/site-packages/conda/exceptions.py", line 724, in __call__ return func(*args, **kwargs) File "/mnt/data/home/psommer/miniconda/lib/python3.6/s...
KeyError
def from_string(cls, string, channel_override=NULL): string = text_type(string) if is_url(string) and channel_override == NULL: return cls.from_url(string) if string.endswith("@"): return cls( channel="@", name=string, version="", build_strin...
def from_string(cls, string, channel_override=NULL): string = text_type(string) if is_url(string) and channel_override == NULL: return cls.from_url(string) if string.endswith("@"): return cls( channel="@", name=string, version="", build_strin...
https://github.com/conda/conda/issues/6665
Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/mnt/data/home/psommer/miniconda/lib/python3.6/site-packages/conda/exceptions.py", line 724, in __call__ return func(*args, **kwargs) File "/mnt/data/home/psommer/miniconda/lib/python3.6/s...
KeyError
def build_deactivate(self): # query environment old_conda_shlvl = int(os.getenv("CONDA_SHLVL", 0)) old_conda_prefix = os.getenv("CONDA_PREFIX", None) if old_conda_shlvl <= 0 or old_conda_prefix is None: return { "unset_vars": (), "set_vars": {}, "export_vars":...
def build_deactivate(self): # query environment old_conda_shlvl = int(os.getenv("CONDA_SHLVL", 0)) if old_conda_shlvl <= 0: return { "unset_vars": (), "set_vars": {}, "export_vars": {}, "deactivate_scripts": (), "activate_scripts": (), ...
https://github.com/conda/conda/issues/6620
error: KeyError(u'CONDA_PREFIX',) command: D:\Anaconda2\Scripts\conda shell.cmd.exe deactivate deactivate user_agent: conda/4.4.4 requests/2.18.4 CPython/2.7.14 Windows/10 Windows/10.0.16299 _messageid: -9223372036842425555 _messagetime: 1514685063692 / 2017-12-30 19:51:03 Traceback (most recent call last): File "D:\A...
KeyError
def main(argv=None): argv = argv or sys.argv assert len(argv) >= 3 assert argv[1].startswith("shell.") shell = argv[1].replace("shell.", "", 1) activator_args = argv[2:] activator = Activator(shell, activator_args) try: print(activator.execute(), end="") return 0 except E...
def main(argv=None): argv = argv or sys.argv assert len(argv) >= 3 assert argv[1].startswith("shell.") shell = argv[1].replace("shell.", "", 1) activator_args = argv[2:] activator = Activator(shell, activator_args) try: sys.stdout.write(activator.execute()) return 0 excep...
https://github.com/conda/conda/issues/6620
error: KeyError(u'CONDA_PREFIX',) command: D:\Anaconda2\Scripts\conda shell.cmd.exe deactivate deactivate user_agent: conda/4.4.4 requests/2.18.4 CPython/2.7.14 Windows/10 Windows/10.0.16299 _messageid: -9223372036842425555 _messagetime: 1514685063692 / 2017-12-30 19:51:03 Traceback (most recent call last): File "D:\A...
KeyError
def determine_target_prefix(ctx, args=None): """Get the prefix to operate in. The prefix may not yet exist. Args: ctx: the context of conda args: the argparse args from the command line Returns: the prefix Raises: CondaEnvironmentNotFoundError if the prefix is invalid """ arg...
def determine_target_prefix(ctx, args=None): """Get the prefix to operate in. The prefix may not yet exist. Args: ctx: the context of conda args: the argparse args from the command line Returns: the prefix Raises: CondaEnvironmentNotFoundError if the prefix is invalid """ arg...
https://github.com/conda/conda/issues/6629
error: AssertionError() command: /Users/cpthgli/.anyenv/envs/pyenv/versions/default/bin/conda update --name --all --yes user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.4 Darwin/17.3.0 OSX/10.13.2 _messageid: -9223372036843525540 _messagetime: 1514462637935 / 2017-12-28 06:03:57 Traceback (most recent call last): ...
AssertionError
def create_cache_dir(): cache_dir = join(PackageCache.first_writable(context.pkgs_dirs).pkgs_dir, "cache") mkdir_p_sudo_safe(cache_dir) return cache_dir
def create_cache_dir(): cache_dir = join(PackageCache.first_writable(context.pkgs_dirs).pkgs_dir, "cache") try: makedirs(cache_dir) except OSError: pass return cache_dir
https://github.com/conda/conda/issues/6630
error: AssertionError() command: /opt/intel/intelpython3/bin/conda update --all -y user_agent: conda/4.4.4 requests/2.18.4 CPython/3.6.3 Linux/4.9.49-moby debian/9 glibc/2.24 _messageid: -9223372036843625573 _messagetime: 1514424955743 / 2017-12-27 19:35:55 Traceback (most recent call last): File "/opt/intel/intelpyth...
AssertionError
def _load(self): try: mtime = getmtime(self.cache_path_json) except (IOError, OSError): log.debug( "No local cache found for %s at %s", self.url_w_subdir, self.cache_path_json ) if context.use_index_cache or ( context.offline and not self.url_w_subdir.star...
def _load(self): try: mtime = getmtime(self.cache_path_json) except (IOError, OSError): log.debug( "No local cache found for %s at %s", self.url_w_subdir, self.cache_path_json ) if context.use_index_cache or ( context.offline and not self.url_w_subdir.star...
https://github.com/conda/conda/issues/6572
error: PermissionError(13, 'Permission denied') command: /Users/apple/.conda/envs/cafe/bin/conda uninstall protobuf user_agent: conda/4.4.3 requests/2.18.4 CPython/3.6.1 Darwin/16.1.0 OSX/10.12.1 _messageid: -9223372036845375609 _messagetime: 1514148478933 / 2017-12-24 14:47:58 _receipttime: 1514148478933 / 2017-12-24 ...
PermissionError
def get_egg_info_files(sp_dir): for fn in isdir(sp_dir) and os.listdir(sp_dir) or (): if fn.endswith(".egg-link"): with open(join(sp_dir, fn), "r") as reader: for egg in get_egg_info_files(reader.readline().strip()): yield egg if not fn.endswith((".egg...
def get_egg_info_files(sp_dir): for fn in os.listdir(sp_dir): if fn.endswith(".egg-link"): with open(join(sp_dir, fn), "r") as reader: for egg in get_egg_info_files(reader.readline().strip()): yield egg if not fn.endswith((".egg", ".egg-info", ".dist-i...
https://github.com/conda/conda/issues/6557
"command": "/Users/hideki/anaconda/bin/conda list" "user_agent": "conda/4.4.3 requests/2.14.2 CPython/3.5.2 Darwin/16.7.0 OSX/10.12.6" Traceback (most recent call last): File \"/Users/hideki/anaconda/lib/python3.5/site-packages/conda/exceptions.py\", line 722, in __call__ return func(*args, **kwargs) File \"/Users/hid...
FileNotFoundError
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
https://github.com/conda/conda/issues/6562
error: PermissionError(13, 'Permission denied') command: /home/jing/anaconda3/bin/conda upgrade Requests user_agent: conda/4.4.3 requests/2.18.4 CPython/3.6.1 Linux/4.13.0-21-generic ubuntu/17.10 glibc/2.26 _messageid: -9223372036845975622 _messagetime: 1513948198000 / 2017-12-22 07:09:58 _receipttime: 1513993708752 / ...
FileNotFoundError
def __init__(self, path, errno, **kwargs): kwargs.update( { "path": path, "errno": errno, } ) if on_win: message = dals(""" The current user does not have write permissions to a required path. path: %(path)s """) else:...
def __init__(self, path, errno, **kwargs): kwargs.update( { "path": path, "errno": errno, } ) if on_win: message = dals(""" The current user does not have write permissions to a required path. path: %(path)s """) else:...
https://github.com/conda/conda/issues/6562
error: PermissionError(13, 'Permission denied') command: /home/jing/anaconda3/bin/conda upgrade Requests user_agent: conda/4.4.3 requests/2.18.4 CPython/3.6.1 Linux/4.13.0-21-generic ubuntu/17.10 glibc/2.26 _messageid: -9223372036845975622 _messagetime: 1513948198000 / 2017-12-22 07:09:58 _receipttime: 1513993708752 / ...
FileNotFoundError
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
https://github.com/conda/conda/issues/6562
error: PermissionError(13, 'Permission denied') command: /home/jing/anaconda3/bin/conda upgrade Requests user_agent: conda/4.4.3 requests/2.18.4 CPython/3.6.1 Linux/4.13.0-21-generic ubuntu/17.10 glibc/2.26 _messageid: -9223372036845975622 _messagetime: 1513948198000 / 2017-12-22 07:09:58 _receipttime: 1513993708752 / ...
FileNotFoundError
def from_yaml(yamlstr, **kwargs): """Load and return a ``Environment`` from a given ``yaml string``""" data = yaml_load_standard(yamlstr) if kwargs is not None: for key, value in kwargs.items(): data[key] = value return Environment(**data)
def from_yaml(yamlstr, **kwargs): """Load and return a ``Environment`` from a given ``yaml string``""" data = yaml_load(yamlstr) if kwargs is not None: for key, value in kwargs.items(): data[key] = value return Environment(**data)
https://github.com/conda/conda/issues/6529
Traceback (most recent call last): File "[conda_dir]/lib/python2.7/site-packages/conda/exceptions.py", line 722, in __call__ return func(*args, **kwargs) File "[conda_dir]/lib/python2.7/site-packages/conda_env/cli/main.py", line 74, in do_call exit_code = getattr(module, func_name)(args, parser) File "[conda_dir]/lib/p...
ConstructorError
def register_env(location): location = normpath(location) if "placehold_pl" in location: # Don't record envs created by conda-build. return if location in yield_lines(USER_ENVIRONMENTS_TXT_FILE): # Nothing to do. Location is already recorded in a known environments.txt file. ...
def register_env(location): location = normpath(location) if "placehold_pl" in location: # Don't record envs created by conda-build. return if location in yield_lines(USER_ENVIRONMENTS_TXT_FILE): # Nothing to do. Location is already recorded in a known environments.txt file. ...
https://github.com/conda/conda/issues/6541
Traceback (most recent call last): File "/Users/kfranz/continuum/conda/conda/core/link.py", line 535, in _execute_actions action.execute() File "/Users/kfranz/continuum/conda/conda/core/path_actions.py", line 876, in execute register_env(self.target_prefix) File "/Users/kfranz/continuum/conda/conda/core/envs_manager.py...
UnicodeDecodeError
def spinner(message=None, enabled=True, json=False): """ Args: message (str, optional): An optional message to prefix the spinner with. If given, ': ' are automatically added. enabled (bool): If False, usage is a no-op. json (bool): If True,...
def spinner(message=None, enabled=True, json=False): """ Args: message (str, optional): An optional message to prefix the spinner with. If given, ': ' are automatically added. enabled (bool): If False, usage is a no-op. json (bool): If True,...
https://github.com/conda/conda/issues/6538
Traceback (most recent call last): File \"/home/jon/anaconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 722, in __call__ return func(*args, **kwargs) File \"/home/jon/anaconda3/lib/python3.6/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/jon/anaconda3/lib/py...
BrokenPipeError
def close(self): try: if self.json: sys.stdout.write( '{"fetch":"%s","finished":true,"maxval":1,"progress":1}\n\0' % self.description ) sys.stdout.flush() elif self.enabled: self.pbar.close() except (IOError, OSError...
def close(self): if self.json: sys.stdout.write( '{"fetch":"%s","finished":true,"maxval":1,"progress":1}\n\0' % self.description ) sys.stdout.flush() elif self.enabled: self.pbar.close() self.enabled = False
https://github.com/conda/conda/issues/6538
Traceback (most recent call last): File \"/home/jon/anaconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 722, in __call__ return func(*args, **kwargs) File \"/home/jon/anaconda3/lib/python3.6/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/jon/anaconda3/lib/py...
BrokenPipeError
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
https://github.com/conda/conda/issues/6530
Traceback (most recent call last): File "/home/pablo/anaconda/lib/python2.7/site-packages/conda/exceptions.py", line 722, in __call__ return func(*args, **kwargs) File "/home/pablo/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 78, in _main exit_code = do_call(args, p) File "/home/pablo/anaconda/lib/pyth...
ValueError
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
https://github.com/conda/conda/issues/6522
Traceback (most recent call last): File \"C:\\Users\\court\\Anaconda3\\lib\\site-packages\\conda\\exceptions.py\", line 721, in __call__ return func(*args, **kwargs) File \"C:\\Users\\court\\Anaconda3\\lib\\site-packages\\conda\\cli\\main.py\", line 78, in _main exit_code = do_call(args, p) File \"C:\\Users\\court\\Ana...
TypeError
def _first_writable_envs_dir(): # Starting in conda 4.3, we use the writability test on '..../pkgs/url.txt' to determine # writability of '..../envs'. from ..core.package_cache import PackageCache for envs_dir in context.envs_dirs: pkgs_dir = join(dirname(envs_dir), "pkgs") if PackageCa...
def _first_writable_envs_dir(): # Starting in conda 4.3, we use the writability test on '..../pkgs/url.txt' to determine # writability of '..../envs'. from ..core.package_cache import PackageCache for envs_dir in context.envs_dirs: pkgs_dir = join(dirname(envs_dir), "pkgs") if PackageCa...
https://github.com/conda/conda/issues/6508
Traceback (most recent call last): File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/exceptions.py\", line 721, in __call__ return func(*args, **kwargs) File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/nb...
PermissionError
def __init__(self, path, errno, **kwargs): kwargs.update( { "path": path, "errno": errno, } ) if on_win: message = dals(""" The current user does not have write permissions to a required path. path: %(path)s """) else:...
def __init__(self, path): kwargs = { "path": path, } if on_win: message = dals(""" The current user does not have write permissions to a required path. path: %(path)s """) else: message = dals(""" The current user does not have wr...
https://github.com/conda/conda/issues/6508
Traceback (most recent call last): File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/exceptions.py\", line 721, in __call__ return func(*args, **kwargs) File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/nb...
PermissionError
def touch(path, mkdir=False, sudo_safe=False): # sudo_safe: use any time `path` is within the user's home directory # returns: # True if the file did not exist but was created # False if the file already existed # raises: permissions errors such as EPERM and EACCES try: path = expand...
def touch(path, mkdir=False, sudo_safe=False): # sudo_safe: use any time `path` is within the user's home directory # returns: # True if the file did not exist but was created # False if the file already existed # raises: permissions errors such as EPERM and EACCES path = expand(path) lo...
https://github.com/conda/conda/issues/6508
Traceback (most recent call last): File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/exceptions.py\", line 721, in __call__ return func(*args, **kwargs) File \"/home/nbcommon/anaconda3_420/lib/python3.5/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/nb...
PermissionError
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
def solve_final_state( self, deps_modifier=NULL, prune=NULL, ignore_pinned=NULL, force_remove=NULL ): """Gives the final, solved state of the environment. Args: deps_modifier (DepsModifier): An optional flag indicating special solver handling for dependencies. The default so...
https://github.com/conda/conda/issues/6430
Traceback (most recent call last): File \"/home/nicolas/miniconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 683, in __call__ return func(*args, **kwargs) File \"/home/nicolas/miniconda3/lib/python3.6/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/nicolas/mi...
AssertionError
def get_egg_info(prefix, all_pkgs=False): """ Return a set of canonical names of all Python packages (in `prefix`), by inspecting the .egg-info files inside site-packages. By default, only untracked (not conda installed) .egg-info files are considered. Setting `all_pkgs` to True changes this. "...
def get_egg_info(prefix, all_pkgs=False): """ Return a set of canonical names of all Python packages (in `prefix`), by inspecting the .egg-info files inside site-packages. By default, only untracked (not conda installed) .egg-info files are considered. Setting `all_pkgs` to True changes this. "...
https://github.com/conda/conda/issues/6466
joris@joris-XPS-13-9350:~/scipy$ conda list # packages in environment at /home/joris/miniconda3: # `$ /home/joris/miniconda3/bin/conda list` Traceback (most recent call last): File "/home/joris/miniconda3/lib/python3.5/site-packages/conda/exceptions.py", line 683, in __call__ return func(*args, **kwargs) File "/home/...
FileNotFoundError
def _build_components(**kwargs): def _make(field_name, value): if field_name not in IndexRecord.__fields__: raise CondaValueError("Cannot match on field %s" % (field_name,)) elif isinstance(value, string_types): value = text_type(value) if hasattr(value, "match"): ...
def _build_components(**kwargs): def _make(field_name, value): if field_name not in IndexRecord.__fields__: raise CondaValueError("Cannot match on field %s" % (field_name,)) elif isinstance(value, string_types): value = text_type(value) if hasattr(value, "match"): ...
https://github.com/conda/conda/issues/6441
Traceback (most recent call last): File \"/home/rob/miniconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 683, in __call__ return func(*args, **kwargs) File \"/home/rob/miniconda3/lib/python3.6/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/rob/miniconda3/lib...
NotImplementedError
def _make(field_name, value): if field_name not in IndexRecord.__fields__: raise CondaValueError("Cannot match on field %s" % (field_name,)) elif isinstance(value, string_types): value = text_type(value) if hasattr(value, "match"): matcher = value elif field_name in _implementor...
def _make(field_name, value): if field_name not in IndexRecord.__fields__: raise CondaValueError("Cannot match on field %s" % (field_name,)) elif isinstance(value, string_types): value = text_type(value) if hasattr(value, "match"): matcher = value elif field_name in _implementor...
https://github.com/conda/conda/issues/6441
Traceback (most recent call last): File \"/home/rob/miniconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 683, in __call__ return func(*args, **kwargs) File \"/home/rob/miniconda3/lib/python3.6/site-packages/conda/cli/main.py\", line 78, in _main exit_code = do_call(args, p) File \"/home/rob/miniconda3/lib...
NotImplementedError
def get_info_dict(system=False): try: from ..install import linked_data root_pkgs = linked_data(context.root_prefix) except: # pragma: no cover root_pkgs = {} try: from requests import __version__ as requests_version # These environment variables can influence requ...
def get_info_dict(system=False): try: from ..install import linked_data root_pkgs = linked_data(context.root_prefix) except: # pragma: no cover root_pkgs = {} try: from requests import __version__ as requests_version # These environment variables can influence requ...
https://github.com/conda/conda/issues/6431
Traceback (most recent call last): File \"/home/travis/miniconda/lib/python3.6/site-packages/conda-4.4.0rc2.post15+0dc8573d-py3.6.egg/conda/core/package_cache.py\", line 265, in _make_single_record repodata_record = read_repodata_json(extracted_package_dir) File \"/home/travis/miniconda/lib/python3.6/site-packages/cond...
FileNotFoundError
def execute(args, parser): if not (args.all or args.package_names): raise CondaValueError( 'no package names supplied,\n try "conda remove -h" for more details' ) prefix = context.target_prefix check_non_admin() if args.all and prefix == context.default_prefix: ...
def execute(args, parser): if not (args.all or args.package_names or args.features): raise CondaValueError( 'no package names supplied,\n try "conda remove -h" for more details' ) prefix = context.target_prefix check_non_admin() if args.all and prefix == context.defau...
https://github.com/conda/conda/issues/6429
AttributeError", "exception_type": "<class 'AttributeError'>", "traceback": "Traceback (most recent call last): File \"/home/matt/anaconda3/lib/python3.6/site-packages/conda/exceptions.py\", line 683, in __call__ return func(*args, **kwargs) File \"/home/matt/anaconda3/lib/python3.6/site-packages/conda/cli/main.py\", l...
AttributeError
def execute(args, parser): from conda.base.context import context name = args.remote_definition or args.name try: spec = specs.detect( name=name, filename=expand(args.file), directory=os.getcwd() ) env = spec.environment # FIXME conda code currently requires ar...
def execute(args, parser): from conda.base.context import context name = args.remote_definition or args.name try: spec = specs.detect( name=name, filename=expand(args.file), directory=os.getcwd() ) env = spec.environment # FIXME conda code currently requires ar...
https://github.com/conda/conda/issues/5680
$ cat environment.yml dependencies: - pip: $ conda env create -n recreate --file=environment.yml Fetching package metadata ........... Solving package specifications: An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/cond...
TypeError
def parse(self): if not self.raw: return self.update({"conda": []}) for line in self.raw: if isinstance(line, dict): self.update(line) else: self["conda"].append(common.arg2spec(line)) if "pip" in self: if not self["pip"]: del self["...
def parse(self): if not self.raw: return self.update({"conda": []}) for line in self.raw: if isinstance(line, dict): self.update(line) else: self["conda"].append(common.arg2spec(line))
https://github.com/conda/conda/issues/5680
$ cat environment.yml dependencies: - pip: $ conda env create -n recreate --file=environment.yml Fetching package metadata ........... Solving package specifications: An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/cond...
TypeError
def configure_parser(sub_parsers): list_parser = sub_parsers.add_parser( "list", formatter_class=RawDescriptionHelpFormatter, description=description, help=description, epilog=example, ) common.add_parser_json(list_parser) list_parser.set_defaults(func=execute)
def configure_parser(sub_parsers): l = sub_parsers.add_parser( "list", formatter_class=RawDescriptionHelpFormatter, description=description, help=description, epilog=example, ) common.add_parser_json(l) l.set_defaults(func=execute)
https://github.com/conda/conda/issues/6023
Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Continuum\Anaconda3\lib\site-packages\conda\exceptions.py", line 632, in conda_exception_handler return_value = func(*args, **kwargs) File "C:\Users\xxxx\AppData\Local\Continuum\Anaconda3\lib\site-packages\conda\cli\main.py", line 137, in _main exit_c...
AssertionError
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
def _make_single_record(self, package_filename): if not package_filename.endswith(CONDA_TARBALL_EXTENSION): package_filename += CONDA_TARBALL_EXTENSION package_tarball_full_path = join(self.pkgs_dir, package_filename) log.trace("adding to package cache %s", package_tarball_full_path) extracted_...
https://github.com/conda/conda/issues/5808
{ "command":"D:\\Anaconda3\\Scripts\\conda-script.py install -c anaconda pillow", "conda_info":{ "_channels":"https://conda.anaconda.org/anaconda/win-64 https://conda.anaconda.org/anaconda/noarch https://repo.continuum.io/pkgs/free/win-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io/pkgs/r/win-6...
FileNotFoundError
def execute(args, parser): name = args.remote_definition or args.name try: spec = install_specs.detect( name=name, filename=expand(args.file), directory=os.getcwd() ) env = spec.environment except exceptions.SpecNotFound: raise if not (args.name or args.pref...
def execute(args, parser): name = args.remote_definition or args.name try: spec = install_specs.detect( name=name, filename=expand(args.file), directory=os.getcwd() ) env = spec.environment except exceptions.SpecNotFound: raise if not (args.name or args.pref...
https://github.com/conda/conda/issues/5809
{ "command":"/home/travis/miniconda/bin/conda-env update", "conda_info":{ "GID":2000, "UID":2000, "_channels":"https://conda.anaconda.org/conda-canary/linux-64 https://conda.anaconda.org/conda-canary/noarch https://repo.continuum.io/pkgs/free/linux-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io...
TypeError
def install(prefix, specs, args, env, *_, **kwargs): # TODO: support all various ways this happens # Including 'nodefaults' in the channels list disables the defaults new_specs = [] channel_urls = set() for elem in specs: if "::" in elem: channel_urls.add(elem.split("::")[0]) ...
def install(prefix, specs, args, env, prune=False): # TODO: support all various ways this happens # Including 'nodefaults' in the channels list disables the defaults new_specs = [] channel_urls = set() for elem in specs: if "::" in elem: channel_urls.add(elem.split("::")[0]) ...
https://github.com/conda/conda/issues/5809
{ "command":"/home/travis/miniconda/bin/conda-env update", "conda_info":{ "GID":2000, "UID":2000, "_channels":"https://conda.anaconda.org/conda-canary/linux-64 https://conda.anaconda.org/conda-canary/noarch https://repo.continuum.io/pkgs/free/linux-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io...
TypeError
def _pip_install_via_requirements(prefix, specs, args, *_, **kwargs): """ Installs the pip dependencies in specs using a temporary pip requirements file. Args ---- prefix: string The path to the python and pip executables. specs: iterable of strings Each element should be a valid p...
def _pip_install_via_requirements(prefix, specs, args, *_): """ Installs the pip dependencies in specs using a temporary pip requirements file. Args ---- prefix: string The path to the python and pip executables. specs: iterable of strings Each element should be a valid pip depende...
https://github.com/conda/conda/issues/5809
{ "command":"/home/travis/miniconda/bin/conda-env update", "conda_info":{ "GID":2000, "UID":2000, "_channels":"https://conda.anaconda.org/conda-canary/linux-64 https://conda.anaconda.org/conda-canary/noarch https://repo.continuum.io/pkgs/free/linux-64 https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io...
TypeError
def symlink_conda_hlp(prefix, root_dir, where, symlink_fn): scripts = ["conda", "activate", "deactivate"] prefix_where = join(prefix, where) if not isdir(prefix_where): os.makedirs(prefix_where) for f in scripts: root_file = join(root_dir, where, f) prefix_file = join(prefix_wher...
def symlink_conda_hlp(prefix, root_dir, where, symlink_fn): scripts = ["conda", "activate", "deactivate"] prefix_where = join(prefix, where) if not isdir(prefix_where): os.makedirs(prefix_where) for f in scripts: root_file = join(root_dir, where, f) prefix_file = join(prefix_wher...
https://github.com/conda/conda/issues/2837
Traceback (most recent call last): File "/symln_home/anaconda/bin/conda", line 6, in <module> sys.exit(main()) File "/Users/tomflem/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 48, in main activate.main() File "/Users/tomflem/anaconda/lib/python2.7/site-packages/conda/cli/activate.py", line 163, in mai...
OSError
def configure_parser(sub_parsers): p = sub_parsers.add_parser( "update", formatter_class=RawDescriptionHelpFormatter, description=description, help=description, epilog=example, ) common.add_parser_prefix(p) p.add_argument( "-f", "--file", a...
def configure_parser(sub_parsers): p = sub_parsers.add_parser( "update", formatter_class=RawDescriptionHelpFormatter, description=description, help=description, epilog=example, ) p.add_argument( "-n", "--name", action="store", help="nam...
https://github.com/conda/conda/issues/5420
conda env update An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Current conda install: platform : linux-64 conda version : 4.3.20 conda is private : False conda-env version : 4.3.20 conda-build version : not...
AttributeError
def error(self, message): import re import subprocess from .find_commands import find_executable exc = sys.exc_info()[1] if exc: # this is incredibly lame, but argparse stupidly does not expose # reasonable hooks for customizing error handling if hasattr(exc, "argument_name"...
def error(self, message): import re import subprocess from .find_commands import find_executable exc = sys.exc_info()[1] if exc: # this is incredibly lame, but argparse stupidly does not expose # reasonable hooks for customizing error handling if hasattr(exc, "argument_name"...
https://github.com/conda/conda/issues/5346
________________________________ test_skeleton_pypi ________________________________ Traceback (most recent call last): File "/home/dev/code/conda-build/tests/test_published_examples.py", line 15, in test_skeleton_pypi check_call_env(cmd.split()) File "/home/dev/code/conda-build/conda_build/utils.py", line 670, in chec...
CalledProcessError
def help(command, shell): # sys.argv[1] will be ..checkenv in activate if an environment is already # activated # get grandparent process name to see which shell we're using if command in ("..activate", "..checkenv"): if shell in ["cmd.exe", "powershell.exe"]: raise CondaSystemExit("...
def help(command, shell): # sys.argv[1] will be ..checkenv in activate if an environment is already # activated # get grandparent process name to see which shell we're using if command in ("..activate", "..checkenv"): if shell in ["cmd.exe", "powershell.exe"]: raise CondaSystemExit("...
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def main(): from ..base.constants import ROOT_ENV_NAME sys_argv = tuple(ensure_text_type(s) for s in sys.argv) if "-h" in sys_argv or "--help" in sys_argv: # all execution paths sys.exit at end. help(sys_argv[1], sys_argv[2]) if len(sys_argv) > 2: shell = sys_argv[2] else:...
def main(): from ..base.constants import ROOT_ENV_NAME if "-h" in sys.argv or "--help" in sys.argv: # all execution paths sys.exit at end. help(sys.argv[1], sys.argv[2]) if len(sys.argv) > 2: shell = sys.argv[2] else: shell = "" if regex.match("^..(?:de|)activate$"...
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def main(*args): if not args: args = sys.argv args = tuple(_ensure_text_type(s) for s in args) log.debug("conda.cli.main called with %s", args) if len(args) > 1: try: argv1 = args[1].strip() if argv1.startswith(".."): import conda.cli.activate as...
def main(*args): if not args: args = sys.argv if not args: args = sys.argv log.debug("conda.cli.main called with %s", args) if len(args) > 1: try: argv1 = args[1].strip() if argv1.startswith(".."): import conda.cli.activate as activate ...
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def __init__(self, message, **kwargs): command = " ".join(ensure_text_type(s) for s in sys.argv) super(CommandArgumentError, self).__init__(message, command=command, **kwargs)
def __init__(self, message, **kwargs): command = " ".join(sys.argv) super(CommandArgumentError, self).__init__(message, command=command, **kwargs)
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def print_unexpected_error_message(e): # bomb = "\U0001F4A3 " # explosion = "\U0001F4A5 " # fire = "\U0001F525 " # print("%s %s %s" % (3*bomb, 3*explosion, 3*fire)) traceback = format_exc() stderrlogger = getLogger("stderr") from .base.context import context if context.json: ...
def print_unexpected_error_message(e): # bomb = "\U0001F4A3 " # explosion = "\U0001F4A5 " # fire = "\U0001F525 " # print("%s %s %s" % (3*bomb, 3*explosion, 3*fire)) traceback = format_exc() stderrlogger = getLogger("stderr") from .base.context import context if context.json: ...
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def write_head(fo): fo.write("==> %s <==\n" % time.strftime("%Y-%m-%d %H:%M:%S")) fo.write("# cmd: %s\n" % (" ".join(ensure_text_type(s) for s in sys.argv)))
def write_head(fo): fo.write("==> %s <==\n" % time.strftime("%Y-%m-%d %H:%M:%S")) fo.write("# cmd: %s\n" % (" ".join(sys.argv)))
https://github.com/conda/conda/issues/5329
(root) c:\msys64\home\kfranz\continuum\conda>python -m conda create -n qtcrΞator qt=5.6.2 python=3.6 Fetching package metadata ........... Solving package specifications: . Package plan for installation in environment C:\conda-root\envs\qtcrΞator: The following NEW packages will be INSTALLED: icu: 57.1-vc...
UnicodeEncodeError
def build_message(specs): binstar_spec = next((spec for spec in specs if isinstance(spec, BinstarSpec)), None) if binstar_spec: return binstar_spec.msg else: return "\n".join([s.msg for s in specs if s.msg is not None])
def build_message(specs): return "\n".join([s.msg for s in specs if s.msg is not None])
https://github.com/conda/conda/issues/3689
Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\Users\tsnyder> which conda C:\Users\tsnyder\Miniconda3\Scripts\conda.EXE PS C:\Users\tsnyder> conda list # packages in environment at C:\Users\tsnyder\Miniconda3: # conda 4.1.11 py35_0 conda-en...
conda_env.exceptions.SpecNotFound
def can_handle(self): """ Validates loader can process environment definition. :return: True or False """ # TODO: log information about trying to find the package in binstar.org if self.valid_name(): if self.binstar is None: self.msg = ( "Anaconda Client is re...
def can_handle(self): """ Validates loader can process environment definition. :return: True or False """ # TODO: log information about trying to find the package in binstar.org if self.valid_name(): if self.binstar is None: self.msg = "Please install binstar" ret...
https://github.com/conda/conda/issues/3689
Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS C:\Users\tsnyder> which conda C:\Users\tsnyder\Miniconda3\Scripts\conda.EXE PS C:\Users\tsnyder> conda list # packages in environment at C:\Users\tsnyder\Miniconda3: # conda 4.1.11 py35_0 conda-en...
conda_env.exceptions.SpecNotFound
def execute(args, parser): from ..base.context import context from .common import stdout_json prefix = context.prefix_w_legacy_search regex = args.regex if args.full_name: regex = r"^%s$" % regex if args.revisions: from ..history import History h = History(prefix) ...
def execute(args, parser): from ..base.context import context from .common import stdout_json prefix = context.prefix_w_legacy_search regex = args.regex if args.full_name: regex = r"^%s$" % regex if args.revisions: from ..history import History h = History(prefix) ...
https://github.com/conda/conda/issues/4968
Traceback (most recent call last): File "/conda/lib/python3.6/site-packages/conda/core/package_cache.py", line 502, in _execute_action action.execute() File "/conda/lib/python3.6/site-packages/conda/core/path_actions.py", line 739, in execute source_md5sum = compute_md5sum(source_path) File "/conda/lib/python3.6/site-p...
conda.exceptions.CondaFileNotFoundError
def compute_md5sum(file_full_path): if not isfile(file_full_path): raise FileNotFoundError(file_full_path) hash_md5 = hashlib.md5() with open(file_full_path, "rb") as fh: for chunk in iter(partial(fh.read, 8192), b""): hash_md5.update(chunk) return hash_md5.hexdigest()
def compute_md5sum(file_full_path): if not isfile(file_full_path): raise CondaFileNotFoundError(file_full_path) hash_md5 = hashlib.md5() with open(file_full_path, "rb") as fh: for chunk in iter(partial(fh.read, 8192), b""): hash_md5.update(chunk) return hash_md5.hexdigest()
https://github.com/conda/conda/issues/4968
Traceback (most recent call last): File "/conda/lib/python3.6/site-packages/conda/core/package_cache.py", line 502, in _execute_action action.execute() File "/conda/lib/python3.6/site-packages/conda/core/path_actions.py", line 739, in execute source_md5sum = compute_md5sum(source_path) File "/conda/lib/python3.6/site-p...
conda.exceptions.CondaFileNotFoundError
def explicit( specs, prefix, verbose=False, force_extract=True, index_args=None, index=None ): actions = defaultdict(list) actions["PREFIX"] = prefix fetch_recs = {} for spec in specs: if spec == "@EXPLICIT": continue if not is_url(spec): spec = unquote(path...
def explicit( specs, prefix, verbose=False, force_extract=True, index_args=None, index=None ): actions = defaultdict(list) actions["PREFIX"] = prefix fetch_recs = {} for spec in specs: if spec == "@EXPLICIT": continue if not is_url(spec): spec = unquote(path...
https://github.com/conda/conda/issues/4968
Traceback (most recent call last): File "/conda/lib/python3.6/site-packages/conda/core/package_cache.py", line 502, in _execute_action action.execute() File "/conda/lib/python3.6/site-packages/conda/core/path_actions.py", line 739, in execute source_md5sum = compute_md5sum(source_path) File "/conda/lib/python3.6/site-p...
conda.exceptions.CondaFileNotFoundError
def create_from_dists(cls, index, target_prefix, unlink_dists, link_dists): # This constructor method helps to patch into the 'plan' framework lnkd_pkg_data = (load_meta(target_prefix, dist) for dist in unlink_dists) # TODO: figure out if this filter shouldn't be an assert not None linked_packages_data_...
def create_from_dists(cls, index, target_prefix, unlink_dists, link_dists): # This constructor method helps to patch into the 'plan' framework linked_packages_data_to_unlink = tuple( load_meta(target_prefix, dist) for dist in unlink_dists ) log.debug( "instantiating UnlinkLinkTransactio...
https://github.com/conda/conda/issues/4974
Traceback (most recent call last): File "/Users/luisaalanizcastillo/anaconda/lib/python3.6/site-packages/conda/exceptions.py", line 591, in conda_exception_handler return_value = func(*args, **kwargs) File "/Users/luisaalanizcastillo/anaconda/lib/python3.6/site-packages/conda/cli/main.py", line 134, in _main exit_code ...
AttributeError
def execute_config(args, parser): json_warnings = [] json_get = {} if args.show_sources: if context.json: print( json.dumps( context.collect_all(), sort_keys=True, indent=2, separators=(",", ...
def execute_config(args, parser): json_warnings = [] json_get = {} if args.show_sources: if context.json: print( json.dumps( context.collect_all(), sort_keys=True, indent=2, separators=(",", ...
https://github.com/conda/conda/issues/598
An unexpected error has occurred, please consider sending the following traceback to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Include the output of the command 'conda info' in your report. Traceback (most recent call last): File "/opt/anaconda/bin/conda", line 5, in <module> sys.exit...
IOError
def _merge(self, matches): # get matches up to and including first important_match # but if no important_match, then all matches are important_matches relevant_matches_and_values = tuple( (match, match.value(self)) for match in self._first_important_matches(matches) ) for match, value in r...
def _merge(self, matches): # get matches up to and including first important_match # but if no important_match, then all matches are important_matches relevant_matches = self._first_important_matches(matches) # get individual lines from important_matches that were marked important # these will be...
https://github.com/conda/conda/issues/5189
(test) [hulk@ranganork conda]# conda update conda Traceback (most recent call last): File "/root/conda/conda/exceptions.py", line 632, in conda_exception_handler return_value = func(*args, **kwargs) File "/root/conda/conda/cli/main.py", line 134, in _main exit_code = args.func(args, p) File "/root/conda/conda/cli/main_...
TypeError
def __init__( self, parameter_name, parameter_value, source, wrong_type, valid_types, msg=None ): self.wrong_type = wrong_type self.valid_types = valid_types if msg is None: msg = "Parameter %s = %r declared in %s has type %s.\nValid types:\n%s" % ( parameter_name, parame...
def __init__( self, parameter_name, parameter_value, source, wrong_type, valid_types, msg=None ): self.wrong_type = wrong_type self.valid_types = valid_types if msg is None: msg = "Parameter %s = %r declared in %s has type %s.\nValid types: %s." % ( parameter_name, parame...
https://github.com/conda/conda/issues/5184
`$ C:\Users\<username>\AppData\Local\Continuum\Anaconda3\Scripts\conda-script.py updat e` Traceback (most recent call last): File "C:\Users\<username>\AppData\Local\Continuum\Anaconda3\lib\site-packages\co nda\exceptions.py", line 573, in conda_exception_handler return_value = func(*args, **kwargs) File "C:\Users\<use...
AttributeError
def _merge(self, matches): # get matches up to and including first important_match # but if no important_match, then all matches are important_matches relevant_matches_and_values = tuple( (match, match.value(self)) for match in self._first_important_matches(matches) ) for match, value in r...
def _merge(self, matches): # get matches up to and including first important_match # but if no important_match, then all matches are important_matches relevant_matches = self._first_important_matches(matches) # mapkeys with important matches def key_is_important(match, key): return match....
https://github.com/conda/conda/issues/5184
`$ C:\Users\<username>\AppData\Local\Continuum\Anaconda3\Scripts\conda-script.py updat e` Traceback (most recent call last): File "C:\Users\<username>\AppData\Local\Continuum\Anaconda3\lib\site-packages\co nda\exceptions.py", line 573, in conda_exception_handler return_value = func(*args, **kwargs) File "C:\Users\<use...
AttributeError
def add_username_and_pass_to_url(url, username, passwd): url_parts = parse_url(url)._asdict() url_parts["auth"] = username + ":" + quote(passwd, "") return Url(**url_parts).url
def add_username_and_pass_to_url(url, username, passwd): url_obj = parse_url(url) url_obj.auth = username + ":" + quote(passwd, "") return url_obj.url
https://github.com/conda/conda/issues/3531
C:\>conda search scikit-learn https proxy username: john.doe Password: An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Current conda install: platform : win-64 conda version : 4.2.7 conda is private : F...
OSError
def prefix_from_arg(arg, shelldict): from ..base.context import context, locate_prefix_by_name "Returns a platform-native path" # MSYS2 converts Unix paths to Windows paths with unix seps # so we must check for the drive identifier too. if shelldict["sep"] in arg and not re.match("[a-zA-Z]:", arg):...
def prefix_from_arg(arg, shelldict): from conda.base.context import context, locate_prefix_by_name "Returns a platform-native path" # MSYS2 converts Unix paths to Windows paths with unix seps # so we must check for the drive identifier too. if shelldict["sep"] in arg and not re.match("[a-zA-Z]:", a...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def main(): from ..base.constants import ROOT_ENV_NAME from ..utils import shells if "-h" in sys.argv or "--help" in sys.argv: # all execution paths sys.exit at end. help(sys.argv[1], sys.argv[2]) if len(sys.argv) > 2: shell = sys.argv[2] shelldict = shells[shell] e...
def main(): from conda.base.constants import ROOT_ENV_NAME from conda.utils import shells if "-h" in sys.argv or "--help" in sys.argv: # all execution paths sys.exit at end. help(sys.argv[1], sys.argv[2]) if len(sys.argv) > 2: shell = sys.argv[2] shelldict = shells[shel...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def _get_items(self): # TODO: Include .tar.bz2 files for local installs. from ..core.index import get_index args = self.parsed_args call_dict = dict( channel_urls=args.channel or (), use_cache=True, prepend=not args.override_channels, unknown=args.unknown, ) if h...
def _get_items(self): # TODO: Include .tar.bz2 files for local installs. from conda.core.index import get_index args = self.parsed_args call_dict = dict( channel_urls=args.channel or (), use_cache=True, prepend=not args.override_channels, unknown=args.unknown, ) ...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def _get_items(self): from ..core.linked_data import linked packages = linked(context.prefix_w_legacy_search) return [dist.quad[0] for dist in packages]
def _get_items(self): from conda.core.linked_data import linked packages = linked(context.prefix_w_legacy_search) return [dist.quad[0] for dist in packages]
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def get_index_trap(*args, **kwargs): """ Retrieves the package index, but traps exceptions and reports them as JSON if necessary. """ from ..core.index import get_index kwargs.pop("json", None) return get_index(*args, **kwargs)
def get_index_trap(*args, **kwargs): """ Retrieves the package index, but traps exceptions and reports them as JSON if necessary. """ from conda.core.index import get_index kwargs.pop("json", None) return get_index(*args, **kwargs)
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def handle_envs_list(acc, output=True): from .. import misc if output: print("# conda environments:") print("#") def disp_env(prefix): fmt = "%-20s %s %s" default = "*" if prefix == context.default_prefix else " " name = ROOT_ENV_NAME if prefix == context.root_pre...
def handle_envs_list(acc, output=True): from conda import misc if output: print("# conda environments:") print("#") def disp_env(prefix): fmt = "%-20s %s %s" default = "*" if prefix == context.default_prefix else " " name = ROOT_ENV_NAME if prefix == context.root_...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def check_write(command, prefix, json=False): if inroot_notwritable(prefix): from .help import root_read_only root_read_only(command, prefix, json=json)
def check_write(command, prefix, json=False): if inroot_notwritable(prefix): from conda.cli.help import root_read_only root_read_only(command, prefix, json=json)
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def _main(*args): from ..base.constants import SEARCH_PATH from ..base.context import context from ..gateways.logging import set_all_logger_level, set_verbosity if len(args) == 1: args = args + ("-h",) p, sub_parsers = generate_parser() main_modules = [ "info", "help"...
def _main(*args): from ..base.constants import SEARCH_PATH from ..base.context import context from ..gateways.logging import set_all_logger_level, set_verbosity if len(args) == 1: args = args + ("-h",) p, sub_parsers = generate_parser() main_modules = [ "info", "help"...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def get_user_site(): site_dirs = [] try: if not on_win: if exists(expanduser("~/.local/lib")): python_re = re.compile("python\d\.\d") for path in listdir(expanduser("~/.local/lib/")): if python_re.match(path): site_d...
def get_user_site(): site_dirs = [] try: if not on_win: if exists(expanduser("~/.local/lib")): for path in listdir(expanduser("~/.local/lib/")): if python_re.match(path): site_dirs.append("~/.local/lib/%s" % path) else: ...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def pretty_package(dist, pkg): from ..utils import human_bytes pkg = dump_record(pkg) d = OrderedDict( [ ("file name", dist.to_filename()), ("name", pkg["name"]), ("version", pkg["version"]), ("build string", pkg["build"]), ("build number"...
def pretty_package(dist, pkg): from conda.utils import human_bytes pkg = dump_record(pkg) d = OrderedDict( [ ("file name", dist.to_filename()), ("name", pkg["name"]), ("version", pkg["version"]), ("build string", pkg["build"]), ("build num...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError
def execute(args, parser): from ..base.context import context if args.root: if context.json: stdout_json({"root_prefix": context.root_prefix}) else: print(context.root_prefix) return if args.packages: print_package_info(args.packages) return ...
def execute(args, parser): import os from os.path import dirname import conda from conda.base.context import context from conda.models.channel import offline_keep from conda.resolve import Resolve from conda.api import get_index from conda.connection import user_agent if args.root:...
https://github.com/conda/conda/issues/5039
$ conda -h An unexpected error has occurred. Please consider posting the following information to the conda GitHub issue tracker at: https://github.com/conda/conda/issues Traceback (most recent call last): File "/home/vmrguser/anaconda2/bin/conda", line 6, in <module> sys.exit(conda.cli.main()) File "/home/vmrguser...
ImportError