[Flask] Flask app not loading data - Could it be the sqlalchemy uri step ? Need help

Girish Sridharan girish.sridharan at gmail.com
Tue Oct 16 06:22:49 EDT 2018


Hi all,

This is Girish ( 9620249019).

Am creating a Flask App. Loading data using SQLALCHEMY using a mysql db. I
do not use MySQL db here instead creating a filestorage and a static file
load. Creating a flask app with a csv upload. And then analyzing the data
using many algorithms. This is not loading. Need help people.

Folder structure is such as below:
[image: image.png]
App code below:

# Configuration for File Uploads

files = UploadSet('files',ALL)

app.config['UPLOADED_FILES_DEST'] = 'static/uploadsDB'

configure_uploads(app,files)

app.config['SQLALCHEMY_DATABASE_URI'] =
'sqlite:///static/uploadsDB/filestorage.db'


Warm regards,

MS Girish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20181016/8ad0b35e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 20528 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/flask/attachments/20181016/8ad0b35e/attachment-0001.png>


More information about the Flask mailing list