Plugin doesn't answer IPC on Omarchy 4.0.5: "ShellIpc is not a type" (min version not documented)

Aperta
#2 6 commenti 3 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 11 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
shell
Ambito
cli, documentation

Direzione di ricerca

Start with plugin/Launcher.qml around line 111, where the ShellIpc block is declared, and check whether omarchy-shell 4.0.5 provides that type or whether Quickshell's IpcHandler is the replacement. Then read the README's version requirement and the doctor and install checks that print "plugin did not answer". Done means the README names a working minimum version and doctor reports the QML load error instead of the generic message.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

On a fresh install, the plugin loads but never answers IPC, so the launcher can't be opened. oma-cast install ends with plugin did not answer, and oma-cast doctor fails the same checks.

Environment

  • Omarchy 4.0.5-1 (the package version; the README says "Requires Omarchy 4")
  • Quickshell 0.3.2 (distributed by Omarchy)
  • oma-cast at commit 107484e ("rename everything to oma-cast")

Steps

git clone https://github.com/typecraft-dev/oma-cast.git
cd oma-cast
bin/oma-cast install
oma-cast doctor

Actual result

oma-cast: plugin did not answer; check the shell log with: qs log -n -p "$OMARCHY_PATH/shell"
  ok    omarchy-shell is installed
  ok    omarchy-shell is running
  ok    socat is installed (fast shell IPC)
  ok    Hyprland socket is reachable
  ok    plugin is linked into /home/matias/.config/omarchy/plugins
  ok    plugin is enabled
  FAIL  plugin answers IPC
  FAIL  backend answers system.healthPing

Shell log when the plugin loads:

WARN scene: file:///home/matias/.config/omarchy/plugins/typecraft.oma-cast/Launcher.qml[111:3]: ShellIpc is not a type
WARN scene: @shell.qml[1360:-1]: ReferenceError: errorString is not defined

Cause (probably)

plugin/Launcher.qml:111 declares ShellIpc { target: "oma-cast" ... }. I can't find a ShellIpc type anywhere under /usr/share/omarchy/shell on 4.0.5-1. The only imports in Launcher.qml that could provide it are Quickshell, Quickshell.Hyprland and qs.Commons, and qs.Commons has no such type here. The first-party plugins in that tree use Quickshell's IpcHandler instead.

My guess is that oma-cast targets a newer omarchy-shell (or a dev branch) that ships ShellIpc. Is that right?

Request

  1. State the exact minimum omarchy / omarchy-shell version (or branch) in the README. "Requires Omarchy 4" isn't enough, since 4.0.5-1 fails.
  2. If it needs something newer than the stable package, say how to get it.
  3. Make oma-cast doctor / install report this case (for example, by checking the plugin loaded without QML errors) instead of only "plugin did not answer".
Lingua principale
JavaScript
Stelle
560
Fork
93
Merge medio
7g 19h
PR unite (30g)
19

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di typecraft-dev/oma-cast

Tutte le issue di typecraft-dev/oma-cast

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.