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

Data Not Saving in Local participant.db File on PsiTurk 3.3.1 with Heroku #566

Open
RhtK07 opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@RhtK07
Copy link

RhtK07 commented Jul 22, 2024

Context
PsiTurk Version: 3.3.1
Hosting Platform: Heroku
Experiment Repository: fredcallaway/heroku-experiment
Problem Description

The experiment runs perfectly fine, and participants can complete and submit the experiment. However, the data is not being saved in the local participant.db file. Consequently, when attempting to approve workers, I receive the following error:

Response(Operation: approve_assignment_by_assignment_id | Status: error | Exception: AssignmentIdNotFoundInLocalDBError: )

Steps to Reproduce

  1. Deploy the experiment to Heroku following the steps provided in the repository fredcallaway/heroku-experiment. changes the config file with the ad url
  2. Run the experiment to completion.
  3. Submit the experiment.
  4. Check the local participant.db file for saved data.
  5. Attempt to approve a worker using the worker approve command.

Observed Behavior

  1. Experiment runs and completes without issues.
  2. Data submission appears to be successful on the frontend.
  3. No data is saved in the participant.db file.
  4. Attempting to approve workers results in AssignmentIdNotFoundInLocalDBError.

Expected Behavior

  1. Data should be saved in the participant.db file upon experiment completion and submission.
  2. Worker approval should proceed without errors.

Any help or suggestions on resolving this issue would be greatly appreciated. Thank you!

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

1 participant