Python Forum
flask app to save images locally when deployed on heroku not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
flask app to save images locally when deployed on heroku not working
#2
getcwd() try to get current working directory on heroku which return _.
Try without:
# Uploads settings
app.config['UPLOADED_PHOTOS_DEST'] = '/uploads'
Reply


Messages In This Thread
RE: flask app to save images locally when deployed on heroku not working - by snippsat - Feb-20-2019, 11:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star Leapcell: The Python-Friendly Alternative to Heroku + Airtable Hybrid IssacChan 1 474 Feb-01-2024, 06:00 AM
Last Post: Athi
  Deployed Spider on Heroku: How do I email downloaded files? JaneTan 2 1,572 Mar-24-2022, 08:31 AM
Last Post: JaneTan
  Heroku Error H10 jamesaarr 1 2,035 Oct-21-2021, 03:43 PM
Last Post: jamesaarr
  Importing Postgres Heroku from AWS S3 Drone4four 0 1,814 May-27-2021, 01:09 PM
Last Post: Drone4four
  Django project deployed to Heroku: Postgres security Drone4four 0 1,945 Mar-26-2021, 10:17 AM
Last Post: Drone4four
Question Flask, send_from_directory not working : solved SpongeB0B 2 7,500 Jan-26-2021, 07:02 AM
Last Post: SpongeB0B
  My flask website not working properly Aggam 2 2,165 Nov-03-2020, 09:53 AM
Last Post: Aggam
  Retrieve images base64 encoded MongoDB and Flask Nuwan16 2 3,317 Oct-13-2020, 06:25 PM
Last Post: Nuwan16
  Flask Can't Save Screenshot to Postgres Db firebird 3 2,396 Sep-21-2020, 09:22 PM
Last Post: firebird
  Flask, Posgresql - Multiple requests are not working bmaganti 5 2,775 Feb-20-2020, 03:02 PM
Last Post: bmaganti

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020