Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pypi getting some issues(/usr/local/bin/jasmind.py not found) #999

Open
primeKal opened this issue Aug 19, 2021 · 5 comments
Open

Pypi getting some issues(/usr/local/bin/jasmind.py not found) #999

primeKal opened this issue Aug 19, 2021 · 5 comments

Comments

@primeKal
Copy link

primeKal commented Aug 19, 2021

I have a debian buster os and wanted to install through the pypi model and followed the steps created the user and owned files to then but when i start systemctl, it gives error no file named jasmind.py. i think pip install jasmin did not install the py file at /usr/local/bin which the script jasmind.service points too.. what can i do?
When i manually copy and paste the jasmind.py folder from /opt/bitnami/python/bin/jasmind.py, it gives an error like the one below

Aug 19 13:24:37 debian jasmind[16181]: return opener.open(url, data, timeout)
Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 510, in open
Aug 19 13:24:37 debian jasmind[16181]: req = Request(fullurl, data)
Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 328, in init
Aug 19 13:24:37 debian jasmind[16181]: self.full_url = url
Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 354, in full_url
Aug 19 13:24:37 debian jasmind[16181]: self._parse()
Aug 19 13:24:37 debian jasmind[16181]: File "/opt/bitnami/python/lib/python3.7/urllib/request.py", line 383, in _parse
Aug 19 13:24:37 debian jasmind[16181]: raise ValueError("unknown url type: %r" % self.full_url)
Aug 19 13:24:37 debian jasmind[16181]: builtins.ValueError: unknown url type: '//etc/jasmin//resource//amqp0-9-1.xml'

@gekko-ch
Copy link

Hi
ever found a soultion, facing the same issue
thx

@UbuntuEvangelist
Copy link

UbuntuEvangelist commented Mar 2, 2022

Try to use Ubuntu 20.04 LTS 64 bit Linux.
Install python 3.8.x version and set default python version.
Install pip pip 20.0.2 version and set default python version.
Install Python: https://gist.github.com/UbuntuEvangelist/fe805176e61d927d11b139166bdbfd6d
After install python 3.8.x version follow:

apt install python3-pip
cd
nano ~/.bashrc

Add below to lines into the bottom of ~/.bashrc file

alias python=python3
alias pip=pip3

Save & Exit ctrl+s and ctrl+x

alias python=python3
alias pip=pip3
source ~/.bashrc
sudo apt update
sudo apt upgrade -y
python --version
pip --version
pip install txredisapi
apt-get install python3-venv
apt install redis rabbitmq-server -y
pip install gunicorn
pip install pip
apt install pipx
pipx install twisted --force
pipx ensurepath

curl -s https://packagecloud.io/install/repositories/jookies/jasmin-sms-gateway/script.deb.sh | sudo bash
apt-get install jasmin-sms-gateway
apt update -y && apt upgrade -y

OR

curl -s https://setup.jasminsms.com/deb | sudo bash
apt install jasmin-sms-gateway
apt update -y && apt upgrade -y

systemctl enable jasmind
systemctl start jasmind
systemctl status jasmind

@farirat
Copy link
Contributor

farirat commented Mar 4, 2022

@primeKal what os/version you have ?

Copy link

github-actions bot commented Mar 4, 2024

Stale issue detected, remove stale label or comment or this will be closed soon.

@github-actions github-actions bot added the Stale label Mar 4, 2024
@avremy
Copy link

avremy commented Mar 27, 2024

Still having this issue on Debian, anyone ever found a solution ?

@github-actions github-actions bot removed the Stale label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants