couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Landolt" <d...@deanlandolt.com>
Subject action servers
Date Tue, 11 Nov 2008 01:58:29 GMT
I've been trying to get the action2 branch up and running and but can't get
an action to generate. Everything installs fine but the two action tests
fail...

the actions test fails with:

   1. *Assertion failed:* xhr.status == 404
   2. *Assertion failed:* xhr.status == 404
   3. *Exception raised:* {"message":"syntax error","fileName":"
   http://dev.deanlandolt.com:5984/_utils/script/json2.js
   ","lineNumber":150,"stack":"()@:0\neval(\"()\")@:0\n(\"\")@
   http://dev.deanlandolt.com:5984/_utils/script/json2.js:150\n((void 0))@
   http://dev.deanlandolt.com:5984/_utils/script/couch_tests.js:2163\nrun(0)@http://dev.deanlandolt.com:5984/_utils/script/couch_tests.js:2179\n
   ","name":"SyntaxError"}

the action_server_request fails with:


   1. *Exception raised:* {"message":"syntax error","fileName":"
   http://dev.deanlandolt.com:5984/_utils/script/json2.js
   ","lineNumber":150,"stack":"()@:0\neval(\"()\")@:0\n(\"\")@
   http://dev.deanlandolt.com:5984/_utils/script/json2.js:150\n((void 0))@
   http://dev.deanlandolt.com:5984/_utils/script/couch_tests.js:2149\nrun(1)@http://dev.deanlandolt.com:5984/_utils/script/couch_tests.js:2179\n
   ","name":"SyntaxError"}

To make sure it wasn't me, I even went and replicated the blogdb example (I
hope you don't mind my poking around your db internals, jchris) but I'm
still failing. When I try to hit the action to generate a feed I get:

{mochiweb_socket_server,
    235,
    {child_error,
        {{bad_return_value,{external_process_error,{exit_status,1}}},
         {gen_server,
             call,
             [<0.278.0>,
              {execute,
                  <<"blogdb">>,
                  'GET',
                  [<<"couchdb-example-blog">>,<<"atom-posts">>],
                  [],
                  undefined,
                  [],
                  []}]}}}}

Is there a step somewhere I'm missing?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message