Distel

Juan Jose Comellas juanjo@REDACTED
Fri Jun 5 02:10:41 CEST 2009


It still blocks. When I do C-c C-d g I see the following message on the
status bar:

Successfully communicated with remote node pbx@REDACTED

The trace from Distel's buffer is the following:

>> REG_SEND: [TYPE erl-pid distel_28066@REDACTED 3 0 0] rex [[TYPE erl-pid
distel_28066@REDACTED 3 0 0] [call code ensure_loaded (distel) [TYPE erl-pid
distel_28066@REDACTED 1 0 0]]]

>> REG_SEND: [TYPE erl-pid distel_28066@REDACTED 2 0 0] rex [[TYPE erl-pid
distel_28066@REDACTED 2 0 0] [call distel rpc_entry (erlang node nil) [TYPE
erl-pid distel_28066@REDACTED 1 0 0]]]

<< SEND: [TYPE erl-pid distel_28066@REDACTED 3 0 0] [rex [module distel]]

<< SEND: [TYPE erl-pid distel_28066@REDACTED 2 0 0] [rex pbx@REDACTED]

>> REG_SEND: [TYPE erl-pid distel_28066@REDACTED 4 0 0] rex [[TYPE erl-pid
distel_28066@REDACTED 4 0 0] [call distel rpc_entry (distel who_calls
(pbx_json encode_api_reply 1)) [TYPE erl-pid distel_28066@REDACTED 1 0 0]]]


On Thu, Jun 4, 2009 at 2:48 PM, mats cronqvist <masse@REDACTED> wrote:

> Juan Jose Comellas <juanjo@REDACTED> writes:
>
> > The situation is the following:
> >
> > a) If I start the Erlang shell, start Emacs and do 'C-c C-d w' on Emacs
> > everything blocks. After that if I try to run distel:who_calls/3 from the
> > Erlang node Emacs is connecting to, it also blocks.
> >
> > b) If I start the Erlang shell from scratch (i.e. without a previous
> > interaction with Emacs) and call distel:who_calls/3 everything works.
> Also,
> > if after running this function I start Emacs and do 'C-c C-d w' it also
> > works.
> >
> > Maybe the problem is not in Erlang but in this version of Emacs, because
> I
> > was using Erlang R12B-5 with Ubuntu Intrepid and I'm using Erlang R13B
> with
> > Ubuntu Jaunty. The problem seems to be related to the initialization
> phase
> > of Distel.
>
>   could you try restarting emacs and erlang, and do C-c C-d g before
>  C-c C-d w.
>
> > What can I do to give you more information of what is happening within
> > Emacs?
>
>   Hmm. I'll see if I can find a Jaunty machine around here somewhere
>  before we try doing this over mail.
>
>  mats
>


More information about the erlang-questions mailing list