[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
/opt/zotonic $ make
./rebar3  compile
Zotonic Config:
- /etc/zotonic/zotonic.config
Application Dirs:
- /opt/zotonic/user/modules/*
- /opt/zotonic/user/sites/*
- apps/*
===> Fetching pc ({pkg,<<"pc">>,<<"1.10.0">>})
===> Version cached at 
/tmp/.cache/rebar3/hex/default/packages/pc-1.10.0.tar is up to date, 
reusing it
===> sh(mv /tmp/.tmp_dir90026919743 /opt/zotonic/_build/default/plugins/pc)
failed with return code 1 and the following output:
mv: can't rename '/tmp/.tmp_dir90026919743': No such file or directory

===> Plugin pc not available. It will not be used.
===> Verifying dependencies...
===> Fetching bcrypt ({pkg,<<"bcrypt">>,<<"1.0.0">>})
===> Version cached at 
/tmp/.cache/rebar3/hex/default/packages/bcrypt-1.0.0.tar is up to date, 
reusing it
===> sh(mv /tmp/.tmp_dir800480727219 /opt/zotonic/_build/default/lib/bcrypt)
failed with return code 1 and the following output:
mv: can't rename '/tmp/.tmp_dir800480727219': No such file or directory

===> Failed to fetch and copy dep: {pkg,<<"bcrypt">>,<<"1.0.0">>,
  
 <<"1C0F76981D8A7B32E4DAA813408BFCA5BA8B1286196EB771F026D02C710F71C5">>}
make: *** [GNUmakefile:27: compile] Error 1


среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал:
>
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
Status: Downloaded newer image for zotonic/zotonic-dev:latest
/opt/zotonic $ ./bin/zotonic debug
erl_child_setup closed

Crash dump is being written to: erl_crash.dump...



среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал:
>
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
=erl_crash_dump:0.5 
Wed Jan 30 22:28:16 2019
Slogan: erl_child_setup closed
System version: Erlang/OTP 20 [erts-9.2.1] [source] [64-bit] [smp:1:1] 
[ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:true]
Compiled: Fri Feb 23 20:13:12 2018


среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал:
>
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread 'Marc Worrell' via Zotonic developers
Erlang crashes?

Which OTP version are you using?
And is it a clean build (maybe it doesn’t like a beam file from another OTP 
version).

- M


> On 30 Jan 2019, at 14:31, heiheshang  wrote:
> 
> /opt/zotonic $ ./bin/zotonic debug
> erl_child_setup closed
> 
> Crash dump is being written to: erl_crash.dump...done
> 
> Started: Wed Jan 30 22:28:16 2019
> Message queue length: 0
> Number of heap fragments: 0
> Heap fragment data: 0
> Link list: [<0.5.0>]
> Reductions: 1112
> Stack+heap: 4185
> OldHeap: 6772
> Heap unused: 3467
> OldHeap unused: 5371
> Memory: 88544   
> Program counter: 0x7f0a73aa7498 (init:boot_loop/2 + 64)
> CP: 0x (invalid)
> arity = 0
> Internal State: ACT_PRIO_NORMAL | USR_PRIO_NORMAL | PRQ_PRIO_NORMAL | 
> TRAP_EXIT | ON_HEAP_MSGQ
> =proc:<0.1.0>
> State: Waiting
> Name: erts_code_purger
> Spawned as: erts_code_purger:start/0
> Spawned by: <0.0.0>
> 
> 
> 
> 
> 
> 
> среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал:
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
> 
> 
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
/opt/zotonic $ ./bin/zotonic debug
erl_child_setup closed

Crash dump is being written to: erl_crash.dump...done

Started: Wed Jan 30 22:28:16 2019
Message queue length: 0
Number of heap fragments: 0
Heap fragment data: 0
Link list: [<0.5.0>]
Reductions: 1112
Stack+heap: 4185
OldHeap: 6772
Heap unused: 3467
OldHeap unused: 5371
Memory: 88544   
Program counter: 0x7f0a73aa7498 (init:boot_loop/2 + 64)
CP: 0x (invalid)
arity = 0
Internal State: ACT_PRIO_NORMAL | USR_PRIO_NORMAL | PRQ_PRIO_NORMAL | 
TRAP_EXIT | ON_HEAP_MSGQ
=proc:<0.1.0>
State: Waiting
Name: erts_code_purger
Spawned as: erts_code_purger:start/0
Spawned by: <0.0.0>






среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал:
>
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Zotonic-Dev] What kind of mistake I do not understand?

2019-01-30 Thread 'Marc Worrell' via Zotonic developers
I think this is a fresh compile and this is the master, which is now OTP.

The compile option will be removed and is currently only working for 
incremental compiles.

You can use ‘make’ to compile (which calls rebar etc)

Cheers, Marc


> On 30 Jan 2019, at 13:55, heiheshang  wrote:
> 
> /opt/zotonic $ ./bin/zotonic compile
> {"init terminating in 
> do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
> init terminating in do_boot 
> ({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3
> 
> 
> 
> 
> -- 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Zotonic developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to zotonic-developers+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Zotonic-Dev] What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
/opt/zotonic $ ./bin/zotonic compile
{"init terminating in 
do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot 
({undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zotonic-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.