problem with launching aws instance using the cfddfc CLI
Hi
I get this error when I try to use the launch command from the cfddfc CLI: $ cfddfc launch -instance list date: invalid date ‘Fev 3 2018’ /usr/local/cfddfc-cli/bin/launch: 182: [: Illegal number: **** There is a new version of the CFDDFC Command Line Interface (these scripts) available now. Please follow the instructions to install the latest version: https://cfd.direct/cloud/aws/cli/install/ **** I don't understand what's wrong! I have configured the aws and I can run "cfddfc config" and it shows that everything is configured. I tried to install again the cfddfc but the same problem happens any help or suggestions, please? I am using Ubuntu 16.04 LTS |
I have just met the same problem!
|
Running on macOS Catalina 10.15.7, the "date" command used in the bash lib file "config" in the /usr/local/cfddfc-cli/lib folder (system wide installation), within the "checkCliUpdate" function, while setting the "_minus_two_weeks" variable (line 246 of config), was using a "-d" option not recognised by the version of date available on my OS. Basically what I did was use a different command for setting the "_minus_two_weeks" variable, given below:
_minus_two_weeks="$(date -v-14d +%Y%m%d)" That did it for me. This command gets the current date and subtracts fourteen days from it and outputs the date with year followed by month and day, without any separators. But... I have found other parts that have not worked properly on my OS and so far I have not been able to submit jobs via cfddfc. |
All times are GMT -4. The time now is 17:20. |