- no sockets on Frame nodes
- no Input sockets on Group Input nodes
- no Output sockets on Group Output nodes
I think this should be an assert in nodeAddSocket. An additional check in rna code seems appropriate. There you could also check for group inputs and group output nodes, I think. Does this throw a Python exception now?