Ugh, you must be using a different version of Yaws than the one I
compiled against. I compiled against 1.73. You can either recompile
ErlyWeb yourself against your Yaws installation or upgrade Yaws.

On Dec 28, 2007 6:14 AM, Kevin A. Smith <[EMAIL PROTECTED]> wrote:
>
> Is this a case of yaws changing its record format again? I know that
> this has been a problem in the past.
>
> --Kevin
>
> On Dec 28, 2007, at 9:03 AM, Dmitrii 'Mamut' Dimandt wrote:
>
> > I've not given up on ErlyWeb yet :)
> >
> > yaws.conf:
> > <server localhost>
> >     port = 81
> >     listen = 0.0.0.0
> >     docroot = /home/dmitriid/data/www/erlyweb
> >     dir_listings = true
> >     appmods = </, erlyweb>
> >     <opaque>
> >         appname = buktu
> >     </opaque>
> > </server>
> >
> > Then:
> > erlyweb:create_app("buktu", "/home/dmitriid/data/www/erlyweb").
> > > all ok.
> > Then:
> > erlyweb:compile("/home/dmitriid/data/www/erlyweb/buktu",
> > [{auto_compile, true}]).
> > > all ok.
> >
> > Then navigate to http://localhost:81/ and:
> > Internal error, yaws code crashed
> >
> > ERROR erlang  code  crashed:
> > File: appmod:0
> > Reason: {{badrecord,arg},
> >          [{yaws_arg,opaque,1},
> >           {erlyweb,get_app_name,1},
> >           {erlyweb,out,1},
> >           {yaws_server,deliver_dyn_part,8},
> >           {yaws_server,aloop,3},
> >           {yaws_server,acceptor0,2},
> >           {proc_lib,init_p,5}]}
> > Req: {http_request,'GET',{abs_path,"/"},{1,1}}
> >
> > Once again I'm lost :)
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to