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.
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
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