Thaiz / psychopy

Automatically exported from code.google.com/p/psychopy
0 stars 0 forks source link

Arbitrary duration for Patch or other component causes builder to crash #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set a variable in a code component to run on experiment start
2. Set the duration or start time of a patch or text stimulus to this variable

What is the expected output? What do you see instead?

It's not clear how an arbitrary time should be represented in the gui, but 
current behaviour is to semi-crash, removing all details from the timeline and 
corrupting the current experiment.

My suggestions would be to put a placeholder at the start of the timeline to 
allow users to interact with the stimulus, but showing that it's timing is not 
fixed.

What version of the product are you using? On what operating system?

OS X 10.6; psychopy 1.63

Please provide any additional information below.

Feel free to email me if you have problems reproducing.

Original issue reported on code.google.com by benwhalley@gmail.com on 14 Mar 2011 at 1:22

GoogleCodeExporter commented 8 years ago
This was fixed in commit:
https://github.com/psychopy/psychopy/commit/e2427c0b06aef0feec4405d4be52973dd9a1
5512
although currently should only be used in a Routine where the keyboard (or 
something) forces the end of the trial. 

At the moment it causes trial length to be infinite, because it isn't clear 
when to end a trial that contains a Component of undefined length.

Original comment by jon.pei...@gmail.com on 19 Apr 2011 at 7:34