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.

Snap Related: DHCP shown instead of / (root)

See original GitHub issue

Describe the bug

bpytop snap shows dhcp instead of / (root). May be related to $PATH

To Reproduce

Run bpytop (snap).

Expected behavior

Show info for / instead of dhcp in disks section.

Screenshots

Screenshot from 2020-11-07 09-46-52

Info (please complete the following information):

  • bpytop version: bpytop -v
  • psutil version: bpytop -v (version 5.7.0 or above is required)
bpytop version: 1.0.50
psutil version: 5.7.3
  • (Linux) Linux distribution and version: Pop!_OS 20.04
  • Terminal used: Terminator
  • Font used: Fira Mono Regular
  • Python version, python3 --version (version 3.6 or above is required): Python 3.8.5

Additional context

contents of ~/.config/bpytop/error.log

(try running bpytop with --debug flag if error.log is empty)

07/11/20 (10:04:35) | INFO: New instance of bpytop version 1.0.50 started with pid 6120
07/11/20 (10:04:35) | INFO: Loglevel set to DEBUG
07/11/20 (10:04:35) | DEBUG: Using psutil version 5.7.3
07/11/20 (10:04:35) | DEBUG: CMD: /snap/bpytop/177/usr/bin/bpytop --debug
07/11/20 (10:04:36) | DEBUG: Collect and draw completed in 0.109398 seconds
07/11/20 (10:04:37) | DEBUG: Init completed in 2.364221 seconds
07/11/20 (10:04:41) | INFO: Exiting. Runtime 0:00:06 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
aristocratoscommented, Nov 7, 2020

@kz6fittycent Yeah, when it’s working correctly it’s supposed to say “root” since if the path is just “/” it gets replaced with “root”. So what is being displayed in the bashtop and bpytop snaps right now is the last name in the path. So have no clue why bpytop and bashtop aren’t even getting the same path for the “/” path.

0reactions
kz6fittycentcommented, Nov 9, 2020

I’ll close this as you’re already aware of the “issue” and maybe we can put our heads together at a future date to come up with a solution. If Canonical (or anyone on the Snapcraft Forum) come up with something, I’ll reopen and comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Maas DHCP not working any more since 2.9 snap refresh from ...
Problem description Maas Server incl. DHCP was working fine till latest snap refresh from 2021-02-17. Since that refresh, DHCP requests are ...
Read more >
You must explicitly enable MMC snap-ins that you want to use ...
To explicitly enable an MMC snap-in in Microsoft Windows XP · Click Start, click Run, type gpedit. · Expand User Configuration, and then...
Read more >
This documentation presupposes that MAAS-managed DHCP ...
Managing DHCP (snap/2.8/UI) MAAS enlists and commissions machines through the use of its DHCP server running on an untagged VLAN. Although this MAAS-managed...
Read more >
Network - DHCP | Ubuntu
The Dynamic Host Configuration Protocol (DHCP) is a network service that ... of each network card connected to the network and then continually...
Read more >
Delegate DHCP Admins in the domain - Secure Identity
When installed start the DHCP MMC snap-in (or just continue to use PowerShell) and configure your scopes and options, authorize the DHCP ......
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