Jetpack SDK 0.4 release candidate 3 now available!

2 views
Skip to first unread message

Myk Melez

unread,
May 25, 2010, 8:01:10 PM5/25/10
to mozilla-la...@googlegroups.com
Hi all,

We've just released the third release candidate of Jetpack SDK 0.4! Download it as a tarball or ZIP archive via the following links:

  https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-0.4rc3.tar.gz
  https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-0.4rc3.zip


This candidate features one additional fix (bug 567642) that accidentally didn't make it into RC2. It doesn't change the timing of the final release, which is tentatively scheduled for Thursday, May 27.

Unless we discover any late-breaking issues that must be fixed before we release, these are the builds we will release as Jetpack SDK 0.4, so give them a shot, and let us know if you encounter any problems with them!

You can post feedback to this discussion forum or file a bug in Bugzilla. And to keep a closer eye on the status of the release, check out the release tracking bug 566901.

- Myk, on behalf of Team Jetpack

Rezwana Karim Nawrin

unread,
May 25, 2010, 9:23:43 PM5/25/10
to mozilla-labs-jetpack
Hi,
I have been using jetpack-sdk from 0.1-0.4. The first three
0.1,0.2,0.3 worked perfectly as suggested in the documentation.
However, 0.4 is not working properly even though all of them have the
same environment requirement. In version 0.4.rc.2 and also 04.rc.3 cfx
testall is failing giving the error message as follows
************************************************************************************************************************************************************************************
Testing cfx...
.......E............................F..........
======================================================================
ERROR: test_generate_static_docs_does_not_smoke
(cuddlefish.tests.test_server.ServerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/prospero/local/Jetpack/jetpack-sdk-0.4/python-lib/cuddlefish/
tests/test_server.py", line 12, in
test_generate_static_docs_does_not_smoke
server.generate_static_docs(env_root, tgz_filename=filename)
File "/prospero/local/Jetpack/jetpack-sdk-0.4/python-lib/cuddlefish/
server.py", line 378, in generate_static_docs
shutil.copytree(server.root, staging_dir, ignore=_tempfiles)
TypeError: copytree() got an unexpected keyword argument 'ignore'

======================================================================
FAIL: Doctest: xpi.md
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/doctest.py", line 2128, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for xpi.md
File "/prospero/local/Jetpack/jetpack-sdk-0.4/static-files/md/dev-
guide/xpi.md", line 0

----------------------------------------------------------------------
File "/prospero/local/Jetpack/jetpack-sdk-0.4/static-files/md/dev-
guide/xpi.md", line 18, in xpi.md
Failed example:
document_dir('packages')
Differences (unified diff with -expected +actual):
@@ -1,9 +1,15 @@
+barbeque/package.json:
+ {
+ "description": "A package used by 'aardvark' as a library."
+ }
+barbeque/lib/bar-module.js:
+ exports.add = function add(a, b) {
+ return a + b;
+ };
aardvark/package.json:
{
- "description": "A package w/ a main module; can be built into
- an extension.",
+ "description": "A package w/ a main module; can be built into
an extension.",
"dependencies": ["jetpack-core", "barbeque"]
}
-<BLANKLINE>
aardvark/lib/main.js:
exports.main = function(options, callbacks) {
@@ -11,22 +17,9 @@
callbacks.quit();
};
-<BLANKLINE>
-barbeque/package.json:
- {
- "description": "A package used by 'aardvark' as a library."
- }
-<BLANKLINE>
-barbeque/lib/bar-module.js:
- exports.add = function add(a, b) {
- return a + b;
- };
-<BLANKLINE>
jetpack-core/package.json:
{
- "description": "A foundational package that provides a
CommonJS
- module loader implementation.",
+ "description": "A foundational package that provides a
CommonJS module loader implementation.",
"loader": "lib/loader.js"
}
-<BLANKLINE>
jetpack-core/lib/loader.js:
// This module will be imported by the XPCOM harness/
boostrapper


----------------------------------------------------------------------
Ran 47 tests in 2.181s

FAILED (failures=1, errors=1)
Testing reading-data...
Error: Platform version '1.9.0.14' is not compatible with
minVersion >= 1.9.1.0
maxVersion <= 1.9.3.*


************************************************************************************************************


Apparently the problem seems to be with the Gecko version. However I
am using firefox 3.6.3 which uses Gecko 1.9.2.3 and also please note
the fact the earlier three jetpack-sdk works fine with the same
firefox.

with jetpack-sdk-0.4 I am not able to declare the simple main.js that
would just print "hello world" in console.log. It is not wokring and
giving the same error concerning version problem.

Any idea why this is happening?

On May 25, 8:01 pm, Myk Melez <m...@mozilla.org> wrote:
>   Hi all,
>
> We've just released the third release candidate of Jetpack SDK 0.4!
> Download it as a tarball or ZIP archive via the following links:
>

> https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-0.4r...https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-0.4r...


>
> This candidate features one additional fix (bug 567642

> <https://bugzilla.mozilla.org/show_bug.cgi?id=567642>) that accidentally


> didn't make it into RC2. It doesn't change the timing of the final
> release, which is tentatively scheduled for Thursday, May 27.
>
> Unless we discover any late-breaking issues that must be fixed before we
> release, these are the builds we will release as Jetpack SDK 0.4, so
> give them a shot, and let us know if you encounter any problems with them!
>
> You can post feedback to this discussion forum or file a bug in Bugzilla

> <https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Labs&com...>.


> And to keep a closer eye on the status of the release, check out the
> release tracking bug 566901

> <https://bugzilla.mozilla.org/show_bug.cgi?id=566901>.

Drew

unread,
May 26, 2010, 3:33:37 AM5/26/10
to mozilla-la...@googlegroups.com, Rezwana Karim Nawrin
Thanks for reporting these errors.

> ERROR: test_generate_static_docs_does_not_smoke
> (cuddlefish.tests.test_server.ServerTests)

I filed bug 568165 for this:
https://bugzilla.mozilla.org/show_bug.cgi?id=568165

> FAIL: Doctest: xpi.md

This one is actually known:
https://bugzilla.mozilla.org/show_bug.cgi?id=567888

> Error: Platform version '1.9.0.14' is not compatible with
> minVersion>= 1.9.1.0
> maxVersion<= 1.9.3.*

There's a changeset in 0.4 that modified how cfx finds XULRunner on Linux:
http://hg.mozilla.org/labs/jetpack-sdk/rev/508fd04bcf9c

If you have an installation at /usr/bin/xulrunner, cfx will use it
instead of Firefox, even if it's older. You can use the --binary (or
-b) command line option to override it -- or just to make sure cfx uses
the binary you want it to use, e.g., if you have multiple Firefox
installations and want to use a specific one. Just point it at your
Firefox binary:

cfx -b /path/to/firefox/binary <cmd>

Alternatively you can use a local.json file to avoid having to pass
options to cfx all the time. With the 0.4 RC, run `cfx docs` and check
"C. cfx Tool" under the Reference section in the left sidebar. It
explains how to get set up and how to use cfx in general.

(We should add all these things to the final release notes here:
https://wiki.mozilla.org/Labs/Jetpack/Release_Notes/0.4)

Drew

Reply all
Reply to author
Forward
0 new messages