Thanks for the info. No, csound.compile() is not my code, but I use it in all my Python apps, it is also used in the wxController.py example (checked the version installed with the windows 5.08 installer). I tried replacing csoundcompile() with csound.Compile() in the wxController.py example, and got this error: Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python25\lib\threading.py", line 460, in __bootstrap self.run() File "C:\Python25\lib\threading.py", line 440, in run self.__target(*self.__args, **self.__kwargs) File "C:\Program Files\Csound_508\examples\wxController.py", line 70, in csoundThreadRoutine self.csound.Compile() File "C:\Program Files\Csound\bin\csnd.py", line 1373, in Compile return _csnd.Csound_Compile(*args) NotImplementedError: Wrong number of arguments for overloaded function 'Csound_Compile'. Possible C/C++ prototypes are: Compile(int,char **) Compile(char *) Compile(char *,char *) Compile(char *,char *,char *) Compile(char *,char *,char *,char *) Compile(char *,char *,char *,char *,char *) What should I use as the argument to csound.Compile() ? Oeyvind 2008/6/26, victor : > > 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 > https://lists.sourceforge.net/lists/listinfo/csound-devel > >