incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hilmer ...@widetrail.dk>
Subject Re: hovercraft_test:all() fails
Date Fri, 17 Sep 2010 10:52:07 GMT
Hmm, well as you say it "pretty much works" except the testcase fails :-)
Okay, I will try to debug and fix it, so the test pass.

--Søren

On Fri, Sep 17, 2010 at 10:42 AM, Robert Dionne <
dionne@dionne-associates.com> wrote:

> I don't think it's officially supported in the apache project, whatever
> that means (I'm sort of new to apache so I'm not sure how governance works).
>
> Hovercraft pretty much works. There's been discussion about server side
> apis, making extensions more pluggable, etc.. and some proposals but nothing
> of substance yet. So I think Hovercraft is probably a good place to start if
> you want to be in the same VM, but you'll need to understand the internals a
> bit, which isn't too hard if you're erlang literate. There's also
> coucbeam[1] if you're just working in erlang and want to use the apis from
> another erlang VM
>
> Cheers,
>
> Bob
>
> [1] http://github.com/benoitc/couchbeam
>
>
> On Sep 17, 2010, at 2:12 AM, Søren Hilmer wrote:
>
> > I am fetching data periodically from some source, this data needs to be
> > massaged before it can end up as a document in couch.
> > I wish to avoid having another OS process in the setup of the system,
> thus
> > I'm aiming for an Erlang process.
> > Now is hovercraft not the way for this Erlang process to put data into
> > couch?
> >
> > Btw. the hovercraft lightning test runs flawlessly.
> >
> > --Søren
> >
> >
> > On Thu, Sep 16, 2010 at 4:24 PM, Tyler Gillies <tyler@pdxbrain.com>
> wrote:
> >
> >> I mentioned hovercraft at the couchone office and people kinda just
> shook
> >> their heads.
> >>
> >> On Thu, Sep 16, 2010 at 7:19 AM, Robert Dionne <
> >> dionne@dionne-associates.com
> >>> wrote:
> >>
> >>> I'm not sure anyone has kept this up and it's likely a few of the touch
> >>> points where it meets the internals have changed. From the stack it
> looks
> >>> like a function has gone away. Perhaps if you could comment on the
> >> specifics
> >>> of what you are doing someone could determine whether Hovercraft could
> be
> >>> upgraded or you'd be better off using something else.
> >>>
> >>>
> >>>
> >>> On Sep 16, 2010, at 7:56 AM, Søren Hilmer wrote:
> >>>
> >>>> Hi
> >>>>
> >>>> I successfully compiled hovercraft, and got it loaded within my couch
> >>>> instance v 1.0.1. and Erlang R13B03
> >>>> I then tried to run hovercraft_test:all() but it fails with this dump:
> >>>>
> >>>> [info] [<0.34.0>] Starting tests in <<"hovercraft-test">>
> >>>> [error] [emulator] Error in process <0.183.0> with exit value:
> >>>> {undef,[{couch_doc,att_foldl_unzip,[{att,<<8 bytes>>,<<10
> >>>> bytes>>,46,10240,<<16
> >>>>
> >>>
> >>
> bytes>>,1,{<0.176.0>,[343]},gzip},#Fun<hovercraft.9.110183069>,[]]},{hovercraft,attachment_streamer,3}]}
> >>>>
> >>>>
> >>>>
> >>>> =ERROR REPORT==== 16-Sep-2010::13:37:19 ===
> >>>> Error in process <0.183.0> with exit value:
> >>>> {undef,[{couch_doc,att_foldl_unzip,[{att,<<8 bytes>>,<<10
> >>>> bytes>>,46,10240,<<16
> >>>>
> >>>
> >>
> bytes>>,1,{<0.176.0>,[343]},gzip},#Fun<hovercraft.9.110183069>,[]]},{hovercraft,attachment_streamer,3}]}
> >>>>
> >>>> ** exception exit: undef
> >>>>    in function  couch_doc:att_foldl_unzip/3
> >>>>       called as
> >>>>
> >> couch_doc:att_foldl_unzip({att,<<"test.txt">>,<<"text/plain">>,46,10240,
> >>>>
> >>>> <<141,179,150,14,153,200,141,27,251,216,245,2,33,71,41,226>>,
> >>>>                                                1,
> >>>>                                                {<0.176.0>,[343]},
> >>>>                                                gzip},
> >>>>
> >>> #Fun<hovercraft.9.110183069>,[])
> >>>>    in call from hovercraft:attachment_streamer/3
> >>>>
> >>>>
> >>>>
> >>>> Any clues?
> >>>> It does succeed in creating the hovercraft-test database and 2
> >> documents
> >>>> within it.
> >>>>
> >>>> --Søren
> >>>>
> >>>> --
> >>>>
> >>>> Søren Hilmer, M.Sc., M.Crypt.
> >>>>
> >>>> wideTrail                   Phone:  +45 25481225
> >>>>
> >>>> Pilevænget 41           Email:  sh@widetrail.dk
> >>>>
> >>>> DK-8961  Allingåbro   Web:    www.widetrail.dk
> >>>
> >>>
> >>
> >>
> >> --
> >> http://www.readwriteweb.com/about#tyler
> >>
> >> Ask me anything <http://tumble.pdxbrain.com/ask>!
> >>
> >
> >
> >
> > --
> >
> > Søren Hilmer, M.Sc., M.Crypt.
> >
> > wideTrail                   Phone:  +45 25481225
> >
> > Pilevænget 41           Email:  sh@widetrail.dk
> >
> > DK-8961  Allingåbro   Web:    www.widetrail.dk
>
>


-- 

Søren Hilmer, M.Sc., M.Crypt.

wideTrail                   Phone:  +45 25481225

Pilevænget 41           Email:  sh@widetrail.dk

DK-8961  Allingåbro   Web:    www.widetrail.dk

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