You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Paul Davis <pa...@gmail.com> on 2011/08/29 20:12:10 UTC

Your help is needed.

Dear Users of CouchDB,

In order to get support for SpiderMonkey 1.8.5 working in trunk while
maintaing support for 1.7.0 I've recently done a decent sized
refactoring of the CouchJS code. Currently I've tested it against
1.7.0, 1.8.0rc1, 1.8.5 and whatever Homebrew installs.

On the other hand there is still a large number of SpiderMonkey
distributions that are pulled from mercurial tags and other places
like XULRunner. If you are using a version of SpiderMonkey that is not
built from source from a tarball in this [1] directory, would you
please be so kind to try compiling this [2] branch and running the
Futon tests to check that CouchJS still works on your version of
SpiderMonkey?

If it makes it more interesting, you can pretend that this message
will self destruct in five seconds and this is your call to start a
super secret spy mission. Now hurry and do not fail your user
community!

http://www.youtube.com/watch?v=k55NuWQCh78

[1] http://ftp.mozilla.org/pub/mozilla.org/js/
[2] https://github.com/davisp/couchdb/tree/couchjs-fixes

Re: Your help is needed.

Posted by Paul Davis <pa...@gmail.com>.
Marcello,

Thanks for the report!

I'm not worried about the replicator_db bug as its unrelated.

Paul

On Wed, Aug 31, 2011 at 3:13 AM, Marcello Nuccio
<ma...@gmail.com> wrote:
> I am not sure to understand what you mean with: "a version of
> SpiderMonkey that is not built from source from a tarball in this [1]
> directory".
>
> However this is what I have done on my Ubuntu Natty workstation:
>
>    $ tar zxf davisp-couchdb-7a2b7e0.tar.gz
>    $ cd davisp-couchdb-7a2b7e0/
>    $ sudo apt-get install libmozjs185-dev
>    $ ./configure --prefix=$PWD/opt --with-js-include=/usr/include/js
>    $ make && make install
>    $ cd opt/
>    $ sudo service couchdb stop
>    $ ./bin/couchdb
>
> Then from Firefox7beta I went to
> http://127.0.0.1:5984/_utils/couch_tests.html?script/couch_tests.js
> and clicked to "Run All".
>
> All tests passed except for "replicator_db": "Assertion failed:
> expected '"error"', got 'null'".
> I have restarted couchdb and rerun the replicator_db test. Same error.
> I have clicked on "Run with debugger". Same error again.
>
> I have attached couch.log.
> Hope to be helpful... please ask if you need other tests.
>
> Marcello
>
> 2011/8/31 Paul Davis <pa...@gmail.com>:
>> On Mon, Aug 29, 2011 at 1:12 PM, Paul Davis <pa...@gmail.com> wrote:
>>> Dear Users of CouchDB,
>>>
>>> In order to get support for SpiderMonkey 1.8.5 working in trunk while
>>> maintaing support for 1.7.0 I've recently done a decent sized
>>> refactoring of the CouchJS code. Currently I've tested it against
>>> 1.7.0, 1.8.0rc1, 1.8.5 and whatever Homebrew installs.
>>>
>>> On the other hand there is still a large number of SpiderMonkey
>>> distributions that are pulled from mercurial tags and other places
>>> like XULRunner. If you are using a version of SpiderMonkey that is not
>>> built from source from a tarball in this [1] directory, would you
>>> please be so kind to try compiling this [2] branch and running the
>>> Futon tests to check that CouchJS still works on your version of
>>> SpiderMonkey?
>>>
>>> If it makes it more interesting, you can pretend that this message
>>> will self destruct in five seconds and this is your call to start a
>>> super secret spy mission. Now hurry and do not fail your user
>>> community!
>>>
>>> http://www.youtube.com/watch?v=k55NuWQCh78
>>>
>>> [1] http://ftp.mozilla.org/pub/mozilla.org/js/
>>> [2] https://github.com/davisp/couchdb/tree/couchjs-fixes
>>>
>>
>> When I said super secret spy mission, I didn't mean that you should
>> keep your results secret.
>>
>

Re: Your help is needed.

Posted by Marcello Nuccio <ma...@gmail.com>.
I am not sure to understand what you mean with: "a version of
SpiderMonkey that is not built from source from a tarball in this [1]
directory".

However this is what I have done on my Ubuntu Natty workstation:

    $ tar zxf davisp-couchdb-7a2b7e0.tar.gz
    $ cd davisp-couchdb-7a2b7e0/
    $ sudo apt-get install libmozjs185-dev
    $ ./configure --prefix=$PWD/opt --with-js-include=/usr/include/js
    $ make && make install
    $ cd opt/
    $ sudo service couchdb stop
    $ ./bin/couchdb

Then from Firefox7beta I went to
http://127.0.0.1:5984/_utils/couch_tests.html?script/couch_tests.js
and clicked to "Run All".

All tests passed except for "replicator_db": "Assertion failed:
expected '"error"', got 'null'".
I have restarted couchdb and rerun the replicator_db test. Same error.
I have clicked on "Run with debugger". Same error again.

I have attached couch.log.
Hope to be helpful... please ask if you need other tests.

Marcello

2011/8/31 Paul Davis <pa...@gmail.com>:
> On Mon, Aug 29, 2011 at 1:12 PM, Paul Davis <pa...@gmail.com> wrote:
>> Dear Users of CouchDB,
>>
>> In order to get support for SpiderMonkey 1.8.5 working in trunk while
>> maintaing support for 1.7.0 I've recently done a decent sized
>> refactoring of the CouchJS code. Currently I've tested it against
>> 1.7.0, 1.8.0rc1, 1.8.5 and whatever Homebrew installs.
>>
>> On the other hand there is still a large number of SpiderMonkey
>> distributions that are pulled from mercurial tags and other places
>> like XULRunner. If you are using a version of SpiderMonkey that is not
>> built from source from a tarball in this [1] directory, would you
>> please be so kind to try compiling this [2] branch and running the
>> Futon tests to check that CouchJS still works on your version of
>> SpiderMonkey?
>>
>> If it makes it more interesting, you can pretend that this message
>> will self destruct in five seconds and this is your call to start a
>> super secret spy mission. Now hurry and do not fail your user
>> community!
>>
>> http://www.youtube.com/watch?v=k55NuWQCh78
>>
>> [1] http://ftp.mozilla.org/pub/mozilla.org/js/
>> [2] https://github.com/davisp/couchdb/tree/couchjs-fixes
>>
>
> When I said super secret spy mission, I didn't mean that you should
> keep your results secret.
>

Re: Your help is needed.

Posted by Paul Davis <pa...@gmail.com>.
On Mon, Aug 29, 2011 at 1:12 PM, Paul Davis <pa...@gmail.com> wrote:
> Dear Users of CouchDB,
>
> In order to get support for SpiderMonkey 1.8.5 working in trunk while
> maintaing support for 1.7.0 I've recently done a decent sized
> refactoring of the CouchJS code. Currently I've tested it against
> 1.7.0, 1.8.0rc1, 1.8.5 and whatever Homebrew installs.
>
> On the other hand there is still a large number of SpiderMonkey
> distributions that are pulled from mercurial tags and other places
> like XULRunner. If you are using a version of SpiderMonkey that is not
> built from source from a tarball in this [1] directory, would you
> please be so kind to try compiling this [2] branch and running the
> Futon tests to check that CouchJS still works on your version of
> SpiderMonkey?
>
> If it makes it more interesting, you can pretend that this message
> will self destruct in five seconds and this is your call to start a
> super secret spy mission. Now hurry and do not fail your user
> community!
>
> http://www.youtube.com/watch?v=k55NuWQCh78
>
> [1] http://ftp.mozilla.org/pub/mozilla.org/js/
> [2] https://github.com/davisp/couchdb/tree/couchjs-fixes
>

When I said super secret spy mission, I didn't mean that you should
keep your results secret.