I am running through the setup of the alarmdecoder webapp and have installed nginx and gunicorn.
I have cloned the git repo of the alarmdecoder-webapp
I have done the pip install of the requirements.txt (with the exception of pyftdi which I had to change the version to 0.6.3 since it couldn't find 0.9.0) Here is the error for that before I changed the version to 0.6.3
Downloading/unpacking pyftdi==0.9.0 (from -r requirements.txt (line 41))
Could not find a version that satisfies the requirement pyftdi==0.9.0 (from -r requirements.txt (line 41)) (from versions: 0.4.5, 0.5.1, 0.5.2, 0.6.3)
But now when I try to do the python manage.py initdb I get these errrors:
/opt/local/lib/python2.7/site-packages/pytz/__init__.py:29: UserWarning: Module argparse was already imported from /opt/local/lib/python2.7/argparse.pyc, but /opt/local/lib/python2.7/site-packages is being added to sys.path
from pkg_resources import resource_stream
Traceback (most recent call last):
File "manage.py", line 12, in <module>
from ad2web import create_app
File "/opt/alarmdecoder-webapp/ad2web/__init__.py", line 3, in <module>
from app import create_app
File "/opt/alarmdecoder-webapp/ad2web/app.py", line 18, in <module>
from .decoder import decodersocket, Decoder, create_decoder_socket
File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 23, in <module>
from .notifications import NotificationSystem
File "/opt/alarmdecoder-webapp/ad2web/notifications/__init__.py", line 4, in <module>
from .views import notifications
File "/opt/alarmdecoder-webapp/ad2web/notifications/views.py", line 8, in <module>
from ..settings import Setting
File "/opt/alarmdecoder-webapp/ad2web/settings/__init__.py", line 4, in <module>
from .views import settings
File "/opt/alarmdecoder-webapp/ad2web/settings/views.py", line 38, in <module>
from sh import hostname, service, sudo
ImportError: cannot import name service
Exception KeyError: KeyError(4324532784,) in <module 'threading' from '/opt/local/lib/python2.7/threading.pyc'> ignored
Any ideas what I might be doing wrong? Thanks in advance