cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

dev.cables.gl: Team op cannot be placed on dev.cables.gl and regular cables.gl #813

Closed TobyKLight closed 3 months ago

TobyKLight commented 3 months ago

Describe the bug I created an op (twice now) in a team Part way through patching it disappears I can still see it in the op browser. When I try to recreate it I get an error in the log "no op....."

image

How To Reproduce To reproduce

Platform

pandrr commented 3 months ago

this should be fixed now. you have an syntax error in your code and no exception was shown. you should be able to identify the error now.

this problem was ONLY happening on dev.cables.gl. next time please tell us that, maybe in the title of the issue somehow

TobyKLight commented 3 months ago

Hi

I'm afraid it's not fixed for me. Cannot create the node, open the code editor and fix the syntax error. Have reset cache.

I get the following error on dev.cables.gl

ErrorOnDevCablesGL

I'm not sure what you mean about the bug being only on dev.cables.gl. It never worked on regular cables.gl, and still doesn't. I updated the title and will add that info to the titles in future.

ErrorOnRegularCablesGl
pandrr commented 3 months ago
Screenshot 2024-07-30 at 18 52 02

you are trying to use a variable called "result" but you only have a port variable called "outResult"

TobyKLight commented 3 months ago

Thanks for the tip. The problem I'm talking about in this issue is not the error in the custom op code.

The problem I'm having is I cannot create a FlipFlop op in order to press the edit code button to update that error. Also the FlipFlip ops that I already placed in my original patch have disappeared.

If one syntax error lock you out from editing the code at all this is not ideal.

pandrr commented 3 months ago

you can reach an editor on the op page itself, or click the manage op icon in the op search

Screenshot 2024-07-30 at 18 58 26
pandrr commented 3 months ago
Screenshot 2024-07-30 at 18 58 48
TobyKLight commented 3 months ago

Ok, thanks.

Honestly until now didn't know about those other methods for editing code.