-
Notifications
You must be signed in to change notification settings - Fork 81
FAQ Linux
SickGear Wiki: Home | Reporting Issues | > Frequently Answered Questions < | Install Guides
To build a fully standard compatible Python with all dependencies,
set up the following... build environment
Example reported issue with a bad env:
When trying to run SickGear, a bad Pyenv build environment produced errors like ModuleNotFoundError: No module named '_ctypes'
(note: libffi-dev
contains _ctypes
).
If recompiling Python to fix a run-time issue like this, delete and reinstall the Python version in Pyenv after all depencencies are properly installed.
A most common Linux issue leads to a post like the following...
Everything works great except.... when I try to specify any folder locations (Download
folder location, post-processing location, current library folder location) the folder
navigation window opens and shows my correct root folder structure on the server.
However every time I try to navigate to a subfolder (click on the folder) it just keeps
showing the root folder list. I even try entering the folder paths manually, but it won't
save the locations when I save them. It will only allow me to specify a folder in
the /root location.
This is caused by incorrectly configured Linux permissions to run SG.
Adapt the following methodology for specific Linux distributions/installer types.
Get started with something like... sudo chown someuser -R /path/to/sickgear
and to run... sudo -u someuser python /path/to/sickgear/sickgear.py
where the someuser
account is permitted to access the folders you want.
It's not in the scope of this wiki to detail how each OS permissions work, so expect to do some research to tailor the above to your set up.