[erlang-questions] systools problem?
Siri Hansen
erlangsiri@REDACTED
Fri Mar 30 09:05:44 CEST 2012
This is corrected in R15B01 which will be out next week. /siri
Den 22:54 29. mars 2012 skrev Andy Richards <
andy.richards.iit@REDACTED> følgende:
> Hi Jared, yes I ran into this problem. There is a long old thread about it
> here..
> http://erlang.org/pipermail/erlang-patches/2012-January/002563.html
>
> I have a shell script from which I call rebar to generate my upgrades and
> releases and from this script I grep the .app files and replace the
> undefined tuple with a empty list which solved my problem in a simple
> application when generating upgrades. I'm not sure if this is a suitable
> work a round for a more complex application.
>
> Andy.
>
> Sent from my iPad
>
> On 29 Mar 2012, at 19:34, Jared Kofron <jared.kofron@REDACTED> wrote:
>
> > When I do ./rebar generate-upgrade previous_release=v0p1, I get "ERROR:
> Systools [systools:make_relup/4] aborted with", and then a huge
> > list of errors of the form:
> >
> > {error_reading,
> > {mochiweb,
> > {{bad_param,
> > start_phases},
> > {application,
> > mochiweb,
> > [{description,
> > "MochiMedia
> Web Server"},
> > {vsn,"2.3.1"},
> > {id,[]},
> > {modules,
> > [mochifmt,
> >
> mochifmt_records,
> >
> mochifmt_std,
> > mochiglobal,
> > mochihex,
> > mochijson,
> > mochijson2,
> > mochilists,
> >
> mochilogfile2,
> > mochinum,
> > mochitemp,
> > mochiutf8,
> > mochiweb,
> >
> mochiweb_acceptor,
> >
> mochiweb_charref,
> >
> mochiweb_cookies,
> >
> mochiweb_cover,
> >
> mochiweb_echo,
> >
> mochiweb_headers,
> >
> mochiweb_html,
> >
> mochiweb_http,
> > mochiweb_io,
> >
> mochiweb_mime,
> >
> mochiweb_multipart,
> >
> mochiweb_request,
> >
> mochiweb_request_tests,
> >
> mochiweb_response,
> >
> mochiweb_socket,
> >
> mochiweb_socket_server,
> >
> mochiweb_util,
> > reloader]},
> >
> {registered,[]},
> > {applications,
> >
> [kernel,stdlib,
> >
> crypto,inets,
> > ssl,xmerl,
> > compiler,
> >
> syntax_tools]},
> >
> {included_applications,
> > []},
> > {env,[]},
> > {start_phases,
> > undefined},
> >
> {maxT,infinity},
> > {maxP,
> >
> infinity}]}}}}
> >
> > Digging in a little bit it seems like systools is expecting an empty
> list instead of 'undefined' for start_phases. Has anybody else run in to
> this?
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120330/0f231809/attachment.htm>
More information about the erlang-questions
mailing list