zilexa / autosetup-VERO4K_RPi

Automatically installs and configures a RPi device running OSMC or Debian to get a "Netflix-like" experience.
19 stars 6 forks source link

invalid path for flexget #2

Closed fdicarlo closed 6 years ago

fdicarlo commented 6 years ago

Hi, again, after fixing the pip/pip3 issue, it seems that flexget command is not found in the specified directory but instead is in another directory, here the output again:

[...]
Saving to: ‘log_filter.py’

log_filter.py                              100%[=====================================================================================>]   1.97K  --.-KB/s    in 0s      

2018-02-09 13:57:47 (8.63 MB/s) - ‘log_filter.py’ saved [2019/2019]

autosetup.sh: line 241: /home/osmc/flexget/bin/flexget: No such file or directory
root@osmc:/home/osmc/flexget/plugins# sudo find / -name "flexget" -exec echo {} \;
/home/osmc/.local/bin/flexget
/home/osmc/.local/lib/python3.5/site-packages/flexget
/home/osmc/flexget
root@osmc:/home/osmc/flexget/plugins# exit
exit
autosetup.sh: line 258: /etc/osmc/apps.d/flexget: Permission denied
osmc@osmc:~$ nano autosetup.sh 
osmc@osmc:~$ ^C
osmc@osmc:~$ /home/osmc/.local/bin/flexget trakt auth fdicarlo
[...]
zilexa commented 6 years ago

That is strange! It installed python and flexget in .local. I don't know why. Have to look into this.

sandkillerpt commented 6 years ago

Hi,

Any ideas on a fix yet? Should the script be updated to include the ".local" path in the $HOMEFOLDER variable?

Thanks,