Tomasz Kowal | 5 Sep 2012 08:56

Erlangweb-users closed

Hi, Erlang-web users.                                                      

We would like to inform you, that Erlangweb-users mailing list will be closed.
Further discussions and issues will be moderated through github issues.    
https://github.com/esl/erlang-web

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
kingrl | 10 Sep 2011 18:07
Picon

How to distributing the service?

I followed the  tutorial "Distributing the service", but I didn't disclose the results , nor did it errors
report . You can share experience ? Thank you!
Attachment (smime.p7s): application/pkcs7-signature, 1406 bytes
------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
Piotr Dorobisz | 29 Aug 2011 14:56

Re: bin/start_interactive yaws problem

I'm not sure which system you're having problems with.
Does "bin/start_interactive yaws" work under Ubuntu?
Does it work under MacOs?

----- Oryginalna wiadomość -----
> I have installed yaws in my Mac Lion system, and it runs well. When I
> turn to my ubuntu system, it works well. And I can start up inets
> server in my mac system (bin/start_interactive). Is there something
> wrong associate embed yaws?
> 
> Thank you
> 
> On Aug 29, 2011, at 8:19 PM, Piotr Dorobisz wrote:
> 
> > Hi,
> > Have you tried installing build dependencies for yaws?:
> > apt-get build-dep yaws
> > 
> > Piotr
> > 
> > 
> > 
> > ----- Oryginalna wiadomość -----
> >> Hi,
> >> "bin/start_interactive yaws" can not start up the yaws server .  I
> >> find the problem is :
> >> =SUPERVISOR REPORT==== 28-Aug-2011::02:22:01 ===
> >>     Supervisor: {local,yaws_sup_restarts}
> >>     Context:    start_error
> >>     Reason:     {'EXIT',{error,could_not_load_driver}}
(Continue reading)

kingrl | 27 Aug 2011 20:33
Picon

bin/start_interactive yaws problem

Hi,
"bin/start_interactive yaws" can not start up the yaws server .  I find the problem is :
=SUPERVISOR REPORT==== 28-Aug-2011::02:22:01 ===
     Supervisor: {local,yaws_sup_restarts}
     Context:    start_error
     Reason:     {'EXIT',{error,could_not_load_driver}}
     Offender:   [{pid,undefined},
                  {name,yaws_sendfile},
                  {mfargs,{yaws_sendfile_compat,start_link,[]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]
How could I solve it? 
Thank you!
Attachment (smime.p7s): application/pkcs7-signature, 1406 bytes
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
doug | 25 Aug 2011 18:09
Picon

tutorial/step2 Description doesn't render

-record(item_types, [{description, "Name"},

after completing the step to include the "description" tuple in  -record(item_type,
then doing eptic:reload,

The Name, Description, Unit Price labels  will not render.

Thank you,
Douglas

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
doug | 22 Aug 2011 18:23
Picon

tutorial problems

what can I do?

hg clone https://bitbucket.org/etc/erlang-web/

cd erlang-web

./bin/compile.erl



lib/eptic-1.4/src/e_mod_inets.erl:55: variable 'Headers' is unbound
lib/eptic-1.4/src/e_mod_inets.erl:61: record mod undefined
lib/eptic-1.4/src/e_mod_inets.erl:87: record mod undefined
lib/eptic-1.4/src/e_mod_inets.erl:93: record mod undefined
lib/eptic-1.4/src/e_mod_inets.erl:94: variable 'Headers' is unbound
lib/eptic-1.4/src/e_mod_inets.erl:106: record mod undefined
lib/eptic-1.4/src/e_mod_inets.erl:107: variable 'Method' is unbound
lib/eptic-1.4/src/e_mod_inets.erl:109: record mod undefined
lib/eptic-1.4/src/e_mod_inets.erl:110: variable 'Post' is unbound
lib/eptic-1.4/src/e_mod_inets.erl:112: record mod undefined
There were errors during the compilation!

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
Piotr Dorobisz | 28 Apr 2011 13:52

Re: compile.erl Fails

It was caused by path mismatch on R14. It's been fixed - an updated version is on github (git://github.com/esl/erlang-web.git).

Regards,
Piotr

----- "douglas" <dvdougdv <at> gmail.com> napisał:

> compile.erl fails:
> 
> can’t find include lib “inets/src/httpd.hrl”
> 
> erlangweb-1.4.1.tar.gz 
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Erlangweb-users mailing list
> Erlangweb-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlangweb-users
> http://www.erlang-web.org/

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/
info | 12 Apr 2011 14:21
Picon

erlangweb and windows

"Currently only Linux-based systems are supported" : When for a Windows version without Cygwin ?
 
J-Ph. Constantin
ITS3 Genève
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
info | 11 Apr 2011 17:13
Picon

erlangweb + googleweb

Hello,
As newbie, I would like to know if you have examples, tutorials for using erlangweb with the Google Maps api ?
Thank you,
 
J-Ph. Constantin
ITS3 Genève
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
douglas | 9 Apr 2011 18:54
Picon

compile.erl Fails

compile.erl fails:
 
can’t find include lib “inets/src/httpd.hrl”
 
erlangweb-1.4.1.tar.gz
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
Roberto Aloi | 7 Dec 2010 20:04

Primitive types, duplicate values and wpart_valid

Hi all,

I have a user-defined primitive type who relies on double entries in the POST list during validation. The
type is more or less in the same situation as the wtype_password, which is expected to receive one or two
POST variables with the same name (for confirmation purposes).

If this was working in Erlang Web 1.3, it doesn't work with Erlang Web 1.4 anymore. This is due to the
wpart_valid:zip_get/4 function,  which removes every duplicate entry, making exceptions for the
password and collection types.

-spec(zip_get/4 :: (list(tuple()), list(string()), 
		    list(tuple()), list(tuple())) -> list(tuple())).
zip_get([],[],_,Acc)->
    lists:reverse(Acc);
zip_get([{collection, _}|T1],[H2|T2], POST, Acc) ->
    In = proplists:get_all_values(H2,POST),
    zip_get(T1,T2,POST,[In|Acc]);
zip_get([{password, _}|T1], [H2|T2], POST, Acc) ->
    case proplists:get_all_values(H2, POST) of
	[_, _] = Val ->
	    zip_get(T1, T2, POST, [Val|Acc]);
	[Val] ->
	    zip_get(T1, T2, POST, [Val|Acc]);
	_ ->
	    zip_get(T1, T2, POST, [undefined|Acc])
    end;
zip_get([_|T1],[H2|T2], POST, Acc) ->
    In = proplists:get_value(H2,POST),
    zip_get(T1,T2,POST,[In|Acc]).

Notice the get_value in the last clause, as opposite to get_all_values, which I think it was the default
behaviour of earlier versions of Erlang Web. It can't simply replaced into a get_all_values since that
will break all others data types (such as wtype_time) which rely on exactly one element for validation.

Is there any reason why this behaviour was changed?

Cheers,

Roberto Aloi
--

-- 
University of Kent - Erlang Solutions Ltd.
Blog: http://aloiroberto.wordpress.com
Twitter:  <at> prof3ta

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d

Gmane