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

Error "Failed to decode JSON: invalid character 'b' looking for beginning of value" on startup (Ubuntu 20.04) #7

Open
ristomatti opened this issue Dec 26, 2024 · 1 comment

Comments

@ristomatti
Copy link

The app crashes on startup on my Ubuntu 20.04 based OS:

$ lazyjournal
2024/12/26 23:01:04 Failed to decode JSON: invalid character 'b' looking for beginning of value

I couldn't use the official release binary due to Ubuntu 20.04's ancient GLIBC version, so I've installed the package via go install github.com/Lifailon/lazyjournal. I also tried building from source as instructed on the README, but got the same result. Running with sudo did not make a difference either.

Also after the error, my terminal rendering breaks, e.g.

$ ls /dev/input      
by-id    event11  event16  event20  event25   event26   event3   event6  mouse0  mouse5
                                                                                       by-path  event12  event17  event21  event256  event260  event30  event7  mouse1  mouse6
                                                                           event0   event13  event18  event22  event257  event27   event31  event8  mouse2  mouse7

Running reset fixes this though.

@Lifailon
Copy link
Owner

When running from source code, everything works without errors?

I'll try to find out what this error might be related to and give feedback in a few days.

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