Skip to content

Instantly share code, notes, and snippets.

@juliandescottes
Created February 18, 2020 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliandescottes/8e3c63cc7d48241c4db1806962604a37 to your computer and use it in GitHub Desktop.
Save juliandescottes/8e3c63cc7d48241c4db1806962604a37 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/bin/pipenv", line 8, in <module>
sys.exit(cli())
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/cli.py", line 402, in install
selective_upgrade=selective_upgrade,
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/core.py", line 1781, in do_install
skip_requirements=skip_requirements,
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/core.py", line 620, in ensure_project
three=three, python=python, site_packages=site_packages
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/core.py", line 553, in ensure_virtualenv
if not project.virtualenv_exists:
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/project.py", line 225, in virtualenv_exists
if self.pipfile_exists and os.path.exists(self.virtualenv_location):
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/project.py", line 315, in virtualenv_location
loc = self._get_virtualenv_location(self.virtualenv_name)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/project.py", line 238, in _get_virtualenv_location
from .patched.pew.pew import get_workon_home
File "/Users/jdescottes/Development/hg/fx-team-artifact/build/mach_bootstrap.py", line 431, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/patched/pew/__init__.py", line 3, in <module>
from . import pew
File "/Users/jdescottes/Development/hg/fx-team-artifact/build/mach_bootstrap.py", line 431, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/patched/pew/pew.py", line 44, in <module>
from pew._utils import (check_call, invoke, expandpath, own, env_bin_dir,
File "/Users/jdescottes/Development/hg/fx-team-artifact/build/mach_bootstrap.py", line 431, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/patched/pew/__init__.py", line 3, in <module>
from . import pew
File "/Users/jdescottes/Development/hg/fx-team-artifact/build/mach_bootstrap.py", line 431, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/patched/pew/pew.py", line 44, in <module>
from pew._utils import (check_call, invoke, expandpath, own, env_bin_dir,
File "/Users/jdescottes/Development/hg/fx-team-artifact/build/mach_bootstrap.py", line 431, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/site-packages/pipenv/patched/pew/_utils.py", line 25, in <module>
encoding = locale.getlocale()[1] or 'ascii'
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/locale.py", line 587, in getlocale
return _parse_localename(localename)
File "/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/lib/python3.7/locale.py", line 495, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
Error running mach:
['doc']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
subprocess.CalledProcessError: Command '['/Users/jdescottes/Development/hg/fx-team-artifact/objdir.noindex/_virtualenvs/init_py3/bin/pipenv', 'install']' returned non-zero exit status 1.
File "/Users/jdescottes/Development/hg/fx-team-artifact/tools/moztreedocs/mach_commands.py", line 79, in build_docs
self.activate_pipenv(os.path.join(here, 'Pipfile'))
File "/Users/jdescottes/Development/hg/fx-team-artifact/python/mozbuild/mozbuild/base.py", line 848, in activate_pipenv
self.virtualenv_manager.activate_pipenv(pipfile, populate, python)
File "/Users/jdescottes/Development/hg/fx-team-artifact/python/mozbuild/mozbuild/virtualenv.py", line 676, in activate_pipenv
subprocess.check_call([pipenv, 'install'], stderr=subprocess.STDOUT, env=env)
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 341, in check_call
raise CalledProcessError(retcode, cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment