Closed AmberSJones closed 7 years ago
If you double click on the StreamDataLoaderWizard.exe you'll get that error and it's because it expects an input file. Try running the file from the command line. From the command line navigate to it and then run a command like the one below.
./StreamingDataLoader.exe -c C:\Users\Francisco\Desktop\SDL Folder\LoadTest.yaml
I gave it a yaml file as an argument.
@AmberSJones @horsburgh this is more a question of functionality, do we want a default location that the code looks for a setup file if none is sent in as a parameter? Other than that I think it is just an issue of figuring out how to send in command line arguments when running from the windows task scheduler. Here is a link to an issue where they show how to add arguments.
I think the default location to look for a setup file should be the same folder as the code. The command line parameter should be capable of using any setup file from any path, but if one is not specified, look in the folder where the code is located. If there's not one there, throw an error.
"base case" of searching for a default yaml file in the current working directory if no arguments are provided is added. Executable will still fail if no yaml file is present, and does not check if yaml file is the correct configuration for the program to run.
Ready for testing, branch issue_79
I've been unable to get the executable to run via the Windows task scheduler or manually. This error flashes on and off, but I was able to capture it with a screenshot.