Hello everybody,
According to PasteScript documentation, ini-file can be easily
converted into startup script on UNIX/Linux platforms by adding
magic-line at the very top, adding [exe] section and setting execution
bit. However, that wont work for ini-files generated using Pylons. The
reason is that they, and templates used to generate them, have DOS
end-of-line encoding thus when you add magic-line to such a file it
most likely will have the same end-of-line encoding which effectively
makes script fail with "No such file or directory".
Well, solution is simple when you know what causes the problem but that
could cost somebody plenty of time to figure out what is going on.
Cheers