Troubleshooting

Phantomas is not working

To verify missing system libraries (which npm can’t install), run:

$ phantomjs --debug=true

You can then install the missing libraries with some OS-specific tool, like apt-get.

CherryPy is not working

To elevate the debug level in hostit-monitoring/hsm_supervisor/hsm_supervisor/development.ini add:

[loggers]
keys=root, cherrypy

[logger_cherrypy]
level=DEBUG
handlers=consoleHandler
qualname=cherrypy

Missing setuptools

In case install process fails complaining about missing setuptools, you might be required to install python setuptools through your system package manager or you might download and install it manually with:

$ wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python

Dependencies problems during installation

Check for the presence of the following libraries:

  • python-pip
  • python-dev
  • libssl-dev
  • libffi-dev
  • build-essential