Gunicorn returns an error when running heroku logs

后端 未结 2 1810
悲&欢浪女
悲&欢浪女 2021-01-28 06:08

When running heroku logs --tail I am getting the following error looping infinitely. The main error is this \"unexpected extra argument\" That I can\'t understand.

2条回答
  •  天命终不由人
    2021-01-28 06:26

    I encountered the same issue when using flask on Heroku. This was the issue with mine:

    Initdb() is a function that generates the SQL database. I commented out the following code and resolved the issue:

    Try:
        Init_db_command()    
    Except sqlite3.operationalError:
        Pass
    

提交回复
热议问题