Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

no start #3

Open
ka1myk opened this issue Mar 29, 2022 · 4 comments
Open

no start #3

ka1myk opened this issue Mar 29, 2022 · 4 comments

Comments

@ka1myk
Copy link

ka1myk commented Mar 29, 2022

(.venv) C:\Users\KLKALMYK\Downloads\bf_checker-main>python app.py
Traceback (most recent call last):
File "app.py", line 5, in
import dash
File "C:\Users\KLKALMYK\Downloads\bf_checker-main.venv\lib\site-packages\dash_init_.py", line 1, in
from .dash import Dash, no_update # noqa: F401
File "C:\Users\KLKALMYK\Downloads\bf_checker-main.venv\lib\site-packages\dash\dash.py", line 19, in
from werkzeug.debug.tbtools import get_current_traceback
ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' (C:\Users\KLKALMYK\Downloads\bf_checker-main.venv\lib\site-packages\werkzeug\debug\tbtools.py)

H256 added a commit that referenced this issue Mar 30, 2022
- changed some things for updated dash
@H256
Copy link
Owner

H256 commented Mar 30, 2022

Hi @ka1myk I've updated the requirements.txt and app.py to get rid of this problem. Could you try again?

@ka1myk
Copy link
Author

ka1myk commented Mar 31, 2022

Hello! Start successfully

изображение

but

изображение

error, nothing

@H256
Copy link
Owner

H256 commented Mar 31, 2022

Hi, looks like a configuration issue to me.
Could you try to open the page directly from the machine where it's started via 127.0.0.1 - my guess is that it's not allowing CORS from the 62.... IP.

Also you could try to set the IP in .env to 0.0.0.0, BUT be careful because the IP might then also be visible from the outside - so ensure that somehow only you have access to the machine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@H256 @ka1myk and others