Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

error running app #10

Open
linqingfan opened this issue Jul 17, 2019 · 1 comment
Open

error running app #10

linqingfan opened this issue Jul 17, 2019 · 1 comment

Comments

@linqingfan
Copy link

I have the following error when running python app.py
Seems like error coming from boto3

File "/usr/local/lib/python3.7/dist-packages/botocore/validate.py", line 291, in serialize_to_request
raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter Bucket, value: None, type: <class 'NoneType'>, valid types: <class 'str'>

Versions used:
python3.7
Flask-Caching-1.4.0
boto3-1.7.48
botocore-1.10.84
certifi-2019.6.16
dash-0.36.0
dash-core-components-0.43.0
dash-html-components-0.13.5
dash-renderer-0.17.0
flask-1.0.1
gunicorn-19.8.1
idna-2.6
jmespath-0.9.4
numpy-1.16.3
plotly-2.7.0
python-dotenv-0.8.2
redis-2.10.6
requests-2.18.4
s3transfer-0.1.13
urllib3-1.22

@linqingfan
Copy link
Author

error occured at:

File "app.py", line 242, in
app.layout = serve_layout
File "/usr/local/lib/python3.7/dist-packages/dash/dash.py", line 296, in layout
layout_value = self._layout_value()
File "/usr/local/lib/python3.7/dist-packages/dash/dash.py", line 279, in _layout_value
self._cached_layout = self._layout()
File "app.py", line 84, in serve_layout
res = store_image_string(IMAGE_STRING_PLACEHOLDER, session_id)
File "app.py", line 69, in store_image_string
Key=key_name
File "/usr/local/lib/python3.7/dist-packages/botocore/signers.py", line 686, in generate_presigned_post
{'Bucket': bucket}, operation_model)
File "/usr/local/lib/python3.7/dist-packages/botocore/validate.py", line 291, in serialize_to_request
raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter Bucket, value: None, type: <class 'NoneType'>, valid types: <class 'str'>

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

No branches or pull requests

1 participant