Skip to content

Crash when adding an Extract node in the node editor #3897

@MoonKraken

Description

@MoonKraken

This happened when I tried to add an Extract node to my node graph.

panicked at node-graph/graph-craft/src/document.rs:140:13:
internal error: entered unreachable code: tried to resolve not flattened node on resolved node DocumentNode { inputs: [Node { node_id: NodeId(14611726732271876838), output_index: 0 }], call_argument: Context, implementation: Extract, visible: true, skip_deduplication: false, context_features: ContextDependencies { extract: ContextFeatures(0x0), inject: ContextFeatures(0x0) }, original_location: OriginalLocation { path: Some([NodeId(12671288997983977001)]), inputs_source: {}, dependants: [[]], inputs_exposed: [true] } }

Error
    at https://editor.graphite.art/assets/index-BPxHMP7l.js:988:1384
    at w (https://editor.graphite.art/assets/index-BPxHMP7l.js:970:73924)
    at Object.handleJsMessage (https://editor.graphite.art/assets/index-BPxHMP7l.js:970:74072)
    at https://editor.graphite.art/assets/index-BPxHMP7l.js:970:74496
    at https://editor.graphite.art/assets/index-BPxHMP7l.js:970:14904
    at Ke (https://editor.graphite.art/assets/index-BPxHMP7l.js:969:6188)
    at o.wbg.__wbg_call_833bed5770ea2041 (https://editor.graphite.art/assets/index-BPxHMP7l.js:970:14874)
    at graphite_wasm.wasm._ZN13graphite_wasm10editor_api12EditorHandle27send_frontend_message_to_js17hb921190d4deab3e4E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[807]:0x44c00d)
    at graphite_wasm.wasm._ZN4core3ops8function2Fn4call17hce3f3ec565af54aaE (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[19280]:0xe83259)
    at graphite_wasm.wasm._ZN3std9panicking20rust_panic_with_hook17he3dc6abfb01fb415E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[10755]:0xd5f456)
    at graphite_wasm.wasm._ZN4core9panicking9panic_fmt17h808dbde205a89691E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[15108]:0xdfddfe)
    at graphite_wasm.wasm._ZN11graph_craft8document12DocumentNode18resolve_proto_node17hfbc708601a0077b7E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[2204]:0x842771)
    at graphite_wasm.wasm._ZN15graphite_editor19node_graph_executor7runtime11NodeRuntime14update_network28_$u7b$$u7b$closure$u7d$$u7d$17hdba37b5e7e94c1a9E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[539]:0x2a0ca4)
    at graphite_wasm.wasm._ZN13graphite_wasm10editor_api26poll_node_graph_evaluation28_$u7b$$u7b$closure$u7d$$u7d$17hb8efde1575fb0f68E (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[436]:0x15d33b)
    at graphite_wasm.wasm._ZN20wasm_bindgen_futures5queue5Queue3new28_$u7b$$u7b$closure$u7d$$u7d$17h6f9538fcb2362dabE (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[5243]:0xb35731)
    at graphite_wasm.wasm._ZN136_$LT$dyn$u20$core..ops..function..FnMut$LT$$LP$A$C$$RP$$GT$$u2b$Output$u20$$u3d$$u20$R$u20$as$u20$wasm_bindgen..closure..WasmClosure$GT$8describe6invoke17h58bdee816e58e66fE (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[15648]:0xe05aba)
    at graphite_wasm.wasm.closure13061 externref shim (https://editor.graphite.art/assets/graphite_wasm_bg-BjpNRPYb.wasm:wasm-function[16542]:0xe0d8c1)
    at A2 (https://editor.graphite.art/assets/index-BPxHMP7l.js:970:968)
    at i (https://editor.graphite.art/assets/index-BPxHMP7l.js:969:8125)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions