Giter VIP home page Giter VIP logo

Comments (5)

jlubken avatar jlubken commented on July 19, 2024

For whatever reason Heroku is using the Pipenv.lock file instead of requirements.txt and setup.py. This Pipenv.lock file does not include the penn_chime module itself (and it should).

Perhaps someone more familiar with Pipenv can add this, of Pipenv can be removed from the project so heroku uses the setup.py instead?

from chime.

jlubken avatar jlubken commented on July 19, 2024

I've asked on ops to see if there is a reason I am unaware of to keep pipenv.

from chime.

cshewmake2 avatar cshewmake2 commented on July 19, 2024

Another person and I are having the same issue. By modifying the Pipfile and recreating the Pipfile.lock file, I was able to get it to work locally again. However, it still fails on deployment to Heroku.

from chime.

Sabale88 avatar Sabale88 commented on July 19, 2024

@cshewmake2, can you please elaborate on the modification you did? I am running into the same problem in a Conda environment.
I was trying to fix the above bug myself (by just changing the path to the file), but it only starts a chain of other corrections I need to do. It gets to a place where I find there are some missing objects from the validators.py file, and I really can't understand the problem.
I tried to clone the project again yet I'm getting the same problem.
Do you think your solution may solve what I'm experiencing?

from chime.

therealthaibinh avatar therealthaibinh commented on July 19, 2024

@mdbecker and I tried these steps and it seemed to fix the issue. It has to do with Heroku setting the port.
In the heroku.yml file, we changed Dockerfile.dash to Dockerfile
In the Dockerfile file, we added the environment variable for a port, and modified the command to run:
ENV STREAMLIT_SERVER_PORT=$PORT
CMD STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py

from chime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.