Closed Kukikano0709 closed 1 month ago
The same problem.Wait for answer.
Comment 1. "I had an older version of Werkzeug in my requirements.txt that needed removing" Fix 1. Upgrade Werkzeug
Comment 2. "I added flask==2.1.3 to my requirements and it worked. I think this is a problem with the currently lastest versions of flask" Fix 2. DO NOT use version listed here, just upgrade flask
Lesson Learned, DO RESEARCH FIRST
Stale issue message
Traceback (most recent call last): File "run.py", line 1, in
from buildyourownbotnet import create_app
File "/root/byob/web-gui/buildyourownbotnet/init.py", line 2, in
from flask import Flask
File "/usr/local/lib/python3.8/dist-packages/flask/init.py", line 5, in
from . import json as json
File "/usr/local/lib/python3.8/dist-packages/flask/json/init.py", line 6, in
from ..globals import current_app
File "/usr/local/lib/python3.8/dist-packages/flask/globals.py", line 25, in
app_ctx: AppContext = LocalProxy( # type: ignore[assignment]
TypeError: init() got an unexpected keyword argument 'unbound_message'