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
But then I can't find a call to it in the older code as well. What iscsound.compile(), is that your code? As far as I can rememberthe Csound class has a Compile() method, not compile().----- Original Message -----From: victorSent: Wednesday, June 25, 2008 11:04 PMSubject: Re: [Cs-dev] OSX, csound.compile()
In fact, this might already be fixed in the CVS sources, asI can't find a call to PyThreadState_Get anywhere (I changedthe GIL functions earlier on in the year).RegardsVictor----- Original Message -----From: Oeyvind BrandtseggSent: Wednesday, June 25, 2008 10:04 PMSubject: [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 loadedFatal Python error: PyThreadState_Get: no current threadCsound tidy up: Abort trapAbort trap$by inserting a print statements before and after theself.csound.compile()statement in cs/csModule.pyI 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 thefrom wxPython.wx import *toimport wxand changed subsequent references accordinglyto make wxController.py work)bestOeyvind
-------------------------------------------------------------------------
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