thesourcerer8 / altium2kicad

Altium to KiCad converter for PCB and schematics
https://www2.futureware.at/KiCad/
GNU General Public License v2.0
837 stars 153 forks source link

Unhandled exception class: class std::bad_function_call #135

Closed mizrex closed 1 year ago

mizrex commented 1 year ago

Thank you for the wonderful tool. I appreciate any help with this. Unfortunately, I'm running into this issue, where the file generated is throwing this error: I have tried zipping the files, removing some sheets. But it gives the same error every time. error

Below is the screenshot of the Altium files and their respective extensions.

altiumFiles

thesourcerer8 commented 1 year ago

Could you please provide all the files? I haven't seen that error before. Have you run the convertall.pl ?

mizrex commented 1 year ago

Appreciate the quick response. I didn't try the desktop version. But used the website. This is the file : https://drive.google.com/file/d/11cDQIcAFujFu78RIkBf2L6grm-rq4JUJ/view?usp=sharing

thesourcerer8 commented 1 year ago

I slightly improved the conversion, but I see that there are far more improvements necessary. Could you please provide PDFs of the Schematics from Altium?

thesourcerer8 commented 1 year ago

I tried again now, and couldn't reproduce the error message you have written initially, I guess it might be a bug that will get fixed in the next KiCad version, or you might want to report it to KiCad yourself. I just tried the new Altium Importer that has been integrated into Kicad itself (one in PcbNew and on in EESchema, to be found in "File -> Import -> Non-KiCad Files", and the results are much better than altium2kicad, so I would suggest to you use the KiCad integrated importer yourself instead of altium2kicad. If it works for you, please close this issue. If it doesn't work for you, please let me know.

mizrex commented 1 year ago

Thank you for getting back and trying. Yes, the KiCad importer worked great. Appreciate your help with this.