Skip to content

Error running cers-from-mozilla.py #7376

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

Closed
DrakoPOD opened this issue Jun 13, 2020 · 3 comments
Closed

Error running cers-from-mozilla.py #7376

DrakoPOD opened this issue Jun 13, 2020 · 3 comments

Comments

@DrakoPOD
Copy link

DrakoPOD commented Jun 13, 2020

Platform

  • Hardware: [ESP-12]
  • Development Env: [VS Code: Platformio]
  • Operating System: [Windows 10]

Problem Description

I already add openssl to the path (like this issue #7300 ), but I get a new error:

Traceback (most recent call last):
  File "certs-from-mozilla.py", line 68, in <module>
    call( arCmd )
  File "C:\Users\<myuser>\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\<myuser>\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\<myuser>\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado

It says is missing "ar" or "arCMD", but I can't find any references to this files on internet.

@lollotek
Copy link

@DrakoPD
Here someone asked for similar issue. the ar.exe is on tools folder od esp8266 library.
#7300 (comment)

@DrakoPOD
Copy link
Author

DrakoPOD commented Jun 13, 2020

@lollotek
thanks, I didn't understand what he was saying. I think they should be add more instructions to the cers-from-mozilla.py file.

Edit: I can't find this path on my computer:
tools/xtensa-lx106-elf/xtensa-lx106-elf/bin

@DrakoPOD
Copy link
Author

DrakoPOD commented Jun 13, 2020

I already found the folder, is different a little bit for me because I'm using PlarformIO on VS code and windows:

%userprofile%\.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\bin

Now, cers-from-mozilla.py runs without error.

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

2 participants