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

Delete and Return error issue #3

Open
nereidc opened this issue Feb 10, 2021 · 6 comments
Open

Delete and Return error issue #3

nereidc opened this issue Feb 10, 2021 · 6 comments

Comments

@nereidc
Copy link

nereidc commented Feb 10, 2021

Hi Zen, thank you for your great tool!
I encounter a problem when running this program. Similar to #2 this one.
When it comes to the recall page, if i type "SKL BACKSPACE RETURN", the screen should show "SK" and refresh. But it shows "SKLLBACKSPACE". And i could do nothing back except end the experiment.
Typing key:1"SKL" ->2"BACKSPACE" ->3"RETURN"
Screen: 1"SKL" ->2"SK" ->3"SKLLBACKSPACE"
It seems that there is problem in key_resp_5.
Do you know why? Thank you for your help!
Psychopy: 2020.2.10
System: MacOS and Winsows

@zen-juen
Copy link
Member

Hey @nereidc thanks for reaching out! This does seem like quite a recurrent issue with different psychopy versions, but noting that your psychopy version is already the latest one - can you confirm if you've modified the experiment after downloading it from GitHub?

Meanwhile let me look into this!

@nereidc
Copy link
Author

nereidc commented Feb 10, 2021

Hi @zen-juen Thanks for quick reply.

Modified: the description "SKL"example seems slightly wrong. Generally once I typed BACKSPACE, future typing is strange.
Typing key:1"SKL" ->2"BACKSPACE" ->3"L" ->4"RETURN" ->5"RETURN"
Screen: 1"SKL" ->2"SK" ->3"SKL"->4"SKL" and cannot proceed->5"SKLRETURN" (duplicate the key in step 4)

Typing key:1"SKL" ->2"BACKSPACE" ->3"L" ->4"BACKSPACE" ->5"RETURN"
Screen: 1"SKL" ->2"SK" ->3"SKL"->4"SKLL"(duplicate the key in step 3) ->5"SKLLBACKSPACE" (duplicate the key in step 4)

Yes I modified the program on pass criteria and language, but I did not change key_resp_5.
I tested the original file without any changes, the problem exists. So it's a version problem? I cannot use 3.2.4 version. Psychopy reports error then.

@zen-juen
Copy link
Member

zen-juen commented Feb 11, 2021

Hi @nereidc I just tried with the new version of psychopy 2020.2.10 (same as yours) and am encountering the same problem, this however isn't an issue with the older version - I can confirm this because another laptop with the older version doesn't have this issue.

A similar issue was raised here by someone else: https://discourse.psychopy.org/t/typed-response-backspace-and-space-only-work-once/18812

So the solution for now seems like to use the new TextBox component that is editable - could you try replacing the old Text component with this instead to see if it works? This might require some modification of the code component as well, so do feel free to sound out if it still doesn't work!

@nereidc
Copy link
Author

nereidc commented Feb 15, 2021

Thank you for your help. But either adding textbox or changing the frame script does not help. I decided not enable "backspace" in the experiment. It is the fastest and easiest way for me the solve the problem.
Thank you again!

@zen-juen
Copy link
Member

Okay I'm glad to hear that!

Thanks for raising this issue - I'm going to leave this opened until I find a way that works for both old and new psychopy versions 😄

@straub135
Copy link

Hello--any chance there's a solution to this? We're also working around it by disabling backspace as an input, but would like the option to remove an accidental button press, etc. Thanks!

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

3 participants