Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Bug]: linux端无法导入petdex形象包

未關閉
#3,370 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@kev1n77 已經在處理了。

開始於 2026年10月15日。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
rust
領域
desktop, security

研究方向

The log lines name the three frontend entry points, PetSettingsSection, AgentCompanionPetService and AgentCompanionPet, and the rejected path under ~/.config/openbitfun/data/agent-companions/pet-<hash>/spritesheet.webp. Start by finding where the app's path allowlist is defined and where the 'forbidden path' error is raised, then check whether the agent-companions data directory is missing from it on Linux. Done when importing both petdex v1 and v2 packs succeeds on Linux without the forbidden-path error.

由索引模型根據 Issue 內容生成。

描述

Summary

无论导入petdex的v1或v2模型,都显示“错误:导入宠物形象失败”。
日志显示 forbidden path,推测可能是petdex导入的目录没有在应用的访问白名单内。
复现设备:Arch Linux(wayland/KDE plasma)、Debian13(KDE plasma)

Area

Desktop app

Reproduction or evidence
[PetSettingsSection] Failed to import Agent companion pet forbidden path: /home/<u>/.config/openbitfun/data/agent-companions/pet-<hash>/spritesheet.webp
[AgentCompanionPetService] Failed to list Agent companion pets forbidden path: /home/<u>/.config/openbitfun/data/agent-companions/pet-<hash>/spritesheet.webp
[AgentCompanionPet] Failed to resolve Agent companion pet forbidden path:  /home/<u>/.config/openbitfun/data/agent-companions/pet-<hash>/spritesheet.webp
Environment, if relevant

No response

主要語言
Rust
星號
2.3k
分支
236
平均合併
3 小時 42 分鐘
30 天內合併 PR
271

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GCWing/OpenBitFun 的其他 Issue

查看 GCWing/OpenBitFun 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。