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

Rajiv Battula rajiv.battula at gmail.com
Tue Oct 16 14:42:37 EDT 2018


Hey Girish, can you provide more details on what "is not loading"? In the
future, provide as much information as possible. A stack trace and a clear
description of the error would help with analyzing the issue.

Rajiv

On Tue, Oct 16, 2018 at 3:23 AM Girish Sridharan <girish.sridharan at gmail.com>
wrote:

> 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.
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20181016/c670bb22/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/c670bb22/attachment-0001.png>


More information about the Flask mailing list