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

Error caught in round.start callback; cannot read properties of undefined (reading 'round') #473

Closed
2 tasks done
aliciamchen opened this issue Dec 27, 2023 · 4 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@aliciamchen
Copy link

aliciamchen commented Dec 27, 2023

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

I got another round.start callback error that is different from before (#467). After I got the error in the console, participants saw an infinite spinny circle and were not able to continue the game. I did receive a tiny bit of data on my console after I got this error (indicating some participants were still able to do the task), but after a few seconds the data stopped coming in and none of the participants were able to proceed.

This error does not happen every time I run the experiment.

The admin console also reset but if I waited long enough it would show the players and games (but sometimes it would reset again)

Steps To Reproduce

No response

Empirica Version

Version: v1.8.12
SHA:     656d19b
Build:   159
Branch:  main
Time:    2023-12-26T07:14:40Z

What OS are you seeing the problem on?

macOS

What browser are you seeing the problem on?

No response

Relevant log output

17:30:16.323 ERR Error caught in "round.start" callback:
17:30:16.506 ERR TypeError: Cannot read properties of undefined (reading 'round')
17:30:16.506 ERR   at <anonymous> (/tmp/2fe66e9b1d711942/src/callbacks.js:65:11)
17:30:16.506 ERR   at <anonymous> (/tmp/2fe66e9b1d711942/node_modules/@empirica/core/src/admin/classic/proxy.ts:54:9)
17:30:16.506 ERR   at Object.callback (/tmp/2fe66e9b1d711942/node_modules/@empirica/core/src/admin/events.ts:91:11)
17:30:16.506 ERR   at Object.next (/tmp/2fe66e9b1d711942/node_modules/@empirica/core/src/admin/cake.ts:322:30)
17:30:16.506 ERR   at runMicrotasks (<anonymous>)
17:30:16.506 ERR   at processTicksAndRejections (node:internal/process/task_queues:96:5)

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@aliciamchen aliciamchen added the bug Something isn't working label Dec 27, 2023
@npaton
Copy link
Contributor

npaton commented Jan 1, 2024

FYI, I am still working on this one and #467, which seem to be related.

@aliciamchen
Copy link
Author

Thank you! I have also been getting this error, in 1.9.2:

00:36:20.490 ERR Error caught in "stage.ended" callback:
00:36:20.548 ERR TypeError: Cannot read properties of undefined (reading 'stage')
00:36:20.548 ERR   at <anonymous> (/tmp/220f55abc589d820/src/callbacks.js:110:13)
00:36:20.548 ERR   at <anonymous> (/tmp/220f55abc589d820/node_modules/@empirica/core/src/admin/classic/proxy.ts:82:9)
00:36:20.548 ERR   at Object.callback (/tmp/220f55abc589d820/node_modules/@empirica/core/src/admin/events.ts:91:11)
00:36:20.548 ERR   at Object.next (/tmp/220f55abc589d820/node_modules/@empirica/core/src/admin/cake.ts:322:30)
00:36:20.548 ERR   at runMicrotasks (<anonymous>)
00:36:20.548 ERR   at processTicksAndRejections (node:internal/process/task_queues:96:5)

@npaton
Copy link
Contributor

npaton commented Jan 10, 2024

Ok, thank you. Yeah, this is a big one I have left remaining. I'll get to it asap.

@npaton
Copy link
Contributor

npaton commented Apr 11, 2024

I don't think this is happening anymore. Please reopen if you're still seeing this.

@npaton npaton closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants