bug33070_chopwire_repro.toe (4.4 KB)
Build: TouchDesigner 2025.33070
OS: macOS 14.7.5, M1 MacBook Pro
Repro file attached: bug33070_chopwire_repro.toe
Wiring a CHOP in one COMP to a CHOP in a sibling COMP via Python. I
understand cross-network wiring may not be supported. The problem is the
failure mode, not the failure.
Results captured by the repro file:
-
dst.inputConnectors[0].connect(src)
exception : none
dst.inputs: -
dst.setInputs([src])
exception : none
dst.inputs: -
dst.inputs = [src]
exception : AttributeError: attribute ‘inputs’ of ‘td.OP’
objects is not writable
dst.inputs: -
CONTROL, same-COMP connect(local_chop)
exception : none
dst.inputs: [‘/project1/bug_33070/compB/local_chop’]
Attempts 1 and 2 return normally and leave no trace of failure anywhere:
no exception, dest_chop.errors() is empty, nothing in the textport, and
source_chop.outputConnectors[0].connections is . From the caller’s
side both operations look like they succeeded.
Attempt 3 is the correct behavior for an unsupported operation.
Attempt 4 confirms the destination wires normally within its own network.
Request: if connect() and setInputs() cannot succeed across a network
boundary, they should raise rather than return silently. As it stands
there is no way to detect the failure programmatically, which cost me
several hours during live production work.
Workaround: create the CHOP inside the source COMP and reference it by
path from outside.
Open bug_33070/results in the attached file for the captured output and
bug_33070/notes for the network layout.