incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Ardal <...@trifork.com>
Subject SV: unknown_query_language
Date Thu, 09 Jul 2009 05:59:20 GMT
A little more information. If a request the following url:

http://localhost.../_config/query_servers/

I get the following response:

{}

Looks like no query servers are found. How do I make CouchDB understand the location of the
SpiderMonkey query server?

-----Oprindelig meddelelse-----
Fra: Thomas Ardal [mailto:tar@trifork.com] 
Sendt: 9. juli 2009 07:51
Til: user@couchdb.apache.org
Emne: SV: unknown_query_language

My configuration for query_servers looks like this:

{couch_query_servers, start_link, []}

Is that what you are talking about?

I have an installation on non-Windows with same value in query_servers, which works fine.

I think it has something to do with the SpiderMonkey engine, but I'm not sure. Any pointers?

-----Oprindelig meddelelse-----
Fra: jchris@gmail.com [mailto:jchris@gmail.com] På vegne af Chris Anderson
Sendt: 8. juli 2009 20:42
Til: user@couchdb.apache.org
Emne: Re: unknown_query_language

your configuration file should list a command to launch your query
server. if that configuration item is missing or the command fails you
could have problems. look for default.ini and local.ini. you can also
view configuration from Futon.

On Tue, Jul 7, 2009 at 10:47 PM, Thomas Ardal<tar@trifork.com> wrote:
> I'm trying to install CouchDB on Windows XP. I followed this guid:
>
> http://wiki.apache.org/couchdb/Installing_on_Windows#head-d011b6c5ec1...<http://wiki.apache.org/couchdb/Installing_on_Windows#head-d011b6c5ec1e8ef8080660e9dcd99295335d7b9e>
>
> CouchDB gets installed and I'm able to startup Futon, create new DB's
> etc.
>
> But! When I try to create new views (or execute existing views, or run
> test suite), I get the following error:
>
> httpd 500 error response:
>  {"error":"case_clause","reason":"{{bad_return_value,
> {unknown_query_language,<<\"javascript\">>}},\n {gen_server,call,
> [couch_query_servers,{get_proc,<<\"javascript\">>}]}}"}
>
> Looks like some sort of problem with javascript. SpiderMonkey is
> "installed" from here:
>
> http://dl.getdropbox.com/u/118385/CouchDbBinaries/couchbd_spidermonke...<http://dl.getdropbox.com/u/118385/CouchDbBinaries/couchbd_spidermonkey_1.7_win32_32bit.zip>
>
> I copied the files to my Erlang bin dir:
>
> C:\Program Files\erl5.7.1\erts-5.7.1\bin
>
> Any ideas?
>
> Regards,
>
> Thomas
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Checked by AVG - www.avg.com 
Version: 8.5.375 / Virus Database: 270.13.8/2224 - Release Date: 07/08/09 05:53:00

Checked by AVG - www.avg.com 
Version: 8.5.375 / Virus Database: 270.13.8/2224 - Release Date: 07/08/09 05:53:00

Mime
View raw message