Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

'Form' object has no attribute 'render'

I'd like to use a non-interactive form, but after setting the only_render flag to yes as described in the manual on custom forms (http://osdoc.cogsci.nl/3.2/manual/forms/custom/#non-interactive-forms) I receive the following error:

exception type: AttributeError
exception message: 'Form' object has no attribute 'render'

The only related discussion I found on the forum was about the same error with the mousetrap plugin (https://forum.cogsci.nl/discussion/4340/little-problem-in-mt-form), which suggested that forms were reworked in 3.2 (I'm on 3.2.5) - is only_render now deprecated for forms and the documentation just hasn't caught up, or is something else going on?

Comments

  • Hi,

    It's a bug in OpenSesame, which was indeed introduced when forms were reworked in 3.2. For now, you can workaround it by setting the timeout to 0 milliseconds. So instead of set only_render yes, you would use set timeout 0. For all practical purposes, this should have the same effect.

    Cheers!
    Sebasitaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

Sign In or Register to comment.