-
Notifications
You must be signed in to change notification settings - Fork 450
Panic on Mac caused by cpu percentages issue #9
Comments
Same here, running macOS 10.13.4. Installed with:
|
Same. Running
|
I don't have a mac to test on, but I just pushed a commit to the repo and I'd appreciate if someone could |
@cjbassi - I just ran Also, tried |
@petermbenjamin Are you also on OSX? What terminal are you using? |
Also, are these issues on startup? Or when? |
Update 1: I'm also running inside |
@cjbassi - ok, some updates.
Update 1:
|
@petermbenjamin I appreciate all the troubleshooting you're doing. Looks like the index out of range error is the same one that chlins is getting. I just pushed some changes that include better error logging so it'd help if you could update and build/run from source and see what the errors give you this time. |
@viktor-evdokimov I think the issue there is that the default colorscheme for gotop has a transparent background which doesn't look great on white colored terminals. You could try one of the other colorschemes by using the |
@viktor-evdokimov Just added the 'default-dark' colorscheme for brighter backgrounds to the latest release. Let me know if that works or if there's still issues. |
@petermbenjamin the panic you were getting should hopefully be fixed. Can you try the latest version to see what happens this time? |
@cjbassi - Indeed.
And it doesn't crash or panic. But, it's still taking about a minute before anything appears on the screen. I am not sure why. Would you like me to open a separate GH issue for the slow startup time on macOS? |
@petermbenjamin Yah I think opening a new issue would be good. I think the best way to debug the slow startup is to throw a bunch of fmt.Println("1"), fmt.Println("2"), etc into main.go and see where the program hangs for a while. If you're not familiar with Go I could create a branch with the print statements for you to test, just let me know. |
I will create a new issue and try to fmt.Println debug it and will let you
know what I find.
…On Wed, Apr 11, 2018, 4:49 PM Caleb Bassi ***@***.***> wrote:
@petermbenjamin <https://github.com/petermbenjamin> Yah I think opening a
new issue would be good.
I think the best way to debug the slow startup is to throw a bunch of
fmt.Println("1"), fmt.Println("2"), etc into main.go and see where the
program hangs for a while. If you're not familiar with Go I could create a
branch with the print statements for you to test, just let me know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AGfwtmPHJn_ngWLc712K3cKMqqrnw3Qoks5tnpaTgaJpZM4TL9Qp>
.
|
Also on 10.12.6, clean install via
and this is the error I'm getting after about 45-60 seconds:
|
@heliostatic So the program runs and works for about 45 seconds and then gives that error? The error is caused by gopsutil which I've already submitted an issue to, but it's good to get more info. |
@cjbassi Good clarification--No, it sits at a blank terminal and then errors out. |
Getting this on OSX Sierra on both iTerm and Terminal. Nothing happens for half a minute, then I get this error. Installed using homebrew.
|
I get the same issue as @rkumar when installing via brew but it works when installing via goget |
Have the same issue in Windows:
Did by
|
Worked for me, just now, with a 20-second startup delay (timed with stopwatch).
My system details: |
Thanks for all the info and sorry people have been having issues. It turns out gopsutil has some issues on OSX which makes gotop unusable on OSX right now. Hoping to fix that in the future, but I also don't have a mac to test on right now so help is appreciated. Going to close this issue and open another one that pools the issues people have been having on OSX. |
What about windows? |
@maxtar gotop is untested on windows but feel free to try it and let me know if it works or create an issue if it doesn't. I'd be happy to add support if people want it. |
@maxtar Oh sorry, I didn't see that you were having the same issue on windows. But yah actually if you create a new issue for that, that would be great. Thanks. |
gotop should be working on OSX now, and you can install using either Git, Homebrew, or from Source as documented in the readme. Let me know if you're still having any issues! Thanks @f1337 for helping get it to work! |
The text was updated successfully, but these errors were encountered: