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

[Bug]: Coder hanging after running experiment #6968

Open
BrockVCNLab opened this issue Nov 13, 2024 · 2 comments
Open

[Bug]: Coder hanging after running experiment #6968

BrockVCNLab opened this issue Nov 13, 2024 · 2 comments
Labels
🐞 bug Issue describes a bug (crash or error) or undefined behavior.

Comments

@BrockVCNLab
Copy link

PsychoPy Version

2024.1.5

What OS are your PsychoPy running on?

macOS Silicon

Bug Description

An experiment that was previously working now hangs after running (even successfully). PsychoPy will hang for several minutes before it is usable again. When running the same code again, it will hang indefinitely and I will need to restart Psychopy.

Issue seems to be an error in Pandas is being printed to the output window hundreds or thousands of times.
Screenshot 2024-11-13 at 12 17 57 PM

Note that I have not imported Pandas into the code. I have also tried to limit the logging using the setLevel function to no effect.

Expected Behaviour

Experiment to exit normally and not hang.

Steps to Reproduce

  1. Happens on each instance of running code.

Additional context

It appears to throw the message before and after running the script. Not during. If I print messages during repeated trials it will print fine and throw normal errors before throwing hundreds of more messages on closing.

Experiment ends normally with exit code 0 so this isn't related to other errors on my end.

Screenshot 2024-11-13 at 12 26 06 PM

@BrockVCNLab BrockVCNLab added the 🐞 bug Issue describes a bug (crash or error) or undefined behavior. label Nov 13, 2024
@BrockVCNLab
Copy link
Author

After some further digging I've figured out how to stop the bug from occurring. I was importing 1000s of 'conditions' from a .csv file via data.importConditions. Not sure if this is the reason why but one of the columns was not being used. Simply removing the column made the errors disappear.

@peircej
Copy link
Member

peircej commented Nov 20, 2024

hmm, it looks like the values in that column are looking like something else. Could you upload a stripped down version of the file (with just the critical columns) for us to investigate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Issue describes a bug (crash or error) or undefined behavior.
Projects
None yet
Development

No branches or pull requests

2 participants