Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error #96

Open
jareep opened this issue Jan 4, 2023 · 0 comments
Open

Syntax error #96

jareep opened this issue Jan 4, 2023 · 0 comments

Comments

@jareep
Copy link

jareep commented Jan 4, 2023

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

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

No branches or pull requests

1 participant