dahlia / sqlalchemy-imageattach

SQLAlchemy extension for attaching images to entities.
https://sqlalchemy-imageattach.readthedocs.io/
MIT License
116 stars 25 forks source link

Documentation for transitioning S3Store. #37

Closed goodstechinc closed 8 years ago

goodstechinc commented 8 years ago

I've been using sqlalchemy-imageattach smoothly on my machine, saving to a local filesystem. But, I'm attempting to switch to an s3 store (with my application running on an EC2 instance setup by Elastic Beanstalk). Now, I'm encountering the following error:

[Fri Jul 22 00:44:12.402173 2016] [:error] [pid 9236] <open file '', mode 'w+b' at 0x7f20b536e1e0>

I'm not sure if this is related to sqlalchemy-imageattach.

When setting up the s3 store do I only need to provide the name of the bucket set up by my Elastic Beanstalk enviroment? No further configuration is required? Must I provided anything else to the S3Store initializer, i.e. some access keys, etc.?