`Could not parse JSON` error on boot, resolves after i3 refresh
See original GitHub issueBug Report
Description
Affected module: All Version used: AUR
<description> On first boot I get this error displayed in the i3 bar:After I reload i3 everything works as expected, it only happens just after I start the computer
How to reproduce
Config File used:
[core]
modules=spotify,sensors2,cpu,memory,disk,datetime,pulseout,dunst
autohide=cpu,memory,disk,sensors2
theme=custom-powerline
[module-parameters]
disk.format={left}
memory.format={percent:05.02f}%
cpu.format={:05.02f}%
datetime.format=%d/%m/%y %H:%M
cpu.percpu=true
sensors2.chip_include=coretemp, acpitz
sensors2.showcpu=false
sensors2.showname=true
spotify.format={artist}-{title}
Theme file used:
{
"icons": [ "awesome-fonts" ],
"colors": [{
"red": "#BF616A",
"orange": "#D08770",
"yellow": "#EBCB8B",
"green": "#A3BE8C"
}],
"defaults": {
"warning": {
"fg": "#2E3440",
"bg": "#D08770"
},
"critical": {
"fg": "#2E3440",
"bg": "#BF616A"
},
"separator-block-width": 0
},
"cycle": [
{ "fg": "#D4E4F1", "bg": "#260273"},
{ "fg": "#D4E4F1", "bg": "#150140"}
],
"dnf": {
"good": {
"fg": "#A3BE8C",
"bg": "#2E3440"
}
},
"apt": {
"good": {
"fg": "#A3BE8C",
"bg": "#2E3440"
}
},
"pacman": {
"good": {
"fg": "#A3BE8C",
"bg": "#2E3440"
}
},
"battery": {
"charged": {
"fg": "#2E3440",
"bg": "#A3BE8C"
},
"charging": {
"fg": "#2E3440",
"bg": "#81A1C1"
}
},
"pomodoro": {
"paused": {
"fg": "#2E3440",
"bg": "#D08770"
},
"work": {
"fg": "#2E3440",
"bg": "#EBCB8B"
},
"break": {
"fg": "#A3BE8C",
"bg": "#2E3440"
}
}
}
i3 bar command:
bar {
status_command bumblebee-status
font pango:DejaVu Sans Mono, FontAwesome 10
tray_output primary
tray_padding 4
#mode hide
colors {
background #090126
focused_workspace #EFB893 #EFB893 #150140
active_workspace #260273 #260273 #ffffff
inactive_workspace #150140 #150140 #ffffff
}
}
Issue Analytics
- State:
- Created 10 months ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Could not parse JSON (parse error: after array element, I ...
I'm getting the following error message when I try to run bumblebee-status on an Ubuntu 20.04.2 LTS system: Error: Could not parse JSON...
Read more >JSON Error in i3wm with Conky (i3bar) - LinuxQuestions.org
Error: Could not parse JSON (parse error: unallowed token at the point ... means and I was hoping someone would know so I...
Read more >Could not parse the JSON file ,Error in Progam.cs asp.net core
When I run the project, following error occurs. System.FormatException: 'Could not parse the JSON file. Error on line number '0': '' ...
Read more >[i3blocks] I'm trying to fix this: Error: Could not parse JSON ...
[i3blocks] I'm trying to fix this: Error: Could not parse JSON (lexical error: invalid bytes bytes in UTF8 string.).
Read more >Failed to parse json data? | Apple Developer Forums
use JSONDecoder().decode. to parse data. {"aaa": "value", "bbb": 1}. it generated error: Unexpected error: dataCorrupted(Swift.DecodingError.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! Works like a charm now. It indeed displays 0 for maybe a second but then it kicks in nicely.
Glad that this is resolved!
I have a pipewire setup, and I believe the module works there. But I will investigate, thank you kindly!