The error is that the repositories are not enclosed in quotes.
This crashes at least one process in the sinan server which is
not restarted, so further attempts to build fails with another error.
It is interesting to note that building other projects still works
even when the newly generated project fails with no_proc.
See details below the line.
/Anders
===================================================
Trying to build a new project with sinan 0.10.0.3
anders@nygren:/tmp/sinantest/stest> sinan
starting server, waiting for 2 seconds to let it start up
Got an error back from sinan. Check the logs at ~/.sinan/log/kernel.log
anders@nygren:/tmp/sinantest/stest> cat ~/.sinan/logs/kernel.log
=ERROR REPORT==== 21-May-2008::20:39:18 ===
internal_server_error
req: [{method,"POST"},
{uri,{uri,"http",[],"localhost",8599,"/do_task/build",[],[],
"http://localhost:8599/do_task/build"}},
{vsn,{1,1}},
{headers,[{"accept-encoding","identity"},
{"content-length","63"},
{"content-type","application/json"},
{"host","localhost:8599"}]},
{sock,{sock,<0.102.0>,<0.99.0>,#Ref<0.0.0.201>,
#Fun<crary_sock.1.117168782>,
#Fun<crary_sock.2.89607144>}},
{opts,[{keep_alive_timeout,30000},
{keep_alive_max_requests,infinity},
{read_timeout,30000},
{write_timeout,30000},
{max_body_size,10485760},
{max_header_size,1048576}]}]
class: throw
reason: {unable_to_create_canonical,
{{badmatch,
{error,
{"Unexpected character while parsing ident",5,20}}},
[{ktj_decode,array_body,4},
{ktj_decode,do_value,5},
{sin_config_parser,parse_config,3},
{sin_build_config,process_build_config,2},
{sin_build_config,init,1},
{gen_server,init_it,6},
{proc_lib,init_p,5}]}}
stack: [{sin_build_config,get_seed,1},
{sinan,do_task,4},
{swa_crary_handler,handler,1},
{crary_ctrl,call_handler,2},
{crary_util,'-spawn_link/1-fun-0-',1},
{proc_lib,init_p,3}]
anders@nygren:/tmp/sinantest/stest>
If I try again I get
anders@nygren:/tmp/sinantest/stest> sinan
Got an error back from sinan. Check the logs at ~/.sinan/log/kernel.log
=ERROR REPORT==== 21-May-2008::20:42:27 ===
internal_server_error
req: [{method,"POST"},
{uri,{uri,"http",[],"localhost",8599,"/do_task/build",[],[],
"http://localhost:8599/do_task/build"}},
{vsn,{1,1}},
{headers,[{"accept-encoding","identity"},
{"content-length","63"},
{"content-type","application/json"},
{"host","localhost:8599"}]},
{sock,{sock,<0.109.0>,<0.103.0>,#Ref<0.0.0.218>,
#Fun<crary_sock.1.117168782>,
#Fun<crary_sock.2.89607144>}},
{opts,[{keep_alive_timeout,30000},
{keep_alive_max_requests,infinity},
{read_timeout,30000},
{write_timeout,30000},
{max_body_size,10485760},
{max_header_size,1048576}]}]
class: exit
reason: {noproc,{gen_server,call,[<0.107.0>,get_raw_config]}}
stack: [{gen_server,call,2},
{sinan,do_task,4},
{swa_crary_handler,handler,1},
{crary_ctrl,call_handler,2},
{crary_util,'-spawn_link/1-fun-0-',1},
{proc_lib,init_p,3}]
Building and existing previously built project, like sinan, works.