Kiri
About
- Username
- Kiri
- Joined
- Visits
- 5
- Last Active
- Roles
- Member
Comments
-
Hi fladd, sorry, that I needed so much time. I've conducted my experiment now by showing the words in the center of the screen (which is standard for OS canvasses). Unfortunately, it's impossible to send the whole script. With "inline" …
-
Hi Florian, thank you very much. I got very near to a solution. So far, I defined the following function in my code: def GetSize(text): exp = xpy.control.initialize() s = xpy.stimuli.TextLine(text) s.present() return s.surface_size S…
-
Thank you. I tested it but maybe I understood something wrong... I filled in the code above (imports and class definitions) and afterwards let the script read the file as follows: with open(file,'rb') as filein: stimuli_reader = UnicodeReader(f…
-
Thank you very much, Sebastiaan. It seems that one of the condition-coding rows can't be decoded. Yet, another row with similar input (integers, too) doesn't provoke any errors. Here's the new error-message: row 0, field type has value 0 of type …
-
That's exactly the problem. Within the experiment, neither in Prepare nor in Run-Phase are integers declared in line 68. They are decoded in Prepare around line 60. Here the actual decoding code (from line 52 on): for row in lines: for …
-
The version of OpenSesame is 2.9.x (current). I tested it so far. The first message of the debug window is: Unexpected errorline: 68exception message: 'int' object has no attribute 'decode'exception type: AttributeErrorTraceback: File "dist\…
-
Hi Josh and sebastiaan, thank you for the quick answers. Tomorrow I will have the possibility to test your solutions and post the debug window as well as the versions of OpenSesame. The operating system is Windows 7. In the experiment, some senten…
-
Hi Josh, thank you very much. I set context_canvas.clear() right before writing new content to it, now it works. It seems to have been stacked up. Cheers, Kiri
-
Hi Lotje, thank you very very much. The example experiment was very helpful. Now the experiment is doing what I wanted it to do. Have a good weekend and Happy Easter. Greetings, Kiri
-
Hi, as promised, here is the error message from Debug Window: Python 2.7.3Type "help()", "copyright()", "credits()" or "license()" for more information.Type "modules()" for details about installed …
-
Hi Lotje, I set the variables as described (with exp.set("abc", abc)) within the prepare phase tab of the inline_script item and within the loop item also as described. The variable inspector now shows the variables declared by me, but I …
-
Hi Lotje, I meant that the experiment starts, doesn't do anything, ends and shows the error message. Thanks for the links. I think they'll help me too. Have a good weekend. Kiri
-
Hi, I tested it. Now the variables are finally shown in the variable inspector - so far so good, thank you very much for your help. But unfortunately they still aren't printed out?
-
Hi Wouter, yes, I wanted (all) the phrases (1-6) to be read within the loop table (I couldn't explain it better, sry for that). Thank you very much for your answer. I'll test it as soon as possible but it seems to be the right way. I'll tell you if…
-
Hi Wouter, the error occurs at the end of the experiment. Nothing is printed out during the experiment (neither by inline_script nor by loop). The inline_script works, though. But when then the experiment seems to be interrupted trying to go throug…
-
Hi, it still doesn't print out anything and just gives an (Runtime) error message that "Variable Phrase1" wouldn't exist?
-
Thanks a lot for the fast answer. I'll test your suggestion tomorrow.
-
Sry, I don't know, why the code is disarranged