Questions tagged [erl]

The erl program is Erlang Emulator, starting an Erlang runtime system.

The executable script erl is a front-end to the Erlang runtime system. Windows users probably wants to use the werl program instead, which runs in its own window with scrollbars and supports command-line editing.

160 questions
0
votes
1 answer

Uncaught error in rebar_core while compiling MongooseIM from source code

I want to compile MongooseIM from the source code but getting some error while compiling the code on Ubuntu: Ubuntu version: Ubuntu 18.04.1 LTS 64-bit (latest) Erlang version: 21 (latest) After using the following commands for compiling $ git…
Shubham1164
  • 357
  • 6
  • 16
0
votes
3 answers

Ejabberd version 17.11 - getting "Failed c2s PLAIN authentication" error message

I have installed the Ejabberd version 17.11 in our server. After the intallation, the user is able to connect with the Ejabberd service 1st time successfully. But once the session ended by that user and if the same user tries to connect again then…
0
votes
1 answer

How to show users of database with Erlang?

I can't query in internal database, with console ejabberdctl debug Erlang/OTP 20 [erts-9.3] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:10] Eshell V9.3 (abort with ^G) (ejabberd@localhost)1> Is it possible to display the registered users on…
0
votes
2 answers

How can I change the Erlang makefile so that it enables the SMP mode?

I want to develop an application which requires SMP. But in the Erlang makefile I am using, the options are set in non-smp mode. Hence, when I start the application, I get an error in the Shell indicating that the SMP emulator is required and that…
0
votes
0 answers

erlang schedulers just sleep, why?

i have next situation. we read packets (700-800 bytes) from tap interface process them and send to this interface back. we start 3 processes for one packet when in 1-10 miliseconds come 1-8 packets processing them takes 1-5 ms for each. but when we…
0
votes
1 answer

where can I find *.erl files after installation kazoo 2600hz

where can I find or develop *.erl files on my server after installation kazoo 2600hz I can't see any .erl file ! I installed kazoo correctly and it work but I cant find files to develop is this about permission?
0
votes
1 answer

getting {badarith,[{erlang,'+',[error,0],[]}, while performing arithmetic operation in TSUNG using Erlang snippet

I have wriiten a arithmetic snippet using TSUNG-Erlang function but unable to get through it successfully ; getting following error in my TSUNG controller's log , TSUNG-Erlang Snippet,
Ritesh Sharma
  • 163
  • 1
  • 3
  • 10
0
votes
1 answer

erlang output the list length after having it run a quicksort - Part 2

So my first question was answered and it makes sense. It was able to output a list length after a sort, but originally I was asking as a way to use io:format function for a sort/0. But my next follow up, is how to use it with the sort/1? I've been…
chitown88
  • 27,527
  • 4
  • 30
  • 59
0
votes
1 answer

RabbitMQ cluster status: how to parse Erlang's beam from a shell?

I need to monitor rabbitmq cluster status. REST API doesn't provide information about partitions. So I need to use app rabbitmqctl: # rabbitmqctl cluster_status Cluster status of node 'rabbit@rabbit-1'…
martin
  • 1,707
  • 6
  • 34
  • 62
0
votes
0 answers

Load shell_default module in remote shell

When I run the erl shell my .erlang file is evaluated and loads in my shell_default module (shell_default:c(ShellDefaultFilePath).). I can use all the functions defined in my shell_default module directly in the shell. In a remote shell the…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
0
votes
0 answers

erlang: Building custom otp branch

I need to tweak OTP for own needs a bit, so had to build it from local folder. After running: ./otp_build autoconf ./configure make sudo make install All seems to look fine. But unfortunately for some reason I can't compile any file anymore. E.g.…
Oleg Tarasenko
  • 9,324
  • 18
  • 73
  • 102
0
votes
1 answer

Adding cb_admin to current ChicagoBoss installation

I'm starting with ChicagoBoss as well I just installed ChicagoBoss following the github instructions. Then, I created a project: make make app PROJECT=myproject cd ../myproject Everything's cool so far, now, I want to add the admin interface such…
NeoVe
  • 3,857
  • 8
  • 54
  • 134
0
votes
1 answer

Erlang: check chars in inserting text if chars exists in list

What I'm looking for is, if inserted text contains chars and integer and if these not in List chars return false Example List: List = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",…
Mr. zero
  • 245
  • 4
  • 18
0
votes
0 answers

ejabberd: Send packet from Erlang to Python

I'm trying to send packet from ejabberd to Python script then python script will do his function and return with (true or false). I found project name of it: ErlPort which helps connect Erlang to a number of other programming languages. And it's…
Mr. zero
  • 245
  • 4
  • 18
0
votes
1 answer

Erlang : variable '_' is unbound

I'm trying to use "_" in Case but I'm missing some thing. What i'm doing is : case (Packet =:= #xmlel{name = <<"message">>, attrs = [_, {<<"type">>,<<"chat">>}], children = _}) of true -> ?INFO_MSG("True ###### Packet ~p", [Packet]); …
Mr. zero
  • 245
  • 4
  • 18