Csound Csound-dev Csound-tekno Search About

[Csnd] Error message detail?

Date2012-11-30 12:10
FromLouis Cohen
Subject[Csnd] Error message detail?
Dear Csounders,

In my current csd, I'm getting the following error:

diskinfo cannot open 


I assume that I have spelled a pathname incorrectly, but my csd refers to several.

Would it be possible for csound to indicate WHICH file could not be opened?

The complete console listing is below.

best,
Lou Cohen
-----------------------------------------------

 WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib' (-1)
WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib' (-1)
WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib' (-1)
Csound version 5.18.03 (float samples) Oct  6 2012
Creating options
Creating orchestra
Creating score
Parsing successful!
Sorting score
0dBFS level = 1.0
orch now loaded
audio buffered in 256 sample-frame blocks
==========================================================
AuHAL Module: found 6 device(s):
=> AuHAL device 0: Built-in Line Input 
=> AuHAL device 1: Built-in Digital Input 
=> AuHAL device 2: Built-in Output 
=> AuHAL device 3: Built-in Line Output 
=> AuHAL device 4: Built-in Digital Output 
=> AuHAL device 5: Audio Kontrol 1 
selected output device: Audio Kontrol 1 
AuHAL module: output device open with 256 buffer frames
======================================================
writing 512 sample blks of 32-bit floats to dac3 
SECTION 1:
ftable 1:
ftable 2:
ftable 3:
ftable 4:
ftable 5:
ftable 10:
ftable 11:
new alloc for instr 10:
diskinfo cannot open 
inactive allocs returned to freespace
end of score.		   overall amps:  0.00000  0.00000
	   overall samples out of range:        0        0
1 errors in performance
AuHAL module: device closed
0 512 sample blks of 32-bit floats written to dac3
Lou Cohen
www.jolc.net
www.opensound.org






Date2012-11-30 12:27
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Error message detail?
As I rewad the code it does!  So you are trying to look at a file with no
characters in the name.  We could add " round the (empty) name I guess
==John ff

> Dear Csounders,
>
> In my current csd, I'm getting the following error:
>
> diskinfo cannot open
>
>
> I assume that I have spelled a pathname incorrectly, but my csd refers to
> several.
>
> Would it be possible for csound to indicate WHICH file could not be
> opened?
>
> The complete console listing is below.
>
> best,
> Lou Cohen
> -----------------------------------------------
>
>  WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
> (-1)
> WARNING: could not open library
> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
> (-1)
> Csound version 5.18.03 (float samples) Oct  6 2012
> Creating options
> Creating orchestra
> Creating score
> Parsing successful!
> Sorting score
> 0dBFS level = 1.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> ==========================================================
> AuHAL Module: found 6 device(s):
> => AuHAL device 0: Built-in Line Input
> => AuHAL device 1: Built-in Digital Input
> => AuHAL device 2: Built-in Output
> => AuHAL device 3: Built-in Line Output
> => AuHAL device 4: Built-in Digital Output
> => AuHAL device 5: Audio Kontrol 1
> selected output device: Audio Kontrol 1
> AuHAL module: output device open with 256 buffer frames
> ======================================================
> writing 512 sample blks of 32-bit floats to dac3
> SECTION 1:
> ftable 1:
> ftable 2:
> ftable 3:
> ftable 4:
> ftable 5:
> ftable 10:
> ftable 11:
> new alloc for instr 10:
> diskinfo cannot open
> inactive allocs returned to freespace
> end of score.		   overall amps:  0.00000  0.00000
> 	   overall samples out of range:        0        0
> 1 errors in performance
> AuHAL module: device closed
> 0 512 sample blks of 32-bit floats written to dac3
> Lou Cohen
> www.jolc.net
> www.opensound.org
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-11-30 12:28
FromRory Walsh
SubjectRe: [Csnd] Error message detail?
In the mean time you can just pass the same path to each diskin
opcode, at least will tell which path is bogus? I agree though, some
more info would be welcome.

On 30 November 2012 12:10, Louis Cohen  wrote:
> Dear Csounders,
>
> In my current csd, I'm getting the following error:
>
> diskinfo cannot open
>
>
> I assume that I have spelled a pathname incorrectly, but my csd refers to several.
>
> Would it be possible for csound to indicate WHICH file could not be opened?
>
> The complete console listing is below.
>
> best,
> Lou Cohen
> -----------------------------------------------
>
>  WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib' (-1)
> WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib' (-1)
> WARNING: could not open library '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib' (-1)
> Csound version 5.18.03 (float samples) Oct  6 2012
> Creating options
> Creating orchestra
> Creating score
> Parsing successful!
> Sorting score
> 0dBFS level = 1.0
> orch now loaded
> audio buffered in 256 sample-frame blocks
> ==========================================================
> AuHAL Module: found 6 device(s):
> => AuHAL device 0: Built-in Line Input
> => AuHAL device 1: Built-in Digital Input
> => AuHAL device 2: Built-in Output
> => AuHAL device 3: Built-in Line Output
> => AuHAL device 4: Built-in Digital Output
> => AuHAL device 5: Audio Kontrol 1
> selected output device: Audio Kontrol 1
> AuHAL module: output device open with 256 buffer frames
> ======================================================
> writing 512 sample blks of 32-bit floats to dac3
> SECTION 1:
> ftable 1:
> ftable 2:
> ftable 3:
> ftable 4:
> ftable 5:
> ftable 10:
> ftable 11:
> new alloc for instr 10:
> diskinfo cannot open
> inactive allocs returned to freespace
> end of score.              overall amps:  0.00000  0.00000
>            overall samples out of range:        0        0
> 1 errors in performance
> AuHAL module: device closed
> 0 512 sample blks of 32-bit floats written to dac3
> Lou Cohen
> www.jolc.net
> www.opensound.org
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-11-30 12:36
FromRory Walsh
SubjectRe: [Csnd] Error message detail?
I see, so it does, but in this case one can't see it?


On 30 November 2012 12:27,   wrote:
> As I rewad the code it does!  So you are trying to look at a file with no
> characters in the name.  We could add " round the (empty) name I guess
> ==John ff
>
>> Dear Csounders,
>>
>> In my current csd, I'm getting the following error:
>>
>> diskinfo cannot open
>>
>>
>> I assume that I have spelled a pathname incorrectly, but my csd refers to
>> several.
>>
>> Would it be possible for csound to indicate WHICH file could not be
>> opened?
>>
>> The complete console listing is below.
>>
>> best,
>> Lou Cohen
>> -----------------------------------------------
>>
>>  WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>> (-1)
>> WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>> (-1)
>> WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>> (-1)
>> Csound version 5.18.03 (float samples) Oct  6 2012
>> Creating options
>> Creating orchestra
>> Creating score
>> Parsing successful!
>> Sorting score
>> 0dBFS level = 1.0
>> orch now loaded
>> audio buffered in 256 sample-frame blocks
>> ==========================================================
>> AuHAL Module: found 6 device(s):
>> => AuHAL device 0: Built-in Line Input
>> => AuHAL device 1: Built-in Digital Input
>> => AuHAL device 2: Built-in Output
>> => AuHAL device 3: Built-in Line Output
>> => AuHAL device 4: Built-in Digital Output
>> => AuHAL device 5: Audio Kontrol 1
>> selected output device: Audio Kontrol 1
>> AuHAL module: output device open with 256 buffer frames
>> ======================================================
>> writing 512 sample blks of 32-bit floats to dac3
>> SECTION 1:
>> ftable 1:
>> ftable 2:
>> ftable 3:
>> ftable 4:
>> ftable 5:
>> ftable 10:
>> ftable 11:
>> new alloc for instr 10:
>> diskinfo cannot open
>> inactive allocs returned to freespace
>> end of score.            overall amps:  0.00000  0.00000
>>          overall samples out of range:        0        0
>> 1 errors in performance
>> AuHAL module: device closed
>> 0 512 sample blks of 32-bit floats written to dac3
>> Lou Cohen
>> www.jolc.net
>> www.opensound.org
>>
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-11-30 12:56
FromLouis Cohen
SubjectRe: [Csnd] Error message detail?
John,

Thanks! I do agree it would be better if there were surrounding quotes. Obviously with quotes absent I assumed that csound was not attempting to print a path.

BTW, of course I know how to find the error by selectively modifying my code, which I have already done. But it's always a help to know more about what Csound's complaint is. 

best,
Lou Cohen

AND: shameless advertisement - this interview was just published: I hope you enjoy it:

http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU


On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:

> As I rewad the code it does!  So you are trying to look at a file with no
> characters in the name.  We could add " round the (empty) name I guess
> ==John ff
> 
>> Dear Csounders,
>> 
>> In my current csd, I'm getting the following error:
>> 
>> diskinfo cannot open
>> 
>> 
>> I assume that I have spelled a pathname incorrectly, but my csd refers to
>> several.
>> 
>> Would it be possible for csound to indicate WHICH file could not be
>> opened?
>> 
>> The complete console listing is below.
>> 
>> best,
>> Lou Cohen
>> -----------------------------------------------
>> 
>> WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>> (-1)
>> WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>> (-1)
>> WARNING: could not open library
>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>> (-1)
>> Csound version 5.18.03 (float samples) Oct  6 2012
>> Creating options
>> Creating orchestra
>> Creating score
>> Parsing successful!
>> Sorting score
>> 0dBFS level = 1.0
>> orch now loaded
>> audio buffered in 256 sample-frame blocks
>> ==========================================================
>> AuHAL Module: found 6 device(s):
>> => AuHAL device 0: Built-in Line Input
>> => AuHAL device 1: Built-in Digital Input
>> => AuHAL device 2: Built-in Output
>> => AuHAL device 3: Built-in Line Output
>> => AuHAL device 4: Built-in Digital Output
>> => AuHAL device 5: Audio Kontrol 1
>> selected output device: Audio Kontrol 1
>> AuHAL module: output device open with 256 buffer frames
>> ======================================================
>> writing 512 sample blks of 32-bit floats to dac3
>> SECTION 1:
>> ftable 1:
>> ftable 2:
>> ftable 3:
>> ftable 4:
>> ftable 5:
>> ftable 10:
>> ftable 11:
>> new alloc for instr 10:
>> diskinfo cannot open
>> inactive allocs returned to freespace
>> end of score.		   overall amps:  0.00000  0.00000
>> 	   overall samples out of range:        0        0
>> 1 errors in performance
>> AuHAL module: device closed
>> 0 512 sample blks of 32-bit floats written to dac3
>> Lou Cohen
>> www.jolc.net
>> www.opensound.org
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>> 
>> 
>> 
>> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Lou Cohen
www.jolc.net
www.opensound.org






Date2012-11-30 13:01
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Error message detail?
name now enclosed in " signs.  This code has a common error message for
many cases.  I think I can improve that with a little thought.  Would be
interested in what the real cause is so we could give better messages
==John ff




> John,
>
> Thanks! I do agree it would be better if there were surrounding quotes.
> Obviously with quotes absent I assumed that csound was not attempting to
> print a path.
>
> BTW, of course I know how to find the error by selectively modifying my
> code, which I have already done. But it's always a help to know more about
> what Csound's complaint is.
>
> best,
> Lou Cohen
>
> AND: shameless advertisement - this interview was just published: I hope
> you enjoy it:
>
> http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU
>
>
> On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:
>
>> As I rewad the code it does!  So you are trying to look at a file with
>> no
>> characters in the name.  We could add " round the (empty) name I guess
>> ==John ff
>>
>>> Dear Csounders,
>>>
>>> In my current csd, I'm getting the following error:
>>>
>>> diskinfo cannot open
>>>
>>>
>>> I assume that I have spelled a pathname incorrectly, but my csd refers
>>> to
>>> several.
>>>
>>> Would it be possible for csound to indicate WHICH file could not be
>>> opened?
>>>
>>> The complete console listing is below.
>>>
>>> best,
>>> Lou Cohen
>>> -----------------------------------------------
>>>
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>>> (-1)
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>>> (-1)
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>>> (-1)
>>> Csound version 5.18.03 (float samples) Oct  6 2012
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> Parsing successful!
>>> Sorting score
>>> 0dBFS level = 1.0
>>> orch now loaded
>>> audio buffered in 256 sample-frame blocks
>>> ==========================================================
>>> AuHAL Module: found 6 device(s):
>>> => AuHAL device 0: Built-in Line Input
>>> => AuHAL device 1: Built-in Digital Input
>>> => AuHAL device 2: Built-in Output
>>> => AuHAL device 3: Built-in Line Output
>>> => AuHAL device 4: Built-in Digital Output
>>> => AuHAL device 5: Audio Kontrol 1
>>> selected output device: Audio Kontrol 1
>>> AuHAL module: output device open with 256 buffer frames
>>> ======================================================
>>> writing 512 sample blks of 32-bit floats to dac3
>>> SECTION 1:
>>> ftable 1:
>>> ftable 2:
>>> ftable 3:
>>> ftable 4:
>>> ftable 5:
>>> ftable 10:
>>> ftable 11:
>>> new alloc for instr 10:
>>> diskinfo cannot open
>>> inactive allocs returned to freespace
>>> end of score.		   overall amps:  0.00000  0.00000
>>> 	   overall samples out of range:        0        0
>>> 1 errors in performance
>>> AuHAL module: device closed
>>> 0 512 sample blks of 32-bit floats written to dac3
>>> Lou Cohen
>>> www.jolc.net
>>> www.opensound.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> Lou Cohen
> www.jolc.net
> www.opensound.org
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-11-30 13:24
FromRory Walsh
SubjectRe: [Csnd] Error message detail?
Without shameless plugs like these a lot of interesting stuff would
fall under the radar completely. Thanks for sharing.

On 30 November 2012 12:56, Louis Cohen  wrote:
> John,
>
> Thanks! I do agree it would be better if there were surrounding quotes. Obviously with quotes absent I assumed that csound was not attempting to print a path.
>
> BTW, of course I know how to find the error by selectively modifying my code, which I have already done. But it's always a help to know more about what Csound's complaint is.
>
> best,
> Lou Cohen
>
> AND: shameless advertisement - this interview was just published: I hope you enjoy it:
>
> http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU
>
>
> On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:
>
>> As I rewad the code it does!  So you are trying to look at a file with no
>> characters in the name.  We could add " round the (empty) name I guess
>> ==John ff
>>
>>> Dear Csounders,
>>>
>>> In my current csd, I'm getting the following error:
>>>
>>> diskinfo cannot open
>>>
>>>
>>> I assume that I have spelled a pathname incorrectly, but my csd refers to
>>> several.
>>>
>>> Would it be possible for csound to indicate WHICH file could not be
>>> opened?
>>>
>>> The complete console listing is below.
>>>
>>> best,
>>> Lou Cohen
>>> -----------------------------------------------
>>>
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>>> (-1)
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>>> (-1)
>>> WARNING: could not open library
>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>>> (-1)
>>> Csound version 5.18.03 (float samples) Oct  6 2012
>>> Creating options
>>> Creating orchestra
>>> Creating score
>>> Parsing successful!
>>> Sorting score
>>> 0dBFS level = 1.0
>>> orch now loaded
>>> audio buffered in 256 sample-frame blocks
>>> ==========================================================
>>> AuHAL Module: found 6 device(s):
>>> => AuHAL device 0: Built-in Line Input
>>> => AuHAL device 1: Built-in Digital Input
>>> => AuHAL device 2: Built-in Output
>>> => AuHAL device 3: Built-in Line Output
>>> => AuHAL device 4: Built-in Digital Output
>>> => AuHAL device 5: Audio Kontrol 1
>>> selected output device: Audio Kontrol 1
>>> AuHAL module: output device open with 256 buffer frames
>>> ======================================================
>>> writing 512 sample blks of 32-bit floats to dac3
>>> SECTION 1:
>>> ftable 1:
>>> ftable 2:
>>> ftable 3:
>>> ftable 4:
>>> ftable 5:
>>> ftable 10:
>>> ftable 11:
>>> new alloc for instr 10:
>>> diskinfo cannot open
>>> inactive allocs returned to freespace
>>> end of score.                   overall amps:  0.00000  0.00000
>>>         overall samples out of range:        0        0
>>> 1 errors in performance
>>> AuHAL module: device closed
>>> 0 512 sample blks of 32-bit floats written to dac3
>>> Lou Cohen
>>> www.jolc.net
>>> www.opensound.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Lou Cohen
> www.jolc.net
> www.opensound.org
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-11-30 15:00
FromMichael Rhoades
SubjectRe: [Csnd] Error message detail?
I very much enjoyed reading your interview Lou...

Thanks for mentioning it!!

Michael


On 11/30/12 8:24 AM, Rory Walsh wrote:
> Without shameless plugs like these a lot of interesting stuff would
> fall under the radar completely. Thanks for sharing.
>
> On 30 November 2012 12:56, Louis Cohen  wrote:
>> John,
>>
>> Thanks! I do agree it would be better if there were surrounding quotes. Obviously with quotes absent I assumed that csound was not attempting to print a path.
>>
>> BTW, of course I know how to find the error by selectively modifying my code, which I have already done. But it's always a help to know more about what Csound's complaint is.
>>
>> best,
>> Lou Cohen
>>
>> AND: shameless advertisement - this interview was just published: I hope you enjoy it:
>>
>> http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU
>>
>>
>> On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:
>>
>>> As I rewad the code it does!  So you are trying to look at a file with no
>>> characters in the name.  We could add " round the (empty) name I guess
>>> ==John ff
>>>
>>>> Dear Csounders,
>>>>
>>>> In my current csd, I'm getting the following error:
>>>>
>>>> diskinfo cannot open
>>>>
>>>>
>>>> I assume that I have spelled a pathname incorrectly, but my csd refers to
>>>> several.
>>>>
>>>> Would it be possible for csound to indicate WHICH file could not be
>>>> opened?
>>>>
>>>> The complete console listing is below.
>>>>
>>>> best,
>>>> Lou Cohen
>>>> -----------------------------------------------
>>>>
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>>>> (-1)
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>>>> (-1)
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>>>> (-1)
>>>> Csound version 5.18.03 (float samples) Oct  6 2012
>>>> Creating options
>>>> Creating orchestra
>>>> Creating score
>>>> Parsing successful!
>>>> Sorting score
>>>> 0dBFS level = 1.0
>>>> orch now loaded
>>>> audio buffered in 256 sample-frame blocks
>>>> ==========================================================
>>>> AuHAL Module: found 6 device(s):
>>>> => AuHAL device 0: Built-in Line Input
>>>> => AuHAL device 1: Built-in Digital Input
>>>> => AuHAL device 2: Built-in Output
>>>> => AuHAL device 3: Built-in Line Output
>>>> => AuHAL device 4: Built-in Digital Output
>>>> => AuHAL device 5: Audio Kontrol 1
>>>> selected output device: Audio Kontrol 1
>>>> AuHAL module: output device open with 256 buffer frames
>>>> ======================================================
>>>> writing 512 sample blks of 32-bit floats to dac3
>>>> SECTION 1:
>>>> ftable 1:
>>>> ftable 2:
>>>> ftable 3:
>>>> ftable 4:
>>>> ftable 5:
>>>> ftable 10:
>>>> ftable 11:
>>>> new alloc for instr 10:
>>>> diskinfo cannot open
>>>> inactive allocs returned to freespace
>>>> end of score.                   overall amps:  0.00000  0.00000
>>>>          overall samples out of range:        0        0
>>>> 1 errors in performance
>>>> AuHAL module: device closed
>>>> 0 512 sample blks of 32-bit floats written to dac3
>>>> Lou Cohen
>>>> www.jolc.net
>>>> www.opensound.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>> Lou Cohen
>> www.jolc.net
>> www.opensound.org
>>
>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"


Date2012-11-30 15:05
FromLouis Cohen
SubjectRe: [Csnd] Error message detail?
The real cause was an attempt to access a blank path, just as you diagnosed. This was my code:

ifilelen       filelen Sinfile ;get file length in seconds
isamplerate    filers Sinfile ;get sample rate
input channels filenchnls Sinfile ;get number of input channels
ifileframes    = ifilelen * isamplerate 	;number of frames 
	
I assume the first of these lines of caused the error, since no string had been stored in Sinfile. 

-Lou


On Nov 30, 2012, at 8:01 AM, jpff@cs.bath.ac.uk wrote:

> name now enclosed in " signs.  This code has a common error message for
> many cases.  I think I can improve that with a little thought.  Would be
> interested in what the real cause is so we could give better messages
> ==John ff
> 
> 
> 
> 
>> John,
>> 
>> Thanks! I do agree it would be better if there were surrounding quotes.
>> Obviously with quotes absent I assumed that csound was not attempting to
>> print a path.
>> 
>> BTW, of course I know how to find the error by selectively modifying my
>> code, which I have already done. But it's always a help to know more about
>> what Csound's complaint is.
>> 
>> best,
>> Lou Cohen
>> 
>> AND: shameless advertisement - this interview was just published: I hope
>> you enjoy it:
>> 
>> http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU
>> 
>> 
>> On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:
>> 
>>> As I rewad the code it does!  So you are trying to look at a file with
>>> no
>>> characters in the name.  We could add " round the (empty) name I guess
>>> ==John ff
>>> 
>>>> Dear Csounders,
>>>> 
>>>> In my current csd, I'm getting the following error:
>>>> 
>>>> diskinfo cannot open
>>>> 
>>>> 
>>>> I assume that I have spelled a pathname incorrectly, but my csd refers
>>>> to
>>>> several.
>>>> 
>>>> Would it be possible for csound to indicate WHICH file could not be
>>>> opened?
>>>> 
>>>> The complete console listing is below.
>>>> 
>>>> best,
>>>> Lou Cohen
>>>> -----------------------------------------------
>>>> 
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>>>> (-1)
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>>>> (-1)
>>>> WARNING: could not open library
>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>>>> (-1)
>>>> Csound version 5.18.03 (float samples) Oct  6 2012
>>>> Creating options
>>>> Creating orchestra
>>>> Creating score
>>>> Parsing successful!
>>>> Sorting score
>>>> 0dBFS level = 1.0
>>>> orch now loaded
>>>> audio buffered in 256 sample-frame blocks
>>>> ==========================================================
>>>> AuHAL Module: found 6 device(s):
>>>> => AuHAL device 0: Built-in Line Input
>>>> => AuHAL device 1: Built-in Digital Input
>>>> => AuHAL device 2: Built-in Output
>>>> => AuHAL device 3: Built-in Line Output
>>>> => AuHAL device 4: Built-in Digital Output
>>>> => AuHAL device 5: Audio Kontrol 1
>>>> selected output device: Audio Kontrol 1
>>>> AuHAL module: output device open with 256 buffer frames
>>>> ======================================================
>>>> writing 512 sample blks of 32-bit floats to dac3
>>>> SECTION 1:
>>>> ftable 1:
>>>> ftable 2:
>>>> ftable 3:
>>>> ftable 4:
>>>> ftable 5:
>>>> ftable 10:
>>>> ftable 11:
>>>> new alloc for instr 10:
>>>> diskinfo cannot open
>>>> inactive allocs returned to freespace
>>>> end of score.		   overall amps:  0.00000  0.00000
>>>> 	   overall samples out of range:        0        0
>>>> 1 errors in performance
>>>> AuHAL module: device closed
>>>> 0 512 sample blks of 32-bit floats written to dac3
>>>> Lou Cohen
>>>> www.jolc.net
>>>> www.opensound.org
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>> 
>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>> 
>> 
>> Lou Cohen
>> www.jolc.net
>> www.opensound.org
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>> 
>> 
>> 
>> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Lou Cohen
www.jolc.net
www.opensound.org






Date2012-11-30 17:08
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Error message detail?
Thanks; will look at improving the error messages

> The real cause was an attempt to access a blank path, just as you
> diagnosed. This was my code:
>
> ifilelen       filelen Sinfile ;get file length in seconds
> isamplerate    filers Sinfile ;get sample rate
> input channels filenchnls Sinfile ;get number of input channels
> ifileframes    = ifilelen * isamplerate 	;number of frames
>
> I assume the first of these lines of caused the error, since no string had
> been stored in Sinfile.
>
> -Lou
>
>
> On Nov 30, 2012, at 8:01 AM, jpff@cs.bath.ac.uk wrote:
>
>> name now enclosed in " signs.  This code has a common error message for
>> many cases.  I think I can improve that with a little thought.  Would be
>> interested in what the real cause is so we could give better messages
>> ==John ff
>>
>>
>>
>>
>>> John,
>>>
>>> Thanks! I do agree it would be better if there were surrounding quotes.
>>> Obviously with quotes absent I assumed that csound was not attempting
>>> to
>>> print a path.
>>>
>>> BTW, of course I know how to find the error by selectively modifying my
>>> code, which I have already done. But it's always a help to know more
>>> about
>>> what Csound's complaint is.
>>>
>>> best,
>>> Lou Cohen
>>>
>>> AND: shameless advertisement - this interview was just published: I
>>> hope
>>> you enjoy it:
>>>
>>> http://www.allaboutjazz.com/php/article.php?id=43265#.ULiskpPjkWU
>>>
>>>
>>> On Nov 30, 2012, at 7:27 AM, jpff@cs.bath.ac.uk wrote:
>>>
>>>> As I rewad the code it does!  So you are trying to look at a file with
>>>> no
>>>> characters in the name.  We could add " round the (empty) name I guess
>>>> ==John ff
>>>>
>>>>> Dear Csounders,
>>>>>
>>>>> In my current csd, I'm getting the following error:
>>>>>
>>>>> diskinfo cannot open
>>>>>
>>>>>
>>>>> I assume that I have spelled a pathname incorrectly, but my csd
>>>>> refers
>>>>> to
>>>>> several.
>>>>>
>>>>> Would it be possible for csound to indicate WHICH file could not be
>>>>> opened?
>>>>>
>>>>> The complete console listing is below.
>>>>>
>>>>> best,
>>>>> Lou Cohen
>>>>> -----------------------------------------------
>>>>>
>>>>> WARNING: could not open library
>>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjacko.dylib'
>>>>> (-1)
>>>>> WARNING: could not open library
>>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/libjackTransport.dylib'
>>>>> (-1)
>>>>> WARNING: could not open library
>>>>> '/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Opcodes/librtjack.dylib'
>>>>> (-1)
>>>>> Csound version 5.18.03 (float samples) Oct  6 2012
>>>>> Creating options
>>>>> Creating orchestra
>>>>> Creating score
>>>>> Parsing successful!
>>>>> Sorting score
>>>>> 0dBFS level = 1.0
>>>>> orch now loaded
>>>>> audio buffered in 256 sample-frame blocks
>>>>> ==========================================================
>>>>> AuHAL Module: found 6 device(s):
>>>>> => AuHAL device 0: Built-in Line Input
>>>>> => AuHAL device 1: Built-in Digital Input
>>>>> => AuHAL device 2: Built-in Output
>>>>> => AuHAL device 3: Built-in Line Output
>>>>> => AuHAL device 4: Built-in Digital Output
>>>>> => AuHAL device 5: Audio Kontrol 1
>>>>> selected output device: Audio Kontrol 1
>>>>> AuHAL module: output device open with 256 buffer frames
>>>>> ======================================================
>>>>> writing 512 sample blks of 32-bit floats to dac3
>>>>> SECTION 1:
>>>>> ftable 1:
>>>>> ftable 2:
>>>>> ftable 3:
>>>>> ftable 4:
>>>>> ftable 5:
>>>>> ftable 10:
>>>>> ftable 11:
>>>>> new alloc for instr 10:
>>>>> diskinfo cannot open
>>>>> inactive allocs returned to freespace
>>>>> end of score.		   overall amps:  0.00000  0.00000
>>>>> 	   overall samples out of range:        0        0
>>>>> 1 errors in performance
>>>>> AuHAL module: device closed
>>>>> 0 512 sample blks of 32-bit floats written to dac3
>>>>> Lou Cohen
>>>>> www.jolc.net
>>>>> www.opensound.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>> Lou Cohen
>>> www.jolc.net
>>> www.opensound.org
>>>
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>> "unsubscribe
>>> csound"
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> Lou Cohen
> www.jolc.net
> www.opensound.org
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>