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

iasl error? #9

Open
telepati opened this issue Jan 24, 2020 · 19 comments
Open

iasl error? #9

telepati opened this issue Jan 24, 2020 · 19 comments

Comments

@telepati
Copy link

The command doesn't work always giving an iasl error?

Screen Shot 2020-01-24 at 23 42 57

@MACscr
Copy link

MACscr commented Jan 24, 2020

I am in the exact same boat. Trying this on my catalina macbook. Well almost the same

Downloading iasl.zip
 - Extracting
An error occurred :(
 - [Errno 2] No such file or directory: '/var/folders/cy/dryrc2tx58l45y_bm08ds4dm0000gn/T/tmp7z19wvch/tmplmqydo2o/iasl.zip'
Something went wrong :( - Aborting!
 - Could not locate or download iasl!
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

@kaleide
Copy link

kaleide commented Jan 25, 2020

Manually download and install python, it will work after that.

@canyondust
Copy link

getting a similar error, even when launching the script terminal with python
errrr2

@canyondust
Copy link

For the record, the script works on my 10.13.6 system. (But not Windows 10)

@patlux
Copy link

patlux commented Jan 27, 2020

Same here on Windows 10. I run it on Ubuntu on the same machine and it works.

Don't forget to fix the issue here.

@corpnewt
Copy link
Owner

With regard to the iasl issues - you can try downloading the zip from the corresponding link for your OS in the following:

        self.iasl_url_macOS = "https://bitbucket.org/RehabMan/acpica/downloads/iasl.zip"
        self.iasl_url_linux = "http://amdosx.kellynet.nl/iasl.zip"
        self.iasl_url_windows = "https://acpica.org/sites/acpica/files/iasl-win-20180105.zip"

Then extract the iasl(.exe) binary to the Scripts directory in the SSDTTime folder and try running again. I know older versions of python have certificate issues that some websites reject.

As for the getpass fix - I'll look into it, but I don't personally use Linux, so I'll run it by @ioiiio who added the Linux portions to dsdt.py.

-CorpNewt

@canyondust
Copy link

Thanks for the update; unzipping iasl-win-20180105.zip into the scripts folder works, however a new error is encountered when trying to dump the DSDT (on my windows 10 system):
(It is possibility looking in ./SSDTTime-Master/ instead of ./SSDTTime-Master/Scripts/ ?
NewError

@im-not-a-dev
Copy link
Contributor

Latest post seems to be irrelevant and should have its own issue instead.

As for (the Linux side of) this issue, the script seems to either misreport a failed download as a successful one, or does some magic when it comes to the (uuid of the) temp folder. Further debugging would be necessary however I am unable to reproduce the issue.

@bitboxclub
Copy link

bitboxclub commented Feb 6, 2020

Thanks for the update; unzipping iasl-win-20180105.zip into the scripts folder works, however a new error is encountered when trying to dump the DSDT (on my windows 10 system):
(It is possibility looking in ./SSDTTime-Master/ instead of ./SSDTTime-Master/Scripts/ ?
NewError

same issue here.
I got how it happen.
When you right click the SSDTTime.bat , The issue showed.
You can use Windows Power Shell:
win + r
enter 'powershell' and hit [enter] to open the Power shell window.
cd to the path where SSDTTime.bat
enter '.\SSDTTime.bat'
that would help.
pws1
pws2

@GonzagueGB
Copy link

Thanks for the update; unzipping iasl-win-20180105.zip into the scripts folder works, however a new error is encountered when trying to dump the DSDT (on my windows 10 system):
(It is possibility looking in ./SSDTTime-Master/ instead of ./SSDTTime-Master/Scripts/ ?
NewError

same issue here.
I got how it happen.
When you right click the SSDTTime.bat , The issue showed.
You can use Windows Power Shell:
win + r
enter 'powershell' and hit [enter] to open the Power shell window.
cd to the path where SSDTTime.bat
enter '.\SSDTTime.bat'
that would help.
pws1
pws2

Hi, tried your way but still stuck... Any more advise you may have?

@fallen90
Copy link

fallen90 commented Mar 7, 2020

For those who are stuck with this on Windows 10 Try downloading iasl files from https://acpica.org/sites/acpica/files/iasl-win-20180105.zip or get it from ./SSDTTime-master/Scripts/dsdt.py and find the line self.iasl_url_windows

download the zip file, and extract the contents to ./SSDTTime-master/Scripts

then run the script again.

image

@NiklasBr
Copy link

Thanks @fallen90, your instructions helped.

It appears the acpica.org is having certificate issues (Firefox warns with SEC_ERROR_UNKNOWN_ISSUER) and that might prevent the downloader.py script from downloading the content:

    def open_url(self, url, headers = None):
        # Fall back on the default ua if none provided
        headers = self.ua if headers == None else headers
        # Wrap up the try/except block so we don't have to do this for each function
        try:
            response = urlopen(Request(url, headers=headers))
        except Exception as e:
            if sys.version_info >= (3, 0) or not (isinstance(e, urllib2.URLError) and "CERTIFICATE_VERIFY_FAILED" in str(e)):
                # Either py3, or not the right error for this "fix"
                return None
            # Py2 and a Cert verify error - let's set the unverified context
            context = ssl._create_unverified_context()
            try:
                response = urlopen(Request(url, headers=headers), context=context)
            except:
                # No fixing this - bail
                return None
        return response

@sadtler
Copy link

sadtler commented Mar 18, 2020

With regard to the iasl issues - you can try downloading the zip from the corresponding link for your OS in the following:

        self.iasl_url_macOS = "https://bitbucket.org/RehabMan/acpica/downloads/iasl.zip"
        self.iasl_url_linux = "http://amdosx.kellynet.nl/iasl.zip"
        self.iasl_url_windows = "https://acpica.org/sites/acpica/files/iasl-win-20180105.zip"

Then extract the iasl(.exe) binary to the Scripts directory in the SSDTTime folder and try running again. I know older versions of python have certificate issues that some websites reject.

As for the getpass fix - I'll look into it, but I don't personally use Linux, so I'll run it by @ioiiio who added the Linux portions to dsdt.py.

-CorpNewt

Fix the issue with a different file host in dsdt.py.

Swap:
self.iasl_url_windows = "https://acpica.org/sites/acpica/files/iasl-win-20180105.zip"

For this:
self.iasl_url_windows = "https://sad.network/files/iasl-win-20180105.zip"

@jontyrudman
Copy link

Hi, I had this same issue on Linux but seemingly due to the fact that http://amdosx.kellynet.nl/ is down.
Luckily, iasl is included in the Fedora repos (and presumably in other distros too) in acpica-tools.
In order to fix this issue for me, I got acpica-tools and copied (or symlinked) iasl to Scripts/iasl.

@kov-serg
Copy link

kov-serg commented Aug 6, 2020

I've changed this line

            response = urlopen(Request(url, headers=headers))

to this:

            context = ssl._create_unverified_context()
            response = urlopen(Request(url, headers=headers),context=context)

and now it works.

@Meleck76
Copy link

Hi, I had this same issue on Linux but seemingly due to the fact that http://amdosx.kellynet.nl/ is down.
Luckily, iasl is included in the Fedora repos (and presumably in other distros too) in acpica-tools.
In order to fix this issue for me, I got acpica-tools and copied (or symlinked) iasl to Scripts/iasl.

was wondering your steps to achieve this

@DrHoulberg
Copy link

I'm having this same issue, I'm on Linux Mint. I've installed python and have acpica built in, but can't find a way to get the iasl.zip anywhere.

@yohannesuc
Copy link

Hi, I had this same issue on Linux, and like Meleck76 say create a folder in SSDTTime-master/Scripts/ call it iasl copy /user/share/doc/acpica-tools to that folder .
cp -r /user/share/doc/acpica-tools path/to/SSDTTime-master/Scripts/iasl

@Rubendebbarma
Copy link

Rubendebbarma commented Apr 4, 2023

.\SSDTTime.bat

Thanks, these methods work for me

./SSDTTime-master/Scripts/dsdt.py and find the line self.iasl_url_windows (copy the link and open to download)

download the zip file, and extract the contents to ./SSDTTime-master/Scripts

open CMD here: \SSDTTime-master\SSDTTime-master
type "python SSDTTime.py" and you are good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests