- changed status to resolved
Run Server Fails - MonthDelta
running on Ubuntu 14.04, installation went smooth after manually installing PIL. Database and admin usre created successfully.
Getting following error when issuing command "sudo run_foreman.py runserver /usr/local/etc/Foreman/config.ini
Binding to database. Traceback (most recent call last): File "/usr/local/bin/run_foreman.py", line 5, in <module> pkg_resources.run_script('Foreman-Forensics==0.0.1', 'run_foreman.py') File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1394, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/EGG-INFO/scripts/run_foreman.py", line 104, in <module> args.func(args) File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/EGG-INFO/scripts/run_foreman.py", line 22, in runserver app = make_app(args.config_file) File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/EGG-INFO/scripts/run_foreman.py", line 14, in make_app from foreman.application import make_app File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/foreman/application.py", line 10, in <module> from controllers import controller_lookup File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/foreman/controllers/init.py", line 1, in <module> from generalController import GeneralController File "/usr/local/lib/python2.7/dist-packages/Foreman_Forensics-0.0.1-py2.7.egg/foreman/controllers/generalController.py", line 4, in <module> from monthdelta import MonthDelta ImportError: cannot import name MonthDelta
I noticed that the requirements call for monthdelta v1.0b but your setup script installs an earlier version (.0.9.1 I think), could that be the issue?
Comments (2)
-
repo owner -
I'm actualy still having this issue. I looked at the setup file and it says 1.0b
- Log in to comment
Yup, that's the issue, I have fixed this in the update I did yesterday!
https://bitbucket.org/lowmanio/foreman/commits/c0aee12a966239c22c28c07ffc5532d8b2e4238c#chg-setup.py