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

🐛 [Invalid string length] An error during export file generation #238

Open
krshmt opened this issue Nov 14, 2024 · 1 comment
Open

🐛 [Invalid string length] An error during export file generation #238

krshmt opened this issue Nov 14, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@krshmt
Copy link

krshmt commented Nov 14, 2024

I'm not really sure what went wrong. I've tried exporting my Figma project four times, but each attempt has failed. Perhaps the project file is too large?

image

@Cenadros
Copy link
Collaborator

Hi there @krshmt, we currently have two issues identified. The one that you're seeing is happening because of how the current penpot lib handles the export.

The export currently works building a .svg for each page with the data we send from Figma to the Penpot js library. If the resulting .svg for a page is too big (this happens when in Figma there's a page with great amount of content and layers) the library crashes with a size limit error.

Penpot team is currently working in a different approach for the export process and as soon as they have it implemented we'll start working in adapting the pluging to that new export process. Hopefully this issue will be resolved in that moment.

@Cenadros Cenadros added the duplicate This issue or pull request already exists label Nov 15, 2024
@Cenadros Cenadros changed the title An error during export file generation 🐛 [Invalid string length] An error during export file generation Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants