Closed Bug 590666 Opened 15 years ago Closed 15 years ago

Firefox path detection fail on Window7 64bit in cfx

Categories

(Testing :: Mozbase, defect)

x86_64
Windows 7
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: [mozmill-1.5.1+])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Build Identifier: On Windows 7 and more precisely on 64bit version, there is two "Program Files" directories : C:\Program Files (x86) and C:\Program Files Cuddlefish only check the second one and fails to detect Firefox installations. Reproducible: Always Steps to Reproduce: 1. Be on Windows7 64bit version 2. Install firefox in default directory 3. launch cfx testall Actual Results: Firefox is not automatically detected, so cfx testall fails. Expected Results: cfx testall pass by detecting firefox path
Attachment #469155 - Flags: review?(avarma)
Cool, thanks for the patch Alexandre!
Version: unspecified → Trunk
Whiteboard: [mozmill-1.5.1?]
Thanks Alexandre! The only thing is, the version of mozrunner we use is really homed here: http://github.com/mozautomation/mozmill/tree/1.4.2/mozrunner And we just copy over that tree to the Jetpack SDK every so often. It seems like the right way to proceed, then, is to re-categorize this bug under Testing->Mozrunner and have harthur review it, which I'll do now.
Component: Jetpack SDK → MozRunner
Product: Mozilla Labs → Testing
QA Contact: jetpack-sdk → mozrunner
Target Milestone: -- → ---
Attachment #469155 - Flags: review?(avarma) → review?(fayearthur+bugs)
I think this is bug 554709, which we got a fix for recently, has Jetpack gotten that fix yet?
Comment on attachment 469155 [details] [diff] [review] Fix this and detect Minefield installation too I think we might as well look in more places for the binary. This looks good, but change all the 'os.environ["ProgramFiles"]' to 'os.environ.get("ProgramFiles")' so that it doesn't throw a KeyError on non-64 bit Windows, and make the patch from the mozrunner directory if you can, thanks!
Attachment #469155 - Flags: review?(fayearthur+bugs) → review-
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → NEW
I think we want to take this for our next mozrunner release, so I went ahead and pushed it with the get() changes: http://github.com/mozautomation/mozmill/commit/63a79f611b422cd2893f737261a44e64af2a56c1 Thanks for the patch!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #6) > I think we want to take this for our next mozrunner release, so I went ahead > and pushed it with the get() changes: > > http://github.com/mozautomation/mozmill/commit/63a79f611b422cd2893f737261a44e64af2a56c1 Please don't push it yet. We have to wait until Clint has renamed the branch and tagged the 1.5 release. Pushing patches now will bust our source stamp.
Whiteboard: [mozmill-1.5.1?] → [mozmill-1.5.1+]
Alexandre, does it now work for you with the latest version of mozrunner from the hotfix-1.5.1 branch? Would be nice if you could mark this bug as verified fixed. Thanks.
Assignee: nobody → poirot.alex
Yes, in this branch, a simple call to mozunner launch a firefox instance from Program Files x86 directory! (win7+64bits) I'm not used to bugzilla, were you waiting since the commit a VERIFIED from me ? I mean, do the bug reporter has the responsability to do this ? Or do you just want me to confirm that all is correctly working now ? (just to know for the next bug report ;))
Status: RESOLVED → VERIFIED
Well, I don't with Jetpack so it's kinda hard for me to verify the fix. For Mozmill 1.5.1 I want to have all the bugs verified as usual. Thanks for looking at it!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: