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.

Module traffic error after suspend/resume

See original GitHub issue

Bug Report

Description

Affected module: traffic Version used: latest git

Hi, Recently, every time that I put the OS into sleep when it’s resumed, the status bar looks like this: image

I am using the following modules: cpu memory traffic datetime battery layout-xkbswitch pasink if I issue: ~/git/bumblebee-status/bumblebee-status -d -m cpu memory traffic datetime battery layout-xkbswitch pasink I get:

{"full_text": " debug ", "color": "#aabbcc", "name": "debug", "instance": "5c0f85e5-a6f8-4f0a-9ad4-611b19b7711a", "_raw": "debug", "_suffix": " ", "_prefix": " ", "align": null}, {"full_text": " cpu 33.3% ", "color": "#aabbcc", "name": "cpu", "instance": "16cf95e5-5604-44a6-87aa-f94feba70fc7", "_raw": "33.3%", "_suffix": " ", "_prefix": " cpu ", "min_width": "100.0%", "align": null}, {"full_text": " ram 29.68% ", "color": "#aabbcc", "name": "memory", "instance": "7abe89cd-0960-407b-ad1c-ce51c315cf7b", "_raw": "29.68%", "_suffix": " ", "_prefix": " ram ", "align": null}, {"full_text": " down 0.00B/s ", "color": "#aabbcc", "name": "traffic", "instance": "1e618b04-f9a1-4319-a932-48e1368a468e", "_raw": "0.00B/s", "_suffix": " ", "_prefix": " down ", "min_width": "1000.00KiB/s", "align": null}, {"full_text": " up 0.00B/s ", "color": "#aabbcc", "name": "traffic", "instance": "ee9f81e6-7577-472e-8506-842698486988", "_raw": "0.00B/s", "_suffix": " ", "_prefix": " up ", "min_width": "1000.00KiB/s", "align": null}, {"full_text": " 09:15  \uf18c Jun(06)-19 ", "color": "#aabbcc", "name": "datetime", "instance": "0f434cc5-6212-42ba-8381-2067e72812d4", "_raw": "09:15  \uf18c Jun(06)-19", "_suffix": " ", "_prefix": " ", "align": null}, {"full_text": " ac ac ", "color": "#aabbcc", "name": "battery", "instance": "9becab68-e5e4-4154-bb21-054f97beb491", "_raw": "ac", "_suffix": " ac ", "_prefix": " ", "align": null}, {"full_text": " us ", "color": "#aabbcc", "name": "layout-xkbswitch", "instance": "eca011a1-dbde-4234-946b-0f7fade31092", "_raw": "us", "_suffix": " ", "_prefix": " ", "align": null}, {"full_text": " audio 40% ", "color": "#aabbcc", "name": "pasink", "instance": "72b7e2a2-5e94-4426-a187-2850f45d55bc", "_raw": "40%", "_suffix": " ", "_prefix": " audio ", "align": null}]

which looks fine, and if do i3 restart everything goes back to normal. I cannot understand what is the problem and how can I avoid this problem without restarting i3

The status bar is still working and I can see if I adjust the volume, status-bar is getting updated. However, it’s unclear why the traffic module remains in the failed state in the already running process.

After i3 restart it goes to normal again: image

How to reproduce

put the computer in sleep and resume it

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
existmecommented, Jun 22, 2020

Thank you, I have pulled and will use it for a while to see if that commit helps or not. I will update the issue once I know more.

0reactions
tobi-wan-kenobicommented, Jun 28, 2020

Glad to hear the issue is solved for you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: crash is seen after suspend resume
Solved: cyw54591 is crashing after suspend resume. details crash log is given below: [165140.146951] Internal error: Oops: 17 [#1] PREEMPT ARM.
Read more >
System will not resume from suspend with Kernel 5.16 / Kernel ...
System hangs on resuming from suspend with just upgraded kernel 5.16. Non-blinking cursor in upper left. This is a hard freeze so I...
Read more >
[amdgpu] kernel crash when trying to resume from suspend
Brief summary of the problem: system does not resume from suspend. kernel crash with hints to amdgpu. (see steps to reproduce for more ......
Read more >
Pantheon: session crash when try to resume from suspend ...
Describe the bug session and all unsaved work gone journal: Mar 10 13:13:57 ethmoid avahi-daemon[907]: Interface wlp5s0.
Read more >
Bug #1758507 “sky2 gigabit ethernet driver sometimes stops ...
Replicability: When it happens once, further suspend-resume cycles (tried ~5) don't fix it. Reboot fixes the NIC, and it often survives first ...
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