Application error: An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command

sir after creating log using heroku cli i am getting this error:

2020-07-10T22:46:56.484976+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=GET path="/" host=marks-predictions.herokuapp.com request_id=50acb46f-9347-4b3a-8158-7b502cd0b382 fwd=“103.28.253.28” dyno= connect= service= status=503 bytes= protocol=https

although, i used the method as POST in index.html page

hey @abubakar_nsit ,
Can you please provide the full log error , so that i am able to understand that more easily.
and also the link to your git repo for this project to understand the code.

Thank You. :slightly_smiling_face:.

sir, i have uploaded the error log in the same repo as error.txt.
and sir i am getting this error in deployment of many projects on heroku :cry: :cry:

hey @abubakar_nsit ,
which python version is being used in the environment ?

sir my pc is showing Python 3.7.3

its on heroku right ?

how i can check it sir?

There might be an option of terminal or bash something on dashboard , from there you can just enter the command you use in windows terminal.

sir it is showing 3.6.11 on heroku console

on console ,
just implement this command

from sklearn.externals import joblib
and let me know the output

“bash: from: command not found” on heroku console sir

ohh , before that

python

python editor will start then this command

and

import joblib

what does this show ?

yes sir it has been imported!

so in your app.py
instead of sklearn.external import joblib
try
import joblib

and check does it work.

Nice work Done @abubakar_nsit .
UI looks good.

thank you so much sir!! :innocent: :innocent: :innocent: :innocent:

No problem at all. :slightly_smiling_face:.
If sometime , we by chance miss to help you out. Just give a message in the whatsapp group. Anyone will surely respond to you and help you out of it.

For now, i would request you to mark this doubt as resolved and also to provide your valuable feedback for this.

Thank You. and Happy Debugging :slightly_smiling_face:.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.