Closed Bug 1713490 Opened 5 years ago Closed 5 years ago

Cross-channel generation broken on 2021-05-30

Categories

(Localization Infrastructure and Tools :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: flod)

References

Details

Running cross-channel generation creates a traceback

Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/flodolo/src/cross-channel-experimental/initial/cli/create.py", line 64, in <module>
    i.commit_revisions(src_repo, target, revisions)
  File "/home/flodolo/src/cross-channel-experimental/initial/__init__.py", line 553, in commit_revisions
    cw.walkGraph()
  File "/home/flodolo/src/version-control-tools/cross-channel-l10n/mozxchannel/graph.py", line 202, in walkGraph
    self.handlerev(src_rev)
  File "/home/flodolo/src/cross-channel-experimental/initial/__init__.py", line 398, in handlerev
    ms = mergemod.mergestate.read(self.target)
AttributeError: module 'mercurial.merge' has no attribute 'mergestate'
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/flodolo/src/cross-channel-experimental/initial/cli/automate.py", line 138, in <module>
    subprocess.check_call(cmd)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', '-m', 'initial.cli.create', '-R/home/flodolo/src/mozilla-central', '--repo-name=mozilla-central', '-R/home/flodolo/src/mozilla-central', '--repo-name=releases/mozilla-beta', '-R/home/flodolo/src/mozilla-central', '--repo-name=releases/mozilla-release', '-R/home/flodolo/src/mozilla-central', '--repo-name=releases/mozilla-esr78', '../output', 'mozilla-central', '16915d90a511634cd1ed18d5e98dd81e0994b1ef', 'browser/locales/l10n.toml', 'mobile/android/locales/l10n.toml']' returned non-zero exit status 1.

Running it a second time generates content, but it's absolutely unclear in what state the repository is.

Yep, this is broken

abort: push creates new remote head b14d9ac58bee
(merge or see 'hg help push' for details about pushing new heads)
Depends on: 1659691
No longer depends on: 1659691
Depends on: 1659691
Assignee: nobody → francesco.lodolo
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.