Csound Csound-dev Csound-tekno Search About

cabel crashes on start

Date2006-05-01 17:46
Fromandrea valle
Subjectcabel crashes on start
(Trying for the n-th time to write to the list)

Hi to all,
First some warnings:

i) I've used csound extensively on win but it's two years I'm on 
macosx, so I'm up to date to 4.23
ii) never used csound form command line but always from winsound 
(thanks John)
iii) never used csound for real time

While I was trying do define my strategy for my course in computer 
music, I took a look to Cabel, which seemed the
right man in the right place to replace CPS/PD, thus unifying my real 
time GUI examples with csound coding.

I installed following all the instructions. Cabel started, I opened a 
patch, it was ok, but  I wasn't able to hear anything. I guessed it 
depended on
csound 5 installation or real time use (two things I've never paid 
attention to), so I closed all and went to take a look. Actually I was 
able to play thru dac a nice sinewave calling csound from cmd. I was 
happy of it.
I went back to Cabel, but it crashed when I launched it,  and still it 
is crashing every time . Python raises an exception related to a 
missing file. Cabel log file follows.

Any help is greatly appreciated. Thanks

Best

-a-

Date2006-05-01 17:54
FromDavid Akbari
SubjectRe: cabel crashes on start
Hi Andrea,

I have Cabel working on OS X only up to the point that it initializes 
the window. Csound will also run but for some reason it is impossible 
to create modules visually (they show up the in csd though). I suspect 
it is related to the Carbon framework's discrepancy between something 
in Python and itself.

I have used and configured Cabel for WinXP, Linux, and Mac OS X and 
according to http://cabel.sourceforge.net/ , it is officially supported 
on WinXP and Linux only at present time.


-David

On May 1, 2006, at 12:46 PM, andrea valle wrote:

> (Trying for the n-th time to write to the list)
>
> Hi to all,
> First some warnings:
>
> i) I've used csound extensively on win but it's two years I'm on 
> macosx, so I'm up to date to 4.23
> ii) never used csound form command line but always from winsound 
> (thanks John)
> iii) never used csound for real time
>
> While I was trying do define my strategy for my course in computer 
> music, I took a look to Cabel, which seemed the
> right man in the right place to replace CPS/PD, thus unifying my real 
> time GUI examples with csound coding.
>
> I installed following all the instructions. Cabel started, I opened a 
> patch, it was ok, but  I wasn't able to hear anything. I guessed it 
> depended on
> csound 5 installation or real time use (two things I've never paid 
> attention to), so I closed all and went to take a look. Actually I was 
> able to play thru dac a nice sinewave calling csound from cmd. I was 
> happy of it.
> I went back to Cabel, but it crashed when I launched it,  and still it 
> is crashing every time . Python raises an exception related to a 
> missing file. Cabel log file follows.
>
> Any help is greatly appreciated. Thanks
>
> Best
>
> -a-

Date2006-05-01 17:54
Fromandrea valle
SubjectRe: cabel crashes on start
Yep, log file missing in action:

Traceback (most recent call last):
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\view\controller.py", 
line 642, in onPlayStop
     self._model.play()
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\workspace.py", 
line 431, in play
     if self._csoundGenerator.play():
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
239, in play
     return self._startCsound()
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
163, in _startCsound
     if self._startCsoundOnMSW(str(csPath + ' ' + tmpCsdFile)):
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
318, in _startCsoundOnMSW
     processHandle, threadHandle, pid, tid  = 
win32process.CreateProcess(*procArgs)
pywintypes.error: (2, 'CreateProcess', 'The system cannot find the file 
specified.')
Traceback (most recent call last):
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\view\controller.py", 
line 642, in onPlayStop
     self._model.play()
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\workspace.py", 
line 431, in play
     if self._csoundGenerator.play():
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
239, in play
     return self._startCsound()
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
163, in _startCsound
     if self._startCsoundOnMSW(str(csPath + ' ' + tmpCsdFile)):
   File "C:\Documents and 
Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
318, in _startCsoundOnMSW
     processHandle, threadHandle, pid, tid  = 
win32process.CreateProcess(*procArgs)
pywintypes.error: (2, 'CreateProcess', 'The system cannot find the file 
specified.')


Thanks a lot

-a-

On 1 May 2006, at 18:46, andrea valle wrote:

> (Trying for the n-th time to write to the list)
>
> Hi to all,
> First some warnings:
>
> i) I've used csound extensively on win but it's two years I'm on 
> macosx, so I'm up to date to 4.23
> ii) never used csound form command line but always from winsound 
> (thanks John)
> iii) never used csound for real time
>
> While I was trying do define my strategy for my course in computer 
> music, I took a look to Cabel, which seemed the
> right man in the right place to replace CPS/PD, thus unifying my real 
> time GUI examples with csound coding.
>
> I installed following all the instructions. Cabel started, I opened a 
> patch, it was ok, but  I wasn't able to hear anything. I guessed it 
> depended on
> csound 5 installation or real time use (two things I've never paid 
> attention to), so I closed all and went to take a look. Actually I was 
> able to play thru dac a nice sinewave calling csound from cmd. I was 
> happy of it.
> I went back to Cabel, but it crashed when I launched it,  and still it 
> is crashing every time . Python raises an exception related to a 
> missing file. Cabel log file follows.
>
> Any help is greatly appreciated. Thanks
>
> Best
>
> -a-
>
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
andrea.valle@unito.it

Date2006-05-01 18:06
Fromandrea valle
SubjectRe: cabel crashes on start
Thanks David,

Sorry, due to this mailing bizarre trouble, I've not been clear at all.
I'm on macosx mainly, but I installed Cabel on win2k. My students are 
in fact on win machines
So, my problem is related to win 2k.

(But you made very interesting observation about cabel/osx connection, 
indeed)

Best

-a-


On 1 May 2006, at 18:54, David Akbari wrote:

> Hi Andrea,
>
> I have Cabel working on OS X only up to the point that it initializes 
> the window. Csound will also run but for some reason it is impossible 
> to create modules visually (they show up the in csd though). I suspect 
> it is related to the Carbon framework's discrepancy between something 
> in Python and itself.
>
> I have used and configured Cabel for WinXP, Linux, and Mac OS X and 
> according to http://cabel.sourceforge.net/ , it is officially 
> supported on WinXP and Linux only at present time.
>
>
> -David
>
> On May 1, 2006, at 12:46 PM, andrea valle wrote:
>
>> (Trying for the n-th time to write to the list)
>>
>> Hi to all,
>> First some warnings:
>>
>> i) I've used csound extensively on win but it's two years I'm on 
>> macosx, so I'm up to date to 4.23
>> ii) never used csound form command line but always from winsound 
>> (thanks John)
>> iii) never used csound for real time
>>
>> While I was trying do define my strategy for my course in computer 
>> music, I took a look to Cabel, which seemed the
>> right man in the right place to replace CPS/PD, thus unifying my real 
>> time GUI examples with csound coding.
>>
>> I installed following all the instructions. Cabel started, I opened a 
>> patch, it was ok, but  I wasn't able to hear anything. I guessed it 
>> depended on
>> csound 5 installation or real time use (two things I've never paid 
>> attention to), so I closed all and went to take a look. Actually I 
>> was able to play thru dac a nice sinewave calling csound from cmd. I 
>> was happy of it.
>> I went back to Cabel, but it crashed when I launched it,  and still 
>> it is crashing every time . Python raises an exception related to a 
>> missing file. Cabel log file follows.
>>
>> Any help is greatly appreciated. Thanks
>>
>> Best
>>
>> -a-
>
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
andrea.valle@unito.it

Date2006-05-01 18:17
FromDavid Akbari
SubjectRe: cabel crashes on start
perhaps Python doesn't know about Csound ? Is C:\Program Files\Csound 
or wherever you installed Csound in your PYTHON_PATH ?


-David

On May 1, 2006, at 12:54 PM, andrea valle wrote:

> pywintypes.error: (2, 'CreateProcess', 'The system cannot find the 
> file specified.')
>

>   File "C:\Documents and 
> Settings\Administrator\Desktop\cabel\cabel-0.85\model\csound.py", line 
> 163, in _startCsound
>     if self._startCsoundOnMSW(str(csPath + ' ' + tmpCsdFile)):