<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone, I'm having trouble with the new opensips-cli tool. Seems to be trowing a python error.<div><br></div><div><div>opensips-cli -f /etc/opensips-cli.cfg</div><div>Traceback (most recent call last):</div><div>  File "/usr/local/bin/opensips-cli", line 4, in <module></div><div>    __import__('pkg_resources').run_script('opensipscli==0.1', 'opensips-cli')</div><div>  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script</div><div>    self.require(requires)[0].run_script(script_name, ns)</div><div>  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1429, in run_script</div><div>    .format(**locals()),</div><div>pkg_resources.ResolutionError: Script 'scripts/opensips-cli' not found in metadata at None</div><div><br></div><div>This is my config file:</div><div><br></div><div><div>[default]</div><div>log_level: WARNING</div><div>prompt_name: opensips-cli</div><div>prompt_intro: Welcome to OpenSIPS Command Line Interface!</div><div>prompt_emptyline_repeat_cmd: False</div><div>history_file: ~/.opensips-cli.history</div><div>history_file_size: 1000</div><div>output_type: pretty-print</div><div>communication_type: fifo</div><div>fifo_file: /tmp/opensips_fifo</div></div><div><br></div><div>I thought it might be a fifo permissions issue so I've set the fifo_user, fifo_group & fifo_mode.</div><div><br></div><div><div>ls -lh /tmp/opensips_fifo</div><div>prw------- 1 opensips opensips 0 May 21 10:39 /tmp/opensips_fifo</div></div><div><br></div><div>I've followed the installation instructions & have all the python modules installed.</div><div><br></div><div>Server is Ubuntu 18.04.2</div><div><br></div><div>opensips -V</div><div>version: opensips 3.0.0-beta (x86_64/linux)</div><div>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, CC_O0, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll, sigio_rt, select.</div><div>git revision: 5561528a2</div><div>main.c compiled on 11:16:01 May 20 2019 with gcc 7 </div><div><br></div><div>TIA</div><div>Mark.</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div></div></div></div></div></div></div></div>