Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Crash with "invalid character" error message. #12

Closed
chrisjbillington opened this issue Feb 21, 2020 · 3 comments
Closed

Crash with "invalid character" error message. #12

chrisjbillington opened this issue Feb 21, 2020 · 3 comments
Assignees

Comments

@chrisjbillington
Copy link

chrisjbillington commented Feb 21, 2020

Describe the bug
I've just installed the latest pacaudit from the AUR. When I run it, it is crashing with the error message invalid character 'I' looking for beginning of value

To Reproduce
Steps to reproduce the behavior:

  1. run pacaudit

Expected behavior
List of vulnerable packages

Actual behaviour

bash

$ pacaudit -v
2020/02/21 16:21:17 invalid character 'I' looking for beginning of value
@chrisjbillington
Copy link
Author

Oh, it's because https://security.archlnux.org is down.

The I in the error message is is from Internal Server Error :p

Nonetheless, perhaps if pacaudit gets a non-200 response from security.archlinux.org it could crash with an error message saying that that's the issue

@steffenfritz
Copy link
Owner

Thanks for the report. Yes, valid point, this should be handled. I will take care of it.

@R-a-l-f
Copy link

R-a-l-f commented Feb 21, 2020

Since we noticed the server issue during a thread at the Arch general mailing list, I first was against reporting the issue, but after rethinking it, I agree with you Chris. It should not result in an error message, but in a warning, mentioning that there is a server issue.

Thank you for reporting the issue, before I reconsidered my opinion.

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

No branches or pull requests

3 participants