<div>This is corrected in R15B01 which will be out next week. /siri</div><br><div class="gmail_quote">Den 22:54 29. mars 2012 skrev Andy Richards <span dir="ltr"><<a href="mailto:andy.richards.iit@googlemail.com">andy.richards.iit@googlemail.com</a>></span> følgende:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jared, yes I ran into this problem. There is a long old thread about it here..<br>
<a href="http://erlang.org/pipermail/erlang-patches/2012-January/002563.html" target="_blank">http://erlang.org/pipermail/erlang-patches/2012-January/002563.html</a><br>
<br>
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.<br>

<br>
Andy.<br>
<br>
Sent from my iPad<br>
<div class="HOEnZb"><div class="h5"><br>
On 29 Mar 2012, at 19:34, Jared Kofron <<a href="mailto:jared.kofron@gmail.com">jared.kofron@gmail.com</a>> wrote:<br>
<br>
> When I do ./rebar generate-upgrade previous_release=v0p1, I get "ERROR: Systools [systools:make_relup/4] aborted with", and then a huge<br>
> list of errors of the form:<br>
><br>
> {error_reading,<br>
>                                                        {mochiweb,<br>
>                                                         {{bad_param,<br>
>                                                           start_phases},<br>
>                                                          {application,<br>
>                                                           mochiweb,<br>
>                                                           [{description,<br>
>                                                             "MochiMedia Web Server"},<br>
>                                                            {vsn,"2.3.1"},<br>
>                                                            {id,[]},<br>
>                                                            {modules,<br>
>                                                             [mochifmt,<br>
>                                                              mochifmt_records,<br>
>                                                              mochifmt_std,<br>
>                                                              mochiglobal,<br>
>                                                              mochihex,<br>
>                                                              mochijson,<br>
>                                                              mochijson2,<br>
>                                                              mochilists,<br>
>                                                              mochilogfile2,<br>
>                                                              mochinum,<br>
>                                                              mochitemp,<br>
>                                                              mochiutf8,<br>
>                                                              mochiweb,<br>
>                                                              mochiweb_acceptor,<br>
>                                                              mochiweb_charref,<br>
>                                                              mochiweb_cookies,<br>
>                                                              mochiweb_cover,<br>
>                                                              mochiweb_echo,<br>
>                                                              mochiweb_headers,<br>
>                                                              mochiweb_html,<br>
>                                                              mochiweb_http,<br>
>                                                              mochiweb_io,<br>
>                                                              mochiweb_mime,<br>
>                                                              mochiweb_multipart,<br>
>                                                              mochiweb_request,<br>
>                                                              mochiweb_request_tests,<br>
>                                                              mochiweb_response,<br>
>                                                              mochiweb_socket,<br>
>                                                              mochiweb_socket_server,<br>
>                                                              mochiweb_util,<br>
>                                                              reloader]},<br>
>                                                            {registered,[]},<br>
>                                                            {applications,<br>
>                                                             [kernel,stdlib,<br>
>                                                              crypto,inets,<br>
>                                                              ssl,xmerl,<br>
>                                                              compiler,<br>
>                                                              syntax_tools]},<br>
>                                                            {included_applications,<br>
>                                                             []},<br>
>                                                            {env,[]},<br>
>                                                            {start_phases,<br>
>                                                             undefined},<br>
>                                                            {maxT,infinity},<br>
>                                                            {maxP,<br>
>                                                             infinity}]}}}}<br>
><br>
> 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?<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>