Script on protocol : remove output

19 views
Skip to first unread message

MLB

unread,
Aug 7, 2015, 6:21:48 AM8/7/15
to Icy imaging
Hi,
I use script on protocol ... and don't reach to remove output1.
(I only  need output0)
Any ideas ?

Thank you for your help,
Marie Laure

Stephane

unread,
Aug 7, 2015, 8:51:34 AM8/7/15
to Icy imaging
Hi,

Unfortunately i think you can't but that should not be a problem. Why you want to remove it ?

Marie-Laure Boizeau

unread,
Aug 7, 2015, 8:59:04 AM8/7/15
to icy-so...@googlegroups.com
Hi Stephane,

Happy to read you :-)

I have "strange message" at the end :

An error occured while plugin 'EzPlug SDK' was running :
java.lang.ClassCastException: Cannot interpret 0-17 as an object of type class [Licy.roi.ROI;
    at plugins.adufour.vars.lang.VarMutable.setValue(VarMutable.java:176)
    at plugins.tprovoost.scripteditor.scriptblock.Javascript.run(Javascript.java:90)
    at plugins.adufour.blocks.lang.BlockDescriptor.run(BlockDescriptor.java:540)
    at plugins.adufour.blocks.lang.WorkFlow.run(WorkFlow.java:832)
    at plugins.adufour.blocks.lang.BlockDescriptor.run(BlockDescriptor.java:540)
    at java.lang.Thread.run(Unknown Source)


I'm wondering, if it's associated to local variable and global variable.
Sometimes it's the same name ...

Any ideas about this erro  ...?

Thank you for your help,

Marie Laure


--
You received this message because you are subscribed to a topic in the Google Groups "Icy imaging" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/icy-software/ZekI93WZ_-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to icy-software...@googlegroups.com.
To post to this group, send email to icy-so...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/icy-software/2fb1be65-3e82-4186-aea7-898f69c1868c%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Marie-Laure Boizeau

unread,
Aug 7, 2015, 9:05:39 AM8/7/15
to icy-so...@googlegroups.com
Hi Stephane,
It was associated to the output.

The type of my output wasn't match to my variable.
All my Apologizes !

Marie Laure


Stephane

unread,
Aug 7, 2015, 9:42:20 AM8/7/15
to Icy imaging
Hi Marie-Laure,

Glad you found the problem :) Indeed "java.lang.ClassCastException" or "Cannot interpret xxx as an object of type class yyyy" generally mean a mismatch between current type and expected type. This usually happen when you write script as others blocks cannot mess there internal type ;)

- Stephane
Reply all
Reply to author
Forward
0 new messages