ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

corntab fails on fedora #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. deploy an app with cron.yaml: ./bin/apptool --crontab  parts/app_using_cron/

What is the expected output? What do you see instead?
Cron job is not being added error message is being shown instead:
"/home/user/env/typhoonae-buildout-0.1.3/var/tmpjBvmFB":1: premature EOF
errors in crontab file, can't install.

What version of the product are you using? On what operating system?
Fedora 12, typhoonae-0.1.3, default python 2.6

Original issue reported on code.google.com by ivovnenko on 9 Apr 2010 at 4:38

GoogleCodeExporter commented 9 years ago
Thanks for reporting! Looks like apptool is misinterpreting the cron.yaml file. 
Can you please provide it as 
attachment, so maybe I'm able to reproduce the problem.

Original comment by tobias.r...@gmail.com on 9 Apr 2010 at 5:09

GoogleCodeExporter commented 9 years ago
Looks like it's just '\n' thats missing at the end of the temp file apptool's 
trying 
to feed to fedora's crontab. Here's the patch fixing it.

Original comment by ivovnenko on 9 Apr 2010 at 5:38

Attachments:

GoogleCodeExporter commented 9 years ago
Applied the patch on the trunk, thanks ivovnenko for the contribution!

Original comment by tobias.r...@gmail.com on 9 Apr 2010 at 6:37

GoogleCodeExporter commented 9 years ago
Included in the 0.1.4 release.

Original comment by tobias.r...@gmail.com on 26 Apr 2010 at 2:55