xbar icon indicating copy to clipboard operation
xbar copied to clipboard

Meta Package Manager plugin returns ERR: signal killed

Open ncihnegn opened this issue 2 years ago • 3 comments

Running in terminal is fine.

One thing standing out is that mpm needs a few minutes to finish. Does xbar has a timeout mechanism?

[plugins] mpm --output-format json outdated --cli-format xbar { "brew": { "errors": [], "id": "brew", "name": "Homebrew Formulae", "packages": [] }, "cask": { "errors": [], "id": "cask", "name": "Homebrew Cask", "packages": [] }, "gem": { "errors": [], "id": "gem", "name": "Ruby Gems", "packages": [ { "id": "nokogiri", "installed_version": "1.10.1", "latest_version": "1.12.4", "name": "nokogiri", "upgrade_cli": "shell=/usr/bin/gem | param1=update | param2=--user-install | param3=--quiet | param4=nokogiri" } ], "upgrade_all_cli": "shell=/usr/bin/gem | param1=update | param2=--user-install | param3=--quiet" }, "mas": { "errors": [], "id": "mas", "name": "Mac AppStore", "packages": [] }, "npm": { "errors": [], "id": "npm", "name": "Node's npm", "packages": [] }, "pip": { "errors": [], "id": "pip", "name": "Pip", "packages": [] }, "yarn": { "errors": [], "id": "yarn", "name": "Node's yarn", "packages": [] } }

ncihnegn avatar Sep 26 '21 08:09 ncihnegn

If I don't check for pip, it will work.

ncihnegn avatar Sep 26 '21 08:09 ncihnegn

Looks like xbar timeout is hard-coded to 2 minutes since v2.1.7-beta as per https://github.com/matryer/xbar/commit/3a8508a6191735999a963a596f226485ed0e6295 . This was bumped following #735.

I guess what you need is the feature describe in https://github.com/matryer/xbar/issues/704 which will allow for user-defined timeout.

kdeldycke avatar Jan 02 '22 16:01 kdeldycke

If I don't check for pip, it will work.

In that case you can let mpm always ignore pip by creating a config file at ~/.mpm/config.toml, and put this in:

[mpm]
exclude = ["pip"]

kdeldycke avatar Jan 02 '22 16:01 kdeldycke