RESOLVED: toe prevents OP Snippet from opening properly

Win 10, Build 2018.26450

I was just doing some experiment with the scriptSop, and found that my toe file was causing an error with the OP Snippet. I get the following error in my Text Port. I have attached my project file with this post, so you can try it out for yourself.

Traceback (most recent call last):
File “/ui/dialogs/OPSnippetsShell/extSnippets”, line 20, in OpenSnippets
File “/ui/dialogs/OPSnippetsShell/extSnippets”, line 36, in Initialize
td.Error: Invalid or duplicate pane name.
/ui/dialogs/mainmenu/menu/dropdown/script (Line 15 - tab("$gadget/commands",$digit,0)): dialogs: Invalid usage
dialogs
Usage:
dialogs [interface]

Description:
	This command will open a window containing a selection for all
	available dialogs. If an interface is specified, that dialog will
	be opened instead.

Oct 18 Script Sop.toe (4.11 KB)

This is a strange situation where the pane’s name you are using in your main worksheet became ‘snippets’ which is used to open the OP Snippets example. You can see a pane’s name in the drop-down menu in the top-right of the of the pane.

To fix this file, split the panes left/right or top/bottom, then close the original one called ‘snippets’. Now your file should work normally.

We’ll look at how this ‘snippets’ pane got into your worksheet, but haven’t seen this before. Do you remember doing anything specifically with OP Snippets?

1 Like