| Author |
Message |
< Erlyweb mailing list ~ error when typing erlyweb:create_app in the yaws terminal |
| Guest |
Posted: Sun Aug 19, 2007 12:59 am |
|
|
|
Guest
|
I follow Yariv's post of using Erlyweb -
http://yarivsblog.com/articles/2006/10/27/introducing-erlyweb-the-erlang-twist-on-web-framworks/#comment-38912
I get an error when typing erlyweb:create_app in the yaws terminal:
erlyweb:create_app("music", "/home/oren/erlang_projects").
** exited: {undef,[{erlyweb,create_app,["music","/home/oren/
erlang_projects"]},
{erl_eval,do_apply,5},
{shell,exprs,6},
{shell,eval_loop,3}]} **
=ERROR REPORT==== 18-Aug-2007::17:44:13 ===
Error in process with exit value: {undef,[{erlyweb,create_app,
["music","/home/oren/erlang_projects"]},{erl_eval,do_apply,5},
{shell,exprs,6},{shell,eval_loop,3}]}
any ideas?
--~--~---------~--~----~------------~-------~--~----~
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 |
|
|
| Back to top |
|
| Guest |
Posted: Sun Aug 19, 2007 4:36 am |
|
|
|
Guest
|
Did you put the contents of the erlyweb zip file in your Erlang code
path (on OS X, it's /usr/local/lib/erlang/lib)? You can check it by
calling code:get_path().
On 8/18/07, oren <orengolan@gmail.com> wrote:
>
> I follow Yariv's post of using Erlyweb -
> http://yarivsblog.com/articles/2006/10/27/introducing-erlyweb-the-erlang-twist-on-web-framworks/#comment-38912
>
> I get an error when typing erlyweb:create_app in the yaws terminal:
> erlyweb:create_app("music", "/home/oren/erlang_projects").
>
> ** exited: {undef,[{erlyweb,create_app,["music","/home/oren/
> erlang_projects"]},
> {erl_eval,do_apply,5},
> {shell,exprs,6},
> {shell,eval_loop,3}]} **
>
> =ERROR REPORT==== 18-Aug-2007::17:44:13 ===
> Error in process with exit value: {undef,[{erlyweb,create_app,
> ["music","/home/oren/erlang_projects"]},{erl_eval,do_apply,5},
> {shell,exprs,6},{shell,eval_loop,3}]}
>
>
> any ideas?
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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 |
|
|
| Back to top |
|
| Guest |
Posted: Sun Aug 19, 2007 6:35 am |
|
|
|
Guest
|
I use Ubuntu and I moved the folder to "/usr/lib/erlang".
when I type it code:get_path(). I get this:
"/usr/lib/erlang/lib/kernel-2.11.2/ebin",
"/usr/lib/erlang/lib/stdlib-1.14.2/ebin",
"/usr/lib/erlang/lib/yaws-1.65/ebin",
"/usr/lib/erlang/lib/xmerl-1.0.5/ebin",
"/usr/lib/erlang/lib/webtool-0.8.3/ebin",
"/usr/lib/erlang/lib/tv-2.1.3/ebin",
"/usr/lib/erlang/lib/tools-2.5.2/ebin",
"/usr/lib/erlang/lib/toolbar-1.3/ebin",
"/usr/lib/erlang/lib/syntax_tools-1.5.0/ebin",
"/usr/lib/erlang/lib/ssl-3.0.12/ebin",
"/usr/lib/erlang/lib/ssh-0.9.5/ebin",
"/usr/lib/erlang/lib/snmp-4.8.2/ebin",
"/usr/lib/erlang/lib/sasl-2.1.4/ebin",
"/usr/lib/erlang/lib/runtime_tools-1.6.1/ebin",
"/usr/lib/erlang/lib/pman-2.5.2/ebin",
"/usr/lib/erlang/lib/parsetools-1.4/ebin",
"/usr/lib/erlang/lib/otp_mibs-1.0.4/ebin",
"/usr/lib/erlang/lib/os_mon-2.1.1/ebin",
"/usr/lib/erlang/lib/orber-3.6.3/ebin",
"/usr/lib/erlang/lib/odbc-2.0.6/ebin",
"/usr/lib/erlang/lib/observer-0.9.7.1/ebin",
"/usr/lib/erlang/lib/mnesia_session-1.1.6/ebin",
"/usr/lib/erlang/lib/mnesia-4.3.3/ebin",
"/usr/lib/erlang/lib/mnemosyne-1.2.6/ebin",
"/usr/lib/erlang/lib/megaco-3.5/ebin",
"/usr/lib/erlang/lib/inviso-0.1/ebin",
"/usr/lib/erlang/lib/inets-4.7.6/ebin",
"/usr/lib/erlang/lib/ic-4.2.11/ebin"|...]
when i type code:root_dir(). i get this:
"/usr/lib/erlang"
Is the right location?
that's where I moved the folder. (should i move the files inside
instead the whole folder?)
--~--~---------~--~----~------------~-------~--~----~
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 |
|
|
| Back to top |
|
| Guest |
Posted: Sun Aug 19, 2007 6:37 am |
|
|
|
Guest
|
It looks like you moved it to "/usr/lib/erlang" instead of
"/usr/lib/erlang/lib". Please check again and let me know.
On 8/18/07, oren <orengolan@gmail.com> wrote:
>
> I use Ubuntu and I moved the folder to "/usr/lib/erlang".
>
> when I type it code:get_path(). I get this:
> "/usr/lib/erlang/lib/kernel-2.11.2/ebin",
> "/usr/lib/erlang/lib/stdlib-1.14.2/ebin",
> "/usr/lib/erlang/lib/yaws-1.65/ebin",
> "/usr/lib/erlang/lib/xmerl-1.0.5/ebin",
> "/usr/lib/erlang/lib/webtool-0.8.3/ebin",
> "/usr/lib/erlang/lib/tv-2.1.3/ebin",
> "/usr/lib/erlang/lib/tools-2.5.2/ebin",
> "/usr/lib/erlang/lib/toolbar-1.3/ebin",
> "/usr/lib/erlang/lib/syntax_tools-1.5.0/ebin",
> "/usr/lib/erlang/lib/ssl-3.0.12/ebin",
> "/usr/lib/erlang/lib/ssh-0.9.5/ebin",
> "/usr/lib/erlang/lib/snmp-4.8.2/ebin",
> "/usr/lib/erlang/lib/sasl-2.1.4/ebin",
> "/usr/lib/erlang/lib/runtime_tools-1.6.1/ebin",
> "/usr/lib/erlang/lib/pman-2.5.2/ebin",
> "/usr/lib/erlang/lib/parsetools-1.4/ebin",
> "/usr/lib/erlang/lib/otp_mibs-1.0.4/ebin",
> "/usr/lib/erlang/lib/os_mon-2.1.1/ebin",
> "/usr/lib/erlang/lib/orber-3.6.3/ebin",
> "/usr/lib/erlang/lib/odbc-2.0.6/ebin",
> "/usr/lib/erlang/lib/observer-0.9.7.1/ebin",
> "/usr/lib/erlang/lib/mnesia_session-1.1.6/ebin",
> "/usr/lib/erlang/lib/mnesia-4.3.3/ebin",
> "/usr/lib/erlang/lib/mnemosyne-1.2.6/ebin",
> "/usr/lib/erlang/lib/megaco-3.5/ebin",
> "/usr/lib/erlang/lib/inviso-0.1/ebin",
> "/usr/lib/erlang/lib/inets-4.7.6/ebin",
> "/usr/lib/erlang/lib/ic-4.2.11/ebin"|...]
>
> when i type code:root_dir(). i get this:
> "/usr/lib/erlang"
>
> Is the right location?
> that's where I moved the folder. (should i move the files inside
> instead the whole folder?)
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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 |
|
|
| Back to top |
|
| Guest |
Posted: Sun Aug 19, 2007 9:23 am |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|