keylime / keylime-vagrant-ansible-tpm-emulator

Ansible role to deploy Keylime with a software emulator
https://keylime.dev
Apache License 2.0
8 stars 20 forks source link

Exception running keylime_webapp #43

Closed RUKip closed 1 year ago

RUKip commented 4 years ago

Running the keylime_webapp inside the VM throws an exception:

Traceback (most recent call last): File "/usr/local/bin/keylime_webapp", line 11, in load_entry_point('keylime==0.0.0', 'console_scripts', 'keylime_webapp')() File "/usr/local/lib/python3.7/site-packages/keylime-0.0.0-py3.7.egg/keylime/cmd/webapp.py", line 15, in main tenant_webapp.main() File "/usr/local/lib/python3.7/site-packages/keylime-0.0.0-py3.7.egg/keylime/tenant_webapp.py", line 640, in main 'Static resource directory could not be found in %s!' % (root_dir)) Exception: Static resource directory could not be found in /usr/local/lib/python3.7/site-packages/keylime-0.0.0-py3.7.egg/keylime!

MartinMa28 commented 3 years ago

I run into this problem as well in the VM. To reproduce it:

  1. vagrant up --provision
  2. vagrant ssh
  3. sudo su
  4. keylime_webapp

Error log: Traceback (most recent call last): File "/usr/local/bin/keylime_webapp", line 33, in sys.exit(load_entry_point('keylime==0.0.0', 'console_scripts', 'keylime_webapp')()) File "/usr/local/lib/python3.9/site-packages/keylime-0.0.0-py3.9.egg/keylime/cmd/webapp.py", line 15, in main tenant_webapp.main() File "/usr/local/lib/python3.9/site-packages/keylime-0.0.0-py3.9.egg/keylime/tenant_webapp.py", line 694, in main raise Exception( Exception: Static resource directory could not be found in /usr/local/lib/python3.9/site-packages/keylime-0.0.0-py3.9.egg/keylime!

THS-on commented 1 year ago

Closing, because the webapp no longer exists.