Like so;
- Code: Select all
Script Error embedded script: invalid syntax
thanks,
bob
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Script Error embedded script: invalid syntax
bob wrote:How do you use Python to write to the log in the same manner you would Applescript? Can you make it red?
- Code: Select all
Script Error embedded script: invalid syntax
bob wrote:Ben,
Thanks for your reply. I have Python script that parses an xml file on my network. Sometimes it doesn't make the connection and I get a URLError. The error is written to the log but does not have "Script Error" title in the log. I want the script to write the error to the log as a Script Error. See my script and the error here;
viewtopic.php?f=18&t=8856
bob wrote:... The error is written to the log but does not have "Script Error" title in the log. I want the script to write the error to the log as a Script Error.
indigo.server.log("Text in log file", "Script", isError=True)
Users browsing this forum: No registered users and 1 guest