Gunicorn returns an error when running heroku logs

后端 未结 2 1769
悲&欢浪女
悲&欢浪女 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:24

    As far as I know, this error happens when you pass a string in a function so avoid doing that. Don't pass a string as a parameter in the function definition

    0 讨论(0)
  • 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
    
    0 讨论(0)
提交回复
热议问题