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

Turn off download database link #25

Closed
simonw opened this issue Aug 24, 2022 · 2 comments
Closed

Turn off download database link #25

simonw opened this issue Aug 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@simonw
Copy link
Owner

simonw commented Aug 24, 2022

The DB is over 12MB in size, and Vercel has a 4.5MB limit:

https://vercel.com/docs/concepts/limits/overview#serverless-function-payload-size-limit

So the link just doesn't work.

https://sfms-history.vercel.app/sfms

CleanShot 2022-08-24 at 10 29 12@2x

@simonw simonw added the bug Something isn't working label Aug 24, 2022
simonw added a commit that referenced this issue Aug 24, 2022
@simonw
Copy link
Owner Author

simonw commented Aug 24, 2022

https://sfms-history.vercel.app/sfms is now a 500 error.

[ERROR] NameError: name 'false' is not definedTraceback (most recent call last):  File "/var/lang/lib/python3.9/importlib/__init__.py", line 127, in import_module    return _bootstrap._gcd_import(name[level:], package, level)  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked  File "<frozen importlib._bootstrap_external>", line 850, in exec_module  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed  File "/var/task/vc__handler__python.py", line 12, in <module>    __vc_spec.loader.exec_module(__vc_module)  File "<frozen importlib._bootstrap_external>", line 850, in exec_module  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed  File "./index.py", line 27, in <module>    settings={"allow_download": false}Unknown application error occurred

@simonw
Copy link
Owner Author

simonw commented Aug 24, 2022

That fixed it.

https://sfms-history.vercel.app/sfms

image

@simonw simonw closed this as completed Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant