aszlig / hetzner

A high-level Python API for accessing the Hetzner robot.
https://pypi.python.org/pypi/hetzner
Other
128 stars 36 forks source link

hetznerctl not executable #20

Closed guettli closed 6 years ago

guettli commented 7 years ago

I installed hetzner for python.

root@om:~# pip install hetzner

Collecting hetzner
  Downloading hetzner-0.7.5.tar.gz
Building wheels for collected packages: hetzner
  Running setup.py bdist_wheel for hetzner ... done
  Stored in directory: /root/.cache/pip/wheels/ff/4e/42/3aac160c19e683ce1db4f7f47882187843907cc61939a3df4c
Successfully built hetzner
Installing collected packages: hetzner
Successfully installed hetzner-0.7.5

But the script is not executable:

root@om:~# hetznerctl
-bash: /usr/local/bin/hetznerctl: Keine Berechtigung

root@om:~# ls -l /usr/local/bin/hetznerctl
-rw-r--r-- 1 root root 8327 Feb 26 22:12 /usr/local/bin/hetznerctl
aszlig commented 6 years ago

Tried to reproduce this on a clean Ubuntu 17.10 VM and was unable to reproduce this:

root@ubuntu-test:~# pip install hetzner
Collecting hetzner
  Downloading hetzner-0.7.5.tar.gz
Building wheels for collected packages: hetzner
  Running setup.py bdist_wheel for hetzner ... done
  Stored in directory: /root/.cache/pip/wheels/ff/4e/42/3aac160c19e683ce1db4f7f47882187843907cc61939a3df4c
Successfully built hetzner
Installing collected packages: hetzner
Successfully installed hetzner-0.7.5
root@ubuntu-test:~# hetznerctl
Usage: hetznerctl [global options] command [options]

hetznerctl: error: No config file available, specify -u and -p to create a new one.
root@ubuntu-test:~# which hetznerctl
/usr/local/bin/hetznerctl
root@ubuntu-test:~# ls -l /usr/local/bin/hetznerctl
-rwxr-xr-x 1 root root 8327 Nov 18 16:41 /usr/local/bin/hetznerctl
root@ubuntu-test:~#

@guettli: Can you please give more details about your system?

aszlig commented 6 years ago

Closing due to inactivity.