3 messages in com.googlegroups.pylons-discussini-file as startup script on UNIX/Linux
FromSent OnAttachments
askel28 Jun 2006 06:50 
Ben Bangert28 Jun 2006 09:36 
askel28 Jun 2006 10:36 
Subject:ini-file as startup script on UNIX/Linux
From:askel (dumm@mail.ru)
Date:06/28/2006 06:50:07 AM
List:com.googlegroups.pylons-discuss

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