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

PullTab Error #513

Open
Kelanen2002 opened this issue Apr 24, 2024 · 5 comments
Open

PullTab Error #513

Kelanen2002 opened this issue Apr 24, 2024 · 5 comments
Assignees
Labels

Comments

@Kelanen2002
Copy link

Kelanen2002 commented Apr 24, 2024

When I try and create a set of PullTabs for a few sets I get {Message: Internal server error}.

Works on a single set.

@sumpfork sumpfork self-assigned this Apr 24, 2024
@sumpfork sumpfork added the bug label Apr 24, 2024
@sumpfork
Copy link
Owner

Seems to work fine for me, any other settings that are non-default?

@Kelanen2002
Copy link
Author

Yes, quite a few

A4, 3 tabs, 3.0 cm tabs, black tabs, don't restart tabs, add cost, add type - I think that's it.

Any other divider type works fine even for a full set, but PullTabs seems to work for 1-2, but fail at 5 or so (having come down from a full set...)

@Kelanen2002
Copy link
Author

Actually it doesn't work on other types, it just appears to - it creates the file but with ~26 pages and 2.5 sets, not the 150-200 pages it should be. Memory issue?

Maybe I just need to do a set at a time....

@sumpfork
Copy link
Owner

I upped the memory and CPU by 4x, but you're right, with a full set of sets I still get errors.

It's hitting the 6MB response size limit of AWS Lambdas.

I'll have to do work to fix this. Options that come to mind are

  1. provide a download link instead of returning the file if the file is too big, or
  2. adapt response streaming (maybe through lambda web adaptor?)

It'll be some work in either case, so don't hold your breath. I guess generate batch of expansions for now.

@Kelanen2002
Copy link
Author

First option seems easiest - just give a link if it's more than one set selected.

But thanks for investigating

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

No branches or pull requests

2 participants