SDK 2.0 AttributeError: 'module' object has no attribute 'FirefoxProfile'

80 views
Skip to first unread message

Ozten

unread,
Apr 1, 2010, 1:30:36 PM4/1/10
to mozilla-labs-jetpack
I'm setting up the SDK for the first time on Mac OS X.

I can run the doc server, but when I do cfx testall, I get
AttributeError: 'module' object has no attribute 'FirefoxProfile'

I also tried
cfx --app=firefox --binary=/Applications/Firefox.app/Contents/MacOS/
firefox-bin testall
but get the same error.

Pastebin of my session:
http://pastebin.mozilla.org/712133

What am I doing wrong?

Thanks!

Atul Varma

unread,
Apr 1, 2010, 1:46:02 PM4/1/10
to mozilla-la...@googlegroups.com, Ozten
Hi Ozten,

Hmm, it looks like 'mozrunner' might not be what it's supposed to be. Do
you know if you have a different version of mozrunner already installed
on your system?

What's the output of the following code, when executed with and without
previously running source bin/activate?

python -c "import mozrunner; print mozrunner.__path__"

If a path is displayed, does it point into the python-lib directory of
your jetpack-sdk directory?

- Atul

Austin King

unread,
Apr 1, 2010, 1:50:34 PM4/1/10
to Atul Varma, mozilla-la...@googlegroups.com
Hi Atul,
['/Library/Python/2.5/site-packages/mozrunner-1.0-py2.5.egg/mozrunner']

Yes, I've installed many different Firefoxes and xulrunner based apps over time.
I renamed Firefox3.6.app to Firefox.app to simplify this email.
[mozmill, songbird, thunderbird, Fx 2-Minefield, etc]

Thanks.

--
Thanks much,
Austin

Ozten

unread,
Apr 1, 2010, 1:56:58 PM4/1/10
to mozilla-labs-jetpack
I removed '/Library/Python/2.5/site-packages/mozrunner-1.0-py2.5.egg'
and cfx testall works.

I'll file a bug.

Thanks for your time!

Reply all
Reply to author
Forward
0 new messages