- Plesk Onyx for Linux
- In attempt to edit Python file through the build-in file editor, it is not saved in UNIX format.
While trying to launch it while logging in to the server via
the following error appears:
# ! /usr/bin/python^M: bad interpreter
This is a Plesk bug #PPPM-7716 which will be fixed in next Plesk updates.
As a workaround:
- Login to the server via SSH ;
- Open the created file with the favorite text editor;
Execute the following command:
CONFIG_TEXT: :set fileformat=unix
- Save the file