SkylineDailyRunner.exe error via Symphony

support
SkylineDailyRunner.exe error via Symphony sarah lennon  2019-04-24
 

Hi Skyline team,

I am trying to use the SkylineDailyRunner.exe via Symphony (a Waters server application allowing the automation of tasks). This used to work with SkylineDailyRunner.exe downloaded the 7th of Sept 2017. It does not work anymore with today's version. I got this error back :

"Unhandled Exception: System.IO.IOException: The handle is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at System.Console.get_BufferWidth()
at SkylineRunner.Program.run(IEnumerable`1 args)
at SkylineRunner.Program.Main(String[] args)"

Do you know what it means ?
Worth mentioning as well that the exact same commands from a terminal works fine.

Thank you very much for your help !

Cheers,

Sarah

 
 
Nick Shulman responded:  2019-04-24
A new feature of the Skyline-daily commandline is that it will display help text if you make a mistake with the commandline arguments. In order to make the help text look nice, SkylineDailyRunner tries to figure out how wide the console screen is. It sounds like you have found a way of invoking SkylineDailyRunner where there is no console window, and so our code is causing an error.

I am attaching a different SkylineDailyRunner.exe that I just made, which I think will fix the problem for you. Can you tell me whether it works for you? If it does work, then we will update the real SkylineDailyRunner.exe the next time we release a new Skyline-Daily.
-- Nick
 
sarah lennon responded:  2019-04-24
Hi Nick,

It is working now ! Thank you very much !

Cheers,

Sarah