Skip to content

Instantly share code, notes, and snippets.

@BigBlueHat
Created July 11, 2009 20:15
Show Gist options
  • Save BigBlueHat/145379 to your computer and use it in GitHub Desktop.
Save BigBlueHat/145379 to your computer and use it in GitHub Desktop.
This local.ini, gets me the error below:
----------------------------------------
; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
[httpd]
;port = 5984
;bind_address = 127.0.0.1
[log]
;level = debug
[update_notification]
;unique notifier name=/full/path/to/exe -with "cmd line arg"
; To create an admin account uncomment the '[admins]' section below and add a
; line in the format 'username = password'. When you next start CouchDB, it
; will change the password to a hash (so that your passwords don't linger
; around in plain-text files). You can add more admin accounts with more
; 'username = password' lines. Don't forget to restart CouchDB after
; changing this.
;[admins]
;admin = mysecretpassword
[query_servers]
php=/Users/byoung/webapps/couch/couchdb-php-query-server/contrib/query-servers/php/query-server.php
python=/usr/local/bin/couchpy
----------------------------------------
Error:
[error] [<0.73.0>] ** Generic server <0.73.0> terminating
** Last message in was {'EXIT',<0.76.0>,
{{nocatch,{unknown_query_language,<<"python">>}},
[{couch_query_servers,get_os_process,1},
{couch_query_servers,start_doc_map,2},
{couch_view_updater,view_compute,2},
{couch_view_updater,update,1}]}}
** When Server state == {group_state,undefined,<<"blueink">>,
{view,
"/Users/byoung/webapps/couch/couchdb-php-query-server/tmp/lib",
<<"blueink">>,<<"_design/all_docs_created_by">>},
{group,view,
<<183,64,17,44,38,238,191,117,203,151,138,162,192,
166,207,241>>,
{db,<0.68.0>,<0.69.0>,nil,<<"1247343272175903">>,
<0.66.0>,<0.70.0>,
{db_header,3,11,0,
{41236,{3,1}},
{41753,4},
nil,0,nil,nil,1000},
11,
{btree,<0.66.0>,
{41236,{3,1}},
#Fun<couch_db_updater.8.101996970>,
#Fun<couch_db_updater.9.73885834>,
#Fun<couch_db_updater.7.821777>,
#Fun<couch_db_updater.10.12040988>},
{btree,<0.66.0>,
{41753,4},
#Fun<couch_db_updater.11.26160408>,
#Fun<couch_db_updater.12.109531180>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.13.130842166>},
{btree,<0.66.0>,nil,#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
11,<<"blueink">>,
"/Users/byoung/webapps/couch/couchdb-php-query-server/tmp/lib/blueink.couch",
[],[],nil,
{user_ctx,null,[]},
nil,1000,
[before_header,after_header,on_file_open]},
<0.74.0>,<<"_design/all_docs_created_by">>,
<<"python">>,[],
[{view,0,
[<<"All Docs Created By">>],
<<"function(doc) {\n if (doc.created_by) {\n emit(doc.created_by, doc);\n }\n}">>,
{btree,<0.74.0>,nil,#Fun<couch_btree.3.83553141>,
#Fun<couch_btree.4.30790806>,
#Fun<couch_view.less_json_keys.2>,
#Fun<couch_view_group.9.115615783>},
[]}],
{btree,<0.74.0>,nil,#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,0,nil,nil},
<0.76.0>,nil,false,
[{{<0.64.0>,#Ref<0.0.0.183>},11}],
<0.77.0>}
** Reason for termination ==
** {unknown_query_language,<<"python">>}
=ERROR REPORT==== 11-Jul-2009::16:14:32 ===
** Generic server <0.73.0> terminating
** Last message in was {'EXIT',<0.76.0>,
{{nocatch,{unknown_query_language,<<"python">>}},
[{couch_query_servers,get_os_process,1},
{couch_query_servers,start_doc_map,2},
{couch_view_updater,view_compute,2},
{couch_view_updater,update,1}]}}
** When Server state == {group_state,undefined,<<"blueink">>,
{view,
"/Users/byoung/webapps/couch/couchdb-php-query-server/tmp/lib",
<<"blueink">>,<<"_design/all_docs_created_by">>},
{group,view,
<<183,64,17,44,38,238,191,117,203,151,138,162,192,
166,207,241>>,
{db,<0.68.0>,<0.69.0>,nil,<<"1247343272175903">>,
<0.66.0>,<0.70.0>,
{db_header,3,11,0,
{41236,{3,1}},
{41753,4},
nil,0,nil,nil,1000},
11,
{btree,<0.66.0>,
{41236,{3,1}},
#Fun<couch_db_updater.8.101996970>,
#Fun<couch_db_updater.9.73885834>,
#Fun<couch_db_updater.7.821777>,
#Fun<couch_db_updater.10.12040988>},
{btree,<0.66.0>,
{41753,4},
#Fun<couch_db_updater.11.26160408>,
#Fun<couch_db_updater.12.109531180>,
#Fun<couch_btree.5.124754102>,
#Fun<couch_db_updater.13.130842166>},
{btree,<0.66.0>,nil,#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
11,<<"blueink">>,
"/Users/byoung/webapps/couch/couchdb-php-query-server/tmp/lib/blueink.couch",
[],[],nil,
{user_ctx,null,[]},
nil,1000,
[before_header,after_header,on_file_open]},
<0.74.0>,<<"_design/all_docs_created_by">>,
<<"python">>,[],
[{view,0,
[<<"All Docs Created By">>],
<<"function(doc) {\n if (doc.created_by) {\n emit(doc.created_by, doc);\n }\n}">>,
{btree,<0.74.0>,nil,#Fun<couch_btree.3.83553141>,
#Fun<couch_btree.4.30790806>,
#Fun<couch_view.less_json_keys.2>,
#Fun<couch_view_group.9.115615783>},
[]}],
{btree,<0.74.0>,nil,#Fun<couch_btree.0.83553141>,
#Fun<couch_btree.1.30790806>,
#Fun<couch_btree.2.124754102>,nil},
0,0,nil,nil},
<0.76.0>,nil,false,
[{{<0.64.0>,#Ref<0.0.0.183>},11}],
<0.77.0>}
** Reason for termination ==
** {unknown_query_language,<<"python">>}
[error] [emulator] Error in process <0.76.0> with exit value: {{nocatch,{unknown_query_language,<<6 bytes>>}},[{couch_query_servers,get_os_process,1},{couch_query_servers,start_doc_map,2},{couch_view_updater,view_compute,2},{couch_view_updater,update,1}]}
=ERROR REPORT==== 11-Jul-2009::16:14:32 ===
Error in process <0.76.0> with exit value: {{nocatch,{unknown_query_language,<<6 bytes>>}},[{couch_query_servers,get_os_process,1},{couch_query_servers,start_doc_map,2},{couch_view_updater,view_compute,2},{couch_view_updater,update,1}]}
[error] [<0.73.0>] {error_report,<0.23.0>,
{<0.73.0>,crash_report,
[[{initial_call,{couch_view_group,init,['Argument__1']}},
{pid,<0.73.0>},
{registered_name,[]},
{error_info,
{exit,
{unknown_query_language,<<"python">>},
[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
{ancestors,
[couch_view,couch_secondary_services,couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.74.0>,<0.53.0>]},
{dictionary,[]},
{trap_exit,true},
{status,running},
{heap_size,1597},
{stack_size,24},
{reductions,4637}],
[{neighbour,
[{pid,<0.77.0>},
{registered_name,[]},
{initial_call,{couch_ref_counter,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[<0.73.0>,couch_view,couch_secondary_services,
couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.74.0>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,233},
{stack_size,9},
{reductions,47}]},
{neighbour,
[{pid,<0.74.0>},
{registered_name,[]},
{initial_call,{couch_file,init,['Argument__1']}},
{current_function,{gen_server,loop,6}},
{ancestors,
[<0.73.0>,couch_view,couch_secondary_services,
couch_server_sup,<0.1.0>]},
{messages,[]},
{links,[<0.73.0>,<0.77.0>,#Port<0.1064>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,610},
{stack_size,9},
{reductions,1386}]}]]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment