Re: Re: PyROOT + geometry

From: <wlavrijsen_at_lbl.gov>
Date: Mon, 23 May 2011 17:02:50 -0700


Akira,

> The last line of the sample script, world.Draw(), should be replaced by
> world.Draw("ogl").

looks like a threading issue (in my case, the script freezes). I've seen this on and off and never been able to determine the exact cause:

    http://root.cern.ch/phpBB3/viewtopic.php?f=14&t=9792&p=41949

My guess is that the openGL thread is not re-entrant.

Btw., as a f'up to the thread on exceptions: in order to raise user-defined C++ classes, I need to be able to mix the bound class with python's Exception class (or they won't be caught by "except Exception:" which would be a big nuisance). That'd be quite some work ...

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Tue May 24 2011 - 02:03:00 CEST

This archive was generated by hypermail 2.2.0 : Tue May 24 2011 - 23:50:01 CEST