| Author |
Message |
< Erlyweb mailing list ~ new to erlyweb : can't make it work : erlyweb.beam failed: b |
| Guest |
Posted: Mon Jul 28, 2008 1:54 pm |
|
|
|
Guest
|
Hi
I try to play with erlyweb, but it seems to me that I've got some
problems (version ?)
I installed yaws on my ubuntu
I unzipped the very last erlyweb (erlyweb-0.7.2.tar.gz) release into /
usr/lib/erlang/lib
then,
sudo yaws -i # works fine : got yaws' welcome index file at localhot:
8080
1> erlyweb:create_app("blog", "/home/pouet/tmp/erlyblog/").
=ERROR REPORT==== 28-Jul-2008::15:48:30 ===
beam/beam_load.c(1301): Error loading module erlyweb:
use of opcode 136; this emulator supports only up to 129
** exited: {undef,[{erlyweb,create_app,
["blog","/home/pouet/tmp/erlyblog/"]},
{erl_eval,do_apply,5},
{shell,exprs,6},
{shell,eval_loop,3}]} **
2>
=ERROR REPORT==== 28-Jul-2008::15:48:30 ===
Loading of /usr/lib/erlang/lib/erlyweb-0.7.2/ebin/erlyweb.beam failed:
badfile
=ERROR REPORT==== 28-Jul-2008::15:48:30 ===
Error in process <0.36.0> with exit value: {undef,[{erlyweb,create_app,
["blog","/home/pouet/tmp/erlyblog/"]},{erl_eval,do_apply,5},
{shell,exprs,6},{shell,eval_loop,3}]}
could you help me getting started ?
--~--~---------~--~----~------------~-------~--~----~
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 received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jul 28, 2008 5:37 pm |
|
|
|
Guest
|
What version of erlang are you using? It looks like ErlyWeb may have
been compiled on a newer version.
On Mon, Jul 28, 2008 at 6:54 AM, Jean-Philippe Caruana
<jp.caruana@gmail.com> wrote:
>
> Hi
> I try to play with erlyweb, but it seems to me that I've got some
> problems (version ?)
> I installed yaws on my ubuntu
> I unzipped the very last erlyweb (erlyweb-0.7.2.tar.gz) release into /
> usr/lib/erlang/lib
>
> then,
> sudo yaws -i # works fine : got yaws' welcome index file at localhot:
> 8080
>
> 1> erlyweb:create_app("blog", "/home/pouet/tmp/erlyblog/").
>
> =ERROR REPORT==== 28-Jul-2008::15:48:30 ===
> beam/beam_load.c(1301): Error loading module erlyweb:
> use of opcode 136; this emulator supports only up to 129
>
> ** exited: {undef,[{erlyweb,create_app,
> ["blog","/home/pouet/tmp/erlyblog/"]},
> {erl_eval,do_apply,5},
> {shell,exprs,6},
> {shell,eval_loop,3}]} **
> 2>
> =ERROR REPORT==== 28-Jul-2008::15:48:30 ===
> Loading of /usr/lib/erlang/lib/erlyweb-0.7.2/ebin/erlyweb.beam failed:
> badfile
>
> =ERROR REPORT==== 28-Jul-2008::15:48:30 ===
> Error in process <0.36.0> with exit value: {undef,[{erlyweb,create_app,
> ["blog","/home/pouet/tmp/erlyblog/"]},{erl_eval,do_apply,5},
> {shell,exprs,6},{shell,eval_loop,3}]}
>
>
> could you help me getting started ?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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 received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Jul 29, 2008 7:21 am |
|
|
|
Guest
|
On Mon, Jul 28, 2008 at 7:36 PM, Yariv Sadan <yarivsadan@gmail.com> wrote:
>
> What version of erlang are you using? It looks like ErlyWeb may have
> been compiled on a newer version.
that what I thought.
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0]
[kernel-poll:false]
this is the erlang version commit with the lastest ubuntu.
yaws is also from ubuntu (didn't isntalled it myself)
Yaws 1.73
I also tryed to compile erlyweb myself :
(trunk version - revision 250) :
[skip unused var warnings]
{"init terminating in
do_boot",{undef,[{erltl,compile,["src/erlyweb/erlyweb_view.et",[{outdir,"ebin"},debug_info,show_errors,show_warnings]]},{filelib,fold_files2,6},{filelib,fold_files2,6},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
I got the same error when compiling from the 0.7 branch or from the sources.
should I provide the crash dumps ?
is something worng with my erlang install ? it seemed to work fine
until now : we are developping some telephonical components in erlang
and I had no problem.
thans for any help.
--
Jean-Philippe Caruana
http://demostene.tumblr.com/
--~--~---------~--~----~------------~-------~--~----~
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 received from mailinglist |
|
|
| 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
|
|
|