zhaocai / alfred2-top-workflow

Alfred 2 Workflow: 1) Top Processes Based Memory, CPU, and IO Usage; 2) Get a Glance of System Status
http://zhaocai.github.com/alfred2-top-workflow/
520 stars 37 forks source link

broken on alfred 3.0 #15

Open pi1ot opened 8 years ago

pi1ot commented 8 years ago

ERROR me.zhaowu.top : A fatal error has occurred. You may seek help in the Alfred supporting site, forum or raise an issue in the bug tracking site.

./alfred2_top_workflow.rb:131:in split' ./alfred2_top_workflow.rb:131:inblock in ps_list' ./alfred2_top_workflow.rb:130:in each' ./alfred2_top_workflow.rb:130:inps_list' ./alfred2_top_workflow.rb:168:in top_processes' ./alfred2_top_workflow.rb:257:inblock in

' .../Alfred.alfredpreferences/workflows/user.workflow.C6BEF5BB-68AE-4C94-965E-D9D1686C3344/bundle/ruby/2.0.0/gems/alfred-workflow-1.2.7/lib/alfred.rb:26:in with_friendly_error' ./alfred2_top_workflow.rb:246:in
'

bartzy commented 8 years ago

I can confirm this bug on Alfred 3 as well.

pi1ot commented 8 years ago

But works fine with macOS Sierra & Alfred 3.1.1 now.

bartzy commented 8 years ago

@pi1ot I'm on Sierra & Alfred 3.1.1 and I get that when running glance. top works OK.

varunpatro commented 8 years ago

Same bug for me as well

lxynox commented 7 years ago

Same bug for me on macOS Sierra & Alfred 3+.

The shell command ./bin/smc -k TC0P,TG0P,F0Ac,F1Ac -r -c was broken on new macOS.

iskrisis commented 7 years ago

Configming this.

./bin/smc is from here https://github.com/hholtmann/smcFanControl/tree/master/smc-command

the version in the workflow doesnt work in sierra - the smcFanControl script is updated for sierra the problem is that its not possible just to switch for the new version. The Sierra smc has different output now (cant take multiple keys).

I would love to update it but ive never written any ruby (glance.rb is the script to fix). But well maybe somebody will have little time and experience :)

heemoe commented 7 years ago

hope somebody can fix that.

homever commented 7 years ago

+1 request.

QiuMP commented 7 years ago

+1 request.