Giter VIP home page Giter VIP logo

bpytop-snap's Introduction

Welcome to my repo! Hope you find some use for the things I create and manage.

"May I be no man's enemy, and may I be the friend of that which is eternal . . .
May I never devise evil against any man: if any devise evil against me,
may I escape . . . without the need of hurting him. May I love, seek, and attain only that which is good.
May I wish for all men's happiness and envy none . . . May I win no victory which harms me or my opponent . . .
May I respect myself . . . May I always keep tame that which rages within me." (This Age of Confusion, p. 296.)

bpytop-snap's People

Contributors

kz6fittycent avatar spvkgn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bpytop-snap's Issues

Doesn't launch without the 'mount-observe' plug

Thanks for snapping this awesome app, James!

For me bpytop won't launch at all without the 'mount-observe' plug. All other plugs seem to be optional. Error is as follows:

07/08/20 (16:37:30) | ERROR: Data collection thread failed with exception: [Errno 13] Permission denied: '/proc/partitions'
Traceback (most recent call last):
  File "/snap/bpytop/58/usr/bin/bpytop", line 2319, in _runner
    collector._collect()
  File "/snap/bpytop/58/usr/bin/bpytop", line 2602, in _collect
    io_counters = psutil.disk_io_counters(perdisk=True if SYSTEM == "Linux" else False, nowrap=True)
  File "/snap/bpytop/58/usr/lib/python3/dist-packages/psutil/__init__.py", line 2014, in disk_io_counters
    rawdict = _psplatform.disk_io_counters()
  File "/snap/bpytop/58/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1040, in disk_io_counters
    partitions = get_partitions()
  File "/snap/bpytop/58/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 1022, in get_partitions
    with open_text("%s/partitions" % get_procfs_path()) as f:
  File "/snap/bpytop/58/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 201, in open_text
    return open(fname, "rt", **kwargs)
PermissionError: [Errno 13] Permission denied: '/proc/partitions'
07/08/20 (16:37:30) | WARNING: Exiting with errorcode (1). Runtime 0:00:03 

i386 build crashes on startup

Hi James,

I know I'm an edge case here, but on my 32-bit system the bpytop snap crashes on launch with the following error:

  File "/snap/bpytop/116/usr/bin/bpytop", line 34
    errors: List[str] = []
          ^
SyntaxError: invalid syntax

Could you look into that. I'll be happy to test any new builds!

Snap isn't working with new yaml from PR merge

bpytop 
  File "/snap/bpytop/115/usr/bin/bpytop", line 34
    errors: List[str] = []
          ^
SyntaxError: invalid syntax

Removing license and base in yaml successfully finished building the snap but now we have a new problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.