Skip to content

[Bug]: Nix package fails due to Qt version mismatch #988

Open
@CommentatorForAll

Description

@CommentatorForAll

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Latest git (rev 7176908)

Operating System & Version

NixOS 25.05

Description

i tried to run the project both with nix run github:TagStudioDev/TagStudio#tagstudio and nix run within the cloned repository, resulting in the following error messages:

2025-07-13 16:51:27 [error    ] [ThumbRenderer] Could not import the "pillow_jxl" module
Traceback (most recent call last):
  File "/nix/store/r3hf69imbw20w923x4ij5xdl9saz16ss-TagStudio-9.5.2/lib/python3.12/site-packages/tagstudio/qt/widgets/thumb_renderer.py", line 82, in <module>
    import pillow_jxl  # noqa: F401 # pyright: ignore[reportUnusedImport]
    ^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pillow_jxl'

and later

Cannot mix incompatible Qt library (6.9.1) with this library (6.9.0)
[1]    94961 IOT instruction (core dumped)  nix run

resultin in an immediate crash.

Expected Behavior

all imports being found and not having an qt related crash

Steps to Reproduce

  1. boot a nixos system
  2. run nix run github:TagStudioDev/TagStudio#tagstudio

Logs

perovskite ~/coding/TagStudio  main
❯ nix run
2025-07-13 16:51:27 [info ] [FFmpeg] Using FFprobe location: ffprobe (Found)
2025-07-13 16:51:27 [info ] [FFmpeg] Using FFmpeg location: ffmpeg (Found)
2025-07-13 16:51:27 [error ] [ThumbRenderer] Could not import the "pillow_jxl" module
Traceback (most recent call last):
File "/nix/store/r3hf69imbw20w923x4ij5xdl9saz16ss-TagStudio-9.5.2/lib/python3.12/site-packages/tagstudio/qt/widgets/thumb_renderer.py", line 82, in
import pillow_jxl # noqa: F401 # pyright: ignore[reportUnusedImport]
^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pillow_jxl'
2025-07-13 16:51:27 [info ] [ResourceManager] Resources Registered: count=31
2025-07-13 16:51:27 [info ] [Settings] Global Settings File Path not specified, using default
2025-07-13 16:51:27 [warning ] [Settings] Global Settings File does not exist creating path=PosixPath('/home/perovskite/.config/TagStudio/settings.toml')
2025-07-13 16:51:27 [info ] [Cache] Cache File not specified, using default one filename=/home/perovskite/.config/TagStudio/TagStudio.ini
2025-07-13 16:51:27 [info ] [Config] Thumbnail cache size limit: 500 MB
Cannot mix incompatible Qt library (6.9.1) with this library (6.9.0)
[1] 94961 IOT instruction (core dumped) nix run

log of nix build:

build_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions