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

[BUG] Wrong time in eww #1082

Open
3 tasks done
cherrynoize opened this issue Apr 22, 2024 · 6 comments
Open
3 tasks done

[BUG] Wrong time in eww #1082

cherrynoize opened this issue Apr 22, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@cherrynoize
Copy link

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

@cherrynoize cherrynoize added the bug Something isn't working label Apr 22, 2024
@elkowar
Copy link
Owner

elkowar commented Apr 27, 2024

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

@xdevs23
Copy link

xdevs23 commented May 22, 2024

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.

@xdevs23
Copy link

xdevs23 commented May 22, 2024

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.

@cherryman
Copy link

Same thing as @xdevs23 happened on my end. Computer crashed, deleting log file fixed it.

@AndreasHGK
Copy link

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.

@xdevs23
Copy link

xdevs23 commented Jun 4, 2024

Maybe eww could rename the config file when this error happens and just create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants