question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uptime in distro view keeps resetting

See original GitHub issue

Debug info

Type help for instructions on how to use fish
[22:36:07] adam@Adam-Arch /home/adam  
> fetchcord --debug
adam@Adam-Arch 
-------------- 
OS: Arch Linux x86_64 
Host: 20M50013UK ThinkPad L380 
Kernel: 5.12.2-arch1-1 
Uptime: 2 days, 37 mins 
Packages: 2047 (pacman) 
Shell: fish 3.2.1-5-gd79f86407 
Resolution: 1920x1080 
DE: xmonad 
WM: LG3D 
Theme: Breeze-Darker [GTK2/3] 
Icons: breeze-dark [GTK2/3] 
Terminal: konsole
CPU: Intel i5-8250U (8) @ 3.400GHz 
GPU: Intel UHD Graphics 620 
Memory: 2538MiB / 31866MiB 
Battery0: 73% [Charging] 
Disk (/): 75G / 259G (31%)
[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----

uptime in epoch: 1620853139.0
cpuid: 740476198437650473
cpuappid: 741099939198926920
termappid: 741286819676553258
hostappid: 744326223412461630
2047 (pacman) 
----out.py----

----DE/WM----
deid: xmonad
wmid: LG3D
wmline item 0: LG3D 

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid: 741286819676553258                // I ran the command thru konsole cos xterm doesn't allow copying from the terminal
termline item 0: konsole
themeline: Breeze-Darker [GTK2/3] 

----HOST INFO----

hostline: 20M50013UK ThinkPad L380 
batteryline:  73% [Charging] 
resline: 1920x1080 

----GPU INFO----

gpuinfo: Intel UHD Graphics 620
gpuvendor: intel

----CPU INFO----

cpuvendor: intel
cpumodel: Intel i5
cpuinfo: Intel i5-8250U (8) @ 3.400GHz
cpuline item 0: Intel i5-8250U (8) @ 3.400GHz
memline: 2538MiB / 31866MiB 

----OS INFO----

sysosline: Arch Linux x86_64 
sysosid: 740476198437650473
diskline: /): 75G / 259G (31%)
packagesline item 0: 2047 (pacman) 

----testing.py----
----DE/WM----

deid: xmonad
wmid: LG3D

----TERMINAL/SHELL----

termid: 741286819676553258
shellid: fish

----HOST INFO----

hostid: 742887089179197462

----GPU INFO----

gpuvendor: intel

----CPU INFO----

cpumodel: Intel i5

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7f0f5cfb6460>
Unknown DE/WM, contact us on github to resolve this.                // This is because I have Xmonad set to rename itself as a WM to LG3D so Java apps & and Java IDE (Intellij Idea) can run on Xmonad. This is not an issue I want resolved.
cycle 0
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7f0f5cfb6460>
appid: 740476198437650473
^CClosing connection.
[22:36:19] adam@Adam-Arch /home/adam  
> ```

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
SimPilotAdamTcommented, May 14, 2021

(Posting here cos the debug info gitched out the original message)

Operating system & way of installation

OS: Arch Linux Method of installing fetchcord: AUR

Error/issue

The uptime as shown in the actual rich presence resets itself roughly every 24 hours, since it runs on UNIX Epoch time.

Other notes(optional)

I am uncure of how this could be fixed… Maybe see if the time can be stored in some C datetime format instead?

0reactions
SimPilotAdamTcommented, Nov 22, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Uptime and who -b are showing different times when the ...
Uptime and who -b are showing different times when the system was last booted on Linux · Is the date of the system...
Read more >
linux uptime history - Stack Overflow
The pseudo user reboot logs in each time the system is rebooted. Thus last reboot will show a log of all reboots since...
Read more >
Uptime service is misconfigured - N-able
If this is the case, perform the following: Rebuild WMI. Reboot the system. If the issue persists, consult a Windows administrator to help...
Read more >
SNMP uptime resets to zero - 239306
Hello all,My first post here. This support forum has been the source for solutions to many, many doubts I already had about Siemens...
Read more >
Why Linux users always boast about the amount of uptime ...
It showcases what's possible [stability], but in most cases it's actually showing someone's bad form of not doing updates, or reboot testing to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found