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

[crash] decpac crashes when pacman -Qm gives no results #7

Closed
crinklywrappr opened this issue Jul 7, 2020 · 3 comments
Closed

[crash] decpac crashes when pacman -Qm gives no results #7

crinklywrappr opened this issue Jul 7, 2020 · 3 comments

Comments

@crinklywrappr
Copy link

Original support thread: https://forum.artixlinux.org/index.php/topic,1586.0.html

pacman -Q has an exit status of 1 when no results are returned, and this causes decpac to crash here. There are several other places in the script where this might occur.

Can the code be made more resilient to this?

@rendaw
Copy link
Owner

rendaw commented Jul 8, 2020

Whoah awesome! I mean, not awesome but it's great to hear that you've tried it :). Definitely can work around this, although it might require some mole hammering. I'll take a look later today.

@rendaw
Copy link
Owner

rendaw commented Jul 8, 2020

Okay, should be fixed now! I published 0.0.9 to pypi too. Feel free to reopen this if I didn't actually fix it 😅

@rendaw rendaw closed this as completed Jul 8, 2020
@crinklywrappr
Copy link
Author

That did the trick. Thanks!

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