As far as I know, there's no other way than to look at the operator's
source code... Though maybe some operators have the requirements
explained in their poll()'s docstring?

On Fri, Jun 14, 2013 at 11:18 PM, Bassam Kurdali <[email protected]> wrote:
> Hi folks,
> when running a script recently I received the error:
> RuntimeError: Operator bpy.ops.wm.quit_blender.poll() failed, context is
> incorrect
>
> Here I would like to override the context and satisfy the operator,
> however:
>  I don't know what is the failing check, and I don't even know where to
> look.
>
> So is there any wisdom as to finding this out?
> a- for python operators,
> b- for c operators ?
>
> Is this possible to include in the operator docs, or would it be two
> big?
> cheers,
> Bassam
>
> _______________________________________________
> Bf-python mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-python
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to