[OpenSIPS-Users] opensips-cli error
Mark Farmer
farmorg at gmail.com
Fri Jun 12 12:28:32 EST 2020
Hi Liviu, as requested:
locate opensipscli
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0.egg-info
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/PKG-INFO
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/SOURCES.txt
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/dependency_links.txt
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/not-zip-safe
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/requires.txt
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/scripts
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/top_level.txt
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/EGG-INFO/scripts/opensips-cli
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__init__.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/cli.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/comm.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/config.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/db.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/defaults.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/logger.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/main.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/module.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/__init__.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/cli.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/comm.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/config.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/db.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/defaults.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/logger.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/main.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/__pycache__/module.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__init__.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__pycache__
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/fifo.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/http.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/jsonrpc_helper.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__pycache__/__init__.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__pycache__/fifo.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__pycache__/http.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/communication/__pycache__/jsonrpc_helper.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__init__.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/database.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/diagnose.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/instance.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/mi.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/tls.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/trace.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/trap.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/user.py
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/__init__.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/database.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/diagnose.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/instance.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/mi.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/tls.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/trace.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/trap.cpython-36.pyc
/usr/local/lib/python3.6/dist-packages/opensipscli-0.1.0-py3.6.egg/opensipscli/modules/__pycache__/user.cpython-36.pyc
/usr/local/src/opensips-cli/opensipscli
/usr/local/src/opensips-cli/opensipscli/__init__.py
/usr/local/src/opensips-cli/opensipscli/__pycache__
/usr/local/src/opensips-cli/opensipscli/cli.py
/usr/local/src/opensips-cli/opensipscli/comm.py
/usr/local/src/opensips-cli/opensipscli/communication
/usr/local/src/opensips-cli/opensipscli/config.py
/usr/local/src/opensips-cli/opensipscli/db.py
/usr/local/src/opensips-cli/opensipscli/defaults.py
/usr/local/src/opensips-cli/opensipscli/logger.py
/usr/local/src/opensips-cli/opensipscli/main.py
/usr/local/src/opensips-cli/opensipscli/module.py
/usr/local/src/opensips-cli/opensipscli/modules
/usr/local/src/opensips-cli/opensipscli/__pycache__/__init__.cpython-36.pyc
/usr/local/src/opensips-cli/opensipscli/__pycache__/defaults.cpython-36.pyc
/usr/local/src/opensips-cli/opensipscli/communication/__init__.py
/usr/local/src/opensips-cli/opensipscli/communication/fifo.py
/usr/local/src/opensips-cli/opensipscli/communication/http.py
/usr/local/src/opensips-cli/opensipscli/communication/jsonrpc_helper.py
/usr/local/src/opensips-cli/opensipscli/modules/__init__.py
/usr/local/src/opensips-cli/opensipscli/modules/database.py
/usr/local/src/opensips-cli/opensipscli/modules/diagnose.py
/usr/local/src/opensips-cli/opensipscli/modules/instance.py
/usr/local/src/opensips-cli/opensipscli/modules/mi.py
/usr/local/src/opensips-cli/opensipscli/modules/tls.py
/usr/local/src/opensips-cli/opensipscli/modules/trace.py
/usr/local/src/opensips-cli/opensipscli/modules/trap.py
/usr/local/src/opensips-cli/opensipscli/modules/user.py
On Fri, 12 Jun 2020 at 13:15, Liviu Chircu <liviu at opensips.org> wrote:
> On 12.06.2020 15:10, Mark Farmer wrote:
> > root at sbc-pstn-els-1:/usr/local/src/opensips-cli# opensips-cli
> > Traceback (most recent call last):
> > File "/usr/local/bin/opensips-cli", line 4, in <module>
> > __import__('pkg_resources').run_script('opensipscli==0.1.0',
> > 'opensips-cli')
> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
> > line 658, in run_script
> > self.require(requires)[0].run_script(script_name, ns)
> > File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py",
> > line 1429, in run_script
> > .format(**locals()),
> > pkg_resources.ResolutionError: Script 'scripts/opensips-cli' not found
> > in metadata at None
> >
> > As before I can run it OK from the source dir:
> >
> > python3 bin/opensips-cli
> >
> > Beyond that I'm rather stuck. Any ideas?
>
> Hi, Mark!
>
> Can you please do:
>
> sudo updatedb
> locate opensipscli
>
> ... and provide the output? I suspect there are some lingering
> directories under "/usr/local/lib/python..." which we must "rm -fr",
> then the install will be clean.
>
> Regards,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200612/96d4d906/attachment-0001.html>
More information about the Users
mailing list