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] Not able to export bigger design #209

Open
the3dfox opened this issue Jul 1, 2024 · 4 comments
Open

🐛 [Invalid string length] Not able to export bigger design #209

the3dfox opened this issue Jul 1, 2024 · 4 comments

Comments

@the3dfox
Copy link

the3dfox commented Jul 1, 2024

Hi, after the rollback today I finally was able to export some designs. However, we are still unable to export our main design. When we try, at some point the browser freezes or the process is stuck at generating penpot file. The console log is the following, not sure if it is helpful:

VM534:7 Uncaught RangeError: Invalid string length
    at Object.push (<anonymous>:7:22416)
    at Bl (<anonymous>:7:17582)
    at $t (<anonymous>:7:17730)
    at cf (<anonymous>:7:20445)
    at am (<anonymous>:7:22720)
    at l.renderToStaticMarkup (<anonymous>:7:29462)
    at <anonymous>:266:5187
    at <anonymous>:238:85170
    at nn.next [as _nextOverride] (<anonymous>:13:21833)
    at nn.i [as _next] (<anonymous>:11:75107)

unfortunately, we can not share the figma file publicly but if you want to test it for yourself, we can invite you with your email address

@Cenadros
Copy link
Collaborator

Hi there @the3dfox. We're going to start working again in trying to solve the issues that are being reported and I've been looking at this one.

If you can invite us to the document with our mails ([email protected] and [email protected]) to check the error it would be great.

Thank you in advance.

@the3dfox
Copy link
Author

the3dfox commented Nov 5, 2024

Sorry, took me some longer. Invited you today. Thanks for looking into it

@Cenadros
Copy link
Collaborator

Hi there @the3dfox,

I can confirm you that this issue is one of the most commons we're having right now. To give you some information this happens when there's a page too big to be handled by the current penpot library that handles the export in .svg. The .svg resulting from the export is so big that it reaches a size limit.

The penpot team is currently working in an alternative way of exporting these files and as soon as we can develop it in the plugin we'll address this issue.

Thank you for your help and patience.

@Cenadros Cenadros changed the title Not able to export bigger design 🐛 [Invalid string length] Not able to export bigger design Nov 15, 2024
@the3dfox
Copy link
Author

Thanks for elaborating, glad to hear penpot team and you are actively working on this.

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