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

Maxiumum call stack exceeded when reading some Gerber files #420

Open
veggiesaurus opened this issue Sep 8, 2023 · 2 comments
Open

Maxiumum call stack exceeded when reading some Gerber files #420

veggiesaurus opened this issue Sep 8, 2023 · 2 comments

Comments

@veggiesaurus
Copy link

I've been using tracepsace for reading Gerber files generated by kicad v7, and ran into an issue with this file in particular. I've attached the offending Gerber file as well as the source kicad PCB.

The following snippet results in an error:

import { read } from "@tracespace/core";

async function main() {
  const readPaths = ["./boatcontrol-F_Silkscreen.gbr"];

  const readResult = await read(readPaths);
  console.log(`Found ${readResult.layers.length} layers.`);
}

main()
  .then(() => console.log("Done"))
  .catch(console.error);

boatcontrol-F_Silkscreen.gbr.zip
boatcontrol.kicad_pcb.zip

@veggiesaurus
Copy link
Author

Just noticed that this has been fixed by 5496ac9

Any chance of bumping the package version after this bugfix?

@Gianarci
Copy link

Just noticed that this has been fixed by 5496ac9

Any chance of bumping the package version after this bugfix?

Nice question. Is this great library a dead project? It's really a huge shame, because AFAIK is the best gerber-to-svg rendering library for Javascript. Isn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants