You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a button on my site that a user clicks to "export to csv"
I grab a record from dynamodb and use python's csv and io.StringIO() to generate an in-memory csv file of the data.
When I test locally using uvicorn I get the response with giant csv file. However when I test on aws (uses lambda), I get an error with OSError: [Errno 36] File name too long: b'id,batch_id,qrcode_svg\...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a button on my site that a user clicks to "export to csv"
I grab a record from dynamodb and use python's
csv
andio.StringIO()
to generate an in-memory csv file of the data.When I test locally using uvicorn I get the response with giant csv file. However when I test on aws (uses lambda), I get an error with
OSError: [Errno 36] File name too long: b'id,batch_id,qrcode_svg\
...Does this look right or am I doing it wrong?
py 3.9
Beta Was this translation helpful? Give feedback.
All reactions