On Tue, 2010-04-27 at 06:25 +0200, Rune Svendsen wrote:
> Hello all!
> 
> I get the following warning in a terminal, when running some clutter
> code:
> 
>         (exaile.py:3905): Clutter-WARNING **: Attempting to map a child
>         that does not meet the necessary invariants: the actor
>         'ClutterCairoTexture' has no parent
> 
> What I'm wondering is if there's a way to make it print out more
> specific information, for example the context and what line exactly it
> gives this warning for.

no, there is no way to get the line: this warning comes from within
Clutter, hence it would print the line inside Clutter that generated the
warning.

> The code is in a plugin for the program "exaile.py", but still it prints
> the warning as if the code was in "exaile.py". Is there a way to track
> down which line is causing this warning?

you should give a name to every CairoTexture actor: the warnings in
Clutter will use the actor's name instead of the type, if a name is
present.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

-- 
To unsubscribe send a mail to [email protected]

Reply via email to