Closed felmoltor closed 10 years ago
Hi, What is the version of apscheduler inside virtualenv?
Running: $pip install apscheduler==2.1.2 shall resolve the issue. I need to fix that in install.sh file Thanks
Hi @felmoltor,
To add to what @b0nd already mentioned, I shall ask you to follow the below steps to reproduce the error message -
$ cd shiva/shivaReceiver
$ source bin/activate
(shivaReceiver) $ python -c 'from apscheduler.scheduler import Scheduler'
If the above steps show the same error, it will ensure that the error indeed is with apscheduler, which I believe is true. To fix this, for the time being, please follow these instructions
(shivaReceiver) $ pip uninstall apscheduler
(shivaReceiver) $ pip install apscheduler==2.1.2
Just make sure that the virtualenv is activated. And, follow the same steps in analyzer too. This is a temporary fix until we update the installer.
Thanks.
Thanks to both of you, I've done the installation of apscheduler 2.1.2 inside the shivaReceiver virtualenv and now the install.sh doees not throw the error with apscheduler library, but now it complains about the existence of the Project receiver:
[*] Installing Lamson (receiver) and creating project:
Requirement already satisfied (use --upgrade to upgrade): lamson in ./lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): chardet in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): mock in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): nose in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): python-daemon in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): python-modargs in ./lib/python2.7/site-packages (from lamson)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in ./lib/python2.7/site-packages (from jinja2->lamson)
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./lib/python2.7/site-packages/setuptools-5.4.2-py2.7.egg (from python-daemon->lamson)
Requirement already satisfied (use --upgrade to upgrade): lockfile>=0.9 in ./lib/python2.7/site-packages (from python-daemon->lamson)
Cleaning up...
Project receiver exists, delete it first.
Does it means I have to delete the whole folder "receiver"?
Thanks.
Hi @felmoltor,
Yes, actually when you run install.sh, it starts from the scratch, which you don't want. The script is trying to do a fresh install of SHIVA, which already exists.
Can you confirm that if you can run SHIVA or not? And this was the reason why I suggested you to install 'apscheduler' in receiver and analyzer, manually. After that, running 'install.sh' is not required.
Sorry, for the inconvenience caused. Hope this helps. :)
Cool, now everything it's running well :smile: Thank you for your support @b0nd and @RahulBinjve
Glad we could help @felmoltor. And btw, the code has been updated to install right version of libraries. Thanks for reporting the issue to us.
Cheers. :)
Hello,
I'm having some troubles installing shiva in one Debian 7. Executing "./install.sh" script it get stucked after the cleanup step:
But the weird thing is that executing directly the files giving problems throws no error at all:
I'm using Python 2.7.3 and the needed libraries are present:
Installed packages and versions:
Not sure what's happening here. :sweat: