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

Doesn't work on OSX 10.13

Open V3kb opened this issue 7 years ago • 24 comments

Doesn't work on OSX 10.11,please update !

V3kb avatar Sep 25 '17 08:09 V3kb

Same! Help! :(

bdel avatar Sep 28 '17 00:09 bdel

This seems to be to do with updated system Ruby on Mac OS. I can't actually find any other documentation on this, but in High Sierra, my system Ruby seems to be 2.3.3 and this workflow isn't able to install bundler, and the correct gems to get itself working. I've been able to fiddle with bundle myself manually and fix the workflow, but haven't been able to get this to work automatically inside the workflow with system ruby yet.

@zhaocai your workflows are fantastic, and whenever you get a chance, it would be really great to see them updated! 😄

singhprd avatar Oct 01 '17 19:10 singhprd

Ok so what you need to do to fix this is right click from Alfred preferences then "Open in Terminal". This will take you to where the workflow is stored.

Then we just need to do a "bundle install --standalone". This however doesn't work on system ruby, due to bundler not being installed. I changed to another install of system ruby - 2.3.3 - which had bundler installed - then performed the above command. Now you can use the workflow again.

singhprd avatar Oct 01 '17 23:10 singhprd

I changed to another install of system ruby - 2.3.3 - which had bundler installed - then performed the above command.

@singhprd can you provide more details about that please?

pjpjq avatar Oct 05 '17 09:10 pjpjq

https://github.com/singhprd/alfred2-top-workflow/releases/download/v2.2/Top.Processes.v2.2.alfredworkflow @wendingp Try this newly packaged workflow and let me know if it works 👍

singhprd avatar Oct 06 '17 00:10 singhprd

@singhprd Cool it works. Thx!!!

pjpjq avatar Oct 06 '17 03:10 pjpjq

@singhprd Thank you so much!

warb2n avatar Oct 07 '17 13:10 warb2n

glance command not work

#<Errno::ENOENT:` No such file or directory - ./bin/smc>
......
/bundle/ruby/2.3.0/gems/mixlib-shellout-1.2.0/lib/mixlib/shellout/unix.rb:268:in `exec' 
......
./glance.rb:24:in `sh'  
./glance.rb:59:in `collect_temperature'  
./glance.rb:48:in `collect'  
./glance.rb:315:in `generate_feedback'  
./glance.rb:324:in `block in <main>'  
......
/bundle/ruby/2.3.0/gems/alfred-workflow-2.0.5/lib/alfred.rb:82:in `with_friendly_error'  
./glance.rb:322:in `<main>'

9h0st avatar Oct 09 '17 03:10 9h0st

@singhprd thx! it's great !

xiaobocser avatar Oct 11 '17 01:10 xiaobocser

Same problem,

@singhprd Awsome dude! Thx alot

arthurkiller avatar Oct 19 '17 09:10 arthurkiller

Why no start a PR? @singhprd

arthurkiller avatar Oct 19 '17 09:10 arthurkiller

@arthurkiller The changes I've made are just re-packaging the Gems for new system ruby (2.3.3) and including them in the release. @zhaocai will need to do this as I don't think I can submit a PR for a release.

@9h0st - Looks like Glance isn't working because /usr/local/bin/smc no longer exists? I'm guessing Apple removed it in High Sierra. We need a new way to access SMC controller and run commands like this, before it can be fixed: smc -k "TC0P" -r -c Maybe from here, but I can't get it working?: https://github.com/hholtmann/smcFanControl/tree/master/smc-command

singhprd avatar Oct 20 '17 20:10 singhprd

@9h0st - I've now updated so that Glance now works, but I've had to remove some features. https://github.com/singhprd/alfred2-top-workflow/releases/tag/v2.3

More feature requests welcome.

singhprd avatar Oct 25 '17 20:10 singhprd

@singhprd Awesome work, bro! You make it worked again!👍

FrizzleFur avatar Dec 13 '17 08:12 FrizzleFur

@9h0st - I've now updated so that Glance now works, but I've had to remove some features. https://github.com/singhprd/alfred2-top-workflow/releases/tag/v2.3

More feature requests welcome.

thanks very much bro.

NeverMoes avatar Dec 11 '18 13:12 NeverMoes

@singhprd I am also the same problem. Now it's working. thank you so much !

KilluaaaCHEN avatar Apr 05 '19 03:04 KilluaaaCHEN

@singhprd Awesome! Now everything works!

lxwvictor avatar Jun 14 '19 08:06 lxwvictor

@singhprd 感谢你的修正,macos10.13.6 测试全部工作正常

zivan80 avatar Jul 31 '19 14:07 zivan80

@singhprd Thx, it works for macOS 10.14.5

lowking avatar Sep 30 '19 16:09 lowking

Doesn't work on OSX 10.15, please update!

linivor avatar Nov 17 '19 00:11 linivor

Any update for 10.15?

ryan6416 avatar Feb 27 '20 17:02 ryan6416

Any update for 10.15?

ouyangjunyi avatar Mar 05 '20 08:03 ouyangjunyi

os: 10.15 appversion: 3.8.1

works properly for me

arthurkiller avatar Mar 05 '20 08:03 arthurkiller

os: 10.15 appversion: 4.0.7

thank you

Xinghanzzy avatar Mar 15 '20 04:03 Xinghanzzy