Giter Site home page Giter Site logo

Comments (3)

nonlinearity avatar nonlinearity commented on May 17, 2024

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 <[email protected]mailto:[email protected]>
Reply-To: projectcypress/cypress <[email protected]mailto:[email protected]>
Date: Tuesday, March 5, 2013 1:47 PM
To: projectcypress/cypress <[email protected]mailto:[email protected]>
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.

from cypress.

markalanknight avatar markalanknight commented on May 17, 2024

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.

from cypress.

nonlinearity avatar nonlinearity commented on May 17, 2024

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 [email protected].

Best,
mike

From: markalanknight <[email protected]mailto:[email protected]>
Reply-To: projectcypress/cypress <[email protected]mailto:[email protected]>
Date: Tuesday, March 5, 2013 3:13 PM
To: projectcypress/cypress <[email protected]mailto:[email protected]>
Cc: Michael Norman <[email protected]mailto:[email protected]>
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.

from cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.