Closed Bug 1743271 Opened 3 years ago Closed 3 years ago

mach install-moz-phab fails (argument of type 'ExternalPythonSite' is not iterable)

Categories

(Firefox Build System :: Mach Core, defect)

defect

Tracking

(firefox-esr91 unaffected, firefox94 unaffected, firefox95 unaffected, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- unaffected
firefox96 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

$ mach install-moz-phab
Error running mach:

    ['install-moz-phab']

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 install-moz-phab| 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:

TypeError: argument of type 'ExternalPythonSite' is not iterable

  File "c:\moz\mozilla-unified\tools/phabricator/mach_commands.py", line 47, in install_moz_phab
    "import sys; print(sys.prefix != sys.base_prefix)",
  File "c:\mozilla-build\python3\lib\subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "c:\mozilla-build\python3\lib\subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "c:\mozilla-build\python3\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "c:\mozilla-build\python3\lib\subprocess.py", line 1148, in _execute_child
    args = list2cmdline(args)
  File "c:\mozilla-build\python3\lib\subprocess.py", line 555, in list2cmdline
    needquote = (" " in arg) or ("\t" in arg) or not arg

Assuming this has something to do with some of the recent changes?

Flags: needinfo?(mhentges)

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Mach Core
Regressed by: 1717051
Has Regression Range: --- → yes
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Summary: mach install-moz-phab fails on Windows (argument of type 'ExternalPythonSite' is not iterable) → mach install-moz-phab fails (argument of type 'ExternalPythonSite' is not iterable)
Flags: needinfo?(mhentges)

Set release status flags based on info from the regressing bug 1717051

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: