Hyperline / hyperline

✨ Status line plugin for Hyper ✨
MIT License
619 stars 120 forks source link

Uncaught Error EPIPE & Osascript Makes Hyper Lagging on Ubuntu #168

Closed malwareslayer closed 2 years ago

malwareslayer commented 5 years ago

Hyperline keep getting Uncaught Error like this below, and makes Hyper Lagging

events.js

Uncaught Error: spawn osascript ENOENT
    at exports._errnoException (util.js:1024)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:192)
    at onErrorNT (internal/child_process.js:374)
    at _combinedTickCallback (internal/process/next_tick.js:138)
    at process._tickCallback (internal/process/next_tick.js:180)
Uncaught Error: write EPIPE
    at exports._errnoException (util.js:1024)
    at WriteWrap.afterWrite [as oncomplete] (net.js:851)
miguelfaggioni commented 5 years ago

Same issue on Windows 10 :(

keremcankabadayi commented 5 years ago

any news about it?

mwoz123 commented 2 years ago

problem still exists :( I keep on getting this on :

marcin@hp:~$ uname -a
Linux hp 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
marcin@hp:~$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
marcin@hp:~$ 

hyper version:

$ hyper version
3.1.2

Details: Zrzut ekranu z 2021-09-04 13-45-51

mwoz123 commented 2 years ago

this might be helpfull:

https://stackoverflow.com/questions/27688804/how-do-i-debug-error-spawn-enoent-on-node-js

malwareslayer commented 2 years ago

Close issues, because osascript is only in MacOS, that's why there's no Linux distribution has osascript either backported into Linux distribution.

mwoz123 commented 2 years ago

@malwareslayer - is there a solution/workaround for that ? Shouldn't then this osascript check/use only on Macs?

The issue still exists on Linux...

moreover I do confirm it's also exist on Windows:

image

it seems the only env where it doesn't is Mac ...