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

format_up doesn't recognise {network_graph_recv} in network module. #839

Open
arnaudperalta opened this issue Mar 15, 2022 · 2 comments
Open

Comments

@arnaudperalta
Copy link

When I use the {network_graph_recv} key in format_up field with the network module, I receive a KeyError in my status bar.
My configuration:

status.register("network",
        format_up="{network_graph_recv}",
        interface="eno1",
        graph_style="blocks"
)

I also got a KeyError when I try to insert the default configuration value from the documentation : {interface} {network_graph_recv}{bytes_recv}KB/s

@arnaudperalta arnaudperalta changed the title format_up doesn't recognize {network_graph_recv} in network module. format_up doesn't recognise {network_graph_recv} in network module. Mar 15, 2022
@terminalmage
Copy link
Collaborator

I don't use this module, but it seems like that formatter is only available when network traffic is detected for that interface. The documentation says that you need psutil to get network traffic. Do you have psutil installed?

@arnaudperalta
Copy link
Author

I already have psutil installed, this is the exact error I have with the above configuration.

githubissue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants