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

NoneType' object is not subscriptable #21

Open
muety opened this issue Feb 17, 2021 · 0 comments
Open

NoneType' object is not subscriptable #21

muety opened this issue Feb 17, 2021 · 0 comments

Comments

@muety
Copy link

muety commented Feb 17, 2021

Got this error after a few seconds in the quad view. I'm on Python 3.7.

Traceback (most recent call last):
  File "/home/myuser/.local/bin/ghtop", line 10, in <module>
    sys.exit(main())
  File "/home/myuser/.local/lib/python3.7/site-packages/fastcore/script.py", line 105, in _f
    tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/home/myuser/.local/lib/python3.7/site-packages/ghtop/ghtop.py", line 154, in main
    _funcs[mode](evts)
  File "/home/myuser/.local/lib/python3.7/site-packages/ghtop/ghtop.py", line 114, in quad_logs
    if x.type in d: d[x.type].append(f(x)[:95])
TypeError: 'NoneType' object is not subscriptable
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

1 participant