Jack,

 help works in the latest version of sinan 0.16.3.1, I think it has
been fixed since 0.16.2.2. Is it possible for you to upgrade? If not I
will dig  in and see if I can't back port the fix to this older
version.

Eric

On Thu, Mar 11, 2010 at 9:18 PM, jack.tang <[email protected]> wrote:
> Hi List
>
> I was going to adopt sinan as our project management tool some months
> ago, and was blocked by "sinan help" issue. And now back :) and I re-
> read the document and find I am lost. Here are some issues:
>
> 1. sinan help still cannot work.
>
> I had updated faxien and its version is 0.42.2.5, the sinan's version
> is 0.16.1.1. And my os is debian (kernel 2.6.30), erts-5.7.3. The
> output of sinan help is:
>
> <pre>
> [~/local/workspace] ➔ /usr/local/erlware/bin/sinan help
> [help] Describing tasks ...
> [sin_help fault!!] function_clause: [{sin_help,process_task_entry,
>                            ["1771b9f2-804f-48ea-
> aa7a-982435b2288e",gen]},
>                  {lists,map,2},
>                  {sin_help,help,1},
>                  {eta_task_runner,apply_task,3},
>                  {eta_task_runner,execute_task_stack,4},
>                  {eta_task_runner,run_tasks,4},
>                  {eta_task_runner,do_tasks,4},
>                  {eta_task_runner,'-run_task_reply/5-fun-0-',5}]
> Task failed
> run complete with faults
> </pre>
>
> There is sinan process running background,
> <pre>
> [~/local/workspace] ➔ ps aux | grep sinan
> jack      6971  0.0  1.9  79848 40612 ?        Sl   10:58   0:00 /usr/
> local/erlware/erts-5.7.2/bin/beam.smp -- -root /usr/local/erlware -
> progname erl -- -home /home/jack -noshell -noinput -config /home/
> jack/.sinan/config/sinserv-0.16.1.1.config -boot /usr/local/erlware/
> releases/sinan-0.16.1.1/sinan
> </pre>
>
> and the sasl.log
> <pre>
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sasl_safe_sup}
>             started: [{pid,<0.37.0>},
>                       {name,alarm_handler},
>                       {mfa,{alarm_handler,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sasl_safe_sup}
>             started: [{pid,<0.38.0>},
>                       {name,overload},
>                       {mfa,{overload,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sasl_sup}
>             started: [{pid,<0.36.0>},
>                       {name,sasl_safe_sup},
>                       {mfa,
>                           {supervisor,start_link,
>                               [{local,sasl_safe_sup},sasl,safe]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sasl_sup}
>             started: [{pid,<0.39.0>},
>                       {name,release_handler},
>                       {mfa,{release_handler,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: sasl
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: crary
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: asn1
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: parsetools
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: sgte
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,eta_sup}
>             started: [{pid,<0.52.0>},
>                       {name,eta_event},
>                       {mfa,{eta_event,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,eta_sup}
>             started: [{pid,<0.53.0>},
>                       {name,eta_task},
>                       {mfa,{eta_task,start_link,[12301]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,eta_sup}
>             started: [{pid,<0.54.0>},
>                       {name,eta_meta_task},
>                       {mfa,{eta_meta_task,start_link,[8204]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,eta_sup}
>             started: [{pid,<0.55.0>},
>                       {name,eta_engine},
>                       {mfa,{eta_engine,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: etask
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_sup}
>             started: [{pid,<0.60.0>},
>                       {name,mnesia_event},
>                       {mfa,{mnesia_sup,start_event,[]}},
>                       {restart_type,permanent},
>                       {shutdown,30000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.62.0>},
>                       {name,mnesia_monitor},
>                       {mfa,{mnesia_monitor,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,3000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.63.0>},
>                       {name,mnesia_subscr},
>                       {mfa,{mnesia_subscr,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,3000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.64.0>},
>                       {name,mnesia_locker},
>                       {mfa,{mnesia_locker,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,3000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.65.0>},
>                       {name,mnesia_recover},
>                       {mfa,{mnesia_recover,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,180000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,kernel_safe_sup}
>             started: [{pid,<0.67.0>},
>                       {name,timer_server},
>                       {mfa,{timer,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,1000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.66.0>},
>                       {name,mnesia_tm},
>                       {mfa,{mnesia_tm,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,30000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.68.0>},
>                       {name,mnesia_checkpoint_sup},
>                       {mfa,{mnesia_checkpoint_sup,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.69.0>},
>                       {name,mnesia_snmp_sup},
>                       {mfa,{mnesia_snmp_sup,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.70.0>},
>                       {name,mnesia_controller},
>                       {mfa,{mnesia_controller,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,3000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_kernel_sup}
>             started: [{pid,<0.71.0>},
>                       {name,mnesia_late_loader},
>                       {mfa,{mnesia_late_loader,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,3000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,mnesia_sup}
>             started: [{pid,<0.61.0>},
>                       {name,mnesia_kernel_sup},
>                       {mfa,{mnesia_kernel_sup,start,[]}},
>                       {restart_type,permanent},
>                       {shutdown,infinity},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: mnesia
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: xmerl
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: hipe
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: gs
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: compiler
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: dialyzer
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: tools
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: eunit
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: ewlib
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,ibrowse_sup}
>             started: [{pid,<0.85.0>},
>                       {name,ibrowse},
>                       {mfa,{ibrowse,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: ibrowse
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: ewrepo
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: ktuo
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: syntax_tools
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: edoc
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sin_sup}
>             started: [{pid,<0.95.0>},
>                       {name,print_guard},
>                       {mfa,
>                           {eta_event_guard,start_link,
>                               [sin_print_handler,[]]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sin_sup}
>             started: [{pid,<0.96.0>},
>                       {name,sin_group_leader_sup},
>                       {mfa,{sin_group_leader_sup,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sin_sup}
>             started: [{pid,<0.97.0>},
>                       {name,sin_config_sup},
>                       {mfa,{sin_config_sup,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,sin_sup}
>             started: [{pid,<0.98.0>},
>                       {name,sin_config_registry},
>                       {mfa,{sin_config_registry,start_link,[]}},
>                       {restart_type,permanent},
>                       {shutdown,2000},
>                       {child_type,supervisor}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: sinan
>          started_at: non...@nohost
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>          supervisor: {local,crary_sup}
>             started: [{pid,<0.102.0>},
>                       {name,{{127,0,0,1},8599}},
>                       {mfa,
>                           {crary_port,start_link,
>                               [{{127,0,0,1},8599},
>                                #Fun<swa_crary_handler.handler.2>,
> []]}},
>                       {restart_type,permanent},
>                       {shutdown,5},
>                       {child_type,worker}]
>
> =PROGRESS REPORT==== 12-Mar-2010::11:11:58 ===
>         application: sinan_web_api
>          started_at: non...@nohost
> </pre>
>
> 2. How to create project uses sinan?
>
> I do follow the tutorial http://www.erlware.org/tools/sinan/tutorial.html,
> create the config file and input the "sinan" command, it said:
>
> <pre>
> [~/local/workspace/sinan_sample] ➔ /usr/local/erlware/bin/sinan
> Error discovering project layout: Unable to find any application
> directories. aborting now
> run complete with faults
> </pre>
>
> What should I do next?
>
> Thanks a lot!
>
> /Jack
>
> --
> You received this message because you are subscribed to the Google Groups 
> "erlware-dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/erlware-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"erlware-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/erlware-dev?hl=en.

Reply via email to