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

No parts returned from the KiCAD integration API #885

Open
Joe-User opened this issue Mar 7, 2025 · 0 comments
Open

No parts returned from the KiCAD integration API #885

Joe-User opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Joe-User
Copy link

Joe-User commented Mar 7, 2025

Describe the bug
I am attempting to use the EDA integration feature with KiCAD 9.0 and no parts are returned.

To Reproduce

  1. Setup a read-only API key for my user on Part-DB
  2. Added some info to 2 parts on the "EDA Information" tab and checked the "Force visibility" box
  3. Created a file partd.kicad_httplib file using this template from the documentation:{ "meta": { "version": 1.0 }, "name": "Part-DB library", "description": "This KiCAD library fetches information externally from ", "source": { "type": "REST_API", "api_version": "v1", "root_url": "my.server.local/en/kicad-api/", "token": "THE_GENERATED_API_TOKEN" } }
  4. Attempted to find the parts in the KiCAD listing and nothing was found.
  5. Ran an HTTP\GET request including my API key in the header as a bearer token on https://my.server.local/en/kicad-api/v1 and received 200 OK and the following response:
    { "categories": "", "parts": "" }

Expected behavior
Expecting to see a listing of my parts in the KiCAD libraries or an API return with parts listed.

Server Side

  • Docker Container
  • Part-DB Version: 1.15.1
  • PHP Version: 8.3.15
  • Database Server: 8.0.41

Desktop:

  • OS: Windows 11 Pro
  • Browser: Chrome Version 133.0.6943.143

Additional context
I have also attempted a restart of the service and ran the sudo -u www-data php bin/console cache:clear command from looking at some older posts.

@Joe-User Joe-User added the bug Something isn't working label Mar 7, 2025
@Joe-User Joe-User changed the title No parts returned from the KiCAD intigration API No parts returned from the KiCAD integration API Mar 7, 2025
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

1 participant