Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error when I run: Error 1004: An error occurred. #30

Closed
NickStrupat opened this issue Nov 2, 2021 · 9 comments
Closed

Getting an error when I run: Error 1004: An error occurred. #30

NickStrupat opened this issue Nov 2, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@NickStrupat
Copy link

image

It was working for a few months before today. Hoping someone here knows how to fix this issue.

@godly-devotion
Copy link
Owner

What is your MacBook and macOS version? What was the last version that worked for you?

@NickStrupat
Copy link
Author

MacBook is late 2013 (MacBookPro11,3)
macOS version is 10.15.7 (19H1217)

I believe the last version to work for me was 1.4.

The error happened after I updated today to 1.4.1, but I'm not sure exactly if that was the cause.

I installed 1.4 again and I still get the error.

@jenyunhuang
Copy link

I have same issues
macbook pro 2015 15" catalina 10.15.7

@NickStrupat
Copy link
Author

I wonder if it's a zsh issue. When I run sudo /Applications/Charge\ Limiter.app/Contents/Resources/smcutil -r BCLM I get illegal hardware instruction followed by the command text.

@godly-devotion
Copy link
Owner

Could you please try this test build to see if it works? @MikeMaxNow If you don't mind, could you test this build to see if it works for you as well?

Charge Limiter.zip

@jenyunhuang
Copy link

The new file work for me

@NickStrupat
Copy link
Author

Works for me too.

I did some thinking and realized it's probably that the embedded smcutil was compiled on a newer Mac with some instruction set extensions that aren't on my 2013 CPU. When my machine tries to run the instructions it doesn't know, it yields an illegal hardware instruction error.

@MikeMaxNow
Copy link

It is working for me!

@godly-devotion
Copy link
Owner

Awesome, thanks!

@godly-devotion godly-devotion added the bug Something isn't working label Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants