Closed
Bug 616895
Opened 14 years ago
Closed 14 years ago
'Runner' has no attribute 'names'
Categories
(Testing Graveyard :: Mozmill, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: whimboo, Assigned: k0scist)
References
Details
(Whiteboard: [mozmill-2.0+])
Attachments
(1 file)
550 bytes,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Updated•14 years ago
|
Whiteboard: [mozmill-2.0?]
Assignee | ||
Updated•14 years ago
|
Whiteboard: [mozmill-2.0?]
Assignee | ||
Updated•14 years ago
|
Whiteboard: [mozmill-2.0?]
Assignee | ||
Comment 1•14 years ago
|
||
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)
Updated•14 years ago
|
Whiteboard: [mozmill-2.0?] → [mozmill-2.0]
Comment 2•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0] → [mozmill-2.0+]
Reporter | ||
Comment 3•14 years ago
|
||
Heather, can you also please set r+ to the patch?
Updated•14 years ago
|
Attachment #501046 -
Flags: review?(ctalbert) → review+
Reporter | ||
Comment 4•14 years ago
|
||
Works perfect with latest revision. Marking as verified fixed.
Assignee: nobody → jhammel
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•