Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockingIOError #6468

Closed
CJ-Wright opened this issue Dec 15, 2017 · 3 comments
Closed

BlockingIOError #6468

CJ-Wright opened this issue Dec 15, 2017 · 3 comments
Labels
locked [bot] locked due to inactivity

Comments

@CJ-Wright
Copy link
Contributor

I got the following with the latest conda (4.3.30 py36h5d9f9f4_0) on travis during conda create --yes -n testenv python=3.6 pytest codecov coverage xlrd xlsxwriter pymongo flake8 pandas jsonschema -c conda-forge

Any idea what could be going wrong?

--- Logging error ---
Traceback (most recent call last):
  File "/home/travis/mc/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler
    return_value = func(*args, **kwargs)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/cli/main.py", line 140, in _main
    exit_code = args.func(args, p)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/cli/main_create.py", line 68, in execute
    install(args, parser, 'create')
  File "/home/travis/mc/lib/python3.6/site-packages/conda/cli/install.py", line 326, in install
    execute_actions(actions, index, verbose=not context.quiet)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/plan.py", line 828, in execute_actions
    execute_instructions(plan, index, verbose)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/instructions.py", line 247, in execute_instructions
    cmd(state, arg)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/instructions.py", line 100, in PROGRESSIVEFETCHEXTRACT_CMD
    progressive_fetch_extract.execute()
  File "/home/travis/mc/lib/python3.6/site-packages/conda/core/package_cache.py", line 492, in execute
    self._execute_action(action)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/core/package_cache.py", line 513, in _execute_action
    raise CondaMultiError(exceptions)
conda.CondaMultiError: BlockingIOError(11, 'write could not complete without blocking', 4048)
BlockingIOError(11, 'write could not complete without blocking', 4048)
BlockingIOError(11, 'write could not complete without blocking', 8192)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/travis/mc/lib/python3.6/logging/__init__.py", line 996, in emit
    self.flush()
  File "/home/travis/mc/lib/python3.6/logging/__init__.py", line 976, in flush
    self.stream.flush()
BlockingIOError: [Errno 11] write could not complete without blocking
Call stack:
  File "/home/travis/mc/bin/conda", line 11, in <module>
    sys.exit(main())
  File "/home/travis/mc/lib/python3.6/site-packages/conda/cli/main.py", line 182, in main
    return conda_exception_handler(_main, *args)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/exceptions.py", line 644, in conda_exception_handler
    return handle_exception(e)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/exceptions.py", line 631, in handle_exception
    print_conda_exception(e)
  File "/home/travis/mc/lib/python3.6/site-packages/conda/exceptions.py", line 567, in print_conda_exception
    stderrlogger.info("\n%r", exception)
Message: '\n%r'
Arguments: (CondaError: BlockingIOError(11, 'write could not complete without blocking', 4048)
CondaError: BlockingIOError(11, 'write could not complete without blocking', 4048)
CondaError: BlockingIOError(11, 'write could not complete without blocking', 8192)
,)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BlockingIOError: [Errno 11] write could not complete without blocking
@anjos
Copy link

anjos commented Dec 17, 2017

This problems seems related to the verbosity of conda installs - maybe some terminal incompatibility? Using --quiet at conda operations that make extensive use of terminal control (e.g. conda create) mitigates the problems for me.

coroa added a commit to PyPSA/PyPSA that referenced this issue Dec 18, 2017
Worksaround the terminal problems conda is having with travis.
See also: conda/conda#6468
TTitscher added a commit to nutofem/nuto that referenced this issue Dec 18, 2017
leouieda added a commit to GenericMappingTools/pygmt that referenced this issue Dec 19, 2017
Getting conda errors in TravisCI related to blocking IO.
Fix by adding the `--quiet` flag (conda/conda#6468).
ceball added a commit to ioam/parambokeh that referenced this issue Dec 19, 2017
…ilures.

See conda/conda#6468.

Also note that the existing duplication of commands and amount of bash inside a 'config' file is being tackled separately...
@kalefranz
Copy link
Contributor

Duplicate of #6473. There's more discussion there, so will close this issue.

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Sep 24, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

3 participants