alfred2-top-workflow
alfred2-top-workflow copied to clipboard
broken on alfred 3.0
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.
#<ArgumentError: invalid byte sequence in UTF-8>
./alfred2_top_workflow.rb:131:in split' ./alfred2_top_workflow.rb:131:in
block in ps_list'
./alfred2_top_workflow.rb:130:in each' ./alfred2_top_workflow.rb:130:in
ps_list'
./alfred2_top_workflow.rb:168:in top_processes' ./alfred2_top_workflow.rb:257:in
block in with_friendly_error' ./alfred2_top_workflow.rb:246:in
I can confirm this bug on Alfred 3 as well.
But works fine with macOS Sierra & Alfred 3.1.1 now.
@pi1ot I'm on Sierra & Alfred 3.1.1 and I get that when running glance
. top
works OK.
Same bug for me as well
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.
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 :)
hope somebody can fix that.
+1 request.
+1 request.