-
Notifications
You must be signed in to change notification settings - Fork 20
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
kicad2step_do Error: Still running #21
Comments
Hi @dsa-t ! BTW: How complex is to setup a WSL2 to run KiBot? Could you write a small tutorial? |
Thanks @set-soft ! That fix should work, but there are other bugs preventing proper usage. Installation backgroundI've installed kicad without any additional symbols, footprints or 3D models, as I already had them on the host drive. Here are the obstacles I've encountered: Configure Global Symbol/Footprint Library TableWhen KiBot encounters this window, it just does nothing and eventually times out. To see what had happened, I had to see the debug recording. Then I had to manually launch eeschema and pcbnew, interacting through the X server (VcXsrv) and chose the "empty table" options. The UX could be improved here by creating empty global PathsI've just configured them through the X server in the dialog, I didn't want to use the system environment variables. Some management of KiCad paths in KiBot could be a cool feature. Schematic editor stuck at dialog about not finding the sheet templateIncreased PCB 3D viewer processing timeThe script starts trying to invoke 3D viewer immediately. it doesn't wait for the pcb to load, causing the 3D viewer invocation to retry after a timeout, and not sooner (while this is done properly in eeschema). 3D viewer crashing, or having artifacts, AA cannot be disabled (#22)3D viewer timeouts due to pressing Enter when typing hasn't finished yet (#23)Might be more...Ubuntu in WSL works almost just like any Ubuntu distro, so there are no issues in installing KiBot packages themselves. Tutorials on how to use an X server with WSL2 can be found online. Moreover, using GUI Linux apps becomes easier with the new WSLg on Windows 11. I can write a line about WSL somewhere once I figure this out for myself. |
For Configure Global Symbol/Footprint Library Table I opened #24 |
Which operation triggered it? I tried moving |
Hi @dsa-t !
I changed the pcbnew window name regular expression so we only detect the window after the PCB was loaded. Should fix this. |
Thanks! The template error happened in update_xml preflight, later when I added skipping of that dialog, KiBot reported the template error in the next steps. The template path was actually wrong in a sheet. |
- Allows defining KiCad environment variables. Related to INTI-CMNB/KiAuto#21
Using KiCad 6.0.5 and the STEP export on WSL2, I get:
This seems to be due to the kicad2step process not being terminated in 0.3 seconds after pressing the OK button.
For me, it starts working when I change the delay at this line to 0.5 seconds without extra system load and 1 second under some extra system load:
KiAuto/src/kicad2step_do
Line 58 in 7b920e8
The text was updated successfully, but these errors were encountered: