Comments (8)
ioreg
is a system command. Do you get the same error if you enter ioreg
in your command line?
from istats.
from istats.
That's weird. ioreg
should be available by default on OS X. What shell/terminal are you using?
from istats.
I am using zsh.
from istats.
I am having the same issue myself, on ZSH.
/Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/battery.rb:49:in ``': No such file or directory - ioreg (Errno::ENOENT)
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/battery.rb:49:in `cycle_count'
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/battery.rb:41:in `all'
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/command.rb:70:in `all'
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/command.rb:40:in `delegate'
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/lib/iStats/command.rb:20:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/iStats-1.4.0/bin/istats:8:in `<top (required)>'
from /usr/local/bin/istats:23:in `load'
from /usr/local/bin/istats:23:in `<main>'
It seems the error only appears when executing through a script (bash). I am able to run the istats
command itself without any errors.
Also, ioreg
is an available command on my system and that executes without issues.
from istats.
from istats.
Thanks for replying back with the fix @stea4lth. I'm going to close this issue as it is not directly related to iStats.
from istats.
There is nothing wrong with my path variables, and I am still having the issue.
→ which ioreg
/usr/sbin/ioreg
from istats.
Related Issues (20)
- Same problem with iStats HOT 4
- Not working on Apple Silicon macs HOT 11
- Feature request: compliance with XDG Base Directory specification
- Where is the mistake?
- Is this still being developed? HOT 2
- I can't install it by all means HOT 4
- Support for Apple M1 HOT 5
- cant install iStats HOT 2
- temps not reading on m1 HOT 2
- undefined method `exists?' for File:Class (NoMethodError) HOT 1
- Access errors upon install - Errno::EACCE HOT 1
- Feature request: charging status
- iStats stopped working: "Failed to execute process '/usr/local/bin/istats'" HOT 2
- Temps not updating HOT 8
- Right align extra stats
- Feature Request: get an arbitrary sensor from the command line HOT 1
- Install fails on 10.4.11 HOT 4
- Difference between cpu temp and T1C1 core temp
- Unable to install Istats on my 10.15.7 Cataline HOT 10
- linux version?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from istats.