[BUG] Cannot Create ServerSide Code Trigger - Printable Version +- TACTIC Open Source (http://forum.southpawtech.com) +-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3) +--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4) +--- Thread: [BUG] Cannot Create ServerSide Code Trigger (/showthread.php?tid=243) |
[BUG] Cannot Create ServerSide Code Trigger - LazyLeopard - 09-16-2021 Steps to reproduce bug or error: 1. From the project Configuration Widget Click on the trigger icon 2. Click the '+' icon to create a trigger 3. After providing a name, and event select "Run Serverside python/JS Code" - A button "script Editor" 4. After saving a script in scriptEditor 5. Press "Save" on the Create Trigger widget - An error alert appears along the lines of "script is empty" Stack trace from exception log: File "/opt/tactic/tactic/src/pyasm/command/command.py", line 267, in execute_cmd ret_val = cmd.execute() File "/opt/tactic/tactic/src/pyasm/prod/service/api_xmlrpc.py", line 287, in execute self2.results = exec_meth(self, ticket, meth, args) File "/opt/tactic/tactic/src/pyasm/prod/service/api_xmlrpc.py", line 317, in exec_meth results = meth(self, ticket, *new_args) File "/opt/tactic/tactic/src/pyasm/prod/service/api_xmlrpc.py", line 5879, in execute_cmd Command.execute_cmd(cmd) File "/opt/tactic/tactic/src/pyasm/command/command.py", line 267, in execute_cmd ret_val = cmd.execute() File "/opt/tactic/tactic/src/tactic/ui/tools/trigger_wdg.py", line 2340, in execute raise TacticException("Your script is empty. Please save a valid script.") Screenshots: [attachment=159] Version: Using docker hub image from diegocortassa/tactic:latest |