Comments (14)
Есть что-нибудь в roxy-wi-error.log?
from roxy-wi.
В директории /var/log/roxy-wi/ пусто
from roxy-wi.
from roxy-wi.
Пишет что нет модуля Flask
Но по факту он установлен
from roxy-wi.
из под пользователя apache flask доступен?
from roxy-wi.
Не совсем понял как это проверить. Буду благодарен если подскажите.
from roxy-wi.
Примерно так:
su - apache
python3
import flask
from roxy-wi.
Именно так делал, но подумал что вы имели в виду что то другое
При попытке переключится на пользователя apache
хотя в списке он есть
from roxy-wi.
from roxy-wi.
I have the same issue on a brand new box running EL9, installing from RPM repo - pip and flask are updated to newest already. Even creating the DB results in this weird flask behavior:
File "/var/www/haproxy-wi/app/./create_db.py", line 4, in <module>
from modules.db.db_model import *
File "/var/www/haproxy-wi/app/modules/db/db_model.py", line 4, in <module>
from flask_login import UserMixin
File "/usr/local/lib/python3.9/site-packages/flask_login/__init__.py", line 12, in <module>
from .login_manager import LoginManager
File "/usr/local/lib/python3.9/site-packages/flask_login/login_manager.py", line 33, in <module>
from .utils import _create_identifier
File "/usr/local/lib/python3.9/site-packages/flask_login/utils.py", line 14, in <module>
from werkzeug.urls import url_decode
ImportError: cannot import name 'url_decode' from 'werkzeug.urls' (/usr/local/lib/python3.9/site-packages/werkzeug/urls.py)
Thats the error I see on DB creation, page execution, etc.
No idea what to do to resolve. Feels like maybe a missing dependency or something, but just not sure what to check next.
Thanks for any help!
from roxy-wi.
from roxy-wi.
Sure
$ flask --version
Python 3.9.16
Flask 3.0.0
Werkzeug 3.0.0
from roxy-wi.
from roxy-wi.
Try to install these versions: Werkzeug==2.2.3 Flask==2.2.5 Flask-Login==0.6.2 Flask-APScheduler==1.13.0 Flask-Caching==2.1.0
That did it! I guess the v3 that installs as "latest" isn't compatible yet.
Thanks!
from roxy-wi.
Related Issues (20)
- Error - LDAP - Add_user HOT 2
- Can't log in HOT 2
- Fresh manual install cannot login HOT 16
- Remote command execution due to poor parameter filtering HOT 2
- Authenticated SQLi HOT 1
- Установка roxy-wi под Debian 11.6 ошибка авторизации HOT 1
- debian/ubuntu: lorotate config conflict. HOT 2
- Fresh manual install on Centos 7. Admin login fails with no error HOT 2
- i am clinically insane HOT 1
- Letsencrypt pem generation failed HOT 5
- Error on manual install step sudo ./create_db.py HOT 6
- LDAP Authentication HOT 6
- Letsencrypt with multiple domain in one certificate HOT 5
- ed25519 support HOT 4
- URL rewrite needs updated on HAProxy > Overview > Backends HOT 1
- Managing local server haproxy but SSH login fails HOT 2
- HAProxy log files not rotated HOT 2
- Installed Roxy-wi does not work when accessing web console. HOT 1
- Change language to not use master and slave HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roxy-wi.