| If you use help or dir on the object, or if you look at the Csound API referenced, you will see that it has both a CppSound::compile and a Csound::Compile method. CppSound derives from Csound and CsoundFile.
This is the due to the common situation in Csound development of different developers re-implementing the same or similar ideas for slightly different purposes, in this case me with CppSound::compile (which came first, in spite of the fact that CppSound now derives from Csound) and Istvan Varga with Csound::Compile (which is a thin header file class wrapping the C Csound API).
Regards,
Mike
-----Original Message-----
>From: victor
>Sent: Jun 25, 2008 6:13 PM
>To: Developer discussions
>Subject: Re: [Cs-dev] OSX, csound.compile()
>
>But then I can't find a call to it in the older code as well. What is
>csound.compile(), is that your code? As far as I can remember
>the Csound class has a Compile() method, not compile().
> ----- Original Message -----
> From: victor
> To: Developer discussions
> Sent: Wednesday, June 25, 2008 11:04 PM
> Subject: Re: [Cs-dev] OSX, csound.compile()
>
>
> In fact, this might already be fixed in the CVS sources, as
> I can't find a call to PyThreadState_Get anywhere (I changed
> the GIL functions earlier on in the year).
>
> Regards
>
> Victor
> ----- Original Message -----
> From: Oeyvind Brandtsegg
> To: Developer discussions
> Sent: Wednesday, June 25, 2008 10:04 PM
> Subject: [Cs-dev] OSX, csound.compile()
>
>
> I'm testing Csound/Python on a Mac, using:
> OSX 10.5
> MacPython2.4.4
> Csound5.08 OSX binary installer
> wxPython 2.8 unicode for Python2.4
>
> When running PartikkelExplorer.py (from the terminal), I get
> $
> csound loaded
> Fatal Python error: PyThreadState_Get: no current thread
> Csound tidy up: Abort trap
> Abort trap
> $
>
> by inserting a print statements before and after the
> self.csound.compile()
> statement in cs/csModule.py
> I can verify that the crash is related to that statement (csound.compile())
>
> What could I do to try to make it work ?
>
> I've tested the wxController.py example, and that works
> (I rewrote the
> from wxPython.wx import *
> to
> import wx
> and changed subsequent references accordingly
> to make wxController.py work)
>
> best
> Oeyvind
>
>
>----------------------------------------------------------------------------
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
>
>
>----------------------------------------------------------------------------
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>------------------------------------------------------------------------------
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
>
>
>------------------------------------------------------------------------------
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |