[BUG] Wrong time in eww
cherrynoize opened this issue · comments
Checklist before submitting an issue
- I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
- I have specifically verified that this bug is not a common user error
- I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
This is the output of eww daemon
:
2024-04-22T13:06:12.644Z INFO eww > Initializing Eww server. (/run/user/1000/eww-server_83a18ae18d11d121)
Run `eww logs` to see any errors while editing your configuration.
2024-04-22T13:06:12.644Z INFO eww::server > Loading paths: config-dir: /home/noize/.config/eww, ipc-socket: /run/user/1000/eww-server_83a18ae18d11d121, log-file: /home/noize/.cache/eww/eww_83a18ae18d11d121.log
2024-04-22T13:06:12.665Z ERROR eww::error_handling_ctx > second time provided was later than self
It's apparently using UTC time rather than localtime (UTC+2) which causes it to fail. I tried resetting the hardware clock and timezone but I keep getting this error. I can't see anything in eww logs
either.
Reproducing the issue
No response
Expected behaviour
No response
Additional context
No response
Could you run eww with --debug, and then take a look at the logs again and maybe share if there is more detail? I can't quite pin down where this error is coming from
I'm having the same issue. This started happening without changing anything in the config. Next boot and suddenly eww doesn't work anymore:
2024-05-22T18:05:43.161Z INFO eww > Initializing Eww server. (/run/user/1000/eww-server_9d82731067d0218d)
Run `eww logs` to see any errors while editing your configuration.
2024-05-22T18:05:43.161Z INFO eww::server > Loading paths: config-dir: /home/simao/.config/eww, ipc-socket: /run/user/1000/eww-server_9d82731067d0218d, log-file: /home/simao/.cache/eww/eww_9d82731067d0218d.log
2024-05-22T18:05:43.165Z ERROR eww::error_handling_ctx > second time provided was later than self
The log is not growing at all no matter what I do, eww logs
, eww daemon
, eww open topbar
and also eww --debug daemon
.
It looks like deleting the log file solves the issue. I deleted /home/simao/.cache/eww/eww_9d82731067d0218d.log
and after that it worked. Maybe the log file has a date in it or the modified time is incorrect or something like that. My PC crashed earlier so this might have done something to the log file.
Same thing as @xdevs23 happened on my end. Computer crashed, deleting log file fixed it.
Also had this happen. I booted into windows, which changed my system clock. After booting back into linux, this started happening. Deleting the cache fixed the issue which I tried thank to this issue.
Maybe eww could rename the config file when this error happens and just create a new one.