Open superdigi opened 5 years ago
Please provider to us the output for
python -V
pip list
And operating system
my python version is Python 2.7.5 and the pip list as below. for my operating system is centos 7
acme (0.34.2) Babel (2.7.0) backports.ssl-match-hostname (3.5.0.1) certbot (0.34.2) certbot-apache (0.34.2) certifi (2019.6.16) cffi (1.6.0) chardet (3.0.4) click (6.6) ConfigArgParse (0.11.0) configobj (4.7.2) croniter (0.3.30) cryptography (1.7.2) decorator (3.4.0) dnspython (1.12.0) ecdsa (0.13) enum34 (1.0.4) eventlet (0.18.4) fail2ban (0.9.7) Flask (0.11.1) Flask-Babel (0.12.2) Flask-Login (0.4.1) Flask-Themes (0.1.4) future (0.17.0) Glances (2.5.1) greenlet (0.4.2) idna (2.8) iniparse (0.4) ipaddress (1.0.16) IPy (0.75) itsdangerous (1.1.0) Jinja2 (2.10.1) josepy (1.1.0) lockfile (0.9.1) MarkupSafe (1.1.1) mock (1.0.1) MySQL-python (1.2.5) ndg-httpsclient (0.3.2) paramiko (2.1.1) parsedatetime (2.4) perf (0.1) pip (9.0.3) ply (3.4) policycoreutils-default-encoding (0.1) psutil (2.2.1) py (1.4.32) py-Asterisk (0.5.10) pyasn1 (0.1.9) pycparser (2.14) pycrypto (2.6.1) pycurl (7.19.0) pygobject (3.22.0) pygpgme (0.3) pyliblzma (0.5.3) pyOpenSSL (0.13.1) pyparsing (1.5.6) pyRFC3339 (1.0) pytest (2.7.0) python-augeas (0.5.0) python-cjson (1.2.1) python-daemon (1.6) python-dateutil (2.8.0) python-linux-procfs (0.4.9) pytz (2016.10) pyudev (0.15) pyxattr (0.5.1) redis (3.2.1) requests (2.22.0) requests-toolbelt (0.8.0) rq (1.0) rq-scheduler (0.6.1) schedutils (0.4) seobject (0.1) sepolicy (1.1) setuptools (0.9.8) six (1.9.0) slip (0.4.0) slip.dbus (0.4.0) SQLAlchemy (0.9.10) tailer (0.4.1) Tempita (0.5.1) urlgrabber (3.10) urllib3 (1.25.3) Werkzeug (0.15.4) yum-metadata-parser (1.1.4) zope.component (4.1.0) zope.event (4.0.3) zope.interface (4.0.5) You are using pip version 9.0.3, however version 19.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
I found below error when try to browse to qpanel. anyone facing this issue?
Exception on / [GET] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request return self.view_functionsrule.endpoint File "/usr/lib/python2.7/site-packages/flask_login/utils.py", line 261, in decorated_view return func(*args, **kwargs) File "/opt/qpanel/qpanel/app.py", line 248, in home data = get_data_queues() File "/opt/qpanel/qpanel/app.py", line 39, in get_data_queues data = backend.get_data_queues() File "/opt/qpanel/qpanel/backend.py", line 70, in get_data_queues return self.parse_data(data) File "/opt/qpanel/qpanel/backend.py", line 77, in parse_data return self.parse_asterisk(data) File "/opt/qpanel/qpanel/backend.py", line 114, in parse_asterisk granularity='second') File "/usr/lib/python2.7/site-packages/flask_babel/init.py", line 453, in format_timedelta return dates.format_timedelta( AttributeError: 'module' object has no attribute 'format_timedelta'