Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MozMill Crowd on AMO, one click shopping to l10n runtime tests at home

6 views
Skip to first unread message

Axel Hecht

unread,
Jan 20, 2011, 3:23:00 PM1/20/11
to
Hi,

Henrik got his MozMill Crowd add-on project up. With that, you just need
to https://addons.mozilla.org/en-US/firefox/addon/mozmill-crowd/,
install the add-on, and run the l10n test run so that you can see
screenshots for overflowing elements and conflicting accesskeys in the
prefs dialog.

Which is basically the scope of the tests we have so far. There are some
false positives in the cropped elements, if you don't see any of your
string actually being cropped in the highlighted red areas, there's
likely nothing wrong with your code, and nothing you can fix. In
particular if you just see a red line, that's likely the case.

The addon will ask you for a folder on first run to put its files in,
suggest it a clean directory. It'll put a bunch of files in there, but
also you'll find your screenshots in the "screenshots" subdirectory of
that. So for those of you that followed me through mozmill at the
balkans meeting, no more hunting in hard-to-find directories for that,
also no more easy_install and hg clones and what not.

If you want to contribute new tests, that'd be great. Ideas welcome,
code preferred ;-).

If you find issues with mozmill itself,
https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Mozmill
is the place to file bugs.

Axel

Henrik Skupin

unread,
Jan 20, 2011, 6:36:42 PM1/20/11
to Axel Hecht
Axel Hecht wrote on 1/20/11 9:23 PM:

Hi all,

And thanks Axel for the wonderful explanation.

> The addon will ask you for a folder on first run to put its files in,
> suggest it a clean directory. It'll put a bunch of files in there, but
> also you'll find your screenshots in the "screenshots" subdirectory of
> that. So for those of you that followed me through mozmill at the
> balkans meeting, no more hunting in hard-to-find directories for that,
> also no more easy_install and hg clones and what not.

Exactly that's the main reason why we have started with this project. We
have heard that a lot of users had problems with setting up the system
to run Mozmill tests. Here I'm talking about the command line version
and not the extension. There is a big difference between those two
versions, I can answer later if wanted. But with all the requirements to
resolve first, a lot of you probably gave up on getting the CLI version
to work. I'm really sure that the extension gives you all what you want.
I know that there is a lot we will have to improve, and lot more I still
have in my mind. But the current state is a solid base for you to check
your localization of Firefox with only one click.

> If you want to contribute new tests, that'd be great. Ideas welcome,
> code preferred ;-).

Any new test which would be part of our test repository will
automatically help everyone else who is running the l10n tests in their
own locale. It's a immense time-safer for you, so I would be really
happy, if we could work together to complete the l10n test-run for all
existing windows and dialogs. It's mostly only a configuration work, the
magic stuff happens in the background. I'm always around to assist and
help out, but sadly I and also my team don't have time to work on those
tests.

> If you find issues with mozmill itself,
> https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Mozmill
> is the place to file bugs.

This component is for Mozmill itself, so please use the following
component instead:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20QA&component=Mozmill%20Crowd%20Extension

I would appreciate any feedback, whether if those are bugs or requests
for enhancements.

Best,

--
Henrik

Cédric Corazza

unread,
Jan 21, 2011, 4:20:31 PM1/21/11
to
Le 21/01/2011 00:36, Henrik Skupin a écrit :

>> If you find issues with mozmill itself,
>> https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Mozmill
>> is the place to file bugs.
>
> This component is for Mozmill itself, so please use the following
> component instead:
> https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20QA&component=Mozmill%20Crowd%20Extension
>
> I would appreciate any feedback, whether if those are bugs or requests
> for enhancements.
>
> Best,
>

Hi Henrik,

I experience this error while clicking on Start test-run:

Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
[nsIFileInputStream.init]

I'm using Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110121
Firefox/4.0b10pre Built from
http://hg.mozilla.org/mozilla-central/rev/8d52e3b68ca6

Cédric

Michel Nédélec

unread,
Jan 22, 2011, 5:28:09 AM1/22/11
to dev-...@lists.mozilla.org
I had the same error.
Installing the "python-dev" package solved this for me

Michel

D'ar/an 21.01.2011 22:20, Skrivet eo bet gant Cï¿œdric Corazza:
> Le 21/01/2011 00:36, Henrik Skupin a ï¿œcrit :

> Cï¿œdric
>
> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n

smo

unread,
Jan 22, 2011, 7:32:20 AM1/22/11
to
> >https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=...

> > is the place to file bugs.
>
> This component is for Mozmill itself, so please use the following
> component instead:https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20QA&compo...

>
> I would appreciate any feedback, whether if those are bugs or requests
> for enhancements.
>
> Best,
>
> --
> Henrik

Is it possible to use this on Thunderbird - right now it say it's not
compatible with TB 3.1.7.

TiA

smo

Cédric Corazza

unread,
Jan 22, 2011, 3:18:27 PM1/22/11
to
Le 22/01/2011 11:28, Michel Nédélec a écrit :
> I had the same error.
> Installing the "python-dev" package solved this for me
>
> Michel
>

Thanks for the tip Michel, but it didn't work for me on Ubuntu :-(

Cédric

Alexander L. Slovesnik

unread,
Jan 23, 2011, 9:11:28 AM1/23/11
to dev-...@lists.mozilla.org
I've got same error on Ubuntu 10.10. Installing "python-dev" doesn't help.

--
Sincerely yours,
Alexander L. Slovesnik a.k.a. Unghost
==>Web-page: http://www.unghost.ru/
==>Jabber ID: ung...@mozilla-russia.org
==>Gmail Talk ID: ung...@gmail.com
==>IRC: irc://irc.mozilla.org/mozilla-ru

Henrik Skupin

unread,
Jan 23, 2011, 5:14:54 PM1/23/11
to
smo wrote on 1/22/11 1:32 PM:

> Is it possible to use this on Thunderbird - right now it say it's not
> compatible with TB 3.1.7.

Sorry, but there is no support for Thunderbird at the moment. I would
appreciate help to add support for it, but I have no time at the moment
to do it on my own.

--
Henrik

Henrik Skupin

unread,
Jan 23, 2011, 5:16:33 PM1/23/11
to
Alexander L. Slovesnik wrote on 1/23/11 3:11 PM:

>> I'm using Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110121
>> Firefox/4.0b10pre Built from
>> http://hg.mozilla.org/mozilla-central/rev/8d52e3b68ca6
>>

> I've got same error on Ubuntu 10.10. Installing "python-dev" doesn't help.

In cases like that when the package hasn't been installed before, you
should manually start the setup script you can find under
mozmill-env/setup.sh. It will run the setup task again and it should fix
the problem.

--
Henrik

Alexander L. Slovesnik

unread,
Jan 23, 2011, 5:36:53 PM1/23/11
to dev-...@lists.mozilla.org
Hi Henrik Skupin

Running "sudo mozmill-env/setup.sh" has fixed it, thanks.

Cédric Corazza

unread,
Jan 23, 2011, 5:51:38 PM1/23/11
to
Le 23/01/2011 23:36, Alexander L. Slovesnik a écrit :
> Running "sudo mozmill-env/setup.sh" has fixed it, thanks.

I couldn't find mozmill-env/setup.sh in the xpi package. Where's this
script ?
Thanks

Cédric

Alexander L. Slovesnik

unread,
Jan 23, 2011, 5:58:17 PM1/23/11
to dev-...@lists.mozilla.org
Can anyone tell what minimal version of python-dev is needed for MozMill Crowd?
Ubuntu 10.10 has python2.6-dev, python2.7-dev, python3-dev and python3.1-dev. I've installed python2.7-dev, python3-dev and python3.1-dev when I was trying to make MozMill Crowd run.
Now I want to remove unnecessary stuff. What version of python-dev should be retained?


> I had the same error.
> Installing the "python-dev" package solved this for me
>
> Michel
>
> D'ar/an 21.01.2011 22:20, Skrivet eo bet gant Cédric Corazza:
>> _______________________________________________
>> dev-l10n mailing list
>> dev-...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-l10n
> _______________________________________________
> dev-l10n mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-l10n
>

Alexander L. Slovesnik

unread,
Jan 23, 2011, 6:11:30 PM1/23/11
to Cédric Corazza, dev-...@lists.mozilla.org
Hi Cédric Corazza
You need to install extension first, then to open "MozMill crowd" menu item and press "Start Test-run". When you press "Start-test run" for the first time, it asks you to select folder for tests, them
downloads some stuff from Internet. You can find "mozmill-env/setup.sh" in this folder.

Axel Hecht

unread,
Jan 23, 2011, 6:56:56 PM1/23/11
to
On 23.01.11 14:58, Alexander L. Slovesnik wrote:
> Can anyone tell what minimal version of python-dev is needed for MozMill Crowd?
> Ubuntu 10.10 has python2.6-dev, python2.7-dev, python3-dev and python3.1-dev. I've installed python2.7-dev, python3-dev and python3.1-dev when I was trying to make MozMill Crowd run.
> Now I want to remove unnecessary stuff. What version of python-dev should be retained?
Check in your mozmill crowd setup dir for mozmill-env/bin, that has the
version of python that's used in that env.

Axel


>
>> I had the same error.
>> Installing the "python-dev" package solved this for me
>>
>> Michel
>>

>> D'ar/an 21.01.2011 22:20, Skrivet eo bet gant Cï¿œdric Corazza:
>>> Le 21/01/2011 00:36, Henrik Skupin a ï¿œcrit :


>>>
>>>>> If you find issues with mozmill itself,
>>>>> https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=Mozmill
>>>>> is the place to file bugs.
>>>> This component is for Mozmill itself, so please use the following
>>>> component instead:
>>>> https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20QA&component=Mozmill%20Crowd%20Extension
>>>>
>>>> I would appreciate any feedback, whether if those are bugs or requests
>>>> for enhancements.
>>>>
>>>> Best,
>>>>
>>> Hi Henrik,
>>>
>>> I experience this error while clicking on Start test-run:
>>>
>>> Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
>>> [nsIFileInputStream.init]
>>>
>>> I'm using Mozilla/5.0 (X11; Linux i686; rv:2.0b10pre) Gecko/20110121
>>> Firefox/4.0b10pre Built from
>>> http://hg.mozilla.org/mozilla-central/rev/8d52e3b68ca6
>>>

>>> Cï¿œdric

Henrik Skupin

unread,
Jan 23, 2011, 8:40:34 PM1/23/11
to
Axel Hecht wrote on 1/24/11 12:56 AM:

> On 23.01.11 14:58, Alexander L. Slovesnik wrote:
>> Can anyone tell what minimal version of python-dev is needed for MozMill Crowd?
>> Ubuntu 10.10 has python2.6-dev, python2.7-dev, python3-dev and python3.1-dev. I've installed python2.7-dev, python3-dev and python3.1-dev when I was trying to make MozMill Crowd run.
>> Now I want to remove unnecessary stuff. What version of python-dev should be retained?
> Check in your mozmill crowd setup dir for mozmill-env/bin, that has the
> version of python that's used in that env.

Mozmill Crowd uses the active version of Python on your system. Normally
it should be enough to select the container package which is python-dev,
and apt-get will automatically install the correct version.

--
Henrik

Henrik Skupin

unread,
Jan 23, 2011, 8:42:43 PM1/23/11
to Cédric Corazza
Cédric Corazza wrote on 1/23/11 11:51 PM:

>> Running "sudo mozmill-env/setup.sh" has fixed it, thanks.
>
> I couldn't find mozmill-env/setup.sh in the xpi package. Where's this
> script ?

It's not part of the XPI but the separate Mozmill environment the
extension downloads from: http://people.mozilla.com/~hskupin/mozmill-crowd/

--
Henrik

0 new messages