Skip to content

[BUG] Error 21: is a directory when installing a game from 7z archive #181

@fpiesche

Description

@fpiesche

Describe the bug
Most of my library is in 7z archives. Trying to download any of them preallocates one or two of the files before failing out with a message saying "Error 21: is a directory". This happens even on archives that do not contain any directories.

To Reproduce
Steps to reproduce the behavior:
Install a 7z-compressed game.

Expected behavior
Installation should work.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Aurora (Fedora Atomic desktop, comparable to Bazzite)
  • App Version: unsure. Installed this week via distrobox instructions.

Additional context
Add any other context about the problem here.
Terminal log excerpt:

2026-02-01T10:22:22.369780260+00:00 | INFO | download_manager/src/download_manager_frontend.rs:110 - creating download with meta DownloadableMetadata { id: "bcc5f6b7-5510-4ef0-835e-e76be74005ad", version: Some("Whirlibird [v1.2][Windows].7z"), download_type: Game }
2026-02-01T10:22:22.375681278+00:00 | INFO | download_manager/src/download_manager_builder.rs:244 - starting download for DownloadableMetadata { id: "bcc5f6b7-5510-4ef0-835e-e76be74005ad", version: Some("Whirlibird [v1.2][Windows].7z"), download_type: Game }
2026-02-01T10:22:22.381213940+00:00 | ERROR | download_manager/src/download_manager_builder.rs:258 - download DownloadableMetadata { id: "bcc5f6b7-5510-4ef0-835e-e76be74005ad", version: Some("Whirlibird [v1.2][Windows].7z"), download_type: Game } has error io error: Is a directory (os error 21)
2026-02-01T10:22:22.381349437+00:00 | ERROR | games/src/downloads/download_agent.rs:675 - error while managing download: IoError(Os { code: 21, kind: IsADirectory, message: "Is a directory" })
2026-02-01T10:22:22.386785995+00:00 | ERROR | games/src/downloads/download_agent.rs:675 - error while managing download: IoError(Os { code: 21, kind: IsADirectory, message: "Is a directory" })

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions