alfred2-top-workflow icon indicating copy to clipboard operation
alfred2-top-workflow copied to clipboard

broken on alfred 3.0

Open pi1ot opened this issue 8 years ago • 9 comments

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: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
'

pi1ot avatar Jun 17 '16 05:06 pi1ot

I can confirm this bug on Alfred 3 as well.

bartzy avatar Sep 26 '16 11:09 bartzy

But works fine with macOS Sierra & Alfred 3.1.1 now.

pi1ot avatar Sep 26 '16 12:09 pi1ot

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

bartzy avatar Sep 26 '16 12:09 bartzy

Same bug for me as well

varunpatro avatar Nov 10 '16 16:11 varunpatro

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.

lxynox avatar Nov 29 '16 05:11 lxynox

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 :)

iskrisis avatar Dec 23 '16 11:12 iskrisis

hope somebody can fix that.

heemoe avatar Mar 29 '17 04:03 heemoe

+1 request.

homever avatar Jul 01 '17 17:07 homever

+1 request.

QiuMP avatar Sep 14 '17 11:09 QiuMP