Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,370 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
desktop, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
2.3k
Fork
236
Merge trung bình
3 giờ 30 phút
Pull request đã merge (30 ngày)
293

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GCWing/OpenBitFun

Tất cả issue của GCWing/OpenBitFun

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.