"Iteration over non sequence of type brep", in compiled .ghpy component

Any help here ? Non compiled version works as expected, coercing the brep inside the component won’t help. What am I doing wrong ?

Forgot to mention, top component is a ghpy component, the one below is the “compiled” version.
Been struggling with this for quite some time, any help ?

Can you post the file?

Why are you importing rhinoscriptsyntax twice?

Aah, good catch Miguel, thanks for stepping in. Probably just pasted code from another longer script and missed deleting that line. Sorry, cannot attach file now, on a phone. But really, it’s just two lines of code that you have to write if you start a new. Ghpy component. Do you get the same error?