Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta Package Manager plugin returns ERR: signal killed #777

Open
ncihnegn opened this issue Sep 26, 2021 · 3 comments
Open

Meta Package Manager plugin returns ERR: signal killed #777

ncihnegn opened this issue Sep 26, 2021 · 3 comments

Comments

@ncihnegn
Copy link

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
Copy link
Author

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

@kdeldycke
Copy link

Looks like xbar timeout is hard-coded to 2 minutes since v2.1.7-beta as per 3a8508a . This was bumped following #735.

I guess what you need is the feature describe in #704 which will allow for user-defined timeout.

@kdeldycke
Copy link

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"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants