PixInsight Forum (historical)

PixInsight => Bug Reports => Topic started by: David Serrano on 2008 September 12 13:34:31

Title: HTML formated error in console
Post by: David Serrano on 2008 September 12 13:34:31
Hi,

When an image is being used by a dynamic process,  it is "busy" and little can be done with it. Usually a dialog appears to inform the user about this. But when trying to perform an operation on the image from a script, the error appears on the processing console with some surrounding HTML markup:

Code: [Select]
*** Error [000]: /home/hue/ll/lang/js/foo.js, line 97: <p style="white-space:pre;">image1</p><p style="white-space:pre;">The view is being used by an active dynamic interface.</p>

The message would be more user friendly if were presented in a dialog, or plain text in the console:

Code: [Select]
*** Error [000]: /home/hue/ll/lang/js/foo.js, line 97: image1: The view is being used by an active dynamic interface.
Title: HTML formated error in console
Post by: Juan Conejero on 2008 September 15 14:56:15
Hi David,

Yes, you're right. Currently, when a tag (something between '<' and '>') isn't recognized by the console, it is written literally. The correct behavior would be to silently eat unknown/invalid tags, so they'd have no effect. This will be fixed in the next version.

Add one more to your account ;)