{"record":{"id":"cb36bc4afc8e19fb","repo":"AlistGo/alist","slug":"path-not-found-s-looking-for-part-s","errorCode":null,"errorMessage":"path not found: %s (looking for part: %s)","messagePattern":"path not found: (.+?) \\(looking for part: (.+?)\\)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/proton_drive/util.go","lineNumber":100,"sourceCode":"\n\t\tentries, err := d.protonDrive.ListDirectory(ctx, currentLink.LinkID)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"failed to list directory: %w\", err)\n\n\t\t}\n\n\t\tfound := false\n\t\tfor _, entry := range entries {\n\t\t\t// entry.Name is already decrypted!\n\t\t\tif entry.Name == part && entry.IsFolder == searchForFolder {\n\t\t\t\tcurrentLink = entry.Link\n\t\t\t\tfound = true\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\tif !found {\n\t\t\treturn nil, fmt.Errorf(\"path not found: %s (looking for part: %s)\", fullPath, part)\n\t\t}\n\t}\n\n\treturn currentLink, nil\n}\n\nfunc (pr *progressReader) Read(p []byte) (int, error) {\n\tn, err := pr.reader.Read(p)\n\tpr.current += int64(n)\n\n\tif pr.callback != nil {\n\t\tpercentage := float64(pr.current) / float64(pr.total) * 100\n\t\tpr.callback(percentage)\n\t}\n\n\treturn n, err\n}\n","sourceCodeStart":82,"sourceCodeEnd":118,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/proton_drive/util.go#L82-L118","documentation":"Error \"path not found: %s (looking for part: %s)\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/proton_drive/util.go:100 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the referenced file/path/ID exists and is correct, then retry the operation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}