Skip to content
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

you must wait for the test preparations to be completed #26

Closed
markalanknight opened this issue Mar 5, 2013 · 3 comments
Closed

you must wait for the test preparations to be completed #26

markalanknight opened this issue Mar 5, 2013 · 3 comments

Comments

@markalanknight
Copy link

"you must wait for the teset preparations to be completed. this usually takes no more than a couple of minutes.

Generating patient record"

The above is what I get when going into a test regardless of how many measures it is put against.

I looked at the cypress / app / views / product_tests / _status.html.erb and commented out is a section checking for a problem with the test and alerting the user if there is one.

I dont know if I messed things up by making a very large test from the beginning (all core measures) or if there is a larger coding problem with the test or project.

for the test with all core measures I have left it up on screen for 20 minutes. I've also attempted to reload it over an hour after its creation.

It is unclear whether you are suppose to wait on that page for data to be loaded or return again at a later time. Either way, I cannot use any test created.

@nonlinearity
Copy link
Contributor

You need to start the delayed worker task. You can start this task with the following command:

bundle exec rake jobs:work

If you follow step 10 in the wiki (https://github.com/projectcypress/cypress/wiki/Cypress-v2.1-Installation-Guide), you can set this task to start automatically.

-mike

From: markalanknight <notifications@github.commailto:notifications@github.com>
Reply-To: projectcypress/cypress <reply@reply.github.commailto:reply@reply.github.com>
Date: Tuesday, March 5, 2013 1:47 PM
To: projectcypress/cypress <cypress@noreply.github.commailto:cypress@noreply.github.com>
Subject: [cypress] you must wait for the test preparations to be completed (#26)

"you must wait for the teset preparations to be completed. this usually takes no more than a couple of minutes.

Generating patient record"

The above is what I get when going into a test regardless of how many measures it is put against.

I looked at the cypress / app / views / product_tests / _status.html.erb and commented out is a section checking for a problem with the test and alerting the user if there is one.

I dont know if I messed things up by making a very large test from the beginning (all core measures) or if there is a larger coding problem with the test or project.

for the test with all core measures I have left it up on screen for 20 minutes. I've also attempted to reload it over an hour after its creation.

It is unclear whether you are suppose to wait on that page for data to be loaded or return again at a later time. Either way, I cannot use any test created.


Reply to this email directly or view it on GitHubhttps://github.com//issues/26.

@markalanknight
Copy link
Author

Thank you for your prompt reponse. I ran the following without error:

cd ~
echo -e '#!/bin/bash\ncd /home/cypress/cypress\n. /usr/local/rvm/scripts/rvm\nbundle exec rake jobs:work RAILS_ENV=production\n' > start_delayed_job.sh
chmod +x start_delayed_job.sh

echo -e 'start on started mongodb\nstop on stopping mongodb\n\nscript\nexec sudo -u cypress /home/cypress/start_delayed_job.sh >> /tmp/delayed_worker.log 2>&1\nend script\n' > /tmp/delayed_worker.conf
sudo mv /tmp/delayed_worker.conf /etc/init/delayed_worker.conf
sudo start delayed_worker
exit

Then I cancelled out of the test in the browser then deleted the two I had previously created.

Now upon creating a new one when asked to "Identity at least one quality measure" it states:

"Finding measures for test type CalculatedProductTest..."

and it stays there. waiting for several minutes (much longer than when it has previously worked). eventually I clicked the last breadcrumb to cancel out of the new test and a message dialog shows up

"Sorry, we can't currently produce emasures by type:'CalculatedProductTest' error"

I am not working directly with the source but with a Virtual Machine and used the script provided to install all needed items.

@nonlinearity
Copy link
Contributor

The installer script has had a few issues that have come up today as a new version of Cypress has just been released. Please ensure you are using the latest installer script and the latest version of Cypress (2.1) -- an updated VM has been released as well (https://github.com/projectcypress/cypress/wiki/Cypress-v2.1-Installation-Guide). Also, please direct these types of issues to project-cypress-talk@googlegroups.com.

Best,
mike

From: markalanknight <notifications@github.commailto:notifications@github.com>
Reply-To: projectcypress/cypress <reply@reply.github.commailto:reply@reply.github.com>
Date: Tuesday, March 5, 2013 3:13 PM
To: projectcypress/cypress <cypress@noreply.github.commailto:cypress@noreply.github.com>
Cc: Michael Norman <mnorman@mitre.orgmailto:mnorman@mitre.org>
Subject: Re: [cypress] you must wait for the test preparations to be completed (#26)

Thank you for your prompt reponse. I ran the following without error:

cd ~
echo -e '#!/bin/bash\ncd /home/cypress/cypress\n. /usr/local/rvm/scripts/rvm\nbundle exec rake jobs:work RAILS_ENV=production\n' > start_delayed_job.sh
chmod +x start_delayed_job.sh

echo -e 'start on started mongodb\nstop on stopping mongodb\n\nscript\nexec sudo -u cypress /home/cypress/start_delayed_job.sh >> /tmp/delayed_worker.log 2>&1\nend script\n' > /tmp/delayed_worker.conf
sudo mv /tmp/delayed_worker.conf /etc/init/delayed_worker.conf
sudo start delayed_worker
exit

Then I cancelled out of the test in the browser then deleted the two I had previously created.

Now upon creating a new one when asked to "Identity at least one quality measure" it states:

"Finding measures for test type CalculatedProductTest..."

and it stays there. waiting for several minutes (much longer than when it has previously worked). eventually I clicked the last breadcrumb to cancel out of the new test and a message dialog shows up

"Sorry, we can't currently produce emasures by type:'CalculatedProductTest' error"

I am not working directly with the source but with a Virtual Machine and used the script provided to install all needed items.


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-14462434.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants