main
John Lauer Add JST GH libraries, native schematic parity and revised sensor harness study with reviewed clips 1ac01c3
Traceback (most recent call last):
  File "/home/adom/project/adom-custom-electronic-load/tools/publish_jst_catalog.py", line 10, in <module>
    run(['adom-wiki','page','create',slug,'--org','adom','--type','hardware','--kind','component','--mpn',meta['component']['mpn'],'--title',meta['title'],'--brief',meta['brief'],'--because','Exact MPN search found no component page for this part; existing BM02B is a different two-position PCB header and cannot represent this distinct reusable header, cable housing or contact.','--headline',meta['component']['mpn'],'--subhead',meta['description'],'--source','kicad','--source-url',meta['source']['url'],'--json'],'create')
  File "/home/adom/project/adom-custom-electronic-load/tools/publish_jst_catalog.py", line 8, in run
    x=subprocess.run(args,cwd=p,capture_output=True,text=True,env=env);(rev/(label+'.json')).write_text(x.stdout);(rev/(label+'.stderr')).write_text(x.stderr);assert x.returncode==0,x.stdout+x.stderr;j=json.loads(x.stdout);assert j['status']=='ok',j;return j
                                                                                                                                                                      ^^^^^^^^^^^^^^^
AssertionError: creating bm03b-ghs-tbt because: Exact MPN search found no component page for this part; existing BM02B is a different two-position PCB header and cannot represent this distinct reusable header, cable housing or contact.
(the wiki-bloat rule: before creating anything, first find where it should already live)
{
  "status": "error",
  "data": {
    "http_status": 400,
    "response": {
      "error": "validation failed",
      "errors": [
        "component.distributor_links must name at least one distributor part number (mouser, digikey or lcsc), or say false for each one that does not carry the part"
      ],
      "code": "DISTRIBUTOR_NUMBERS_REQUIRED",
      "hint": "A purchasable part is created with the numbers a buyer needs. Add to package.json: \"component\": { \"distributor_links\": { \"mouser\": \"<Mouser part #>\", \"digikey\": \"<DigiKey part #>\", \"lcsc\": \"<LCSC C-number>\" } }, using false for a distributor that genuinely does not carry it. Assemblies (molecule, board, project, equipment, group) are exempt.",
      "data": {
        "missing": [
          "digikey",
          "mouser",
          "lcsc"
        ]
      },
      "request_id": "8682b9ed-c984-44f2-98c4-07007dba7755"
    }
  },
  "hints": [
    {
      "level": "error",
      "code": "DISTRIBUTOR_NUMBERS_REQUIRED",
      "message": "a new component page needs at least one distributor number in component.distributor_links; missing: digikey, mouser, lcsc",
      "action": "add the real number, a {part} object, or the explicit literal false per distributor not carrying the part (jlcpcb counts as lcsc); existing pages republish with only a warning"
    }
  ]
}

ERROR: external command failed: python3 (exit status: 1)
Hint: Inspect the command output above, fix the reported failure and retry with adom-aiflow exec -- <program> <args>. The failed command's time is retained.