Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  Demoapp Music / compile error

Guest
Posted: Fri Jan 04, 2008 2:22 am Reply with quote
Guest
Hi,
how can I avoid the following error:
2> erlyweb:compile("c:/temp/yaws/apps/music", [{erlydb_driver,
mysql}]).
debug:erlyweb_compile:340: Compiling Erlang file
"music_app_controller"
debug:erlyweb_compile:340: Compiling Erlang file "musician_view"
** exited: {{badmatch,[{exports,[{render,1},
{render,0},
{list,1},
{new,1},
{edit,1},
{delete,1},
{module_info,0},
{module_info,1}]},
{imports,[]},
{attributes,[]},
{compile,[]}]},
[{smerl,for_module,2},
{smerl,get_extend_data,2},
{smerl,extend,4},
{erlyweb_compile,compile_file,5},
{erlyweb_compile,compile_component_file,6},
{filelib,fold_files2,6},
{filelib,fold_files2,6},
{erlyweb_compile,compile,2}]} **

=ERROR REPORT==== 4-Jan-2008::03:01:18 ===
Error in process <0.36.0> with exit value: {{badmatch,[{exports,
[{render,1},{ren
der,0},{list,1},{new,1},{edit,1},{delete,1},{module_info,0},
{module_info,1}]},{i
mports,[]},{attributes,[]},{compile,[]}]},[{smerl,for_module,2},
{smerl,get_exten
d_data,2},{smerl,extend,4},{erlyweb_compile...
--~--~---------~--~----~------------~-------~--~----~
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: Sat Jan 05, 2008 3:01 pm Reply with quote
Guest
fixed by recompiling the .beam files for erlyweb with the path to my
installed version of YAWS.
My main problem was, that I had to delete them first Sad

On 4 Jan., 03:19, Andreas <andreas.heissenber...@gmail.com> wrote:
> Hi,
> how can I avoid the following error:
> 2> erlyweb:compile("c:/temp/yaws/apps/music", [{erlydb_driver,
> mysql}]).
> debug:erlyweb_compile:340: Compiling Erlang file
> "music_app_controller"
> debug:erlyweb_compile:340: Compiling Erlang file "musician_view"
> ** exited: {{badmatch,[{exports,[{render,1},
>

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