Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  Problem getting started

Guest
Posted: Wed Aug 29, 2007 2:02 am Reply with quote
Guest
Also, make sure you're using the latest version of Yaws (1.6Cool.

Yariv

On 8/28/07, jm <jeffm@ghostgun.com> wrote:
>
> What's the full yaws.conf. Also, do a
> make clean
> make
>
> in the erlyweb base directory. I find that when I download a new copy
> it's always a good idea to get things to a known state. If you do this
> don't be surprised if you need to edit the Emakefile and set the include
> path.
>
>
> Jeffp
>
> bison wrote:
> > I'm having a problem getting started with erlyweb going through the
> > "Introducing ErlyWeb" tutorial.
> >
> > When I go to http://localhost/music I am getting:
> >
> > =ERROR REPORT==== 28-Aug-2007::16:51:15 ===
> >
> >
> > 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,"/music/"},{1,1}}
> >
> > Can't figure this one out. yaws.conf:
> >
> > <server localhost>
> > port = 80
> > listen = 0.0.0.0
> > docroot = /home/sgillespie/dev/www/apps/music/www
> > appmods = <"/music", erlyweb>
> > <opaque>
> > appname = music
> > </opaque>
> > </server>
> >
> >
> > >
>
>
> >
>

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

Post recived from mailinglist
Guest
Posted: Thu Aug 30, 2007 2:36 am Reply with quote
Guest
> Also, make sure you're using the latest version of Yaws (1.6Cool.

That took care of it. Gentoo-portage is still using yaws-1.58 for
some reason. Thank you for all suggestions.


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

Post recived from mailinglist
Guest
Posted: Thu Aug 30, 2007 3:04 am Reply with quote
Guest
What's the full yaws.conf. Also, do a
make clean
make

in the erlyweb base directory. I find that when I download a new copy
it's always a good idea to get things to a known state. If you do this
don't be surprised if you need to edit the Emakefile and set the include
path.


Jeffp

bison wrote:
> I'm having a problem getting started with erlyweb going through the
> "Introducing ErlyWeb" tutorial.
>
> When I go to http://localhost/music I am getting:
>
> =ERROR REPORT==== 28-Aug-2007::16:51:15 ===
>
>
> 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,"/music/"},{1,1}}
>
> Can't figure this one out. yaws.conf:
>
> <server localhost>
> port = 80
> listen = 0.0.0.0
> docroot = /home/sgillespie/dev/www/apps/music/www
> appmods = <"/music", erlyweb>
> <opaque>
> appname = music
> </opaque>
> </server>
>
>
> >


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

Post recived from mailinglist
Guest
Posted: Thu Aug 30, 2007 4:27 am Reply with quote
Guest
I'm having a problem getting started with erlyweb going through the
"Introducing ErlyWeb" tutorial.

When I go to http://localhost/music I am getting:

=ERROR REPORT==== 28-Aug-2007::16:51:15 ===


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,"/music/"},{1,1}}

Can't figure this one out. yaws.conf:

<server localhost>
port = 80
listen = 0.0.0.0
docroot = /home/sgillespie/dev/www/apps/music/www
appmods = <"/music", erlyweb>
<opaque>
appname = music
</opaque>
</server>


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

Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum