You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running cd /opt/alarmdecoder-webapp/ && python manage.py initdb, I receive an error:
/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import utils, x509
Traceback (most recent call last):
File "manage.py", line 12, in
from ad2web import create_app, init_app
File "/opt/alarmdecoder-webapp/ad2web/init.py", line 3, in
from app import create_app, init_app
File "/opt/alarmdecoder-webapp/ad2web/app.py", line 18, in
from .decoder import decodersocket, Decoder, create_decoder_socket
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(*args, **kwargs)
File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 35, in
from .notifications import NotificationSystem, NotificationThread
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(*args, **kwargs)
File "/opt/alarmdecoder-webapp/ad2web/notifications/init.py", line 4, in
from .views import notifications
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(*args, **kwargs)
File "/opt/alarmdecoder-webapp/ad2web/notifications/views.py", line 5, in
from wtforms import FormField, TextField
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wtforms/init.py", line 11, in
from wtforms import validators, widgets
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/wtforms/validators.py", line 9, in
import email_validator
File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 53, in import
result = _import(args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/email_validator/init.py", line 255
def caching_resolver(, timeout=None, cache=None):
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
When running cd /opt/alarmdecoder-webapp/ && python manage.py initdb, I receive an error:
The text was updated successfully, but these errors were encountered: