| Ah yes, thanks. The current version in cvs works perfectly.
JP
On Jan 23, 2008, at 11:07 AM, victor wrote:
> I think this might be because in OSX the support for some classes was
> not complete (bits would not build). I have since fixed that, but I
> think
> it was after the release of 5.07. I did a PPC installer with an upate
> in http://music.nuim.ie/vlazzarini/tmp/
>
> Things should be normalised in 5.08.
>
> Victor
>
> ----- Original Message ----- From: "Julian Peterson"
>
> To:
> Sent: Wednesday, January 23, 2008 3:45 PM
> Subject: [Csnd] python csnd oddity
>
>
>> Hello.
>>
>> I compiled cs5.07 from source so that I could use it with
>> python2.5 on my powerbook (osx 10.4). I am now getting a
>> peculiar error with the csnd python module.
>>
>> Trapped.py fails with the following:
>> Localisation of messages is disabled, using default language.
>> Traceback (most recent call last):
>> File "./Trapped.py", line 12, in
>> csound.setCommand('csound -RWdfo ./Trapped.py.wav test.orc
>> test.sco')
>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/site-packages/csnd.py", line 2638, in
>> __getattr__ = lambda self, name: _swig_getattr(self,
>> CppSound, name)
>> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
>> python2.5/site-packages/csnd.py", line 34, in _swig_getattr
>> raise AttributeError,name
>> AttributeError: setCommand
>>
>>
>> Sure enough, pydoc(csnd) reveals that there is no setCommand
>> attribute (or setOrchestra, setScore, etc.).
>>
>> Any suggestions? I used the following options:
>>
>> scons usePortAudio=0 usePortMIDI=0 useALSA=0 useJack=1 useFLTK=1
>> pythonVersion=2.5 buildLoris=0 useOSC=1 useUDP=1
>> buildPythonOpcodes=1 buildRelease=1 gcc3opt=7450
>> dynamicCsoundLibrary=1 buildPDClass=1 useCoreAudio=1 useAltivec=1
>> buildDSSI=0 buildUtilities=1 buildVirtual=1 buildInterfaces=1
>>
>> I modified custom.py to read customCPPPATH.append('/usr/include/
>> python2.5')
>>
>> I have swig 1.3.31.
>>
>> Thanks for your help,
>> Julian
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
|