question

Shankar Narayan avatar image
1 Like"
Shankar Narayan asked Matthew Gillespie edited

FlexScript Errors in User Interface happening randomly

Hello @phil.bobo

Any idea why we are getting such random GUI errors (see below) while trying to work with the PF & 3D model at the same time? Appears to be an internal FlexSim program error and not connected with any of the model objects.

Flexscript ErrorVIEW:/active/MainPanel/BackPanel/SplitterXPane/ToolTabPane~2/TabControl/QuickProperties/ToolPanel/ActivityProperties/Activity Properties>variables/cachedPanels/ActivityPropsTemplate~12/AssignLabels/AssignLabels/Scroll/Panel/Template7439/DragWidget>bitmap Line 1invalid character <\> ascii = 92 Flexscript ErrorVIEW:/active/MainPanel/BackPanel/SplitterXPane/ToolTabPane~2/TabControl/QuickProperties/ToolPanel/ActivityProperties/Activity Properties>variables/cachedPanels/ActivityPropsTemplate~12/AssignLabels/AssignLabels/Scroll/Panel/Template7439/DragWidget>bitmap Line 1unknown variable "buttons" Flexscript ErrorVIEW:/active/MainPanel/BackPanel/SplitterXPane/ToolTabPane~2/TabControl/QuickProperties/ToolPanel/ActivityProperties/Activity Properties>variables/cachedPanels/ActivityPropsTemplate~12/AssignLabels/AssignLabels/Scroll/Panel/Template7439/DragWidget>bitmap Line 1syntax error, unexpected identifier, expecting end of code Could not finish parsing because of previous errors.

FlexSim 16.2.2
flexscriptuser interfacesystem console error
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

You just need to close and reopen the window that it's complaining about (Quick Properties in this case) or use View -> Open Default Workspace to refresh the whole workspace.

Like Sam said, let us know if you find a consistent way to repeat the error.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered

You're not the first to have seen this GUI error. We're really sorry about any inconvenience. I've noticed that if you "save as" (name the file differently) then close out of the program completely, before reopening your file, then usually the error will be gone.

If you are ever able to repeat the error. Let us know exactly what happened prior to the error message, and perhaps include the example model as well. This will help us figure out what is causing the error to fire.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.