One of our customer is unable to create a new Python app with the CloudLinux Python Selector.
It just returns a message, in a red box with "directory" and nothing else. I checked the error log (every one I can think of) but I don't find anything related to python/cloudlinux.
I straced the cPanel main process to watch what's going on, I managed to intercept the selectorctl command used, it's like this :
# The command I intercepted
/usr/bin/selectorctl --interpreter=python --domain=test.xxxxxx.com --version=3.5 --user=xxxxxxx --print-summary --json --create-webapp test /
# The one I tried with --verbose and without --json
/usr/bin/selectorctl --verbose --interpreter=python --domain=test.xxxxxxx.com --version=3.5 --user=xxxxxxx --print-summary --create-webapp test /
It just returns : ERROR:'directory'
I straced the cli too but I can't see anything important, it checked all the .htaccess of the account. I tried removing cache files too (like .cl.selector/htaccess_cache) but it does not change anything.
I check the file permission (chmod 755 for directory and chmod 644 for files), I enforced it, but is doesn't change anything either.
Any ideas ?
Thanks in advance,