essential-actions icon indicating copy to clipboard operation
essential-actions copied to clipboard

Calling Executable doesn't seem to work

Open dkowis opened this issue 2 years ago • 3 comments

I wrote a simple ruby executable to call some Home Assistant APIs, and it works just fine from the command line.

Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: Sep 13, 2022 10:04:45 AM com.stream_pi.server.controller.Controller$3 call
Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: INFO: action 03f79e88-67e7-47fd-9136-ab6fba2db67b clicked!
Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: [pool-2-thread-6] :: com.stream_pi.server.controller.Controller$3 @ call -> :INFO = action 03f79e88-67e7-47fd-9136-ab6fba2db67b clicked!
Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: Sep 13, 2022 10:04:45 AM com.stream_pi.runexecutableaction.RunExecutableAction onActionClicked
Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: INFO: Full array : [/home/dkowis/gitwork/hass_scripts/keylights.rb, on]
Sep 13 10:04:45 raziel-linux stream-pi-server-Stream-Pi_Server.desktop[1074120]: [pool-2-thread-6] :: com.stream_pi.runexecutableaction.RunExecutableAction @ onActionClicked -> :INFO = Full array : [/home/dkowis/gitwork/hass_scripts/keylights.rb, on]

I can call that command from the CLI just fine, and my lights turn on, but nothing happens when using the Executable action. I don't know why.

dkowis avatar Sep 13 '22 15:09 dkowis

I'm getting the same behavior. Not working with executables. You happen to find a workaround for this?

clrj14 avatar Nov 13 '22 10:11 clrj14

I'm getting the same behavior. Not working with executables. You happen to find a workaround for this?

Sadly, I did not. Ended up moving away from it anyway, as my working environment changed enough that I can't use it right now :(

dkowis avatar Nov 14 '22 16:11 dkowis

Hi, does this issue happen with both 1.0.0. EA+3 and latest snapshots?

rnayabed avatar Nov 14 '22 17:11 rnayabed