Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07363EAC8 for ; Mon, 28 Jan 2013 09:44:15 +0000 (UTC) Received: (qmail 12700 invoked by uid 500); 28 Jan 2013 09:44:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 12578 invoked by uid 500); 28 Jan 2013 09:44:13 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 12567 invoked by uid 99); 28 Jan 2013 09:44:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 09:44:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jsonacc@gmail.com designates 74.125.82.179 as permitted sender) Received: from [74.125.82.179] (HELO mail-we0-f179.google.com) (74.125.82.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Jan 2013 09:44:06 +0000 Received: by mail-we0-f179.google.com with SMTP id x43so1370707wey.24 for ; Mon, 28 Jan 2013 01:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=86PMjFSsAqQnlckHSUEEmeCb1Prm4nhDEIiMwdULY9c=; b=V+xyzYyFgQRcdLrvQTIRizTV0/sexfjN/qPUjOFVPpdIkunNIq305OE/rbma/SGvyp KNw1J4rtdMi0yEnko8ONdhMux/GdlndE0HsptiVDUdHQkc5zhhstsGhBsrM9VRtOsPCB GoIafT5Vex4oDRe4tbtqwCMjDpncV9RQpgMF3klrDDHpYavdKdXbGkL3qUGfuw/1nxhz JzJya6iM+KHZaANo+2WUFHs0/5Vuju71UEXVtDc81y957rbtmNawxKgAELTT0t2F4TgK AmbEsyrChqzrl1Ov1crXyiYh7y5sPedQ9mHSFz81LvysDPT3bbxfuVzKweF+UIw7brzE vWBA== MIME-Version: 1.0 X-Received: by 10.180.82.41 with SMTP id f9mr8471663wiy.25.1359366224973; Mon, 28 Jan 2013 01:43:44 -0800 (PST) Received: by 10.227.59.194 with HTTP; Mon, 28 Jan 2013 01:43:44 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Jan 2013 10:43:44 +0100 Message-ID: Subject: Re: compilation_error Expression does not eval to a function From: John Accoun To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=f46d041826e6f58ea704d4561c6d X-Virus-Checked: Checked by ClamAV on apache.org --f46d041826e6f58ea704d4561c6d Content-Type: text/plain; charset=ISO-8859-1 Here's some more input: I tried to compile from source on my workstation which also runs debian (LMDE) It appears that the spidermonkey version present in debian is too new. --- configure: error: Your SpiderMonkey library is too new. NOTE: Check above for an error about NSPR Versions of SpiderMonkey after the js185-1.0.0 release remove the optional enforcement of preventing anonymous functions in a statement context. This will most likely break your existing JavaScript code as well as render all example code invalid. If you wish to ignore this error pass --enable-js-trunk to ./configure. --- I'm afraid ignoring this error as suggested by the configure script, will force me to change all my views. ATM I don't have any available environment to compile couchdb. Are there any binaries that I can just download and run? Alternatively, I could use some help compiling couchdb with all the dependencies in the right version. On Mon, Jan 28, 2013 at 10:11 AM, John Accoun wrote: > This morning I started to get an error in one of my views. > > --- > Error: compilation_error > Expression does not eval to a function. ((new String("undefined"))) > --- > > I thought this was very strange since I don't remember changing that view. > I googled a bit but to no avail. Also tried to edit the view, first by > pushing my design document with erica, then through futon. > I changed it a little bit, the group indexing process kicked in and I > could see the view output on futon. Right after, I clicked 'Overview > > my_database' ob futton, and, I got a dialog box on my browser (Crhomium) > with that same error. from this point on, every view throws that same error. > > > My couchdb instance runs on a VM with debian: > > --- > # lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 6.0.5 (squeeze) > Release: 6.0.5 > Codename: squeeze > --- > > What could be causing this issue? How can I fix it? > --f46d041826e6f58ea704d4561c6d--