adamws / keyboard-tools

Tools for mechanical keyboard design
http://keyboard-tools.xyz
MIT License
71 stars 7 forks source link

Unable to load the website after generating a layout #11

Closed mrwm closed 11 months ago

mrwm commented 1 year ago

I made a long layout located in this gist, and was able to upload it to the website, but it timed out and gave an error saying something along the lines of being unable to receive build status of the project.

Attempting to reload brings up this error in firefox:
mrwm commented 1 year ago

I just tried again, and this error occurs

Traceback (most recent call last):
File "/kicad/src/tasks.py", line 71, in generate_kicad_project
log_path = kicad.new_pcb(task_id, task_request, __update_percentage)
File "/kicad/src/kicad.py", line 280, in new_pcb
generate_pcb_file(project_full_path, project_name)
File "/kicad/src/kicad.py", line 122, in generate_pcb_file
raise Exception(f"Generate .kicad_pcb from netlist failed: details: {log}")
Exception: Generate .kicad_pcb from netlist failed: details: ./kicad/pcbnew/action_plugin.cpp(163): assert "PgmOrNull()" failed in register_action().
Unable to find footprint Stabilizer_Cherry_MX_2u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty
Unable to find footprint Stabilizer_Cherry_MX_2u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty
Unable to find footprint Stabilizer_Cherry_MX_2u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty
Unable to find footprint Stabilizer_Cherry_MX_2u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty
Unable to find footprint Stabilizer_Cherry_MX_2u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty
Unable to find footprint Stabilizer_Cherry_MX_6u in /kicad/e57f1ae3-3e5d-421e-866b-2b0dc980e875/keyboard/libs/keyswitch-kicad-library/footprints/Mounting_Keyboard_Stabilizer.pretty

This is with the following options and using the layout in the gist linked above:


adamws commented 1 year ago

thank you for reporting, based on the log it is related to https://github.com/adamws/keyboard-tools/issues/10 issue something is definitively buggy, I will have a look in my spare time

adamws commented 11 months ago

@mrwm Give it a try now, I just deployed v0.3

There were two problems you encountered:

I've run your layout (from first message) and it succeed. It would fail if you try to use Controller circuit: ATmega32U4 option but that is an issue for another day.

mrwm commented 11 months ago

I just tried it out, and I don't see any errors anymore. I didn't realize that long layouts could become a form of stress test, haha :sweat_smile: