Closed Bug 1326183 Opened 9 years ago Closed 9 years ago

mach taskgraph fails for me locally

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Unassigned)

Details

I download parameters.yml from this task: https://treeherder.mozilla.org/#/jobs?repo=try&author=jmaher@mozilla.com&filter-tier=1&filter-tier=2&filter-tier=3&fromchange=2d3e7371d9f76a51a9f24b4213a5f52cf7f7abc7&selectedJob=33527056 then running mach taskgraph, I get this error: elvis@JMAHER-WIN10 ~/mozilla-inbound $ ./mach taskgraph target -p ~/Downloads/parameters.yml 0:01.25 Loading kinds 0:01.43 Generating full task set 0:02.30 Generated 5 tasks for kind android-stuff 0:02.39 Generated 1 tasks for kind artifact-build 0:02.59 Generated 29 tasks for kind build 0:02.61 Generated 1 tasks for kind build-signing 0:03.10 Generated 6 tasks for kind docker-image 0:03.11 Generated 2 tasks for kind hazard 0:03.16 Generated 3 tasks for kind l10n 0:03.17 Generated 1 tasks for kind marionette-harness 0:03.22 Generated 6 tasks for kind source-check 0:03.25 Generated 12 tasks for kind spidermonkey 0:03.26 Generated 2 tasks for kind static-analysis Traceback (most recent call last): File "c:\Users\elvis\mozilla-inbound\taskcluster/mach_commands.py", line 282, in show_taskgraph tg = getattr(tgg, graph_attr) File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\generator.py", line 113, in target_task_set return self._run_until('target_task_set') File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\generator.py", line 242, in _run_until k, v = self._run.next() File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\generator.py", line 180, in _run new_tasks = kind.load_tasks(self.parameters, list(all_tasks.values())) File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\generator.py", line 42, in load_tasks parameters, loaded_tasks) File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\task\transform.py", line 71, in load_tasks transform = find_object(xform_path) File "c:\Users\elvis\mozilla-inbound\taskcluster\taskgraph\util\python_path.py", line 26, in find_object obj = getattr(obj, a) AttributeError: 'module' object has no attribute 'transforms' elvis@JMAHER-WIN10 ~/mozilla-inbound
I think it's leftover `.pyc` files. Run `find . -name '*.pyc' -delete`.
Status: NEW → UNCONFIRMED
Ever confirmed: false
ok, this works, bummer I didn't catch that.
I thought mach had protections against stray .pyc's, but I guess not.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.