Skip to content

Extension Fails to Find 'wsi' Script Despite Correct Configuration on Fedora #13

@The-Tourist-170

Description

@The-Tourist-170

Environment:

Operating System: Fedora (e.g., Fedora 40)

GNOME Version: (e.g., GNOME 46)

Installation Method: Manually cloned from the GitHub main branch.

Problem Description:

After a thorough manual installation and configuration process, the Blurt extension consistently fails to load. It displays a persistent error notification: Blurt Error: wsi script not found or not executable in configured path. Check preferences.

This error occurs even when the configuration path is set to the correct, absolute path of the wsi script, and all system-level checks (permissions, interpreters, security policies) have been passed.

Troubleshooting Steps Taken:

I have gone through an extensive process to diagnose the issue. The key steps and final configuration are as follows:

Backend Setup: Initially, I compiled whisper.cpp from source. To simplify, I later switched to the recommended llamafile method. The whisper-tiny.en.llamafile was downloaded and placed at ~/.local/bin/transcribe.

wsi Script Correction: The wsi script itself required several fixes to run manually in the terminal:

Made executable with chmod +x wsi.

Converted from DOS to Unix line endings with dos2unix wsi.

Installed the required zsh interpreter with sudo dnf install zsh.

PATH Configuration: Ensured the shell could find the transcribe executable by adding ~/.local/bin to the PATH. The command which transcribe correctly resolves to /home/kan3ki/.local/bin/transcribe.

Manual gsettings Configuration: To bypass issues with the wsi script's interactive setup, I configured the extension directly. The final, correct configuration is:

Whisper Path: Set to the absolute path of the wsi script itself.

gsettings set org.gnome.shell.extensions.blurt whisper-path '/home/kan3ki/.local/share/gnome-shell/extensions/blurt@quantiousbenignus.local/wsi'

Model Path: Set to a valid directory to satisfy the "complete configuration" check.

gsettings set org.gnome.shell.extensions.blurt model-path '/home/kan3ki/.local/bin'

SELinux Check: Ruled out SELinux as the cause by temporarily putting it in permissive mode with sudo setenforce 0. The error persisted.

Conclusion:

Despite the whisper-path pointing directly to the wsi script and all permissions and dependencies being correct, the extension still reports that it cannot find or execute the script. This suggests a potential bug within the extension's code for how it validates the path or launches the script on Fedora.

Thank you for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions