Closed Bug 1971432 Opened 4 months ago Closed 4 months ago

module 'mozfile.json' has no attribute 'JSONDecodeError'

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1971379

People

(Reporter: cmartin, Unassigned)

References

(Blocks 1 open bug)

Details

AttributeError: module 'mozfile.json' has no attribute 'JSONDecodeError'

File "/home/cmartin/firefox/python/mozboot/mozboot/mach_commands.py", line 48, in bootstrap
bootstrapper.bootstrap(command_context.settings)
File "/home/cmartin/firefox/python/mozboot/mozboot/bootstrap.py", line 470, in bootstrap
initialize_telemetry_setting(settings, str(checkout_root), str(state_dir))
File "/home/cmartin/firefox/python/mach/mach/telemetry.py", line 288, in initialize_telemetry_setting
is_employee = resolve_is_employee(topsrcdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cmartin/firefox/python/mach/mach/telemetry.py", line 189, in resolve_is_employee
is_employee = resolve_is_employee_by_credentials(topsrcdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cmartin/firefox/python/mach/mach/telemetry.py", line 135, in resolve_is_employee_by_credentials
phabricator_uri = resolve_setting_from_arcconfig(topsrcdir, "phabricator.uri")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cmartin/firefox/python/mach/mach/telemetry.py", line 126, in resolve_setting_from_arcconfig
except (json.JSONDecodeError, FileNotFoundError):

This should be fixed by bug 1971225.

Status: NEW → RESOLVED
Closed: 4 months ago
Duplicate of bug: 1971379
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.