Closed Bug 616895 Opened 14 years ago Closed 14 years ago

'Runner' has no attribute 'names'

Categories

(Testing Graveyard :: Mozmill, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Assigned: k0scist)

References

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file)

I'm not able to start a 2.0 Mozmill build right now on OS X. I always get the following stack: File "/Volumes/data/testing/envs/mozmill-2/bin/mozmill", line 8, in <module> load_entry_point('mozmill==2.0a', 'console_scripts', 'mozmill')() File "/Volumes/data/build/tools/mozmill-2.0/mozmill/mozmill/__init__.py", line 578, in cli CLI(args).run() File "/Volumes/data/build/tools/mozmill-2.0/mozmill/mozmill/__init__.py", line 549, in run runner = self.create_runner() File "/Volumes/data/build/tools/mozmill-2.0/mozrunner/mozrunner/runner.py", line 322, in create_runner self.runner_args()) File "/Volumes/data/build/tools/mozmill-2.0/mozrunner/mozrunner/runner.py", line 234, in create_runner **runner_args) File "/Volumes/data/build/tools/mozmill-2.0/mozrunner/mozrunner/runner.py", line 59, in __init__ self.binary = Runner.get_binary(binary) File "/Volumes/data/build/tools/mozmill-2.0/mozrunner/mozrunner/runner.py", line 83, in get_binary return os.path.join(binary, 'Contents/MacOS/%s-bin' % cls.names[0]) AttributeError: type object 'Runner' has no attribute 'names' Looks like this is a fallout from bug 607264.
Whiteboard: [mozmill-2.0?]
Whiteboard: [mozmill-2.0?]
Whiteboard: [mozmill-2.0?]
the classmethod get_binary is currently called just as Runner. instead, the actually class of the instance should be used much of this code is really awful and should probably be gone over with a fine toothed code. however, if this fixes the issue, then its at least an improvement
Attachment #501046 - Flags: review?(ctalbert)
Whiteboard: [mozmill-2.0?] → [mozmill-2.0]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0] → [mozmill-2.0+]
Heather, can you also please set r+ to the patch?
Attachment #501046 - Flags: review?(ctalbert) → review+
Works perfect with latest revision. Marking as verified fixed.
Assignee: nobody → jhammel
Status: RESOLVED → VERIFIED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: