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

I have tried to download the foot print but got this error #6

Open
arslan437 opened this issue Mar 13, 2023 · 2 comments
Open

I have tried to download the foot print but got this error #6

arslan437 opened this issue Mar 13, 2023 · 2 comments

Comments

@arslan437
Copy link

here is the error detail

& 'C:\Program Files\KiCad\7.0\bin\python.exe' ./fetchComponent.py fetchlcsc --kicadLib test.pretty --force C558438
Traceback (most recent call last):
  File "C:\Users\Arslan\Documents\KiCad\7.0\scripting\plugins\EasyEDAFootprintScraper\fetchComponent.py", line 264, in <module>
    cli()
  File "C:\Users\Arslan\Documents\KiCad\7.0\3rdparty\Python39\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Arslan\Documents\KiCad\7.0\3rdparty\Python39\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\Arslan\Documents\KiCad\7.0\3rdparty\Python39\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\Arslan\Documents\KiCad\7.0\3rdparty\Python39\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Arslan\Documents\KiCad\7.0\3rdparty\Python39\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\Arslan\Documents\KiCad\7.0\scripting\plugins\EasyEDAFootprintScraper\fetchComponent.py", line 234, in fetchLcsc
    componentDetail, footprint = fetchAndConvert(cinfo, token, cookies)
  File "C:\Users\Arslan\Documents\KiCad\7.0\scripting\plugins\EasyEDAFootprintScraper\fetchComponent.py", line 166, in fetchAndConvert
    kicadBoard = easyEdaToKicad(packageBoard)
  File "C:\Users\Arslan\Documents\KiCad\7.0\scripting\plugins\EasyEDAFootprintScraper\fetchComponent.py", line 115, in easyEdaToKicad
    subprocess.check_call(["easyeda2kicad", easyFilename, kicadFilename])
  File "C:\Program Files\KiCad\7.0\bin\Lib\subprocess.py", line 368, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Program Files\KiCad\7.0\bin\Lib\subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Program Files\KiCad\7.0\bin\Lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\KiCad\7.0\bin\Lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
@arslan437 arslan437 changed the title I have tried to download the foot print but go this error I have tried to download the foot print but got this error Mar 13, 2023
@yaqwsx
Copy link
Owner

yaqwsx commented Mar 13, 2023

You miss https://github.com/wokwi/easyeda2kicad installed. And even then, it is probable that the tool won't work - it wasn't updated for a while and it is possible that JLC PCB and EasyEDA changed their API.

@arslan437
Copy link
Author

Where I need to run this command.

npm install -g easyeda2kicad

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