-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
progress.json does not exist #95
Comments
Hi, progress.json should be created by predict.py when it is invoked by the PHP backend system. Firstly I would check permissions are OK (though they look to be). Then su to the user under which the predictor runs and try running predict.py manually, providing appropriate command line arguments. If this fails, please post the resulting traceback here. Jon |
I copied and modified the file py_log to run from the prompt as root: sh predict/preds/1679da091e2b11beba156b02c66f32a55b31f4d4/py_log2 Traceback (most recent call last): File content py_log2: (a line) python predict.py --cd=/home/www/html/predict/ --fork --alarm --redirect=predict/preds/1679da091e2b11beba156b02c66f32a55b31f4d4/py_log Without arguments: Traceback (most recent call last): I have statsd installed and using Python 2.6.6 Any idea? thanks |
Nominate @danielrichman, since he implemented the stats stuff in the predictor. Jon |
You'll need to make sure it's the right version of statsd. Try this:
Scroll right to the bottom:
|
N.B.: This is the statsd client used in habitat/the predictor http://pypi.python.org/pypi/statsd-client (rather than 'statsd') |
VERSION How I can force an update to 1.0.2? thanks |
Try:
|
pip - command not found |
If you have easy_install, try:
If not, you could install pip (a python package manager):
I don't know what statsd you installed or how you installed it exactly but you might want to remove it first. |
Actually one easy option is to just remove everything about statsd from predict.py: it's an entirely optional feature that will do absolutely nothing if you don't have a statsd server and graphite installed. |
i've upgraded stats to 1.0.2 and I've remoded all about statsd. Executing py_log2 again: ERROR: Uncaught exception |
Sounds like it could be a file permissions error again. Check the 'predict/preds' path exists and that PHP was able to create the folder for that UUID. |
chmod -R 777 predict result: Traceback (most recent call last): |
Make sure your current working directory is the root of the git repository when you run that command. Alternatively, add --preds to tell it where to find predict/preds (i.e., the default is ./predict/preds) Have you tried running a prediction from the web interface since fixing the stats stuff? |
Running a prediction from the web: Server says: downloaded 10% of GFS files |
We've found the NOAA servers to be a bit temperamental - it sounds like this might be a problem with the wind data you're getting. Try deleting /tmp/pydap-cache/ and running the prediction again - or try a different prediction (different launch site or time) to see if you still get the same error. |
I get the same error with different predictions and deleting /tmp/pydap-cache/* files. |
py_log info: INFO: Looking for latest dataset which covers Mon Oct 1 18:35:00 2012 |
Hi. Just had an idea Please paste the output of $ pip freeze |
AddOns==0.6 FIXME: could not find svn URL in dependency_links for this package:PEAK-Rules==0.5a1.dev-r2600 thanks |
Okay. pip install Pydap==3.0.1 numpy==1.5.1 (may require root, depending on how your stuff is set up; add sudo if required). |
It wors better but flight_path.csv file is empty 0 sep 27 21:37 599a53a75305ae13fb3f32e8da239545c273cbf6/flight_path.csv i can't see balloon trajectory The server gave us uuid: thanks! |
It is working fine now!!! :-) Changed predict.py, line 276: subprocess.call([pred_binary, '-i/var/www/cusf-standalone-predictor/gfs/'... Changed to: A million thanks to all for your help. |
I'm trying the other package. rjw57 / cusf-landing-prediction I've installed all scripts and created all directories, i'm getting an error executing ./scripts/hourly-predictions-cronjob.sh INFO:root:Scanning data directory /opt/landing-prediction-data/gfs/ Any idea? thanks in advance |
I do all posted above but i get that error: i am at a loss :-( ERROR: Uncaught exception |
I'm trying to install cusf-standalone-predictor but I can't.
I've installed all python packages, pydap, pydap, numpy, simple-json, python-cjson
python-demjson, python-simplejson, python-turbojson , python-anyjson ...
Compiled OK pred file with cmake . && make
Changed config.php file
When I access to the index.php page, it starts but does not finish.
Generating py_log and scenario.ini :
preds/9206471c0b6b8a43a8bcb187bd41994844a2f1da/py_log
preds/9206471c0b6b8a43a8bcb187bd41994844a2f1da/scenario.ini
progress.json does not exist.
Using Debian
Linux 2.6.32-5-xen-amd64 x86_64 GNU/Linux
Using Squeeze
Any idea?
Thanks in advance
The text was updated successfully, but these errors were encountered: