{"record":{"id":"825da3e1c4acf884","repo":"sipeed/picoclaw","slug":"failed-to-start-any-enabled-channels","errorCode":null,"errorMessage":"failed to start any enabled channels","messagePattern":"failed to start any enabled channels","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/channels/manager.go","lineNumber":1277,"sourceCode":"\t\tgo m.runMediaWorker(dispatchCtx, name, w)\n\t\tm.publishChannelEvent(\n\t\t\truntimeevents.KindChannelLifecycleStarted,\n\t\t\tname,\n\t\t\truntimeevents.Scope{Channel: name},\n\t\t\truntimeevents.SeverityInfo,\n\t\t\tChannelLifecyclePayload{Type: channelType},\n\t\t)\n\t}\n\n\tif len(m.channels) > 0 && len(m.workers) == 0 {\n\t\tif m.dispatchTask != nil {\n\t\t\tm.dispatchTask.cancel()\n\t\t\tm.dispatchTask = nil\n\t\t}\n\n\t\tsort.Strings(failedNames)\n\t\tif len(failedStarts) == 0 {\n\t\t\treturn fmt.Errorf(\"failed to start any enabled channels\")\n\t\t}\n\n\t\tlogger.ErrorCF(\"channels\", \"All enabled channels failed to start\", map[string]any{\n\t\t\t\"failed\":          len(failedNames),\n\t\t\t\"total\":           len(m.channels),\n\t\t\t\"failed_channels\": failedNames,\n\t\t})\n\n\t\treturn fmt.Errorf(\"failed to start any enabled channels: %w\", errors.Join(failedStarts...))\n\t}\n\n\tif len(failedNames) > 0 {\n\t\tsort.Strings(failedNames)\n\t\tlogger.WarnCF(\"channels\", \"Some channels failed to start\", map[string]any{\n\t\t\t\"failed\":          len(failedNames),\n\t\t\t\"started\":         len(m.workers),\n\t\t\t\"total\":           len(m.channels),\n\t\t\t\"failed_channels\": failedNames,","sourceCodeStart":1259,"sourceCodeEnd":1295,"githubUrl":"https://github.com/sipeed/picoclaw/blob/49183d7e8daed0dba89ddbb6fcb60089401d9680/pkg/channels/manager.go#L1259-L1295","documentation":"Error \"failed to start any enabled channels\" thrown in sipeed/picoclaw.","triggerScenarios":"Thrown at pkg/channels/manager.go:1277 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"49183d7e8daed0dba89ddbb6fcb60089401d9680","analyzedAt":"2026-08-15T21:55:41.315Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}